/*
Theme Name: HSPH Theme Apple Women Health Study
Theme URI: http://www.hsph.harvard.edu/information-technology/
Author: HSPH Webteam
Author URI: http://www.hsph.harvard.edu/information-technology/
Description: A child theme for the Apple Womens Health Study website.
Version: 1.0.2
Template: theme-affiliate-template-2016
Text Domain: hsph-theme-awhs
*/

/*General edits*/

.page-title {
    text-align: center;
}

.taxonomy-description {
    text-align: center;
}

body:not(.single) article.post, body:not(.single) article.hentry {
    overflow: visible;
}

	body:not(.single) article.post,
	body:not(.single) article.hentry {
		overflow: visible;
	}


/*site header footer and nav*/

.site-afbar, .affiliate-bar-grey .site-afbar, .site-copyright {
    background-color: #484c58;
}

.home .entry-header {
    text-align: center;
}

.site-title {
    display:none;
}

.main-navigation > div > ul > li:last-of-type {
    padding-right: 0;
}

.flex-control-nav {
    display: none;
}

.site-branding-image a img {
    opacity: 0;
}

.site-branding-image a {
    background-image: url(https://content.sph.harvard.edu/wp-content/uploads/sites/2502/2019/10/HSPH_AWHS_elevated_detached__grey_logo_horiz.svg);
  background-repeat: no-repeat;
  background-size: auto;
}

.footer-branding-wrap {
    background-color: #434652;
}

/*end site header footer and nav*/

#boxes .box {
    background-color: #324357;
}

img.custom-logo {
    background: none;
    background-repeat: no-repeat;
}

.custom-logo-link {
    padding-right: 0;
}

.home .entry-footer {
    margin-top: 0;
    margin-bottom: 0;
}

/*new button P.E. style*/

a.call2action-button {
    font-family: 'proxima-nova', "Helvetica Neue", sans-serif;
    text-align: center;
    color: #595859;
    width: auto;
    font-weight: 400;
    font-size: 14px;
    font-size: .875rem;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 7px 27px;
    background-color: #ffffff;
    border-radius: 24px;
    display: inline-block;
    -webkit-transition: background-color 160ms cubic-bezier(.65, .05, .36, 1), color 160ms cubic-bezier(.65, .05, .36, 1), box-shadow 160ms cubic-bezier(.65, .05, .36, 1);
    -moz-transition: background-color 160ms cubic-bezier(.65, .05, .36, 1), color 160ms cubic-bezier(.65, .05, .36, 1), box-shadow 160ms cubic-bezier(.65, .05, .36, 1);
    -ms-transition: background-color 160ms cubic-bezier(.65, .05, .36, 1), color 160ms cubic-bezier(.65, .05, .36, 1), box-shadow 160ms cubic-bezier(.65, .05, .36, 1);
    -o-transition: background-color 160ms cubic-bezier(.65, .05, .36, 1), color 160ms cubic-bezier(.65, .05, .36, 1), box-shadow 160ms cubic-bezier(.65, .05, .36, 1);
    transition: background-color 160ms cubic-bezier(.65, .05, .36, 1), color 160ms cubic-bezier(.65, .05, .36, 1), box-shadow 160ms cubic-bezier(.65, .05, .36, 1);
    box-shadow: 0 1px 2px 0 rgba(89, 88, 89, 0.34), 0 2px 3px 1px rgba(89, 88, 89, 0.24);
    min-width: initial;
    max-width: none;
    margin: 0 0 2em 0;
    height: auto;
    line-height: 1.5;
}

a.call2action-button:hover {
    background-color: #008cc0;
    color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 140, 192, 0.580), 0 2px 3px 1px rgba(0, 140, 192, 0.22);
}

.home a.call2action-button {
    display: table; /*centers*/
    margin: auto;
    margin-bottom: 3em;
}

/*END new button P.E. style*/

/*Header modifications*/


@media screen and (min-width: 64em) {

.navigation-top {
    font-size: 14px;
    font-size: 0.875rem;
    z-index: 3;
    display: inline-block;
    position: relative;
    bottom: unset;
    right: unset;
    left: unset;
    width: 100% !important;
}

.main-navigation > div > ul {
    border: 0;
    margin-bottom: 0;
    padding: 0;
    text-align: center;
}

}


@media screen and (min-width: 64em) {

.no-search-bar .site-branding {
    margin-top: 0;
}

}

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


.site-branding-image {
   max-width: 90vw;
   margin:auto;
}

}


.site-branding {
    margin: auto;
    margin-bottom: 70px;
    padding: 0;
    top: 48px;
    display: block;
    z-index: 3;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    position: relative;
}


@media screen and (min-width: 48em) {
.site-branding {
    margin: auto;
    margin-bottom: 50px;
    padding: 0;
    display: block;
    top: 30px;
}


}

@media screen and (min-width: 64em) {

.site-branding {
    width: 500px;
    display: block;
    margin: auto;
    margin-bottom: 40px;
    top: 15px;
}

}

@media screen and (min-width: 79em) {

.site-branding {
    width: 500px;
    margin: auto;
    margin-bottom: 40px;
    top: 15px;
    display: block;
}

}


.small-header .site-branding {
    margin: auto;
    margin-bottom: 27px;
    padding-right: 0;
    top: 18px;
}



@media screen and (min-width: 48em) {

.small-header .site-branding {
    margin: auto;
    margin-bottom: 27px;
    padding-right: 0;
    top: 18px;
}

}



@media screen and (min-width: 64em) {

.small-header .site-branding {
    margin: auto;
    margin-bottom: 10px;
    padding-right: 0;
    top: 1px;
}

}

/*END - Header modifications*/




/*Homepage carousel edits*/


.homepage-carousel-image {
    max-height: 80vh;
    overflow: hidden;
    opacity: 0.65;
}



#homepage-carousel .homepage-carousel-text {
    background: none;
    background-color: unset;
}

#homepage-carousel .homepage-carousel-text::before {
    background-image: none;
}

#homepage-carousel .homepage-carousel-text {
    background: none;
    background-color: unset;
}

#homepage-carousel .slides li .homepage-carousel-text::before {
    background-image: unset !important;
}

#homepage-carousel .homepage-carousel-title {
    text-align: center;
}

.flexslider {
    background: #484c58;
}


#homepage-carousel .homepage-carousel-overlay {
    height: 100%;
    opacity: 0.725;
    background: url(https://content.sph.harvard.edu/wp-content/uploads/sites/2502/2019/10/AWHS_lines.svg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}




@media screen and (min-width: 56em) {

#homepage-carousel .homepage-carousel-desc, #homepage-carousel .homepage-carousel-title {
	  padding-left: 20px;
    padding-right: 20px;
    max-width: 1088px;
    font-size: 64px;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 9px #444;
}


#homepage-carousel .homepage-carousel-text {
    position: absolute;
    width: 100%;
    padding: 0;
    height: 200px;
    top: 1px;
    bottom: 0;
    margin: auto;
}

}

/*pseudo-text*/

#homepage-carousel .homepage-carousel-slide:after {
    content: "Collaborating for Discovery in Women’s Health.";
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6.5vw;
    max-width: 960px;
    padding: 0 1em;
    color: #fff;
    font-size: 20px;
    font-size: calc(20px + (2500vw - 2500px)/1000);
    font-weight: 200;
    line-height: 1.1;
    text-shadow: 0 0 9px #797979;;
    text-align: center;
}


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

#homepage-carousel .homepage-carousel-slide:after {
    display: block;
    position: relative;
    height: auto;
    padding: 1em;
}

	#homepage-carousel .homepage-carousel-overlay {
    opacity: 1;
	}

}

/*END - Homepage carousel edits*/

/*people page edits*/

.tax-people_categories.has-people-left-nav #secondary, .single-people #secondary {
    display: none;
}

.archive.tax-people_categories #primary {
     max-width: 768px;
}

@media screen and (min-width: 40em) {
.single-people .post-thumbnail, .post-type-archive-people .post-thumbnail, .tax-people_categories .post-thumbnail, .search .people.hentry .post-thumbnail {
    margin-left: -6px;
}

}

@media screen and (min-width: 48em) {


.single-people.has-people-left-nav #primary, .post-type-archive-people.has-people-left-nav #primary, .tax-people_categories.has-people-left-nav #primary {
    float: none;
    width: 100%;
    margin-bottom: 2em;
}
}


/*end people page edits*/

/*FAQ page edits*/
ul.awhs-q-jump {
    margin-bottom: 1em;
}

body.page-id-2 .entry-content .answer {
    z-index: 2;
    position: relative;
}

body.page-id-2 .entry-content > p strong {
    padding-top: 16em;
    margin-top: -16em;
    z-index: 1;
    position: relative;
}

body.page-id-2 .entry-content h3 {
    margin-bottom: 0.5em;
}

#secondary .widget_text h4 {
    margin-bottom: 0.25em;
}

@media screen and (min-width: 48em) {

.has-sidebar:not(.error404) #primary {
    float: left;
    width: 57%;
}

.has-sidebar #secondary {
    float: right;
    padding-top: 0;
    width: 34%;
}

}

/*END FAQ page edits*/
