/*
Theme Name: Mines CASE Theme
Description: Mines Child Theme for Colorado School of Mines based on CASE site
Author: Colorado School of Mines
Author URI: https://www.elegantthemes.com/gallery/divi/
Template: Divi
Version: 1.0.1
Text Domain: Mines-CASE-theme
*/

/*** HOMEPAGE ***/

#big-blue-home-box p {
    text-align: left !important;
}
#case-intro-box {
    margin-top: -60px;
    padding: 40px;
    background: #21314D;
}
#case-image-slider.et_pb_section {
    z-index: 0;
}
#case-image-slider .et_pb_slider .et_pb_slide {
    min-height: 430px;
}
@media only screen and (max-width: 767px) {
    #case-image-slider .et_pb_slider .et_pb_slide {
        min-height: 200px;
    }
}
/*** IMAGES AND GALLERY ***/

img {
    margin-bottom: 10px;
}
.mfp-title {
    display: none;
}
/*** RSS STUFF ***/

#rss-feed a {
    text-transform: uppercase;
    font-weight: 900;
}
#rss-feed a:hover {
    color: #D2492A;
}
#rss-feed li {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}
#rss-feed ul {
    list-style-type: none;
}
#rss-feed li:before {
    font-family: FontAwesome !important;
    content: '\f101';
    margin-left: -20px;
    margin-right: 10px;
}
/*** TYPOGRAPHY ***/

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 1px;
}
/*** BLOCKQUOTE ***/

blockquote {
    color: #263f6a;
    border: none;
    background: #e0e0e0;
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 300px;
    padding: 30px !important;
    font-size: 30px;
    font-style: italic;
    line-height: 1.3em;
}
@media only screen and (max-width: 1200px) {
    blockquote {
        font-size: 24px;
    }
}
/*** NAVIGATION ***/
/***#main-header {border-bottom: 3px solid #e0e0e0;}***/

@media only screen and (max-width: 1000px) {
    #et_mobile_nav_menu {
        display: block;
    }
    #top-menu {
        display: none;
    }
}
#logo {
    -webkit-transform: none;
    border: none;
    border-radius: 0;
}
#top-menu a:hover {
    opacity: 1 !important;
    color: #666;
}
#top-menu li li {
    padding: 0;
}
#top-menu li li a {
    line-height: 1.3em;
    margin: 0;
    padding: 10px 15px;
}
#top-menu li li a:hover,
.et-fixed-header #top-menu li li a:hover {
    opacity: 1;
    color: #fff !important;
    background: #d2492a;
}
.nav li ul {
    max-width: 200px;
    padding: 0;
    border: none;
}
#top-menu .menu-item-has-children > a:first-child:after,
#et-secondary-nav .menu-item-has-children > a:first-child:after {
    font-family: 'Montserrat', Arial, sans-serif;
    content: "+";
}
#top-menu .menu-item-has-children > a:first-child,
#et-secondary-nav .menu-item-has-children > a:first-child {
    padding-right: 15px;
}
#top-menu a:hover,
#top-menu .menu-item-has-children > a:first-child:hover,
.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a:hover {
    color: #d2492a !important;
}
#et-top-navigation {
    font-weight: 500;
}

/*** LOGO AND HEADER ADJUSTMENTS FOR SMALLER SCREEN SIZES - MAKE HAMBURGER MOBILE MENU KICK IN SOONER ***/
div#et-top-navigation {
padding-left: 0;
}
@media only screen and (max-width: 1400px) {
#logo {
max-width: 30%;
max-height: 65% !important;
}
.et_fullwidth_nav #main-header .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media only screen and (min-width: 1401px) {
    .et_fullwidth_nav #main-header .container {
        padding-left: 60px;
        padding-right: 60px;
    }
}
@media only screen and (max-width: 1170px) {
#et_mobile_nav_menu {
display: block;
}
#top-menu {
display: none;
}
}
/*** ADD SCROLL TO MOBILE MENU ***/
.et_mobile_menu {
    overflow: scroll !important;
}
@media only screen and (min-width: 981px) and (max-width: 1170px) {
.et_mobile_menu {
    max-height: calc(100vh - 123px);
}
}
@media only screen and (max-width: 980px) {
.et_mobile_menu {
    max-height: calc(100vh - 80px);
}
}
/*** REMOVE SECONDARY ITEMS FROM MOBILE MENU ***/
#mobile_menu li:not([id]) { 
display:none !important; 
}

/*** CTA ***/

.et_pb_promo {
    padding: 30px !important;
    background: #21314d !important;
}
.et_pb_promo p,
.et_pb_promo h2 {
    color: #fff !important;
}
.entry-content ul {
    padding: 0 0 15px 30px;
}
/*** TOGGLES ***/

.et_pb_toggle_close {
    border-top-color: #fff;
    border-left-color: #fff;
    border-right-color: #fff;
    background: #fff;
}
.et_pb_toggle_close h5.et_pb_toggle_title {
    color: #333;
}
.et_pb_toggle_close h5.et_pb_toggle_title:hover {
    color: #92a2bd;
}
.et_pb_toggle_open h5.et_pb_toggle_title {
    color: #d2492a;
}
h5.et_pb_toggle_title {
    font-size: 20px;
}
.et_pb_toggle_title:before {
    color: #92a2bd;
    font-size: 30px;
}
/*** PORTFOLIO STAFF ***/

.post-meta {
    line-height: 1.2em;
}
#faculty-staff img {
    border: 1px solid #e0e0e0;
    padding: 5px;
}
/*** FOOTER ***/

#main-footer {
    border-top: 1px solid #21314D;
}
/*** ANIMATE ANY MODULE ***/

.left-animated.et-animated {
    opacity: 1;
    -webkit-animation: fadeLeft 1.5s 1 cubic-bezier(0.77, 0, .175, 1.3);
    -moz-animation: fadeLeft 1.5s 1 cubic-bezier(0.77, 0, .175, 1.3);
    -o-animation: fadeLeft 1.3s 1 cubic-bezier(0.77, 0, .175, 1.3);
    animation: fadeLeft 1.3s 1 cubic-bezier(0.77, 0, .175, 1.3);
}
.right-animated.et-animated {
    opacity: 1;
    -webkit-animation: fadeRight 1.5s 1 cubic-bezier(0.77, 0, .175, 1.3);
    -moz-animation: fadeRight 1.5s 1 cubic-bezier(0.77, 0, .175, 1.3);
    -o-animation: fadeRight 1.3s 1 cubic-bezier(0.77, 0, .175, 1.3);
    animation: fadeRight 1.3s 1 cubic-bezier(0.77, 0, .175, 1.3);
}
.top-animated.et-animated {
    opacity: 1;
    -webkit-animation: fadeTop 1.5s 1 cubic-bezier(0.77, 0, .175, 2);
    -moz-animation: fadeTop 1.5s 1 cubic-bezier(0.77, 0, .175, 2);
    -o-animation: fadeTop 1.3s 1 cubic-bezier(0.77, 0, .175, 2);
    animation: fadeTop 1.3s 1 cubic-bezier(0.77, 0, .175, 2);
}
.bottom-animated.et-animated {
    opacity: 1;
    -webkit-animation: fadeBottom 1.5s 1 cubic-bezier(0.77, 0, .175, 2);
    -moz-animation: fadeBottom 1.5s 1 cubic-bezier(0.77, 0, .175, 2);
    -o-animation: fadeBottom 1.3s 1 cubic-bezier(0.77, 0, .175, 2);
    animation: fadeBottom 1.3s 1 cubic-bezier(0.77, 0, .175, 2);
}
.fadein-animated.et-animated {
    opacity: 1;
    -webkit-animation: fadeIn 1.5s 1 cubic-bezier(0.77, 0, .175, 2);
    -moz-animation: fadeIn 1.5s 1 cubic-bezier(0.77, 0, .175, 2);
    -o-animation: fadeIn 1.3s 1 cubic-bezier(0.77, 0, .175, 2);
    animation: fadeIn 1.3s 1 cubic-bezier(0.77, 0, .175, 2);
}

@media only screen and (min-width: 981px) { #logo {max-width: 27% !important; max-height: 65% !important; }}

.et_pb_post .post-meta a {
    color: #000!important;
}

.entry-content ul {margin-top: 15px;}