/*
Theme Name: Stack Child
Theme URI: http://www.tommusrhodus.com/stack-wordpress-theme
Description: Child theme for the Stack theme
Author: <a href="http://www.tommusrhodus.com">Tom Rhodes</a>
Author URI: http://www.tommusrhodus.com
Template: stack
Version: 10.0.0
*/

/***** GLOBAL STYLES *****/
p, li, a {
    font-size: 18px;
}

.career-template-default ul {
    list-style-type: disc !important;
}

/* .stack-careers-cta {
    display: none !important;
} */

.feature.feature-1.boxed.boxed--border h5 {
    font-size: 20px;
    font-weight: 900;
    line-height: 24px;
    margin: 15px 0;
}

.white-text, .white-text p,
.white-text h1, .white-text h2,
.white-text h3, .white-text h4, 
.white-text h5, .white-text h6,
.white-text a, .white-text span {
	color: white !important;
}

.lightest-shadowed-bg, .lighter-shadowed-bg, .light-shadowed-bg {
    background: white;
    padding: 20px;
}

.lightest-shadowed-bg {
    box-shadow: 0 0 30px 0 rgba(0,0,0,.05);
}

.lighter-shadowed-bg {
    box-shadow: 0px 3px 15px rgba(0,0,0,0.1);
}

.light-shadowed-bg {
    box-shadow: 0 0 30px 0 rgba(0,0,0,.15);
}

.dark-text, .dark-text p,
.dark-text li .dark-text h1,
.dark-text h2, .dark-text h3,
.dark-text h4, .dark-text h5,
.dark-text h6, .dark-text span {
    color: #444444 !important;
}

.light-form input.form-control, .light-form textarea.form-control, .light-form select.form-control {
	color: white;
}

.flickity-slider .background-image-holder.background--top {
	background-position: 50% 50% !important;
}

.overlay-section::after {
    content: '' !important;
    position: absolute;
    top: 0;
    left: 0;
    height: 100% !important;
    width: 100% !important;
    background: #0e263e;
    opacity: .5;
    visibility: visible !important;
}

.overlay-section-light::after {
    content: '' !important;
    position: absolute;
    top: 0;
    left: 0;
    height: 100% !important;
    width: 100% !important;
    background: #0e263e;
    opacity: .3;
    visibility: visible !important;
}

.flickity-prev-next-button {
    z-index: 10;
}

.home-header {
	height: 85vh !important;
}

.home-header section.slider.height-60 {
	height: 85vh !important;
}

.home-header [data-overlay="4"]:before {
    opacity: 0 !important;
}

@media all and (min-width: 1024px) {
  .bar-1 .bar__module + .bar__module {
    margin-left: 0;
  }
}

.trans-blue-bg {
    padding: 20px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: rgba(14, 38, 62, .9);
}

.feature-2 {
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: space-between;
    /* vertical-align: middle; */
    align-items: center;
}

.footer-2 h6 {
    font-size: 1.2em;
	margin-bottom: 10px;
}

span.yellow-span {
    background: #CCCC00;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
}

span.red-span {
    background: #ad001c;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
}

/* join the team btn */
li#menu-item-3752 a, .jtt-red {
    background: #ad001c;
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: none;
}

/* apply for permit link */
li#menu-item-4847 a {
    font-weight: 900;
    color: #AD001B;
}

.red-modal-btn a.btn.btn--primary.type--uppercase.modal-trigger {
    background: #ad001c;
    border-color: #ad001c;
}

span.type--fine-print a {
    text-decoration: none;
}

a.btn.btn--secondary.type--uppercase .btn__text {
    color: #173f68;
}

.notification.notification--reveal[data-animation=from-right] {
	overflow: scroll;
}

.mobile-show {
	display: none !important;
	visibility: hidden !important;
}

/***** GOOGLE TRANSLATE STYLE *****/
.gt_options.gt-open {
    display: flex !important;
    width: 200px;
    flex-wrap: wrap;
}

a.nturl[data-gt-lang="es"] {
    order: 1 !important;
}

a.nturl:not([data-gt-lang="es"]) {
    order: 2 !important;
}

a.nturl {
    width: 100% !important;
}
/***** END GTRANSLATE STYLES *****/

/***** SIMPLE BANNER STYLES *****/
.simple-banner {
    background: #f5f5f5 !important;
    color: white !important;
	width: 360px;
    text-align: center;
    z-index: 100;
    position: absolute;
    display: block;
    flex-direction: row;
    justify-content: center;
    left: 40%;
    border-radius: 0 0 8px 8px;
	padding-top: 6px;
}

.simple-banner .simple-banner-text, .simple-banner .simple-banner-text a {
	color: white !important;
	font-size: 1.2em;
}

.simple-banner .simple-banner-text a {
    border: 1.5px solid #ac1000!important;
	background: #ac1000;
    padding: 2px 8px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
	text-transform: uppercase;
    font-size: .9em;
}

/***** PDF EMBEDS *****/
.df-container>.df-ui-next, .df-container>.df-ui-prev {
     color: white !important;
}

.df-container.df-floating>.df-ui-prev {
    left: -13px;
}

.df-container.df-floating>.df-ui-next {
    right: -8px;
}

/***** FORM STYLES *****/

input[type="radio"]{
	width: auto !important;
}

.form-button {
    border: 1px solid #ad001c !important;
    background: #ad001c !important;
    color: white !important;
}

.light-form input.form-control, .light-form textarea.form-control,
.light-form select.form-control {
    background: transparent !important;
    border: .5px solid white !important;
    outline: none !important;
    box-shadow: none !important;
}

.light-form input.form-control::placeholder, .light-form textarea.form-control::placeholder,
.light-form select.form-control::placeholder {
    color: white !important;
}

.dark-form input.form-control, .dark-form textarea.form-control,
.dark-form select.form-control {
    background: transparent !important;
    border: .5px solid #666 !important;
    outline: none !important;
    box-shadow: none !important;
}

.dark-form input.form-control::placeholder, .dark-form textarea.form-control::placeholder,
.dark-form select.form-control::placeholder {
    color: #666 !important;
    font-size: 16px;
}

input.form-control, select.form-control {
    height: 50px !important;
    font-size: 16px;
    margin: 10px 0 !important;
}

textarea.form-control {
    margin: 10px 0 !important;
}

.input-select:after {
    padding-top: 6px !important;
}

.caldera-grid .checkbox label, .caldera-grid .radio label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.intl-tel-input {
    width: 100% !important;
}

.caldera-grid .last_row {
    margin-top: 0 !important;
}

.input-select:after {
    content: '\2304' !important;
    border-left: none !important;
	top: 5px !important;
}

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

.caldera-grid label {
	font-size: 16px;
}

/***** MENU & NAV *****/
ul.menu-horizontal {
    padding-top: 8px;
}

.bg--dark .logo-holder {
    background: #0e263e;
    padding: 10px 30px 30px 30px;
    border: 3px solid #ad001c;
    border-radius: 0 0 100% 100%;
    position: absolute;
    top: -75px;
    left: 0;
    box-shadow: 0 0 30px 0 rgba(0,0,0,.15);
}

.pos-fixed .logo-holder {
    background: #0e263e;
    padding: 20px;
    border: none;
    border-radius: 0 0 100% 100%;
    position: absolute;
    top: -20px;
    box-shadow: none;
}

.bar.pos-fixed .logo {
    max-width: 70px;
}

.logo img {
    top: 0;
}

.bar .bg--dark {
    max-height: 80px;
}

/* remove opacity from nav links */
.menu-horizontal > li:not(:hover) > a,
.menu-horizontal > li:not(:hover) > span,
.menu-horizontal > li:not(:hover) > .modal-instance > .modal-trigger {
    opacity: 1;
    font-size: 16px !important;
}

.menu-vertical li a {
    font-weight: normal;
    font-size: 16px !important;
    line-height: 18px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.menu-horizontal > li, .menu-vertical > li {
    font-size: 16px !important;
}

.bar-1 .menu-horizontal > li > .dropdown__trigger, .bar-1 .menu-horizontal > li > a {
    font-size: 16px !important;
}

ul#menu-acfpd-menu li {
    font-size: 16px;
}

ul#menu-standard-navigation {
    margin-top: 14px;
}

ul.social-icons {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex: 1;
    padding-left: 160px;
}

ul.social-icons li a {
    text-decoration: none;
    padding: 0 8px;
    font-size: 20px;
}

ul.social-icons img {
    width: 30px;
}

i.stack-dot-3 {
    display: none;
    visibility: hidden;
}

.side-menu__module li {
    font-size: 16px;
    text-align: center;
    border-bottom: 1px solid #d5d5d5;
    padding-bottom: 10px;
}

.social-list li {
    border-bottom: none !important;;
}

.side-menu__module {
    text-align: center;
}

.notification.side-menu .side-menu__module + hr:not(:last-child) {
    display: none;
}

.about-us-drop .dropdown__content, .services-drop .dropdown__content, 
.prevention-drop .dropdown__content, .news-drop .dropdown__content {
    margin-left: -240px;
	min-height: 220px;
}

.header--top-bar::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 0px;
    z-index: 1000;
    height: 130px;
    width: 130px;
    background-image: url(https://acfr.mithrilmedia.io/wp-content/uploads/2020/02/cfaiISO-e1581990606186.png);
    background-size: contain;
}

.accordion .accordion__title:before {
    transform: rotate(90deg);
}

.accordion li.active .accordion__title:before {
	transform: none !important;
}


#menu1 .col-md-11{
    padding-right: 120px !important;
}

.header--top-bar .text-right {
    padding-right: 100px;
}

.dropdown .dropdown__content:not([class='bg--dark']) .menu-vertical a:after {
    content: '';
    display: block;
    border-bottom: 2px solid #ad001c;
    width: 0;
    position: absolute;
    left: 15px;
    -webkit-transition: .4s ease;
    transition: .4s ease;
}

.dropdown .dropdown__content:not([class='bg--dark']) .menu-vertical a:hover:after {
    width: 15%;
}

/***** HOMEPAGE STYLES *****/
[data-overlay] *:not(.container):not(.background-image-holder):not(.youtube-background):not(video) {
    z-index: 3 !important;
}

/****** ABOUT US PAGE *****/
#investigations, #ems, #protection, #hazmat, #rescue{
    border-top: 15px solid white !important;
}

/***** STATIONS PAGE *****/
.station-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.station-info {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.station-row {
    box-shadow: 0px 3px 15px rgba(0,0,0,0.1);
    background: white;
    border-radius: 8px;
    margin: 25px 0;
}

h2.station-modal-header {
    position: absolute;
    top: -80px;
    left: -30%;
    background: #ad001c;
    color: white !important;
    padding: 8px 12px;
    z-index: 1000000;
}

.modal-instance.station-modal a {
    border-color: #d3d3d3 !important;
}

.station-image-col .vc_column-inner {
    min-height: 500px;
    background-size: cover !important;
}

.modal-instance.station-modal {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.station-image-col {
    padding: 0;
}

/***** STAFF PAGES *****/
.staff-flex-row {
    display: flex;
    flex-direction: row;
    flex: 1;
    flex-wrap: wrap;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 60px;
}

.staff-desc-col h2 {
    color: #0e263e !important;
    margin-bottom: 15px !important;
}

.staff-desc-col h4 {
    color: #888888 !important;
}

.staff-desc-col h2::after {
    content: '';
    height: 2px;
    width: 450px;
    background-color: #ad001c;
    position: absolute;
    top: 50px;
    left: -15px;
}

.staff-desc-col h2::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ad001c;
    position: absolute;
    top: 46px;
    left: 435px;
}

span.shift-lead {
    display: inline;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    position: relative;
    top: -2px;
    color: white;
}

span.shift-lead#black {
    background: #333;
}

span.shift-lead#green {
    background: green;
}

span.shift-lead#red {
    background: #ad001c;
}

/***** SOCIAL TABS *****/
.social-tabs .vc_tta-panels-container {
    max-height: 650px;
    overflow: scroll;
}

.ctf-item {
    box-shadow: 0px 3px 15px rgba(0,0,0,0.1);
    margin: 10px 0 !important;
    border: none !important;
    padding: 10px !important;
    border-radius: 8px;
}

/***** CONTACT US PAGE *****/
.contact-social img{
	width: 70px;
}

/**** BLOG STYLES *****/
.pricing-1 .btn:last-child {
	position: relative !important;
}

.feature-1>a.block+.feature__body {
	text-align: center;
	padding-bottom: 0 !important;
}

.hide-filter .masonry-filter-container, .hide-filter .pagination {
	display: none;
	visibility: hidden;
}

.pagination ol li {
	padding-top: 3.5px;
}

.pagination ol li.pagination__current {
    cursor: default;
    background: #0e263e;
    color: #fff;
}

/** CUSTOM MAP STYLES **/
.toggle-station {
	display: none;
}

#station-toggle-column {
    overflow: scroll;
    max-height: 100vh;
	padding-bottom: 130px;
}

.station-toggle-wrap {
    box-shadow: 0px 3px 15px rgba(0,0,0,0.1);
    margin-top: 30px;
    margin-left: 20px;
	margin-bottom: 30px;
    border-radius: 8px !important;
}

.station-toggle-wrap .station-toggle-content {
	padding: 0 20px 20px 20px;
}

div#jurisdiction-map-header {
    position: absolute;
    top: 180px;
    right: 50px;
    width: 350px;
    background: rgba(251,251,251,.8);
	z-index: 5;
}

#station-toggle-column #default-text {
	padding-top: 90%;
}

.station-map-modal, .station-map-modal a {
	width: 100% !important;
}

/***** BOARD OF DIRECTORS ******/
.meeting-container {
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.border-right-col {
    border-right: 1px solid #d5d5d5;
}

.meeting-modals .modal-trigger {
    min-width: 250px;
    margin-bottom: 1em !important;
}

/**** RESPONSIVE STYLES *****/
@media only screen and (max-width: 768px) {
    .border-right-col {
        border-right: none;
        border-bottom: 1px solid #d5d5d5;
    }

	.home-header {
		height: 100vh !important;
	}

	.home-header section.slider.height-60 {
		height: 100vh !important;
	}
	
    .mobile-hide {
        display: none !important;
        visibility: hidden !important;
    }
	
	.mobile-show {
		display: inherit !important;
		visibility: visible !important;
	}
	
	.stack-header-buttons {
		display: none !important;
        visibility: hidden !important;
	}

    .station-image-col {
        order: 1;
    }

    .station-content-col {
        order: 2;
        padding: 30px;
    }

    .station-image-col .vc_column-inner {
        min-height: 250px;
    }

    .feature-2 .icon {
        margin-right: 20px;
    }

    .staff-img-col {
        order: 1;
    }

    .staff-desc-col {
        order: 2;
        background: white;
        margin: 0 15px;
        padding-top: 20px;
        margin-top: -40px;
        text-align: center;
        box-shadow: 0 0 30px 0 rgba(0,0,0,.05);
    }

    .staff-desc-col h2::before {
        display: none;
    }

    .staff-desc-col h2::after {
        width: 90%;
        margin-left: 5%;
        top: 60px;
        left: 0;
    }

    p, li, a {
        font-size: 16px;
    }

    
	
	.contact-social {
		display: flex;
		flex-direction: row;
		flex: 1;
		flex-wrap: nowrap;
		justify-content: space-around;
	}
}


@media only screen and (min-width: 768px) {
    .switchable .imagebg .boxed {
        padding-right: 0;
    }
}

/* @media only screen and (min-width:1200px) {
    #menu1 > .container, .header--top-bar > .container {
        width: 1170px;
    }
} */

@media only screen and (min-width:1362px) {
    #menu1 > .container, .header--top-bar > .container {
        width: 1370px;
		padding-right: 0;
    }
	
}

@media only screen and (max-width: 1361px) {	
	.simple-banner {
		left: 35%;
	}
	
	#menu1 .col-md-11 {
		padding-right: 0 !important;
	}
	
	.header--top-bar::after {
		height: 60px !important;
		width: 60px !important;
	}
}

@media only screen and (max-width: 1500px) {
	.header--top-bar::after {
		height: 100px;
		width: 100px;
	}
}

@media only screen and (max-width: 1200px) {	
	
	.header--top-bar::after {
		top: 55px;
	}
	
	.simple-banner {
		position: relative;
		width: 100%;
		left: 0;
		background: white !important;
		border-bottom: 2px solid #ac1000;
		border-radius: 0 !important;
		z-index: 100;
	}
	
	.simple-banner .simple-banner-text a {
		border: none !important;
		width: 100%;
	}
	
	div#jurisdiction-map-header {
		display: none;
		visibility: hidden;
	}
}

@media only screen and (max-width: 991px) {	
	.simple-banner {
		position: fixed;
		width: 100%;
		left: 0;
		background: white !important;
		border-bottom: 2px solid #ac1000;
		border-radius: 0 !important;
		z-index: 100;
	}
	
	.simple-banner .simple-banner-text a {
		border: none !important;
		width: 100%;
	}
	
	.nav-sidebar-column img.logo.logo-light {
        display: none;
    }

    .nav-sidebar-column .logo {
        max-height: 8em;
        margin-bottom: 0.92857143em;
    }

    .nav-sidebar-column .dropdown__trigger {
        margin-top: 0;
        margin-bottom: 0;
    }
	
	.nav-sidebar-column-toggle {
		border-radius: 0 !important;
		z-index: 10 !important;
		right: 0;
		top: 52px;
		left: unset;
	}
	
	.main-container {
        padding-top: calc(52px + 3.71428571em) !important;
    }

    .main-container::before {
		content: '';
		background-image: url(https://acfr.mithrilmedia.io/wp-content/uploads/2020/03/acfr-mobile-logo.png);
		width: 100%;
		background-size: contain;
		background-repeat: no-repeat;
		height: 3.71428571em;
		position: fixed;
		text-align: center;
		z-index: 9;
		left: 0;
		top: 52px;
		background-color: #fff;
		padding: 10px;
		box-shadow: 2px 1px 4px rgba(0,0,0,.1);
    }
	
	.nav-sidebar-column .footer-stack-copyright {
        display: none !important;
    }
	
	.nav-sidebar-column {
        z-index: 100 !important;
    }
}

@media only screen and (max-width: 480px) {
	.station-row {
		width: 95%;
    	margin-left: 2.5% !important;
	}
	
	.trans-white .boxed {
    	background-color: rgba(251,251,251,.9);
	}
	
	
}
