
@media only screen and (min-width:200px) and (max-width:767px) {}

@media only screen and (max-width: 1920px) {


    .sidebar-toggle:hover .hamburger, .sidebar-toggle:hover .hamburger:after, .sidebar-toggle:hover .hamburger:before {
        background: #000;
    }

}


@media only screen and (max-width: 1599px) {

    .view_details_area .view_details_img .view_details_ico {
        width: 100px;
        height: 100px;
        line-height: 100px;
    }
    .view_details_area .view_details_img .view_details_ico img{
        width: 100%;
        cursor: pointer;
    }
    .view_details_area .view_details_txt h3 {
        font-size: 13.8px;
        padding: 0px 7px;
        cursor: pointer;
    }
    .view_details_area .view_details_txt h3 a {
        font-size: 13.8px;
        cursor: pointer;
    }
    .view_details_area .view_details_txt {
        min-height: 80px;
        padding: 20px 0;
        cursor: pointer;
    }
    .btn-line {
        font-size: 17.8px;
        cursor: pointer;
    }
    .sidebar-link, a.sidebar-link{
        font-size: 14px;
        cursor: pointer;
    }
    /*#banner-carousel iframe{
        height: 250px;
    }*/
}
@media only screen and (max-width: 1440px) {
    .btn-line {
        font-size: 14.8px;
        cursor: pointer;
    }
    .col-lg-7.custom-lg-7 .col-lg-3{
        flex: 0 0 auto;
        width: 50%;
        margin-bottom: 10px;
    }
    .view_details_area .view_details_img {
        padding: 10px 0;
    }
    .view_details_area .view_details_txt {
        min-height: 50px;
        padding: 10px 0;
        cursor: pointer;
    }
    .headline h2 {
        font-size: 25px;
    }
    .headline h3 {
        font-size: 21px;
    }
    .scottish_area p {
        font-size: 16px;
    }
    .form_area .form-control {
        height: 40px;
        font-size: 15px;
    }
    .btn-golden {
        padding: 9px 20px;
        font-size: 13px;
    }
    footer p {
        font-size: 12px;
    }
    .policy_menu li a {
        font-size: 12px;
    }
    .vmap_block .vmap_block_inner figure img{width: 100%;}
}
@media only screen and (max-width: 1299px) {
    .file-type li span {width: calc(100% - 210px);}
    .file-type li {-ms-flex-pack: distribute;justify-content: space-around;}
    .brochure_download {text-align: center;}
}
@media only screen and (max-width: 1199px) {
    .col-lg-5.custom-lg-5{
        flex: 0 0 auto;
        width: 100%;
    }
    .col-lg-7.custom-lg-7{
        flex: 0 0 auto;
        width: 100%;
    }
    .head_txt{
        font-size: 14px;
    }
    .member_caed {font-size: 16px;}

}
@media (max-width: 1024px) {
    .pdf-sidebar {
        width: 240px;
    }
}


@media only screen and (max-width: 991px) {
    .navbar-bg, body[data-theme=dark] .navbar-bg {
        left:0px;
    }
    .flex_left.navbar-bg, body[data-theme=dark] .flex_left.navbar-bg {
        left: 305px;
    }
    .main_container .heading h3 {
        font-size: 24px;
        line-height: 26px;
        padding-bottom: 10px;
        color: var(--purple-stf);
        font-family: "Roboto Condensed", sans-serif;
        font-weight: 600;
        position: relative;
        margin-bottom: 10px;
    }
    .btn-golden {
        padding: 9px 20px;
        font-size: 13px !important;
    }
    .brochure_header a {
        font-family: 'Oswald', sans-serif;
        color: #5a365b;
        font-size: 16px;
    }
    .brochure_download {
        font-size: 12px !important;
    }
    .file-type li span{
        font-size: 14px;
    }
    .brochure_con {width: 100%;margin-left: 0;margin-right: 0;}
    .valley_block_inner .valley-content p a{word-wrap: break-word;}
}
@media only screen and (max-width: 943px) {
    .videoBG iframe {height: 280px;}
}
@media only screen and (max-width: 860px) {
    .sidebar.collapsed{position: fixed;z-index: 10;}
    .flex_left.navbar-bg, body[data-theme=dark] .flex_left.navbar-bg {left: 0;}
    body:not([data-sidebar-position=right]) .sidebar {margin-left: 0;}
    .main {position: absolute;}
    .main .navbar {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: horizontal;-webkit-box-direction: reverse;-ms-flex-direction: row-reverse;flex-direction: row-reverse;}
    .error_page .sidebar-brand .align-middle img{width: 150px;}
    .main.error_page .navbar {-webkit-box-orient: horizontal;-webkit-box-direction: normal;-ms-flex-direction: row;flex-direction: row;}
    #cardModal .modal-dialog, #cardModal1 .modal-dialog, #cardModal2 .modal-dialog {
    margin: 15% 3% !important;
}
.sidebar {
        margin-left: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
.sidebar.collapsed {
        margin-left: 0;
        transform: translateX(0%);
        /*transition: transform 0.3s ease;*/
    }
}
@media only screen and (max-width: 767px) {
    .col-lg-7.custom-lg-7 .col-lg-3 {
        flex: 0 0 auto;
        width: 50%;
        margin-bottom: 10px;
    }
    .content {
        direction: ltr;
        flex: 1;
        max-width: 100vw;
        padding: 1.5rem 1.5rem .75rem;
        width: 100%;
    }
    .footer .col-6 {
        flex: 0 0 auto;
        width: 100%;
        text-align: center!important;
    }
    .detail ul {padding-left: 1.3rem;}
    .vmap_block{width: 33.33%;}
    .vmap_block .vmap_block_inner {min-height: 280px;}
    .tab-pane.fade:not(.show){padding: 20px 15px;}
    .nav-tabs>li>a {font-size: 13px;padding: 10px 10px;}
    .text_content .row .col-sm-6.vmap_block{width: 100%;}
    .member_news_sec.view_details_area .view_details_txt{-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;-webkit-box-align: normal;-ms-flex-align: normal;align-items: normal;}
    .text_content .row figure img{width: 100%;}
    .detail ul li a {font-size: 17px;}
    .error_page .sidebar-brand .align-middle img {width: 200px;}
    .main.error_page .nav-icon span {display: none;}
    .col-sm-4.valley_block{width: 50%;}
}
@media (max-width: 768px) {
    /* Toolbar */
    .pdf-toolbar {
        height: auto;
        flex-wrap: wrap;
        padding: 8px 12px;
        gap: 8px;
    }
    .tb-left {
        flex: 1 1 100%;
        order: 1;
    }
    .tb-center {
        flex: 1 1 auto;
        order: 2;
        justify-content: center;
    }
    .tb-right {
        flex: 0 0 auto;
        order: 3;
    }
    .pdf-doc-title { max-width: 200px; font-size: 13px; }
    .pdf-doc-sub   { display: none; }
    .tb-divider    { display: none; }

    .pdf-layout {
        flex-direction: column;
        height: auto;
    }

    /* Taller PDF on mobile */
    .pdf-main {
        height: 80vh;
        min-height: 500px;
        flex-shrink: 0;
    }

    .pdf-sidebar {
        width: 100%;
        height: auto;
        border-left: none;
        border-top: 2px solid var(--srrs-border);
        padding: 16px;
        overflow-y: visible;
    }

    /* Sidebar sections side by side on tablet-ish */
    .sb-section {
        margin-bottom: 14px;
        padding-bottom: 14px;
    }
}


@media only screen and (max-width: 640px) {
    .nav-tabs li{width: 100%;margin-bottom: 5px;}
    .nav-tabs li a{border-radius: 4px;margin: 0;}
    /* .nav-tabs li:last-child{margin-bottom: 0;} */
    .detail ul li a {font-size: 16px;}
    .error_page .sidebar-brand {padding: 0 5px 0 10px;}
      .srrs-pagination {
    flex-direction: column;
    align-items: flex-start;
  }

  .srrs-pagination__pages {
    gap: 2px;
  }

  .srrs-pagination__pages li a,
  .srrs-pagination__pages li span {
    min-width: 30px;
    height: 30px;
    font-size: 12px;
    padding: 0 6px;
  }
}
@media only screen and (max-width: 599px) {
    .videoBG {
        width: 100%;
        min-height:140px;
        height: 100%;
        position: relative;
        margin: 0px;
        padding: 0px;
    }
    .float-end {
        float: none !important;
        display: block;
    }
    .inline_form_first.first {
        width: 100%;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin-top: 10px;
    }
    .inline_form_first.second {
        width: 100%;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin-top: 10px;
    }
    .text_content p {
        font-size: 15px;
        font-family: "Roboto Condensed", sans-serif;
    }
    .advance_search_btn {
        position: inherit;
        right: 0px;
        top: 14px;
        left: 4px;
    }
    .resource_search_container button.search_button {
        background-color: transparent;
        border: none;
        cursor: pointer;
        height: 3rem;
        padding: 0;
        position: absolute;
        top: 0;
        width: 3rem;
        right: 0px;
    }
    .advance_search_container_two {
        display: block;
        margin-top: 15px;
        margin-left: 0px;
    }
    .nav-icon span {display: none;}
    .sync-button {font-size: 14px;}
    .videoBG iframe {height: auto;}
    .navbar-bg, body[data-theme=dark] .navbar-bg {padding: 26px 5px;}
    body:not([data-sidebar-position=right]) .sidebar-toggle {margin-right: 0;}
    .sync-button {padding: 5px 10px;}
    .navbar-nav li.nav-item:last-child .nav-icon{padding-left: 0;}
    .btn-golden {padding: 9px 9px;font-size: 12px !important;}
    .vmap_block{width: 50%;}
    .main.error_page .navbar {-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;}
    .error_page .sidebar-brand .align-middle img {width: auto;margin-bottom: 15px;}
    .error_page .sidebar-brand {border: 0;}
    .error_page .navbar-expand .navbar-collapse {margin-top: 10px;}
    .col-sm-4.valley_block{width: 100%;}
    .main.error_page .navbar{padding: 5px 5px;}
    .error_page h3 {font-size: 40px;}
    .member_card{
        width: 100%;
    }
}
@media only screen and (max-width: 499px) {

}
@media only screen and (max-width: 480px) {
    .vmap_block {width: 100%;}
    .vmap_block .vmap_block_inner {min-height: auto;}
    .vmap_block .vmap_block_inner figure img {width: 70%;}
    .text_content .row .col-sm-6.vmap_block .file-type li{-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}
    .text_content .row .col-sm-6.vmap_block .file-type li span{width: 100%;text-align: center;padding: 10px 0;font-size: 16px;}
    .error_page h3 {font-size: 30px;}
    .panel_card .member_right {
        width: 18%;
        display: inline-block;
        vertical-align: top;
        margin-top: 0px;
        position: absolute;
        right: 10px;
        bottom: 70px;
    }
    .modal .panel_card .member_right {
        width: 28%;
        right: 10px;
        bottom: auto;
        top: 100px;
    }
    /* Hide page nav and zoom on very small screens */
    /* .tb-page-nav { display: none; }
    .tb-zoom     { display: none; } */

    .pdf-doc-title { max-width: 160px; font-size: 12px; }

    .tb-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .pdf-main {
        height: 85vh;
        min-height: 480px;
    }
    .pdf-main iframe{min-height: 480px; width: 100%;}

    .sb-btn {
        padding: 9px 10px;
        font-size: 12px;
    }

    .tag-pill {
        font-size: 10px;
        padding: 3px 8px;
    }
}

@media only screen and (max-width: 428px) {

}

@media only screen and (max-width: 399px) {
    .main_container{padding: 15px;}
    .form-pan {padding: 15px;}
    .btn-golden {padding: 9px 9px;font-size: 12px !important;}
    .text_content .row .col-sm-6.vmap_block .file-type li span {font-size: 14px;}
    .sidebar.collapsed {max-width: 260px;min-width: 260px;}
    .sidebar-content.js-simplebar {width: 290px;}
    .sidebar-brand .sidebar-brand-text img{width: 100%;}
    .modal .panel_card .barcode img {
        height: 54px;
    }
    .panel_card .barcode img {
        margin-left: -13px !important;
        height: 23px;
        mix-blend-mode: multiply;
    }

}


