/*
 Theme Name:     Clements Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Boxcar Studio
 Author URI:     https://boxcarstudio.com
 Template:       Divi
 Version:        1.0.1
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* TYPOGRAPHY */

a {
    text-decoration: underline;
}

.et_pb_bg_layout_dark a {
    color: #fff;
}

.divibars a {
    color: #fff;
}

a.close-divibar {
    text-decoration: none;
}

:focus {
    outline: #2ea3f2 solid 2px;
}

h3, h4, h5, h6 {
    color: #00274C !important;
    font-family: 'Merriweather Sans', Helvetica, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    margin: 10px 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration: none;
}

h2 {
    font-size: 28px;
}

h3 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 20px;
}

h4 {
    font-weight: 700;
    font-size: 18px;
}

h5 {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
}

h6 {
    font-weight: 700;
    letter-spacing: .5px;
    font-size: 15px;
}

h4.mega-block-title {
	color: #fff !important;
}

.divider {
    border-left: 1px solid rgba(255,255,255,0.15) !important;
}

/* TABLES */

.exhibit-table td.column-1 {
    background: #4E0B12;
    color: #fff;
    width: 25%;
}

.entry-content thead th, .entry-content tr th, body.et-pb-preview #main-content .container thead th, body.et-pb-preview #main-content .container tr th {
    background: #4E0B12;
    color: #fff;
    padding: 1em;
}

thead th a {
    color: #fff;
}

.tablepress tbody td {
    vertical-align: top !important;
    padding: 1em !important;
}

/* BUTTONS*/

input[type=submit], a.register-link, a.tribe-events-read-more {
    background: #fff !important;
    border: 1px solid #4E0B12;
    color: #4E0B12 !important;
    font-weight: 700;
    font-size: 14px;
    padding: 1em !important;
    border-radius: 3px;
    min-width: 173px;
    position: relative;
    padding-right: 2em !important;
    padding-left: .7em !important;
    text-transform: uppercase;
    text-align: center;
}

input[type=submit]:after{
    position: absolute;
    text-shadow: none;
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    font-variant: none;
    font-family: ETmodules!important;
    line-height: 1em;
    text-transform: none;
    content: "\35";
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
    top: 11px;
    right: 8px;
}

input[type=submit]:hover {
    background: #4E0B12 !important;
    border: 1px solid #4E0B12 !important;
    color: #fff !important;
    cursor: pointer;
}

.et_pb_button {
    display: inline-block;
}

.et_pb_button, #mega-menu-wrap-primary-menu button {
    min-width: 173px;
    text-align: center;
    padding-top: 1em !important;
	padding-bottom: 1em !important;
}

.et_pb_button:hover, #mega-menu-wrap-primary-menu button {
    padding-top: 1em !important;
    padding-bottom: 1em !important;
}

#mega-menu-wrap-primary-menu button {
    border: none;
    color: #5B7E98;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    width: 174px;
}

#mega-menu-wrap-primary-menu button:hover {
    color: white;
    background-color: #032343;
    cursor: pointer;
    border: none;
}
body.tribe_events-template-default #page-container .tribe-events .et_pb_button:hover, body.et-db #page-container #et-boc .et-l .et_pb_section .et_pb_button:hover {
color: #4e0b12 !important;
}

#et-secondary-nav li {
    margin-right: 20px;
}

#et-secondary-nav li:after {
    content:"\2022";
    display:inline-block;
    position: absolute;
    top: 15px;
    right: -1em;
}

header:not(.light-header) #et-secondary-nav li:after {
    color: #fff;
}

.et-fixed-header #et-secondary-nav li:after {
    color: #fff;
}

#et-secondary-nav li:last-child:after {
    display: none;
}

ul a {
    text-decoration: underline;
}

ul.footerWidgetUL a {
    text-decoration: underline !important;
}


ul.no-bullet li:before {
    display: none;
}

.no-bullet li i {
    left: 0;
    top: 4px;
    position: absolute;
}

/* FORM INPUTS */

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    padding: .5em;
    border: 1px solid rgba(55, 62, 67, 0.50);
    color: #373E43 !important;
    background-color: #fff;
    font-size: 14px;
    min-height: 36px;
    height: 100%;
}

@media only screen and (min-width: 981px) {
    .et-fixed-header .et_search_form_container input {
        color: #373E43 !important; 
    }
}

.et-search-form input {
    border: 0 !important;
    width: 100% !important;
}

.widget_search #searchsubmit {
    width: 78px;
    min-width: 0;
    padding: 5px !important;
}

select {
	display: block;
	width: 100%;
    max-width: 100%; 
    height: 100%;
	box-sizing: border-box;
	margin: 0;
	border: 1px solid rgba(55, 62, 67, 0.50);
	border-radius: 0;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('/wp-content/uploads/2019/05/dropdown-caret-upload.svg');
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}
select::-ms-expand {
	display: none;
}
select:hover {
	border-color: rgba(55, 62, 67, 0.50);
}
select:focus {
	border-color: rgba(55, 62, 67, 0.50);
	color: #222; 
	outline: none;
}
select option {
	font-weight:normal;
}

.selectit input[type=checkbox] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    left: 3px;
    top: 3px;
}

.selectit .checkbox-custom {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 24px;
    width: 24px;
    background-color: transparent;
    transition: all 0.3s ease-out;
    -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;
    border: 1px solid #516478;
}


.selectit input:checked ~ .checkbox-custom {
    background-color: transparent;
    opacity:1;
    border: 1px solid #516478;
}

.selectit input[type=checkbox]:focus {
    outline: #2ea3f2 solid 2px;
    opacity: 1;
}


.selectit .checkbox-custom::after {
    position: absolute;
    content: "";
    left: 12px;
    top: 12px;
    height: 12px;
    width: 6px;
    background: transparent;
    opacity:0;
    transition: all 0.3s ease-out;
    -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;
}


.selectit input:checked ~ .checkbox-custom::after {
  opacity:1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: #516478;
}

input.searchFilter {
    width: 85%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #373E43;
    font-family: 'Merriweather', serif;
    color: #373E43;
    padding: 0 1em;
    font-size: 16px;
}

button.wpv-reset-trigger {
    color: #ffffff!important;
    border-width: 1px!important;
    border-color: #4E0B12;
    font-size: 15px;
    padding: 0.7em;
    background-color: #4E0B12;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 5px !important;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #373E43 !important;
    text-transform: none !important;
  }
  ::-moz-placeholder { /* Firefox 19+ */
    color: #373E43 !important;
    text-transform: none !important;
  }
  :-ms-input-placeholder { /* IE 10+ */
    color: #373E43 !important;
    text-transform: none !important;
  }
  :-moz-placeholder { /* Firefox 18- */
    color: #373E43 !important;
    text-transform: none !important;
  }

body .gform_wrapper .top_label div.ginput_container {
    margin-top: 0 !important;
}

/* .gform_wrapper input.large, .gform_wrapper input.medium, .gform_wrapper input.small, .gform_wrapper select.large, .gform_wrapper select.medium, .gform_wrapper select.small {
    width: 100% !important;
} */

.gform_wrapper input.text, .gform_wrapper input.title, .gform_wrapper input[type=email], .gform_wrapper input[type=password], .gform_wrapper input[type=tel], .gform_wrapper input[type=text], .gform_wrapper select, .gform_wrapper textarea {
    min-height: 0;
    height: auto;
}

body .gform_wrapper ul li.gfield {
    padding-top: 0 !important;
    padding-left: 0 !important;
}

.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label, .gform_wrapper .field_sublabel_below div[class*=gfield_time_].ginput_container label {
    font-size: 0px !important;
    margin: 0;
    position: absolute;
}


/* SEARCH */

a#closesearch {
    display: block;
    position: absolute;
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
}

.et_fullwidth_nav .et_close_search_field {
    right: 0px;
}

.et_search_outer .et_pb_tabs {
    z-index: -10;
}

.et_search_outer.open .et_pb_tabs {
    z-index: 10;
}

.et_search_outer {
    overflow: visible;
    position: absolute;
    top: 80px;
    width: 100%;
    height: 0;
}

.et_search_outer.open {
    height: auto;
    left: 0;
}

.container.et_search_form_container.et_pb_search_visible {
    background: #ccc;
}

.et-search-form {
    position: relative;
}

.et-search-form input {
    position: static;
    border: 1px solid #ccc;
    padding: 10px;
}

.et_search_form_container .et_pb_all_tabs .et_pb_active_content {
    display: none;
}

.et_pb_search_visible .et_pb_all_tabs .et_pb_active_content {
    display: block;
}

.et_pb_search_form_hidden {
	height: 0 !important;
}

.et_search_outer.open #et-boc ul.et_pb_tabs_controls {
    background-color: #ffffff;
}

.et_search_form_container input {
    color: #373E43 !important;
    font-size: 1.5em!important;
    text-transform: unset !important;
    font-family: 'Merriweather', serif !important;  
}

#top-header .container {
    padding: 0;
}

/* MAX MEGA MENU */

div#mega-menu-wrap-primary-menu {
    float: left;
}

body.admin-bar.et_non_fixed_nav.et_transparent_nav.et_secondary_nav_enabled #main-header {
    top: 32px;
}

.container.et_search_form_container.et_pb_search_visible.et_pb_no_animation {
    padding-right: 0 !important;
}

#top-header {
    background: transparent !important;
}


#main-header {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
    background: -moz-linear-gradient(top, rgba(1, 25, 47,0.95) 0%, rgba(1, 25, 47,0) 210%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(1, 25, 47,0.95) 0%,rgba(1, 25, 47,0) 210%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(1, 25, 47, .95) 0%,rgba(1, 25, 47,0) 210%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
    box-shadow: none;
    padding: 1em 0;
}

body.et_fixed_nav.et_secondary_nav_enabled #main-header, body.et_non_fixed_nav.et_transparent_nav.et_secondary_nav_enabled #main-header {
    top: 0;
}

header#main-header.et-fixed-header, header#main-header.et-fixed-header.light-header {
    background: rgba(1, 25, 47,1);
}

/* #et-top-navigation {
	float: none;
} */

#top-menu-nav {
	min-width: 90%;
}

#mega-menu-primary-menu>li.mega-menu-item.mega-toggle-on>a.mega-menu-link {
	background: transparent !important;
}

a.mega-menu-link {
	text-align: center !important;
}

.mega-menu-item a {
	color: #fff !important;
	text-decoration: none;
    font-weight: 300;
}

#et_search_icon:before {
	font-weight: 700;
	margin-top: .5em;
}

.light-header #et_search_icon:before {
    color: #373E43; 
}

.featureCol .textwidget p {
    font-size: 14px;
}

.featureCol {
    position: relative;
}

.et_pb_button {
    border-radius: 5px !important;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-megamenu > ul.mega-sub-menu {
    z-index: 998;
    padding: 1em;
}

li.mega-menu-row {
    padding-top: 0em !important;
}
#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link:hover {
    background: none;
    border-bottom: solid 8px #5B7E98;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link:hover:after {
    content:"";
    border-color: #5B7E98 transparent transparent transparent;
    border-style:solid;
    border-width:20px;
    width:0;
    height:0;
    position:absolute;
    bottom:-40px;
    left:24%;
	z-index: 999;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li {
	padding: 20px;
}

ul#et-secondary-nav a {
    color: #fff;
    text-decoration: none;
}

div#et-secondary-menu {
    margin-right: 2em;
    float: none;
    position: absolute;
    right: 0;
    top: 0;
    transition: all ease 0.5s;
}

.et-fixed-header div#et-secondary-menu {
    top: -15px;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
    background: transparent !important;
    border-bottom: solid 8px #5B7E98;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link:hover:after,
#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link:after {
    content: "";
    border-color: #5B7E98 transparent transparent transparent;
    border-style: solid;
    border-width: 20px;
    display: inline-block;
    width: 0;
    height: 0;
    position: absolute;
    bottom: -40px;
    left: 50%;
    z-index: 999;
    margin-left: -20px;
}

a.heading {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
}

/* LIGHT HEADER */

header:not(.et-fixed-header) .logo-light {
    display: none !important;
}

header.et-fixed-header .logo-dark {
    display: none !important;
}

header#main-header.light-header {
    background: rgba(255,255,255,1);
}

header#main-header.light-header #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
    color: #373E43 !important;
    text-shadow: none !important;
}

header#main-header.light-header ul#et-secondary-nav a {
    color: #373E43 !important;
    text-shadow: none !important;
}

header#main-header.light-header.et-fixed-header #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
    color: #fff !important;
    text-shadow: none !important;
}

header#main-header.light-header.et-fixed-header ul#et-secondary-nav a {
    color: #fff !important;
    text-shadow: none !important;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
	color: #fff !important;
}

/* TABBED SEARCH */

#et_top_search {
	margin: 20px 0 0 22px !important;
}

.et_search_outer {
    top: 90px;
    left: -100%;
}
.et_search_outer .et_pb_search_form_hidden .et_pb_tabs {
    display: none;
}

.et_search_outer .et_pb_search_form_visible .et_pb_tabs {
    display: block;
}

form.et-search-form {
    width: 100% !important;
    right: 0 !important;
    position: static;
    max-width: none !important;
    margin-top: 1em;
}

span.et_close_search_field:after, .et-fixed-header #top-menu a, .et-fixed-header #et_search_icon:before, .et-fixed-header #et_top_search .et-search-form input, .et-fixed-header .et_search_form_container input, .et-fixed-header .et_close_search_field:after, .et-fixed-header #et-top-navigation .et-cart-info {
    color: #00274C !important;
}

.et_search_form_container ul.et_pb_tabs_controls {
    background-color: #fff;
}

.et_search_form_container .et_pb_tabs_controls li {
	border-right: solid 1px #001935;
}

.et_search_form_container .et_pb_tabs_controls li:last-of-type {
	border-right: none;
}

.et_search_form_container ul.et_pb_tabs_controls:after {
    border-top: none;
}

.et_search_form_container #et-boc .et_pb_tabs_controls li a {
	background-color: #00274C;
	color: #fff !important;
	font-weight: 400;
	text-transform: uppercase;
	padding-top: 1em;
	padding-bottom: 1em;
    letter-spacing: 1px;
    border-bottom: 0px;
}

.et_search_form_container #et-boc .et_pb_tab_active a {
	background-color: #749FB8 !important;
	font-weight: 600 !important;
}

.et_search_form_container #et-boc ul.et_pb_tabs_controls:after {
    border-top: 1px solid #fff;
}

#search-catalog, .search-catalog-form {
	max-width: 100% !important;
}

#search-catalog div.form-wrap, .et-search-form, .search-catalog-form div.form-wrap {
	display: flex;
	justify-content: space-between;
    border-bottom: solid 2px #373E43 !important;
}

#edit-keys-wrapper {
    display: flex;
    flex-direction: column;
    border: none !important;
    width: 90%;
}

.form-item input#edit-keys {
    border: none;
	font-size: 1.5em;
	text-transform: unset;
	font-family: 'Merriweather', serif !important;
	padding: 0.75em 0 0.5em 0;
	width: 100%;
}

.et_search_form_container .form-item input::placeholder {
	color: #373E43;
	text-transform: capitalize;
}

.et_search_form_container .et_pb_tab {
    padding: 2em 0 4em 0;
}

.et_search_form_container .et_pb_module.et_pb_tabs.et_pb_tabs_0 {
	padding: 2em 5em;
    background-color: #fff;
}

.et_search_form_container li.et_pb_tab_active:after {
	content: "";
    border-color: #73A0B7 transparent transparent transparent;
    border-style: solid;
    border-width: 16px;
    width: 0;
    height: 0;
    position: absolute;
    bottom: -32px;
    left: 41%;
    z-index: 999;
}

.fa-search:before {
    font-size: 20px;
    content: "\55" !important;
    text-shadow: 0 0;
    font-family: ETmodules!important;
    font-weight: 700;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
	color: #749FB8;
}

.et_search_form_container .search-btn, .search-btn {
	transform: rotate(270deg);
	border: none;
	font-size: 0;
	padding-left: 0em;
	cursor: pointer;
}

form#searchform label {
    font-size: 0;
}

/* TOGGLES */

.et_pb_toggle {
    border: 0;
    border-top: 2px solid #E6E6E6;
}

.et_pb_toggle:last-child {
    border-bottom: 2px solid #e6e6e6;
}

.et_pb_toggle_close, .et_pb_toggle_open {
    padding: 10px 0;
    background-color: #fff;
}

.et_pb_toggle_open .et_pb_toggle_title, .et_pb_toggle_open h5.et_pb_toggle_title,
.et_pb_toggle_close .et_pb_toggle_title, .et_pb_toggle_close h5.et_pb_toggle_title {
    color: #373E43;
    font-weight: 400;
    text-transform: none;
}

.et_pb_toggle_title:before {
    content: "\4c" !important;
    color: #373E43;
}

.et_pb_toggle_open .et_pb_toggle_title:before {
	display: block !important;
    content: "\4b" !important;
    color: #373E43;
}


/* People/Item template */

.people.type-people .et_post_meta_wrapper, 
.single-item .et_post_meta_wrapper {
    display: none;
}

.person {
    max-width: 230px;
    margin: 0 auto;
}

.person-img-wrap {
    max-height: 300px;
    margin-bottom: 1em;
    min-height: 300px;
}

.image-wrap img.person-image {
    width: 100% !important;
    height: 300px;
    object-fit: cover;
}


.person .image-hover {
    position: absolute;
    padding: 20px;
    background: rgba(4, 38, 71, 0.79);
    color: #fff;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: all ease 0.5s;
    border-bottom: 5px solid #516478;
    text-decoration: none;
}

.person .image-hover:hover, .image-hover:focus {
    opacity: 1;
    outline: #2ea3f2 solid 2px;
}

.image-wrap {
    position: relative;
}

.image-wrap img.person-image {
    width: 100% !important;
}

.flexFilters {
    display: flex;
    justify-content: flex-start;
    background: rgba(127, 179, 209, 0.17);
    padding: 2em;
    flex-wrap: wrap;
}

.flexFilters .col1 {
    flex-grow: 2;
    min-width: 75%;
}

.flexFilters .col2 {
    display: flex;
    flex-direction: column;
    width: 15%;
}

.col2 input.btn {
    margin-top: 1em;
}

.flexFilters .et_pb_toggle {
    width: 100%;
    background: transparent;
    border: 0;
    display: flex;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.flexFilters .et_pb_toggle:focus {
    outline: 0;
}

.flexFilters .et_pb_toggle:focus h5.et_pb_toggle_title {
    outline: #2ea3f2 solid 2px;
}

.flexFilters h5.et_pb_toggle_title {
    color: #506378 !important;
    font-size: 14px;
    width: 15%;
    text-transform: uppercase;
}

.flexFilters .et_pb_toggle_content {
    width: 90%;
}

.flexFilters .et_pb_toggle_content .et_pb_row {
    width: 100%;
}

ul.categorychecklist {
    column-count: 2;
    list-style: none;
    padding: 0 !important;
}

ul.categorychecklist li {
    position: relative;
    padding: 0 0 0 20px !important;
}

.flexFilters ul li:before, ul.tribe-events-sub-nav li:before, .tribe-events-notices ul li:before, ul.tribe-bar-views-list li:before {
    display: none;
}

.flexFilters .et_pb_toggle_open .et_pb_toggle_title:before {
    content: "Hide" !important;
    color: #467E72!important;
    font-family: 'Merriweather sans', sans-serif !important;
    font-size: 14px;
    text-decoration: underline;
    left: 0;
    padding-right: 1em;
    background: url(/wp-content/uploads/2019/05/caret-flip.svg) no-repeat right;
    display: block;
    width: 3em !important;
    position: absolute;
    top: 2em;
}

.flexFilters .et_pb_toggle_close .et_pb_toggle_title:before {
    content: "Show" !important;
    font-family: 'Merriweather sans', sans-serif !important;
    font-size: 14px;
    color: #467E72!important;
    text-decoration: underline;
    left: 0;
    padding-right: 1em;
    background: url(/wp-content/uploads/2019/05/toggle-arrow.svg) no-repeat right;
    display: block;
    width: 3em !important;
    position: absolute;
    top: 2em;
}

label.selectit {
    text-transform: uppercase;
    color: #00274C;
    padding-left: 18px;
}

.full-search {
    flex-grow: 2;
    width: 100%;
}

.full-search input.searchFilter {
    width: 80%;
}

.full-search .applyBtn {
    background-color: transparent;
    border: 0;
    min-width: 0;
}

.form-group {
    margin-right: 1em;
}

.rowLabel {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    color: #749fb8;
    margin-bottom: .5em;
    display: block;
}

.view-row {
    width: 100%;
    max-width: 1400px;
}

.staffname h3 {
    text-transform: none;
    font-family: 'Merriweather', serif !important;
}

.single-people .et_pb_section_0.et_pb_section {
    padding-top: 12em !important;
}

@media (max-width: 1024px) {
	.single-people .et_pb_section_0.et_pb_section {
    	display: none;
	}
}


/* TABS */

ul.et_pb_tabs_controls {
    background-color: #ffffff;
}

ul.et_pb_tabs_controls li:before {
    display: none;
}

ul.et_pb_tabs_controls li {
    padding: 0 !important;
}

.et_pb_tabs_controls li a {
    color: #001935;
    font-weight: 400;
    text-transform: uppercase;
    background: rgba(116, 159, 184, .17);
}

ul.et_pb_tabs_controls:after {
    border-top: 1px solid #373E43;
}

.et_pb_tabs_controls li {
    border-right: 1px solid #373E43;
}

.et_pb_module.et_pb_tabs {
    border: 0;
}

.et_pb_tab_active a {
    background: #fff !important;
    border-bottom: 1px solid #373e44;
}

/* EVENTS */

p.event-date {
    margin-right: 1em;
}

p.caption {
    margin-bottom: 1em;
    font-style: italic;
    color: #757575;
	text-align: center;
}

a.register-link, a.tribe-events-read-more {
    display: inline-block;
    background: #2b81a3;
    padding: .3em 1em;
    color: #fff;
}

.homeEventList:nth-of-type(2), .homeEventList:nth-of-type(1) {
	border-bottom: solid 2px #F3F3F3;
    margin-bottom: 1em;
    padding-bottom: 1em;
}

.homeEventCat {
	text-transform: uppercase;
}

.tribe-events-notices {
    background: #467E72;
    border-radius: 0;
    border: 1px solid #467E72;
    color: #ffff;
    margin: 10px 0 18px;
    padding: 8px 35px 8px 14px;
    text-shadow: none;
}

.tribe-events-notices ul {
    padding: 0 !important;
    margin: 0;
}

#left-area .tribe-events-notices ul li {
    padding-left: 0 !important;
}

#tribe-bar-form, #tribe_events_filters_wrapper.tribe-events-filters-horizontal,
.tribe-filters-closed #tribe_events_filters_wrapper.tribe-events-filters-horizontal {
    background: rgba(127, 179, 209, .17);
}

.tribe-bar-views-inner {
    background: #516478;
    color: #fff;
    padding: 16px 0;
}

#tribe-bar-views-toggle {
    color: #fff;
}

.tribe-bar-views span {
    display: none !important;
}

#tribe-bar-form.tribe-bar-mini .tribe-bar-submit input[type=submit] {
    -webkit-appearance: button;
    font-size: 11px;
    padding: 10px 5px;
    background: #fff;
    border: 1px solid #4E0B12;
    color: #4E0B12;
    min-width: 1px;
    border-radius: 3px;
}

#tribe_events_filters_wrapper.tribe-events-filters-horizontal input[type=submit] {
    -webkit-appearance: button;
    font-size: 11px;
    padding: 1em !important;
    background: #fff;
    border: 1px solid #4E0B12;
    color: #4E0B12 !important;
    min-width: 1px;
    border-radius: 3px;
    height: auto;
    margin-top: -10px;
}

#tribe_events_filters_wrapper.tribe-events-filters-horizontal input[type=submit]:hover {
    color: #fff !important;
}

#tribe-bar-views .tribe-bar-views-option {
    padding: .5em 1.3em !important;
    color: #fff;
}

#tribe-bar-views .tribe-bar-views-list {
    background: #506378;
}

.tribe-events-filters-horizontal .tribe-events-filters-content {
    background: #ebf3f8;
    border: 1px solid #ebf3f8;
}

#tribe-events-pg-template, .tribe-events-pg-template {
    padding-top: 200px;
    max-width: 1024px;
}

#tribe_events_filters_wrapper ul, ul#select2-results-2 {
    padding: 0 !Important;
}

div#event-lineart {
    padding: 4% 0 !important;
}

.events-list.tribe-bar-is-disabled #tribe-events-content-wrapper {
    max-width: 960px;
}

#tribe-bar-views .tribe-bar-views-option.tribe-bar-active, #tribe-bar-views-toggle:focus, #tribe-bar-views-toggle:hover {
    color: #506378;
    background: #eaf3f8;
}

.single-tribe_events .tribe-events-single-event-title{
	line-height: 1.7em;
}


/* BOOK DIVISION */

.ethnicHistoryImg img {
	max-height: 500px;
}

.subjectP {
    padding: 1em 0 .5em 0 !important;
}


/* HOME */

.homeFlexButtons {
	display: flex;
}

.usingLibraryBtn {
	margin-right: 2em;
}

.newsOutterDiv {
	padding: .5em 0;
}

.newsOutterDiv a {
    text-decoration: underline;
}

.exhibitName h3, h3.homeEventTitle, h3.et_pb_module_header {
    padding-top: .25em;
    font-family: 'Merriweather', serif !important;
    text-transform: none;
}

.newsDate {
	color: #787F85;
	font-size: 14px;
}

.featuredEvent {
    min-height: 400px;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1em;
    color: #fff;
    position: relative;
}

.featuredEvent:after {
    content: "";
    display: block;
    position: absolute;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.95) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.95) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.95) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
    width: 100%;
    height: 30%;
    left: 0;
    bottom: 0;
}

.featuredEvent a h3 {
    color: #fff !important;
    padding: 0;
    margin: 0;
}

.featuredEvent div, .featuredEvent a {
    position: relative;
    z-index: 1000;
    color: #fff;
    text-decoration: none;
}

/* GRID DISPLAY */

.displayColumns {
    padding-top: 0 !important;
    border-top: 1px solid rgba(81, 100, 120, 0.50);
}

/* .displayColumns.et_pb_equal_columns {
    align-items: center;
} */

.displayColumns .et_pb_column, .displayColumns .fwpl-result {
    padding: 1em;
	position: relative;
}

/* .displayColumns .et_pb_column:first-child {
    padding-left: 0;
}

.displayColumns .et_pb_column:last-child {
    padding-right: 0;
} */

.displayColumns .et_pb_column:after, .displayColumns .fwpl-result:after {
    display: block;
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    background-color: rgba(81, 100, 120, 0.50);
    right: 0;
    top: 0;
}

.displayColumns .fwpl-result:nth-child(n+5) {
	border-top: 1px solid rgba(81, 100, 120, 0.50);
	margin-top: 2em;
}

.quartoSeries {
    padding-bottom: 1em;
}

/* .view-row.displayColumns .et_pb_column:after {
    right: -1.25em;
} */

.displayColumns .et_pb_column:last-child:after, .displayColumns .fwpl-result:nth-child(4n):after {
    display: none;
}

/* HOVER BLURBS */

.blurb_hover {
    display: flex;
    align-items: stretch;
    justify-content: center;
    background-position: center;
    background-size: cover;
    margin-bottom: 1em;
}

.et_pb_column_1_3 .blurb_hover {
    min-height: 300px;
}

.et_pb_column_1_4 .blurb_hover {
    min-height: 225px;
    max-height: 225px;
    overflow: hidden;
}

.blurb_hover .et_pb_blurb_container {
    background: rgba(1, 25, 47, 0.77);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2em;
    border-bottom: 5px solid #516478;
    opacity: 0;
    transition: all ease 0.5s;
}

.blurb_hover .et_pb_blurb_container:hover,
.blurb_hover .et_pb_blurb_container:focus {
    opacity: 1;
}

.blurb_hover .et_pb_blurb_container:focus {
    outline: #2ea3f2 solid 2px;
}


/* CAROUSEL */

.wpcp-carousel-section .slick-prev {
    top: 13% !important;
    left: 21% !important;
}

.wpcp-carousel-section .slick-next {
    left: 21% !important;
    top: 20% !important;
}

.wpcp-carousel-section, .wpcp-carousel-section .wpcp-single-item, .wpcp-carousel-section.slick-initialized .slick-slide, 
.wpcp-carousel-section.wpcp-image-carousel .wpcp-slide-image, .wpcp-carousel-section.wpcp-post-carousel .wpcp-slide-image, .wpcp-carousel-section.wpcp-product-carousel .wpcp-slide-image {
    overflow: visible !important;
}

.wpcp-carousel-section .slick-slide:focus, .wpcp-carousel-section .wpcp-single-item .wpcp-slide-image a:focus, .wpcp-carousel-section .wpcp-single-item:focus, .wpcp-carousel-section ul.slick-dots li button:focus {
    outline: #2ea3f2 solid 2px;
}

.wpcp-carousel-section .slick-list {
    width: 75%;
    overflow: hidden;
    margin-right: 0 !important;
    margin-left: auto;
}

.wpcp-carousel-section .wpcp-single-item, .wpcp-carousel-section.slick-initialized .slick-slide, .wpcp-carousel-section.slick-initialized .slick-slide > div {
    vertical-align: top !important;
    width: 300px !important;
    max-width: 300px !important;
    padding: 0 .5em !important;
}

.wpcp-single-item {
    width: auto !important;
    max-width: 300px !important;
}

.wpcp-carousel-section.wpcp-image-carousel .wpcp-single-item .wpcp-all-captions {
    padding: 0 !important;
}

.wpcp-carousel-section .wpcp-single-item img {
    max-height: none !important;
}

/* BOOKPLATE STYLES */

.bookplate {
    border: 2px solid #4E0B12;
    padding: 5px;
    max-width: 560px;
    margin: 0 auto;
}

.bookplateHeader {
    border: 1px solid #4E0B12;
    padding: 5px 0;
}

.bookplateHeader img {
    float: none !important;
    max-width: 100% !important;
}

.bookplateWrap {
    background: #4E0B12;
    color: #fff;
    text-align: center;
    padding: 2em;
}

.bookplateWrap h2, .bookplateWrap h3 {
    color: #fff !important;
}

.bookplateDetails h3 {
    font-size: 18px !important;
}

h2.bookplateTitle {
    font-size: 24px !important;
}

hr.bookplateDivider {
    width: 5em;
}

.bookplateInfo {
    width: 70%;
    margin: 0 auto;
    font-weight: 700;
    line-height: 1.3em;
}


/* HOME HOURS TABLE */

.mabel-bhi-businesshours {
	border: none !important;
}

.mabel-bhi-businesshours tr {
	border-top: solid 1px #EEEEEE;
    border-bottom: solid 1px #EEEEEE;
}

.entry-content tr td, body.et-pb-preview #main-content .container tr td {
    padding: 1em;
}

.mabel-bhi-day {
	padding-right: 2em !important;
}

tr.mbhi-is-current {
    background: rgba(116, 159, 184, .21);
}

footer tr.mbhi-is-current {
    background: transparent;
}

/* EXHIBITS LAYOUTS */

.currExhibitsViewRow {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .currExhibitsViewRow .et_pb_column {
    margin-right: 3% !important;
    width: 48% !important;
  }

.project .entry-content {
    padding-top: 0;
}

.single-exhibit #main-content, .single-subject #main-content {
    padding-bottom: 4%;
}

#exhibit-main .et_pb_row, .et-db #exhibit-main #et-boc .et-l .et_pb_row {
    width: 94%;
    max-width: 1300px;
}

#exhibit-head {
    text-align: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 25vh;
    min-height: 500px;
    color: #fff;
    position: relative;
}

#exhibit-head h1, #exhibit-head a {
    color: #fff;
}

#exhibit-head h1 {
    position: relative;
    display: block;
    width: 100%;
    z-index: 1000000;
}

#exhibit-head > span {
    position: relative;
    z-index: 10;
}

#exhibit-head:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    max-height: 10em;
    position: absolute;
    bottom: 0;
    z-index: 7;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
}

.exhibitNav{
    display: flex;
    align-items: center;
}

.exhibitNav.rightNav {
    justify-content: flex-end;
}

.exhibitNav.leftNav {
    justify-content: flex-start;
}

.storyLink {
    margin: 0 1em;
}

.storyURL {
    width: 100px;
    height: 100px;
}

.storyURL img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

@media only screen and (max-width: 600px) {
    #exhibit-head {
        min-height: 300px;
    }
}

#sticky {
    border-top: 10px solid #467E72;
    padding-top: 1em;
}

.addtoany_list:before {
    content: "Share";
    text-transform: uppercase;
    font-weight: 700;
    color: #749FB8;
}

.flex .et_pb_column {
    align-items: stretch;
    display: flex;
}

.number span {
    color: #D7F0FF;
    font-size: 28px;
}

.currentFeatImg img {
    height: 350px;
    object-fit: cover;
}

.exhibitDate {
    color: #516478;
    text-transform: uppercase;
    margin-bottom: .5em;
}

/* TIMELINE */

.timeline {
    background-size: cover;
    background-attachment: fixed;
}

.timeline-meta .meta-details, .ctl-timeline-date {
    color: #fff !important;
    font-family: 'Merriweather',Georgia,"Times New Roman",serif !important;
}

.cool-timeline .timeline-year .icon-placeholder span {
    font-family: 'Merriweather',Georgia,"Times New Roman",serif !important;
    font-weight: 400 !important;
    color: #749fb8 !important;
    font-size: 31px !important;
}

.cool-timeline.white-timeline .timeline-year {
    background: #fff !important;
    box-shadow: none !important;
}

.cool-timeline .timeline-post .timeline-icon .icon-placeholder i {
    display: none;
}

.cool-timeline.white-timeline .timeline-post.even .icon-color-white, .cool-timeline.one-sided.white-timeline .timeline-post.even .icon-color-white,
.cool-timeline.white-timeline .timeline-post.odd .icon-color-white, .cool-timeline.one-sided.white-timeline .timeline-post .icon-color-white {
    background: #749fb8 !important;
    box-shadow: none;
    height: 50px;
    width: 50px;
    margin-left: -25px;
    margin-top: 0;
}

.cool-timeline .timeline-post .timeline-icon .icon-placeholder {
    background: url(/wp-content/uploads/2019/05/rosette-icon.png);
    height: 100%;
    background-size: contain;
}

.ultimate-style .timeline-post .timeline-content .content-title:before, .cool_timeline h1.timeline-main-title {
    display: none !important;
}

/* PAGINATION STYLE */

ul.pagination {
    display: flex;
    list-style: none;
    padding: 1em 0 !important;
    align-items: center;
    justify-content: center;
}

ul.pagination li span, ul.pagination li a, .wpv-pagination-nav-links-container .page-link {
    font-size: 1em;
    padding: 1em;
    border: 1px solid #4E0B12;
    color: #4E0B12;
    margin: 0 0.5em;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}

ul.pagination li.wpv_page_current span {
    background: #4E0B12;
    color: #fff;
}

ul.pagination li a:hover, .wpv-pagination-nav-links-container a.page-link:hover {
    background: #4E0B12;
    color: #fff;
}

.pagination li a.wpv-filter-next-link {
    padding-right: 2em !important;
    position: relative;
}

.pagination li a.wpv-filter-previous-link {
    padding-left: 2em !important;
    position: relative;
}

.pagination li a.wpv-filter-next-link:before {
    position: absolute;
    text-shadow: none;
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    font-variant: none;
    font-family: ETmodules!important;
    line-height: 1em;
    text-transform: none;
    content: "\35";
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
    top: 12px;
    right: 8px;
}

.pagination li a.wpv-filter-previous-link:before {
    position: absolute;
    text-shadow: none;
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    font-variant: none;
    font-family: ETmodules!important;
    line-height: 1em;
    text-transform: none;
    content: "\34";
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
    top: 12px;
    left: 8px;
}

/* FOOTER */

#main-footer .footer-widget h4 {
    color: #fff !important;
}

#main-footer, #main-content {
    position: relative;
}

footer .container {
    width: 100%;
    max-width: 1400px;
    margin-bottom: 7em;
}

#footer-widgets {
    width: 90%;
    margin: 0 auto;
}

.footer-widget {
    position: relative;
    z-index: 10;
}


footer#main-footer .container:after {
    content: "";
    display: block;
    background-image: url(/wp-content/uploads/2019/05/building-line-bg.png);
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: .32;
    top: 0;
    left: 0;
    z-index: 3;
}

.textwidget .et_pb_button {
    min-width: 173px !important;
    text-align: center;
    color: #4E0B12!important;
}

#custom_html-2 .title, #custom_html-3 .title {
	margin-bottom: .5em;
}

.footerWidgetP, .footerWidgetUL {
	margin-top: 1.75em;
}

.footer-widget li:before {
    border-color: #749FB8 !important;
}

.copyright, .copyright a {
    font-size: 12px;
    color: #3d6e63 !important;
}

#footer-widgets {
    padding: 10% 0 0;
}

div#footer-bottom li {
    list-style: none;
    display: inline-block;
}

#footer-bottom .container {
    display: flex;
    flex-wrap: wrap;
}

#footer-bottom .widget_custom_html {
    display: flex;
    align-items: center;
}

#footer-bottom .widget_custom_html:first-child .textwidget {
    width: 50%;
    margin-left: 2em;
}

#footer-bottom div.widget:first-child {
    width: 75%;
}

#footer-bottom div.widget:last-child {
    width: 25%;
}

a.solid {
    background: #03284d;
    color: #d6e5ed;
    width: 30px;
    height: 30px;
    display: block;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
}

ul.social {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

ul.social li {
    margin-right: 1em;
}

h4.widgettitle {
    text-transform: uppercase;
    color: #00274C;
    font-weight: 400;
}

.copyright {
    flex-grow: 2;
    text-align: center;
}

/* FOOTER ANIMATION */

#footer-bottom {
    height: 0;
    padding: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
    bottom: 0;
    transition: all 0.25s ease-in-out;
}

#footer-bottom.bottom {
    height: 7em;
    padding: 1em;
}

/* CONSTANT CONTACT */

.ctct-form-embed.form_0 .ctct-form-defaults {
    background: transparent !important;
    padding: 0;
}

p.ctct-gdpr-text {
    font-size: 0px !important;
    margin-bottom: 0px !important;
}

.ctct-form-custom {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    min-height: 0 !important;
}

.ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button {
    background-color: #ffffff;
    border: 1px solid #4e0b12 !important;
    color: #4e0b12;
    display: inline-block;
    position: relative;
    width: auto;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Merriweather Sans',Helvetica,Arial,Lucida,sans-serif;
    font-size: 14px;
    margin-left: 1em;
    min-width: 125px !important;
    padding-right: 2em;
}

.ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button:after{
    position: absolute;
    text-shadow: none;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    font-variant: none;
    font-family: ETmodules!important;
    line-height: 1em;
    text-transform: none;
    content: "\35";
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
    top: 13px;
    right: 13px;
}

.ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button:hover {
    background-color: #7a201c !important;
    color: #fff;
    text-transform: uppercase;
    border-color: #7a201c;
}

.redToWhiteBtn {
	background-color: #4e0b12!important;
    color: #fff!important;
}

.redToWhiteBtn:after {
    color: #fff!important;
}

body #page-container .et_pb_section .et_pb_button.redToWhiteBtn:hover {
    background-color: #fff!important;
    color: #4e0b12!important;
}

body #page-container .et_pb_section .et_pb_button.redToWhiteBtn:hover:after {
    color: #4e0b12!important;
}

div.ctct-form-embed form.ctct-form-custom div.ctct-form-field {
    width: 50%;
    margin-bottom: 0 !important;
}

div.ctct-form-embed form.ctct-form-custom div.ctct-form-field label {
    font-size: 0;
    margin-bottom: 0;
}

div.ctct-form-embed div.ctct-form-defaults p.ctct-form-footer {
    padding: 0;
}

/* SINGLE BLOG POST */

.single-post #sidebar-divibar {
    z-index: 100000;
}

.single-post #main-content .container {
    width: 94%;
    max-width: 1400px;
    padding-top: 1em! important;
}

.single-post #et-main-area {
    padding-top: 10em;
}

.single-post .container:before {
    display: none;
}

span#breadcrumbs {
    margin: 0 auto 3em 0;
    width: 94%;
    display: block;
}

.blog-header .et_pb_row {
    padding: 0;
}

div#sidebar {
    background-color: #e6e6e6;
    padding: 2em !important;
}

li.cat-item {
    padding-top: 0 !important;
}

.widget_categories ul {
    padding: 0 !important;
}

/* BLOG ARCHIVE */

.et_pb_posts article a img {
    float: left;
    max-width: 30%;
    margin: 0 1em 1em 0;
}


/* FOOTER HOURS TABLE */

.textwidget .mabel-bhi-businesshours {
	border: none !important;
}
.textwidget .mabel-bhi-businesshours tr {
	border-top: none;
    border-bottom: none;
}
.mabel-bhi-businesshours tr td {
    padding: .25em .5em;
}
#text-2 .textwidget p {
    border-bottom: solid 1px #EEEEEE;
	padding-bottom: 0;
}
#text-2 .textwidget p:nth-of-type(2) {
	padding-top: 1em;
}
#text-2 .textwidget p:nth-of-type(3) {
	padding-top: 1em;
	border-bottom: none;
}

/* RESPONSIVE IFRAME */

.iframe-container {
    position: relative;
    overflow: hidden;
    padding-top: 25%;
}

.iframe-container iframe {
    position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0;
  }

/* HISTORY TEMPLATE */

.views-template-exhibit-template--for-history-of-library .et_pb_section_first {
    padding-top: 27px !important;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 767px) {
    .featuredEvent {
        max-width: 550px;
    }
}

@media only screen and (min-width: 768px) {
    .featuredEvent {
        max-width: 650px;
    }
}

@media (min-width: 981px) {
	.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container {
		padding-right: 0;
    }
    .booksCol2 {
        margin-top: 23em;
        margin-bottom: 3em;
    }
    .booksCol2 .et_pb_module {
        margin-right: 4em;
    }

    .et-fixed-header #top-menu a, .et-fixed-header #et_search_icon:before, .et-fixed-header #et_top_search .et-search-form input, .et-fixed-header .et_search_form_container input, .et-fixed-header .et_close_search_field:after, .et-fixed-header #et-top-navigation .et-cart-info {
        color: #00274C !important;
    }
}

@media (min-width: 1101px) {
	#mega-menu-primary-menu {
        display: flex !important; 
        justify-content: space-around;
    }
}
@media (max-width: 1024px) {
	#main-header {
		padding: .5em 0;
	}
	
	#et-secondary-nav li {
		padding-top: 0 !important;
	}
	
	#et-secondary-nav li:after {
		top: 0;
	}
	
	.divider {
		border-left: 0 !important;
	}
	
	#et_top_search {
		margin: 0 0 0 24px !important;
    }
    
    .flexFilters .et_pb_toggle {
        flex-wrap: wrap;
    }

    .flexFilters h5.et_pb_toggle_title {
        width: 100%;
    }

    .flexFilters .et_pb_toggle_title:before {
        position: relative;
        top: 0;
        width: auto;
    }

    .full-search input.searchFilter {
        width: 57%;
    }

    ul.categorychecklist {
        column-count: 1;
    }

    header#main-header.light-header #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
        color: #fff !important;
        text-shadow: none !important;
    }
	
	#mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu ul.mega-sub-menu {
    display: block !important;
}
}

@media (max-width: 980px) {
    #et_mobile_nav_menu {
        display: none;
    }

    .et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation {
        display: block;
        padding-top: 24px;
        padding-left: 0 !important;
    }
    #et-secondary-menu, #et-secondary-nav {
		display: block !important;
        text-align: right;
    }
    
    #et-secondary-nav a {
        font-size: 13px;
    }
    
    .divibars-body .et_pb_column_3_5 {
        width: 90%;
        margin-bottom: 0;
    }

    .divibars-body .et_pb_column_1_5 {
        width: 10%;
    }
	
	.displayColumns .et_pb_column:after {
		display: none;
    }
    
    .footer-widget:nth-child(n) {
        width: 28.25% !important;
    }

    .et_search_form_container .et_pb_module.et_pb_tabs {
        background: #e9eff3 !important;
        padding: 0 !important;
    }

    ul.et_pb_tabs_controls {
        display: flex;
    }

    ul.et_pb_tabs_controls:after, .et_search_form_container li.et_pb_tab_active:after {
        display: none;
    }

    .et_search_form_container .et_pb_tabs_controls li {
        border-bottom: 0;
    }

    .et_search_form_container .et_pb_tab {
        padding: 2em;
    }

    .et_header_style_left .et-search-form, .et_header_style_split .et-search-form {
        width: 100% !important;
        max-width: 100% !important;
    }

    .et_search_form_container .search-btn, .search-btn {
        background: transparent;
    }

    .et_search_outer.et_pb_tabs_controls li a {
        padding: .5em 1em;
    }

    div#search_inner {
        max-width: none;
        width: 100%;
    }

    .et_search_outer.open {
        top: 79px;
    }

    .et_search_outer .et_pb_all_tabs {
        border: 1px solid #474d52
    }

    .currExhibitsViewRow .et_pb_column {
        width: 100%;
        padding: 0 1%;
    }
}

@media (max-width: 980px) and (min-width: 764px) {
    .footer-widget:nth-child(n) {
        width: 28.25% !important;
    }
}

@media (max-width: 1250px) and (min-width: 1072px) {
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
        padding: 0 5px !important
    }
	#logo {
        max-height: 34% !important;
    }
} 

@media (max-width: 600px) {
    #footer-bottom div.widget:first-child {
        width: 100%;
        flex-wrap: wrap;
    }

    footer h4.widgettitle {
        font-size: 15px;
    }

    #footer-bottom.bottom {
        height: 12em;
    }

    #footer-bottom .widget_custom_html:first-child .textwidget {
        width: 100%;
        margin-left: 0;
    }

    ul.social {
        padding-left: 0 !important;
    }

    #et-secondary-menu, #et-secondary-nav {
        text-align: left;
        font-size: 13px;
        padding-left: 0 !important;
    }

    .et_header_style_left #logo, .et_header_style_split #logo {
        max-width: 73%;
        position: absolute;
        top: 50%;
        left: -7%;
    }
    #et_top_search {
        margin: 0 !important;
    }

    .form-group.staffFilters, .form-group.staffFilters input {
        width: 100%;
        margin: 0.5em 0;
    }

    #et-secondary-nav a {
        font-size: 11px;
    }
	
	.booksCol1 {
		padding: 3em;
		display: block !important;
	}
	
	.booksCol2 h1 {
    	font-size: 16px;
	}
	
	.booksCol2 .et_pb_text {
    	padding: 10px !important;
	}
	
	.home .et_pb_section_first {
    	padding-top: 80px !Important;
	}
	
	.flexFilters .et_pb_toggle {
    	margin-top: 3em;
	}
	
	.full-search input.searchFilter {
    	width: 82%;
	}
	
	button.wpv-reset-trigger {
    	margin: 1em 0;
	}
}

@media (max-width: 479px) {
    .currExhibitsViewRow .et_pb_column {
        width: 100% !important;
        padding: 0 10%;
    }
}
@media only print {

    html, body {
        border: 1px solid white;
        height: 99%;
        page-break-after: avoid !important;
        page-break-before: avoid !important;
     }

    header#main-header, div#sidebar, footer#main-footer, .divibars-container, div#sidebar-divibar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    }

    body.divibar-active.et_transparent_nav.et_secondary_nav_enabled.et_fixed_nav #et-main-area #main-content > .container, .et-db #et-boc .et-l .et_pb_row {
        padding-top: 0 !important;
        width: 98% !important;
        max-width: none;
    }

    #left-area {
        width: 100% !important;
        border-right: 0 !important;
    }

    .single-post #et-main-area {
        padding-top: 1em;
    }

    span#breadcrumbs {
        margin: 0 auto 0em auto;
    }

    #left-area .post-meta {
        padding-bottom: 0;
        margin-bottom: 0;
    }
}
