/*
 Theme Name:   Divi Child
 Theme URI:    http://douglascohistory.dday-dev.com/web/content/wp-content/themes/Divi-Child
 Description:  Divi Child Theme for Douglas County Historical Society
 Author:       Josh Collinsworth
 Author URI:   http://dday.com
 Template:     Divi
 Version:      1.0.0
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  divi-child
*/







/* ---------- TEXT STYLING ---------- */








p, a, ul, li, h4, h5, h6, button, form, field, article, tr, td, input, label, textarea {
    font-family: 'Gotham A', 'Gotham B', Helvetica, Arial !important; 
    font-weight: 400; 
    font-style: normal;
    line-height: 1.6em;
}

h1, h2, h3 {
    font-family: 'Gotham A', 'Gotham B'; 
    font-weight: 800; 
    font-style: normal;
    line-height: 1em;
}

em, i {
    font-weight: 400;
    font-style: italic;
}

strong, b {
    font-weight: 800;
}

p {
    font-size: 1.2em;
}

h1 {
    font-size: 3em;
}

h1.product_title {
    font-size: 2.4em;
}

h2 {
    font-size: 2.4em;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 2em;
}

h5 {
    font-size: 1.6em;
}

h6 {
    font-size: 1.3em;
}










/* ------------- NAV MENU AND FOOTER STYLING ------------- */








div#et-top-navigation {
    padding-top: 72px;
}

div#top-header {
    border-bottom: 1px solid rgba(255,255,255,.2);
}

div#et-footer-nav {
    border-top: 1px solid rgba(255,255,255,.2);
}

#logo {
    width: 200px;
    height: auto;
    max-height: 100px;
    margin: 18px 0;

}

#top-menu li {
    text-align: right;
}

#top-menu a{
    font-weight: 400;
    font-size: 14px;
    text-align: right;
}

#top-menu li a {
    line-height: 1.3em;
}

#top-menu .menu-item-has-children > a:first-child:after, .fullwidth-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after {
display: none;
}

#et-secondary-nav .menu-item-has-children > a:first-child:after {
    top: 65%;
}

#top-menu li, .fullwidth-menu li {
    padding-right: 12px;
}

.mobile_menu_bar:before {
    font-size: 64px;
    top: 4px;
}

#footer-info {
    display: none;
}

#main-header {
    padding: 0;
}

#main-header.et-fixed-header nav#top-menu-nav {
    padding-top: 10px;
}

.footer-strong {
    line-height: 3em;
    margin-top: 10px;
}

.et_pb_widget ul li {
  margin-bottom: 2px;
}

.footer-button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    color: #fff;
    background-color: #081F2c;
    border: 2px solid #fff;
    font-size: 14px;
    transition: all 350ms;
}

.footer-button:hover {
    background-color: #c99700;
    border: 2px solid #fff;
    font-size: 14px;
    cursor: pointer;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.05);
}

.et-pb-arrow-prev:hover, .et-pb-arrow-next:hover {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
}

.textwidget h6 {
    color: #fff;
}

.title {
    border-bottom: 1px solid #c99700;
}

#footer-widgets .footer-widget li { 
    padding: 0 0 0 14px; position: relative; 
}

.footer-widget ul, .textwidget, .title strong {
    margin-top: 10px;
}

.et_mobile_menu a {
font-weight: bold;
}

.et_pb_widget a {
    color: #c99700;
    text-decoration: underline;
}

/* Customize footer bullets*/
#footer-widgets .footer-widget li:before {
    border-radius: 1px;
    top: 5px;
}

/* Make footer bullet list lines closer together */
#footer-widgets .footer-widget li, #footer-widgets .footer-widget li a{
    line-height: 1.2em;
}

#footer-widgets h4{
    font-size: 1.4em;
    padding-bottom: 0;
}

.textwidget iframe {
    padding: 4px 0 10px 0;
}

ul#top-menu li a:hover{
    -webkit-transform: translateY(-.1em);
            transform: translateY(-.1em);
    color: #c99700;
    opacity: 1;
}

.et_header_style_left #et-top-navigation nav > ul > li > a, .et_header_style_split #et-top-navigation nav > ul > li > a {
    padding-bottom: 18px;
}

.menu-item-101 > a{
    padding-right: 0!important;
}




.et_pb_footer_columns4 .footer-widget .fwidget
{
  margin-bottom: 26.348%;
}
.et_pb_footer_columns4 .footer-widget
{
  width: 20.875%;
}
.footer-widget
{
  margin-top: 0px;
  margin-right: 5.5%;
  margin-bottom: 5.5%;
  margin-left: 0px;
}
.et_pb_footer_columns4 .footer-widget.last
{
  margin-right: 0px;
}


/* ---------- GENERAL STYLING ---------- */










a {
    transition: all .2s ease!important;
}

.navy {
    color: #081F2c;
}

.marigold {
    color: #c99700;
}

.cream {
    color: #DDCBA4;
}

.soft-blue {
    color: #9BB8D3;
}

/* Sets appearance of DCHS logo beneath homepage slider */
.home-badge img{
    max-width: 70%;
    margin: 5% auto 5% auto;
    padding-right: 80px;
    border-right: 1px solid #fff;
    opacity: 0.5;
}

/* Styling for three boxes above blog on homepage */
.home-blurb {
    border: 8px solid #c99700;
    padding: 36px;
    -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.05);
    transition: all ease .35s;
}

.home-blurb:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.05);
}

.home-blurb h4 {
    font-weight: 800;
    color: #081F2c;
}

/* Button styling */
.et_pb_promo_button, a.et_pb_more_button, .et_pb_newsletter_button, .et_pb_pricing_table_button, .et_pb_bg_layout_light .et_pb_promo_button, .et_pb_bg_layout_light .et_pb_more_button, .et_pb_bg_layout_light .et_pb_newsletter_button, .comment-reply-link, .form-submit input, .et_pb_contact_submit:hover, .et_pb_contact_reset, .et_password_protected_form .et_submit_button {
  background-color: rgba(157, 183, 213, 0);
  -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.05);
   box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.05);
}

.et_pb_promo_button:hover, a.et_pb_more_button:hover, .et_pb_newsletter_button:hover, .et_pb_pricing_table_button:hover, .et_pb_bg_layout_light .et_pb_promo_button:hover, .et_pb_bg_layout_light .et_pb_more_button:hover, .et_pb_bg_layout_light .et_pb_newsletter_button:hover, .comment-reply-link:hover, .form-submit input:hover, .et_pb_contact_submit:hover, .et_pb_contact_reset:hover, .et_password_protected_form .et_submit_button:hover {
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat-x: initial;
  background-repeat-y: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgba(201, 151, 0, 1.0);
  border: 2px solid #c99700;
    color: #fff !important;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.05);
   box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.05);
}

.et_pb_pricing_table_button, .et_pb_promo_button, a.et_pb_more_button, .et_pb_newsletter_button, .comment-reply-link, .form-submit input, .et_pb_contact_submit, .et_pb_contact_reset, .et_password_protected_form .et_submit_button, .single_add_to_cart_button .button {
    -webkit-border-radius: 0px;
    border-radius: 0px;
}


/* Change buttons to not expand or have arrow on hover */
.et_pb_pricing_table_button:after, .et_pb_promo_button:after, a.et_pb_more_button:after, .et_pb_newsletter_button:after, .comment-reply-link:after {
    content: "";
    display: none;
}

.et_pb_pricing_table_button:hover, .et_pb_bg_layout_light .et_pb_promo_button:hover, .et_pb_bg_layout_light .et_pb_more_button:hover, .et_pb_bg_layout_light .et_pb_newsletter_button:hover, .comment-reply-link:hover, .form-submit input:hover, .et_pb_contact_submit:hover, .et_pb_contact_reset:hover, .et_password_protected_form .et_submit_button:hover, .et_pb_promo_button:hover, a.et_pb_more_button:hover, .et_pb_newsletter_button:hover {
    padding: 6px 20px !important;
}

/* Put shadow over slider images */
.et_pb_slide_description::after {
  content: " ";
  color: #666;
  background-color: rgba(0, 0, 0, .7);
  position: absolute;
  top: -500px;
  left: -1000px;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  z-index: -9999;
    padding: 1000px;
    overflow: hidden;
}

.et_pb_slide_description p{
    font-size: 1.2em;
}

.et_pb_slide_image {
    z-index:500;
}

/* Other minor adjustments */
.pagination {
    font-size: 1.8em;
}

.nav li ul {
    top: 51px;
}

/* Make the homepage posts grid go fullwidth */
#recent-posts-grid-spot .et_pb_row {
    margin: 0;
    width: 100%;
}

.grid-head {
    border-bottom: 1px solid #fff;
    max-width: 13em;
    text-align: center;
    margin: 0 auto 64px auto;
}

.et_pb_main_blurb_image {
    max-width: 140px;
    margin: 0 auto 20px auto;
}

.magnify {
    width: 80px;
    height: 80px;
    background-image: url(/wp-content/uploads/2015/03/magnifying-glass-rev-line.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

.magnify:hover {
    background-image: url(/wp-content/uploads/2015/03/magnifying-glass-mar-line.png);
    background-size: 100%;
    background-repeat: no-repeat;
}


/*kari background stripes*/

.stripe-bg-navy {
	background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(8,31,44,.4) 3px, rgba(255,255,255,.5) 4px);
}

.stripe-bg-gold {
	background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(201,151,0,.35) 3px, rgba(255,255,255,.5) 4px);
}

.stripe-bg-ltblue {
	background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(155,184,211,.5) 3px, rgba(255,255,255,.5) 4px);
}

/*Header*/

h1 {
	color: #081F2c;
}

/*Collection Item pages*/

.collection-item-wrapper {
    width: 33%;
    height: auto;
    box-sizing: border-box;
    padding: 24px;
    display: inline-block;
    vertical-align: top;
}

.entry-content ul.col-item-categories {
    padding-left: 0!important;
}

li.cat-item {
    display: block;
    margin-right: 2em;
	margin-top: 10px;
}

ul.children li.cat-item {
	margin-top: 0;
}

li.cat-item a {
	font-weight: bold;
	margin-top: 10px;
}

ul.children li.cat-item a {
	font-weight: normal;
}

li.current-cat a {
	color: #081F2c;
}

li.current-cat li a {
	color: #c99700;
}

li.categories {
    list-style-type: none;
    font-weight: 800;
}

.subcategory-container {
    width: 100%;
    height: auto;
    overflow: auto;
}

.collection-item-wrapper h6 {
    line-height:1.2;
    font-weight: 800;
}

.collection-item-wrapper p {
    font-size: 1em;
}

a.to-top-link {
    float: left;
    clear: both;
}

.current-cat-parent > a {
}

.et_pb_tabs_controls li
{
  float: left;
  padding-right: 10px;
  padding-left: 10px;
  min-width: 60px;
  text-align: center;
  margin-top: -1px;
  border-right: none;
}
.et_pb_tabs_controls li:hover
{
  background-color: #081F2c;
}
.et_pb_tabs_controls li:hover a
{
  color: #fff;
}
.et_pb_tabs_controls li.et_pb_tab_active
{
  padding-right: 10px;
  padding-bottom: 3px;
  padding-left: 10px;
  background-color: #c99700;
  color: #fff;
}

/* ---------- MEDIA QUERIES ---------- */















@media screen and (min-width: 981px) {
    h1, h2, h3, h4, h5, h5, p, blockquote, ul, li, a, div, span {
        text-rendering: optimizeLegibility;
    }
    #logo {
        position: absolute;
        left: -20px;
        bottom: 3px;
        width: 20%;
    }
    div#et-top-navigation {
        padding-left: 0!important;
    }
    ul.sub-menu {
        margin-top: 0;
    }
    span#et_search_icon:before {
        margin-top: 10px;
	}
	#et-secondary-nav li ul {
	  	background-color: #b78c30 !important;
	}
}



@media screen and (min-width: 981px) and (max-width: 1200px) {
    #logo {
        display: none;
    }
    .logo_container {
        background-image: url(/wp-content/uploads/2015/03/DCHS_Mark_REV.png);
        background-repeat: no-repeat;
        background-size: 70px auto;

    }
}






@media screen and (min-width: 480px) and (max-width: 980px) {
    #logo {
        width: 200px;
        height: auto;
        margin: 32px 0;
    }
    
    .home-badge img {
        max-width: 70%;
        margin: 5% auto 5% auto;
        padding-right: 0px;
        border-right: none;
        text-align: center;
    }
    
    .et_pb_slide_description > h2{
    font-size: 2em !important;
    }
    
    #mobile_menu ul.sub-menu {
        display: none !important;
    }
    span#et_search_icon:before {
        margin-top: 20px;
    }
    ul#mobile_menu br {
        display: none;
    }
}





@media screen and (max-width: 479px) {
    .et_fixed_nav #logo {
        margin-top: 32px;
}
    
    .mobile_menu_bar::before {
        font-size: 64px;
        top: 0px;
}
    
    #logo {
        margin-top: 16px;
        max-width: 180px;
        height: auto;
    }
    
    .home-badge img {
        max-width: 70%;
        margin: 5% auto 5% auto;
        padding-right: 0px;
        border-right: none;
        text-align: center;
}
        
    #mobile_menu ul.sub-menu {
        display: none !important;
    }
    
   .et_mobile_menu {
        top: 92px;
    }
    h6 {
        font-size: 1.4em;
    }
    span#et_search_icon:before {
        margin-top: 20px;
    }
    ul#mobile_menu br {
        display: none;
    }
}