/*
Theme Name:   National Academy of Medicine
Description:  National Academy of Medicine WP theme
Template: modernize-v3-17
Author: Goodlayers
Author URI: http://goodlayers.com
*/

@import url("../modernize-v3-17/style.css");

/* have to hide addThis in CSS for sidebar because they dont have a filter to hide in code

 */
.addthis-smartlayers{
  display:none;
}

/* now add it back only for perspectives template */
body.post-template-single-perspectives-php .addthis-smartlayers {
  display: block;
}

div.top-navigation-left li span.nam-welcome {
    color: inherit;
    padding: 0px 8px 0px 8px;
    line-height: 100%;
    display: block;
    border-right: 1px solid #b2b2b2;
}
div.nam-home-left-col{
float: left; width: 45%; /*border-right: 3px solid #BDDACE; padding-right: 10px;*/
}

div.nam-home-left-col h3,
div.nam-home-right-col h3,
h3.dir-search-heading,
.related_sidebar h3,
.related_container h3
{

    border-bottom: 2px solid #BDDACE;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom:10px;
}
div.nam-home-left-col iframe,
div.nam-home-left-col object,
div.nam-home-left-col embed {

    width: 100%;
}
div.nam-home-right-col{
float: left; padding-left: 20px; width: 25%;
}
div.nam-home-right-col ul.eo-events.eo-events-widget{
  max-height: 320px;
  overflow-x: auto;
}
ul.eo-event-meta li{
list-style-type: none;
}

div.more-academy-events {
    float: right;
    width: 275px;
    min-height: 200px;
    border: 1px solid #dddddd;
    padding: 10px;
}
div.top-navigation-social-wrapper{
    float: right;
    text-align: right;
    margin-left: 10px;
    position: relative;
    top: -5px;
}

div.connect-social-wrapper{
    clear: both;
    /*float: left;*/
    margin-top: 10px;
        /*text-align: right;*/
    margin-left: 10px;
}
div.connect-social-wrapper .social-wrapper {
    float: none;
    text-align:left;
}
div.connect-social-wrapper .social-icon-wrapper {
    float: none;
}

div.menu-toppagemenu-container{
    float: left;
}

div.event-webstream-top{
    width:55%;float:left;
}

div.event-details-container{
    width:45%;float:left;
}
div.event-webstream-top iframe{
    width:100%;
}
div.event-resources-container{
    width:40%;position: relative;display:table-cell;background-color:#F2F3F2;left: 15px;vertical-align:top;padding:10px;
}
div.nam-home-right-col div.custom-sidebar{
    margin-bottom:10px;
}
div.event-image-container{
    width:40%;display:table-cell;vertical-align:top;
}
div.event-feature-img{    
    background-size: contain;
    background-repeat: no-repeat;
    height: 250px;

}

.entry-meta h4,.single-event h4{
     border-bottom: 2px solid #BDDACE;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom:10px;
}
.single-event .event-twitter-container div.custom-sidebar{
    margin-bottom:0;

}
.single-event .event-twitter-container{
    float:left;width:25%;
}

.single-event .event-content-container{
    float:left;width:70%;margin-right:30px;
}


div.hybrid-login-txt{
    text-align:center;
    border-top:solid 5px #A5DACA;
    border-bottom:solid 5px #A5DACA;
    padding:10px;
    font-size:16px;
    color:#275346;
    margin-bottom:20px;
}

div.tab-resources {
    width: 40%;
    position: relative;
    display: table-cell;
    background-color: #F2F3F2;
    left: 15px;
    vertical-align: top;
    padding: 15px 20px;
    margin-bottom:15px;
    float:right;
}


.entry-meta ul.eo-event-meta{
    margin-left:0;
}

.entry-meta ul.eo-event-meta li{
line-height:25px;
}

@media only screen and (max-width: 767px) {
   div.nam-home-left-col{
    float: left; width: 100%; border-right: 0; border-bottom: 3px solid #BDDACE;padding-bottom: 15px;margin-bottom: 15px;padding-right: 0;
   }
   div.nam-home-right-col{
    float: left; padding-left: 0; width: 100%;
   }
}

div.blog-item-holder .blog-item3 .blog-thumbnail-tag{
    height:auto !important;
    margin-bottom:10px !important;
}
div.nam-custom-bg{
background-color:#f7f4f4;
padding-bottom: 20px;
margin-top: 10px;
}
div.gdl-page-item {
  padding-bottom: 10px;
}
div.header-outer-wrapper{
    background: #37466F url("images/DNA_banner.jpg") no-repeat right;
}
div.top-navigation-left{
float:right;
}
div.breadcrumbs.top-navigation-bc{
float:left;
}
h1.single-thumbnail-title {
  margin-top: 15px;
  padding-bottom: 18px;
  font-size: 21px;
  margin-bottom: 0;
}
h2.portfolio-thumbnail-title{
font-weight:bold;
}
.related_container h2.portfolio-thumbnail-title {
  font-weight:normal;
}
.related_container #portfolio-item-holder .portfolio-item:first-child {
  margin-left: 0;
}
.related_container #portfolio-item-holder .portfolio-item:last-child {
  margin-right: 0;
}

.related_container .portfolio-thumbnail-image img {
  max-height: 150px;
}

.NAM-title_heading{
color:#000000 !important;
}
/*div.tribe-events-list-widget.amr_widget h3{
background-color:#A5DACA;
padding:3px;
text-align:center;
}*/
.tribe-events-list-widget .tribe-events-widget-link a{
font-weight:normal !important;
}
/*div.nam-category-name{
font-style: italic;
}*/
div.nam-authors{
margin-bottom:15px;
}
div.nam-date{
margin-bottom:15px;
}
div.nam-pdf-link{
    margin-bottom:25px;
    display: block;
}
div.tagWrap {
  margin-bottom: 25px;
}
div.nam-note-box{
border: 1px solid #000000;padding:15px;margin-bottom:15px;
}

div.search-wrapper #search-text-NAM{ width: 1px; overflow: hidden; float: left;  width: 180px; }
div.custom-sidebar #search-text-NAM{ margin-right: 10px; }
div.custom-sidebar #search-text-NAM input[type="text"]{ margin-bottom: 0; width: 100%; }

div.footer-wrapper div.custom-sidebar #search-text-NAM input[type="text"] {
-moz-box-shadow: none; 
-webkit-box-shadow: none; 
box-shadow: none; }

@media all {
.flex-caption{  
  left: 10% !important;
  bottom: 10% !important;
  background: #666666 !important;
}
.tab-content a {
  color: #0ABDF5 !important;
}
a.gdl-button.shortcode-medium-button{
	 color: #ffffff!important;
}
div.divider{
  border-bottom-width: 3px !important;
}
}
ol.hfeed.vcalendar {
  margin-left: 0px;
}
ol.hfeed.vcalendar .entry-title {
  font-weight: 700;
}
div.no-boxed-layout div.slider-wrapper.fullwidth {
  margin-top: 0px;
}
body .gdl-slider-title {
  color: #ffffff !important;
  opacity: 1 !important;
filter: alpha(opacity=100) !important;
}
body div.anythingSlider .caption-bottom {
  opacity: 0.8;
  filter: alpha(opacity=80);
  background-color: #666;
}
body div.anythingSlider .caption-bottom {
  position: absolute;
  bottom: 30px;
  left: 30px;
right: inherit;
}
body a.gdl-button {
background-color: #0ABDF5;
  color: #ffffff !important;
font-weight:normal;
  border: 1px solid #0ABDF5;
}
div.blog-thumbnail-author,div.blog-thumbnail-comment{
display:none;
}
.search-filter-results div.pagination {
border-bottom: 1px solid !important;
border-top: 0 !important;
margin-bottom:15px;

}
.search-filter-results div.pagination a{
  border-top: 1px solid #000;
  border-bottom:0;
}
div.social-share-title{display:none;}
.searchandfilter ul li{
background:none !important;
}
header.entry-header h1.entry-title{
margin-top:10px;
}
#naxSearch_results_header form table{
display:none;
}
#naxSearch_results #naxSearch_searchResults{
border-top:none !important;
margin:0 0 0 0 !important;
}
#naxSearch_results #naxSearch_oneBoxHeader, #naxSearch_results .resultsHdr{
background-color: #37466F !important;
    border-top: 1px solid #B1C1E0 !important;
    border-bottom: 1px solid #B1C1E0 !important;
    color: #fff !important;
}
div.addthis_toolbox.addthis_default_style.addthis_32x32_style{
clear:both;
padding-top:15px;
}
.page-id-2568 div.gdl-page-content{
margin-top:5px;
}

.page-header.no-break br{display:none;}
/*.page-template-home-page-template-php .flexslider .slides img{width:100%;}
.page-template-home-page-template-php div.slider-wrapper.fullwidth {margin:0 -10px;}
.page-template-home-page-template-php .sixteen.columns.mt0.top-layer-slider-wrapper{float:none; display:block;}*/

 .flexslider .slides img{width:100%;}
 div.slider-wrapper.fullwidth {margin:0 -10px;}
 .sixteen.columns.mt0.top-layer-slider-wrapper{float:none; display:block;}



.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media only screen and (max-width: 767px) and (min-width: 0px)
{
    
    div.event-webstream-top, div.event-details-container,div.event-image-container,div.event-resources-container,.single-event .event-content-container,
    .single-event .event-twitter-container{
        width:100%;float:none; display:block;margin:20px 0;
    }
    div.event-resources-container{
        position:static;
        margin-right:0;
        width: auto;
    }
    .single-event h1{font-size:22px;}
}



@media only screen and (min-width: 100px) and (max-width: 767px) {
	/*.page-template-home-page-template-php .sixteen.columns.mt0{float:none; display:block;}*/
    .sixteen.columns.mt0{float:none; display:block;}
	.flexslider{width: 420px !important; margin:0 auto !important;}

}


@media only screen and (min-width:100px) and (max-width: 479px) {
	.flexslider{width: 300px !important; margin:0 auto !important;}
}


.single-content hr {
    border: 8px solid #000066;
}

.citation_sidebar{
    margin: 8% 0;
    word-wrap: break-word;
}

.citation_sidebar h3 {
    font-size: 20px;
    color: #275346;
    font-family: Droid Serif;
    border-bottom: 2px solid #BDDACE;
    display: block;
    margin: 5% 0;
}

.citation_sidebar ol {
    margin-left: 0;
}

.post-template-single-perspectives-php a.portfolio-read-more {
    margin: 0;
    float: none;
    text-align: center;
    width: 86%;
}

h2.portfolio-thumbnail-title {
  line-height: 20px;
}

/* staff directory css overrides */
.abcfslVAidTxt {
  background-color: unset !important;
}


.abcfslBB1Color2 > div, .abcfslLstCntrBB > div {
  border-bottom-width: 0px !important;
}

.abcfslLstCntrBB > div:last-child, .abcfslBB1Color1 > div:last-child,
.abcfslBB1Color2 > div:last-child, .abcfslBB1Color3 > div:last-child,
.abcfslBB1Color4 > div:last-child, .abcfslBB1Color5 > div:last-child,
.abcfslBB2Color1 > div:last-child, .abcfslBB2Color2 > div:last-child,
.abcfslBB2Color3 > div:last-child, .abcfslBB2Color4 > div:last-child,
.abcfslBB2Color5 > div:last-child {
  border-bottom-width: 0 !important;
}

.abcfslPadBMB30 {
  padding-bottom: 0 !important;
}

.toggleStart, .execBio {
  font-family: Droid Serif;
  cursor: pointer;
  padding-bottom: 15px;
  display: block;
}

.toggleStart, .execBio, h3.bioEmailLink {
  font-size: 19px;
}

.abcfslVAidBorder {
  border: none !important;
  margin-bottom: 35px !important;
}

.abcfslLstCol h2 {
  line-height: 1.3 !important;
}

.bioCollapsed {
  display:none;
  padding-right: 10%;
}


.staffContainer {
  width: 100%;
}

@media only screen and (min-width:768px) {
  .staffContainer {
    width: 47%;
    padding: 0 3% 3% 0;
    display: inline-block;
    min-height: 250px;
  }
}

.staff-directory h1 {
  font-size:36px !important;
}

.staff-directory h2 {
  clear:both;
}

.abcfslMLRAuto {
  display: inline-block;
}

.italicize {
  font-style: italic;
}

h2.subhead {
  text-align: center;
  color: #fff;
  font-size: 20px;
  background: #37466F;
  padding: 8px 0;
  letter-spacing: .2em;
  border-radius: 2px;
}