/*
Theme Name: Aviation Trader 2015
Description: Aviation Trader 2015
Author: NTech Media
Author URI: http://ntechmedia.com


        Base Theme Name: HTML5 Blank
        Base Theme URI: http://html5blank.com
        Base Description: HTML5 Blank WordPress Theme
        Base Version: 1.4.2
        Base Author: Todd Motto (@toddmotto)
        Base Author URI: http://toddmotto.com
        Base Tags: Blank, HTML5, CSS3
        
        Base License: MIT
        Base License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-font-smoothing:antialiased;
    font-smoothing:antialiased;
    /* Disabling due to issues, and because HTML5 Boilerplate made the same change */
    /* for similar reasons 4 years ago and still hasn't added it back in yet */
    /* https://github.com/h5bp/html5-boilerplate/commit/0d7f8d775ab4ab171c6372f992d506088ca5d3ed */
    /* http://aestheticallyloyal.com/public/optimize-legibility/ */
    /*	text-rendering:optimizeLegibility; */
}
/* html element 62.5% font-size for REM use */
html {
    font-size:62.5%;
}
body {
    /* background: url(img/pwbg1.jpg) no-repeat fixed center center / cover; */
    font: 14px/1.4 Arial, Helvetica, sans-serif;
    color:#000000;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
    max-width:100%;
    vertical-align:bottom;
}
a {
    color:#444;
    text-decoration: none !important;
}
a:hover {
    color:#444;
}
a:focus {
    outline:0;
}
a:hover,
a:active {
    outline:0;
}
input:focus {
    outline:0;
    border:1px solid #042b5f;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
    display: block;
    margin: 0 auto;
    margin-top: 144px;
    position: relative;
    width: 100%;
    max-width: 1220px;
    min-height: calc(100vh - 244px);
}

body.tml-action-login.login .wrapper,
body.tml-action-lostpassword.lostpassword .wrapper {
    margin-top: 75px;
    min-height: calc(100vh - 375px);
}

@media only screen and (max-width: 1500px) {
    .wrapper {
        min-height: calc(100vh - 244px);
    }
}

@media only screen and (max-width: 660px) {
    .wrapper {
        min-height: calc(100vh - 255px);
    }
}

/* header */
.head_wrapper {
    display: block;
    width: 100%;
    margin: 0px auto;
    min-height: 123px;
    background: #042b5f;
    position: fixed;
    z-index: 111;
    top: 0px;
}

#header-top-blue-container {
    display: block;
    width: 100%;
    max-width: 1220px;
    margin: 0px auto;
    position: relative;
    background: #042b5f;
}

.header {
    display: block;
    width: 100%;
    max-width: 1220px;
    min-height: 95px;
    margin: 0px auto;
    position: relative;
}

.logo {
    display: inline-block;
    position: absolute;
    left: 71px;
    top: 45px;
}

.page-template-template-premium header .logo img.logo-img.premium,
.page-template-template-premium-lite header .logo img.logo-img.premium {
    display: inline-block !important;
}

#header-nav-container {
    height: 30px;
    background: #efd500;
    border-bottom: 5px solid #ced1e1;
}

/* nav */
.nav {
    display: block;
    width: 100%;
    max-width: 1120px;
    min-height: 29px;
    margin: 0px auto;
    vertical-align: top;
}

.nav ul {
    float: right;
    display: table;
    max-width: 1120px;
    margin: 0px;
    padding: 0px;
    height: 29px;
}

.nav li {
    display: table-cell;
    position: relative;
    line-height: 29px;
}

.nav li a {
    display: inline-block;
    text-align: center;
    height: 32px;
    line-height: 30px;

    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;

    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: -2px;
    orphans: 1;

    padding: 0 10px;

    page-break-after: auto;
    page-break-before: auto;

    text-decoration: none;
    text-transform: uppercase;
    text-indent: 0;
    widows: 1;

    vertical-align: top;
}

.nav li a:hover,
.nav li.current-menu-item a {
    border-bottom: 5px solid #c95b40;
}

.nav ul ul.sub-menu {
    display: none;
    position: absolute;
}

.nav ul li:hover ul.sub-menu {
    display: block;
}

.nav ul ul.sub-menu li {
    display: block;
}

.nav ul ul.sub-menu li a {
    text-align: left;
    padding: 2px 10px;
}

.mobile_nav {
    display: none;
}

.cornerbanner {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#c7c6c6+0,eaeae9+50,98999a+100 */
    background: #c7c6c6; /* Old browsers */
    background: -moz-linear-gradient(left,  #c7c6c6 0%, #eaeae9 50%, #98999a 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#c7c6c6), color-stop(50%,#eaeae9), color-stop(100%,#98999a)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #c7c6c6 0%,#eaeae9 50%,#98999a 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #c7c6c6 0%,#eaeae9 50%,#98999a 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #c7c6c6 0%,#eaeae9 50%,#98999a 100%); /* IE10+ */
    background: linear-gradient(to right,  #c7c6c6 0%,#eaeae9 50%,#98999a 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c7c6c6', endColorstr='#98999a',GradientType=1 ); /* IE6-9 */	
    font-size: 18px;
    color: #000000;
    height: 40px;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    width: 400px;
    transform: rotateZ(45deg);
    position: fixed;
    top: 100px;
    right: -80px;
    box-shadow: 0px 0px 3px rgba(0,0,0,1);
    display: block;
    overflow: hidden;
}

/* main content */
.content_wrap {
    display: table;
    width: 100%;
}

@media only screen and (max-width: 980px) {
    .cornerbanner {
        transform: none;
        width: 100%;
        right: auto;
        top: 120px;
    }

    .wrapper {
        margin-top: 145px;
    }
}

section[role="main"] {
    display: table-cell;
    padding-right: 20px;
    width: calc(100% - 300px);
    vertical-align: top;
}

body.browse-digital-edition section[role="main"] iframe {
    height: calc(100vh - 244px) !important;
    min-height: calc(100vh - 244px) !important;
}

@media only screen and (min-width: 1140px) {
    
    body.browse-digital-edition section[role="main"] {
        width: 920px;
    }
    
    section[role="main"],
    body.single section[role="main"],
    body.pmpro-account section[role="main"],
    body.pmpro-cancel section[role="main"],
    body.search-results section[role="main"],
    body.parent_about-us section[role="main"],
    body.page.employment section[role="main"] {
        width: 820px;
    }
    
    body.lodge-an-advertisement section[role="main"],
    body.parent_lodge-an-advertisement section[role="main"],
    body.listing-alerts.parent_premium-members section[role="main"],
    body.podcasts.parent_premium-members section[role="main"],
    body.products-reviews.parent_premium-members section[role="main"],
    body.events-destinations.parent_premium-members section[role="main"],
    body.submit-event-review.parent_events-destinations section[role="main"],
    body.event.parent_premium-members section[role="main"],
    body.posts-blogs.parent_premium-members section[role="main"],
    body.webinars-training.parent_premium-members section[role="main"],
    body.refined-aircraft-search.parent_premium-members section[role="main"],
    body.ad-management.parent_members-area section[role="main"],
    body.single-post.page-template-template-premium section[role="main"],
    body.single-event.page-template-template-premium section[role="main"] {
        width: 615px;
        padding-right: 0px;
        border-top: 1px solid #042b5f;
    }
    
    body.advertiser-specials.parent_premium-members section[role="main"],
    body.competition-entry-page.parent_premium-members section[role="main"] {
        border-top: 1px solid #042b5f;
    }
    
    body.listing-alerts.parent_premium-members section[role="main"],
    body.podcasts.parent_premium-members section[role="main"],
    body.products-reviews.parent_premium-members section[role="main"],
    body.events-destinations.parent_premium-members section[role="main"],
    body.submit-event-review.parent_events-destinations section[role="main"],
    body.event.parent_premium-members section[role="main"],
    body.posts-blogs.parent_premium-members section[role="main"],
    body.webinars-training.parent_premium-members section[role="main"],
    body.refined-aircraft-search.parent_premium-members section[role="main"],
    body.browse-digital-edition.parent_premium-members section[role="main"],
    body.advertiser-specials.parent_premium-members section[role="main"],
    body.competition-entry-page.parent_premium-members section[role="main"],
    body.single-post.page-template-template-premium section[role="main"],
    body.single-event.page-template-template-premium section[role="main"] {
        padding-left: 20px;
    }
}

/* 1139px and down */
@media only screen and (max-width: 1139px) {
    
    body.browse-digital-edition section[role="main"] {
        width: 920px; /* 920px @ 1140px */
    }
    
    section[role="main"],
    body.single section[role="main"],
    body.pmpro-account section[role="main"],
    body.pmpro-cancel section[role="main"],
    body.search-results section[role="main"],
    body.parent_about-us section[role="main"],
    body.page.employment section[role="main"] {
        width: 695px; /* 820px @ 1140px */
    }
    
    body.lodge-an-advertisement section[role="main"],
    body.parent_lodge-an-advertisement section[role="main"],
    body.listing-alerts.parent_premium-members section[role="main"],
    body.podcasts.parent_premium-members section[role="main"],
    body.products-reviews.parent_premium-members section[role="main"],
    body.events-destinations.parent_premium-members section[role="main"],
    body.submit-event-review.parent_events-destinations section[role="main"],
    body.event.parent_premium-members section[role="main"],
    body.posts-blogs.parent_premium-members section[role="main"],
    body.webinars-training.parent_premium-members section[role="main"],
    body.refined-aircraft-search.parent_premium-members section[role="main"],
    body.ad-management.parent_members-area section[role="main"],
    body.single-post.page-template-template-premium section[role="main"],
    body.single-event.page-template-template-premium section[role="main"] {
        width: 490px; /* 615px @ 1140px */
        padding-right: 20px;
        border-top: 1px solid #042b5f;
    }
    
    .page-template-template-premium-lite.ad-management.parent_members-area .sidebar-standard, 
    .page-template-template-premium-lite.lodge-an-advertisement .sidebar-standard, 
    .page-template-template-premium-lite.parent_lodge-an-advertisement .sidebar-standard, 
    .page-template-template-premium.listing-alerts .sidebar-standard, 
    .page-template-template-premium.podcasts .sidebar-standard, 
    .page-template-template-premium.products-reviews .sidebar-standard, 
    .page-template-template-premium.events-destinations .sidebar-standard, 
    .page-template-template-premium.submit-event-review .sidebar-standard, 
    .page-template-template-premium.event .sidebar-standard, 
    .page-template-template-premium.posts-blogs .sidebar-standard, 
    .page-template-template-premium.webinars-training .sidebar-standard, 
    .page-template-template-premium.refined-aircraft-search .sidebar-standard, 
    .single-post.page-template-template-premium .sidebar-standard, 
    .single-event.page-template-template-premium .sidebar-standard {
        padding-left: 0px !important;
        margin-left: -20px !important;
    }
    
    body.listing-alerts.parent_premium-members section[role="main"],
    body.podcasts.parent_premium-members section[role="main"],
    body.products-reviews.parent_premium-members section[role="main"],
    body.events-destinations.parent_premium-members section[role="main"],
    body.submit-event-review.parent_events-destinations section[role="main"],
    body.event.parent_premium-members section[role="main"],
    body.posts-blogs.parent_premium-members section[role="main"],
    body.webinars-training.parent_premium-members section[role="main"],
    body.refined-aircraft-search.parent_premium-members section[role="main"],
    body.browse-digital-edition.parent_premium-members section[role="main"],
    body.advertiser-specials.parent_premium-members section[role="main"],
    body.competition-entry-page.parent_premium-members section[role="main"],
    body.single-post.page-template-template-premium section[role="main"],
    body.single-event.page-template-template-premium section[role="main"] {
        padding-left: 20px;
        border-top: 1px solid #042b5f;
    }
}

.home section[role="main"] {
    display: inline-block;
    padding-right: 20px;
    width: calc(100% - 300px) !important;
}

/* sidebar */
.sidebar {
    display: table-cell;
    vertical-align: top;
    max-width: 300px;
}

/* footer */
.footer_header {
    color: #000;
    background: #efd500;
    border-top: 5px solid #ced1e1;
    width: 100%;
    text-align: center;
}

.footer_header h2 {
    text-align: center;
    text-transform: uppercase;
    padding: 0;
    
    -epub-hyphens: none;
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.176;
    margin-bottom: 6px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 6px;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-decoration: none;
    text-indent: 0;
    widows: 1;    
}

.footer_wrap {
    float: left;
    color: #fff;
    background: #042b5f;
/*    margin: 200px 0 0 0;*/
    width: 100%;
    padding: 15px 15px 60px 15px;
}

.footer {
    max-width: 1220px;
    width: 100%;
    margin: 0px auto;
}

.footer_categories {
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: table;
    width: 100%;
}

/*
.footercolumn {
    display: table-cell;
    vertical-align: top;
}
*/
.footercolumn {
    display: inline-block;
    vertical-align: top;
    min-width: 12%;
    margin-right: 1%;
    margin-bottom: 2%;
}

.footercolumn h3 {
    -epub-hyphens: none;
    color: #ffffff;
    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.286;
    margin-bottom: 12px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}

.footercolumn a {
    display: block;
    color: #FFFFFF;
    font-size: 11px;
    margin-top: 6px;
}

.copyright {
    float: left;
    border-top: 5px solid #efd500; 
    min-height: 95px;
    line-height: 60px;
    text-align: center;
    color: #FFFFFF;
    width: 100%;
    background: #042b5f;
}

.copyright a {
    color: #FFFFFF;
}

/*------------------------------------*\
    HOME
\*------------------------------------*/

.home .wrapper {
    max-width: 100%;
}

.content_wrap {
    display: block;
    margin: 20px auto 0 auto;
    max-width: 1120px;
}
.home .content_wrap {
    margin: 0 auto;
}

.home_splash {
    height: 100vh;
    background: url(img/bg4.jpg) no-repeat center;
    background-size: cover;
}

.home_dots {
    background: url(img/bg_dots_dark.png);
    height: 100vh;
    position: relative;
}

.home_splash section {
    width: 100%;
    margin: 0px auto;
    vertical-align: middle;
    position: absolute;
    bottom: 110px;
}

.home_splash ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.home_splash ul li {
    display: inline-block;
    vertical-align: top;
    width: 245px;
    height: 53px;
    line-height: 45px;
    border: 4px solid #042b5f;
    margin: 0px 10px;
}

.home_splash ul li a {
    font-size: 20px;
    display: block;
    height: 49px;
}

@media only screen and (max-width: 1075px) {
    .home_splash ul li {
        margin: 10px 10px;
        border: 2px solid #666666;
        line-height: 49px;
    }

    .home_splash ul li a {
        background: #c7c6c6; /* Old browsers */
        background: -moz-linear-gradient(left,  #c7c6c6 0%, #eaeae9 50%, #98999a 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,#c7c6c6), color-stop(50%,#eaeae9), color-stop(100%,#98999a)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(left,  #c7c6c6 0%,#eaeae9 50%,#98999a 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(left,  #c7c6c6 0%,#eaeae9 50%,#98999a 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(left,  #c7c6c6 0%,#eaeae9 50%,#98999a 100%); /* IE10+ */
        background: linear-gradient(to right,  #c7c6c6 0%,#eaeae9 50%,#98999a 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c7c6c6', endColorstr='#98999a',GradientType=1 ); /* IE6-9 */
    }

}

.home_splash article {
    max-width: 1220px;
    width: 100%;
    margin: 0px auto;
    text-align: center;
}

.home_splash h1 {
    text-align: center;
    font-size: 36px;
    font-style: oblique;
    color: rgba(0,0,0,0.3);
    border: none;
    text-transform: none;
    padding: 5px 15px 0px 15px;
    font-weight: normal;
}

@media only screen and (max-width: 480px) {
    .home_splash h1 {
        font-size: 30px;
    }
}

.home_footer {
    position: absolute;
    bottom: 0px;
    text-align: center;
    color: #FFFFFF;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background: rgba(0,0,0,0.3);
    font-size: 12px;
}

.home_footer a {
    color: #FFFFFF;
}

.home_wrapper {
    display: table;
    max-width: 1220px;
    width: 100%;
    margin: 25px auto 40px;
}

.home nav .home_menu {
    max-width: 350px;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

.pagination {
    clear: both;
    padding-top: 15px;
    padding-bottom: 15px;
}

.post_pagination a,
.post_pagination span {
    font-weight: bold;
    border-radius: 36px;
    display: inline-block;
    text-align: center;
    padding: 15px 20px;
    border: 1px solid #fff;
    min-width: 50px;
}

.post_pagination span.disabled {
    border: none;
}

.post_pagination span,
.post_pagination a:hover {
    border: 1px solid #ced1e1;
}

.post_pagination span.dots {
    border: none;
}

.footermenu {
    display: block;
}

.premium_nav,
.about_nav,
.recent_news_nav {
    display: none;
}

.about-us .about_nav,
.parent_about-us .about_nav,
.parent_advertise .about_nav,
.news-template-default.single-news .recent_news_nav {
    display: block;
    margin-right: 25px;
}
.news-template-default.single-news .recent_news_nav {
    margin-right: 0px;
}

.widget_area_2 {
    display: table-cell;
    max-width: 300px;
    padding-right: 0px;
}

.category_menu {
    margin: auto 0px;
    padding: 0px;
    display: table;
    width: 100%;
    /* max-width: 1090px; */
    border-radius: 0px;
    /*	box-shadow: 1px 1px 3px #716c6c;*/
    list-style: none;
    background: #444444;
    border-top: 2px solid #444444;
    border-bottom: 2px solid #444444;
    position: relative;
}

.category_menu li {
    display: table-cell;
    vertical-align: top;
    text-align: center;
}

.category_menu li a {
    display: block;
    height: 30px;
    line-height: 30px;
    color: #efd500;
    font-weight: bold;
    text-transform: uppercase;
}

.category_menu li a:hover {
    color: #FFFFFF;
}

.aircraft_types_list {
    list-style: none;
    padding: 0px;
    margin: 0px;
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
}

.aircraft_types_list a {
    color: #FFFFFF;
    display: table-cell;
    vertical-align: middle;
    height: 69px;
}

.category_nolink {
    display: table-cell;
    vertical-align: middle;
    height: 69px;
}

.aircraft_types_list div {
    display: table;
    width: 100%;
}

.aircraft_types_list a span,
.category_nolink span {
    display: inline-block;
}

.aircraft_types_list li {
    display: inline-block;
    min-width: 240px;
    margin: 5px 1% 5px 0px;
    background: transparent;
    vertical-align: top;
    width: 254px;
    height: 69px;
    background-image: url(img/category-listing-li-bg-content.png);
    position: relative;
}
.aircraft_types_list li.category_button_nolink {
    background-image: url(img/category-listing-li-bg-empty.png);
}

.aircraft_types_list li:nth-child(3n) {
    margin-right: 0px;
}

@media only screen and (min-width: 851px) and (max-width: 1080px) {
    .aircraft_types_list li:nth-child(3n) {
        margin-right: 1%;
    }

    .aircraft_types_list li:nth-child(2n) {
        margin-right: 0px;
    }
}

@media only screen and (max-width: 795px) {
    .aircraft_types_list li:nth-child(3n) {
        margin-right: 1%;
    }

    .aircraft_types_list li:nth-child(2n) {
        margin-right: 0px;
    }
}

@media only screen and (max-width: 535px) {
    .aircraft_types_list li:nth-child(3n) {
        margin-right: 1%;
    }

    .aircraft_types_list li:nth-child(2n) {
        margin-right: 1%;
    }
}

.aircraft_types_list li span.term-name {
    position: absolute;
    top: 12px;
    left: 12px;
    max-width: 180px;
    text-align: left;
    
    color: #042b60;
    font-family: "Work Sans Medium", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;    
}

.aircraft_types_list li.category_button_haslink:hover {
    background-image: url(img/category-listing-li-bg-hover.png);
    color: #fff;
}
.aircraft_types_list li.category_button_haslink:hover span.term-name {
    color: #fff;
}

.aircraft_types_list li span.term-count {
    position: absolute;
    bottom: 0px;
    right: 10px;
    text-align: right;

    color: #042b60;
    font-family: "Work Sans Medium", sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
}
.aircraft_types_list li.category_button_nolink span.term-count {
    /* opacity: 0.5;*/
    color: #fff;
}

.aircraft_types_list li:hover a {
    color: #efd500;
}


/*------------------------------------*\
    Live Workshops
\*------------------------------------*/

.register_alert {
    background: #444444;
    color: #FFFFFF;
    width: 320px;
    padding: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -160px;
    margin-top: -160px;
    cursor: pointer;
    text-align: center;
}

.sidebar .search {
    display: block;
    width: 100%;
    min-height: 45px;
    background: #444;
    line-height: 25px;
    padding: 5px;
}

.sidebar button.search-submit {
    background: #8e8e8a;
    border: 0;
    color: #fff;
}

.sidebar .search .search-category {
    width: 210px;
}

/*------------------------------------*\
        Advanced Search
\*------------------------------------*/

div#ac_srch_conatiner {
    margin: 10px 0;
    padding: 10px 0;
    overflow: hidden;
    border-radius: 15px 0 0 0;
    background: #042b5f;
}

body.search-results div#ac_srch_conatiner {
    margin: 15px 0;
    padding: 0;
}
.search_aircraft {
    display: block;
}

.search_general {
    display: none;
}

.subcat,
.search_aircraft strong,
.search_general strong {
    display: none;
}

.search article {
    clear: both;
}

div#ac_srch_conatiner .search_type,
div#ac_srch_conatiner .search_aircraft,
div#ac_srch_conatiner .search_general,
div#ac_srch_conatiner .search_term,
div#ac_srch_conatiner .search_type div {
    margin: 0px 0px 5px 0px !important;
    text-align: center;
    overflow: hidden;
}
div#ac_srch_conatiner .search-2-fields {
    margin: 0px 0px 0px 0px !important;
    text-align: center;
    overflow: hidden;
}

div#ac_srch_conatiner .search_aircraft.extra-bottom-margin,
div#ac_srch_conatiner .search_term.extra-bottom-margin {
    display: block;
    margin: 0px 0px 10px 0px !important;
}

div#ac_srch_conatiner select,
div#ac_srch_conatiner input {
    background: #ced2e2;
    border: 0px;
    color: #002b64;
    font-size: 13px;
    height: 22px;
    line-height: 22px;
    padding: 0px 0px 0px 2px;
}

div#ac_srch_conatiner .search_aircraft span,
div#ac_srch_conatiner .search_aircraft strong.sub_cat_title,
div#ac_srch_conatiner .search_general span,
div#ac_srch_conatiner .search_aircraft label,
div#ac_srch_conatiner .search_general label,
div#ac_srch_conatiner .search_term label,
div#ac_srch_conatiner .search-2-fields label {
    display: inline-block;

    color: #ced2e2;
    font-family: "Work Sans", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: bold;

    font-variant: normal;
    line-height: 1.2;
    margin-bottom: 3px;
    margin-left: 0;
    margin-right: 10px !important;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
    vertical-align: middle;    
}
div#ac_srch_conatiner .search-2-fields label {
    padding-left: 10px;
}

div#ac_srch_conatiner strong.sub_cat_title {
    display: none !important;
}

div#ac_srch_conatiner .search_aircraft label {
    display: inline-block;
    width: auto;
    margin-right: 5px;
}

div#ac_srch_conatiner .search_aircraft.inline-block {
    display: inline-block;
}
div#ac_srch_conatiner .search_aircraft {
    clear: both;
}
div#ac_srch_conatiner .search_aircraft.clear-right {
    clear: right;
}

div#ac_srch_conatiner .refined-aircraft-search .search-input {
    width: 100%;
    max-width: 300px;
}

div#ac_srch_conatiner .search_submit {
    width: 100%;
    margin:0 auto;
    text-align: center;
}
div#ac_srch_conatiner .search_submit input.search-submit {
    padding: 0px 10px;
    font-family: "Work Sans", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: bold;
    display: inline-block;
    height: 22px;
    position: relative;
    width: 132px;
    background-color: #ced2e2;
    border-bottom-right-radius: 19px;
    border-width: 0px;
}
div#ac_srch_conatiner .search_submit input.search-submit:hover {
    background-color: #c95b40;
}

.align-left {
    float: left;
    margin: 0px 10px 5px 0px;
}
div#ac_srch_conatiner .align-left {
    margin: 0px 10px 0 0px;
}

/* START div#ac_srch_conatiner inside Premium Web overrides */

body.refined-aircraft-search.parent_premium-members div#ac_srch_conatiner {
    background: #ced2e2;
}

body.refined-aircraft-search.parent_premium-members div#ac_srch_conatiner .search_aircraft span, 
body.refined-aircraft-search.parent_premium-members div#ac_srch_conatiner .search_aircraft strong.sub_cat_title, 
body.refined-aircraft-search.parent_premium-members div#ac_srch_conatiner .search_general span, 
body.refined-aircraft-search.parent_premium-members div#ac_srch_conatiner .search_aircraft label, 
body.refined-aircraft-search.parent_premium-members div#ac_srch_conatiner .search_general label, 
body.refined-aircraft-search.parent_premium-members div#ac_srch_conatiner .search_term label, 
body.refined-aircraft-search.parent_premium-members div#ac_srch_conatiner .search-2-fields label {
    color: #042b5f;
}

body.refined-aircraft-search.parent_premium-members div#ac_srch_conatiner select, 
body.refined-aircraft-search.parent_premium-members div#ac_srch_conatiner input {
    background: #eee;
    color: #002b64;
}

body.refined-aircraft-search.parent_premium-members div#ac_srch_conatiner .search_submit input.search-submit {
    background-color: #042b5f;
    color: #fff;
}

body.refined-aircraft-search.parent_premium-members div#ac_srch_conatiner .search_submit input.search-submit:hover {
    background-color: #c95b40;
    color: #042b5f;
}

/* END div#ac_srch_conatiner inside Premium Web overrides */

div.wrapper div.content_wrap section article { padding: 20px 0px; }

body.page-template-template-home div.wrapper div.content_wrap section article, 
body.single div.wrapper div.content_wrap section article,
body.lodge-an-advertisement div.wrapper div.content_wrap section article,
body.ad-management.parent_members-area div.wrapper div.content_wrap section article,
body.parent_lodge-an-advertisement div.wrapper div.content_wrap section article,
body.page-template-default.parent_aircraft div.wrapper div.content_wrap section article,
body.page-template-default.components div.wrapper div.content_wrap section article,
body.page-template-default.education div.wrapper div.content_wrap section article,
body.page-template-default.employment div.wrapper div.content_wrap section article,
body.page-template-default.property div.wrapper div.content_wrap section article,
body.page-template-default.services div.wrapper div.content_wrap section article,
body.page-template-default.supplementary div.wrapper div.content_wrap section article,
body.podcasts.parent_premium-members div.wrapper div.content_wrap section article,
body.listing-alerts.parent_premium-members div.wrapper div.content_wrap section article,
body.advertiser-specials.parent_premium-members div.wrapper div.content_wrap section article,
body.competition-entry-page.parent_premium-members div.wrapper div.content_wrap section article,
body.webinars-training.parent_premium-members div.wrapper div.content_wrap section article,
body.refined-aircraft-search.parent_premium-members div.wrapper div.content_wrap section article,
body.submit-event-review.parent_events-destinations div.wrapper div.content_wrap section article,
body.parent_about-us div.wrapper div.content_wrap section article {
    padding: 0px 0px 20px 0px; 
}


.archive .article-container,
.search-results .article-container {
    clear: both;
    border-top: 1px solid #ced2e2;
    border-bottom: 1px solid #ced2e2;
    position: relative;
}

.archive .article-container a.post-edit-link,
.search-results .article-container a.post-edit-link {
    z-index: 10;
    position: absolute;
    right: 0;
    top: 30px;
}

.archive article,
.search-results article {
    clear: both;
    padding-bottom: 10px;
    position: relative;
    overflow: hidden;
    position: relative;
}

a.view-details-pdf-link { 
    display: block;
    height: 20px;
    margin-top: -20px;
}

.view-details-pdf-button {
    position: absolute;
    right: 0px;
    bottom: 0px;
    margin: 10px 0px;
    background: transparent;
    vertical-align: top;
    width: 134px;
    height: 74px;
    background-image: url(img/category-listing-view-details.png);
    z-index: -1;
}
article.display_pdf .view-details-pdf-button {
    background-image: url(img/category-listing-view-pdf.png);
}

.view-details-pdf-button span.inner-text,
a .view-details-pdf-button span.inner-text {
    position: absolute;
    right: 0;
    bottom: 10px;
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    text-transform: uppercase;
    widows: 1;
    
    display: block;
    width: 100%;
    padding-left: 60px;
}
.archive article:hover .view-details-pdf-button,
.search-results article:hover .view-details-pdf-button {
    background-image: url(img/category-listing-view-hover.png);
}
.archive article:hover .view-details-pdf-button span.inner-text,
.search-results article:hover .view-details-pdf-button span.inner-text {
    color: #fff !important;
}

article.display_pdf {
/*    background: rgba(248, 235, 44, 0.1);*/
}

.archive article .moretag {
    display: none;
}

#menu-members-area-navigation .menu-item-create-new {
    display: none;
}

.ad-management #menu-members-area-navigation .menu-item-create-new,
.lodge-an-advertisement #menu-members-area-navigation .menu-item-create-new,
.parent_lodge-an-advertisement #menu-members-area-navigation .menu-item-create-new {
    display: block;
}

.lodge-an-advertisement #menu-members-area-navigation .menu-item-create-new a[href^="#"],
.parent_lodge-an-advertisement #menu-members-area-navigation .menu-item-create-new a[href^="#"]{
/*    display: none;*/
}

.ad-management #menu-members-area-navigation .menu-item-create-new:hover > a {
    color: inherit;
    background: inherit;
    cursor: default;
}

.ad-management #menu-members-area-navigation .menu-item-create-new .sub-menu {
    margin: 0px;
    padding-left: 10px;
}

/*------------------------------------*\
    START    Premium Web Area  << this is the "old" NTech CSS
    START    Premium Web Area  << this is the "old" NTech CSS
    START    Premium Web Area  << this is the "old" NTech CSS
\*------------------------------------*/

/*

.page-template-template-premium .head_wrapper {
    padding: 0px;
    background: url(img/headerrepeat.png) repeat-x left top;
    border-top: #efd500 solid 5px;
    border-bottom: #efd500 solid 5px;
    background-clip: padding-box;
    height: 200px;
}

.page-template-template-premium .head_wrapper .header {
    background: url(img/headerright.png) no-repeat right top;
    max-width: 100%;
    height: 200px;
}

.page-template-template-premium .wrapper {
    min-height: calc(100vh - 360px);
    margin-top: 240px;
}

.page-template-template-premium .logo {
    background: url(img/headerleft.png) no-repeat left top;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 200px;
    width: 375px;
}

.page-template-template-premium .logo a {
    display: none;
}

.page-template-template-premium .head_wrapper .nav {
    max-width: 768px;
    position: absolute;
    top: 0px;
    right: 20px	
}

.page-template-template-premium .head_wrapper .nav ul {
    height: 60px;
}

.page-template-template-premium .head_wrapper .nav li a {
    color: #444444;
}

.page-template-template-premium .head_wrapper .nav li {
    text-align: center;
    line-height: 60px;
}

body.single.page-template-template-premium article { background-color: #fff; }

.premium_user {
    display: block;
    background: url(img/headerright.png) no-repeat right top;
    width: 100%;
    height: 100px;
    text-align: right;
    overflow: hidden;
    border-bottom: solid 5px #efd500;
}

@media only screen and (max-width: 1100px) {
    .page-template-template-premium .logo {
        display: none;
    }

    .page-template-template-premium .head_wrapper .nav {
        max-width: 100%;
    }

    .page-template-template-premium .nav {
        width: calc(100% - 20px);
    }
}

@media only screen and (max-width: 1120px) {
    .premium_user {
        background: url(img/headerright_resp.png) no-repeat right top;
    }
}

.premium_user .home a {
    float: left;
    color: #efd500;
    font-size: 48px;
    line-height: 48px;
    width: 20%;
    font-weight: bold;
    text-align: center;
    margin: 10px;
}

.premium_user ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.premium_user ul li {
    height: 60px;
    line-height: 60px;
    display: inline-block;
    color: #FFFFFF;
    font-family: "Lato",Arial,Helvetica,sans-serif;
    font-size: 16px;
    margin: 0px 10px;
}

.premium_user a {
    color: #FFFFFF;
}

.premium_user ul li:last-child {
    font-weight: 800;
    margin: 0px 60px;
    padding: 0px;
    text-transform: uppercase;
}

body.page-template-template-premium {
    background: url(img/pwbg1.jpg) no-repeat fixed center center / cover;
    font-family: "Lato",Arial,Helvetica,sans-serif;
}

.page-template-template-premium .sidebar,
.page-template-template-premium-lite .sidebar-premium,
.page-template-template-premium-lite-subscriber .sidebar-premium {
    border: none;
    padding-left: 0px;
    min-width: 245px;
}

*/



/*------------------------------------*\
    END    Premium Web Area  << this is the "old" NTech CSS
    END    Premium Web Area  << this is the "old" NTech CSS
    END    Premium Web Area  << this is the "old" NTech CSS
\*------------------------------------*/




section[role="main"],
.sidebar {
    direction: ltr;
}

.page-template-template-premium-lite section[role="main"],
.page-template-template-premium-lite-subscriber section[role="main"] {
    padding: 0px 0px 0px 20px;
}

.page-template-template-premium .premium_nav,
.page-template-template-premium-lite .premium_nav,
.page-template-template-premium-lite-subscriber .premium_nav {
    display: block;
    min-width: 188px;
}

.widget_nav_menu h3 {
    font-size: 18px;
    font-weight: bold;
    line-height: 18px;
    margin: 0px 0px 21px 0;
    display: none;
}

.widget_nav_menu ul.menu {
    list-style: none;
    margin: 0px 0px 20px 0px;
    padding: 10px;
    border: 1px solid #dfdfdf;
    width: 100%;
    min-width: 230px;
}

.widget_nav_menu ul.menu li {
/*    background: #efd500;*/   /* mpdeegan 2020-02-27 remove the yellow bg on menu <li>'s */
    font-size: 15px;
    font-weight: bold;
    margin: 0px 0px 10px;
    overflow: hidden;
    width: 100%;
}

.widget_nav_menu ul.menu li a {
    display: block;
    height: 40px;
    line-height: 40px;
    color: #000000;
    padding: 0px 20px;
}

.widget_nav_menu ul.menu li:hover > a,
.widget_nav_menu ul.menu li.current-menu-item > a,
body.single-post.page-template-template-premium .widget_nav_menu ul.menu li.menu-item-blog a {
    background: url(img/nav_arrow.png) no-repeat right center #042b5f;
    color: #FFFFFF;
}

.widget_nav_menu ul.menu .menu-item-about-us ul.sub-menu li.current-menu-item > a,
.widget_nav_menu ul.menu .menu-item-advertise ul.sub-menu li.current-menu-item > a {
    background: inherit;
    color: inherit;
}

.widget_nav_menu ul.menu .menu-item-about-us ul.sub-menu li.current-menu-item:hover > a,
.widget_nav_menu ul.menu .menu-item-advertise ul.sub-menu li.current-menu-item:hover > a {
    background: url(img/nav_arrow.png) no-repeat right center #042b5f;
    color: #FFFFFF;
}

#menu-about-navigation ul.sub-menu {
    display: none;
}

.about-us #menu-about-navigation li.current-menu-item ul.sub-menu,
.advertise #menu-about-navigation li.current-menu-item ul.sub-menu,
#menu-about-navigation li.menu-item-advertise:hover ul.sub-menu,
.parent_advertise #menu-about-navigation li.current-menu-parent ul.sub-menu {
    display: block;
}

/* menu edits */

.sidebar-widget.widget_area_2 .widget_nav_menu ul.menu {
    list-style: none;
    margin: 0px 0px 20px 0px;
    padding: 0px;
    background-color: #ced2e2;
    border: 0;
    border-width: 0px;
    width: 100%;
    min-width: 180px;
    border-top-left-radius: 10px;
    line-height: 30px;
}

.sidebar-widget.widget_area_2 .widget_nav_menu ul.menu li {
    line-height: 30px;
    margin: 0;
}

.sidebar-widget.widget_area_2 .menu li:first-child {
    border-top-left-radius: 10px;
}

.sidebar-widget.widget_area_2 .widget_nav_menu ul.menu li a {
    color: #042b60;
    background-color: #ced2e2;
    font-family: "Work Sans Medium", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
    text-transform: uppercase;

    height: 30px;
    line-height: 30px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    widows: 1;
}


.news-template-default.single-news .sidebar-widget.widget_area_2  {
    background-color: #ced2e2;
}
.news-template-default.single-news .sidebar-widget.widget_area_2 h4 {
    margin: 10px 0px;
    padding: 0px 20px;
}
.news-template-default.single-news a.news-announcements-read-more {
    display: block;
    float: none;
    text-align: center;
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.176;
    margin-top: 15px;
    text-transform: none;
}

.news-template-default.single-news .sidebar-widget.widget_area_2 .widget_nav_menu ul.menu li a {
    text-transform: none;
    height: auto;
    line-height: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.sidebar-widget.widget_area_2 .widget_nav_menu ul.menu li.current-menu-item,
.sidebar-widget.widget_area_2 .widget_nav_menu ul.menu li.current-menu-item a,
.sidebar-widget.widget_area_2 .widget_nav_menu ul.menu li:hover,
.sidebar-widget.widget_area_2 .widget_nav_menu ul.menu li a:hover {
    color: #fff;
    background-color: #042b5f;
}

.advertise #menu-about-navigation li.current-menu-item ul.sub-menu li,
.advertise #menu-about-navigation li.current-menu-item ul.sub-menu li a,
.parent_advertise #menu-about-navigation li.current-menu-parent,
.parent_advertise #menu-about-navigation li.current-menu-parent a,
#menu-about-navigation li.menu-item-advertise:hover ul.sub-menu li,
#menu-about-navigation li.menu-item-advertise:hover ul.sub-menu li a,
.news-template-default.single-news #menu-single-news-navigation li.current-menu-parent,
.news-template-default.single-news #menu-single-news-navigation li.current-menu-parent a {
    color: #fff;
    background-color: #042b5f;
}

.widget_nav_menu ul.menu .menu-item-about-us ul.sub-menu,
.widget_nav_menu ul.menu .menu-item-advertise ul.sub-menu {
    margin: 0 0 10px 0;
    padding: 0 0 0 15px;
    text-transform: none;
}
.widget_nav_menu ul.menu .menu-item-about-us ul.sub-menu li a,
.widget_nav_menu ul.menu .menu-item-advertise ul.sub-menu li a {
    text-transform: none;
}

aside.sidebar-premium .premium-widgets {
    margin: 0px 0px 20px 0px;
    max-width: 190px;
}
aside.sidebar-premium .premium-widgets .widget_nav_menu ul.menu {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    border: 0;
    width: 100%;
    min-width: 140px;
    line-height: 30px;
    border-top-left-radius: 10px;
}

aside.sidebar-premium .premium-widgets .widget_nav_menu ul.menu li {
    background: #042b60;
    margin: 0px 0px 3px 0px;
    overflow: hidden;
    width: 100%;
    
    color: #ffffff;
    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 30px;
    margin-bottom: 3px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;    
}

aside.sidebar-premium .premium-widgets .widget_nav_menu ul.menu li:first-child {
    border-top-left-radius: 10px;
}
aside.sidebar-premium .premium-widgets .widget_nav_menu ul.sub-menu li:first-child {
    border-top-left-radius: 0px;
}

aside.sidebar-premium .premium-widgets .widget_nav_menu ul.menu li a {
    display: block;
    height: 30px;
    line-height: 30px;
    color: #000000;
    padding: 0px 20px;
    margin: 0;
    
    color: #ffffff;
    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    height: 30px;
    line-height: 30px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;    
}

aside.sidebar-premium .premium-widgets .widget_nav_menu ul.menu li.current-menu-item,
aside.sidebar-premium .premium-widgets .widget_nav_menu ul.menu li.current-menu-item a,
aside.sidebar-premium .premium-widgets .widget_nav_menu ul.menu li a:hover {
    color: #042b60;
    background-color: #efd500;
}

aside.sidebar-premium .premium-widgets .widget_nav_menu ul.sub-menu {
    margin: 0 0 10px 0;
    padding: 0 0 0 15px;
    text-transform: none;
}
aside.sidebar-premium .premium-widgets .widget_nav_menu ul.sub-menu li a {
    margin: 0;
}

/* menu edits */



.large_pagination .post_pagination a, 
.large_pagination .post_pagination span {
    border-radius: 24px;
    margin: 0px 2px 10px 2px;
    min-width: 42px;
    padding: 10px;
}

.page-template-template-premium .post_pagination span,
.page-template-template-premium .post_pagination a:hover {
    border: 1px solid #000000;
}

.post_pagination span.disabled {
    border: none;
}

.page-template-template-premium .footer {
    display: none;
}

.pmpro_content_message {
    color: rgba(0,0,0,0);
}

.pmpro_content_message .tml-login {
    color: rgba(0,0,0,1);
}

#pmpro_levels_table .pmpro_level_price {
    display: none;
}

#pmpro_levels_table tr:first-child td:first-child {
    border-radius: 10px 0px 0px 0px;
}

#pmpro_levels_table tr:first-child td:last-child {
    border-radius: 0px 10px 0px 0px;
}


#pmpro_levels_table tr:last-child td:first-child {
    border-radius: 0px 0px 0px 10px;
}

#pmpro_levels_table tr:last-child td:last-child {
    border-radius: 0px 0px 10px 0px;
}

#pmpro_levels_table .pmpro_btn,
#pmpro_submit_span .pmpro_btn {
    background: #efd500;
    border: 1px solid #444344;
}

#pmpro_levels_table .pmpro_btn:hover,
#pmpro_submit_span .pmpro_btn:hover {
    background: #444344;
    color: #FFFFFF;
}

#pmpro_form .pmpro_thead-msg {
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
    background: #efd500;
    width: auto;
    font-weight: bold;
}

#pmpro_account-membership th,
#pmpro_account-invoices th {
    text-align: left;
}

#pmpro_account-membership .pmpro_actionlinks a,
#pmpro_account-profile .pmpro_actionlinks a {
    background: #efd500;
    padding: 5px;
    border-radius: 5px;
    margin: 0px 3px 3px 0px;
}

.pmpro_checkout tr.active td {
    background: rgba(125, 125, 125, 0.1);
}

.page-template-template-premium .sidebar,
.page-template-template-premium-lite .sidebar-standard,
.page-template-template-premium-lite-subscriber .sidebar-standard,
.register .sidebar,
.register h1,
.tml-register .message,
.lostpassword .sidebar,
.lostpassword h1,
.resetpass .sidebar,
.resetpass h1 {
    display: none;
}

body.parent_lodge-an-advertisement h1 {
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    text-transform: uppercase;

    line-height: 1.2;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    widows: 1;
}

.page-template-template-premium-lite.ad-management.parent_members-area .sidebar-standard,
.page-template-template-premium-lite.lodge-an-advertisement .sidebar-standard,
.page-template-template-premium-lite.parent_lodge-an-advertisement .sidebar-standard,
.page-template-template-premium.listing-alerts .sidebar-standard,
.page-template-template-premium.podcasts .sidebar-standard,
.page-template-template-premium.products-reviews .sidebar-standard,
.page-template-template-premium.events-destinations .sidebar-standard,
.page-template-template-premium.submit-event-review .sidebar-standard,
.page-template-template-premium.event .sidebar-standard,
.page-template-template-premium.posts-blogs .sidebar-standard,
.page-template-template-premium.webinars-training .sidebar-standard,
.page-template-template-premium.refined-aircraft-search .sidebar-standard,
.single-post.page-template-template-premium .sidebar-standard,
.single-event.page-template-template-premium .sidebar-standard {
    display: table-cell;
    padding-left: 20px;
}
.parent_lodge-an-advertisement div.ad-type-detail-container { 
    overflow: hidden; 
    background-color: #ced1e1 !important; 
    padding: 20px; 
    margin-bottom: 20px;
    max-width: 320px;
    margin: 0 auto;
}
.parent_lodge-an-advertisement div.ad-type-detail-container h3 { text-align: left; }
.parent_lodge-an-advertisement div.ad-type-detail-container p { text-align: left; }
.parent_lodge-an-advertisement div.ad-type-detail-container img { max-width: 250px; }
.parent_lodge-an-advertisement div.ad-type-detail-container img.sml-featured { max-width: 150px; text-align: right; }

.page-template-template-premium.logged-in .sidebar {}
.page-template-template-premium.logged-in .h1 {
    display: table;
}

.wrapper {
    max-width: 1220px;
}

.wrapper {
    min-height: calc(100vh - 244px);
}

.register .content_wrap section[role="main"] {
    display: block;
}

.tml-login,
.tml-lostpassword,
.tml-resetpass {
    background: #efd500;
/*    border-radius: 10px;*/                    /* mpdeegan - remove the border radius */
/*    box-shadow: 0px 1px 10px #888888;*/       /* mpdeegan - remove the box shadow */
    font-family: "Tenor Sans",sans-serif;
    min-height: 275px;
    left: 50%;
    margin-left: -200px;
    margin-top: 0;
    position: absolute;
    top: 30%;
    width: 100%;
    max-width: 400px;
    padding: 25px 25px;
    border-bottom: 7px solid #042b5f;           /* mpdeegan - add a border-bottom to pull tml form closer to overall website design */
}

.tml-resetpass {
    top: 15%;
}

.tml-register {
    margin: 0px auto;
    background: #efd500;
    border-radius: 10px;
    box-shadow: 0px 1px 10px #888888;
    font-family: "Tenor Sans",sans-serif;
    width: 100%;
    max-width: 400px;
    padding: 25px 25px;
    position: relative;
}

.registration_fields {
    margin: 0px 20px;
}

.register .required {
    color: #444444;
    font-size: 30px;
    font-weight: bold;
    display: inline-block;
    position: absolute;
    right: 20px;
    padding-top: 10px;
}

.tml-lostpassword .message {
    background: none;
    border: none;
}

.tml-login .message,
.tml-resetpass .message {
    background: #444444;
    color: #efd500;
    border: none;
    text-align: center;
}

.tml-user-login-wrap,
.tml-user-pass-wrap,
.tml-user-email-wrap {
    margin: 0px 20px;
}

.tml-login h1,
.tml-register h1,
.tml-lostpassword h1,
.tml-resetpass h1 {
    display: block;
    text-align: center;
    color: #042b5f;
    font: bold 25px/20px Helvetica,Arial,sans-serif;
    letter-spacing: -0.05em;
    margin: 10px 0 30px;
    border: none;
    text-transform: none;
    background: none;
}

.tml-resetpass .tml-submit-wrap {
    text-align: center;
}

.tml input,
.tml select {
    border: 1px solid #c8c8c8;
    border-radius: 3px;
    color: #777;
    font: 13px Helvetica,Arial,sans-serif;
    margin: 0 0 10px;
    padding: 15px 10px;
}

.tml .tml-rememberme-wrap {
    display: none;
}

.tml .tml-action-links li {
    border: none;
    float: none;
    display: inline-block;
    vertical-align: middle;
    padding: 0px;
    margin-left: 20px;
    margin-top: 10px;
    width: auto;
}

.tml .tml-action-links li:first-child {
    margin-left: 0px;
}

.tml .tml-action-links li a {
    font-weight: normal;
    text-decoration: underline;
    background: none;
    font-size: 12px;
}

.tml-rememberme-submit-wrap,
.tml .tml-registration-confirmation {
    text-align: center;
    margin: 0px;
}

.tml input[type="submit"],
button.tml-button {
    border-radius: 4px;
    cursor: pointer;
    font: bold 15px Helvetica,Arial,sans-serif;
    height: 35px;
    /*width: 120px;*/
    background-color: #042b5f;
    border: 0 none;
    color: #fff;
    padding: 10px 30px 11px;
    text-transform: uppercase;
    vertical-align: bottom;
    margin: 0px;
}

.wrapper .tml-login .tml-rememberme-submit-wrap,
.wrapper .tml-action-links {
    margin: 0px;
}

body.login h1,
body.login .sidebar,
body.tml-action-login.login aside.sidebar.sidebar-standard,
body.tml-action-lostpassword.lostpassword aside.sidebar.sidebar-standard,
body.tml-login aside.sidebar.sidebar-standard,
body.tml-lostpassword aside.sidebar.sidebar-standard,
body.tml-resetpass aside.sidebar.sidebar-standard{
    display: none !important;
}

body.login .tml-login h1 {
    display: block;
}

.page-template-template-premium.logged-in.premium-members .sidebar {
    display: none;
}

.page-template-template-premium.logged-in article  {
    padding: 25px 15px 45px 15px;
}

.premium-members.logged-in article {
    border: none;
}

.page-template-template-premium.logged-in article article {
    /*border-top: none;*/
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.page-template-template-premium.logged-in article article:first-child {
    border: none;
}

.page-template-template-premium.logged-in article article h4 {
    margin: 0px 0px 6px 0px;
    font-size: 16px;
}

.comments_link {
    display: block;
    font-weight: bold;
    margin-bottom: 15px;
}

img.attachment-post-thumbnail {
    float: right;
}

/* --- BLOG --- */

.page-template-template-premium.logged-in.posts-blogs article,
.page-template-template-premium.logged-in.products-reviews article,
.page-template-template-premium.logged-in.events-destinations article,
.page-template-template-premium.logged-in.event article {
    border: none;
    padding: 0px;
}

.page-template-template-premium.logged-in.posts-blogs article article.blog-post,
.page-template-template-premium.logged-in.products-reviews article article.blog-post,
.page-template-template-premium.logged-in.events-destinations article article.blog-post,
.page-template-template-premium.logged-in.event article article.blog-post,
.parent_news-and-announcements-archive article article.blog-post {
    position: relative;
    display: inline-block;
    vertical-align: top;
    border-bottom: 1px solid #042b60;
    padding: 10px;
}

article.blog-post img {
    width: 130px;
    height: auto;
    float: left;
    margin: 0px 5px 5px 0px;
}

@media only screen and (min-width: 768px) and (max-width: 1119px) {
    article.blog-post div.img-container,
    article.blog-post div.content-container { 
      display: inline-block;
      float: none !important;
      max-width: 100% !important;
    }
}

@media only screen and (max-width: 500px) {
    article.blog-post div.img-container,
    article.blog-post div.content-container { 
      display: inline-block;
      float: none !important;
      max-width: 100% !important;
    }
}

.page-template-template-premium.logged-in .article_list article.blog-post:nth-child(odd) {
/*    margin-right: 10px;*/
/*    width: calc(50% - 10px);*/
    width: 100%;

}

.page-template-template-premium.logged-in .article_list article.blog-post:nth-child(even) {
/*    margin-left: 10px;*/
/*    width: calc(50% - 10px);*/
    width: 100%;
}

.blog-post .view-article {
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 30px;
    width: 100%;
    text-align: center;
    line-height: 30px;
    padding: 0px 10px;
    color: #FFFFFF;
    background: #042b5f url("img/nav_arrow.png") no-repeat right center;
}

.blog-post .view-article:hover {
    background-color: #efd500;
    color: #000000;
}

.blog-post .date {
    margin-bottom: 10px;
}

.blog-post .attachment-post-thumbnail,
.products-reviews .attachment-post-thumbnail {
    float: left;
    margin: 0px 15px 15px 0px;
/*    border: 1px solid #042b5f;*/
}

.action_link {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
    height: 30px;
    width: 100%;
    text-align: center;
    line-height: 30px;
    padding: 0px 10px;
    color: #FFFFFF;
    background: #042b5f url("img/nav_arrow.png") no-repeat right center;
}

.action_link:hover {
    background-color: #efd500;
    color: #000000;
}



@media only screen and (min-width: 851px) and (max-width: 980px) {

    .page-template-template-premium.logged-in .article_list article.blog-post:nth-child(odd),
    .page-template-template-premium.logged-in .article_list  article.blog-post:nth-child(even) {
/*
        width: 100%;
        min-height: auto;
        margin-left: 0px;
        margin-right: 0px;
*/
    }

}

@media only screen and (min-width: 476px) and (max-width: 768px) {

    .page-template-template-premium.logged-in .article_list article.blog-post:nth-child(odd) {
    /*    min-height: 350px;*/
    /*    width: calc(50% - 10px);*/
        width: 100%;
    }

    .page-template-template-premium.logged-in .article_list article.blog-post:nth-child(even) {
    /*    min-height: 350px;*/
    /*    width: calc(50% - 10px);*/
        width: 100%;
    }

}

@media only screen and (max-width:475px) {

    .page-template-template-premium.logged-in .article_list article.blog-post:nth-child(odd),
    .page-template-template-premium.logged-in .article_list article.blog-post:nth-child(even) {
/*
        width: 100%;
        min-height: auto;
        margin-left: 0px;
        margin-right: 0px;
*/
    }

}

.news-template-default.single-news article {
    padding-left: 20px !important;
}

img.single-template-featured {
/*    width: 100%;*/
}

a.single-template-featured {
    display: block;
    width: 100%;
}

/* --- PREMIUM SIDEBAR ADS --- */

.page-template-template-premium.logged-in .sidebar-premium,
.sidebar {
    display: table-cell;
    max-width: 300px;
    padding-right: 0px;
}
.sidebar {
    margin-top: 0;
}
.home .sidebar {
    display: inline-block;
}

.page-template-template-premium.logged-in .sidebar-premium img {
    height: auto;
}

.sidebar-premium {
    /*	padding-top: 34px;*/
}

/*
.page-template-template-premium a {
        color: #efd500;
        text-shadow: 1px 1px 1px rgba(0,0,0,0.9);
}
*/
article span.comments { float: right; display: none; }

.comments h2 {
    font-size: 16px;
    margin-top: 0px;
}

.comments ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.comments ul li {
    padding: 10px 10px 10px 10px;
    margin-bottom: 10px;
}

.comments ul li p {
    margin-top: 0px;
}

.comments ul.children {
    margin-left: 0px;
}
/*
.comments ul li.parent.even {
        border-left: 2px solid #efd500;
}

.comments ul li.parent.odd {
        border-left: 2px solid #042b5f;
}
*/
.comments .comment-author img.avatar {
    display: none;
}

.comment-meta,
.comment-author {
    font-size: 11px;
    display: inline;
}

.thread-even {
    background: rgba(0,0,0,0.1);
    /*	border-left: 1px solid rgba(68,67,67,0.5);*/
}

.thread-odd {
    background: rgba(0,0,0,0.15);
    /*	border-left: 1px solid rgba(68,67,67,0.5);*/
}

.children .even {
    background: rgba(255,255,255,0.2);
    /*	border-left: 1px solid rgba(68,67,67,0.5);*/
}

.children .odd {
    background: rgba(255,255,255,0.3);
    /*	border-left: 1px solid rgba(68,67,67,0.5);*/
}

.comment-body {
    position: relative;
}

.parent .comment-body {
    margin-bottom: 10px;
}

.comment-body .reply {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 50px;
    height: 20px;
}

.comment-body .reply a {
    display: block;
    width: 50px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: rgba(68,67,67,1);
    color: #efd500;
}

.comment-form-comment {
    border: 1px solid #ced1e1;
}

.comment-form-comment label {
    display: none;
}

.comment-form-comment textarea {
    border: 0px;
    padding: 10px;
    width: 100%;
    height: 75px;
}

.form-submit input {
    border: 0px;
    text-align: center;
    background: rgba(68,67,67,1);
    color: #efd500;
    height: 20px;
    line-height: 20px;
}

.logged-in-as {
    font-size: 11px;
}

.comment-reply-title {
    font-size: 14px;
}


.member_actions {
    border-radius: 15px 0 0 0;
    background: #042b5f;
    padding: 5px 15px;
    text-align: center;
    margin: 10px 0px 0px 0px;
}

.member_actions h3 {
    color: #444444;
    margin-top: 0px;
}

.member_actions > a {
    display: block;
    width:100%;
    min-width: 200px;
    
    text-align: center;
    color: #042b60;
    background-color: #ced2e2;

    font-family: "Work Sans", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: bold;

    margin: 0px 0px 10px 0px;
}

.member_actions > a:hover {
    background-color: #c95b40;
}

.member_links {
    text-align: center;
    padding-top: 5px;
}

.member_links a:hover {
    text-decoration: underline;
}

/*  Podcast page  */

.podcast_container {
    margin-bottom: 15px;
}

a.podcast-gradient-button {
    margin: 0px;
    font-family: "Work Sans", sans-serif;
    font-size: 1.1em;
    line-height: 1.357;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    padding: 5px 15px;
    text-align: center;
    background-size: 200% auto;
    color: #191919;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
    border-radius: 25px;
    background-image: url(img/airwaves-podcats-rss-button-gradient.png);
    background-repeat: repeat-x;
    background-size: 45px;
    border: 2px solid #fff;
}
a:hover.podcast-gradient-button {
    border: 2px solid #000;
}

.podcast_item {
    display: inline-block;
    vertical-align: top;
    padding: 10px 10px 50px 10px;
    position: relative;
    min-height: 275px;
    border: 1px solid #DFDFDF;
    background: rgba(255,255,255,0.3);
    margin-bottom: 20px;
}

.podcast_item:nth-child(odd) {
    margin-right: 10px;
    width: calc(50% - 10px);
}

.podcast_item:nth-child(even) {
    margin-left: 10px;
    width: calc(50% - 10px);
}

.exclusive .podcast_item {
    width: 100%;
    margin: 0px;
    background: rgba(68,68,68,0.7);
    border: none;
    min-height: inherit;
    color: #FFFFFF;
    font-weight: bold;
    margin-bottom: 30px;
}

.pagination.exclusive {
    display: none;
}

.podcast_item audio {
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.podcast_item h3 {
    margin-top: 0px;
}

.admin_only {
    display: none !important;
}

.wpcf-group-area_membership-core,
.wpcf-group-area_advertiser-details {
    display: none;
}

.your-profile .wpcf-group-area_advertiser-details {
    margin-bottom: 15px;
}

.your-profile .wpcf-group-area_advertiser-details .wpcf-profile-field-line {
    margin: 0px;
}

.your-profile .wpcf-group-area_advertiser-details .wpcf-profile-line-left {
    font-weight: bold;
}

.your-profile .tml-locale-wrap,
.your-profile .tml-nickname-wrap,
.your-profile .tml-display-name-wrap,
.your-profile .tml-first-name-wrap,
.your-profile .tml-last-name-wrap {
    display: none;
}

/*
@media only screen and (max-width:800px) {
        .podcast_item {
                display: block;
                width: auto;
                min-height: auto;
        }
}
*/
@media only screen and (min-width:769px) and (max-width:980px) {

    .podcast_item:nth-child(odd),
    .podcast_item:nth-child(even) {
        width: 100%;
        min-height: auto;
        margin-left: 0px;
        margin-right: 0px;
    }

}

@media only screen and (min-width:476px) and (max-width:768px) {

    .podcast_item:nth-child(odd) {
        min-height: 350px;
        width: calc(50% - 10px);

    }

    .podcast_item:nth-child(even) {
        min-height: 350px;
        width: calc(50% - 10px);
    }

}

@media only screen and (max-width:475px) {

    .podcast_item:nth-child(odd),
    .podcast_item:nth-child(even) {
        width: 100%;
        min-height: auto;
        margin-left: 0px;
        margin-right: 0px;
    }

}



.blog-post {
    border-bottom: 1px solid #DFDFDF;
    padding-bottom: 15px;
}

.webinar_list {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.session_list {
    list-style: none;
}

div.webinar-description { display:block; padding-right: 50px; }

div.webinar-button-container { position: relative; width: 100%; margin: 0px; padding-top: 25px; }
div.webinar-button { 
    float: right;
    position: absolute;
    right: 0px;
    bottom: 0px;
    margin: 10px 0px;
    background: transparent;
    vertical-align: middle;
    width: 134px;
    height: 74px;
    background-image: url(img/webinar-register.png);
}

div.webinar-button .webinar_registered { background-image: url(img/webinar-registered.png) }
div.webinar-button .webinar_view_details { background-image: url(img/webinar-view-details.png) }
div.webinar-button .webinar_view_recording { background-image: url(img/webinar-view-details.png) }

div.webinar-button a { 
    display: block;
    width: 134px;
    height: 74px;
    line-height: 74px;
    text-align: center;
}
div.webinar-button span.inner-text,
div.webinar-button a span.inner-text {
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    text-transform: uppercase;
    widows: 1;
    display: block;
    width: 100%;
}

.webinar_register span.inner-text { padding-left: 40px; padding-top: 48px; }
.webinar_registered span.inner-text { padding-left: 40px; padding-top: 48px; }
.webinar_view_details span.inner-text { padding-left: 50px; padding-top: 35px; }
.webinar_view_recording span.inner-text { padding-left: 40px; padding-top: 35px; }

.webinar_register,
.create_wishlist {
    width: 134px;
    text-align: center;
}

.webinar_registered,
.webinar_view_details,
.webinar_view_recording {
    width: 134px;
    height: 74px;
    line-height: 74px;
    text-align: center;
}

div.webinar-button .webinar_register:hover,
div.webinar-button .webinar_view_details:hover,
div.webinar-button .webinar_view_recording:hover {
    background-image: url(img/webinar-hover.png);
}

div.webinar-button .webinar_register:hover span.inner-text,
div.webinar-button .webinar_register:hover a span.inner-text,
div.webinar-button .webinar_view_details:hover span.inner-text,
div.webinar-button .webinar_view_details:hover a span.inner-text,
div.webinar-button .webinar_view_recording:hover span.inner-text,
div.webinar-button .webinar_view_recording:hover a span.inner-text {
    color: #fff !important;
}

.button {
    padding: 15px;
    font-weight: bold;
    display: block;
    margin: 30px auto;
    background: #efd500;
    border: 1px solid #efd500;
    color: #042b5f;
    max-width: 300px;
    text-align: center;
}

.button:hover {
    border: 1px solid #000000;
    color: #000000;
}

.session_single {
    margin: 10px 0px;
}

.webinar_list {
    /*border: 1px solid #DFDFDF;*/
    padding: 5px;
}

.webinar_list h3 {
    margin-top: 0px;
}

.webinar {
    border-top: 1px solid #DFDFDF;
    padding-top: 10px;
    margin-top: 15px;
}

.webinar:first-child {
    border: none;
    padding: 0px;
    margin: 0px;
}

/* WISH LIST LISTING ALERT FORM */

div.gform_wrapper.alert_form_wrapper { 
    padding: 10px;
    background-color: #fff;
}

div.reached-max-alerts { 
    background-color: #efd500;
    padding: 10px;
    border-radius: 10px;
}

.wishlist_form .gform_button {
    display: block;
    width: 200px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #042b5f;
    color: #efd500;
    border: 0px;
}

.saved_wishlists {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

/* WISH LIST LISTING ALERT */

.wishlist_item {
    display: block;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.3);
}
.wishlist_item_internal {
    display: block;
    margin: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.3);
}

.wishlist_item div.wishlist_header {
    display: block;
    background: #ced1e1;
    color: #042b5f;
    font-size: 16px;
    padding: 5px;
    border-radius: 10px 10px 0px 0px;
}

.wishlist_item a {
    display: inline-block;
    color: #444434;
    background: #efd500;
    min-width: 100px;
    padding: 5px;
    text-align: center;
    margin-top: 5px;
}

.wishlist_item ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

div.wishlist_header_top,
div.wishlist_header_bottom { display:block; width:100%; overflow: hidden; }
span.wishlist_id { display:inline-block; float:left; }
span.wishlist_title { display:inline-block; float:left; }
div.wishlist_days_left_delete { display:inline-block; float:right; }
span.wishlist_days_left { display:inline-block; float:right; }
span.delete_wishlist_form { display:inline-block; float:right; }
span.wishlist_criteria { display:inline-block; float:left; }

.alert_ad {
    padding: 15px;
    min-height: 150px;
    border-top: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
}

.alert_ad h3 {
    margin-top: 0px;
}

.alert_ad span {
    display: block;
    text-align: right;
}

.alert_ad span.categoryPost {
    text-align: left;
}

.alert_ad,
.wishlist_item {
    clear: both;
}

.no_alert_ad {
    padding: 15px;
}

.gform_wrapper {
    margin: 16px 0;
    max-width: 100%;
    background-color: #ced1e1 !important;
    padding: 5px;
}

.gform_wrapper .gfield_required {
  color: #000000 !important;
}
.gform_wrapper gfield_error.gfield_required {
  color: #790000 !important;
}

body .gform_wrapper .chosen-container-single .chosen-single {
    background: #FFFFFF;
    border-radius: 0px;
    border: 1px solid #7a7a7a;
}

body .gform_wrapper .chosen-container-active.chosen-with-drop .chosen-single {
    background: #FFFFFF;
}

body .gform_wrapper .description, 
body .gform_wrapper .gfield_description, 
body .gform_wrapper .gsection_description, 
body .gform_wrapper .instruction {
    font-size: 1em !important;
}

body .gform_wrapper div.gfield_description,
body .gform_wrapper li.gfield.gfield_html.field_description_above,
body .gform_wrapper li.gfield.gfield_html.field_description_below {
    font-size: .9em !important;
    /* background: url(img/transp50.png) !important; */
    background-color: rgba(255, 255, 255, 0.7) !important;
    padding: 10px !important;
    overflow: hidden !important;
}

body .gform_wrapper li.gfield.gfield_visibility_visible {
    margin-bottom: 10px;
    border: 0;
    padding-top: 5px !important;
    padding-bottom: 10px;
    padding-left: 10px;
}

body .gform_wrapper div.ginput_container.prso_plupload {
    margin-top: 0 !important;
}

body .gform_wrapper .plupload_container {
    padding: 8px 8px 16px 8px !important;
    background: none !important;
    background-image: none !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
}

/* on the Ad Submission forms, override the CSS for the Additional Files Uploader */
.plupload_header_content {
    display: none;
}
.plupload_button.plupload_add {
    font: normal 14px sans-serif;
}
.plupload_button.plupload_start {
    display: none;
}
.plupload_filelist_footer {
    height: 42px !important;
}
.plupload_progress_bar {
    background: green !important;
    height: 12px !important;
}
.plupload_progress_container {
    border: 1px solid #000 !important;
}

.gform_page_footer .button,
.gform_footer .button {
    display: inline-block !important;
    background: #042b5f;
    color: #ffffff;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    text-align: center;
    border: 0px;
    min-width: 150px;
}

.gform_page_footer .button:hover,
.gform_footer .button:hover {
    background: #efd500;
    color: #000000;
}

.gform_wrapper .gfield_label {
    font-family: "Work Sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: bold;

    color: #000000;
    font-variant: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}

body .gform_wrapper .gform_fileupload_multifile .gform_drop_area {
    background: rgba(255,255,255,0.7);
    border: 2px dashed #7a7a7a;
    width: 97.5%;
}

/* Gravity Forms override radio buttons and checkboxes */

div.gform_wrapper div.ginput_container ul.gfield_radio { padding-left: 0!important; }
div.gform_wrapper form input[type='radio'],
div.gform_wrapper form input[type='checkbox'] {

    /* Hide the input, but have it still be clickable */
    opacity: 0;
    display: none;
    float: left;
    width: 18px;
}

div.gform_wrapper form input[type='radio'] + label,
div.gform_wrapper form input[type='checkbox'] + label {
    margin: 0;
    clear: none;

    /* Left padding makes room for image */
    padding: 5px 0 4px 28px;

    /* Make look clickable because they are */
    cursor: pointer;

    background: url(img/off.png) left center no-repeat;
    background-size: 20px 20px;
}

/* Change from unchecked to checked graphic */
div.gform_wrapper form input[type='radio']:checked + label {
    background-image: url(img/radio.png);
}
div.gform_wrapper form input[type='checkbox']:checked + label {
    background-image: url(img/check.png);
}

/* Change from unchecked to checked graphic */
/*
body.create-photo-classie.parent_lodge-an-advertisement div.gform_wrapper form input[type='radio'] + label,
body.create-photo-classie.parent_lodge-an-advertisement div.gform_wrapper form input[type='checkbox'] + label {
    background: url(img/toggle-off-radio-02.png) left center no-repeat;
    background-size: 20px 20px;
}
body.create-photo-classie.parent_lodge-an-advertisement div.gform_wrapper form input[type='radio']:checked + label {
    background-image: url(img/toggle-on-radio-02.png);
    background-size: 20px 20px;
}
body.create-photo-classie.parent_lodge-an-advertisement div.gform_wrapper form input[type='checkbox']:checked + label {
    background-image: url(img/toggle-on-radio-02.png);
    background-size: 20px 20px;
}
*/

.gform_wrapper div.validation_error,
.gform_wrapper .validation_message {
/*    color: #c76148 !important;*/
    font-weight: 400 !important;
}

.gform_wrapper .top_label input.medium, 
.gform_wrapper .top_label select.medium,
html body .gform_wrapper select.medium.gfield_select + div.chosen-container-multi[style], 
html body .gform_wrapper select.medium.gfield_select + div.chosen-container-single[style] {
    width: 100% !important;
}

article.event img {
    /*    width: 100%;*/
}

#user_switching_switch_on {
    position: fixed;
    top: 210px;
    right: 0px;
    padding: 10px;
    font-weight: bold;
    z-index: 15;
    background: #efd500;
    border-radius: 10px 0px 0px 0px;
}

/* ----------- Advertiser Specials ---------- */
.page-template-template-premium.logged-in article.specials-post {
    display: inline-block !important;
    width: 50%;
    vertical-align: top;
    border: none;
    padding: 15px !important;
    min-width: 280px;
}

.specials-post h4, .specials-post div {
    display: none;
}

.advertiser-specials .article_list {
    text-align: center;
}


/*------------------------------------*\
    PREMIUM GRID NAV
\*------------------------------------*/

.page-template-template-premium.logged-in.premium-members h1 {
    display: none;
}

#menu-premium-web-grid,
#menu-premium-web-grid ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.grid_container {
    position: absolute;
    width: 100%;
    top: calc(50vh - 380px);
}

/*------------------------------------*\
    Rounded corners
\*------------------------------------*/

/* rounded top */
h1,
.sidebar-widget .menu li:first-child {
    border-radius: 0px 0px 0px 0px;
}

.action_ad {
    border-radius: 0px 0px 0px 0px;
}




/* all round */
.sidebar .search,
.member_actions,
h2,
.sidebar-widget .menu,
.wishlist_item,
.podcast_item,
.products-reviews .article_list .blog-post,
.events-destinations .article_list .blog-post,
.posts-blogs .article_list .blog-post {
    border-radius: 0px;
}

.view_details a,
.archive article .wp-post-image,
.archive article .placeholder,
#carousel,
.selectAnAdAnchor,
.selectAnAd,
.gform_page_footer .button,
.gform_footer .button,
.wishlist_item a,
.button {
    border-radius: 0px;
}

/* rounded bottom */
.sidebar-widget .menu li:last-child,
#slider.flexslider,
.flex-viewport,
.podcast_item audio,
.products-reviews .article_list .blog-post:nth-child(1),
.products-reviews .article_list .blog-post:nth-child(2),
.posts-blogs .article_list .blog-post:nth-child(1),
.posts-blogs .article_list .blog-post:nth-child(2) {
    border-radius: 0px 0px 0px 0px;
}

.action_sub {
    border-radius: 0px 0px 0px 0px;
}
.action_prem {
    border-radius: 0px 0px 0px 0px;
}

.sidebar-widget .menu ul.sub-menu li {
    border-radius: 0px 0px 0px 0px;
}

@media only screen and (max-width:1040px) {

    .grid_container {
        position: static;
        display: inline;
    }

}

#menu-premium-web-grid {
    display: block;
    margin: 0px auto;
    max-width: 785px;
}

#menu-premium-web-grid a {
    display: inline-block;
    background: #042b5f;
    color: #adada9;
    margin-bottom: 10px;
    text-align: center;
    font-size: 17px;
    text-shadow: -1px 1px 1px rgba(0,0,0,0.3);
    text-transform: uppercase;
    line-height: 17px;
    letter-spacing: -0.5px;
}

#menu-premium-web-grid .sub-menu li {
    display: inline-block;
    vertical-align: top;
    margin-left: 5px;
}

#menu-premium-web-grid .sub-menu li:first-child {
    margin-left: 0px;
}

#menu-premium-web-grid .sub-menu .sub-menu li {
    display: block;
    margin-left: 0px;
}

/* menu-item-type-custom */
#menu-premium-web-grid .menu-item-has-children > a {
    display: none;
}

.menu-item-col-1 .sub-menu li a {
    width: 235px;
    height: 120px;
}

.menu-item-col-2 .sub-menu li a {
    width: 205px;
    height: 250px;
}

.menu-item-col-3 .sub-menu li a {
    width: 160px;
    height: 77px;
}

.menu-item-col-4 .sub-menu li a {
    width: 155px;
    height: 120px;
}

.menu-item-row-2 .sub-menu li a {
    width: 240px;
    height: 120px;
}

.menu-item-row-2 .sub-menu li:first-child a {
    width: 285px;
    height: 120px;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
        TYPOGRAPHY
\*------------------------------------*/

@font-face {
    font-family:'Font-Name';
    src:url('fonts/font-name.eot');
    src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
        url('fonts/font-name.woff') format('woff'),
        url('fonts/font-name.ttf') format('truetype'),
        url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('fonts/fontawesome-webfont.eot?v=4.2.0');
    src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), 
        url('fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), 
        url('fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), 
        url('fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family:'Font-Name';
    src:url('fonts/lato-regular-webfont.eot');
    src:url('fonts/lato-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/lato-regular-webfont.woff') format('woff'),
        url('fonts/lato-regular-webfont.woff2') format('woff2'),
        url('fonts/lato-regular-webfont.ttf') format('truetype'),
        url('fonts/lato-regular-webfont.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

@font-face {
    font-family: 'Helvetica';
    src: url('fonts/Helvetica.eot');
    src: url('fonts/Helvetica.woff2') format('woff2'),
        url('fonts/Helvetica.woff') format('woff'),
        url('fonts/Helvetica.ttf') format('truetype'),
        url('fonts/Helvetica.svg#Helvetica') format('svg'),
        url('fonts/Helvetica.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica-Bold';
    src: url('fonts/Helvetica-Bold.eot');
    src: url('fonts/Helvetica-Bold.woff2') format('woff2'),
        url('fonts/Helvetica-Bold.woff') format('woff'),
        url('fonts/Helvetica-Bold.ttf') format('truetype'),
        url('fonts/Helvetica-Bold.svg#Helvetica-Bold') format('svg'),
        url('fonts/Helvetica-Bold.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
    background:#042b5f;
    color:#FFF;
    text-shadow:none;
}
::-webkit-selection {
    background:#042b5f;
    color:#FFF;
    text-shadow:none;
}
::-moz-selection {
    background:#042b5f;
    color:#FFF;
    text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
    margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display:block;
    margin:5px auto 5px auto !important;
}
.alignright {
    float:right;
    margin:5px 0 20px 20px !important;
}
.alignleft {
    float:left;
    margin:5px 20px 20px 0 !important;
}
.aligncenter {
    display:block;
    margin:5px auto 5px auto !important;
}
a img.alignright {
    float:right;
    margin:5px 0 20px 20px !important;
}

aside.sidebar a img.alignright {
    float:right;
    margin:0 0 20px 20px !important;
}

a img.alignnone {
    margin:5px 20px 20px 0 !important;
}
a img.alignleft {
    float:left;
    margin:5px 20px 20px 0 !important;
}
a img.aligncenter {
    display:block;
    margin-left:auto !important;
    margin-right:auto !important;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
    * {
        background:transparent !important;
        color:#000 !important;
        box-shadow:none !important;
        text-shadow:none !important;
    }
    a,
    a:visited {
        text-decoration:underline;
    }
    a[href]:after {
        content:" (" attr(href) ")";
    }
    abbr[title]:after {
        content:" (" attr(title) ")";
    }
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content:"";
    }
    pre,blockquote {
        border:1px solid #999;
        page-break-inside:avoid;
    }
    thead {
        display:table-header-group;
    }
    tr,img {
        page-break-inside:avoid;
    }
    img {
        max-width:100% !important;
    }
    @page {
        margin:0.5cm;
    }
    p,
    h2,
    h3 {
        orphans:3;
        widows:3;
    }
    h2,
    h3 {
        page-break-after:avoid;
    }
}

/*
**  Aviation Trader Specific customisations
*/

.chooseAdType {
    width: 100%;
    float: left;
    text-align: left;    
    display: block;
    border-top: 1px solid rgb(204, 204, 204);   
    margin-bottom: 20px;
    background-color: #ced1e1;
    color: #E0E0E0;
    padding: 20px;
    font-size: 1em;
    -webkit-border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;    
}

.servicePanel {
    width: 100%;
    float: left;
    text-align: left;    
    display: block;
    border-top: 1px solid rgb(204, 204, 204);   
    margin-bottom: 20px;
    background-color: #444343;
    color: #E0E0E0;
    padding: 20px;
    font-size: 1em;
    -webkit-border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;    
}

.chooseAdType {
    position: relative;
}

.chooseAdType h3,
.chooseAdType .sub-head,
.chooseAdType .description {
    float: left;
    width: 56%;
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-style: normal;
    font-variant: normal;
    line-height: 1.176;
    margin-bottom: 6px;
}

.chooseAdType h3,
.chooseAdType .sub-head {
    font-size: 17px;
    font-weight: bold;
}

.chooseAdType h3 {
    text-transform: uppercase;
}

.chooseAdType .example {
    float: right;
    width: 39%;   
    text-align: center;
    padding-left: 1%;
    padding-right: 4%;
}
.selectAnAd {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 134px;
    height: 74px;
    line-height: 74px;
    background: transparent;
    background-image: url(img/category-listing-view-details.png);
}
.selectAnAdAnchor:hover .selectAnAd {
    background-image: url(img/category-listing-view-hover.png);
    text-decoration: none;
    color: #fff;
}
.selectAnAd {
    color: #042b60;
    font-family: "Work Sans Medium", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    
    height: 74px;
    line-height: 74px;
    
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    text-transform: uppercase;
    widows: 1;
    display: block;
    padding-left: 50px;
    padding-top: 15px;
}
.selectAnAd:hover {
    text-decoration: none;
    color: #fff;
}
    
.servicePanel input {
    overflow: hidden;
    background-color: #efd500;  
    width: 220px;
    line-height: 40px;      
}

.servicePanel input:hover {
    background-color: #042b5f;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}

.servicePanel input {
    border: 1px solid #efd500;
    display: block;
    font-size: 15px;    
    font-weight: bold;    
/*    padding-left: 20px;  */
}

/*
**  Manage Ads CSS
*/

.managePosts {
    display: block;
    width: 100%;   
    padding: 0;
    margin: 0;
}

.managePosts li {
    display: block;
    width: 100%;  
    padding-top: 12px;    
    padding-bottom: 12px;
    border-bottom: 1px solid #DFDFDF;
    cursor: pointer;
}

.managePosts li a {
    display: block !important;
    vertical-align: top !important;
}

.managePosts li a img {
    display: block;
    vertical-align: top !important;
    padding-top: 15px;
}

.managePosts li a div:first-child {
    display: inline-block;
    width: 25%;
    vertical-align: top !important;
}

.managePosts li a div:last-child {
    padding-left: 2%;
    display: inline-block;
    width: 73%;    
}

.managePosts li a div:last-child div {
    width: 100%;

}

#manage_ad_accordion h3 {
    background: #042b5f;
    color: #fff;
    padding: 10px;
    margin: 0px;
    border-bottom: 1px solid #dfdfdf;
    cursor: pointer;
    font-weight: normal !important;
}

#manage_ad_accordion h3:hover,
#manage_ad_accordion .ui-accordion-header-active {
    background: #efd500;
    color: #444444;
}

#manage_ad_accordion h3.disable-accordion {
    opacity: 0.5;
    cursor: default;
}

#manage_ad_accordion h3.disable-accordion:hover {
    background: #444444;
    color: #FFFFFF;
}

#manage_ad_accordion .ui-accordion-content {
    background: rgba(255,255,255,0.3);
}

.categoryPost, .editionPost, .postStatus {
    margin-right: 6px;
    font-size: 9px;
    font-weight: bold;
}

.categoryPost {
    color: #FF0000;
}

.editionPost {
    color: #666666;
}

.postStatus {
    color: #009900;
} 

.display-posts-listing {
    padding-bottom: 10px;
}

.display-posts-listing .listing-item {
    display: inline-block;
    vertical-align: top;
    margin: 5px 0px;
    padding-right: 10px;
    width: 50%;    
    margin-top: 6px;
}

.display-posts-listing img {
    float: left;
    margin: 0 20px 8px 0;
    width: 160px;
    border: 1px solid #042b60;
    vertical-align: top;
}

.latest-ads .image {
    display: block;
    min-height: 61px;
}

.search_link {
    display: block;
}
.search_link img {
    height: 100px;
    border-radius: 5px;
}
.search_link p {
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.286;
    margin-bottom: 12px;
    margin-right: 70px;
}
.search_link p.price-statement {
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.286;
    margin-bottom: 12px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}
.search_link h2 {
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.176;
    margin-bottom: 6px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 6px;
    text-transform: uppercase;
}

.search .moretag {
    display: none;
}

.view_details {
    text-align: right;
}

.view_details a {
    display: inline-block;
    padding: 5px;
    background: #444444;
    color: #efd500;
    text-align: center;
    min-width: 90px;
}

.placeholder {
    max-width: 162px;
}

.display-posts-listing .view-article {
    font-weight: bold;
}

.singlePostImage img {
    float: none;
    width: 100%;
}

.display-posts-listing.news_list .listing-item {
    width: 100%;
    padding: 10px 0px 0 0px;
    border-top: 1px solid #ced1e1;
}
.news-col .display-posts-listing.news_list .listing-item {
    border: none;
    padding: 0px 0px 10px 0px;
    margin-top: 0;
}

.display-posts-listing.news_list .excerpt {
    display: block;
    margin-bottom: 0px;
}

.display-posts-listing.news_list .excerpt-dash {
    display: none;
}

.display-posts-listing.news_list .view-article {
    display: block;
}

.display-posts-listing.news_list h2 {

}

.display-posts-listing.news_list img {
    float: left;
    margin: 0px 16px 0 0;
    width: 150px;
}

.news-col .display-posts-listing.news_list img {
    float: none;
    margin: 0px 0px 10px 0;
    width: 100%;
}

.article_list h4 {
color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.176;
    margin-bottom: 6px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 6px;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: uppercase;
    widows: 1;
}

.article_list .the-excerpt {
    padding-right: 90px;
    margin-bottom: 6px;
}

div.wrapper div.content_wrap section article.listed-post {
    clear: both;
    margin: 6px 0 15px;
    padding: 0px;
    border-bottom: 1px solid #ced1e1;
    overflow: hidden;
}

.moretag-container { display: block; position: relative; }
.moretag { display: block; position: relative; }
.moretag span.hide-br { display: none; }

.events-destinations.parent_premium-members .moretag-container,
.products-reviews.parent_premium-members .moretag-container,
.posts-blogs.parent_premium-members .moretag-container,
.news-and-announcements-archive .moretag-container {
    float: right;
    position: absolute;
    right: 0px;
    bottom: 0px;
    margin: 10px 0px;
    background: transparent;
    vertical-align: top;
    width: 134px;
    height: 74px;
    background-image: url(img/category-listing-view-details.png);
    z-index: -1;
}

.events-destinations.parent_premium-members .article_list article.blog-post:hover .moretag-container,
.products-reviews.parent_premium-members .article_list article.blog-post:hover .moretag-container,
.posts-blogs.parent_premium-members .article_list article.blog-post:hover .moretag-container,
.news-and-announcements-archive .article_list article.blog-post:hover .moretag-container {
    background-image: url(img/category-listing-view-hover.png);
}

.listed-post .moretag-container .moretag,
.events-destinations.parent_premium-members .moretag-container .moretag,
.products-reviews.parent_premium-members .moretag-container .moretag,
.posts-blogs.parent_premium-members .moretag-container .moretag,
.news-and-announcements-archive .moretag-container .moretag {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    
    position: absolute;
    right: 0;
    bottom: 10px;
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    text-transform: uppercase;
    widows: 1;
    display: block;
    width: 100%;
    padding-left: 60px;    
}

.listed-post .moretag-container .moretag {
    display: block;
    position: relative;
    bottom: 0; 
    text-align: left; 
    padding-left: 0;
    margin-top: 10px;
}

.events-destinations.parent_premium-members .article_list article.blog-post:hover .moretag-container .moretag,
.products-reviews.parent_premium-members .article_list article.blog-post:hover .moretag-container .moretag,
.posts-blogs.parent_premium-members .article_list article.blog-post:hover .moretag-container .moretag,
.news-and-announcements-archive .article_list article.blog-post:hover .moretag-container .moretag {
    color: #FFF;
}

.events-destinations.parent_premium-members .moretag-container .moretag span.hide-br,
.products-reviews.parent_premium-members .moretag-container .moretag span.hide-br,
.posts-blogs.parent_premium-members .moretag-container .moretag span.hide-br,
.news-and-announcements-archive .moretag-container .moretag span.hide-br {
    display: inline;
}

.home_wrapper .widget_area_1, 
.content_wrap .widget_area_1 {
    display: block;
    width: 100%;
    border: none;
    padding-left: 0px;
    min-width: 300px;    
    text-align: center;
}

.page-template-template-premium .widget_area_1 {
    /*   display: none;*/
}

.servicePanel input {
    color: #444;
}

.servicePanel textarea, 
.servicePanel select {
    margin-bottom: 12px;
}

.servicePanel select {
    width: 220px;
    padding: 6px;
}

.flexslider {    
    margin: 0px 0px 0px 0px !important;
    background: #ced2e2 !important;
    position: relative;
    zoom: 1;
    border: 0px !important;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -o-box-shadow: none !important;
    box-shadow: none !important;
}

div.headline-ads-carousel-container .flex-direction-nav {
    height: 50px !important;
}

.flex-direction-nav a {
    width: 30px;
    height: 50px;
    color: #042b5f !important;
    text-shadow: none !important;
}
#slider .flex-direction-nav a {
    top: 78% !important;
}

.flex-direction-nav a::before {
    color: #042b5f !important;
    font-size: 50px !important;
    text-shadow: none !important;
}

.flex-direction-nav a.flex-next #text {
    display:none;
}

.flex-direction-nav a.flex-prev::before {
    content: url(img/carousel-nav-arrow-left-20x50.png) !important;
}

.flex-direction-nav a.flex-next::before {
    content: url(img/carousel-nav-arrow-right-20x50.png) !important;
}

.singleContent {
    max-width: 580px;
    margin: 0 auto;
    padding: 6px;
    background-color: #FFFFFF;
}

body.single div#single-carousel-container .flexslider,
body.single #carousel.flexslider,
body.single .flex-viewport{
    border-radius: 0px;
}

body.single div#single-carousel-container {
    max-width: 690px;
    margin: 0px auto;
    background-color: #fff !important;
}

body.single div#single-carousel-container #slider.flexslider, 
body.single div#single-carousel-container #slider.flexslider .flex-viewport {
    border-top-left-radius: 15px !important;
}

div#single-carousel-container .flexslider { border: 0 !important; }
div#single-carousel-container .flexslider .slides img { 
    width: auto !important; 
    max-width: 100% !important; 
    margin: 20px auto !important; 
    max-height: 400px !important;
}
div#single-carousel-container #slider.flexslider .slides img { max-width: 88% !important; }
div#single-carousel-container .single-slide-pdf-image { height: auto !important; }
div#single-carousel-container div#carousel ul.slides li { width: auto !important; width: 120px !important; min-width: 120px !important;}
div#single-carousel-container div#carousel ul.slides li img { min-height: auto !important; max-height: 80px !important; margin: 0 auto !important; }

body.single div#carousel .flex-viewport {
    margin: 0 auto 20px auto !important;
}

body.single div#carousel .flex-viewport ul.slides li:first-child {
    margin-left: 35px;
}


div.headline-ads-carousel-container,
div.headline-ads-carousel-container-inner,
.home #slider {
    background-color: #ced2e2;
    overflow: hidden;
}
div.headline-ads-carousel-container {
    padding: 0 20px;
    border-top-left-radius: 15px;
}
div.headline-ads-carousel-container-inner {
    margin: 0;
    overflow: hidden;
}

.home #slider, 
.home #slider img {
    max-height: 260px;
    overflow: hidden;
}

.home #slider td {
    background-color: #ced2e2;
    height: 260px;
}

#carousel, 
#carousel img {
    background-color: #ced2e2;
    overflow: hidden;
}

#carousel {
    margin: 0;
    max-height: 110px;
}

#carousel img {
    min-height: 92px;
    max-height: 92px;
}

.home #carousel {
    margin: 0;
    max-height: 100px;
}
.home #carousel li.aa-headline-ads-nav-img {
    width: 135px !important;
    margin-right: 20px !important;
    float: left; 
    display: block;
    vertical-align: top !important;
}

.home #carousel li.aa-headline-ads-nav-img img {
    min-height: 0;
    max-height: 83px;
}

#slider.flexslider img {
/*    border: 1px solid #042b60;*/
    border: 0;
    vertical-align: top;
}
#carousel.flexslider img {
    border: 1px solid #042b60;
    vertical-align: top;
}

/* mpdeegan edits */
/* mpdeegan edits */
/* mpdeegan edits */

abbr[title], 
acronym[title] {
    text-decoration: none !important;
    border: none !important;
}

a.create-ad-next-step {
    background: #444444 none repeat scroll 0 0;
    color: #ffffff;
    display: block;
    font-weight: bold;
    margin: 5px 0;
    padding: 5px;
    border-radius: 0 0 5px 5px;
}

/* Use adjacent sibling selector to hide the 'Cancel Ad' button on the Create Ad confirmation pages */
div.form_saved_message + p a.create-ad-next-step.action_cancel,
div.form_saved_message_sent + p a.create-ad-next-step.action_cancel,
div.gform_confirmation_wrapper + p a.create-ad-next-step.action_cancel
div.form_saved_message ~ p a.create-ad-next-step.action_cancel,
div.form_saved_message_sent ~ p a.create-ad-next-step.action_cancel,
div.gform_confirmation_wrapper ~ p a.create-ad-next-step.action_cancel,
div.form_saved_message + p a.create-ad-next-step,
div.form_saved_message_sent + p a.create-ad-next-step,
div.gform_confirmation_wrapper + p a.create-ad-next-step,
div.form_saved_message ~ p a.create-ad-next-step,
div.form_saved_message_sent ~ p a.create-ad-next-step,
div.gform_confirmation_wrapper ~ p a.create-ad-next-step {
    display: none !important;
}

div.form_saved_message form input[name="gform_resume_email"] {
    min-width: 50% !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

a.subscription-manager-next-step {
    background: #444444 none repeat scroll 0 0;
    color: #ffffff;
    display: block;
    font-weight: bold;
    margin: 5px 0;
    padding: 5px;
    border-radius: 0 0 5px 5px;
}

a.subscription-confirmation-next-step {
    background: #444444 none repeat scroll 0 0;
    color: #ffffff;
    display: block;
    font-weight: bold;
    margin: 5px 0;
    padding: 5px;
    border-radius: 0 0 5px 5px;
}

span.pmpro_thead-note {

}

tr#aircraft-ownership-enticement_tr td,
span.aircraft-ownership-enticement {
    display: block;
    clear: both;
    width: 100%;
    max-width: 500px;
}

div.tml.tml-profile form input, 
div.tml.tml-profile form textarea, 
div.tml.tml-profile form select {
    width: 90%!important;
}
div.tml.tml-profile form input.regular-text {
    width: 100%!important;
}

div.backend-print-production {
    position: absolute;
    top: 5px;
    left: 60px;
    color: #fff;
    background:rgba(0,0,0,0.7);
    padding: 5px 10px;
    z-index: 112;
}

div.header-user-info,
div.header-user-info a {
    position: absolute;
    top: 5px;
    right: 60px;
    color: #fff;
    background:rgba(0,0,0,0.7);
    padding: 5px 10px;
    max-width: 350px;
    z-index: 112;
}
div.backend-print-production a,
div.header-user-info a {
    color: #fff;
    background:rgba(0,0,0,0.7);
}

/* the following CSS is used in conjunction with code in header.php 
   that code looks for the logged in user's membership level and 'displays' any relevant hidden content
*/
.admin_only {
    display: none !important;
}
.advertiser_only {
    display: none !important;
}
.subscriber_only {
    display: none !important;
}
.premium_only {
    display: none !important;
}

body.page-template-template-premium .pmpro-no-access div.pmpro_content_message,
body.page-template-template-premium-lite .pmpro-no-access div.pmpro_content_message {
    color: rgba(0,0,0,1) !important;
    margin: 20px !important;
}
body.page-template-template-premium .pmpro-no-access div.pmpro_content_message a,
body.page-template-template-premium-lite .pmpro-no-access div.pmpro_content_message a {
    color: rgba(0,0,0,1) !important;
    margin: 20px 0 !important;
}

div.registration-current-user-info {
    margin: 20px;
}

div.gform_confirmation_wrapper div.gform_confirmation_message {
    border: 1px solid #000 !important;
    padding: 20px !important;
    margin-top: 20px !important;
    background-color: #e6e7ec !important;
}

div.content_wrap section article {
    /*    margin-top: 20px !important;*/
}

p#pmpro_account_loggedin a {
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
    background: #efd500;
    width: auto;
    font-weight: bold;
}

.gform_wrapper .gform_footer {
    position: relative;
}
body.parent_lodge-an-advertisement .gform_wrapper .gform_footer {
    min-height: 90px;
    background-color: #fff;
}

.gform_wrapper .gform_footer input[type="submit"] {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 134px !important;
    min-width: 134px !important;
    height: 74px;
    line-height: 74px;
    
    color: #000000;
    
    background: transparent;
    background-image: none;
    background-image: url(img/category-listing-view-details.png);
    
    margin: 0 0 0 0 !important;
    padding: 10px 0 0 50px !important;
}

body.listing-alerts.parent_premium-members .gform_wrapper .gform_footer input[type="submit"] {
    bottom: -20px;
    right: -20px;
}

.gform_wrapper .gform_footer input[type="submit"]:hover {
    color: #fff;
    background-image: url(img/category-listing-view-hover.png);
}

.gform_wrapper .gform_footer a.gform_save_link, 
.gform_wrapper .gform_page_footer a.gform_save_link,
.gform_wrapper .gform_footer a.create-ad-next-step.action_cancel, 
.gform_wrapper .gform_page_footer a.create-ad-next-step.action_cancel {
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;

    font-variant: normal;
    line-height: 1.2;
    margin-left: 16px;
    display: -moz-inline-stack;
    display: inline-block;
    
    background: #efd500;
    color: #000000;
    
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    text-align: center;
    border: 0px;
    border-radius: 0;
    border-bottom-right-radius: 10px;
}

.gform_wrapper .gform_footer a.gform_save_link:hover, 
.gform_wrapper .gform_page_footer a.gform_save_link:hover,
.gform_wrapper .gform_footer a.create-ad-next-step.action_cancel:hover, 
.gform_wrapper .gform_page_footer a.create-ad-next-step.action_cancel:hover {
    color: #ffffff;
    background: #042b5f;
}


@media only screen and (max-width: 641px) {
    
    .gform_wrapper .gform_footer {
        min-height: 150px;
    }
    
    .gform_wrapper .gform_footer a.create-ad-next-step.action_cancel, 
    .gform_wrapper .gform_page_footer a.create-ad-next-step.action_cancel {
        margin-bottom: 30px;
    }
}

@media only screen and (min-width: 641px) {
    
    .gform_wrapper .gform_footer a.gform_save_link, 
    .gform_wrapper .gform_page_footer a.gform_save_link,
    .gform_wrapper .gform_footer a.create-ad-next-step.action_cancel, 
    .gform_wrapper .gform_page_footer a.create-ad-next-step.action_cancel {
        font-size: 1em;
        margin-left: 16px;
        display: -moz-inline-stack;
        display: inline-block;
    }
}

@media only screen and (max-width: 761px), (max-device-width: 1023px) and (min-device-width: 768px) {
    .gform_wrapper .gform_footer a.gform_save_link, 
    .gform_wrapper .gform_page_footer a.gform_save_link,
    .gform_wrapper .gform_footer a.create-ad-next-step.action_cancel, 
    .gform_wrapper .gform_page_footer a.create-ad-next-step.action_cancel {
        margin-left: 0;
    }
}

div#ad-summary-char-count {
    background: #fffece;
    color: #000000;
    text-align: right;
}

p.aa-headline-ads-title {
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.176;
    margin-bottom: 6px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 20px;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}
p.aa-headline-ads-summary {
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.286;
    margin-bottom: 12px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}

p.aa-headline-ads-read-more {
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.176;
}

small,
.pmpro-checkout small,
div#pmpro_account small {
    font-size: 100% !important;
}

#pmpro_account-membership .pmpro_actionlinks a, 
#pmpro_account-profile .pmpro_actionlinks a,
span.pmpro_checkout-h3-msg a{
    display: inline-block;
    color: #444;
    background: #efd500;
    padding: 5px;
    border-radius: 5px;
    margin: 0px 3px 3px 0px;
    font-size: 1.2em;
}

form.pmpro_form .input, 
form.pmpro_form textarea, 
form.pmpro_form select {
    min-width: 90%;    
}

div#pmpro_account table tbody td {
    padding: 0 15px 0 0;
}


html body.page-template-single-ad-post-print-review .head_wrapper,
html body.page-template-page-ad-post-print-review .head_wrapper {
    display: none;
    min-height: 0;
    height: 0;
}

html body.page-template-single-ad-post-print-review .sub-header-container,
html body.page-template-page-ad-post-print-review .sub-header-container {
    display: none;
    min-height: 0;
    height: 0;
}

html body.page-template-single-ad-post-print-review div.wrapper,
html body.page-template-page-ad-post-print-review div.wrapper { 
    margin-top: 0; 
    margin: 0;
}

html body.page-template-single-ad-post-print-review div.footer_header,
html body.page-template-page-ad-post-print-review div.footer_header,
html body.page-template-single-ad-post-print-review div.footer_wrap,
html body.page-template-page-ad-post-print-review div.footer_wrap {
    display: none;
    margin: 0;
}

html body.page-template-single-ad-post-print-review div.copyright,
html body.page-template-page-ad-post-print-review div.copyright {
    display: none;
    margin: 0;
}

html body.page-template-single-ad-post-print-review .classie_preview,
html body.page-template-page-ad-post-print-review .classie_preview {
    text-align: left;
    float: left;
}

html body.page-template-single-ad-post-print-review .classie_container,
html body.page-template-page-ad-post-print-review .classie_container {
    text-align: left;
    clear: both;
}

html body.page-template-single-ad-post-print-review ul.no-bullets li,
html body.page-template-page-ad-post-print-review ul.no-bullets li {
    list-style-type: none;
    margin: 10px;
    float: left;
}

html body.page-template-single-ad-post-print-review div#cookie-law-info-bar,
html body.page-template-page-ad-post-print-review div#cookie-law-info-bar,
html body.page-template-single-ad-post-print-review #cookie-law-info-again,
html body.page-template-page-ad-post-print-review #cookie-law-info-again {
    display: none !important;
    min-height: 0;
    height: 0;
}

html body.page-template-single-ad-post-print-review ul.no-bullets.linked-images li, 
html body.page-template-page-ad-post-print-review ul.no-bullets.linked-images li ,
html body.page-template-single-ad-post-print-review ul.no-bullets.linked-images li img, 
html body.page-template-page-ad-post-print-review ul.no-bullets.linked-images li img { 
    max-width: 100px !important;
}

div.display-posts-listing.latest-ads { padding-bottom: 0; }

a.latest-listings-read-more, 
a.news-announcements-read-more {
    display: inline-block; 
    float: right;
    text-align: right;
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.176;
    margin-top: 15px;
    text-transform: uppercase;
}

a.add-news-item { 
    display: block; 
    clear: both;
    width: 100%; 
    text-align: left; 
    margin-top: 20px; 
    margin-bottom: 20px; }

iframe {
    height: 100% !important; 
    width: 100% !important; 
    overflow: hidden !important; 
    margin: 0 !important; 
    padding: 0 !important;  
    background-color: transparent !important; 
    border: 0 !important;
    min-height: 300px !important;
}

.home article .home-youtube-embed {
    margin: 0 auto 20px auto;
    overflow: hidden;
}

.home article .home-youtube-embed iframe {
    display: inline-block !important;
    float: left !important;
    margin-right: 3% !important;
    width: 46% !important;
    height: 165px !important;
    min-height: 165px !important;
    margin-bottom: 20px!important;
}

/* 600px and down */
@media only screen and (max-width: 600px) {
    .home article .home-youtube-embed iframe {
        display: block !important;
        float: none!important;
        margin-right: 0 !important;
        width: 100% !important;
        height: 300px !important;
        min-height: 300px !important;
        margin-bottom: 20px!important;
    }
}

.home article .home-youtube-embed iframe .ytp-title-text,
.home article .home-youtube-embed iframe .ytp-title-link,
.ytp-title-text,
.ytp-title-link {
    white-space: normal !important;
}

.home article .home-youtube-embed br {
    display: none;
}

.home article .home-youtube-embed .ytp-title {
    display: none !important;
}

strong.latestads-post-title,
span.latestads-price-statement {
    display: block;
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.286;
    margin-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0px;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}

span.latestads-price-statement {
    font-weight: normal;
    margin-bottom: 0px;
}

span.latestads-price-statement {
    margin-bottom: 6px;
}

p.latestads-summary {
    margin-bottom: 4px;
    display: none;
}

p.latestads-view-dtls {
    display: block;
    -epub-hyphens: none;
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.154;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 12px;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    widows: 1;
}

div.news-col {
    float: left;
    width: 48%;
}
div.news-col.first {
    margin-right: 2%;
}

body.browse-digital-edition div.wrapper div.content_wrap section article {
    padding-top: 0px;
    padding-left: 0;
    padding-right: 0;
}
a.digital-edition-fullscreen {
    position: absolute;
    top: 0;
    right: 0;
}
a.digital-edition-fullscreen img { max-width: 52px; border: 0; padding: 0; margin: 0; margin-right: 1px; }


div.digital-edition-details-container {
    display: inline-block;
    max-width: 195px;   /* was 390px */
    border: 1px solid black;
    padding: 10px;
    margin: 10px 10px 10px 0;
}
div.digital-edition-details-container img {
    width: 100%;
    text-align: center;
}

html body.page-template-single-ad-post-print-review div.classie_preview,
html body.page-template-page-ad-post-print-review div.classie_preview {
    min-width: 40%;
}

html body.page-template-single-ad-post-print-review table.classie-preview-content,
html body.page-template-page-ad-post-print-review table.classie-preview-content { 
    border: 1px dotted grey; max-width: 50%;
}
html body.page-template-single-ad-post-print-review table td,
html body.page-template-page-ad-post-print-review table td {
    padding: 3px; border: 0;
}
html body.page-template-single-ad-post-print-review table.with-border td,
html body.page-template-page-ad-post-print-review table.with-border td {
    border: 1px dotted grey;
}
html body.page-template-single-ad-post-print-review table td.label,
html body.page-template-page-ad-post-print-review table td.label {
    font-weight: bold;
}
html body.page-template-single-ad-post-print-review table td.content,
html body.page-template-page-ad-post-print-review table td.content {
}

/* we want to hide the email address on PROFILE edit for 'normal punters' */
/* once LIVE, we will register users where username == email address, so we don't want the user to be able to change their email address */
/* mpdeegan - need to confirm with Tony and Lisa */
.your-profile .tml-email-wrap { display: none; }
.your-profile .tml-admin_bar_front-wrap { display: none; }

.tml table.form-table { width: 90%; }
.tml table.form-table th { display: block; clear: both; width: 100%; }
.tml table.form-table td { display: block; clear: both; width: 100%; }


form#searchform li.ui-menu-item {
    cursor: pointer;
}

form#searchform li.ui-autocomplete-parent-category,
form#searchform li.ui-autocomplete-category {
    cursor: default;
}


table.widefat {
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    background: #fff;
}


/* .widefat - main style for tables */
.widefat {
    border-spacing: 0;
    width: 100%;
    clear: both;
    margin: 0;
}

.widefat * {
    word-wrap: break-word;
}

.widefat a,
.widefat button.button-link {
    background: #efd500;
    text-decoration: none !important;
    padding: 5px;
}
.widefat a:hover {
    color: #fff;
    background: #042b5f;
}

.widefat td,
.widefat th {
    padding: 8px 10px;
}

.widefat thead th,
.widefat thead td {
    border-bottom: 1px solid #e1e1e1;
}

.widefat tfoot th,
.widefat tfoot td {
    border-top: 1px solid #e1e1e1;
    border-bottom: none;
}

.widefat .no-items td {
    border-bottom-width: 0;
}

.widefat td {
    vertical-align: top;
}

.widefat td,
.widefat td p,
.widefat td ol,
.widefat td ul {
    font-size: 13px;
    line-height: 1.5em;
    text-align: center;
}

.widefat th,
.widefat thead td,
.widefat tfoot td {
    text-align: center;
    line-height: 1.3em;
    font-size: 14px;
}

.widefat th input,
.updates-table td input,
.widefat thead td input,
.widefat tfoot td input {
    margin: 0 8px 0 0;
    padding: 0;
    vertical-align: text-top;
}

.widefat .check-column {
    width: 2.2em;
    padding: 6px 0 25px;
    vertical-align: top;
}

.widefat tbody th.check-column {
    padding: 9px 0 22px;
}

.widefat thead td.check-column,
.widefat tbody th.check-column,
.updates-table tbody td.check-column,
.widefat tfoot td.check-column {
    padding: 11px 3px 0 0;
}

.widefat thead td.check-column,
.widefat tfoot td.check-column {
    padding-top: 4px;
    vertical-align: middle;
}

div #deadline-contact-us {
    overflow: hidden;
    background-color: #042b5f;
    border-bottom-right-radius: 10px;
    margin-bottom: 0px;
}
div #deadline-container, 
div #deadline-container h2, 
div #deadline-container p { 
    background-color: #042b5f;
    color: #fff !important;
}
div #deadline-container h2 {
    color: #042b60; 
    background-color: #042b5f;
    font-family: "Work Sans", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    text-transform: uppercase;
}
div #deadline-container p { 
    background-color: #042b5f;
    padding: 0 10px;
    max-width: 300px;
}
div #contact-us-container,
div #contact-us-container p {
    border-bottom-right-radius: 10px;
    background-color: #ead518 !important;
    color: #002b64 !important;
    margin-bottom: 0;
}

div #contact-us-container span.cta {
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: bold;
    display: inline-block;
    width: 48%;
}

a.why-register {
    display: block;
    color: #FFFFFF;
    background: #444444;
    padding: 5px;
    margin: 5px 0px;
    font-weight: bold;
    border-radius: 0px 0px 5px 5px;
    text-decoration: none !important;
}

.footer_header,
.footer_wrap {
    display: none;
}

body.aircraft.parent_aircraft .footer_header,
body.components.parent_components .footer_header,
body.education.parent_education .footer_header,
body.employment.parent_employment .footer_header,
body.property.parent_property .footer_header,
body.services.parent_services .footer_header,
body.supplementary.parent_supplementary .footer_header,
body.archive.tax-aircraft-types .footer_header,
body.archive.tax-general-equipment-parts .footer_header,
body.archive.tax-general-education .footer_header,
body.archive.tax-general-employment .footer_header,
body.archive.tax-general-property .footer_header,
body.archive.tax-general-services .footer_header,
body.archive.tax-general-other .footer_header {
    display: inline-block;
}

body.aircraft.parent_aircraft .footer_wrap,
body.components.parent_components .footer_wrap,
body.education.parent_education .footer_wrap,
body.employment.parent_employment .footer_wrap,
body.property.parent_property .footer_wrap,
body.services.parent_services .footer_wrap,
body.supplementary.parent_supplementary .footer_wrap,
body.archive.tax-aircraft-types .footer_wrap,
body.archive.tax-general-equipment-parts .footer_wrap,
body.archive.tax-general-education .footer_wrap,
body.archive.tax-general-employment .footer_wrap,
body.archive.tax-general-property .footer_wrap,
body.archive.tax-general-services .footer_wrap,
body.archive.tax-general-other .footer_wrap {
    display: inline-block;
}

body.aircraft.parent_aircraft .copyright,
body.components.parent_components .copyright,
body.education.parent_education .copyright,
body.employment.parent_employment .copyright,
body.property.parent_property .copyright,
body.services.parent_services .copyright,
body.supplementary.parent_supplementary .copyright,
body.archive.tax-aircraft-types	.copyright,
body.archive.tax-general-equipment-parts .copyright,
body.archive.tax-general-education .copyright,
body.archive.tax-general-employment .copyright,
body.archive.tax-general-property .copyright,
body.archive.tax-general-services .copyright,
body.archive.tax-general-other .copyright {
    display: inline-block;
}

body.tml-action-login.login .copyright, 
body.tml-action-lostpassword.lostpassword .copyright {
    margin: 200px 0 0 0;
}

body.pmpro-invoice a.pmpro_a-print,
body.pmpro-confirmation a.pmpro_a-print { display: none; }

body.page-template-template-home .unpublished-edition, 
body.page-template-template-home .missing-digital-edition-detail {
    background: #c95b40;
    color: #fff;
    padding: 10px;
    text-align: left;
    margin: 15px 0px 0px 0px;
}

body.page-template-template-home .unpublished-edition a,
body.page-template-template-home .missing-digital-edition-detail a {
    background: #c95b40;
    color: #fff !important;
    text-decoration: underline !important;
}

body.page-template-template-home .current-edition {
    background: #efd500;
    padding: 10px;
    text-align: left;
    margin: 15px 0px 10px 0px;
}


/* mpdeegan edits */
/* mpdeegan edits */
/* mpdeegan edits */



/*

body.page-template-template-premium {
    background: none !important;
}
body.page-template-template-premium .sidebar {
    display: inline-block !important;
    min-width: 200px !important;
    max-width: 200px !important;
}
body.page-template-template-premium .widget_nav_menu ul.menu {
    min-width: 200px !important;
}
body.page-template-template-premium section[role="main"] {
    display: inline-block;
    max-width: 620px !important;
}
body.page-template-template-premium .sidebar form#searchform {
    display: none !important;
}
body.page-template-template-premium .sidebar .member_actions {
    display: none !important;
}
body.page-template-template-premium .sidebar div #deadline-contact-us {
    display: none !important;
}
body.page-template-template-premium .sidebar corp-ads-container{
    max-width: 300px;
}

*/

.corp-ads-container .corp-ad img.aligncenter { margin: 20px auto 20px auto; }

/* mpdeegan Soren Theme edits */
/* mpdeegan Soren Theme edits */
/* mpdeegan Soren Theme edits */


* {
    box-sizing: border-box;
}

.row::after {
    content: "";
    clear: both;
    display: block;
}

body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, p, pre, code, blockquote {
    margin:0;
    padding:0;
    border-width:0;
    -epub-hyphens: auto;
}

body {
    -epub-hyphens: none;
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.357;
    margin-bottom: 12px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}

h1, h2 {
    -epub-hyphens: none;
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.182;
    margin-bottom: 12px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 12px;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}

body.home h2,
body.lodge-an-advertisement h2 {
    border-bottom: 1px solid #ced2e2;
}

body.home h1,
body.home h2 {
    text-transform: uppercase;
    padding-left: 10px;
}

body.lodge-an-advertisement h2 {
    font-size: 17px;
    margin-top: 24px;
    text-transform: uppercase;
}

body.event-template-default h1, 
body.single-event h1, 
body.page-template-template-premium h1 {
    color:#191919;
    font-size:22px;
}

/* 
How I change the thickness of my <hr> tag
source: https://stackoverflow.com/questions/4151743/how-i-change-the-thickness-of-my-hr-tag 
*/
hr.top {
    border: none;
    height: 1px;
    /* Set the hr color */
    color: #042b60; /* old IE */
    background-color: #042b60; /* Modern Browsers */
    text-align:center;
    margin: 0 auto;
    padding:0;
}

body.tml-action-login hr.top,
body.tml-action-lostpassword hr.top,
body.tml-action-resetpass hr.top {
    display: none;
}

body.page-template-default .widget_area_2,
body.news-template-default.single-news .widget_area_2 {
    border-top: 1px solid #042b60;
    border-top-left-radius: 10px;
}
body.parent_news-and-announcements-archive .widget_area_2 {
    border-top-left-radius: 0;
    width: 200px;
}

html, button, input, select, textarea {
    font-family: "Work Sans", sans-serif !important;
}

select option.data-parent {
    font-weight:bold;
}

p {
    margin-bottom:12px;
    margin-left:0;
    margin-right:0;
    margin-top:0;
}

strong {
    font-weight: 700;
}

span.date-time {
    display: inline-block;
    width: 100%;

    -epub-hyphens:none;
    color:#1e386c;
    font-family:"Work Sans", sans-serif;
    font-size:14px;
    font-style:normal;
    font-variant:normal;
    font-weight:bold;
    line-height:1.429;
    margin-bottom:6px;
    margin-left:0;
    margin-right:0;
    margin-top:6px;
    orphans:1;
    page-break-after:auto;
    page-break-before:auto;
    text-align:left;
    text-decoration:none;
    text-indent:0;
    text-transform:none;
    widows:1;
}

span.subhead {
    display: block;

    -epub-hyphens:none;
    color:#191919;
    font-family:"Work Sans", sans-serif;
    font-size:17px;
    font-style:normal;
    font-variant:normal;
    font-weight:bold;
    line-height:1.235;
    margin-bottom:12px;
    margin-left:0;
    margin-right:0;
    margin-top:6px;
    orphans:1;
    page-break-after:auto;
    page-break-before:auto;
    text-align:left;
    text-decoration:none;
    text-indent:0;
    text-transform:none;
    widows:1;
}

img.half-width {
    float: left;
    width: 350px;
    max-width: 100%;
    padding: 0 10px 10px 0 !important;
}

img.full-width {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}
.header img.full-width { 
    width: auto;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0 !important;
}
.wp-caption {
    background: #fff;
    border: none;
    max-width: 96%;
    padding: 0;
}

.wp-caption.alignleft {
    width: 350px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    padding-top: 0;
    padding-bottom: 10px;
    width: auto;
}
.wp-caption img.half-width {
    width: 350px;
    padding: 0 0 10px 0
}

.wp-caption .wp-caption-text, 
.gallery-caption, 
p.thumbnail-caption,
p.wp-caption-text {
    
    -epub-hyphens:none;
    color: #191919;
    background-color: #ced1e1;
    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-variant: normal;
    font-style: italic;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 6px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding: 10px 15px 10px 15px;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}

.wp-caption .wp-caption-text, 
p.thumbnail-caption {
    margin-bottom: 25px;
}

[class*="col-"] {
    float: left;
}

.col-menu { width: 160px; max-width: 160px; padding: 20px 0 ; }
.col-content { width: calc(100% - 460px); max-width: 760px; padding: 20px 20px 20px 0; }
.content-inner { border-top: 1px solid #1e386c; padding: 0 0 0 20px; }
.col-ads { width: 300px; max-width: 300px; padding: 20px 0; }


@media only screen and (max-width: 1048px) {
    .header img.full-width { 
        width: 100%;
    }
}

@media only screen and (max-width: 1023px) {
    .col-menu { padding: 10px 0;}
    .col-content { padding: 10px 10px 10px 0; }
    .content-inner { padding: 0 0 0 10px; }
    .col-ads { padding: 10px 0; }
}

@media only screen and (max-width: 767px) {
    /* For mobile phones: */
    [class*="col-"] {
        width: 100%;
        max-width: 100%;
    }
    .content-inner { border-top: none; }
}

/* 
    the "hidden-on-load" CSS class is used in conjunction with the Aviation-Trader-2015\js\scripts.js 
    to hide some content until the page is loaded 
*/
.hidden-on-load { display: none !important; }

.sub-header-container {
    clear: both;
    width: 100%;
    max-width: 1120px;
    margin: 20px auto 0px auto;
    text-align: center;
    overflow: hidden;
}

.search-member-actions-container {
    float: left;
    width: calc(100% - 300px);
}

.search-container,
.member_actions-container {
    float: left;
    width: 390px;
    min-height: 113px;
    border-radius: 15px 0 0 0;
    background: #042b5f;
    margin-right: 20px;
    margin-bottom: 20px;
}

.deadline-contact-us-container.desktop-only {
    float: left;
    width: 300px;
}
.deadline-contact-us-container.non-desktop {
    display: none;
}

div #deadline-contact-us {
    min-height: 113px;
}

div #deadline-container h2 {
    margin: 15px 0 13px 0;
    text-align: center;
    border: 0;
}

.archive-cat-listings h1,
.archive-cat-listings h2 {
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.176;
    margin-bottom: 6px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 6px;
    text-transform: uppercase;
}
.archive-cat-listings h1 {
    margin-bottom: 20px;
}
.archive-cat-listings p.price-statement {
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.286;
    margin-bottom: 12px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}
.archive-cat-listings p {
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.286;
    margin-bottom: 12px;
    margin-right: 70px;
}

.office-admin-eyes-only {
    border: 1px solid #000;
    padding: 20px;
    margin-top: 20px;
    background-color: #e6e7ec;
}
.office-admin-eyes-only a {
    text-decoration: underline !important;
}

div.ad-validation-error-msgs {
    border: 1px solid #000;
    padding: 20px;
    margin-top: 20px;
    color: #790000;
    background-color: rgba(255,223,224,.25);
}
div.ad-validation-error-msgs a {
    text-decoration: underline !important;
}

/* The below CSS will hide elements visually by default but keep them available to screen readers. */
/* https://make.wordpress.org/accessibility/handbook/markup/the-css-class-screen-reader-text/ */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* The CSS elements that are only visible on keyboard focus (like skip links): */
.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

/*
body.parent_lodge-an-advertisement .gform_wrapper {
    display: inline-block;
    float:left;
    max-width: 400px;
    padding-right: 20px;
}

body.parent_lodge-an-advertisement .ad-type-detail.sidebar {
    display: inline-block;
    float:right;
    max-width: 300px;
}
*/



body.premium-members.parent_premium-members section[role="main"] {
    border:0;
    margin:0 auto;
    padding:0;
    width: 100%;
}


table#premium-members-landing.desktop-only {
    display: inline-block;
}
div.premium-members-landing {
    display: none;
}

/* 1200px and down */
@media only screen and (max-width: 1200px) {

    table#premium-members-landing.desktop-only {
        display: none;
    }
    div.premium-members-landing {
        display: inline-block;
    }
}

table#premium-members-landing.desktop-only {
    width: 100%;
    height: 484px;
    border:0;
    margin:0;
    padding:0;
    background: url(img/bg-image-1152x484.jpg);
}

table#premium-members-landing.desktop-only td { 
    display:table-cell; 
    border:0;
    margin:0;
    padding:0;
    width: 384px; 
    height: 121px;
    background: url(img/01-small-normal-bg-transparent-w.border-384x121.png);
}
table#premium-members-landing.desktop-only td:hover {
    background: url(img/02-small-hover-bg-blue-w.border-384x121.png);
}

table#premium-members-landing.desktop-only td.rowspan2 {
    width: 384px;
    height: 242px;
    background: url(img/03-big-normal-bg-transparent-w.border-384x242.png);
}

table#premium-members-landing.desktop-only td.rowspan2:hover {
    background: url(img/04-big-hover-bg-blue-w.border-384x242.png);
}

table#premium-members-landing.desktop-only td a {
    display: block;
    width: 384px; 
    height: 121px;
    line-height: 121px;
    vertical-align: middle;
    text-decoration: none;
    padding-left: 40px;
    padding-top: 30px;
    
    color: #ffffff;
    font-family: "Work Sans Medium", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    widows: 1;
    border:0;
}
table#premium-members-landing.desktop-only td.rowspan2 a {
    height: 242px;
}
table#premium-members-landing.desktop-only td a span {
    display: block;
    max-width: 185px;
}

div.premium-members-landing {
    text-align:center;
}

div.premium-members-landing ul {
    display: block;
    list-style: none;
    padding: 0px;
    margin: 0px;
}

div.premium-members-landing li {
    display: inline-block;
    min-width: 300px;
    background: url(img/00-small-normal-bg-cloudst-w.border-384x121.jpg);
    width: 373px;
    max-height: 118px;
    height: 118px;
    background-size: contain;
    overflow: hidden !important;
    margin: 0;
    padding: 0;
}
div.premium-members-landing li a {
    display: block;
    vertical-align: middle;
    text-decoration: none;
    padding-left: 40px;
    padding-top: 30px;
    color: #ffffff;
    font-family: "Work Sans Medium", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    widows: 1;
    border: 0;
}

div.premium-members-landing li a span {
    display: block;
    max-width: 185px;
}

/* 780px and down */
@media only screen and (max-width: 780px) {
    div.premium-members-landing li {
        width: 300px;
        max-height: 95px;
        height: 95px;
    }
    
    div.premium-members-landing li a {
        padding-left: 30px;
        padding-top: 25px;
        font-size: 15px;
        max-height: 95px;
    }
    
    div.premium-members-landing li a span {
        display: block;
        max-width: 140px;
    }

}

div.premium-members-landing li:hover {
    background: url(img/02-small-hover-bg-blue-w.border-384x121.png);
    background-size: contain;
}

div.listing-img-container { 
    display: inline-block;
    float: left;
    position: relative;
}


/*
.latest_ad_banner {
    background: url(img/featuredad.png) right top;
    height: 100px;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 115px;
    z-index: 110;
    opacity: .9;
}
*/

.latest_ad_banner {
    height: 40px;
    width: 120px;
    position: absolute;
    left: 150px;
    top: -10px;
    z-index: -2;
    opacity: 1;
}

.rotated-bottom-to-top {

    /* make width fit content */
    display: inline-block;

    /* rotate 90 degrees counterclockwise */
    /* and move down on 100% of its height */
    /* (actually width, but when rotated it looks like height) */
    -webkit-transform: rotate(-90deg) translateX(-100%);
    -moz-transform: rotate(-90deg) translateX(-100%);
    -ms-transform: rotate(-90deg) translateX(-100%);
    -o-transform: rotate(-90deg) translateX(-100%);
    transform: rotate(-90deg) translateX(-100%);

    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

    /* perform this transformation relatively to the top left corner of block */
    -webkit-transform-origin:top left;
    -moz-transform-origin: top left;
    -ms-transform-origin: top left;
    -o-transform-origin: top left;
    transform-origin: top left;

    padding: 20px 10px 10px 10px;
    background-color: #efd500;

    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.2;
    
    text-transform: uppercase;
}

.at-membership-level-form-container {
    position: relative;
    clear: both;
    display: block;
    margin: 80px;
}

div.gform_wrapper div.ginput_container ul.gfield_radio { padding-left: 0!important; }
.at-membership-level-form-container input[type='radio'],
.at-membership-level-form-container input[type='checkbox'] {

    /* Hide the input, but have it still be clickable */
    opacity: 0;
    display: none;
    float: left;
    width: 18px;
}

.at-membership-level-form-container input[type='radio'] + label,
.at-membership-level-form-container input[type='checkbox'] + label {
    margin: 0;
    clear: none;

    /* Left padding makes room for image */
    padding: 5px 0 4px 28px;

    /* Make look clickable because they are */
    cursor: pointer;

    background: url(img/off.png) left center no-repeat;
    background-size: 20px 20px;
}

/* Change from unchecked to checked graphic */

.at-membership-level-form-container input[type='radio'] + label,
.at-membership-level-form-container input[type='checkbox'] + label {
    background: url(img/toggle-off-radio-02.png) left center no-repeat;
    background-size: 20px 20px;
}
.at-membership-level-form-container input[type='radio']:checked + label {
    background-image: url(img/toggle-on-radio-02.png);
    background-size: 20px 20px;
}
.at-membership-level-form-container input[type='checkbox']:checked + label {
    background-image: url(img/toggle-on-radio-02.png);
    background-size: 20px 20px;
}

.at-membership-level-form-container input[type=submit] {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 134px;
    height: 74px;
    line-height: 74px;
    background: transparent;
    background-image: url(img/category-listing-view-details.png);
    
    color: #042b60;
    font-family: "Work Sans Medium", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    height: 74px;
    line-height: 74px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    text-transform: uppercase;
    widows: 1;
    display: block;
    
    padding-top: 10px;
    padding-left: 60px;
    
    border: 0 !important;
}

.at-membership-level-form-container input[type=submit]:hover {
    text-decoration: none;
    background-image: url(img/category-listing-view-hover.png);
    color: #fff;
}

/* TO TOP */
#toTop { display:none; text-decoration:none; position:fixed; bottom:110px; right:10px; overflow:hidden; width:46px; height:46px; border:none; text-indent:100%; background:url('img/ui.totop.png') no-repeat left top; }
#toTopHover { background:url('img/ui.totop.png') no-repeat left -46px; width:46px; height:46px; display:block; overflow:hidden; float:left; opacity: 0; -moz-opacity: 0; filter:alpha(opacity=0); }
#toTop:active, #toTop:focus { outline: none; }


/* mpdeegan Soren Theme edits */
/* mpdeegan Soren Theme edits */
/* mpdeegan Soren Theme edits */



/* mpdeegan 2019-05-19 edits */
/* mpdeegan 2019-05-19 edits */
/* mpdeegan 2019-05-19 edits */

div.headline-ads-carousel-container, 
div.headline-ads-carousel-container-inner, 
.home #slider {    
    background: #ffffff !important;
}

.home #slider, .home #slider img {
    max-height: 300px;
}

.home #slider td {    
    background: #ffffff !important;
}

.home #slider td:first-child {
    padding: 1% 2% 1% 5%;
    vertical-align: top;
    width: 38%;
}

.home #slider td:last-child {
    vertical-align: middle;
    width: 60%;
    padding-right: 40px;
}

/* 900px and down */
@media only screen and (max-width:900px) {

    .home #slider td:first-child {
        padding: 1% 2% 1% 5%;
        vertical-align: top;
        width: 48%;
    }

    .home #slider td:last-child {
        vertical-align: middle;
        width: 50%;
        padding-right: 40px;
    }
}

/* 768px and down */
@media only screen and (max-width: 768px) {

    .home #slider td:first-child {
        padding: 1% 2% 1% 5%;
        vertical-align: top;
        width: 48%;
    }

    .home #slider td:last-child {
        vertical-align: middle;
        width: 50%;
        padding-right: 40px;
    }
}

/* 450px and down */
@media only screen and (max-width:450px) {

    .home #slider td:first-child {
        padding: 1% 2% 1% 8%;
        vertical-align: top;
        width: 100%;
    }

    .home #slider td:last-child {
        width: 0%;
        padding-right: 0;
        display: none;
    }
    
    .flex-direction-nav .flex-prev {
        left: -1px;
    }
}

#carousel, 
#carousel img {
    background-color: #ffffff !important;
}

.flexslider {    
    background: #ffffff !important;
}

.wp-caption {
    max-width: 100% !important;
    width: auto !important;
}

.wp-caption.aligncenter {
    display: block;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.news-template-default.single-news article img, 
.event-template-default.single-event article img, 
.single.page-template-template-premium article.post img {
    max-width: 100%;
    max-height: 400px;
    margin: 25px auto;
}

.news-template-default.single-news article img.single-template-featured, 
.event-template-default.single-event article img.single-template-featured, 
.single.page-template-template-premium article.post img.single-template-featured {
    max-width: 100%;
    max-height: 400px;
    margin: 25px auto 10px auto;
}

.news-template-default.single-news article .wp-caption img, 
.event-template-default.single-event article .wp-caption img, 
.single.page-template-template-premium article.post .wp-caption img {
    margin: 20px auto 0px auto !important;
}

#slider .flex-direction-nav a {
    top: 65% !important;
}

.flex-direction-nav a {
    top: 35% !important;
}

a.view-details-pdf-link {
    display: block;
    width: 100%;
    height: 74px;
    margin-top: -74px;
}

.archive article:hover .view-details-pdf-button span.inner-text,
.search-results article:hover .view-details-pdf-button span.inner-text,
.archive article:hover a .view-details-pdf-button span.inner-text,
.search-results article:hover a .view-details-pdf-button span.inner-text {
    color: #fff !important;
}

h1.headline-ads {
    border-bottom: 3px solid #042b60 !important;
}

div.headline-ads-carousel-container {
    padding: 0 0 5px 0;
    border-top-left-radius: 0;
    border-bottom: 3px solid #042b60;
}

.home #carousel li.aa-headline-ads-nav-img {
    width: 144px !important;
    margin-right: 20px !important;
}

.home #carousel li.aa-headline-ads-nav-img img {
    max-height: 88px !important;
}

.home #carousel li.aa-headline-ads-nav-img:last-child {
    margin-right: 0px !important;
}

.flexslider .slides { 
    max-height: 300px !important;
}
.flexslider .slides img { 
    max-height: 280px !important;
}

div.latest-listings-container {
    background-color: #ced2e2;
    border-top-left-radius: 15px;
    padding: 0 8px 0 20px;
    overflow: hidden;
}
div.latest-listings-header,
div.latest-listings-contents {
    clear: both;
    width: 100%;
}

h2.latest-listings, 
h2.news-announcements {
    float: left;
    border-bottom: 0 !important;
}
h2.latest-listings {
    margin-bottom: 0;
    margin-left: -20px;
    margin-right: 0;
    margin-top: 8px;
}

h2.news-announcements {
    margin-bottom: 4px;
}

div.latest-listings-contents .display-posts-listing .listing-item {
    width: 16.66666666666667%;
}

/* 500px and down */
@media only screen and (max-width: 500px) {
    
    body.home div.latest-listings-contents .display-posts-listing .listing-item {
        width: 33.33333333333334%;
    }
}

div.latest-listings-contents .display-posts-listing .latestads-view-dtls {
    display: none;
}

div.news-announcements-container {
    overflow: hidden;
}

div.news-announcements-header,
div.news-announcements-contents {
    clear: both;
    width: 100%;
}

div.news-announcements-contents {
    padding-top: 10px;
    border-top: 1px solid #ced2e2;
}

.news-announcements-contents .listing-item a.image img.attachment-homepage-news-featured {

}

.news-announcements-contents .listing-item a.title {
    display: block;
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 17px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.176;
    margin-bottom: 6px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0px;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}
.news-announcements-contents .listing-item a.title:after, 
.news-announcements-contents .listing-item a.title:after {
    content:"...";
}

.news-announcements-contents .listing-item span.date {
    display: block;
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.286;
    margin-bottom: 10px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}

.news-announcements-contents .listing-item span.excerpt {
    display: block;
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.286;
    margin-bottom: 12px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}

.news-announcements-contents .listing-item span.moretag {   
    display: block; 
    -epub-hyphens: none;
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.286;
    margin-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}

.news-announcements-contents .listing-item span.hide-br {

}

.news-announcements-contents .display-posts-listing {
    padding-bottom: 0px;
}

.news-announcements-contents .news-col .display-posts-listing.news_list .listing-item {
    padding: 0px 0px 0 0px;
}

.news-announcements-contents .listing-item span.excerpt {
    margin-bottom: 0;
}

div.news-full {
    border-bottom: 1px solid #ced1e1;
}

body.lodge-an-advertisement img.sml-featured-aircraft { max-width: 128px; height: auto; }
body.lodge-an-advertisement img.lge-featured-aircraft { max-width: 189px; height: auto; }

div#sidebar-social {
    display: block;
    float: right;
    margin: 0 0 20px 0;
    width: 100%;
}
div#sidebar-social-left {
    display: inline-block;
    float: left;
}
div#sidebar-social-right {
    display: inline-block;
    float: right;
}

img.sidebar-social-border,
img.sidebar-social-arrow {
    display: inline-block;
    float: left;
    height: 30px;
    margin: 0 5px;
}
img.sidebar-social-border.social-outside-border-left { padding-right: 5px; margin: 0 5px 0 0;}
img.sidebar-social-border.social-outside-border-right { padding-left: 5px; margin: 0 0 0 5px;}

span.sidebar-social-text {
    display: inline-block;
    float: left;
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.077;
    margin-bottom: 3px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 9px;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}

span.sidebar-social-text.like { padding: 0 5px; }
span.sidebar-social-text.follow { padding: 0 5px; }

img.sidebar-social-img {
    display: inline-block;
    float: left;
    width: 25px;
}
img.sidebar-social-img.social-follow-arrow { margin: 0 5px; }
img.sidebar-social-img.social-icon-facebook-black { margin: 0 5px; }
img.sidebar-social-img.social-icon-instagram { margin: 0 5px; }
img.sidebar-social-img.social-icon-twitter { margin: 0 5px; }
img.sidebar-social-img.social-icon-linkedin { margin: 0 5px; }


/* mpdeegan 2019-05-19 edits */
/* mpdeegan 2019-05-19 edits */
/* mpdeegan 2019-05-19 edits */

body.tml-action-login div.ssba-widget,
body.tml-action-lostpassword div.ssba-widget,
body.tml-action-resetpass div.ssba-widget {
    display: none !important;
}

select[name="wpcf[start-date][hour]"].wpt-form-select,
select[name="wpcf[start-date][minute]"].wpt-form-select,
select[name="wpcf[end-date][hour]"].wpt-form-select,
select[name="wpcf[end-date][minute]"].wpt-form-select {
    width: auto !important;
}

body.podcasts.parent_premium-members div.wrapper div.content_wrap section h1 { display: none !important; }
body.podcasts.parent_premium-members div.wrapper div.content_wrap section article img.Airwaves-by-Aviation-Trader-logo { float: left; margin-top: 10px !important; }
body.podcasts.parent_premium-members div.wrapper div.content_wrap section article h2.floated-left { float: left; color: #191919; }

span.price-statement { 
    display: inline-block; 
    margin-bottom: 10px;
}

div.webinars-training {
    clear: both;
    width: 100%;
    overflow: hidden;
}

div.mpdeegan-logging-msg { display: none !important; }
span.wishlist_item_internal { display: none !important; }
span.wishlist_id { display: none !important; }


/***************/
/***************/
/***************/

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

div.shiftnav-wrap {
    line-height: 1.4; /* Fixes ShiftNav setting an em based line height when we want a unitless multiplier. */
}

.shiftnav-inner {
    background: url() center top no-repeat; /* Specify the site logo you want to appear in the mobile menu. */
    padding-top: 0px; /* Set to however tall the site logo is. */
}

.shiftnav ul.shiftnav-menu ul.sub-menu li.menu-item > .shiftnav-target,
.shiftnav ul.shiftnav-menu ul.sub-menu li.shiftnav-retract > .shiftnav-target {
    line-height: 100%;
    padding: 15px 25px 15px 35px;
}

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
only screen and (min-resolution:144dpi) {

}

/* 1140px and down */
@media only screen and (max-width: 1140px) {

    .content_wrap {
        padding: 0px 15px;
    }
    
    /* SUB-HEADER */
    
    .search-member-actions-container {
        width: 100% !important;
        padding-left: 2% !important;
    }
    
    .search-container {
        width: 48% !important;
        margin-right: 2% !important;
    }
    
    .member_actions-container {
        width: 48% !important;
        margin-right: 2% !important;
    }
    
    div.headline-ads-container {
        margin-top: 20px;
    }

    select#advert_category {
        width: 400px !important;
        max-width: 100% !important;
        min-width: 1px !important;
    }
    
    #searchform .searchform_fieldset input#s {
        width: 400px !important;
        min-width: 1px !important;
    }

    div.deadline-contact-us-container.desktop-only {
        display: none !important;
    }
    
    .deadline-contact-us-container.non-desktop {
        display: inline-block !important;
        width: 300px;
    }

    
    /* SIDEBAR */
    
    div.ssba-widget div.ssba.ssba-wrap div {
        text-align: center !important;
    }
    
    div#sidebar-social {
        display: block;
        float: none;
        margin: 0px auto 40px auto;
        width: auto;
        max-width: 300px;
        overflow: hidden;
    }
    
    aside.sidebar a img.alignright {
        float: none;
        text-align: center !important;
        margin: 20px 20px 20px 20px !important;
    }    
}


/* SUB-HEADER on advanced search - make it SEARCH FORM "Wider" */

body.search.search-results.advancedsearch .search-member-actions-container {
    width: 100% !important;
    padding-left: 2% !important;
}

body.search.search-results.advancedsearch .search-container {
    width: 48% !important;
    margin-right: 2% !important;
}

body.search.search-results.advancedsearch .member_actions-container {
    width: 48% !important;
    margin-right: 2% !important;
}

body.search.search-results.advancedsearch select#advert_category {
    width: 400px !important;
    max-width: 100% !important;
    min-width: 1px !important;
}

body.search.search-results.advancedsearch #searchform .searchform_fieldset input#s {
    width: 400px !important;
    min-width: 1px !important;
}

body.search.search-results.advancedsearch div.deadline-contact-us-container.desktop-only {
    display: none !important;
}

body.search.search-results.advancedsearch .deadline-contact-us-container.non-desktop {
    display: inline-block !important;
    width: 300px;
}


/* 1070px and down */
@media only screen and (max-width: 1070px) {
    
    select#advert_category,
    #searchform .searchform_fieldset input#s {
        width: 375px !important;
    }
}

/* 1000px and down */
@media only screen and (max-width: 1000px) {
    
    select#advert_category,
    #searchform .searchform_fieldset input#s {
        width: 340px !important;
    }
}

/* 940px and down */
@media only screen and (max-width: 940px) {
    
    select#advert_category,
    #searchform .searchform_fieldset input#s {
        width: 300px !important;
    }
    
    #header-nav-container .nav li a {
        font-size: 13px !important;
        padding: 0 7px !important;
    }
    
}

/* 910px and down */
@media only screen and (max-width: 910px) {
    
    select#advert_category,
    #searchform .searchform_fieldset input#s {
        width: auto !important;
        min-width: 250px !important;
    }
}

/* 820px and down */
@media only screen and (max-width: 820px) {
    
    #header-nav-container .nav li a {
        font-size: 12px !important;
        padding: 0 6px !important;
    }
}

/* 768px and down */
@media only screen and (max-width: 768px) {
    
    select#advert_category,
    #searchform .searchform_fieldset input#s {
        width: auto !important;
        max-width: 250px !important;
        min-width: 250px !important;
    }
    
    .logo {
        text-align: center;
        padding: 0px;
    }

    .cornerbanner {
        top: 170px;
    }

    .sidebar,
    .home section[role="main"],
    section[role="main"] {
        display: block;
        border: none;
        padding: 0px !important;
        width: 100% !important;
    }

    .sidebar {
        width: 100%;
        max-width: none;
        text-align: center;
    }

    .sidebar-widget {
        text-align: left;
    }

    .content_wrap {
        display: block;
    }

    .widget_nav_menu {
        display: none;
    }

    .premium-images img {
        float: none;
        margin: 10px auto;
    }

    .premium_nav h3 {
        display: none;
    }

    .premium_nav.widget_nav_menu ul.menu {
        width: 100%;
    }

    .page-template-template-premium.logged-in .sidebar-premium {
        width: 100%;
        max-width: 100%;
    }

    .premium_nav.widget_nav_menu ul.menu li {
        display: inline-block;
        width: 100%;
        margin: 5px;
    }

    .premium-widgets > div {
        display: none;
    }

    .page-template-template-premium .sidebar {
        display: block;
    }

}


/*------------------------------------*\
    MOBILE NAV
\*------------------------------------*/

.mobilenav {
    display: none;
}

.mobilenav .member_actions {
    display: none;
}

/* 768px and down */
@media only screen and (max-width:768px) {
    

    #header-top-blue-container .logo {
        left: 5px;
        top: 50px;
        width: 100%;
        max-width: 90%;
    }

    .page-template-template-premium header .logo img, 
    .page-template-template-premium-lite header .logo img {
        max-width: 45%;
    }

    .header {
        padding-top: 40px;
    }
    
    div.header-user-info {
        display: none;
    }

    .nav {
        display: none;
    }

    .mobilenav {
        position: fixed;
        display: block;
        top: 0px;
        width: 100%;
        background: #ced2e2;
    }

    .mobile_nav_bar {
        display: block;
        height: 40px;
        background: #efd500 url(img/mobmenuicon_grey.png) no-repeat right 5px center;
        cursor: pointer;
    }

    .mobilenav li {
        display: block;
        border-bottom: 1px solid #042b5f; /* rgba(255,255,255,0.15) */
        padding: 0px;
    }

    .mobilenav li a {
        display: block;
        padding: 5px 10px;
        height: auto;
        text-align: left;
        font-weight: bold;
        color: #042b60;
        background-color: #ced2e2;
    }

    .mobilenav li a:hover {
        color: #042b60;
    }

    .mobile_slide {
        display: none;
    }

    li.mobile_nav_bar_sub_menu_parent > a {
        background: transparent url(img/mobmenuicon_grey.png) no-repeat right 5px top;
        background-size: 30px 30px;
    }

    li.mobile_nav_bar_sub_menu_parent.categories {}
    li.mobile_nav_bar_sub_menu_parent.categories ul.submenu {}

    li.mobile_nav_bar_sub_menu_parent.about-us {}
    li.mobile_nav_bar_sub_menu_parent.about-us ul.submenu {}

    li.mobile_nav_bar_sub_menu_parent.advertise {}
    li.mobile_nav_bar_sub_menu_parent.advertise ul.submenu {}
    
    
    li.mobile_nav_bar_sub_menu_parent ul.submenu {
        display: none;
    }

    .mobilenav ul {
        height: auto;
    }

    .mobilenav .menu {
        list-style: none;
        margin: 0px;
        padding: 0px;
    }

    .mobilenav .member_actions {
        display: block;
        margin: 0px;
    }

    .mobilenav .member_actions > a {
        display: inline-block;
        vertical-align: top;
        margin: 5px 10px;
        width: calc(50% - 20px);
        min-width: 230px;
        text-align: center;
    }
    
    /* hide the sidebar menu area as we are showing it's content in the mobile nav */
    body .sidebar-widget.widget_area_2,
    body.page-template-default .widget_area_2, 
    body.news-template-default.single-news .widget_area_2,
    aside.sidebar.sidebar-premium {
        display: none !important;
    }
    
    aside.sidebar.sidebar-standard {
        display: inline-block !important;
        width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    
}

/* 768px and down */
@media only screen and (max-width: 768px) {

    
    /* SUB-HEADER */
    
    .search-member-actions-container {
        width: auto !important;
        padding-left: 13px !important;
    }
    
    .search-container, .member_actions-container {
        width: auto !important;
        margin-right: 10px !important;
    }
    .search-container {
        width: 220px !important;
    }

    select#advert_category,
    #searchform .searchform_fieldset input#s {
        width: auto !important;
        max-width: 120px !important;
        min-width: 120px !important;
    }

    div.deadline-contact-us-container.desktop-only {
        display: inline-block !important;
        float: left !important;
        width: 270px;
    }
    .deadline-contact-us-container.non-desktop {
        display: none !important;
    }
    
    /* SIDEBAR */
    
    div.ssba-widget div.ssba.ssba-wrap div {
        text-align: center !important;
    }
    
    .sidebar {
        margin-top: 0px;
    }
    
    div#sidebar-social {
        display: block;
        float: none;
        margin: 0px auto 40px auto;
        width: auto;
        max-width: 300px;
        overflow: hidden;
    }
    
    aside.sidebar a img.alignright {
        float: none;
        text-align: center !important;
        margin: 20px 20px 20px 20px !important;
    }    
}

/* 767px and down */
@media only screen and (max-width: 767px) {
    
    /* SUB-HEADER */
    
    .search-member-actions-container {
        width: 100% !important;
        padding-left: 2% !important;
    }
    
    .search-container {
        width: 48% !important;
        margin-right: 2% !important;
    }
    
    .member_actions-container {
        width: 48% !important;
        margin-right: 2% !important;
    }

    div.deadline-contact-us-container.desktop-only {
        display: none !important;
    }
    .deadline-contact-us-container.non-desktop {
        display: block !important;
        float: none !important;
        width: 300px;
        margin: 0 auto;
    }
    
}

/* 481px and down */
@media only screen and (max-width: 481px) {
}

/* 480px and down */
@media only screen and (max-width: 480px) {
    
    .search-member-actions-container {
        width: 100% !important;
        padding-left: 2% !important;
    }
    
    body.search.search-results.advancedsearch .search-container,
    .search-container {
        width: 98% !important;
        margin-right: 2% !important;
        margin-bottom: 2% !important;
    }
    
    .member_actions-container {
        width: 98% !important;
        margin-right: 2% !important;
    }
    div.sub-header-container .member_actions-container {
        display: none !important;
    }

    select#advert_category,
    #searchform .searchform_fieldset input#s {
        width: auto !important;
        max-width: 240px !important;
        min-width: 240px !important;
    }
    
}

/* 400px and down */
@media only screen and (max-width: 400px) {
    .article_list .the-excerpt {
        padding-right: 0px;
        padding-bottom: 60px;
    }
}

div.pdfemb-wantmobile-fsarea {
    max-height: 30px !important;
    padding: 5px 10px !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    border: 2px solid #042b60 !important;
    background-color: #ced1e1 !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    color: #042b60 !important;
    font-size: 14px !important;
    font-family: "Work Sans", sans-serif !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-weight: bold !important;
    letter-spacing: 0 !important;
}

p, h1, h2, a {
     -epub-hyphens: none !important;
   -webkit-hyphens: none !important;
      -moz-hyphens: none !important;
       -ms-hyphens: none !important;
           hyphens: none !important;
}


/* hide subscription level image on mobile...  we need the room for the text to display */
/* 500px and down */
@media only screen and (max-width: 500px) {
    td.at-membership-level-image-container {
        display: none;
    }
}

#pmpro_levels_table tr.at-membership-level-subscriber-row td {
    margin-top: 10px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
}

/*
.at-membership-level-subscriber-title {
    float: left;
    min-width: 320px;
    padding: 10px;
}
.at-membership-level-subscriber-price-text {
    float: right;
    min-width: 150px;
}
.at-membership-level-subscriber-select {
    float: right;
    min-width: 72px;
}
*/


span.mobile_nav_bar-text {
    display: inline-block;
    text-align: center;
    line-height: 40px;

    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;

    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: -2px;
    orphans: 1;

    padding: 0 10px;

    page-break-after: auto;
    page-break-before: auto;

    text-decoration: none;
    text-transform: uppercase;
    text-indent: 0;
    widows: 1;

    vertical-align: top;
}


/*Checkbox*/
.tzCheckBox {
  background: url('img/maintenance-background.png') no-repeat right bottom;
  display: inline-block;
  min-width: 60px;
  height: 33px;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  margin: 8px 0 0 20px;
  max-width: 100%;
}

.tzCheckBox.checked {
  background-position: top left;
  margin: 8px 0 0 18px;
}

.tzCheckBox .tzCBContent {
  color: white;
  line-height: 32px;
  padding-right: 38px;
  text-align: right;
  font-size: 18px;
}

.tzCheckBox.checked .tzCBContent {
  text-align: left;
  padding: 0 0 0 38px;
}

.tzCBPart {
  background: url('img/maintenance-background.png') no-repeat left bottom;
  width: 14px;
  position: absolute;
  top: 0;
  left: -14px;
  height: 33px;
  overflow: hidden;
}

.tzCheckBox.checked .tzCBPart {
  background-position: top right;
  left: auto;
  right: -14px;
}

/* hide "cookie-law-info-again" button on mobile */
/* 465px and down */
@media only screen and (max-width: 465px) {
    html body #cookie-law-info-again {
        display: none !important;
        min-height: 0;
        height: 0;
    }
}

/***************/
/***************/
/***************/

/* Homepage overrides */

div.headline-ads-container {
    background-color: #ced2e2;
    border-top-left-radius: 15px;
    padding: 0 4px 0 4px;
    overflow: hidden;
}

div.headline-ads-carousel-container, 
div.headline-ads-carousel-container-inner, 
.home #slider {
    background: #ced2e2 !important;
    background-color: #ced2e2 !important;
}
.home #slider td {
    background: #ced2e2 !important;
    background-color: #ced2e2 !important;
}

.home #carousel, 
.home #carousel img {
    background: #ced2e2 !important;
    background-color: #ced2e2 !important;
}

.home #carousel li.aa-headline-ads-nav-img {
    margin-right: 18px !important;
}

div.latest-listings-container {
    background-color: #fff;
    border-top-left-radius: 0;
    border: 1px solid #ced2e2 !important;
    margin-top: 20px;
}

strong.latestads-post-title, span.latestads-price-statement {
    line-height: 1;
    margin-bottom: 3px;
}


aside.sidebar .corp-ads-container img.aligncenter { margin-bottom: 20px !important; }


div #header-refined-search-container,
div #header-refined-search-container p {
    float:left;
    border-bottom-right-radius: 10px;
    background-color: #ead518 !important;
    color: #002b64 !important;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 0px;
}
div #header-refined-search-container {
    margin: 5px 15px;
}
div #header-refined-search-container span.cta {
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: bold;
    display: inline-block;
/*    width: 48%;*/
}

.ssba {
    margin-bottom: 20px;
}

/***************/
/***************/
/***************/


a.at-membership-level-subscriber-select {
    display: block;
    text-decoration: none !important;
}

div.at-membership-level-subscriber-container {
    display: block;
    padding: 20px 0px;
    overflow: hidden;
    position: relative;
}

div.at-membership-level-subscriber-container p {
    color: #191919;
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1.286;
    margin-bottom: 12px;
    margin-right: 70px;
}

div.at-membership-level-subscriber-container span.level-cost-expiration-formatted {
    display: inline-block;
    background-color: #fff;
    border: 1px dotted black;
    margin: 5px;
    padding: 3px;
}

.at-membership-level-subscriber-select-button {
    position: absolute;
    right: 0px;
    bottom: 0px;
    margin: 10px 0px;
    background: transparent;
    vertical-align: top;
    width: 134px;
    height: 74px;
    background-image: url(img/category-listing-view-details.png);
    z-index: -1;
}

div.at-membership-level-subscriber-container:hover .at-membership-level-subscriber-select-button {
    background-image: url(img/category-listing-view-hover.png);
}

.at-membership-level-subscriber-select-button span.inner-text, 
a .at-membership-level-subscriber-select-button span.inner-text {
    position: absolute;
    min-width: 150px;
    right: 0;
    bottom: 10px;
    color: #042b60;
    font-family: "Work Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    text-transform: uppercase;
    widows: 1;
    display: block;
    width: 100%;
    padding-left: 60px;
}

div.at-membership-level-subscriber-container:hover .at-membership-level-subscriber-select-button span.inner-text {
    color: #FFF;
}

/* override post-state showing in the posts-to-posts p2p plugin - used on Post EDIT where Ads are linked/connected to Editions */
span.post-state-container {
    display: none !important;
}
span.post-state-container span.post-state {
    display: none !important;
}

table.p2p-results span.post-state,
table.p2p-connections span.post-state {
    display: none !important;
}


/* competition form styles */

span.gf-require-login-message,
span.gf-form-pending-message,
span.gf-form-expired-message,
p.gf-competition-entry-criteria-not-met {
    font-weight: bold; 
    color: red;
}

span.gf-entry-limit-reached-message,
.gf-competition-entry-criteria-met,
.registered-lookup-success {
    font-weight: bold; 
    color: green;
}

a.gf-competition-entry-criteria {
    display: inline-block;
    text-align: center;
    color: #042b60;
    background-color: #ced2e2;
    font-family: "Work Sans", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: bold;
    margin: 0px 10px 3px 10px;
    padding: 3px 10px;
}

/* hide the corp-ad.check-if-im-already-registered on the 'check-if-youre-already-registered' PAGE */
body.post-page-slug-check-if-youre-already-registered div.corp-ad.check-if-im-already-registered { display: none; }

#gform_wrapper_25,
#gform_wrapper_25 form {
    max-width: 500px;
}

#gform_24 div.validation_error {
    display: none !important;
}

.gform_confirmation_message_25 img {
    height: auto;
    max-width: 600px;
}

@media only screen and (max-width: 641px) {
    #gform_wrapper_25 .gform_footer {
        min-height: 0px;
    }
}