/*-----------------------------------------------
*
* Custom styles (Yakkety Yak)
* 
-----------------------------------------------*/

/**
* Helpers
*/
.hide {
	display: none !important;
}


/**
* Video Container (Responsive)
*/
.video-container {
  background-color: #ddd;
  background-image: url(assets/img/loader-dots.gif);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 140px 140px;
  
  height: 0;
  width: 100%;
  margin: 0 0 20px 0;
  overflow: hidden;
  position: relative;
  padding-bottom: 58%;
  padding-top: 0;
  /*padding-bottom: 56.25%;
  padding-top: 30px;*/
}

.video-container iframe,
.video-container object,
.video-container embed,
.video-container .jwplayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}


/**
* Buttons colors
*/
.button-light {
	background: #fff;
	color: #89252b;
}


/**
* Section colors
*/
.section-red {
	background: #89252b;
	color: #fff;
}

.section-red h2, 
.section-red h3, 
.section-red h4, 
.section-red h5 {
	color: #fff;
}



/**
* First Contact page (page-id-14382)
*/

/* Resources section */
.page-id-14382 #primary .resources-section {
	background-image: url(https://americanheadachesociety.org/wp-content/uploads/2020/11/bg-doctors-stairs-crop-red-v2-1024x974.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.page-id-14382 #primary .resources-section .flex-columns.image-left {
	flex-direction: row-reverse;
}

.page-id-14382 #primary .resources-section .flex-columns.image-left > div {
	width: 48%;
}

@media(max-width: 550px) {
	.page-id-14382 #primary .resources-section .flex-columns.image-left {
		flex-direction: column-reverse;
	}
}



/**
* Video + Text section 
*/
.video_text_section .section-titles {
    display: none;
}

.video_text_section .section-title {
    text-align: left;
}

.video_text_section .flex-columns {
    align-items: center;
}

.video_text_section .flex-columns.video-left {
	width: 100%;
}

.video_text_section .flex-columns .flex-column {
	width: 47.5%;
}

@media(max-width: 550px) {
	.video_text_section .flex-columns .flex-column {
		width: 100%;
	}
}

.video_text_section .flex-columns.video-left .flex-content-column {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}

.video_text_section .flex-columns .flex-column.flex-video-column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}



/**
* Testimonials section 
*/
.testimonials_section {
}

.testimonials_section .test-slider ul.slides {
    height: 100%!important;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.testimonials_section .flexslider .slides > li { 
	-webkit-transition: opacity 1s ease; 
	-moz-transition: opacity 1s ease;
	transition: opacity 1s ease; 
}

.testimonials_section .slide-wrapper {
    width: 84%;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonials_section .test-quote {
    /*color: #1d3d66;*/
	position: relative;
    font-size: 1.5vw;
}

.testimonials_section .test-attribute {
	/*color: #1d3d66;*/
    margin-top: 2vw;
	font-family: 'Montserrat', sans-serif;
    font-size: 1.1vw;
    font-weight: 700;
    text-transform: uppercase;
}

.testimonials_section .test-attribute .author-name {
	
}

.testimonials_section .test-attribute .author-title {
	text-transform: none;
}

@media(max-width: 550px) {
	.testimonials_section .test-quote {
		font-size: 4.5vw;
	}
	
	.testimonials_section .test-attribute {
		font-size: 3.5vw;
	}
}

.testimonials_section .test-slider .flex-direction-nav {
    opacity: 1;
}

.testimonials_section .test-slider .flex-direction-nav a:before {
    font-size: 2vw;
}

.testimonials_section .test-slider .flex-direction-nav li.flex-nav-prev {
	left: 0;
}

.testimonials_section .test-slider .flex-direction-nav li.flex-nav-next {
	right: 0;
}

@media(max-width: 550px) {
	.testimonials_section .test-slider .flex-direction-nav a:before {
		font-size: 6vw;
	}
	
	.testimonials_section .test-slider .flex-direction-nav li.flex-nav-prev {
		left: -10px;
	}
	
	.testimonials_section .test-slider .flex-direction-nav li.flex-nav-next {
		right: -10px;
	}
}

.testimonials_section .test-slider .flex-control-nav {
    position: relative;
    text-align: center;
    bottom: 0;
    right: 0;
    margin: 2vw auto 0 auto;
}

@media(max-width: 550px) {
	.testimonials_section .test-slider .flex-control-nav {
		margin: 4vw auto;
	}
}

.testimonials_section .flex-control-nav li {
    margin: 0 0.6em;
    display: inline-block;
    zoom: 1;
    /*
	border-radius: 100%;
    border: 1px solid #fa6c55;
	*/
	border: none;
    position: relative;
    width: 12px;
    height: 12px;
}

.testimonials_section .flex-control-paging li a {
	background: #777;
    cursor: pointer;
	display: block;
    text-indent: 100vw;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    position: absolute;
}

.testimonials_section .flex-control-paging li a:hover {
    background: #aaa;
}

.testimonials_section .flex-control-paging li a.flex-active {
    cursor: default;
    background: #aaa;
}

.testimonials_section .test-quote i {
    font-size: 1.4vw;
    bottom: .3vw;
    position: relative;
}

.testimonials_section .fa-quote-left {
	display: inline-block;
	height: 1.5em;
    margin-right: .5vw;
}

.testimonials_section .fa-quote-right {
	display: inline-block;
	height: 1.5em;
	margin-left: .5vw;
}



/**
* Logos section 
*/
.logos_section {
	
}

.logos_section .section_content {
	
}

.logos_section .logo-grid {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}

.logos_section .logo-grid .logo {
	display: flex;
	
    position: relative;
    height: 9vw;
	width: 20%;
	
    margin: 0 10px;
    padding: 10px;
    overflow: hidden;
	text-align: center;
}

.logos_section .logo-grid .logo img {
	height: 100%;
	max-height: 100%;
	width: auto;
	max-width: none;
	
	margin: auto;
}

.logos_section .logo-grid .logo.wide {
}

.logos_section .logo-grid .logo.wide img {
	height: auto;
	max-height: none;
	width: 100%;
	max-width: none;
}

@media(max-width: 550px) {
	.logos_section .logo-grid .logo {
		height: 24vw;
		width: calc(50% - 20px);
	}
}



/**
* Announcement Banner section 
*/
.announcement_banner_section {
	padding: 3vw 0;
}

@media(max-width: 550px) {
	.announcement_banner_section {
		padding: 6vw 0;
	}
}

.announcement_banner_section .section-title {
	margin: 1.5vw auto;
}

.announcement_banner_section .flex-content {
}

.announcement_banner_section .flex-button-wrap {
}

.announcement_banner_section a.button {
}




/**
* Grand Rounds page
*/
.page-id-15110 #content #breadcrumbs {
	margin-bottom: 30px;
}

.page-id-15110 #slider ul.slides li.slide {
}

.page-id-15110 #slider ul.slides li.slide:before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	
	background-color: rgba(0, 0, 0, 0.3);
	content: " ";
	display: block;
	width: 100%;
	height: 100%;
}

.page-id-15110 #slider .slide-content {
    position: relative;
	z-index: 9;
}

.page-id-15110 #slider .slide-content .slide-title {
}

.page-id-15110 #slider .slide-content a.button {
	background: #772a2c;
	border-color: #fff;
	color: #fff;
	
	-webkit-box-shadow: none;
	box-shadow: none;
}

@media(max-width: 550px) {
	.page-id-15110 #slider .slide-content a.button {
		font-size: 17px;
		padding: 15px 30px;
	}
}


@media(min-width: 551px) {
	.page-id-15110 #slider {
		padding-top: 46%;
	}
	
	.page-id-15110 #slider .slide-image {
		position: static !important;
	}
	
	.page-id-15110 #slider .slide-image img {
		height: auto;
		width: 100%;
		display: block;
		position: absolute;
		top: 0;
		left: 0;
	}
}

@media(min-width: 551px) {
	.page-id-15110 .video_text_section .flex-video-column {
		width: 67.5%;
	}
	
	.page-id-15110 .video_text_section .flex-content-column {
		width: 27.5%;
	}
}

@media(min-width: 551px) {
	.page-id-15110 .section.column_text_section {
		padding: 4vw 0;
	}
}

.page-id-15110 .gr-contact-form #enroll-now {
	text-align: center;
}

.page-id-15110 .gr-contact-form #enroll-now .hbspt-form {
	margin: 0 auto 20px auto;
	max-width: 500px;
	text-align: left;
}

@media(min-width: 551px) {
	.page-id-15110 .gr-contact-form #enroll-now .hbspt-form {
	}
}


/**
* Topics page (Overview section)
*/
.single-topics .section.overview {
}

@media(max-width: 550px) {
	.topic-right .section.overview > .section-wrap {
		max-height: 70vw !important;
	}
}

.single-topics .section.overview .overview-header {
	background: #89252a;
	color: #fff;
	padding: 15px 20px;
	position: relative;
}

.single-topics .section.overview .overview-header .title {
    color: #fff;
	line-height: 125%;
    margin: 0 0 0.8rem 0;
    padding: 0;
}

.single-topics .section.overview .overview-header .title span {
	background: #89252a;
	display: inline-block;
	padding: 0 1rem 0 0;
	max-width: calc(100% - 80px);
	
	position: relative;
	z-index: 3;
}

@media(max-width: 550px) {
	.single-topics .section.overview .overview-header .title {
		font-size: 24px;
	}
	
	.single-topics .section.overview .overview-header .title span {
		background: transparent;
		padding: 0;
		max-width: calc(100% - 40px);
	}
}

.single-topics .section.overview .overview-header .title:before {
	position: absolute;
	top: 1.25rem;
	right: 20px;
	z-index: 1;
	
	width: 34px;
	height: 34px;
	
	background-image: url(assets/img/AHS-Brain-100x100.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% 100%;
	content: " ";
	display: inline-block;
}

.single-topics .section.overview .overview-header .title:after {
    position: absolute;
    top: 2.2rem;
    right: 68px;
	z-index: 1;
	
    background-color: #fff;
    content: " ";
    display: block;
    width: calc(100% - 100px);
    height: 1px;
}

@media(max-width: 550px) {
	.single-topics .section.overview .overview-header .title:before {
		top: 10px;
		right: 15px;
	}

	.single-topics .section.overview .overview-header .title:after {
		display: none;
	}
}

.single-topics .section.overview .overview-header .share {
    color: #fff;
    font-size: 13px;
	height: auto;
	margin: 0;
}

@media(max-width: 550px) {
	.single-topics .section.overview .overview-header .share .addtoany_shortcode {
		left: auto;
		right: auto;
		margin: 0;
		bottom: auto;
	}
}

.single-topics .section.overview .overview-header .share::before {
    content: 'Share:';
	display: inline-block;
    margin: 0 0.5em 0 0;
}

.single-topics .section.overview .overview-header .share .addtoany_list a {
    color: #fff !important;
    font-size: 1rem;
    line-height: 1rem;
	margin: 0 0.1rem;
}

.single-topics .section.overview .overview-header .share .addtoany_list a > span {
    width: 20px !important;
    height: 20px !important;
}

.single-topics .section.overview .overview-header .share .addtoany_list a.a2a_button_email > span {
    width: 22px !important;
}

.single-topics .section.overview .overview-header .share .addtoany_list a > span > svg > path {
	fill: #fff !important;
}

.single-topics .section.overview .banner-photo {
	width: 100%;
	height: auto;
}

.single-topics .section.overview .overview-content {
	padding: 15px 20px;
}

.single-topics .section.overview .overview-content .button-link {
	background: #89252b;
	color: #fff;
	font-size: 0.95rem;
	margin: 0;
}

.single-topics .section.overview .overview-content .button-link i {
	margin-right: 0.1rem;
}

.single-topics .section.overview .overview-content .button-link:hover {
	background: #99353b;
	color: #fff;
}






