/* INTRO SECTION */

section.intro {
  background-size: 100% 100%;
}
section.intro .content {
  text-align: center;
}
section.intro p {
  font-family: 'vag';
  font-size: 18px;
  color:#646464;
}
@media screen and (min-width: 1000px) {
  section.intro.generic-medicines {
    background-image:url(../img/generic-medicines-bg.jpg);
  }
  section.intro.biosimilar-medicines {
    background-image:url(../img/biosimilar-medicines-bg.jpg);
  }
  section.intro.value-added-medicines {
    background-image:url(../img/value-added-medicines-bg.jpg);
  }
}


/* LAYOUT */

.total_width {
  display: block;
  position: relative;
  width: 100%;

  /*background-color: red;*/
  /*height:300px;*/
  font-size: 0px;
}
.total_width h2 {
  margin:0;
}
.half {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width:50%;
  /*background-color: blue;*/
  /*height:300px;*/
}
.left_right {
  text-align: right;
  display:inline-block;
  /*background-color: green;*/
  /*height:300px;*/
}
.right_left {
  text-align: left;
  display:inline-block;
  /*background-color: yellow;*/
  /*height:300px;*/
}
.block_content {

    padding: 40px;
    width:432px;
    display: inline-block;
    text-align: left;

    /*border:1px solid grey;*/
}
#whats_new {
  height:220px;
}
.news_line {
  display: inline-block;
  width:100%;
  /*background-color: red;*/
  margin-top: 20px;
}
.news_line .thumbnail {
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-size: cover;
  width: 130px;
  height: 90px;
  /*display: inline-block;*/
  display: none;
  vertical-align: middle;
  margin-right: 20px;
}
.news_line .news_content {
  width:280px;
  /*background-color: pink;*/
  display: inline-block;
  vertical-align: middle;
}
.news_line p {
  margin:0;
  line-height: 1.2;
  margin-bottom: 10px;
}
#whats_new .button.newsletter {
  color: #ffffff;
  background-color: #2d2d2d;
  border:none;
  padding-left:20px;
  padding-right: 20px;
  text-align: center;
}
#whats_new .button.newsletter:hover {
  color: #0e54a3;
  background-color: #ffffff;
  border:none;
}
#whats_in_it_for {
  min-height:280px;
}
#become_a_member_block {
  height:320px;
  background-size: cover;
  background-position: center;
}
#become_a_member_block .button {
  margin-top: 92px;
}
#infographic {
  height:380px;
}
#infographic.no_file {
  background-size: cover;
  background-position: center;
}
/*#infographic .block_content {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}*/
/*#infographic p {
  font-size: 20px;
  margin-bottom: 0px;
}*/
#infographic a {
    width: 100%;
    position: relative;
    display: block;
    overflow: hidden;
}
#infographic img {
    min-width: 100%;
    min-height: 100%;
}
#infographic .infographic_caption {
    position: absolute;
    background-color: rgba(0,0,0,0.6);
    display: inline-block;


    top: 0px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    left: 0px;
    text-align: center;
    opacity:0;
    transition: opacity 0.3s ease;
}
#infographic a:hover .infographic_caption {
  opacity:1;
}
#infographic .infographic_caption_text {
    padding: 5px 10px;
    display: inline-block;
    color: #ffffff;
    margin-top: 190px;
    font-size: 18px;
    display: inline-block;
    padding: 15px 55px;
    text-transform: uppercase;
    font-family: 'vag';
}
@media screen and (max-width: 1500px) {
  #galleries .half {
    width:100%;
  }
}
@media screen and (max-width: 1100px) {
   .half {
    width:100%;
  }
  .block_content {
    width: 90%;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
  }
  #whats_new, #whats_in_it_for, #infographic, #become_a_member_block {
    height:auto;
  }
  #become_a_member_block .button {
    margin-top: 0;
  }
  #infographic .infographic_caption_text {
    margin-top: 30%;
  }
  #infographic img {
    width: 100%;
    min-width: none;
    min-height: none;
  }
  #infographic a .infographic_caption {
    opacity:1;
  }
}
@media screen and (max-width: 600px) {
  .news_line .thumbnail {
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  .news_line .news_content {
    width: auto;
  }
}

/* PUBLICATION BLOCKS */

.content.publications {
  text-align: center;
  font-size: 0px;
}
.publication_block {
  position: relative;
  margin: 10px;
  display: inline-block;
  height:220px;
  width:170px;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: grey;
  overflow: hidden;
  cursor:pointer;
  background-size: cover;
}
.publication_block .caption {
  position: absolute;
  left: 0px;
  bottom:0px;
  display: block;
  width: 100%;
  height:40px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  font-family: 'vag';
  color: #ffffff;
  text-transform: uppercase;
  background-color: #0e54a3;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(.35,.76,.51,1);
  border-bottom-right-radius: 10px;

}
.publication_block:hover .caption {
  height:100%;
  line-height: 180px;
  opacity:0.6;
  background-color: #000000;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.publication_block .caption_cta {
  position: absolute;
  left: 50%;
  margin-left:-45px;
  width:90px;
  height:34px;
  line-height: 34px;
  bottom:-40px;
  display: block;
  display: inline-block;
  text-align: center;
  font-family: 'vag';
  color: #ffffff;
  text-transform: uppercase;
  background-color: #0e54a3;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(.35,.76,.51,1);

}
.publication_block:hover .caption_cta {
  bottom:77px;
}

/* GALLERIES */

#galleries {
  /*background-color: #2d2d2d;*/
}
#galleries .half {
  padding: 40px;
  box-sizing: border-box;

  /*min-height:300px;*/
}
#galleries .left_right {
  /*background-color: #2d2d2d;*/
  text-align: center;
}
#galleries .left_right a, #galleries .right_left a {
  display: inline-block;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
}
#galleries .right_left {
  /*background-color: #2d2d2d;*/
  text-align: center;
}
#galleries .right_left a {

}
#galleries h1 {
  text-align: center;
  /*color:#ffffff;*/
  }
a.video_thumbnail {
  display: block;
  width:150px;
  height:150px;
  background-size: cover;
}
#did_you_know {
  /*height:260px;*/
  overflow: hidden;
}
#did_you_know.half {
  padding: 150px 40px;
}
#did_you_know #dyk_items_wrap {
  width: 100%;
  position: relative;
  margin-top: 20px;
  height:60px; /* overwritten by js */
}
#did_you_know .dyk {
  position: absolute;
  top: 0px;
  font-size: 20px;
  margin-bottom: 0px;
  width: 100%;
}
#dyk_nav {
  width: auto;
  text-align: left;
  display: inline-block;
  font-size: 0px;
  margin-top: 20px;
}
.dyk_nav_item {
    display: inline-block;
    height: 20px;
    width: 20px;
    border-radius: 10px;
    margin: 5px;
    background-color: #ffffff;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.dyk_nav_item:hover, .dyk_nav_item.current {
  opacity:1;
}

/* ALBUMS */

.album {
  display: inline-block;
  vertical-align: top;
  color:#b2b2b2;
      margin: 0px 10px 20px;
}
.album .album_title {
  font-size: 15px;
      width: 200px;

}
.album .album_date {
  font-size: 15px;
}
.album .album_embed {

}

/* VAM EXCEPTION */

#galleries.value-added-medicines #did_you_know {
  display: none;
}
#galleries.value-added-medicines .right_left {
  width:100%;
}


/* LOGO SLIDESHOW */

section#become_a_member {
  padding-top:50px;
  padding-bottom:50px;
      background-color: #f5f5f5;
}
section#become_a_member .content {
  text-align: center;

}

#logo_slideshow {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  padding-top: 35px;
  font-size: 0px;
}
#logo_slideshow .content {
  text-align: center;
}
.member_logo {
  display: inline-block;
  vertical-align: middle;
  height:100px;
  width:170px;
  margin-bottom: 35px;
  text-align: center;
  opacity:0.8;
  transition: opacity 0.3s linear;
}
.member_logo:hover {
  opacity:1;
}
.member_logo_img {
  display: block;
  position: absolute;
  width:170px;
  height:100px;

  -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_logo_img:hover  {
  -webkit-filter: grayscale(0%);
	filter: grayscale(0%);
}
.member_logo_img_inner {
    width:170px;
    height:100px;
    background-position: center center;
    background-repeat: no-repeat;
}
@media screen and (max-width: 1500px) {
  #did_you_know.half {
    padding: 40px;
  }
}
@media screen and (max-width: 1100px) {
  #logo_slideshow {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .member_logo {
    margin: 17px;
  }
}
