/**** Custom Responsive Styles ****/

@media (min-width: 1800px) {
    #get-started .cards-container {
        max-width: 80%;
    }
    .cards-container .card.meals .card-div img {
        margin-right: 10rem;
    }
}

@media (max-width: 1580px) {
    .cards-container {
        /*max-width: 90%;*/
    }
    #get-started.container {
        width: 90%;
    }
    #get-started .cards-container .card-div {
        height: 285px;
        width: 200px;
    }
}

@media (min-width: 1400px) {
    .cards-container .card.meals .card-div img {
        margin-right: 9rem;
    }

}
@media (max-width: 1400px) {
    .sticky-div .btn-link.back-btn {
        right: 0;
    }
}
@media (max-width: 1260px) {
    get-started .container {
        /*margin-left: unset;*/
        width: 91%;
    }
    .home_div {
        margin-top: 3rem;
    }
    .hero .hero-text {
        padding-left: 1rem;
    }
    #get-started .cards-container .card-div {
        height: 325px;
        width: 260px;
    }
    #page_volunteer_menu .home-buttons a {
        margin: 0.25rem 0 0.5rem 0;
        width: -webkit-fill-available;
    }
}

@media only screen and (max-device-width: 992px)
and (-webkit-min-device-pixel-ratio: 2)
and (-webkit-min-device-pixel-ratio: 3) {
    #erec_main_container.off-page-nav {
         overflow: scroll !important;
    }
    .uib-position-measure,
    .uib-position-scrollbar-measure,
    .uib-position-body-scrollbar-measure {
        overflow: scroll !important;
    }
    .off-page-nav #erec_side_nav, .off-page-nav #erec_nav_search {
        width: unset !important;
    }
}


@media (min-width: 992px) and (max-width: 1199px) {
.lb-right-scroll-panel {
overflow:auto;
width:681px;
}
.logbook-details-section{
width:938px;
}
}



@media (min-width: 768px) and (max-width: 991px) {
    .lb-right-scroll-panel {
        /*overflow:auto;*/
        width:461px;
    }
    .logbook-details-section{
        width:718px;
    }
}

@media (max-width: 1000px) {
    #get-started {
        margin-top: 2rem;
    }
    .get-started {
        flex-direction: column;
    }
    get-started .home-buttons {
        padding: 1rem 0;
    }
    .sticky-div .btn-link.back-btn {
        right: 0;
    }
    .urgent-btn {
        width: 245px;
    }
    #page_opp_search .container {
        margin: 0 auto;
        width: 96%;
    }
    #page_volunteer_home .info-box h3 {
        text-align: center;
    }
    .hero .hero-text {
         padding: unset;
    }
    .hero-text i {
        display: none;
    }
    .hero.card {
        margin: 0 auto;
        width: 90%;
    }
    .cards-container {
        width: 100%;
    }
    .cards-container .card-div {
        align-items: center;
        height: 270px;
        width: 218px;
    }
    .card.scholars img {
        height: 110%;
        margin-right: 2rem;
    }
    .cards-container .card.horizontal .card-div {
        width: 320px;
    }
    .church-community_div {
        flex-direction: column-reverse;
    }
    .church-community_div .search-head.secondary {
        width: unset;
    }
    .cards-container .card.meals .card-div img {
        margin-right: 7rem;
    }
    .card-div p {
        font-size: 0.8rem;
    }
}

@media (max-width: 900px) {
    .secondary-nav_div {
        flex-wrap: wrap;
    }
}

@media (max-width: 850px) {
    #erec_main_container.off-page-nav,
    .uib-position-measure,
    .uib-position-scrollbar-measure,
    .uib-position-body-scrollbar-measure {
        overflow: scroll;
    }
    .hero.card {
        width: 90%;
        margin: 0 auto;
        text-align: left;
    }
    .card-div .hover, .card-div .hover-text {
        /*padding-top: 4rem;*/
    }

    /*.cards-container .card-div {
        height: 270px;
        width: 220px;
    }*/
}

@media (max-width: 767px) {
    .uib-position-measure,
    .uib-position-body-scrollbar-measure {
        overflow: scroll !important;
    }
    /*.off-page-nav #erec_side_nav, .off-page-nav #erec_nav_search {
        width: 300px;
    }*/
    .sticky-div {
        position: static;
    }
    .sticky-div .btn-link.back-btn {
        /*right: 7%;*/
    }
    .secondary-nav_div {
        grid-template-columns: 1fr 1fr 1fr;
        display: grid;
    }
    .secondary-nav_div .secondary-nav {
        width: unset;
    }
    .secondary-nav_div .btn-hidden {
        display: inherit;
    }
    h2.search-head {
        padding: 0 1rem;
        white-space: break-spaces;
    }
    .info-box h3 {
        width: 70%;
        margin: 2rem auto 0;
    }
    .card-div .button-div {
        padding: 0.25rem 1.5rem;
    }
    a.card {
        font-weight: 500;
    }
    .card-div p {
        font-size: 0.725rem;
    }
    .cards-container .card-div {
        height: 215px;
        width: 240px !important;
    }
    .cards-container .card-div img {
        height: 325px;
        width: initial;
        align-self: center;
    }
    .cards-container .card.lead-group .card-div img {
        width: 120%;
    }
    .cards-container .card.meals .card-div img {
        margin-right: 0;
    }
    .home_div {
        margin-top: 0;
    }
    .lb-right-scroll-panel {
        overflow:auto;
        width:256px;
    }
    .logbook-details-section{
        width:auto;
    }
    .hidden-xs {
        display:none;
    }
    .tab-content > .block-imp {
        display:block !important;
    }
    .tab-content > .in-imp {
        opacity:1 !important;
        visibility: visible !important;
    }
    .pagename{
        margin-bottom:30px;
    }
}
@media (max-width: 600px) {
    .hero-text h3 {
        text-align: center;
    }
    #page_volunteer_home h2.search-head {
        margin-top: 0;
    }
    .home_div {
         margin-top: 0;
    }
    .sticky-div .btn-link.back-btn {
        /*top: 6px;*/
        right: 2%;
    }
    get-started .container {
        width: 100%;
    }
}
@media (max-width: 540px) {
    h2.search-head, .search-head {
        font-size: 2.6rem;
    }
    .info-box h3 {
        padding: 0 2rem;
        width: 75%;
    }
    .hero .hero-text {
        padding: 0;
    }
    .home-buttons {
        padding: 1rem 0;
    }
    .hero.card {
        margin: 1rem auto;
    }
    #get-started {
         margin-top: 0;
    }
    .opp-search_header .cards-container .card-div,
    #get-started .cards-container .card-div,
    .cards-container .card-div,
    .cards-container.church-community_div .card-div,
    .cards-container .card.horizontal .card-div {
        height: 240px;
        width: 400px !important;
    }
    .church-community_div {
        display: block;
        text-align: center;
        width: -moz-fit-content;
    }
    .cards-container .card-div img,
    recovery .cards-container .card.other .card-div img {
        align-self: flex-start;
        height: auto;
        width: 400px !important;
    }
    .card.little-village img {
        margin-top: -3rem;
    }
    .card.scholars img {
        margin-right: 0;
    }
    .cards-container .card.meals .card-div img {
        /*margin-right: 3rem;*/
    }
    .cards-container .card.lead-group .card-div img {
        /*width: 140%;*/
        /*height: max-content;*/
        align-self: flex-end;
    }
    .church-community_div .search-head.secondary {
        display: none;
    }
    .card-div p {
        font-size: 0.9rem;
    }
    .video-iframe {
        display: none;
    }
    .small-video {
        display: block;
    }
    button.btn.applied-filter-btn {
        white-space: normal;
        max-width: 80%;
    }
}
@media (max-width: 486px) {
    .hdr_nav_link{
        width:33.33%;
        min-width:auto !important;
        height:60px;
    }
    #hdr_nav_links{
        float:none;
    }
    #hdr_logo_container{
        display:block;
        background:#333;
        text-align:center;
        float:none;
    }
    #hdr_logo{
        display:inline-block;
        height:32px;
    }
    .secondary-nav_div {
        grid-template-columns: 1fr 1fr;
    }
    .secondary-nav_div .secondary-nav {
        height: 50px;
    }
    h2.search-head, .search-head, .church-community_div .search-head.secondary {
        font-size: 2.2rem;
        /*margin: 2rem 1rem 0;*/
    }
    .info-box h3 {
        padding: 1rem;
         width: 100%;
    }
    #page_volunteer_home .info-box h3 {
        text-align: center;
        padding: 0 2rem;
        margin: 0;
        width: 100%;
    }
    .opp-search_header .cards-container .card-div,
    #get-started .cards-container .card-div,
    .cards-container.church-community_div .card-div,
    .cards-container .card.horizontal .card-div {
        height: 200px;
        width: 90% !important;
        margin: 0 auto 1rem;
    }
    #logged_vol_header_nav .hdr_nav_link{
        min-width:auto;
        padding:6px;
        float:right;
    }
    #logged_vol_header_nav #hdr_primary_msg{
        padding: 6px 10px 6px 0;
        text-align: right;
        width:65%;
    }
    .pagename{
        margin-bottom:20px;
    }
    .history-div {
        width: 100% !important;
    }
    .mce-toolbar{
        display:none !important;
    }
    .footer .wrapper .little-box {
        flex-direction: column;
    }
    .footer .wrapper .big-box .footer-nav ul {
        padding-left: 0;
        justify-content: space-evenly;
    }
}

@media (max-width: 400px) {
    .hero-text h3 {
        font-size: 1.4rem;
        text-align: left;
    }
    .secondary-nav_div {
        grid-template-columns: 1fr;
    }
    .secondary-nav_div .secondary-nav {
        height: 40px;
    }
    .small-video{
        display: none;
    }
     .super-small-video {
        display: block;
    }
}
