/*
Theme Name: Medicines for Europe
Author: Big Smile Agency
Author URI: http://bigsmile.be
Description: Better access, better health
Version: 1.0
*/

/* FONTS */

@font-face {
  font-family: 'vag';
  src: url('fonts/VAGRoundedStd-Light.eot?#iefix') format('embedded-opentype'),  url('fonts/VAGRoundedStd-Light.otf')  format('opentype'),
	     url('fonts/VAGRoundedStd-Light.woff') format('woff'), url('fonts/VAGRoundedStd-Light.ttf')  format('truetype'), url('fonts/VAGRoundedStd-Light.svg#VAGRoundedStd-Light') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'vag';
  src: url('fonts/VAGRoundedStd-Bold.eot?#iefix') format('embedded-opentype'),  url('fonts/VAGRoundedStd-Bold.otf')  format('opentype'),
	     url('fonts/VAGRoundedStd-Bold.woff') format('woff'), url('fonts/VAGRoundedStd-Bold.ttf')  format('truetype'), url('fonts/VAGRoundedStd-Bold.svg#VAGRoundedStd-Bold') format('svg');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'nh';
  src: url('fonts/NeueHaasUnicaW1G-Thin.eot?#iefix') format('embedded-opentype'),  url('fonts/NeueHaasUnicaW1G-Thin.otf')  format('opentype'),
	     url('fonts/NeueHaasUnicaW1G-Thin.woff') format('woff'), url('fonts/NeueHaasUnicaW1G-Thin.ttf')  format('truetype'), url('fonts/NeueHaasUnicaW1G-Thin.svg#NeueHaasUnicaW1G-Thin') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'nh';
  src: url('fonts/NeueHaasUnicaW01-Bold.eot?#iefix') format('embedded-opentype'),  url('fonts/NeueHaasUnicaW01-Bold.woff') format('woff'), url('fonts/NeueHaasUnicaW01-Bold.ttf')  format('truetype'), url('fonts/NeueHaasUnicaW01-Bold.svg#NeueHaasUnicaW01-Bold') format('svg');
  font-weight: bold;
  font-style: normal;
}

/* ICONS */
@font-face {
  font-family: "Flaticon";
  src: url("fonts/Flaticon.eot");
  src: url("fonts/fonts/Flaticon.eot?#iefix") format("embedded-opentype"),
       url("fonts/Flaticon.ttf") format("truetype"),
       url("fonts/Flaticon.svg#Flaticon") format("svg");
  font-weight: normal;
  font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: "Flaticon";
    src: url("fonts/Flaticon.svg#Flaticon") format("svg");
  }
}

[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
  font-family: Flaticon;
  font-size: 20px;
  font-style: normal;
  margin-left: 20px;
}
/* GENERAL */

/**,
*:before,
*:after {
  box-sizing: inherit;
}*/
html {
  height: 100%;
  /*box-sizing: border-box;*/
}
body {
  margin:0;
  position: relative;
  font-family: 'nh', Helvetica, Arial, sans-serif;
  /*min-height: 100%;*/
}
img, svg {
  border:none;
}

/* TEXT */

h1 {
  font-family: 'vag';
  font-weight: normal;
  font-size: 45px;
  margin-top: 0px;
  margin-bottom: 40px;
  text-transform: uppercase;
  line-height: 1;
}
section > div.content h1 {
  text-align: center;
}
h2 {
  font-family: 'vag';
  font-weight:normal;
  font-size: 30px;
  margin-top: 40px;
  margin-bottom: 10px;
  text-transform: uppercase;
  line-height: 1;
}
h3 {
  font-family: 'vag';
  font-weight:normal;
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 10px;
  text-transform: uppercase;
  line-height: 1;
}
@media screen and (max-width: 600px) {
  h1 {
    font-size: 35px
  }
  h2 {
    font-size: 25px
  }
  h3 {
    font-size: 20px
  }
}
header .content h1 {
  font-size: 30px;
}
header .content h2 {
  font-size: 20px;
}
header .content h3 {
  font-size: 15px;
}

p {
  font-family: 'nh';
  font-weight:normal;
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
}
p b, p strong{
  font-family: 'nh';
  font-weight:bold;
}
sup {
  font-size: 60%;
  text-transform: lowercase;
}

.content ol {
    counter-reset: item;
    -webkit-padding-start: 20px;
}
.content ol li { display: block }

.content ol li:before {
    content: counter(item) ". ";
    counter-increment: item;
    font-weight: bold;
    margin-left: -17px;
}

/* LINKS */

a {
  text-decoration: none;
  color:#0e54a3;
}
a:hover {
  color:#109ecb;
}
.lac22 a:hover {
  color: #B795BA!important;
}

section > div.content > p a,
section > div.content > ul a,
section > div.content > ol a {
  text-decoration: underline;
}
section > div.content a.button {
  text-decoration: none;
}
a.button,form input.buttons {
  font-family: 'vag';
  font-weight:normal;
  font-size: 18px;
  display: inline-block;

  padding:15px 55px;
  text-transform: uppercase;
  text-decoration: none;
  border-width:2px;
  border-style: solid;
  box-sizing: border-box;
  /*background: #0e54a3;
  border:2px solid #0e54a3;*/
  /*color: #ffffff;*/
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
a.button.small {
  font-size: 15px;
  padding:10px 40px;
}
a.button:hover {

}
a.button:active {
  transform: scale(0.975);
}
a.button.empty,input.buttons {

  /*color: #0e54a3;*/
  background: none;
}
a.button.empty:hover {
  /*background: #0e54a3;
  color:#ffffff;*/
}
sup a, a sup {
  text-decoration: none!important;
}
a.footnote {
  text-decoration: none!important;
  color:#878787!important;
  margin-right:5px!important;
}
.home_events {
  padding: 10px!important;
}


/* LAYOUT */

header {
  position: relative;
  display: block;
  width: 100%;
  background-color: #c8c8c8;
  padding-top:40px;
  padding-bottom:34px;
  text-align: center;
}
header .content h1, header .content h2, header .content h3 {
  margin:0;
}
header .content h1.titulo {
  font-size: 41px;
  margin:30px 0 0 0;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.9);
}
.subtitulo {
  color:#000000;
}
header .content {
  text-align: left;
  color:#ffffff;
}
section {
  position: relative;
  display: block;
  width: 100%;
  /*background-color: #e8e8e8;*/
  padding-top:20px;
  padding-bottom:20px;
  text-align: center;
}
section.even {
  background-color: #f5f5f5;
}
main{
  /*padding-bottom: 150px;*/
}
main > p { /* fix last empty p after sections */
  display:none;
}
section:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: "";
  clear: both;
  height: 0;
}
section .content p img {
    max-width: 100%;
    height: auto;
    padding-bottom: 10px;
}
section .content p img.alignleft {
    float:left;
    padding-right:10px;
}
section .content p img.alignright {
    float:right;
    padding-left:10px;
}
section .content p img.aligncenter {
    margin:0 auto;
    display: block;
}
.content {
  position: relative;
  display: inline-block;
  text-align: left;
  width:1024px;
  /*background-color: #d8d8d8;*/
}
section .content .rectangle {
  text-align: left;
  padding: 20px 25px;
  box-sizing: border-box;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.column_half {
  display: block;
  float: left;
  width:50%;
  padding-left: 30px;
  padding-right:0px;
  box-sizing: border-box;
}
.column_half:first-child {
  padding-left: 0px;
  padding-right:30px;
}
.column_1third{
  display: block;
  float: left;
  width:20%;
  /*padding-left: 30px;*/
  padding-right:0px;
  box-sizing: border-box;
}
.column_1third p{
    margin-top: 0;
    margin-bottom: 0;
}
.column_33{
  display: block;
  float: left;
  width:33%;
  /*padding-left: 30px;*/
  padding-right:0px;
  box-sizing: border-box;
}
.column_33 p{
    margin-top: 0;
    margin-bottom: 0;
}
/*.column_1third:first-child {
  padding-left: 0px;
  padding-right:30px;
}*/
.column_2third{
  display: block;
  float: left;
  width:80%;
  /*padding-left: 30px;*/
  padding-right:0px;
  box-sizing: border-box;
}
.column_2third h3{
    margin-top: 0;
    margin-bottom: 0;
}
.column_2third p{
    margin-top: 0;
    margin-bottom: 0;
}
/*.column_2third:first-child {
  padding-left: 0px;
  padding-right:30px;
}*/
@media screen and (max-width: 1100px) {
  .content {
    width:90%;
    padding-right:5%;
    padding-left:5%;
  }
  /*.column_half {
    width:100%;
    padding: 0;
  }*/
}
@media screen and (max-width: 800px) {

  .column_half {
    width:100%;
    padding: 0;
  }
    .column_1third{
    width:100%;
    padding: 0;
  }
    .column_2third{
    width:100%;
    padding: 0;
  }
   .column_33{
    width:100%;
    padding: 0;
  }
}

/* FOOTER */

footer {
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  background-color: #ffffff;
  text-align: center;
  border-top:6px solid #ececec;
}
#main_footer {
  display: block;
  width: 100%;
  padding: 20px 0px;
}
#main_footer div {
display: inline-block;
  vertical-align: middle;
  /*border: 1px solid red;
  box-sizing: border-box;*/
}
#main_footer .left {
/*width: 380px;*/
}
#main_footer .left .left_1{
    margin-right: 70px;
}
#main_footer .left .left_2{
    font-size: 12px;
    text-align: center;
    color: #2d2d2d;
    font-family: 'vag';
    margin: 10px 0 0 0;
}
#main_footer .left .left_2 img{
    width: 90px;
    height:auto;
}
#footer_logo {
    width: 195px;
    height: 70px;
}

#main_footer .right {
width: 138px;

  vertical-align: middle;
  text-align: right;
  font-family: 'vag';
  font-size: 11px;
  color: #2d2d2d;
  text-transform: uppercase;
}
#main_footer .middle {
    width: 497px;
    text-align: center;
}
#main_footer .middle ul.menu li {
  margin-left:15px;
  margin-right: 15px;
}
#main_footer .middle ul.menu li a {
  color:#2d2d2d;
  font-family: 'vag';
  font-size: 11px;
  text-transform: uppercase;
}
#bottom_footer {
  font-family: 'vag';
  font-size: 10px;
  color: #ffffff;
  background-color: #b7b7b7;
  text-align: center;
  height:20px;
  line-height: 20px;
}
a#powered_by {
  color:#807B75;
}
a#powered_by:hover {
  color:#FFC97C;
}
@media screen and (max-width: 1100px) {
  #main_footer .left, #main_footer .middle, #main_footer .right {
    width: 100%;
    text-align: center;
  }
  #main_footer .middle {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* SHARE ICONS */

.ssba-wrap:before {
clear: both;
    content: "";
    display: block;
}
.ssba, .ssba a {
  margin-top: 10px;
    margin-right: 5px;
}
.ssba img {
    border-radius: 50%;
}

/* IFRAMES*/

@media screen and (max-width: 1100px) {
  iframe {
    max-width:100%;
  }
}

/* FORMS */
#wpmem_reg .div_text, #wpmem_reg .div_textarea, #wpmem_reg .div_select, #wpmem_login .div_text, #wpmem_reg .div_checkbox {
    width: 200px;
    margin: 20px auto;
  }
  #wpmem_reg .div_textarea textarea, #wpmem_reg .textbox, #wpmem_login .textbox, #wpmem_reg .username, #wpmem_login .username, #wpmem_reg .password, #wpmem_login .password {
    width: auto;
}

/* NEWSLETTER */
#newsletter_subscription {
padding-bottom: 30px;
    display: none;

}

#whats_new .button.newsletter {
    display: none!important;
}
#newsletter_subscription * {
  text-align: center;
}
#newsletter_subscription h1 {
  font-size: 36px;
      margin-bottom: 20px;
}
.wpcf7-text {
    width: 240px;
    /* height: 40px; */
    border: 1px solid white;
    background-color: #2d2d2d;
    font-size: 16px;
    padding: 6px;
    color: #ffffff;
    margin-bottom: 8px;
  }
  .wpcf7-submit {
    font-family: 'vag';
    font-weight:normal;
    font-size: 18px;
    display: inline-block;

    padding: 10px 31px;
    text-transform: uppercase;
    border-width:2px;
    border-style: solid;
    box-sizing: border-box;
    /*background: #0e54a3;
    border:2px solid #0e54a3;*/
    /*color: #ffffff;*/
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }
  .wpcf7-submit:hover {
    cursor:pointer;
    background-color: #2d2d2d;
    color: #ffffff;
  }
  div.wpcf7 img.ajax-loader {
    /*border: none;
    margin-left: 0px;
    display: block;
    padding: 0;
    margin: 0 auto!important;
    position: relative;*/
    display: none;
  }


.wpcf7-response-output{
  border:none!important;
  color: #ffffff!important;
}

/* BACK TO TOP */

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 10px;
    font-size: 19px;
    font-style: normal;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
    text-decoration: inherit;
    display: inline-block;
    speak: none;
    font-family: Flaticon;
}

.icon-chevron-up:before { content: "\f100"; color: #ffffff;}

/* MEMBERS LIST */

.member_list {
  font-size: 0px;
}
.member_list_item {
  width:50%;
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
  padding: 20px;
}
.member_list_logo {
  display: inline-block;
  width:50%;
  height:100px;
  text-align: right;
  vertical-align: middle;
/*
  -webkit-filter: grayscale(100%);
	filter: grayscale(100%);
  -webkit-transition: -webkit-filter 0.3s linear;
  -moz-transition: -moz-filter 0.3s linear;
  -moz-transition: filter 0.3s linear;*/
}
.member_list_logo:hover  {
  /*-webkit-filter: grayscale(0%);
	filter: grayscale(0%);*/
}
.member_list_logo_inner {
display: inline-block;
    width:170px;
    height:100px;
    background-position: center center;
    background-repeat: no-repeat;
}
.member_list_text {
  display: inline-block;
  width:50%;
  text-align: left;
  vertical-align: middle;
  border-left:1px solid grey;
  box-sizing: border-box;
}
.member_list_text_inner {
  padding-left: 20px;
  box-sizing: border-box;
}
.member_list_title {
  font-size: 22px;
  font-family: 'vag';
}
.member_list_link {
  font-size: 14px;
}
@media screen and (max-width: 900px) {
  .member_list_item {
    width:100%;
  }
}
@media screen and (max-width: 480px) {
  .member_list_item{
    padding:30px;
        /*padding-top: 0;*/
  }
.member_list_logo {
        width: 100%;
        text-align: center;
        border: 0;
        /*padding: 0 20px 0 20px;
        border-top: 1px solid #DFDFDF;
        box-sizing: border-box;*/
  }
    .member_list_text {
        width: 100%;
        text-align: center;
        border: 0;
      }
    .member_list_text_inner {
        padding:0;
    }
}

/* EXPANDABLE */
.expandable_title {
  display: inline;
  cursor: pointer;
}
.expandable_title * {
  display: inline;
}
.expandable_title h1, .expandable_title h2,  .expandable_title h3 {
  display: inline;
}
.expandable_title:after {

}

.expandable_hidden {
  display: none;
}
.expandable_arrow {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  color: #ffffff;
  background-color: #878787;
  background-image:url(img/expandable_arrow.png);
  background-position: top left;
  margin-left: 10px;
  margin-bottom: -2px;
}
.expandable_active .expandable_arrow {
  background-position: bottom left;
}
.expandable_title:hover .expandable_arrow {
  background-color:#A9A9A9;
}

/* POP-UP */
#popup {
    display: none;
    width: 330px;
    z-index: 9;
    height: 241px;
    position: fixed;
    bottom: -2px;
    right: 90px;
    background: #ffffff;
    border: 2px solid #D8D8D8;
}
#popup_inner {
  position: relative;
  height:241px;
  width:330px;
  text-align: center;
}
#popup img {
    width: 195px;
    height: 70px;
    margin-top: 20px;
}
#popup_close {
    position: absolute;
    top: 7px;
    right: 7px;
    display: block;
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: #D8D8D8;
    font-size: 20px;
    line-height: 15px;
}
#popup_close:hover {
  color: #333333;
}

#bottom_section h1 {
  font-size: 36px;

}

.disabled_event {
  font-family: 'vag';
  font-weight: normal;
  display: inline-block;
    font-size: 15px;
    padding: 10px 20px;
  text-transform: uppercase;
  text-decoration: none;
  border-width: 2px;
  border-style: solid;
  box-sizing: border-box;
      border-color: #bbbbbb;
    color: #bbbbbb;
	    display: none;
}

#sthoverbuttons {
    display: none;
}
