/*   
Theme Name: Comar
Theme URI: 
Description:  Designed by Man or Mouse
Author: Comar
Author URI: 
Version: 1
*/

:root {
    --text: var(--text);
    --blue: #004ca7;
    --blue-hover: #004C91;
    --grey-light: #c3c3c3;
    --grey: #e9e9e9;
    --grey-hover: #e0e0e0;
}

.widget h2 {
    display: none
}

table tr.grey {
    background: #d9d9d9;
}

table tr td {
    padding: 1px 1px;
}

table tr td:first-of-type {
    width: 40%
}

table td {
    border: none;
    box-shadow: none
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    font-family: 'Univers LT W01 45 Light';
    -webkit-text-size-adjust: none;
    font-size: 14px;
}

strong,
b {
    font-family: "Univers LT W01 55 Roman";
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
    top: -9999px;
    color: #828282;
}

.clear {
    clear: both
}

a img {
    border: none
}

#main-content img,
#main-content-full img {
    /* width: 100%; height: auto; */
}

/* First selector = IE6, Second Selector = IE 7 */

h1 {
    font-size: 32px;
    color: #004ca7
}

h2 {
    font-size: 22px;
    color: #004ca7
}

h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #004ca7
}

h4 {
    font-size: 19px;
    color: #004ca7
}

h5 {
    font-size: 15px;
    color: #004ca7
}

h6 {
    font-size: 13px;
    color: #004ca7
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Univers LT W01 45 Light";
}

h1,
h2,
h2 a {
    margin-bottom: 25px;

    /* font-family:'UniversLTW01-57Condense 723821'; */
}

p {
    margin: 0 0 15px 0;
    line-height: 20px;

    /* font-family:'UniversLTW10-47LightCn'; */
}

a {
    text-decoration: none;
    color: #323232;
    transition: .3s all ease;
    /* 	font-size: 14px; */
}

/*  aside a {font-size: 11px;} */

aside img {
    width: 100%;
    height: auto;
}

.menu-drop-arrow {
    position: absolute;
    top: 6px;
    right: 0;
    height: 10px;
    width: 100%;
    background-image: url(images/menu-drop-arrow.png);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}

aside .sub-menu {
    display: none;
}

a:hover {}

ul,
ol {
    line-height: 20px;
    margin-bottom: 20px;
    /* list-style-position: inside; */
    /* list-style-image:url(images/Comar-Web-Site-list-image.jpg); */
}

ol {
    line-height: 26px;
    margin-bottom: 20px;
    list-style-position: inside;
}

.main-content ol,
.main-content ul {
    margin-left: 12px;
}

.main-content ol li,
.main-content ul li {
    margin-bottom: 10px;
}

.main-content ol li:last-child,
.main-content ul li:last-child {
    margin-bottom: 0;
}

.main-content a {
    color: var(--blue);
}

.main-content a:hover {
    text-decoration: underline;
    color: var(--blue-hover);
}

.page-content table {
    margin-top: 10px;
    border: none;
    box-shadow: none;
    /* height: calc(100% - 24px); */
}

.page-content table tr th,
.page-content table tr td {
    font-family: "UniversLTW01-57Condense 723821";
    padding: 4px 8px;
    font-size: 12px;
    border: none;
}

.page-content table tr:nth-child(odd)>th,
.page-content table tr:nth-child(odd)>td {
    background-color: var(--grey);
}


iframe {
    border: solid 6px #ffffff;
}

.wpcf7-recaptcha iframe {
    border: none;
}

blockquote {
    background-position: left top;
    background-repeat: no-repeat;
    padding-left: 50px;
    margin-bottom: 20px;
}

blockquote cite {
    display: block;
    color: #c0464f;
}

blockquote p {}

img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

form {}

label {
    margin-bottom: 5px;
    font-weight: 100;
    font-size: 14px;
    font-family: 'UniversLTW01-57Condense 723821';
    text-transform: capitalize;
    margin-bottom: 10px;
}

input[type=text],
input[type=search],
input[type=email],
input[type=password],
.input-text {
    padding: 8px;
    color: #939598;
    width: 100%;
    margin-bottom: 5px;
    border: none;
    background: #ffffff;
    border: solid 1px var(--grey-light);
    margin-bottom: 10px;
    outline: none;
}

textarea {
    border: solid 1px #dedede;
    padding: 10px 6px;
    color: #939598;
    width: 100%;
    background: #ffffff;
    border: solid 1px var(--grey-light);
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

select {
    width: 100%;
    margin: 0 auto;
    background-image: url(images/dropdown-arrow.png);
    background-repeat: no-repeat;
    background-position: right center;
    border-radius: 0;
    border: 0;
    background-color: white;
    max-width: 100%;
    padding: 8px;
    background-size: 30px 28px;
    -webkit-appearance: none;
    color: #939598;
    border: solid 1px #dedede;
    margin-bottom: 10px;
    box-shadow: inset 0 0 4px #cfcfcf;
}

/* Wordpress Stuff
************************/
.sticky {}

.gallery-caption {}

.wp-caption-text {}

.wp-caption {}

.aligncenter {}


/*=========== Modal========== */
.notification-modal {
    display: none;
    position: fixed; 
    z-index: 100; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto;
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
  }
  
  /* Modal Content */
  .notification-modal-content {
    background-color: #171818;
    color: #fff;
    margin: auto;
    margin-bottom: 50px;
    padding: 70px 37px 52px 37px;
    width: 90%;
    max-width: 600px;
    position: relative;
    font-size: 18px;
  }

  .notification-modal-content  .logo-svg{
    width: 40%;
    margin-bottom: 20px;
  }

  .notification-modal-content  .logo-image{
    width: 40%;
    margin-bottom: 20px;
  }
  
  .notification-modal-content a{
    color: rgb(0 199 99);
    white-space: nowrap;
  }

  /* The Close Button */
  .notification-modal-close {
    font-size: 50px;
    position: absolute;
    color: rgb(0 199 99);
    top: 3px;
    right: 3px;
    line-height: 0.6;
  }
  
  .notification-modal-close:hover,
  .notification-modal-close:focus {
    color: rgb(0 199 99);
    text-decoration: none;
    cursor: pointer;
  }

  @media (min-width: 767px) {
    .notification-modal {
        padding-top: 160px; 
      }
}
/* ================ */


/* Grid
************************/
.grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    column-gap: 30px;
    grid-template-rows: auto 1fr;
}

.grid.grid-12 {
    grid-template-columns: repeat(12, 1fr);
}

.no-gap .grid-column-1 {
    grid-column: span 1;
}

.grid-column-2 {
    grid-column: span 2;
}

.grid-column-3 {
    grid-column: span 3;
}

.grid-column-4 {
    grid-column: span 4;
}

.grid-column-5 {
    grid-column: span 5;
}

.grid-column-6 {
    grid-column: span 6;
}

.grid-column-7 {
    grid-column: span 7;
}

.grid-column-8 {
    grid-column: span 8;
}

.grid-column-9 {
    grid-column: span 9;
}

.grid-column-10 {
    grid-column: span 10;
}

.grid-column-11 {
    grid-column: span 11;
}

.grid-column-12 {
    grid-column: span 12;
}

.page-content.has-sidebar .main-content.grid {
    border-bottom: 1px solid var(--grey);
    height: calc(100% - 30px);
    padding-bottom: 30px;
}

.grid img {
    width: auto;
    max-width: 100%;
}

@media screen and (max-width: 960px) {

    .grid,
    .grid.grid-12 {
        grid-template-columns: 1fr;
    }

    .grid-column-1,
    .grid-column-2,
    .grid-column-3,
    .grid-column-4,
    .grid-column-5,
    .grid-column-6,
    .grid-column-7,
    .grid-column-8,
    .grid-column-9,
    .grid-column-10,
    .grid-column-11,
    .grid-column-12 {
        grid-column: span 1;
    }

    .main-content.grid {
        padding-bottom: 40px;
    }
}

/* End columns */

.spacer {
    width: 100%;
    clear: both;
    margin-bottom: 20px;
    margin-top: 20px;
}

.alignleft {
    float: left;
    margin: 0px 20px 15px 0px;
}

.alignright {
    float: right;
    margin: 0px 0px 20px 20px;
}

/* Container & Page wrap Styles
**********************************/

.container {
    max-width: 1100px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-left: 24px;
    padding-right: 24px;
}

.main-page-wrap {
    padding: 0px 0 0 0;
}

.content-wrap {
    padding: 0px 0 0px 0
}


.page-wrap {
    border-left: solid 1px #e5e5e5;
    border-right: solid 1px #e5e5e5;
}


.row {
    padding: 40px 0 40px 0;
}

.row:first-of-type {
    padding-top: 0;
}


/* Search Form Styles
**********************************/

#searchform {
    width: 100%;
    position: relative;
}

#searchform label {
    position: absolute;
    left: 0;
    top: 0;
    border-right: solid 1px #ececec;
    padding: 8px;
    font-weight: 100;
}

#searchform input[type=text] {
    padding-left: 120px;
}



/* Navigation Styles
*******************************/

.main-nav {
    margin-bottom: 30px;
}

.main-nav .main-menu-toggle {
    display: none;
    width: 100%;
    font-weight: bold;
    padding: 8px 14px;
    background-color: var(--grey);
    color: var(--text) !important;
}

.main-nav .main-menu-toggle:hover,
.main-nav .main-menu-toggle.open {
    background-color: var(--grey-hover);
}

.main-nav ul.menu {
    margin-bottom: 0
}

.main-nav ul {
    font-family: "Univers LT W01 45 Light";
    list-style: none;
    margin-bottom: 0;
    display: flex;
    width: 100%;
    gap: 6px;
    font-weight: bold;
}

.main-nav ul li {
    flex: 1;
    position: relative;
    line-height: 1;
    font-size: 14px;
}

.main-nav ul li a {
    text-align: left;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--grey);
    padding: 12px 14px;
    transition: .3s color ease, .3s background-color ease;
}

.main-nav ul li a i {
    font-size: 13px;
}

.main-nav ul li a:hover,
.main-nav ul li.hovering>a {
    color: #ffffff;
    background-color: var(--blue);
}

.main-nav ul li.menu-item-has-children>.submenu {
    opacity: 0;
    position: absolute;
    top: 42px;
    background-color: #ffffff;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 4px;
    z-index: 9;
    width: 600px;
    padding: 4px;
    border: 1px solid var(--grey);
}

.main-nav ul li a i {
    display: none;
}

.main-nav ul li.menu-item-has-children>.submenu li a {
    background-color: #ffffff;
    border: 1px solid var(--grey);
    display: grid;
    grid-template-columns: auto 60px;
    align-items: center;
    padding: 4px 4px 4px 14px;
    min-height: 69px;
}

.main-nav ul li.menu-item-has-children>.submenu li a:hover {
    background-color: var(--blue);
    color: #fff;
}

.main-nav ul li.menu-item-has-children>.submenu li a img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    object-position: center;
    margin: 0;
    vertical-align: baseline;
    line-height: 1;
}



/* styles for mobile */
@media screen and (max-width: 960px) {
    #primary-main-menu ul:first-child {
        display: none
    }

    .main-nav .main-menu-toggle {
        display: block;
    }

    .main-nav ul {
        display: none;
    }

    .main-menu ul:not(.submenu) li a {
        background-color: #F1F1F1;
    }

    .main-nav ul li.menu-item-has-children a i {
        display: block;
    }

    .main-nav ul li.menu-item-has-children>.submenu {
        display: none;
        background-color: #fff;
        padding: 0;
        border-top: none;
        border-bottom: none;
        position: relative !important;
        width: 100%;
        top: auto !important;
        bottom: auto !important;
    }

    .main-nav ul li.menu-item-has-children>.submenu li {
        width: 100%;
    }

    .main-nav ul li.menu-item-has-children>.submenu li a {
        border: none;
        min-height: 1px;
        margin-right: 0;
    }

    .main-nav ul li.menu-item-has-children>.submenu li a img {
        display: none;
    }
}

/* Header Styles
*******************************/
.main-header {
    padding: 20px 0 30px;
    display: flex;
    justify-content: space-between;
}

.header-logos-left{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media screen and (min-width: 576px) {
    .header-logos-left{
        flex-direction: row;
        gap: 30px;
    }
}

.bailey-logo-container{
    display: flex;
    align-items: flex-end;
}

.bailey-logo-svg , .bailey-logo-image{
    width: 180px;
    margin-bottom: 14px;
}

.main-header .logo {
    display: inline-block;
    padding-bottom: 20px;
}

.main-header .header-links {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 100px 100px 100px 100px 34px;
    height: 40px;
    row-gap: 6px;
    column-gap: 6px;
    font-size: 12px;
    font-family: "Univers LT W01 55 Roman";
}

.main-header .header-links .top-link {
    text-align: right;
    margin-bottom: 10px;
}

.main-header .header-links .top-link a {
    color: var(--blue);
    font-weight: bold;
}

.main-header .header-links .top-link a:hover {
    color: var(--blue-hover);
}

.main-header .header-links .top-link:nth-child(1) {
    grid-column: 2 / span 2;
    margin-right: 20px;
}

.main-header .header-links .top-link:nth-child(2) {
    grid-column: 4 / span 2;
}

.main-header .header-links .main-link {
    /* grid-column: 1; */
}

.main-header .header-links .main-link a {
    height: 34px;
    background-color: var(--grey);
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: var(--text);
}

.main-header .header-links .main-link a:hover {
    color: #fff;
    background-color: var(--blue);
}

.main-header .header-links .search-toggle button {
    width: 34px;
    height: 34px;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--grey);
    color: var(--text) !important;
}

.main-header .header-links .search-toggle button i {
    margin: 0;
}

.main-header .header-links .search-toggle button.toggled,
.main-header .header-links .search-toggle button:hover {
    background-color: var(--blue);
    color: #fff !important;
}

.main-header .header-links .search-form {
    grid-row: 3;
    grid-column: 2 / span 4;
}

.main-header .header-links .search-form input {
    padding-left: 10px !important;
    padding-right: 10px !important;
    outline: 0;
    margin: 0;
    color: var(--text);
}

.main-header .header-links .search-form input::-webkit-input-placeholder,
.main-header .header-links .search-form input:-moz-placeholder,
.main-header .header-links .search-form input:-ms-input-placeholder,
.main-header .header-links .search-form input::placeholder {
    color: transparent;
}

@media screen and (max-width: 960px) {
    .main-header {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 14px;
        padding-bottom: 0;
    }

    .main-header .header-links {
        margin-top: 0px;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 14px;
        height: auto;
    }

    .main-header .header-links .top-link:nth-child(1),
    .main-header .header-links .top-link:nth-child(2) {
        margin: 0;
        grid-column: span 1;
        text-align: center;
    }

    .main-header .header-links .search-toggle {
        display: none;
    }

    .main-header .header-links .main-link a {
        justify-content: center;
    }

    .main-header .header-links .search-form {
        display: block !important;
        grid-column: span 2;
        grid-row: 1;
    }

    .main-header .header-links .search-form input::-webkit-input-placeholder,
    .main-header .header-links .search-form input:-moz-placeholder,
    .main-header .header-links .search-form input:-ms-input-placeholder,
    .main-header .header-links .search-form input::placeholder {
        color: #8e8e8e;
    }
}

.hero-button,
.n-uc-RrCfHuzh5els,
.n-uc-oBwRgAe0vbTC,
.n-uc-Mm9Vw99tmBXX,
.n-uc-71yOVYxs69Wt {
    margin: auto 0 0 !important;
}

/* #header-links{float: right; clear: right; margin-top: 20px; margin-bottom: 0}
#header-links li{ display: inline-block; margin-right: 30px;}
#header-links li:last-of-type{margin-right: 0}

#social-icons{float: left; margin-bottom: 0; margin-top: 15px; margin-left: 20px;}
#social-icons li{display: inline-block; line-height: normal;}

#header-container #searchform{float: right; clear: right; margin-top: 0px;}

#header-container {
    width: 100%;
    position: relative;
    padding: 0 0 30px 0;
}

#header-container header.container {
    
}

#header-logo-container {
    float: left;
    padding: 0 0 0 0; 
    height: 140px;
    overflow: hidden;
    //width: 100px;
}

/*
#header-logo {
    max-width: 100%;
    height: auto;
    margin: 20px 20px 20px 0px;
}


#header-container #searchform{float: right; width: 300px; margin-top: 40px;}

header.container .banner-advert {
    float: left;
    margin: 10px 85px 0 90px;
}

header.container .banner-advert img {
    margin-bottom: 0;
} */


/* Main Content Styles
*******************************/
.page-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: flex-start;
    position: relative;
}

.page-content.has-sidebar {
    grid-template-columns: 260px auto;
}

@media screen and (max-width: 960px) {
    .page-content.has-sidebar {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .page-content.has-sidebar .main-sidebar .textwidget {
        display: none;
    }
}

/* Main Sidebar Styles
*******************************/
/* .main-sidebar,
.blog-sidebar{
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
} */
/* .main-sidebar .widget_text,
.blog-sidebar .widget_text{
    display: none;
} */
.main-sidebar ul,
.blog-sidebar ul {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    font-size: 14px;
    font-family: "Univers LT W01 55 Roman";
}

.main-sidebar ul li,
.blog-sidebar ul li {
    width: 100%;
    padding: 0;
    margin: 0;
}

.main-sidebar ul li a,
.blog-sidebar ul li a {
    display: block;
    width: 100%;
    padding: 8px 14px;
}

.main-sidebar ul li:nth-child(odd)>a,
.blog-sidebar ul li:nth-child(odd)>a {
    background-color: var(--grey);
}

.main-sidebar ul li a:hover,
.blog-sidebar ul li a:hover,
.main-sidebar ul li.current-menu-item a,
.blog-sidebar ul li.current-menu-item a {
    background-color: var(--blue);
    color: #fff;
}



.section-title {
    width: 100%;
    text-align: center;
    margin: 0px 0 30px 0;
}

.section-title h1 {
    display: inline-block;
    background: url(images/eggshell.jpg);
    padding: 10px 20px 10px 20px;
    margin-bottom: 0;
    text-shadow: rgba(255, 255, 255, 1) 2px 1px 0px;
}

.section-title-button {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 0;
    align-items: center;
    margin-bottom: 24px;
}

.section-title-button h1 {
    margin: 0;
}

.section-title-button div {
    display: flex;
    margin-top: 6px;
}

.section-title-button .button {
    font-size: 12px;
}

.section-title-button .button+.button {
    margin-left: 20px;
}

@media screen and (max-width: 960px) {
    .section-title-button h1 {
        width: 100%;
    }

    .section-title-button div {
        display: block;
    }

    .section-title-button .button+.button {
        margin-left: 0;
        margin-top: -10px;
    }

    .section-title-button .button {
        background-color: transparent;
        padding-left: 0;
        padding-right: 0;
        color: var(--blue) !important;
    }

    .section-title-button .button:hover {
        background-color: transparent;
        color: var(--blue-hover) !important;
    }
}


/* Footer Styles
*******************************/

.footer {
    margin-top: 30px;
    padding-bottom: 30px;
}

.footer .fadein {
    width: 80px;
    height: 80px;
}

.footer .footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
}

.footer .footer-inner .footer-col {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer .logo {
    justify-content: center;
}

.footer .logo a {
    max-width: 150px;
    height: auto;
}

.footer .fontResizer,
.footer .ct-font-resizer {
    margin: 0 !important;
}

.footer .social-icons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
    /* margin-left: 20px; */
}

.footer .social-icons a {
    height: 26px;
    width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 100%;
    color: #fff;
    font-size: 12px;
}

.footer .social-icons a.facebook {
    background-color: #3b5998;
}

.footer .social-icons a.facebook:hover {
    background-color: #30497f;
}

.footer .social-icons a.twitter {
    background-color: #0F1419;
}

.footer .social-icons a.linkedin {
    background-color: #0a66c2;
}

.footer .social-icons a.linkedin:hover {
    background-color: #0754a1;
}

.footer .social-icons i {
    margin-top: 2px;
}

.footer .footer-inner .footer-col:nth-child(3) {
    justify-self: flex-end;
}

.footer-col.advert a {
    display: block;
    max-width: 80%;
    width: 100%;
    margin: auto;
}

.footer-col.advert a img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 960px) {
    .footer .footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer .footer-inner .footer-col,
    .footer .footer-inner .footer-col:nth-child(3) {
        justify-self: center;
    }

    .footer .footer-inner .footer-col:nth-child(2) {
        display: none;
    }

    .footer .footer-inner .footer-col:nth-child(3) {
        grid-row: 1;
    }

    .footer-col.advert {
        display: none;
    }

    .footer .social-icons {
        margin-top: 20px;
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }

    .footer .ct-font-resizer {
        width: 100%;
        text-align: center;
    }
}

/* footer {
    position: relative;
    padding-bottom: 40px;
    margin-top: 20px !important;
}

footer li { list-style: none; line-height: 24px;}

footer li:first-of-type { border-top: none }

footer li:last-of-type { border-bottom: none }

.footer-content {
    padding: 30px 0 30px 0
}

.footer-content .widget h2{  font-family: 'franchiseregular'; color: #b8d0d5;text-shadow: #583f18 2px 1px 0px; text-transform: uppercase}


#lower-footer {
    margin: 0 auto;
    padding: 10px 0% 10px 0;
    margin-bottom: 0px;
    font-size: 11px;
    color: #939598;
    
}

#lower-footer a {
    float: right;
    color: #d8d8d8;
}

#footer-content {
    padding: 2% 0% 0 0%;
    margin: 0px auto 0 auto;
    max-width: 1000px;
    width: 90%;
}

#footer-nav { float: right; max-width: 90%; margin-right: 40px; margin-top: 30px;}

#footer-nav ul { margin-bottom: 0 }

#footer-nav ul ul { display: none }

#footer-nav ul li {
    float: left;
    margin-right: 30px;
    font-size: 14px;
    line-height: normal;
}

#footer-nav ul li:last-of-type { margin-right: 0 }

#footer-nav ul li.current-menu-item > a{color: #004a99;} */

/* Post Styles
*******************************/

.post {
    position: relative;
    margin-top: 0px;
    margin-bottom: 30px;
    padding-bottom: 8px;
}

.post img {
    margin-bottom: 10px
}

.post-title {
    float: left;
    margin-bottom: 15px;
    margin-top: 0px;
    clear: right;
    width: 100%;
}

.post-excerpt {
    width: 65.33%;
    float: right;
    margin-bottom: 20px;
}

.no-thumb-post-excerpt {
    width: 100%
}



#bim-items li a {
    display: block;
}

.bim-item img {
    width: 30px !important;
    height: 30px !important;
    margin-right: 10px;
}

/*
.post-thumb {
    position: relative;
    width: 30.66%;
    float: left;
    margin-bottom: 10px;
}
*/

.post-thumb img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

.postmetadata {
    margin-top: 20px;

}


.postmetadata p {
    width: 100%;
    margin-bottom: 0;
    margin-top: 0px;
    display: inline-block;
}

.postmetadata a {}

.single-meta {
    width: 97%
}

.post-tags {
    margin-bottom: 0;
    float: left;
}

.recent-posts {
    list-style: none
}

.recent-post {
    width: 45%;
    margin-right: 4%;
    float: left;
}

.recent-post:nth-of-type(2n) {
    margin-right: 0
}

.recent-post image {
    margin-bottom: 5px;
    display: block;
}

.recent-post h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

/* Global Button Stlying
*******************************/

.button,
.read-more,
input[type="submit"] {
    cursor: pointer;
    color: #ffffff !important;
    background-color: var(--blue);
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 5px;
    text-indent: 0;
    display: inline-flex;
    align-items: center;
    font-family: "Univers LT W01 55 Roman";
    font-style: normal;
    text-decoration: none;
    text-align: center;
    padding: 8px 20px 10px 20px;

    min-height: 38px;
    text-shadow: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    transition: .3s background-color ease, .3s color ease;
    font-size: 12px;
}

.button:hover,
.read-more:hover,
input[type="submit"]:hover,
.button:hover {
    background-color: var(--blue-hover);
    opacity: 1;
}

.button i,
.read-more i,
input[type="submit"] i {
    margin-left: 8px;
    margin-top: 2px;
    font-size: 11px;
}

.text-button {
    background-color: transparent;
    padding-left: 0;
    padding-right: 0;
    color: var(--blue) !important;
}

.text-button:hover {
    background-color: transparent;
    color: var(--blue-hover) !important;
}

.button-list {
    list-style: none;
    float: left;
    width: 48%;
    margin-right: 4%;
}

#main-content ul.button-list {
    margin-left: 0;
}

.button-list li .button {
    width: 100%;
}

.button-list:nth-of-type(2n+2) {
    margin-right: 0
}

.brochure-link {
    display: block;
    text-align: center;
}

.brochure-link>img {
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--grey);
}

.brochure-link p,
.brochure-link .download {
    color: var(--blue);
}

.brochure-link p {
    margin-bottom: 16px;
    font-family: "Univers LT W01 55 Roman";
}

.brochure-link p span {
    display: block;
    font-family: "Univers LT W01 45 Light";
}

.brochure-link .download {
    font-family: "Univers LT W01 55 Roman";
}

.brochure-link .download img {
    display: block;
    max-width: 30px;
    margin: 4px auto 0;
}

@media screen and (max-width: 960px) {
    .brochure-link {
        margin: 20px 0;
    }
}


/* Comments Stlying
*******************************/

h2#comments {
    margin-top: 30px
}

#commentform #comment-textarea {
    width: 100%
}

#commentform textarea {
    min-height: 130px;
    resize: vertical;
}

.comment-body p {
    width: 100%;
    clear: both;
}

#commentform input[type="text"],
#commentform textarea {
    margin-top: 5px;
    width: 100%;
    margin-bottom: 10px;

}

ol.blog-comments {
    list-style: none;

}

ol.commentlist li.comment-author-admin {}

ol.commentlist li.bypostauthor {}

ol.commentlist li.thread-even {}

ol.commentlist li.thread-odd {}

ol.commentlist li.thread-alt {}

ol.commentlist li.comment {
    border-bottom: solid 1px #dedede;
    padding: 20px;
}

ol.commentlist li.comment div.commentmetadata {}

ol.commentlist li.comment div.comment-author {
    font-size: 14px
}

ol.commentlist li.comment div.comment-meta {
    font-size: 10px
}

ol.commentlist li.comment div.comment-meta a {
    color: #ccc
}

ol.commentlist li.comment ul.children {
    list-style: none;
    margin: 10px 0 0;
}

ol.commentlist li.comment ul.children li.comment-author-admin {}

ol.commentlist li.comment ul.children li.bypostauthor {}

ol.commentlist li.comment ul.children li.depth-4 {
    border-left: 5px solid #eaeaea;
    margin: 0 0 10px 10px;
}

ol.commentlist li.comment ul.children li.depth-3 {
    border-left: 5px solid #eaeaea;
    margin: 0 0 10px 10px;
}

ol.commentlist li.comment ul.children li.depth-5 {}

ol.commentlist li.comment ul.children li.comment {}

ol.commentlist li.comment ul.children li.depth-2 {
    border-left: 5px solid #eaeaea;
    margin: 0 0 10px 10px;
}

ol.commentlist li.comment ul.children li.byuser {}

ol.commentlist li.comment ul.children li.odd {}

ol.commentlist li.comment ul.children li.alt {}

ol.commentlist li.comment ul.children li {}

ol.commentlist li.comment div.vcard {}

ol.commentlist li.comment div.vcard img.avatar-32 {}

ol.commentlist li.comment div.vcard img.avatar {
    float: left;
    margin: 0 10px 10px 0px;
}

ol.commentlist li.comment div.vcard img.photo {}

ol.commentlist li.comment div.vcard span.says {}

ol.commentlist li.comment div.vcard cite.fn {
    font-style: normal
}

ol.commentlist li.comment div.vcard cite.fn a.url {}

ol.commentlist li.comment div.reply {
    font-size: 10px;
    text-align: right;
}

ol.commentlist li.comment div.reply a {
    border: none;
    cursor: pointer;
}

ol.commentlist li.comment ul {}

ol.commentlist li.comment p {}

ol.commentlist li.parent {
    border-left: 5px solid #eaeaea
}

ol.commentlist li.byuser {}

ol.commentlist li.even {
    background-color: #fff
}

ol.commentlist li.odd {}

ol.commentlist li.alt {
    background-color: #fff
}

ol.commentlist li {}

/* Numbered Pagination Styles
*******************************/

.navigation {
    clear: both
}

.navigation li.active a {
    background: #424242
}

.navigation li {
    display: inline
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    color: #fff;
    text-decoration: none;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    background-color: #919191;
    border-radius: 3px;
    cursor: pointer;
    padding: 10px 12px 10px 12px;
}

.navigation li a:hover,
.navigation li.active a {
    background-color: #717171
}





.image-section {
    padding: 10px 30px 30px 30px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.footer-flexslider {
    max-width: 80px;
    float: right;
}



/* Login Page */
.login-form-content {
    min-height: 500px;
    padding: 0 30px 30px 30px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.login-form-content .one_half {
    margin-top: 0;
}

#login_form {
    margin-top: 40px;
}

#login_form table td {
    padding: 10px 5px 5px 0;
}

#login_form table tr td:nth-of-type(2) {
    width: 400px;
}


p.error {
    margin-bottom: 4px;
    background: #df9595;
    border: #b46262;
    padding: 2px 5px;
}

p.error:last-of-type {
    margin-bottom: 20px;
}

#wp_signup_form .one_half {
    margin-bottom: 0;
}

#wp_signup_form textarea {
    margin-bottom: 20px;
}

#menu-partner-menu li a {
    width: 116px;
    text-align: center;
}

#bim-spec tr td {
    padding: 6px
}

#bim-items li {
    list-style: none;
    margin-bottom: 0 !important
}

#bim-items li img {
    float: left;
}

.bim-description {
    max-height: 180px;
    overflow-y: auto;
    margin: 0 0;
    padding: 0 10px 10px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.bim-thumb {
    margin-bottom: 10px;
}


table {
    width: 100%;
    margin-bottom: 20px;
}

table,
th,
td {
    border: solid 1px var(--grey-light);
    padding: 5px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-shadow: inset 0 0 4px #cfcfcf;
    border-collapse: collapse;

}

#login-error {
    background-color: #FFEBE8;
    border: 1px solid #C00;
    padding: 5px;
    color: #000000;
    margin-bottom: 10px;
}

.download_repeatable::-webkit-scrollbar,
.bim-description::-webkit-scrollbar {
    width: 6px;
}

.download_repeatable::-webkit-scrollbar-track,
.bim-description::-webkit-scrollbar-track {
    background: var(--grey);
    border-radius: 6px;
}

.download_repeatable::-webkit-scrollbar-thumb,
.bim-description::-webkit-scrollbar-thumb {
    background: var(--grey-light);
    border-radius: 6px;
    transition: .3s background ease;
    cursor: grab;
}

.download_repeatable::-webkit-scrollbar-thumb:hover,
.bim-description::-webkit-scrollbar-thumb:hover {
    background: #bababa;
}

.download_repeatable {
    max-height: 400px;
    overflow-y: auto;
    padding: 0 10px 10px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin-left: 0 !important;
}

.download_repeatable li {
    background-image: url(images/download-arrow.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 20px;
    list-style: none;
    border-bottom: solid 1px var(--grey-light);
}

.download_repeatable p {
    color: #004ca7;
    margin-bottom: 5px;
}

.download_repeatable li:last-of-type {
    margin-bottom: 0 !important;
}

#model-num {
    color: #004ca7;
    font-weight: bold
}

body.tax-project-categories .grid .grid.portfolio-items {
    margin-top: -30px;
}

.portfolio-piece {
    margin-top: 30px;
}

.portfolio-piece a.thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 100%;
    display: block;
    margin-bottom: 24px;
}

.portfolio-piece a.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.portfolio-piece h3 {
    margin-bottom: 20px;
}

.portfolio-piece .text-button {
    margin-top: 8px;
}

@media screen and (max-width: 960px) and (min-width: 576px) {
    .portfolio-piece a.thumbnail {
        padding-top: 300px;
    }
}

@media screen and (max-width: 960px) {
    body.tax-project-categories .grid .grid.portfolio-items {
        margin-top: 0;
    }
}

.project-header .grid {
    column-gap: 30px;
    row-gap: 30px;
}

.project-header .grid .grid {
    height: 100%;
}

.project-header .project-standard-thumb,
.project-header .project-large-thumb {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 100%;
}

.project-header .project-standard-thumb img,
.project-header .project-large-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-content {
    column-count: 2;
    column-gap: 30px;
}

/* .project-large-thumb img{width: 100%; height: auto;} */
@media screen and (max-width: 960px) {
    .project-header .project-large-thumb {
        margin-bottom: 30px;
    }

    .project-content {
        column-count: 1;
    }
}


/**********************************************/

.fadein {
    position: relative;
    height: 140px;
    width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fadein img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.fontResizer {
    float: left;
    list-style: none;
    margin-bottom: 10px;
    margin-top: 20px;
}

.project-category {
    height: 270px;
}

.project-category .overlay {
    width: 100%;
    height: 100%;
    background: rgba(118, 134, 197, 0.4);
    background: -moz-linear-gradient(top, rgba(118, 134, 197, 0.4) 1%, #0054a9 96%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, rgba(118, 134, 197, 0.4)), color-stop(96%, #0054a9));
    background: -webkit-linear-gradient(top, rgba(118, 134, 197, 0.4) 1%, #0054a9 96%);
    background: -o-linear-gradient(top, rgba(118, 134, 197, 0.4) 1%, #0054a9 96%);
    background: -ms-linear-gradient(top, rgba(118, 134, 197, 0.4) 1%, #0054a9 96%);
    background: linear-gradient(to bottom, rgba(118, 134, 197, 0.4) 1%, #0054a9 96%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(118,134,197,0.4)', endColorstr='#0054a9', GradientType=0);
    position: absolute;
    display: none;
    text-align: center;
    top: 0;
    left: 0;
}

.project-category .overlay a,
.project-category .overlay h3 {
    color: #ffffff;
    opacity: 0
}

.project-category:nth-of-type(3n+3) {
    margin-right: 0
}

#project-portfolio span {
    color: #5e5e5e;
    font-size: 18px
}

.da-thumbs {
    list-style: none;
    position: relative;

}

.da-thumbs li h3 {
    color: #ffffff
}

.da-thumbs li {
    float: left;
    position: relative;
    width: 33.3%;
    height: 180px;
    overflow: hidden;
}

.da-thumbs li .button {
    background: none;
    box-shadow: none;
    border: solid 1px #ffffff !important;
    color: #ffffff !important;
    line-height: 22px;
    height: 22px !important;
    width: 140px !important;
    font-size: 10px;
    padding: 8px 0 0;
}

.da-thumbs li a,
.da-thumbs li a img {
    display: block;
    position: relative;
}

.da-thumbs li a {
    overflow: hidden;
    position: relative;
    height: 100%;
}

.da-thumbs li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.da-thumbs li a div {
    position: absolute;
    background: #333;
    background: rgba(0, 46, 93, 0.8);
    width: 100%;
    height: 100%;
}

.da-thumbs li a div span {
    display: block;

    margin: 20px 20px 20px 20px;
    text-transform: uppercase;
    font-weight: normal;
    color: #ffffff;

}

.da-thumbs li a div span:nth-of-type(2) {
    margin-top: 80px;
}

div.wpcf7-validation-errors,
div.wpcf7-mail-sent-ok {
    border: none !important
}

button.sh_download_files {
    background-color: #fff;
    border: 1px solid;
    float: right;
    margin-top: 10px;
    padding: 5px 10px;
}

@import url(inc/css/style.css);

.menu-technical-manuals-container ul#menu-technical-manuals li.current-menu-parent ul.sub-menu {
    display: block;
}

div.flip-nav-container {
    text-align: center;
}

div.flip-nav-container nav.flip-nav {
    position: inherit !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    display: inline-block !important;
}

div.flip-nav-container nav.flip-nav ul {
    margin: 0;
    padding: 0;
}

div.flip-nav-container nav.flip-nav ul li {
    margin: 5px 5px 5px 30px;
    padding: 0;
}

div.flip_wrapper.wowbook-page-content {
    padding: 0 !important;
}

div.flip_wrapper.wowbook-page-content>img {
    margin: 0 !important;
    height: 580px;
}

.thumbnails {
    margin-top: 10px;
    padding-top: 10px;
}

.thumbnails+.thumbnails {
    border-top: 1px solid var(--grey-light);
}

.thumbnails p:last-of-type {
    margin-bottom: 0;
}

@media screen and (min-width: 960px) {
    .page-template-projects-category .page-content {
        row-gap: 0;
    }
}