/*
Theme Name: New BWI Theme
Description: Child theme for the Theme Blvd framework
Author: Your name here
Template: barelycorporate
*/

/*
Note: The parent theme does not include any CSS in
style.css, and so you don't need to @import it here.
*/

/* Add your custom CSS here. */

:root {
    --color-primary: #109bf3; /** #0f57e8 */
}



/** temp, used during transition. remove later */

.flexslider .slides img {
    margin: auto;
}

html #branding .content #header_content {
    padding: 35px 0;
}

#header_content .header_content-content .header_logo_image {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

#header_content .header_content-content .header_logo_image .tb-image-logo {
    padding-bottom: 15px;
}

#header_content .header_content-content .header_logo_image .tb-image-logo img {
    margin-right: 0;
}

@media (min-width: 768px) {
    #header_content .header_content-content .header_logo_image {
        flex-flow: row nowrap;
        justify-content: space-between;
    }

    #header_content .header_content-content .header_logo_image .tb-image-logo {
        padding: 0;
    }
}

/** end temp */


/** global */

html, body {
    font-size: 14px;
}

.article-wrap {
    border-bottom: 4px solid var(--color-primary);
    background-clip: border-box;
    box-shadow: 8px 8px 48px 0px rgb(0 0 0 / 9%);
}

/** global */

html .home #top {
	background-image: none;
	border: none;
}

html .wrapper-aircraft-renter-new #top,
html .wrapper-aircraft-renter-new #main {
    background-color: #fff;
}


#featured {
    background: #F3F3F3 url('./images/bwifly_bg_repeater.png') repeat-x;
}

html .home .element-columns .element-inner {
 padding: 10px;
}

.themeBlue {
    color: var(--color-primary);
}

.themeBlueBackgroundColor {
    background-color: var(--color-primary);
    color: #fff;
}

.themeOrange {
    color: #f38e10;
}

.themeOrangeBackgroundColor {
    background-color: #f38e10;
    color: #fff;
}

/* grid override for aircraft-new */
.col-sm-35,
.col-sm-85 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-sm-85 {
        width: 71%;
        float: left;
    }
    .col-sm-35 {
        width: 29%;
        float: left;
    }
}

.widget_tmls_widget h3,
.rpwwt-widget .widget-title,
.widget-area h2 {
    padding: 10px;
    background-color: #3b4044;
    font: 18px/15px Arial, Helvetica, Sans-Serif;
    color: #ffffff;
    text-transform: uppercase;
}

.articlesSection {
    width: 100%;
    height: 190px;
    display: inline-block;
}

.asItemContainer {
    margin: 15px 0 5px 0;
    width: 100%;
}

.asItem {
    width: 100%;
    background: #fff;
    margin: 0 0 15px;
}

.asiTitle {
    font: 13px/16px Arial, Helvetica, Sans-Serif;
    color: #494949;
    padding: 15px 0 0 10px;
    text-transform: uppercase;
    width: 50%;
    float: left
}

.asiContent {
    font: 14px/20px Arial, Helvetica, Sans-Serif;
    color: #494949;
    padding: 15px 0 0 10px;
    clear: both;
}

.asiReadMore {
    margin: 0 auto;
    text-align: center;
}

.asiReadMore a {
    width: 95%;
    font: 18px/28px Arial, Helvetica, Sans-Serif;
    text-transform: uppercase;
    display: inline-block;
    padding: 5px 0;
    text-align: center;
    background: #147ba1;
    border-radius: 3px;
    border: 0px;
    margin: 0 auto 5px;
    cursor: pointer;
    color: #fff !important;
}

.asiReadMore a:hover {
    background: #3b4044;
}

#wrapper.wrapper-aircraft-renter-new .bwi-header-logo {
    text-align:center;
}

#wrapper.wrapper-aircraft-renter-new .link-list-widget.new-template {
    background-color: transparent;
    box-shadow: none;
    border-bottom: none;
}

#wrapper.wrapper-aircraft-renter-new .link-list-widget.new-template h2 {
    margin-top: 0;
    text-align: left;
}

.bwi-logo-knockout {
    margin-right: 35px;
    width: 180px;
    border-radius: 5px;
    vertical-align: unset !important;
}

#wrapper.wrapper-aircraft-renter-new .bwi-logo-services {
    width: 100%;
    max-width: 1252px;
}

@media(min-width: 768px) {
    #wrapper.wrapper-aircraft-renter-new #main .main-content {
        width: 1250px;
    }
}

#wrapper.wrapper-aircraft-renter-new #main.sidebar_right {
    padding-top: 0;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar {
    background-color: #f7f7f7;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar-header {
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    padding-top:10px;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar-button,
#wrapper.wrapper-aircraft-renter-new .right-sidebar-button-smaller,
#wrapper.wrapper-aircraft-renter-new .post-button-smaller {
    display: block;
    margin: 20px 60px 20px 0;
    padding: 10px;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
}

@media (min-width: 768px) {
    #wrapper.wrapper-aircraft-renter-new .bwi-mobile-only.right-sidebar-button {
        display: none;
    }
}


#wrapper.wrapper-aircraft-renter-new .right-sidebar-button-smaller,
#wrapper.wrapper-aircraft-renter-new .post-button-smaller {
    margin: 20px 60px 20px 0;
    padding: 5px;
    font-size: 15px;
    line-height: 24px;
}

#wrapper.wrapper-aircraft-renter-new .main-smaller-button-holder {
    margin: 40px 0;
    font-size: 15px;
}

#wrapper.wrapper-aircraft-renter-new .post-button-smaller {
    display: inline;
    margin: 0;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar-button,
#wrapper.wrapper-aircraft-renter-new .right-sidebar-button:hover,
#wrapper.wrapper-aircraft-renter-new .right-sidebar-button-smaller,
#wrapper.wrapper-aircraft-renter-new .right-sidebar-button-smaller:hover,
#wrapper.wrapper-aircraft-renter-new .post-button-smaller,
#wrapper.wrapper-aircraft-renter-new .post-button-smaller:hover {
    color: #fff;
    cursor: pointer;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar-button.themeBlue:hover,
#wrapper.wrapper-aircraft-renter-new .right-sidebar-button-smaller.themeBlue:hover {
    background-color: #0A7CC9;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar-button.themeOrangeBackgroundColor:hover,
#wrapper.wrapper-aircraft-renter-new .right-sidebar-button-smaller.themeOrangeBackgroundColor:hover,
#wrapper.wrapper-aircraft-renter-new .post-button-smaller:hover {
    background-color: #f36410;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar-agent {
    color: #000;
    font-size: 13px;
    font-weight: 600;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar-phone {
    font-size: 20px;
    margin-right: 10px;
    font-weight: 600;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar-white-delimiter {
    height: 3px;
    width: 100%;
    background-color: #fff;
    margin-top: 10px;
}


#wrapper.wrapper-aircraft-renter-new .right-sidebar-more-information {
    margin: 20px 0;
    color: #000;
    font-size: 14px;
    font-weight: 600;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar-link {
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 15px;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar .right-side-bar-blog-header {
    font-weight: 600;
    font-size: 15px;
    color: #000;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar .right-side-bar-blog-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar .right-side-bar-blog-list li {
    margin-top: 15px;
    font-size: 13px;
    font-weight: 600;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar .right-side-bar-blog-list li em {
    color: #666;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar h2 {
    color: var(--color-primary);
    text-align: center;
    margin-top: 60px;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar .insuranceSection ul {
    margin-bottom: 0;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar .insuranceSection ul a,
#wrapper.wrapper-aircraft-renter-new .right-sidebar .insuranceSection ul a:hover {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    color: #000;
    border-bottom: none;
    text-indent: 0;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar .insuranceSection ul a span:last-child {
    text-align: left;
    padding-left: 40px;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar .insuranceSection ul li:last-child a,
#wrapper.wrapper-aircraft-renter-new .right-sidebar .insuranceSection ul li:last-child a:hover {
    border: none;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar .insuranceSection ul a:hover {
    background: #dcdcdc;
}

#wrapper.wrapper-aircraft-renter-new .right-sidebar .insuranceSection ul img {
    height: 40px;
    width: 64px;
}

#wrapper.wrapper-aircraft-renter-new .bread-crumbs {
    padding-top: 10px;
}

#wrapper.wrapper-aircraft-renter-new .bread-crumbs,
#wrapper.wrapper-aircraft-renter-new .bread-crumbs a {
    color: #000;
    font-size: 15px;
    font-weight: 600;
}

#wrapper.wrapper-aircraft-renter-new h1 {
    color: var(--color-primary);
    font-size: 40px;
    font-weight: 600;
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article,
#wrapper.wrapper-aircraft-renter-new .article-wrap article .entry-header {
    border: none;
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article ul,
#wrapper.wrapper-aircraft-renter-new .article-wrap article ol {
    padding-inline-start: 20px;
}

/* flat lists for the aircraft renter's page */
.page-id-28 #wrapper.wrapper-aircraft-renter-new .article-wrap article ul ul {
    padding: 0;
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article h3 {
    color: var(--color-primary);
    font-size: 18px;
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article p,
#wrapper.wrapper-aircraft-renter-new .article-wrap article li {
    color: #000;
    font-size: 13px;
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article .large-font-link {
    font-size: 14px;
    font-weight: 600;
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article .youtube-wrapper {
    width: 280px;
    float: none;
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article .youtube-wrapper .youtube-desktop {
    display: none;
}

@media only screen and (min-width: 475px) {
    #wrapper.wrapper-aircraft-renter-new .article-wrap article .youtube-wrapper {
        width: 427px;
        float: right;
    }

    #wrapper.wrapper-aircraft-renter-new .article-wrap article .youtube-wrapper .youtube-mobile {
        display: none;
    }
    
    #wrapper.wrapper-aircraft-renter-new .article-wrap article .youtube-wrapper .youtube-desktop {
        display: block;
    }
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article .youtube-wrapper p {
    margin: 0;
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article .youtube-description {
    background-color: #F2F3F5;
    font-size: 12px;
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article .youtube-description a {
    color: #666;
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article .youtube-title {
    color: #000;
    font-weight: 600;
    font-size: 15px;
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article .qa_toggle {
    color: var(--color-primary);
    margin-left: 15px;
    text-decoration: underline;
    cursor: pointer;
}

#wrapper.wrapper-aircraft-renter-new .article-wrap article .qa_answer {
    display: none;
}

#main h2.bwi-h2 {
    line-height: 24px; 
}

.tsItem {
    height: 72px;
    overflow: hidden;
    width: 100%;
    background: #ffffff;
    font: 12px/14px Arial, Helvetica, Sans-Serif;
    color: #494949;
    margin: 0 0 9px 0;
}

.tsiLeft {
    float: left;
    width: 25%;
}

.tsiLeft img {
    max-width: 100%;
    height: 72px;
    width: 108px;
}

.tsiRight {
    height: 72px;
    width: 65%;
    float: left;
    margin: 0 5px;
}

.tsiRight p {
    margin: 0px;
}

.tsiRight h3 {
    display: inline;
    font: 14px/15px Arial, Helvetica, Sans-Serif;
    color: #8b8b8b;
    padding: 5px 0 0 0;
}

.tsiRight span {
    color: #1BA1D3;
    font: 10px/12px Arial, Helvetica, Sans-Serif;
    display: block
}

/** link-list widget */

.link-list-widget {
    border-bottom: 4px solid var(--color-primary);
}

.link-list-widget details {
    padding: 1em;
}

.link-list-widget summary {
    margin-bottom: 1em;
    list-style: none;
}

.link-list-widget summary::-webkit-details-marker {
    display: none; 
}

@media (min-width: 768px) {
    .link-list-widget.home-page  .insuranceSection ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1em;
    }
}

.link-list-widget {
    border-radius: 4px;
    background-color: #fff;
    background-clip: border-box;
    box-shadow: 8px 8px 48px 0px rgb(0 0 0 / 9%);
}


.link-list-widget h2.bwi-h2 {
    text-align: center;
    background-color: transparent;
    padding: 10px;
    font-size: 18px;
    line-height: 1.2em;
    font-weight: 400;
    color: #494949;
    text-transform: uppercase;
    border-bottom: 1px solid #ccc;
}

.link-list-widget.home-page h2.bwi-h2 {
    font-size: 22px;
}


.insuranceSection ul {
    list-style: none;
    width: 100%;
    padding: 0px;
    font: 12px Arial, Helvetica, Sans-Serif;
}

.insuranceSection li {
    padding: 0px;
    width: 100%;
}

.insuranceSection a {
    display: block;
    padding: 12px 0 13px;
    width: 100%;
    color: #494949;
    text-indent: 10px;
    font-size: 16px;
    line-height: 16px;
    border-bottom: 1px solid #ccc;
}

.insuranceSection a::before {
    content: '\27A4';
    margin-right: 5px;
}

.new-template .insuranceSection a::before {
    content: '';
}

.insuranceSection a:hover {
    color: #1d97c4;
    border-bottom: 1px solid #1d97c4;
}


#policySection {
    background: #dddddd;
    width: 100%;
}

#policySection h2 {
    padding: 10px 0 3px 0;
    text-align: center;
    font: 18px/15px Arial, Helvetica, Sans-Serif;
    text-transform: uppercase;
}

#policySection ul {
    list-style: none;
    width: 100%;
    padding: 0 0 0 0;
    font: 12px Arial, Helvetica, Sans-Serif;
}

#policySection li {
    padding: 0px;
    width: 100%;
}

#policySection a {
    display: block;
    padding: 5px 0;
    width: 100%;
    color: #494949;
    background: #dddddd url('images/plus-icon-grey.gif') 6px 4px no-repeat;
    border-bottom: 1px solid #c2c2c4;
    text-indent: 30px;
}

#policySection a:hover {
    color: #ffffff;
    background: #1aa1d3 url('images/plus-icon-blue.gif') 6px 4px no-repeat;
    border-bottom: 1px solid #1d97c4;
}


.boxYears {float:right; margin-top: 4px; width:231px; height:72px; background:#6cc8f5; color:#ffffff; font:18px/15px Arial, Helvetica, Sans-Serif;}
.byYear {display:inline-block; vertical-align:top; margin:8px 0 0 10px; padding:5px; background:#147ba1; border-radius:50%; text-align:center; font:48px/48px Arial, Helvetica, Sans-Serif;}
.byTag {display:inline-block; width:120px; text-align:left; vertical-align:top; margin:13px 0 0 7px; text-transform:uppercase; font:20px/25px Arial, Helvetica, Sans-Serif;}

/** override the sticky header */
body.header-not-sticky #top {
    margin: 0;
}

/** default, sticky header */
html #top {
    margin-top: 36px;
    border-bottom: none;
}

@media(min-width: 767px) {
    html #top {
        margin-top: 100px;
    }
}

html #top #branding {
    border-color: var(--color-primary);
	background-image: none;
    background-color: var(--color-primary);
    border-bottom: 0px;
}

.quick-quote-header {
    background-color: var(--color-primary);
}

.quick-quote-header .content {
    max-width:480px;
    margin: auto;
}

@media(min-width: 767px) {
    .quick-quote-header .content {
        max-width:728px;
    }
}

@media(min-width: 992px) {
    .quick-quote-header .content {
        max-width: 1200px;
    }
}

html #access .access-inner {
    background-color: #fff;
}

html #access li a {
    background-image: none;
    color: #464646;
    font-size: 16px;
    line-height: 16px;
}

html #access li a:hover {
    color: var(--color-primary);
}


/** Tablet/Desktop header overrides */
@media(min-width: 767px) {
    html #access .access-content ul#primary-menu{
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-end;
        float: none;
    }  

    html #access .access-content ul li {
        position: relative;
        transition: all 0.5s ease;
        float: none;
    }

    html #access .access-content ul li.menu-logo {
        display: none;
        margin-right: auto;
        margin-left:10px;
        text-indent: -9999px; 
        background-image: url(https://bwifly.com/wp-content/uploads/2022/06/logo-bwi-fly-header.png);
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        width: 96px;
    }

    html #access .access-content ul li.current-menu-item a {
        color: var(--color-primary);
    }

    html #access .access-content ul li.menu-logo:after {
        display: none;
    }

    html #access .access-content ul li:after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        height: 2px;
        width: 0;
        transition: 0.3s;
      }
  
    html #access .access-content ul li:not(:hover):after {
        right: auto;
        left: 0;
    }
    html #access .access-content ul li.current-menu-item:hover:after {
        width: 0;
    }

    html #access .access-content ul li:hover:after {
        background-color: var(--color-primary);
        width: 100%;
    }

    html #access .access-content ul li a {
        padding: 24px 20px;
    }

    html #access .access-content ul li a:hover {
        background-color: transparent;
    }
}

/** Desktop header overrides */
@media(min-width: 1040px) {
    html #access .access-content ul li.menu-logo {
        display: list-item;
    }
}

html #branding #header_content {
	padding: 35px 0px 0px 0px;
	position: relative;
}

.vsItem {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;

	margin-bottom: 15px;
}

.vsItem iframe, .vsItem object, .vsItem embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

/* home page blog and testimonials */
#tmls_widget-2 h3 {
	margin-bottom:0;
}

#recent-posts-widget-with-thumbnails-3 h3 {
	padding: 10px;
    background-color: #3b4044;
    font: 18px/15px Arial,Helvetica,Sans-Serif;
    color: #fff;
    text-transform: uppercase;
}

#recent-posts-widget-with-thumbnails-3 ul li {
	background-color: #fff;
    padding: 5px 0;
    margin: 25px 0 0 0 !important;
	min-height:100px;
}

#recent-posts-widget-with-thumbnails-3 ul li a {
	color:var(--color-primary);
	font-weight:600;
	border:none !important;
}

#recent-posts-widget-with-thumbnails-3 ul li .rpwwt-post-date {
	margin-bottom:5px;	
}

@media only screen and (min-width: 996px) {
	#recent-posts-widget-with-thumbnails-3 {
		float:left;
		width:47.5%;
		clear:none;
	}
	#tmls_widget-2 {
		float:left;
		width:47.5%;
		margin-left:5%;
		clear:none;
	}
}



/*Override this is janky {mru}*/

.home .featured-element-1 .grid_tenth_7 {
	width: 71.9%
}

.home .featured-element-1 .grid_tenth_3 {
	width: 26.0%
}

html .element .element-slider .element-slider-standard {
	padding: 0;

}

html .featured-element-1 .grid_tenth_7 .element {
	padding: 0;
}

html .element .element-slider-standard .element-inner {
	padding: 0;
	border: none;

}

.custom-layout-testimonials-page #content {
	background: #fff;
}

.custom-layout-testimonials-page .main-content {
	padding: 1rem;
}

html .home .element-columns .element-inner {
    background-color: #F3F3F3;
}

div.featured-element-1 > div.element-inner {
    background-color: #FFF !important;
}

.featured-element-1 {
    padding: 0px;
}

.featured-element-2 {
    padding-top: 0px;
}

#bottom { 
    background-color: var(--color-primary);
}
/*end override */
html .bwi-home-content h3 span:before,
html .bwi-home-content h3 span:after {
	content: " ";
	display: table;
}
html .bwi-home-content h3 span {
	float: right;
	display: inline-block;
}
html .bwi-home-content h3 .btn {
	padding: 1px 12px;
	font-size: 12px;
	margin-top: -3px;
}
html .bwi-home-content h3 span:after {
	clear: both;
}

html .menu_center #access ul {
	left: 47.5%;
}

html .home .bwi-quick-quote {
	margin-left: 10px;
}

.row-sm-padding {
    margin-left: -5px;
    margin-right: -5px;
}

.row-sm-padding > [class*="col-"] {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/** override sticky header */
body.header-not-sticky #topcontainer {
    position: relative;
}

/** default: sticky header */
#topcontainer {
    width: 100%;
    position: fixed;
    z-index: 5;
}

#topcontainer .nav-background-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

#topcontainer .nav-background-fill .top-nav-gray {
    height: 36px;
    line-height: 36px;    
}

#topcontainer .nav-background-fill .top-nav-white {
    display: none;
}

@media(min-width: 767px) {
    #topcontainer .nav-background-fill .top-nav-white {
        display: block;
        height: 64px;
        background-color: #fff;  
    }
}


#topcontainer .top-nav-wrapper {
    display: grid;
    grid-template-columns: 1fr 36px;
    align-items: center;
    justify-content: space-between;
}

@media(min-width: 767px) {
    #topcontainer .top-nav-wrapper {
        grid-template-columns: .75fr 1.25fr;
    }
}

@media(min-width: 1280px) {
    #topcontainer .top-nav-wrapper {
        width: 1200px;
        margin:auto;
    }
}

#topbarLeft,
#topbarSection, 
#menu-option-container .menu-wrapper, 
.top-nav-gray {
    background: #3b4044;
    line-height: 36px;
}

.top-nav-announcement {
    background: rgb(45,95,203);
    background: linear-gradient(45deg, rgba(45,95,203,1) 0%, rgba(18,148,208,1) 22%, rgba(138,109,176,1) 50%, rgba(216,35,42,1) 100%);
    line-height: 36px;
}

#topbarLeft {
    font-size: 14px;
    padding-left: 10px;    
}

#topbarLeft a,
#topbarLeft a:hover,
#topbarLeft a:visited,
#topbarLeft span {
    color: #dddddd;
}

#topbarSection {
    display: flex;
    justify-content: right;
    padding-right: 10px;
    overflow: hidden;
}

#topbarSection ul {
    list-style: none;
    font: 10px/15px Arial, Helvetica, Sans-Serif;
    color: #dddddd;
    text-transform: uppercase;
    margin-bottom: 0;
}

#topbarSection a {
    color: #dddddd;
}

#topbarSection li {
    float: left;
    padding: 0 5px 0 5px;
}

#menu-option-container {
    position: absolute;
    top: 0;
    right: 0;
}

@media(min-width: 767px) {
    #menu-option-container {
        position: unset;
        grid-column: 1 / span 2;
        right: unset;
        top: unset;
    }
}

#menu-option-container .mobile-access-container {
    text-align: right;
    height: 36px;
}

@media(min-width: 767px) {
    #menu-option-container .mobile-access-container  {
        display: none;
    }
}

#menu-option-container .menu-wrapper {
    display: flex;
    flex-flow: column nowrap;
    justify-content: right;
    margin-top: 0;
}

#menu-option-container .menu-wrapper .btn-navbar {
    background: transparent;
    color: #fff;
    padding: 0 10px;
}

/** 
 * footer 
 * see theme.css for container width definition
 */
.footercontainer {    
    background-image:linear-gradient(90deg, #3d3c3c 0%, #464646 100%);
}

.footercontainer .footer-inner-container {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.footercontainer .footer-logo {
    text-align: center;
}

.footercontainer .footer-social {
    margin: 20px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.footercontainer .footer-social li {
    height: 32px;
    width: 32px;
    margin: 0 16px;
}

.footercontainer .footer-social li a svg {
    fill: #fff;
    height: 100%;
    width: 100%;
}

.footercontainer .footer-social li a:hover svg {
    fill: var(--color-primary);
}

.footercontainer .footer-bottom {
    background-color: #464646;
    font-size: 14px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    padding: 60px 40px;
    color: #A6A5A5;
    width: 100%;
}

@media(min-width: 767px) {
    .footercontainer .footer-bottom {
        flex-flow: row nowrap;
    }
}

.footercontainer .footer-bottom > div {    
    padding: 20px 0;
    border-bottom: 1px solid #A6A5A5;
}

.footercontainer .footer-bottom > div:nth-child(3) {
    border: 0;
}

@media(min-width: 767px) {
    .footercontainer .footer-bottom > div {
        flex: 1 1 33%;
        flex-flow: row nowrap;
        padding: 0 40px;
        border-bottom: 0;
        border-right: 1px solid #A6A5A5;
    }
}

.footercontainer .footer-bottom > div .footer-item-header {
    font-size: 16px;
    font-weight: 600;
}

.footercontainer .footer-bottom > div a {
    color: #A6A5A5;
}

.footercontainer .copyright {
    margin-top: 20px;
}

.footercontainer .privacy-policy a {
    color: #A6A5A5;
}

/** end footer */

/** new styles, 2022, BWI Card */

ul.bwi-card-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-flow: column nowrap;
    text-align: center;
    justify-content: space-between;
}

.bwi-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 10px 0 0;
}

.bwi-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

a.bwi-card-anchor,
a.bwi-card-anchor:hover,
a.bwi-card-anchor:active,
a.bwi-card-anchor:focus {
    display: block;
    position: relative;
    text-transform: uppercase;
    font-size: 14px;
    background: transparent;
    color: #3d3c3c;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
}

.bwi-card-anchor .bwi-card-anchor-action .arrow {
    content: '';
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    background-color: var(--color-primary);
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 15px 5px 5px 15px;
    font-size: 12px;
    margin: auto;
}

.bwi-card-anchor .bwi-card-anchor-action {
    display: block;
    padding: 8px 0;
}

.bwi-card-anchor .bwi-card-anchor-action:hover {
    color: var(--color-primary);
}

@media(min-width: 767px) {
    ul.bwi-card-list {
        flex-flow: row wrap;
    }
}
/** end card styles */

/** 
 * Home page layout overrides
 * Not sure what to do about this, the theme seems
 * to need the template to come from the templates
 * that are created in the admin dashboard
 */
body.home #branding {
    display: none;
}

body.home #featured {
    background: #f3f3f3;
}

body.home.layout_stretch #featured .featured-inner {
    padding: 0;
}

body.home #featured .featured-content {
    width: 100%;
}

body.home.layout_stretch #featured .featured-content {
    max-width: 100%;
}

body.home #featured .featured-content-home {
    margin: 0 auto;
    width: 100%;
}

html body.home .element-columns.bwi-home-hero .element-inner {
    padding: 0;
}

body.home #home-hero {
    margin: 0 auto;
    width: 100%;
    background: linear-gradient(180deg, #0053ee, #0b4770 62%, #002466);
    height: calc(120vh - 36px);     /** account for the header  */
    overflow: hidden;
}

body.home #home-hero .featured-content-home {
    display: flex;
    flex-flow: column nowrap;
    height: 100%;
    align-content: center;
    justify-content: space-between;
    color: #fff;
}

body.home #home-hero .featured-content-home .hero-content {
    flex: 1;
    margin: auto 0;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

body.home #home-hero .featured-content-home .hero-content h1 {
    text-align: center;
}

body.home #home-hero .featured-content-home .hero-matt {
    padding-top: 20px;
}

body.home #home-hero .featured-content-home .hero-matt img {
    width: 100%;
    height: 100%;    
    object-fit:contain;
}

@media (min-width: 500px) {
    body.home #home-hero  {
        height: calc(120vh - 100px);     /** account for the header  */ 
    }

    body.home #home-hero .featured-content-home .hero-content h1 {
        text-align: left;
    }

    body.home #featured .featured-content-home {
        flex-flow: row nowrap;     
    }

    body.home #home-hero .featured-content-home .hero-content {
        margin: 0;
        padding: 10px;
        align-items: flex-start;        
    }

    body.home #home-hero .featured-content-home .hero-matt {
        max-width: 33%;
    }
}

@media (min-width: 767px) and (orientation: portrait) {
    body.home #home-hero  {
        height: calc(60vh - 100px);     /** account for the header  */ 
    }

    body.home #featured .featured-content-home {
        flex-flow: row nowrap;      
    }
}


@media (min-width: 1280px) {

    body.home #home-hero  {
        height: calc(80vh - 100px);     /** account for the header  */ 
    }

    body.home #featured .featured-content-home {
        flex-flow: row nowrap;
        max-width: 1200px;        
    }
}



/** end homepage layout overrides */

/** home page */

body.home #home-hero {

    .hero-content {
        max-width: 500px;
        
        .hero-logo {
            width: 154px;
            height: 74px;
        }
    }

    h1 {
        font-size: 3.35rem;
        font-weight: 400;
        margin: 1.5rem 0;
        letter-spacing: 1.75px;
    }

    h2 {
        font-size: 1.25rem;
        font-weight: 400;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .hero-links {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: start;
        gap: 1rem;
        margin-top: 3rem;

        .hero-link {            
            text-transform: uppercase;
            font-weight: 600;

            a {
                color: #fff;
                letter-spacing: 1.25px;

                &:after {
                    content: '→';
                    margin-left: 10px;
                }
            }
        }

        .md-btn {
            font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-weight: 600;
            letter-spacing: 1.05px;
            font-size: 14px;
            display: inline-block;
            height: 36px;
            min-width: 88px;
            padding: 6px 16px;
            line-height: 1.42857143;
            text-align: center;
            white-space: nowrap;
            vertical-align: middle;
            -ms-touch-action: manipulation;
            touch-action: manipulation;
            cursor: pointer;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            border:0;
            border-radius: 2px;
            background: #ffc107;
            color:#000;
            outline:0;
            &:focus {
              background: darken(#ffc107, 12%)  
            }
          }
          
          .md-btn-raised {
            box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 
                        0 1px 5px 0 rgba(0, 0, 0, 0.12), 
                        0 3px 1px -2px rgba(0, 0, 0, 0.2);
            transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            
            &:active {
                box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
                            0 3px 14px 2px rgba(0, 0, 0, 0.12),
                            0 5px 5px -3px rgba(0, 0, 0, 0.4);
            }
          }
          
          .md-btn-ripple {
            overflow: hidden;
            position: relative;
          }
          
          .md-btn-ripple:after {
            content: '';
            display: block;
            position: absolute;
            left: 50%;
            top: 50%;
            width: 120px;
            height: 120px;
            margin-left: -60px;
            margin-top: -60px;
            background: rgba(255,255,255,0.3);
            border-radius: 100%;
            transform: scale(0);
          }
          
          @keyframes md-btn-ripple {
            0% {
              transform: scale(0);
            }
            20% {
              transform: scale(1);
            }
            100% {
              opacity: 0;
              transform: scale(1);
            }
          }
          
          .md-btn-ripple:not(:active):after {
            animation: md-btn-ripple 0.6s ease-out;
          }
          
          .md-btn-ripple:after {
            visibility: hidden;
          }
          
          .md-btn-ripple:focus:after,
          .md-btn-ripple:active:after {
            visibility: visible;
          }
    }
}


body.home .youtube-feature,
body.home .youtube-feature iframe {
    margin: auto;    
    aspect-ratio: 16/9;
    width: 100%;
}

@media(min-width: 767px) {
    body.home .youtube-feature,
    body.home .youtube-feature iframe {
        width: 500px;
    }
}

@media(min-width: 1200px) {
    body.home .youtube-feature,
    body.home .youtube-feature iframe {
        width: 1200px;
    }
}

.home-description {
    margin: 50px auto;
    text-align: center;
}

@media(min-width: 767px) {
    .home-description {
        max-width: 500px;
    }
}

.home-description h3 {
    font-size: 24px;
}

.home-panels {
    --min: 300px;
    --gap: 1rem;

    display: grid;
    grid-gap: var(--gap);
    /* min() with 100% prevents overflow in extra narrow spaces */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min)), 1fr));
}

.home-panels .home-panel {
    position: relative;
}

.home-panels .home-panel img {
    height: 100%;
    width: 100%;
}

.home-panels .home-panel :hover img,
.home-panels .home-panel.is-hover img {
    transform: scale(1.025);
}

.home-panels .home-panel div.panel-text {
    position: absolute;
    top: 40px;
    left: 20px;
    right: 20px;
    text-align: center;
}

.home-panels .home-panel div.panel-text div.panel-header {
    font-size: 24px;
}

.home-panels .home-panel div.panel-text div.panel-subheader {
    font-size: 18px;
    text-transform: uppercase;
}

.home-panels .home-panel div.panel-text a,
.home-panels .home-panel div.panel-text a:hover {
    color: #fff
}

.home-states {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
    justify-content: center;

    .state {
        width: 100%;        
        a {
            display: flex;
            flex-flow: row nowrap;
            align-items: center;
            justify-content: center;
            gap: 0.25rem;
            color: #0055ED;
            background-color: #fff;
            padding: 0.5rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
            &:hover, &:focus, &:active {
                color: #0055ED;
            }
            .state-img-container {
                height: 50px;
                padding: 3px;
                img {
                    max-height: 100%;
                }
            }
        }      

    }
}

@media(min-width: 1200px) {
    .home-states {
        flex-direction: row;
        .state {
            width: unset;
        }
    }
}


/** Blog */

.widget.recent-posts-widget-with-thumbnails h3 {
    background-color: transparent;
    color: #666;
    text-transform: none;
}

.widget.recent-posts-widget-with-thumbnails .rpwwt-widget ul {
    display: grid;
    gap: 1.5rem;
}

.widget.recent-posts-widget-with-thumbnails .rpwwt-widget ul li {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 20px;
    cursor: pointer;
}

.widget.recent-posts-widget-with-thumbnails .rpwwt-widget ul li:hover {
    background-color: #fafafa;
}

.widget.recent-posts-widget-with-thumbnails .rpwwt-widget ul li a {
    border-bottom: none;
}

.widget.recent-posts-widget-with-thumbnails .rpwwt-widget ul li .rpwwt-post-title {
    text-transform: uppercase;
    font-size: 1.2rem;
}

.widget.recent-posts-widget-with-thumbnails .rpwwt-widget ul li .rpwwt-post-date {
    color: var(--color-primary);
    margin: 0.5rem 0;
}

.widget.recent-posts-widget-with-thumbnails .rpwwt-widget ul li .rpwwt-post-excerpt, 
.widget.recent-posts-widget-with-thumbnails .rpwwt-widget ul li .rpwwt-post-excerpt-more {
    font-size: 0.8rem;
}


/** end blog */

/** end home page */


/** Aviation page specific page */

.bwi-aviation-insurance-page .bwi-card {
    margin: 10px;
    max-width: 350px;
}

.bwi-aviation-insurance-page .bwi-card p {
    display: none;
}

.bwi-aviation-insurance-page .card-list-header {
    font-weight: 200;
    color: var(--color-primary);
    font-size: 42px;
    text-align: center
}

/** */

.tmls_item {
    background-color: white;
    border: 0px !important;
    padding-top: 0px !important;
}

.tmls_name {
    background-color: white;
    min-height: 25px;
}

.needHelpBar {
    background-color: #3b4044;
}

.control-label, .checkbox-label {
    font-size: 15px;
}

/* drones page */
.qdq-container {
    background-color: #147BA1;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 20px;
    color: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial,sans-serif;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 10px 0 20px;
}

.qdq-header {
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 0;
    line-height: 1.1;
    margin-bottom: 10px;
    font-size: 24px;
}

.qdq-text {
    font-size: 16px;
    letter-spacing: 2px;
    margin: 16px 0;
    font-weight: 200;
}

.qdq-btn {
    background-color: #F57623;
    border-radius: 4px;
    padding: 8px 30px;
    margin: 10px 0;
    display: inline-block;
    font-size: 22px;
    font-family: "Helvetica Neue", Helvetica, Arial,sans-serif;
    color: #fff;
}

.qdq-btn:hover {
    color: #eee;
}

.qdq-phone {
    font-size: 25px;
    letter-spacing: 1px;
    font-weight: 300;
    margin: 0;
}

.qdq-image {
    width: 400px;
    height: 230px;
    position: relative;
    overflow: hidden;
}

.drones .widget.widget_bwi_quickquote {
    display: none;
}

.drones .article-wrap h2, h3 {
    margin: 20px 0;
}

.drones .article-wrap {
    margin-top: 10px;
}

.drones .article-wrap article {
    padding: 20px 0;
}

.drones .entry-header {
    border-bottom: none;
    padding: 0 30px;
}

.drones .entry-content {
    padding: 0 30px;
}

.drone-divider {
    width: calc(100% + 60px);
    background: #f3f3f3;
    margin: 0 -30px;
}

.drone-divider-top {
    height: 20px;
    border-radius: 0 0 4px 4px;
    background: #fff;
    width: 100%;
}

.drone-divider-bottom {
    margin-top: 30px;
    height: 20px;
    border-radius: 4px 4px 0 0;
    background: #fff;
    width: 100%;
}

@media only screen and (min-width: 782px) and (max-width: 992px) {
	html .menu_center #access ul {
		left: 61.5%;
	}
}

@media only screen and (min-width: 782px) and (max-width: 996px) {
	.boxYears {
		display: none;
	}

	.home .featured-element-1 .grid_tenth_7,
	.home .featured-element-1 .grid_tenth_3.last {
		width: auto;
		float: none;
	}

	html .element .element-slider .element-slider-standard {
		padding: 0;
	}

	html .home .quoteSection {
		width: 100%;
		background: #eee;
		margin: 0;
	}

	html .otherQuotes p {
		width: 90%;
	}

	html .otherQuotes button {
		display: block;
		width: 90%;
		margin: 5px auto;
	}

	html .otherQuotes button:first-of-type {
		margin: 5px auto;
	}


}

@media screen and (max-width: 782px) {
    .boxYears {
        display: none;
    }
    #branding .header_logo .tb-image-logo img {
        float: none;
        display: inline;
    }

		html .home .quoteSection {
			width: 100%;
			background: #eee;
			margin: 0;

		}

		html .home .featured-element-1 .grid_tenth_7,
		html .home .featured-element-1 .grid_tenth_3.last {
			width: auto;
			float: none;
		}

		html .element .element-slider .element-slider-standard {
			padding: 0;

		}

}

@media(max-width: 767px) {
    .qdq-container {
        text-align: center;
        justify-content: center;
    }
    .qdq-image {
        display: none;
    }
}

/* drone pages */
.drone-page-hero {
	background-color:#fff;
	width:100%;
}
.drone-page-hero div {
	padding: 0;
}

.drone-page-hero div.background-image-container {
	position:relative;
	margin:auto;
	height:244px;
	width:640px;
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	background-image:url('https://bwifly.com/wp-content/uploads/2020/04/drone-insurance.jpg');
}

.drone-page-hero h1 {
	text-align:center;
	margin-top:-15px;
	line-height:30px;
	position:absolute;
	left:0;
	right:0;
	top:10%	
}

button.drone-insurance-button,
button.content-page-insurance-button {
	padding: 9px 24px;
    text-align: center;
    background: #147ba1;
    color: #fff;
	display: block;
    margin: 20px auto;
	min-width: 200px;
}

div.breakout-page-quote {
	display: flex;
}

button.breakout-page-quote-button {
	padding: 9px 15px;
    text-align: center;
    background: #147ba1;
    color: #fff;
	display: block;
    margin: 20px auto;
	flex: 0 1;
}

button.breakout-page-quote-button a,
button.breakout-page-quote-button a:hover {
	color: #fff;
	text-decoration: none;
}


h1 span.taxonomy-count {
    font-size: 0.8rem;
    font-weight: 400;
}