/*
Theme Name: emma - European Media Management Association
Theme URI: https://www.media-management.eu
Author: Web Improvers | Erwin van Amersfoort | info@web-improvers.nl
Author URI: https://web-improvers.nl
Description: Custom made WordPress theme for emma
Version: 2019.1
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: emma
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

/* Styling by Web Improvers */
html {
  font-size: 62.5%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

*, 
*:before, 
*:after {
  box-sizing: inherit;
}

/* COLORS */
/*
* red:        #c5433c
* black:      #434343
* d.grey.     #aaaaaa
* l.grey:     #efefef
*/

body {
  font-family: 'Hind', sans-serif;
  /*text-rendering: optimizeLegibility;*/
  -webkit-font-smoothing: antialiased;
  font-size: 2.0em;
  /*letter-spacing: 0.5px;*/
  letter-spacing: 1.0px;
  line-height: 1.6em;
  font-weight: 400;
  color: #434343;
}

h1, h2, h3, h4, h5, h6 {
  display: block;
  width: 100%;
  clear: both;
  font-weight: 500;
}

h1 {
  font-size: 1.5em;
  line-height: 1.2em;
  margin-bottom: 20px;
  color: #c5433c;
}

h2 {
  font-size: 1.3em;
  line-height: 1.2em;
  margin-bottom: 20px;
  color: #c5433c;
}

h3 {
  font-size: 1.1em;
  line-height: 1.2em;
  margin-bottom: 10px;
  color: #c5433c;
}

h4 {
  font-size: 1.0em;
  line-height: 1.2em;
  margin-bottom: 10px;
  color: #c5433c;
}

h5 {
  font-size: 0.9em;
  line-height: 1.2em;
  margin-bottom: 5px;
  color: #c5433c;
}

h6 {
  font-size: 0.8em;
  line-height: 1.2em;
  margin-bottom: 5px;
  color: #c5433c;
}

hr {
  border: 0;
  border-bottom: 1px solid #ccc;
  margin: 10px 0 20px 0;
}

b, strong {
  font-weight: 600;
}

i, em {
  font-style: italic;
}

small {
  font-size: 0.7em;
}

big {
  font-size: 1.4em;
}

p {
  margin-bottom: 20px;
}

section#content {
  overflow: hidden;
}

section#content ul {
  list-style-type: disc;
  margin-bottom: 20px;
}

section#content .widget-pagesubmenu ul {
  list-style-type: none;
}

section#content ol {
  list-style-type: decimal;
  margin-bottom: 20px;
}

section#content ol,
section#content ul {
  float: left;
  clear: both;
  margin-bottom: 30px;
  overflow: hidden;
}

section#content ol li,
section#content ul li {
  margin-left: 50px;
  margin-bottom: 10px;
}

blockquote {
  margin: 40px 60px;
  padding: 20px;
  background-color: #F3F5F8;
}

table, td, th {
  border: 1px solid #aaaaaa;
}

td, th {
  padding: 5px;
}

th {
  font-weight: 600;
}

section#content a,
section#content a:visited,
.main-content a,
.main-content a:visited {
  color: #c5433c;
  text-decoration: none;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #aaaaaa;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #aaaaaa;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #aaaaaa;
}
:-moz-placeholder { /* Firefox 18- */
  color: #aaaaaa;
}

textarea, input, button { 
  outline: none; 
}

.input:focus {
  outline: none !important;
  border:1px solid red;
  box-shadow: 0 0 10px #719ECE;
}

a:focus {
  outline: none !important;
}

/* End styling by Web Improvers */

header {
  height: 360px;

}

.wp-block-button {
  position: relative;
  float: left;
  clear: both;
  display: block;
  margin-bottom: 10px !important;
  background: linear-gradient(to right, #c5433c 50%, #434343 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .4s ease-out;
}

.wp-block-button:hover {
  background-position: left bottom;
}

.wp-block-button a {
  float: left;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  text-transform: lowercase;
  color: #ffffff !important;
  border-left: 10px solid #c5433c;
  background: none !important;
  padding: 0px 24px;
  line-height: 50px;
}

.topbar .topbar-container {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  padding-left: 365px;
  /*overflow: hidden;*/
}

.home .topbar .topbar-container {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  padding-left: 250px;
  /*overflow: hidden;*/
}

.topbar .topbar-container .member-login {
  float: right;
  color: #ffffff;
  line-height: 80px;
  padding: 0;
  background: linear-gradient(to right, #c5433c 50%, #434343 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .4s ease-out;
}

.topbar .topbar-container .member-login:hover {
  background-position: left bottom;
}

.topbar .topbar-container .member-login a {
  float: left;
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 0 20px;
}


.topbar .topbar-container .searchbar {
  float: left;
  line-height: 80px;
  padding: 0 20px;
  /*width: 260px;*/
}

.home .topbar .topbar-container .searchbar {
  margin-left: 115px;
}

.topbar .topbar-container .searchbar form input.search-field,
.error404 form input.search-field,
.search form input.search-field {
  border: 0;
  border-bottom: 1px solid #aaaaaa;
  text-transform: lowercase;
  font-size: 1em;
  font-weight: 300;
  color: #434343;
}

.topbar .topbar-container .searchbar svg {
  color: #434343;
}

.topbar .topbar-container .loggedin-user {
  position: relative;
  float: right;
  line-height: 80px;
  height: 80px;
  /*width: 260px;*/
  color: #434343;
  padding: 0 20px;
  font-size: 0.7em;
  /*font-weight: 300;*/
  /*cursor: pointer;*/
}

.logged-in .topbar .topbar-container .loggedin-user {
  cursor: pointer;
}

.logged-in .topbar .topbar-container .loggedin-user:hover,
.logged-in .topbar .topbar-container .loggedin-user:hover a svg {
  color: #c5433c;
}



.topbar .topbar-container .loggedin-user > a {
  float: right;
  display: block;
  height: 80px;
  line-height: 80px;
  margin-left: 5px;
  color: inherit;
  text-decoration: none;
  text-transform: lowercase;
}

.topbar .topbar-container .loggedin-user a svg {
  margin-left: 5px;
  margin-top: 24px;
  font-size: 2em;
}

.topbar .topbar-container .loggedin-user .account-options-menu {
  position: absolute;
  top: 80px;
  right: 0;
  min-width: 200px;
  background-color: #c5433c;
  z-index: 99;
  padding: 20px;
  box-shadow: 0 10px 10px rgba(0,0,0,0.2);
  display: none;
}

.topbar .topbar-container .loggedin-user .account-options-menu ul.menu {
  display: block;
  width: 100%;
  overflow: hidden;
}

.topbar .topbar-container .loggedin-user .account-options-menu ul.menu li {
  float: left;
  width: 100%;
}

.topbar .topbar-container .loggedin-user .account-options-menu ul.menu li a {
  display: block;
  float: left;
  text-decoration: none;
  color: #ffffff;
  line-height: 24px;
  height: 26px;
  text-align: left;
  margin-bottom: 10px;
}

.topbar .topbar-container .loggedin-user .account-options-menu ul.menu li:last-child a {
  margin-bottom: 0;
}

.topbar .topbar-container .loggedin-user .account-options-menu ul.menu li a:hover {
  border-bottom: 2px solid #ffffff;  
}

.topbar .topbar-container .headerimg-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(63,76,76, 0.4);
  z-index: 1;
}

.topbar .topbar-container .headerimg {
  position: relative;
  float: right;
  width: 100%;
  height: 280px;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
}

.topbar .topbar-container .home-headerimg {
  position: relative;
  float: right;
  width: 100%;
  height: auto;
  /*height: 800px;*/
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
}

.topbar .topbar-container .home-headerimg .sticky-newsitem {
  position: absolute;
  top: 60%;
  left: 20%;
  width: 50%;
  z-index: 2;
  text-shadow: 0 0 15px rgba(0,0,0,0.8);
}

.topbar .topbar-container .home-headerimg .sticky-newsitem a {
  text-decoration: none;
}

.topbar .topbar-container .home-headerimg .sticky-newsitem h2 {
  font-size: 2.0em;
  color: #ffffff;
  margin-bottom: 10px;
}

.topbar .topbar-container .home-headerimg .sticky-newsitem h3 {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
}

.topbar .topbar-container .home-headerimg .sticky-newsitem h3 small {
  font-size: 0.5em;
}

.topbar .navigation {
  position: absolute;
  top: 0;
  left: 0;
  width: 365px;
  height: auto;
  background-color: #c5433c;
  color: #ffffff;
  padding: 50px;
  z-index: 2;
}

.topbar .navigation a {
  color: #ffffff;
  text-decoration: none;
}

.topbar .navigation .logo-container .logo {
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.topbar .navigation .logo-container .logo a {
  float: left;
  display: block;
}

.topbar .navigation .logo-container .logo a img {
  float: left;
  /*width: 265px;*/
  /*height: auto;*/
}

.aside-left {
  position: absolute;
  background-color: #8a8a8a;
  width: 365px;
  height: auto;
  top: 0;
  left: 0;
  overflow: hidden;
  padding: 30px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s linear, opacity 0.3s linear;
}

.aside-left h3 {
  text-transform: lowercase;
  color: #ffffff !important;
  font-weight: 300 !important;
  margin-bottom: 10px;
  font-size: 2em !important;
}

.aside-left p {
  color: #ffffff;
  font-size: 0.85em;
  line-height: 1.5em;
}

.aside-left ul.membership-list {
  position: relative;
  overflow: hidden;
}

.aside-left ul.membership-list li {
  float: left;
  color: #ffffff;
  font-size: 0.85em;
  margin-bottom: 20px;
}

.aside-left ul.membership-list li .icon {
  float: left;
  width: 50px;
}

.aside-left ul.membership-list li .icon svg {
  font-size: 1.6em;
}

.aside-left ul.membership-list li .membership {
  float: left;
  width: calc(100% - 50px);
}

.aside-left ul.membership-list li .membership .membership-title {
  font-weight: 600;
}

.aside-left ul.membership-list li .membership p {
  margin-bottom: 0;
}

.main-content {
  position: relative;
  margin-left: 365px;
  padding: 60px 70px;
  overflow: hidden;
}

.home .main-content {
  position: relative;  
  margin-left: 0px;
  padding: 80px 0;
  overflow: hidden;
  display: none;
}

.page-template-default .main-content h2 {
  font-size: 1.1em;
  font-weight: 700;
  color: #434343;
  margin-bottom: 5px;
}

.page-template-default .main-content h3 {
  font-size: 1.0em;
  font-weight: 600;
  color: #434343;
  margin-bottom: 5px;
}

.main-content p {
  margin-bottom: 40px;
  float: left;
  clear: both;
  display: block;
  width: 100%;
}

.main-content ul {
  float: left;
  display: block;
  width: 100%;
  list-style-type: disc; 
}

.home .main-content section#content {
  position: relative;
  float: left;
  width: calc(100% - 365px);
}

.main-content section#content article {
  overflow: hidden;
}

.home .main-content section#content article {
  padding: 0 70px;
}

.home .main-content section#content article section.entry-content {
  overflow: hidden;
}

.home .main-content aside {
  position: relative;
  float: left;
  width: 365px;
  overflow: hidden;
  /*padding: 30px;*/
  background-color: #8A8A8A;
  color: #ffffff;
}

aside h3 {
  color: #ffffff;
  font-size: 1.4em;
  margin-bottom: 20px;
}

aside .widget-container {
  position: relative;
  padding: 30px 30px 30px 30px;
  overflow: hidden;
}

aside .widget-container a,
aside .widget-container a:visited {
  text-decoration: none;
  /*color: inherit;*/
  color: #ffffff !important;
}

aside .widget-container a:hover {
  color: #c5433c;
}

aside li.news-item {
  margin-bottom: 30px;
}

aside li.news-item:last-child {
  margin-bottom: 0;
}

aside .news-date svg {
  margin-right: 10px;
}

aside .submit-news,
aside .twitter {
  position: relative;
  float: left;
  display: block;
  width: 100%;
  padding-bottom: 30px;
}

aside .twitter {
  padding-left: 20px;
  padding-right: 20px;
}

.home aside {
  visibility: hidden !important;
  opacity: 0;
  transition: visibility 0.3s linear, opacity 0.3s linear;
}

aside .submit-news .submit-news-button {
  float: right;
}

aside .widget-container.widget_media_image {
  position: relative;
  float: left;
  display: block;
  width: 100%;
  padding: 30px 0 !important;
}

aside .widget-container.widget_media_image img {
  float: left;
  display: block;
  width: 100% !important;
  height: auto !important;
}

aside .widget-container.widget_media_image .skew {
  position: absolute;
  bottom: -55px;
  left: -25px;
  width: calc(100% + 50px);
  height: 100px;  
  background-color: #8a8a8a;
  -ms-transform: rotate(-5deg);
  -webkit-transform: rotate(-5deg);
  transform: rotate(-5deg);
}

aside .timeline-Widget {
  background-color: none !important;
}

.slicknav_menu {
  display: none;
  background-color: #c5433c;
}

.slicknav_menu .slicknav_menutxt {
  display: none;
}

.slicknav_menu .slicknav_icon-bar {
  background-color: #ffffff !important;
  box-shadow: none;
}

.slicknav_nav a {
  /*float: left;*/
  font-size: 1.2em;
  text-transform: lowercase;
  margin-bottom: 0px;
  border-bottom: 2px solid #c5433c;
}

nav {
  /*padding-bottom: 60px;*/
}

nav ul.menu {
  overflow: hidden;
}

nav ul.menu li {
  float: left;
  display: block;
  width: 100%;
}

nav ul.menu li a {
  float: left;
  font-size: 1.2em;
  text-transform: lowercase;
  margin-bottom: 20px;
  border-bottom: 2px solid #c5433c;
}

nav ul.menu li.current-menu-item > a,
nav ul.menu li:hover > a,
nav ul.menu li.current-menu-parent > a{
  border-bottom: 2px solid #ffffff;
}

nav ul.menu li ul.sub-menu {
  display: none;
}

nav ul.menu li.current-menu-item > ul.sub-menu,
nav ul.menu li.current-menu-parent > ul.sub-menu {
  display: block;
}

nav ul.menu li ul.sub-menu > li {
  margin-left: 30px;
}

.members-menu {
  position: relative;
  /*float: left;*/
  width: 100%;
  display: block;
  overflow: hidden;
  /*padding-bottom: 62px;*/
  border-bottom: 1px solid #aaaaaa;
  margin-bottom: 40px;
}

.members-menu ul.menu {
  overflow: hidden;
}

.members-menu ul.menu li {
  /*position: relative;*/
  overflow: hidden;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  background: linear-gradient(to right, #c5433c 50%, #434343 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .4s ease-out;
}

.members-menu ul.menu li ul.children li {
  overflow: hidden;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  background: linear-gradient(to right, #c5433c 50%, #8a8a8a 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .4s ease-out;
  
}


.members-menu ul.menu li:hover,
.members-menu ul.menu li.current_page_item,
.members-menu ul.menu li.current_page_parent,
.members-menu ul.menu li.current_page_ancestor,
.members-menu ul.menu li ul.children li:hover,
.members-menu ul.menu li ul.children li.current_page_item,
.members-menu ul.menu li ul.children li.current_page_parent,
.members-menu ul.menu li ul.children li.current_page_ancestor {
  background-position: left bottom;
}

.members-menu ul.menu li a {
  float: left;
  display: block;
  padding: 5px 15px;
  color: #ffffff;
  text-decoration: none;
  border-left: 10px solid #c5433c;
  background: none !important;
  text-transform: lowercase;
}

.members-menu ul.menu li ul.children {
  position: absolute;
  width: 100%;
  display: none;
  visibility: hidden;
  padding-top: 10px;
  border-top: 1px solid #aaaaaa;
}

.members-menu ul.menu li.current_page_item ul.children,
.members-menu ul.menu li.current_page_ancestor ul.children,   
.members-menu ul.menu li.current_page_parent ul.children {
  display: block;
}


form.rcp_form,
.gform_wrapper form {
  position: relative;
  /*float: left;*/
  display: inline-block;
  /*width: 60%;*/
  background-color: #efefef;
  padding: 30px;
  margin-bottom: 40px;
}

form.rcp_form fieldset {
  display: block;
  clear: both;
  margin-bottom: 40px;
}

form.rcp_form legend {
  font-weight: 600;
  margin-bottom: 10px;
}

form.rcp_form p,
.rcp_message p {
  margin-bottom: 10px;
}

form.rcp_form label {
  /*display: block;*/
}

.gform_wrapper form input[type="text"],
.gform_wrapper form textarea,
.gform_wrapper form input[type="email"],
.gform_wrapper form input[type="password"],
.gform_wrapper form select,
form.rcp_form input[type="text"],
form.rcp_form textarea,
form.rcp_form input[type="email"],
form.rcp_form input[type="password"],
form.rcp_form select {
  width: 100%;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border: 2px solid #aaaaaa;
  line-height: 40px;
  height: 40px;
  padding: 0 10px;
  font-size: 1em;
}

.gform_wrapper form input[type="submit"],
form.rcp_form input[type="submit"] {
  float: right;
  margin-bottom: 0 !important;
  background: linear-gradient(to right, #c5433c 50%, #434343 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .4s ease-out;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  text-transform: lowercase;
  color: #ffffff !important;
  border: 0;
  border-left: 10px solid #c5433c;
  font-size: 18px;
  margin: 0;
  padding: 12px 24px;
  text-align: center;
  cursor: pointer;
}

.gform_wrapper form input[type="submit"]:hover,
form.rcp_form input[type="submit"]:hover {
  background-position: left bottom;
}

form.rcp_form ul#rcp_subscription_levels {
  list-style-type: none;
}

form.rcp_form ul#rcp_subscription_levels li {
  margin: 0 0 20px 0 !important;
  padding: 10px; 
  background-color: #ffffff;
  border: 1px solid #aaaaaa;
}

form.rcp_form .rcp_level_description {
  margin-left: 20px;
  font-size: 0.85em;
}

form.rcp_form input[type="checkbox"] {
  width: 30px;
  height: 30px;
  float: left;
}

.gform_wrapper label.gfield_label,
.gform_wrapper legend.gfield_label {
  font-weight: 400 !important;
  color: #434343 !important; 
} 

table.rcp-table {
  width: 100%;
}

table.rcp-table th,
table.rcp-table td {
  padding: 5px 15px;
  text-align: left;
}

.rcp_message.error {
  padding: 20px;
  background: rgba(197,67,60,1);
  color: #ffffff;
  margin-bottom: 20px;
}

p.register-link {
  display: block;
}

.home-announcements {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 80px;
}

.home-announcements .home-announcement {
  overflow: hidden;
  margin-bottom: 80px;
}

.home-announcements .home-announcement:last-child {
  margin-bottom: 0;
}

.home .announcement-image {
  position: relative;
  float: left;
  overflow: hidden;
  width: 365px;
}

.home .announcement-image img {
  float: left;
  width: 100%;
  height: auto;
}

.home .announcement-content {
  position: relative;
  float: left;
  width: calc(100% - 365px);
  overflow: hidden;
  padding: 0 70px;
}

.home .announcement-content .announcement-button {
  margin-top: 40px;
}

.blockOverlay {
  /*display: none !important;*/
}

.single h1 a {
  float: left;
  margin-right: 20px;
}

.single h1 a svg {
  font-size: 0.75em;
}

.single .entry-meta .entry-date {
  font-weight: 600;
  font-size: 0.8em;
}

.rcp-table {
  margin-bottom: 40px;
}

section#presidents,
section#board,
section#recipients {
  padding: 40px 0;
}

section#board {
  visibility: hidden;
}

section#presidents .president,
section#board .boardmember,
section#recipients .recipient {
  margin-bottom: 60px;
}

section#recipients .recipient {
  overflow: hidden;
  padding: 0 0 20px 0;
  border-bottom: 1px solid #aaaaaa;
}

section#recipients .recipient h3 {
  margin-bottom: 0;
}


section#presidents .president .pr-photo,
section#board .boardmember .pr-photo,
section#recipients .recipient  .pr-photo {
  overflow: hidden;
  margin-bottom: 10px;
}

section#presidents .president .pr-photo img,
section#board .boardmember .pr-photo img {
  position: relative;
  display: block;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  margin: 0 auto;
}

section#recipients .recipient .pr-photo {
  float: left;
  width: 200px;
  margin: 0 0 0 0;
}

section#recipients .recipient .pr-info {
  float: left;
  width: calc(100% - 200px);
  margin: 0 0 0 0;
}


section#recipients .recipient .pr-photo img {
  position: relative;
  float: left;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
}

section#presidents .president .pr-period,
section#board .boardmember .pr-position,
section#board .boardmember .pr-content,
section#board .boardmember .pr-contact {
  text-align: center;
}

section#board .boardmember,
section#presidents .president {
  float: left;
  width: 33.3333%;
}

section#board .boardmember .pr-content {
  overflow: hidden;
  padding: 20px 0;
  font-size: 0.75em;
}

section#board .boardmember .pr-content p {
  width: 100%;
  line-height: 1.2em;
  margin-bottom: 15px;
}

section#board .boardmember .pr-contact {
  font-size: 0.85em; 
}

section#board .boardmember .pr-contact a {
  color: #c5433c;
}

section#presidents .president .pr-name,
section#board .boardmember .pr-name {
  text-align: center;
  font-weight: 600;
}

section#recipients .recipient .name,
section#recipients .recipient .institution,
section#recipients .recipient .grant,
section#recipients .recipient .content {
  float: left;
  display: block;
  clear: both;
}

section#recipients .recipient .institution {
  /*font-size: 0.85em;*/
  font-weight: 400;
  font-style: italic;
}

section#recipients .recipient .grant {
  /*font-size: 0.85em;*/
  font-weight: 600;
  margin-bottom: 40px;
}

section#news {
  visibility: hidden;
}

section#news .news-item,
section#conferences .conference {
  position: relative;
  background-color: #efefef;
  margin-bottom: 80px;
  cursor: pointer;
}

section#news .news-item .news-item-image,
section#conferences .conference .conference-image {
  overflow: hidden;
}

section#news .news-item .news-item-image img,
section#conferences .conference .conference-image img {
  float: left;
  width: 100%;
  height: auto;
}

section#news .news-item .news-item-title,
section#news .news-item .news-item-content {
  font-size: 0.85em;
}

section#news .news-item .news-item-title {
  padding: 20px;
}

section#news .news-item .news-item-title h2 {
  margin-bottom: 0;
}


section#news .news-item .news-item-content {
  padding: 0 20px 60px 20px;
}

section#news .news-item .news-item-date {
  position: absolute;
  bottom: 0;
  left: 20px;
  font-size: 0.75em;
}

section#news .news-item .news-item-more,
section#conferences .conference .conference-more {
  position: absolute;
  bottom: -20px;
  right: 0px;
}

section#conferences .conference .conference-more .wp-block-button a {
  line-height: 40px;
}

section.more-info-box {
  background-color: #efefef;
  padding: 40px;
  margin-bottom: 40px;
  overflow: hidden;
}

section.more-info-box h2 {
  margin-bottom: 10px;
}

section.more-info-box p {
  margin-bottom: 20px;
}

section.more-info-box img {
  width: 100%;
  height: auto;
  max-width: 460px;
}

section.more-info-box p:last-child {
  margin-bottom: 0;
}

.impdate {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: #f5f5f5;
  margin: 10px 0;
}

.impdate > div {
  float: left;
  padding: 10px;
  
}

.impdate > div.imp_date {
  width: 300px;
}

.impdate > div.imp_event {
  width: calc(100% - 300px);
}

.search article {
  background-color: #efefef;
  padding: 20px 20px 0px 20px;
  margin-bottom: 10px;
}

.search .entry-summary img {
  display: none;
}

.search article .entry-summary p {
  margin-bottom: 20px;
}

.grecaptcha-badge {
	display: none;
}

footer {
  background-color: #434343;
  color: #ffffff;
  padding: 40px 20px 40px 50px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s linear, opacity 0.3s linear;
}

footer .footer-left {
  float: left;
  width: 50%;
}

footer .footer-right {
  float: right;
  width: 50%;
  text-align: right;
}

footer .textwidget {
  float: right;
  display: block;
  width: 100%;
  clear: both;
  overflow: hidden;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}



footer ul.social {
  float: right;
  display: block;
  clear: both;
  margin-bottom: 20px;
}

footer ul.social li {
  float: left;
  width: 32px;
  height: 32px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-align: center;
  line-height: 32px;
  margin-left: 10px; 
}

.single-cpt_grants .photo {
  float: left;
  display: block;
  width: 100%;
  clear: both;
  margin-bottom: 20px;
}

.single-cpt_grants .photo img {
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
}

.single-cpt_grants .institution {
  font-weight: 600;
  float: left;
  display: block;
  width: 100%;
  clear: both;
  margin-bottom: 0px;
}

.single-cpt_grants .grant {
  font-style: italic;
  float: left;
  display: block;
  width: 100%;
  clear: both;
  margin-bottom: 40px;
}

#recipients a {
  color: inherit;
}

.mobile-logo {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  padding: 5px 20px;
}

.mobile-logo img {
  max-height: 42px;
}





@media only screen and (max-width: 1600px) {

  section#board .boardmember,
  section#presidents .president {
    width: 50%;
  }

}


@media only screen and (max-width: 1280px) {

  .home .announcement-image {
    float: left;
  }

  .home .announcement-content {
    float: left;
    width: 100%;
    padding: 40px;
  }

}

@media only screen and (max-width: 1024px) {

  .home .topbar .searchbar {
    float: right;
    display: block;
    clear: both;
  }

  .topbar .topbar-container .home-headerimg .sticky-newsitem {
    top: 40%;
  }

  header {
    margin-bottom: 80px;
  }

  .topbar .topbar-container .home-headerimg .sticky-newsitem {
    left: 30%;
  }


}

@media only screen and (max-width: 1023px) {

  .mobile-logo {
    display: block;
  }

  .loggedin-user-name {
    display: none;
  }

  .slicknav_menu {
    display: block; 
  }

  .loggedin-user {

  }

  .topbar .navigation {
    display: none;
  }

  .home .topbar .topbar-container {
    padding-left: 0;
  }

  .home .topbar .topbar-container .searchbar {
    float: left;
    clear: none;
    margin-left: 0;
  }

  header {
    margin-bottom: 0px;
  }

  .home .main-content section#content,
  .home .main-content aside {
    width: 100%;
  }

  .main-content {
    margin-left: 0;
  }

  .topbar .topbar-container {
    padding-left: 0;
  }

  .aside-left {
    position: relative;

  }

}

@media only screen and (max-width: 767px) {

  .main-content {
    padding: 30px;
  }

  footer {
    padding: 30px;
  }

  footer .footer-left,
  footer .footer-right {
    width: 100%;
    margin-bottom: 40px;
  }

  footer .footer-left img {
    float: left;
    width: 100%;
  }

  section#board .boardmember,
  section#presidents .president {
    width: 100%;
  }


/*  table.rcp-table thead {
    display: none;
  }
  table.rcp-table td {
    display: flex;
  }
  
  table.rcp-table td::before {
    content: attr(label);
    font-weight: bold;
    width: 120px;
    min-width: 120px;
  }*/
}

.rcp_message.error {
  overflow: hidden;
}

@media only screen and (max-width: 479px) {

  .headerimg {
    display: none;
  }

  .aside-left {
    width: 100%;
  }

  header {
    height: 160px;
    margin-bottom: 0px;
  }

  .topbar .topbar-container .home-headerimg .sticky-newsitem {
    left: 30px;
    top: 30px;
  }

  .home .main-content {
    padding-top: 40px;
  }

  .home .main-content section#content article {
    padding: 0 30px;
  }

  section#news .news-item .news-item-more {
    bottom: -50px;
  }

  section#conferences .conference .conference-more {
    bottom: -40px;
  }

  section#recipients .recipient .pr-photo {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  section#recipients .recipient .pr-info {
    width: 100%;
    height: auto;
  }

  .home .announcement-image {
    width: 100%;
  }

  .account-options-menu {
    left: 0;
    width: 100%;
  }


}
















