/**** Custom Responsive Styles ****/
@media(max-width: 1450px) {
    #hero-section {
        background-position-y: -55px;
    }
}

@media (max-width: 1310px) {
    .opp-search_banner {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 95% !important;
    }
    #hero-section {
        background-repeat: repeat;
        background-position-x: -155px;
        background-position-y: -30px;
    }
    .hot_box {
        margin-left: 450px;
        padding: 15px 35px;
    }
    .hot_title {
        font-size: 1.7rem;
    }
    .hot_text,
    .hot_list {
        font-size: .9rem;
    }
    .volunteer-section .container{
        width: 90% !important;
    }
    .partner-section .container {
        width: 88% !important;
    }
}

@media (max-width: 1060px) {
    .sq-image {
        width: 53%;
    }
    .faq-h3 {
        font-size: 1.4rem;
    }
    .faq-question {
        font-size: 1.25rem;
    }
    .faq-header {
        font-size: 1.8rem;
    }
    .leaf {
        height: 22px;
        width: 22px;
    }
}

@media (max-width: 1040px) {
    .hot_box {
        margin-left: 375px;
    }
}

@media (max-width: 991px) {
    .double-btn-div {
        flex-direction: column;
        width: 325px;
    }
}


@media (max-device-width: 968px) {
    .opp-search-container > div > div:nth-child(2) {
        display: flex;
        flex-wrap: wrap;
    }
    .opp-search-container a {
        font-size: 1rem;
        margin: 7px 10px;
    }
    .sq-image {
        width: 45%;
    }
}

@media (max-width: 900px) {
    .site-map-container {
        width: 90% !important;
    }
    #hero-section {
        background-position-y: 0;
    }
    .sq-image {
        display: none;
    }
    .volunteer-section .horiz_card > div:first-child,
    .partner-section .horiz_card > div:nth-child(2) {
        width: auto;
    }
    .volunteer-section .container,
    .partner-section .container {
        height: 600px;
    }
    .volunteer-section p,
    .partner-section p {
        margin-bottom: 10px;
    }
    .volunteer-section button,
    .partner-section button {
        margin-top: 20px;
    }
    .big-leaf {
        height: 700px;
    }
}

@media (max-width: 767px) {
    .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;
    }
    #hero-section {
        background: none;
    }
    .open-notice {
        border-bottom: 1px solid #ececec;
    }
    .hot_box {
        margin: 30px auto;
    }
    .color-box > div {
        padding: unset;
    }
    .pagename {
        margin-bottom: 20px;
    }
    .container {
        width: 93% !important;
    }
    #volunteer_login_container > div {
        flex-direction: column;
        width: 60%;
        margin: 0 auto;
    }
    #volunteer_login_container > div > div:last-child {
        margin-top: 50px !important;
    }
    #volunteer_login_container > div > div:nth-child(2) > h3 {
        font-size: 1.4rem;
    }
    .appt-btns a {
        display: flex;
        justify-content: center;
        width: auto;
    }
    .faq-list {
        column-count: 2;
        font-size: 0.8rem;
        padding: 10px 20px;
    }
    page-name > div > div > div > div.col-xs-12.col-sm-9.col-sm-pull-3 > h1 {
        margin-bottom: 0;
    }
    .opp-search_banner {
        display: none;
        margin-top: 0;
    }
    .opp-search_banner:last-child {
        display: flex;
        flex-direction: column;
    }
    .opp-search_banner:last-child p,
    .opp-search_banner:last-child h3 {
        align-self: center;
    }
    .opp-search_banner:last-child p:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 733px) {
    .hot_box {
        box-shadow: none;
        margin: 0 auto;
    }
    .hot_title {
        text-align: left;
    }
    .title_div {
        flex-direction: column;
    }
    .title_div > div {
        justify-content: flex-start;
    }
    .main p {
        text-align: center;
    }
    .secondary-h4 {
        margin: 20px auto 10px;
        text-align: center;
    }
    .icon-sm {
        display: none;
    }
    .icon-text-btn_div > div:nth-child(2) > div {
        display: block;
        margin: 20px auto 0;
    }
    .in-person-icon ul,
    .virtual_container ul {
        margin-bottom: 30px;
    }
    .virtual_container > .options_container a {
        max-width: 275px;
    }
    .qualifications-box {
        margin: 0 auto;
        padding: 30px 0;
    }
    .icon-text-btn_div {
        margin: 20px 15px 40px;
    }
    .smaller-title {
        text-align: center;
    }
    #volunteer_login_container > div {
        width: 90%;
    }
    .faq-header {
        font-size: 1.8rem;
        text-align: center;
    }
    faq-contact .faq-p {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 25px;
        padding: 0 40px;
    }
    .questions-sections p {
        margin-bottom: 25px;
    }
}


@media (max-width: 675px) {
    .opp-search-container > div > div:nth-child(2) {
        flex-direction: column;
        margin: 15px auto;
        width: 70%;
    }
    .questions-sections {
        width: 92%;
    }
    .site-map-container {
        width: 90% !important;
    }
    .site-columns {
        flex-direction: column;
    }
    .big-leaf {
        visibility: hidden;
        height: unset;
    }
    .partner-section .big-leaf {
        height: 500px;
        /*margin-bottom: 0;*/
    }
    .volunteer-section .container {
        top: 0;
    }
    .partner-section {
        margin-top: 0;
        margin-bottom: 50px;
    }
   .volunteer-section > div.box,
   .partner-section > div.box {
       box-shadow: none;
   }
    .volunteer-section .horiz_card > div:first-child, .partner-section .horiz_card > div:nth-child(2) {
        padding: 20px;
    }
    .volunteer-section .container, .partner-section .container {
        height: auto;
        width: 92% !important;
    }
    .partner-logo-block img {
        height: 64px;
    }
    section .volunteer-section {
        /* display: inherit; */
        height: 500px;
    }
    section .partner-section {
        /* display: inherit; */
        height: 600px;
    }
}

@media (max-device-width: 555px) {
    .big-leaf {
        height: 750px;
    }
    .questions-sections p {
        padding: 0;
    }
    faq-contact .faq-p {
        padding: 0;
    }
    faq-contact .faq-ul {
        padding-left: 0;
    }
    .faq-section-header {
        font-size: 1rem;
    }
    .opp-search-container > div > div:nth-child(2) {
        flex-direction: column;
    }
    .footer_navigation {
        margin: 0 auto;
        width: 85%;
    }
    .footer_navigation button,
    .footer_navigation button a {
        padding: 6px 10px !important;
    }
    .footer_nav {
        font-size: 0.9rem;
        font-weight: 500;
    }

}

@media only screen
and (max-device-width: 486px) {
    .hdr_nav_link {
        width: 33.33%;
        min-width: auto !important;
        height: 60px;
    }
    .options_container h2 {
        margin-top: 20px;
    }
    .title_div {
        display: flex;
        flex-direction: column;
    }
    .secondary-h4 {
        font-size: 1.6rem;
        margin: auto;
        text-align: center;
    }
    .left-arrow {
        height: 40px;
        margin: 0;
    }
    .go-back_div {
        margin-bottom: 10px;
    }

    .in-person_container,
    .diy_container,
    .virtual_container,
    .site_container {
        margin-top: 10px;
        width: fit-content;
    }
    .icon-sm {
        height: 100px;
        width: 100px;
        margin-bottom: 20px;
    }
    .options_container p {
        /*font-weight: 300;*/
        font-size: 1rem;
        margin: 0 14px 20px;
        text-align: center;
    }
    .options_container li {
        padding: 5px;
    }
    .diy_container ul,
    .in-person_container ul,
    .virtual_container ul {
        margin-bottom: 25px;
    }
    .icon-text-btn_div > div:nth-child(2) > div {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        width: 80%;
    }
    .virtual_container a,
    .in-person_container a {
        margin: 0 auto;
    }
    .in-person_container .title_div:first-child {
        width: fit-content;
    }
    .volunteer-section .container,
    .partner-section .container {
        height: auto;
    }
    #hdr_nav_links {
        float: none;
    }
    #hdr_logo_container {
        display: block;
        background: #333;
        text-align: center;
        float: none;
    }
    #hdr_logo {
        display: inline-block;
        height: 32px;
    }
    #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;
    }
    .social {
        width: 43px;
        display: block;
        margin-left: 0;
        margin-right: 2px;
    }
    .faq-h3 {
        font-size: 1.4rem;
    }
    .faq-question {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    .faq-list {
        column-count: 1;
        font-size: 0.9rem;
    }
}

@media only screen
and (max-width: 444px) {
    .container {
        width: 100% !important;
    }
    .opp-search_banner:last-child {
        display: none;
    }
    .opp-search-container > div > div:nth-child(2) {
        flex-direction: column;
        margin-top: 0;
        width: 100%;
    }
    .opp-search_container a {
        margin: 4px;
        padding: 10px 20px;
    }
    #page_volunteer_home button,
    .questions-sections a {
        font-size: .95rem;
        white-space: nowrap;
    }
    .volunteer-section .container, .partner-section .container {
        height: 440px;
    }
}

@media only screen
and (max-width: 425px) {
    .options_container a {
        font-size: 0.9rem;
    }
    .faq-h3 {
        font-size: 1.3rem;
        margin-top: 0;
    }
    .faq-question {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    .faq-p {
        line-height: 1.6;
    }
    faq-about hr {
        margin: 10px 0 !important;
    }
    .header-div {
        padding-top: 20px !important;
    }
    .faq-header {
        font-size: 1.6rem;
    }
    .back-to-top {
        font-size: .9rem;
    }
    a.eitc-btn {
        font-size: .8rem;
        height: auto;
        padding: 8px 20px;
        width: 213px;
    }
    .home-button {
        margin-left: 0;
    }
    #erec_wrapper > div.view-container.clearfix > div > section:nth-child(9) > partner-with-us-section > div > div > div:nth-child(2) {
        padding: 80px 20px;
    }
    #frequently_asked_questions > div > faq-documents > div,
    #frequently_asked_questions > div > faq-volunteer > div,
    #frequently_asked_questions > div > faq-partner > div {
        padding-top: 0 !important;
    }
    .appt-btns a {
        font-size: .9rem;
    }
    #page_volunteer_home button,
     .questions-sections a {
         font-size: .9rem;
     }
}

@media only screen
and (max-width: 405px) {
    #erec_wrapper > div.view-container.clearfix > div > section:nth-child(9) > partner-with-us-section > div > div > div:nth-child(2) {
        margin-top: 100px;
    }
    .big-leaf {
        height: 645px;
    }
    .partner-section .big-leaf {
        margin-bottom: 0;
    }
    section .partner-section {
        margin-top: -40px;
    }
}


/* DEVICES */

/* iPad Pro Portrait */
@media only screen
and (min-width: 1024px)
and (max-height: 1366px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 2) {
    .options_container {
        height: auto;
    }
    .options_container h2 {
        margin-top: 20px;
    }
    .main-icons {
        padding-top: 10px;
    }
    .in-person_container ul,
    .virtual_container ul {
        margin-bottom: 25px;
    }
    .questions-sections {
        margin: 40px auto 50px;
    }
    .color-box > div {
        padding: 20px 90px;
    }
    .big-leaf {
        height: 750px;
    }
    .partner-section .big-leaf {
        left: 0;
        height: 600px;
    }
    .horiz_card .container {
        /*background-color: transparent;*/
        border: none;
    }
    .horiz_card > div:first-child {
        box-shadow: 12px 12px 25px rgba(0, 0, 0, 0.16);
    }
    .volunteer-section .container {
        background-color: transparent;
        height: 500px;
        top: 100px;
        max-width: 90%;
    }
    .partner-section .container {
        background-color: #fff;
        height: 530px;
        max-width: 70%;
        top: 100px;
    }
    .volunteer-section .horiz_card > div:first-child,
    .partner-section .horiz_card > div:last-child {
        background-color: #fff;
        width: auto;
    }
    .smaller-title {
        font-size: 2rem;
        margin: 10px 0 20px;
    }
    .volunteer-section p,
    .partner-section p {
        /*padding: 30px 50px 100px;*/
        text-align: left;
    }
    .volunteer-section a,
    .partner-section a {
        margin-top: -105px;
    }
    .sq-image {
        display: none;
    }
}

/* iPad Pro Landscape */
@media only screen
and (min-device-width: 1024px)
and (max-device-width: 1366px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 2) {
    #hero-section {
        background-position-x: -150px;
        background-position-y: -20px;
        background-repeat: repeat;
    }
    .hot_box {
        margin-left: auto;
        padding: 30px 35px;
    }
    .hot_title {
        font-size: 1.8rem;
    }
    .hot_text {
        font-size: 1rem;
    }
    .hot_list {
        font-size: 1rem;
    }
}

@media only screen
and (max-device-width: 1023px)
{
    #header_spacer {
        padding-top: 91px !important;
    }
    #hero-section {
        background-image: none;
        height: auto;
    }
    .hot_box {
        margin: 30px auto;
        width: 600px;
    }
    .hot_title {
        font-size: 2.2rem;
        text-align: center;
    }
    .in-person_container,
    .diy_container,
    .virtual_container,
    .site_container {
        margin: 30px 20px;
        width: fit-content;
    }
    .in-person_container .title_div:first-child {
        /*width: 600px;*/
        width: auto;
    }
    .options_container p {
        font-size: 1rem;
    }
    .options_container a {
        font-size: 1rem;
    }
    .in-person_container .secondary-h4 {
        font-size: 1.8rem;
    }
    .qualifications-box {
        margin: 0;
        /*padding: 40px 100px;*/
        width: 100%;
    }
    .qual-flex div {
        margin: 0;
    }
    .color-box > div {
        padding: 30px 50px;
    }
    .eitc_container .smaller-title {
        font-size: 1.7rem;
    }
    .partner-section,
    .volunteer-section {
        display: initial;
        position: relative;
    }
    .volunteer-section .container,
    .partner-section .container {
        position: revert;
        height: auto;
        padding-bottom: 0;
    }
    .sq-image,
    .big-leaf {
        display: none;
    }
    .volunteer-section .horiz_card > div:first-child,
    .partner-section .horiz_card > div:nth-child(2) {
        height: auto;
        width: auto;
    }
    .volunteer-section p,
    .partner-section p {
        text-align: left;
    }
}

/* Devices between 414px - 1024px LANDSCAPE */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 1024px)
and (orientation: landscape) {
    #hero-section {
        background-position-x: -160px;
        background-position-y: 0;
        background-repeat: repeat;
    }
    .options_container {
        height: 400px;
    }
    div.options_container > div.main > div.container {
        padding: 30px 50px 0;
    }
    .color-box > div {
        padding: 30px 80px;
    }
    .partner-section,
    .volunteer-section {
        display: initial;
        position: relative;
    }
    .volunteer-section .container,
    .partner-section .container {
        height: auto;
        position: relative;
        top: 0;
        margin: 20px auto;
        width: 80%;
    }
    .sq-image,
    .big-leaf {
        display: none;
    }
    .volunteer-section .horiz_card > div:first-child,
    .partner-section .horiz_card > div:nth-child(2) {
        height: auto;
        width: auto;
    }
    .volunteer-section p,
    .partner-section p {
        text-align: left;
    }
}

@media only screen
and (max-device-width: 733px)
and (-webkit-min-device-pixel-ratio: 2) {
    #header_spacer {
        padding-top: 100px !important;
    }
    #hero-section {
        background-image: none;
    }
    .hot_box {
        margin-left: 0;
        width: 100%;
    }
    .main-icons {
        display: flex;
        flex-wrap: wrap;
    }
    .color-box > div {
        padding: 15px 50px;
    }
    .virtual-icon, .in-person-icon, .diy-icon {
        margin: 20px 35px 15px;
        height: 135px;
        width: 135px;
    }
    .docs_container img,
    .eitc_container img {
        margin: 0 auto;
    }
    .icon-text-btn_div {
        display: block;
    }
    .icon-text-btn_div > div:nth-child(2) {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .icon-text-btn_div > div:nth-child(1) {
        display: none;
    }
    .qual-flex li,
    .qualifications-box p {
        line-height: 1.8;
    }
    .qual-flex {
        margin: 0 30px;
    }
    .qualifications-box h2 {
        margin-bottom: 20px;
    }
    .smaller-title {
        font-size: 1.7rem;
    }
    .eitc_container .smaller-title {
        font-size: 1.7rem;
    }
    .color-box > div {
        line-height: 1.6;
        padding: 0 60px;
    }
    .home-button {
        margin: 20px auto 5px;
    }
    .questions-sections {
        width: 80%;
    }
    .sq-image {
        background-image: none;
    }
    .big-leaf {
        display: none;
    }
    .horiz_card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
        width: 90%;
        box-shadow: none;
    }
    .volunteer-section .horiz_card > div:first-child,
    .partner-section .horiz_card > div:nth-child(2) {
        padding: 35px 40px;
        width: auto;
    }
    .volunteer-section .horiz_card > div:first-child,
    .partner-section .horiz_card > div:nth-child(2) {
        border-top: #e8e8e8 1px solid;
        padding: 40px 20px;
    }
    .volunteer-section a,
    .partner-section a {
        margin: 20px auto;
    }
    .volunteer-section p,
    .partner-section p {
        margin: 0 30px 10px;
    }
    .in-person_container,
    .diy_container,
    .virtual_container,
    .site_container {
        margin-top: 10px;
        width: fit-content;
    }
    #volunteer_login_container > div {
        width: 90%;
    }
    .faq-header {
        text-align: center;
    }
    faq-contact .faq-p {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 25px;
        padding: 0 40px;
    }
    .questions-sections p {
        margin-bottom: 25px;
    }
    #client_footer {
        padding-bottom: 10px !important;
    }
    .footer_navigation {
        margin-top: 20px !important;
    }
    .samaritan-footer {
        font-size: 0.75rem;
        letter-spacing: 0.8px;
    }
}

@media only screen
and (max-device-width: 713px)
and (orientation: landscape) {
    .main {
        padding: 0;
    }
}

@media only screen
and (max-device-width: 660px)
and (orientation: landscape) {
    .main-icons {
        flex-wrap: nowrap;
    }
    .virtual-icon,
    .in-person-icon,
    .diy-icon {
        height: 100px;
        width: 100px;
    }
    div.main-icons div {
        height: 190px;
    }
    .options_container p {
        font-size: .85rem;
        margin: 0 10px;
    }
}
@media only screen and (max-device-width: 450px) and (-webkit-min-device-pixel-ratio: 2) {
    .color-box > div {
        padding: 0 20px;
    }
}
