@import url("../Divi/style.css");

/* 
** Theme Name: Bristol Public Library
** Version: 1.0.0
** Author: Eldie Design
** Author URI: http://www.eldiedesign.com
** Template: Divi
** Description: A Child Theme based off of Divi for the Bristol Public Library.
*/



/***** START HERE *****/

/*** HEADER ***/
#top-menu .menu-item-has-children > a:first-child::after {
display: none !important;
} 

#top-menu li.current-menu-item > a,
.current-page-ancestor > a,
#top-menu li.current-menu-ancestor > a {
     padding: 11px;
     background-color: #fff;
     color: #083c5d !important;
}

.et-fixed-header #top-menu .current-page-ancestor > a,
.et-fixed-header #top-menu li.current-menu-item > a {
    color: #083c5d !important;
}

.mobile_menu_bar:before {
	color: #ffffff !important;
}

#top-header #et-info {
    width: 100%;
}

#et-info-phone {
    margin-right: 13px;
    float: right;
}

#top-header .et-social-icons {
    display: none;
    float: right;
}
@media screen and (max-width:980px){
	.et_header_style_centered header#main-header.et-fixed-header .logo_container {
    	height: 100% !important;
	}
}

/*** HOME ***/
/* This section will flow from top to bottom according to the the way the page is laid out with sections. Please follow this guideline so we can have structured code. Thanks in advance!*/

#hirenow{
	text-decoration:underline;
	color: #fff;
}

#home-page-section-two {
    margin-top: -150px;
    z-index: 1000;
}

.three-main-blurbs .et_pb_blurb_content {
    padding: 5%;
    border: solid #363636 2.5px;
    border-radius: 5px;
    background-color: #fff;
}

.et_pb_blurb h4 {
    padding-bottom: 5px;
    text-align: center;
}

.et_pb_blurb_position_left .et_pb_blurb_container {
    width: 100%;
}

#stacked-blurbs h4 {
    text-align: center;
    padding-bottom: 5%;
}

.bristol_et_pb_button {
    position: relative;
    padding: 0.3em 1em;
    border: 2px solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: transparent;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7em !important;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    margin: 0 auto;
    float: none;
    display: block;
    width: 50%;
    text-align: center;
}

.et_pb_fullwidth_code_0{
	height:250px;
}

@media all and (min-width: 981px) {
        .et_pb_row.et_pb_row_fullwidth,
	.et_pb_specialty_fullwidth > .et_pb_row {
		width: 100% !important;
		max-width: 100% !important;
	}
}

.et_pb_column .et_pb_map {
    max-height: 250px;
}

/*** CHILDREN ***/
.children-blurbs {
     border: solid rgba(0,0,0,0);
     border-radius: 5px;
}

/*** GLOBAL ***/
body a:not(.bristol_et_pb_button) {
	text-decoration: underline;
}

a .bristol_et_pb_button{
	text-decoration: none !important;
}

.mfp-title{
	display: none;
}

/*** FOOTER ***/
#main-footer .footer-widget h4 {
    border-bottom: solid #333;
    padding: 10px 0 !important;
}

.menu-departments-container, .menu-other-info-container, .textwidget {
    padding-top: 20px !important;
}

.et_pb_widget h4 {
    text-align: center;
}

.et_pb_widget {
    float: left;
    width: 100%;
    max-width: 100%;
}

#main-footer .footer-widget h4 {
    border-bottom: solid #333;
    padding: 0 15% 5%;
}

.menu-departments-container,
.menu-other-info-container,
.textwidget {
    padding-top: 10%;
}

.footer-half-column-first{
	width: 49%;
	padding-right: 2%;
	float:left;
}

.footer-half-column-last{
	width: 49%;
	padding: 0;
	float:left;
}

#main-footer {
    border-top: dotted #083c5d;
}

#footer-donate {
    text-align: center;
    color: #fff !important;
    padding: 2% 5%;
    background-color: #083c5d;
    font-weight: 900;
    display: block;
    width: 35%;
    margin: 0 auto;
    font-size: 16px;
}

#footer-donate:hover {
	text-align: center;
	color: #083c5d!important;
    padding: 2% 5%;
	background-color: #fff;
	border: 1px solid #083c5d;
	font-weight: 900;
	display: block;
    width: 35%;
	margin: 0 auto;
	font-size: 16px;
}

@media all and (min-width: 768px) and (max-width: 980px){
	#footer-widgets .footer-widget:last-child {
	    margin: 0!important;
	    width: 100% !important;
	    text-align: center;
	}
	
	#text-3 {
		margin-bottom: 0 !important;
	}
}

@media all and (min-width: 0px) and (max-width: 767px){
	#footer-widgets .footer-widget:last-child {
	    margin: 0!important;
	    width: 100% !important;
	    text-align: center;
	}
}

@media all and (min-width: 0px) and (max-width: 500px){
	.footer-half-column-first,
	.footer-half-column-last{
		width: 100%;
		padding: 2% 0;
	}
}

/*** JONES CREATIVITY CENTER***/
#jcc-header{
	background-color: black;
}
#jcc-header .et_parallax_bg {
	opacity: .5;
}

/*** LOGIN PAGE ***/
body {
	background-size: cover !important;
}

/*"All we have to decide is what to do with the time that is given to us." - Gandalf*/