/* header */
header .mid-headaer {
    background-attachment: unset !important;
}
header .mid-headaer .logo {
    padding: 10px 0;
}
header .mid-headaer .container {
    height: 100%;
}

header .mid-headaer .icon-sm {
    color: #fff !important;
    border-color: #fff !important;
}

header .mid-headaer .sosmed-row .sosmed-wrap .icon-search.sosmed #searchtext.search-text-box {
    opacity: 0;
}

header .mid-headaer .sosmed-row .sosmed-wrap .icon-search.sosmed #search-form.openclick #searchtext.search-text-box {
    opacity: 1;
}

header .mid-headaer .sosmed-row .sosmed-wrap .icon-search.sosmed #search-form #searchtext:focus {
    outline: none !important;
    box-shadow: none;
}

header .mid-headaer .sosmed-row .sosmed #search-form.openclick .icon-sm {
    background: #558E90 !important;
}
header .sosmed-wrap {
    margin-top: 0 !important;
}
@media (max-width: 1024px) and (min-width: 992px) {
    header .mid-headaer {
        background-image: url('https://www.masms.org/sites/masms.org/files/images/banner_ipad_1024.png') !important;
    }
}
@media (max-width: 991.9px) and (min-width: 768px) {
    header .mid-headaer {
        background-image: url('https://www.masms.org/sites/masms.org/files/images/banner_ipad.png') !important;
    }
    body header .sosmed-wrap {
        text-align: center;
        width: auto !important;
    }
    html body header .mid-headaer .sosmed-row .icon-search.sosmed {
        margin-left: 0;
    }
}
@media (max-width: 991.9px) {
    header #search-form #vav-dwcsearch-renderMain {
        display: block !important;
    }

    header .mid-headaer .sosmed-row .sosmed #search-form .icon-sm {
        background: #558E90 !important;
    }

    header .mid-headaer .sosmed-row .sosmed-wrap .icon-search.sosmed #searchtext.search-text-box {
        opacity: 1;
    }

    header .mid-headaer .sosmed-row .sosmed-wrap .icon-search.sosmed #search-form #searchtext {
        height: 34px !important;
    }
}
@media (max-width: 767px) {
    header .mid-headaer {
        margin-top: 49px;
        background-position: center !important;
        background-image: url('https://www.masms.org/sites/masms.org/files/images/banner_mobile.png') !important;
    }
    body header .sosmed-wrap {
        margin-top: 55px !important;
    }
}

/* menu */
header .bottom-header .navbar ul.navbar-nav>li.dropdown>a,
.block-hs .bottom-header .navbar ul.navbar-nav>li.dropdown>a {
    padding-right: 20px !important;
}

li.dropdown .fa-caret-down {
    right: 5px !important;
}
.dropdown-menu>li>a {
    white-space: break-spaces;
}
@media (max-width: 767px) {
    .bottom-header nav#main_nav li.dropdown.open > ul.dropdown-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: 0 !important;
    }
}
@media only screen and (max-height:450px){
    .navbar-collapse.in {
        max-height: 300px;
        overflow-y: scroll;
    }
}
@media only screen and (max-height:360px){
    .navbar-collapse.in {
        max-height: 235px;
        overflow-y: scroll;
    }
}
/* slide */
section.img-hero,
section.img-hero .fullwidthbanner-container .fullwidthbanner {
    max-height: 190px !important;
}
section.img-hero .fullwidthbanner .slotholder {
    height: 100%;
}
body section.img-hero .fullwidthbanner .slotholder img.defaultimg {
    height: 100% !important;
    left: 0px !important;
    width: 100% !important;
    object-fit: cover;
    object-position: left;
}
.owl-carousel.newscarousel_45 .owl-nav button {
    background-color: #fff !important;
}
@media (min-width: 1441px) {
    section.img-hero, 
    section.img-hero .fullwidthbanner-container .fullwidthbanner{
        max-height: 270px !important;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    section.img-hero, section.img-hero .fullwidthbanner-container .fullwidthbanner {
        max-height: 137px !important;
    }
    .owl-carousel .owl-nav.disabled {
        display: block !important;
    }
    .owl-carousel.newscarousel_45 .owl-nav .owl-prev,
    .owl-carousel.newscarousel_45 .owl-nav .owl-next {
        height: 30px !important;
        width: 30px !important;
    }
    .owl-carousel.newscarousel_45 .owl-nav .owl-prev {
        left: -22px !important;
    }

    .owl-carousel.newscarousel_45 .owl-nav .owl-next {
        right: -22px !important;
    }
    .newscarousel_45 .owl-nav .fa {
        line-height: 1;
        height: 27px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 767px) {
    section.img-hero,
    section.img-hero .fullwidthbanner-container .fullwidthbanner {
        height: 100px !important;
    }
    .owl-carousel.newscarousel_45 {
        padding: 0 28px !important;
    }

    .owl-carousel.newscarousel_45 .owl-nav .owl-prev,
    .owl-carousel.newscarousel_45 .owl-nav .owl-next {
        height: 25px !important;
        width: 25px !important;
        border: 1px solid #558E90 !important;
        outline: none !important;
    }

    .owl-carousel.newscarousel_45 .owl-nav .owl-prev .fa,
    .owl-carousel.newscarousel_45 .owl-nav .owl-next .fa {
        font-size: 18px !important;
        color: #558E90 !important;
    }

    .owl-carousel.newscarousel_45 .owl-nav .owl-prev {
        left: 0 !important;
    }

    .owl-carousel.newscarousel_45 .owl-nav .owl-next {
        right: 0 !important;
    }
}
@media (max-width: 575px) {
    section.img-hero,
    section.img-hero .fullwidthbanner-container .fullwidthbanner {
        height: 80px !important;
    }
}
/* quicklink n about us */
section#homepage_hs_36,
section#homepage_hs_36 .gridpadd .container,
section#homepage_hs_36 .gridpadd .container #ql48,
section#homepage_hs_36 .gridpadd .container .tcolbody36,
section#homepage_hs_33,
section#homepage_hs_33 .gridpadd .container,
section#homepage_hs_33 .gridpadd .container .widget_45 .tcolbody33,
section#homepage_hs_15,
section#homepage_hs_15 .gridpadd .container,
section#homepage_hs_15 .widget_21 .bc-content.tcolbody15,
section#homepage_hs_60,
section#homepage_hs_60 .gridpadd .container,
section#homepage_hs_60 .widget_87 .bc-content.tcolbody60{
    height: 100% !important;
    min-height: auto !important;
}
section#homepage_hs_36 .bc-content.ul-quicklink ul.collay_0 {
    padding: 0 !important;
}
section#homepage_hs_36 .bc-content.ul-quicklink ul.collay_0 li {
    border-bottom: 1px solid #ADADAD !important;
    position: relative;
    padding-left: 20px;
}
#homepage_hs_36 .bc-content.ul-quicklink ul.collay_0 li::before {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #558E90;
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
}
@media (max-width: 991px) {
    section#homepage_hs_36 .bc-content.ul-quicklink ul.collay_0 {
        margin-bottom: 30px;
    }
}
/* custom head */
.inner-content .breadchrumb span {
    color: #fff !important;
}
section#homepage_hs_45 {
    background-position: top center !important;
}
.for-title,
.title_prebuild2_3 {
    position: relative;
    font-weight: 700;
}
.title_prebuild2_3::after {
    height: 3px;
    width: 80px;
    background-color: #558E90;
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
}
.for-title.title66{
    display: table !important;
    margin: 0 auto;
}
.for-title.title66::after{
    height: 3px;
    width: 100px;
    background-color: #558E90;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: auto;
    content: "";
}
section#homepage_hs_33 {
    position: relative;
    z-index: 2;
}
section#homepage_hs_33 .gridpadd .container .for_cust_title.title45,
section#homepage_hs_15 .gridpadd .container .for_cust_title.title21,
section#homepage_hs_60 .gridpadd .container .for_cust_title.title87 {
    display: none !important;
}
section#homepage_hs_33 .gridpadd .container .widget_45 .bc-content.tcolbody33,
section#homepage_hs_15 .gridpadd .container .widget_21 .bc-content.tcolbody15{
    margin-top: 0 !important;
}
@media (max-width: 990px) {
    section#homepage_hs_45 .gridpadd,
    section#homepage_hs_33 .gridpadd ,
    section#homepage_hs_36 .gridpadd{
        padding: 15px 0 !important;
    }
    section#homepage_hs_60 .gridpadd {
        padding-top: 15px !important;
        padding-bottom: 0 !important;
    }
    
.inner-content .dwc-content {
    overflow-x: scroll;
}
}
.vav-custom__head {
    display: flex;
    justify-content: center;
    align-items: stretch;
}
.vav-custom__head > div {
    padding: 10px 15px;
    text-align: center;
    border-left: 1px solid #ADADAD;
}
.vav-custom__head > div:first-child {
    border-left: none;
}
.vav-custom__head > div h5 {
    font-weight: 600;
    font-size: 14px;
    margin: 0 !important;
    color: #333333;
}
.vav-custom__head > div h5 a:hover {
    text-decoration: none;
    color: #165254;
}
@media (max-width: 767px) {
    .vav-custom__head  {
        flex-direction: column;
    }
    .vav-custom__head > div {
        border-left: none;
        border-top: 1px solid #ADADAD;
    }
    .vav-custom__head > div:first-child {
        border-top: none;
    }
}
section#homepage_hs_15 .gridpadd{
    padding: 10px 0 !important;
}
.vav-disc {
    font-size: 8px;
    color: #000;
    line-height: 10px;
    overflow-wrap: break-word;
    padding-right: 2px;
}
/* custom sponsor slide */
section#homepage_hs_45 .newscarousel_45 .nw-item .nw-top  {
    display: none !important;
}
section#homepage_hs_60 .gridpadd .container .bc-content.tcolbody60 {
    margin: 0 !important;
}
.vav-section_sponsor {
    max-width: 900px;
    margin: 0 auto;
}
.vav-owl-sponsor1.owl-carousel {
    display: table;
    margin: 0 auto;
    margin-top: 10px;
}
.vav-owl-sponsor1.owl-carousel .item,
.vav-owl-sponsor1.owl-carousel .item a {
    text-align: center;
}
.vav-owl-sponsor1.owl-carousel .item img {
    max-width: 85%;
    width: auto;
    justify-content: center;
}
/* footer */
footer#homepage_hs_9, footer#homepage_hs9 {
    min-height: 100% !important;
}
footer#homepage_hs9 > div {
    padding: 0 15px;
}
footer .col-footerlink {
    float: left;
    right: 0;
}
footer #footer_box {
    padding: 0 !important;
}
footer .col-footerlink .footerlink {
    float: none;
}
footer .col-copyright,
footer .col-copyright .copyright {
    float: right;
}
footer .col-copyright #new_translator {
    display: none;
}
footer #powerby {
    position: relative;
    display: block;
    height: 80px;
}
footer #powerby::before {
    content: "© Copyright 2025. Arbiter. All Rights Reserved";
    position: absolute;
    top: 0;
    max-width: 380px;
    left: 0;
    height: 20px;
    right: 0;
    margin: auto;
}
footer #powerby::after {
    content: "Minnesota Educational Facility Management Professionals \A 600 4th Street North, Cold Spring, MN 56320 \A Phone (320) 685-4585    Toll free (888) 429-3884   Email: office@masms.org";
    position: absolute;
    white-space: break-spaces;
    top: 20px;
    max-width: 555px;
    left: 0;
    height: 60px;
    right: 0;
    margin: auto;
}
footer .col-mbl #powerby strong,
footer .col-mbl #policies,
footer .col-mbl .conn {
    display: none !important;
}
@media (max-width: 1024px) {
    footer .col-copyright, footer .col-copyright .copyright {
        float: none;
    }
}
@media (min-width: 768px){
    .newscarousel_45 .nwt-desc {
        height: 60px;
    }
}
@media (max-width: 575px) {
    footer #powerby {
        height: 135px;
    }
    footer #powerby::before {
        height: auto;
        padding-top: 6px;
        max-width: 100%;
    }
    footer #powerby::after {
        height: auto;
        top: 32px;
        padding-top: 5px;
        content: "Minnesota Educational Facility Management Professionals \A 600 4th Street North, Cold Spring, MN 56320 Phone (320) 685-4585 \A Toll free (888) 429-3884 \A Email: office@masms.org" !important;
    }
}
@media (max-width: 413px) {
    footer #powerby {
        height: 170px;
    }
    footer #powerby::after {
        top: 51px;
    }
}

/* slide sponsor */
section#homepage_hs_60 .owl-carousel .owl-dots button.owl-dot span {
    overflow: hidden !important;
    text-indent: -200px !important;
}
