/* Mobile phones and small tablets*/
@media (max-width: 767px) {
    #refer_friend_form .col-6 div {
        padding: 0px 20px 0 20px !important;
    }

    #refer_friend_form .col-6:last-child {
        padding-bottom: 17px;
    }

    #refer_friend_form .contact_head {
        font-size: 20px !important;
    }

    #refer_friend_form {
        margin-top: -10px;
    }

    .page-refer-a-friend .container-fluid {
        padding: 0px !important;
    }
    .mobile-last-padding .row{
        padding: 30px !important;
    }

    #accordion .card-title span {
        width: 90% !important;
    }

    .nav-item:hover .nav-link {
        color: #fff !important;
    }

    .home_links .left {
        padding: 5px 0 0 0;
    }

    .toplinks, .hide_mobile {
        display: none;
    }


    .sts, .life, .refer_friend, .contact, .household, .business, .careers, .rewards, .blog {
        background-image: none !important;
        min-height: 0px !important;
    }

    .life, .business, .rewards {
        margin-bottom: -60px !important;
    }

    .blog {
        margin-bottom: -25px !important;
    }

    .contact_head_container {
        display: none
    }

    .contact_bottom .col-5 {
        padding: 0px 0 40px 0 !important;
        margin-top: -30px
    }

    .navbar {
        padding: 1px 0px 0px 0px;
    }

    .card-body {
        padding: 0 10px 0 10px !important;
    }

    .navbar-toggler {
        line-height: 0 !important;
        margin-right: 30px;
    }

    .navbar-brand {
        margin-left: 30px;
    }

    .navbar-brand img {
        height: 50px;
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .nav-item.active .nav-link {
        border: none !important;
    }

    .nav-item {
        margin-bottom: 5px;
    }

    .navbar-collapse {
        background: #4c4c4e;
        width: 245px !important;
        position: fixed;
        height: 94%;
        top: 62px;
        right: 0;
        overflow: scroll;
    }

    .nav-link, .dropdown-item {
        color: #fff !important;
        font-size: 14px !important;
    }

    .dropdown-menu {
        margin: -8px 0 0 0 !important;
    }

    .navbar-nav {
        padding-left: 10px !important;
        padding-right: 15px !important;
    }

    .shiny_btn .head {
        font-size: 14px;
    }

    .blog_container {
        padding: 0 !important;
    }

    .blog_container .col-12 {
        padding: 0 !important;
    }

    .blog_container .col-4 {
        max-width: 95% !important;
        flex: 95% !important;
    }

    .blog_container .featured-images {
        width: 30% !important;
        float: left;
    }

    .blog_container .featured-images img {
        height: 70px !important;
    }

    .blog_container .excerpt {
        display: none;
    }

    .blog_container .info-container {
        height: 70px;
        padding: 8px 10px 0 10px !important;
    }

    .blog_container .info {
        font-size: 10px !important;
    }

    .blog_container h3 {
        font-size: 14px;
        max-height: 36px;
        line-height: 17px;
        margin-bottom: 0px;
    }

    .blog_container .rounded-bottom, .blog_container .rounded-left {
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: .25rem !important;
    }

    .blog_container .rounded-right, .blog_container .rounded-top {
        border-top-right-radius: 0 !important;
        border-bottom-left-radius: .25rem !important;
    }

    .blog_container .mb-5 {
        margin-bottom: 20px !important;
    }

    .featuredImage {
        max-width: 100% !important;
    }

    .blog_container .pagination {
        width: 88%;
        margin: auto auto 20px auto;
    }

    .sts .shiny_btn {
        position: relative;
        top: -60px;
    }

    .contact .shiny_btn {
        position: relative;
        top: -190px;
    }

    .building .shiny_btn {
        position: relative;
        top: -170px;
    }

    .services .slider_text .mobile_padding {
        margin-top: 0px !important;
        padding: 0 15px 0 15px !important;
    }

    .life .shiny_btn, .household .shiny_btn, .business .shiny_btn, .careers .shiny_btn, .rewards .shiny_btn {
        position: relative;
        top: -161px;
    }

    .contact .shiny_btn {
        display: none;
    }

    .car .slider_text {
        margin-bottom: -90px !important;
    }

    .fancy_top_border {
        margin: 11px 26px 0 26px !important;
    }

    .why_us {
        margin: 0 10px 0 10px !important;
    }

    .navbar-collapse.collapsing {
        -webkit-transition: right 0.3s ease;
        -o-transition: right 0.3s ease;
        -moz-transition: right 0.3s ease;
        transition: right 0.3s ease;
        right: -100%;
    }

    .navbar-collapse.show {
        right: 0;
        -webkit-transition: right 0.3s ease-in;
        -o-transition: right 0.3s ease-in;
        -moz-transition: right 0.3s ease-in;
        transition: right 0.3s ease-in;
    }

    #mobile_menu_bottom {
        display: block;
        position: relative;
        padding: 20px 0 0 0;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        margin-bottom: 5px !important;
    }

    .bosses h2 {
        font-size: 20px;
    }

    .mr-5 {
        margin-right: 0px !important;
    }

    #mobile_menu_bottom .mobile_search {
        background: #f1f1f1;
        border: none;
        width: 130px;
        height: 40px !important;
        padding: 0 0 0 10px;

    }

    #mobile_menu_bottom button {
        background: #7a182a;
        border: 3px solid #7a182a;
        color: #fff;
        border: none;
        width: 100% !important;
        margin-left: -3px;
        font-size: 14px;
        padding: 13px 10px 13px 10px;
    }

    #mobile_menu_bottom button:hover {
        background: #fff;
        color: #7a182a;
    }

    .mobile_number a, .mobile_number {
        color: #fff;
    }


    #m_button {
        margin: 10px 0 10px 0;
        border-bottom: 1px solid #fff;
        padding-bottom: 20px;
    }

    #m_button .btn {
        padding-left: 50px;
        padding-right: 50px;
    }

    .msoc {
        display: block;
        color: #fff;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: #7a182a;
        border: 1px transparent;
        float: left;
        text-align: center;
        padding: 6px;

    }

    .last_one {
        margin: 0 8px 0 7px !important;
    }

    .mobile_number {
        width: 100%;
        clear: both;
        border-bottom: 1px solid #fff;
        font-size: 13px;
        padding-bottom: 10px;
        margin-bottom: 20px;
        text-align: center;
    }

    .row {
        width: 100% !important;
    }

    .site_navigation .col-5 {
        max-width: 30% !important;
        flex: 30% !important;
    }

    .has-sub {
        padding-bottom: 3px !important;
    }

    .home_links_container {
        background: #939597;
        background-image: url("../../assets/images/bg2_mobile.png");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        padding: 40px 0 10px 0;
    }

    .home_links_container .col-sm {
        max-width: 90% !important;
        flex: 90% !important;
        margin: auto auto 40px auto;
    }

    .col-6 {
        max-width: 100% !important;
        flex: 100% !important;
    }

    .col-4, .col-5 {
        max-width: 90% !important;
        flex: 90% !important;
        margin: auto;
    }

    .slider_text {
        width: 100% !important;
        margin: auto;
        padding: 30px 0px 0px 0px;
    }

    .slider_image {
        width: 100% !important;
    }

    .row {
        margin: 0 !important;
    }

    .container {
        padding: 0px !important;
    }

    .slider_text a {
        width: 230px;
    }

    .slider_text a .line {
        width: 50% !important
    }

    .slider_text p br {
        display: none !important;
    }

    .slider_text p br:after {
        display: none !important;
    }

    .appointment .slider_text {
        margin-bottom: 40px;
    }

    .footer p {
        text-align: center;
        font-size: 15px;
    }

    .footer .col-12 {
        padding: 0 15px 0 15px;
    }

    .bg2, .services, .health, .about, .building {
        background-image: none !important;
        margin-bottom: 30px;
        min-height: 0px !important;
    }

    .bg1 {
        margin-top: 0px !important;
        background-image: none !important;
        min-height: 0px !important;
    }

    .about_b {
        background-image: none !important;
        margin-bottom: 0px;
    }

    .careers {
        margin-bottom: -80px !important;
    }

    .slider_image {
        display: block;
    }

    .mobile_slider_image {
        display: block;
        width: 100%;
        margin: -30px 0 20px 0;
    }

    .bg1 .mobile_slider_image {
        margin: -30px 0 -57px 0 !important;
    }

    .sts .mobile_slider_image {
        margin: -10px 0 -65px 0;
    }

    .mobile_slider_image img {
        width: 100%;
    }

    .slider {
        margin-top: 0px !important;
    }

    .slider_text h1 {
        font-size: 32px;
        line-height: 45px !important;
    }

    .slider_text h1 .gold {
        font-size: 29px;
    }

    .slider_text p {
        font-size: 15px;
        line-height: 29px;
    }

    .slider_text .mobile_padding {
        width: 100%;
        margin: auto;
        padding: 0 15px 0 15px !important;
    }

    .bg2 {
        margin: 0 !important;
    }

    .bg2 .appointment .slider_text {
        margin: 0 !important;
    }

    .services .col-7 {
        max-width: 100% !important;
        padding: 0 !important;
        flex: 100% !important;
    }

    .contact_bottom .col-7 {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-bottom: 20px !important;
    }

    .text_box_container .col-10 {
        max-width: 80% !important;
        padding: 0 !important;
        flex: 100% !important;
    }

    .services .slider_text h1 {
        font-size: 30px !important;
        line-height: 40px !important;
        padding-top: 30px;
    }

    .services .slider_text h1 .orange {
        font-size: 30px !important;
        line-height: 40px !important;
        padding-top: 30px;
    }

    .services .slider_text h1 .gold {
        font-size: 30px !important;
        line-height: 40px !important;
        padding-top: 30px;
    }

    .services .slider_text p {
        font-size: 16px !important;
        line-height: 25px;
        margin-bottom: 30px;
    }

    .text_box_container {
        padding: 0 !important;
        margin-top: 30px;
    }

    .text_box_container .icon_text, .services_bottom_container .icon_text {
        margin-right: 10px;
    }

    .custom_gd1 {
        margin-top: 40px;
        margin-bottom: 0px;
        padding-bottom: 0px !important;
    }

    .custom_gd2 {
        margin-top: 10px;
    }

    .custom_gd1 .black_border {
    }

    .col-8, .col-7 {
        max-width: 100% !important;
        flex: 100% !important;
    }

    .custom_gd1 .orange_border {
        margin-bottom: 60px !important;
    }

    .nopd .pt-4 {
        padding-top: 0px !important;
    }

    .custom_gd2 .orange_border {
        margin-bottom: 50px !important;
    }

    .card-header {
        padding-left: 20px !important;
    }

    .card-title {
        font-size: 14px !important;
    }

    .custom_gd2 {
        margin-top: 40px;
    }

    .bg2 {
        margin-bottom: 10px !important;
    }

    .health {
        margin-bottom: -60px !important;
    }

    .about {
        margin-top: 10px !important;
        margin-bottom: -70px !important;
    }

    .golden, .bosses {
        width: 90%;
        margin: auto;
    }

    .bosses .pr-5, .px-5 {
        padding-right: 0px !important;
    }

    .bosses .col-sm {
        padding-left: 0px !important;
        padding-bottom: 30px;
    }

    .bosses .fancy_side_border {
        width: 180px !important;
    }

    .about_bottom {
        margin: -80px 0 -30px 0 !important;
    }

    .medical .slider_text a, .about .slider_text a {
        width: 290px;
        margin: 0px auto 0px auto !important;
    }

    .shiny_btn {
        margin: auto;
        padding: 12px 0 12px 0;
    }

    .health .shiny_btn, .about .shiny_btn {
        position: relative;
        top: -150px;
    }

    .bg1 .shiny_btn, .sts .shiny_btn {
        position: relative;
        top: -80px;
    }

    .appointment .slider_text h1 {
        font-size: 37px !important;
    }

}

/* Media Query for Tablets Ipads portrait mode */
@media (min-width: 768px) and (max-width: 1100px) {
    .navbar-brand img {
        height: 50px !important;
    }

    .contact {
        background-position: 180% 100%;
    }

    .contact_bottom .col-5 {
        padding-right: 20px !important;
    }

    .page-index .container {
        max-width: 100% !important;
    }

    .page-about .pr-5, .px-5 {
        padding: 0 10px 0 10px !important;
    }

    .ml-3, .mx-3, .ml-md-4, .mx-md-4 {
        margin-left: 0 !important;
    }

    .nav-link {
        font-size: 14px;
    }

    .nav-item {
        margin-right: 0px !important;
        margin-left: 8px !important;
        margin-top: 0px !important;
    }

    #top_call {
        display: none;
    }

    .featured-images a img {
        height: 140px !important;
    }

    .blog_container .excerpt {
        display: none;
    }

    .info-container {
        height: 170px;
    }

    .blog_container .info {
        font-size: 13px;
    }

    .top_call_icon {
        display: inline-block;
    }

    #top_call {
        padding: 0 !important;
    }

    .site_navigation .col-6 {
        padding-right: 0px;
        padding-left: 10px;
    }

    .hide_mobile .col-4 {
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }

    #top_button {
        -ms-flex: 0 0 35% !important;
        flex: 0 0 35% !important;
        max-width: 35% !important;
    }

    #top_search {
        text-align: right;
        padding: 23px 10px 0 0 !important;
    }

    .social_icon {
        margin: 0 0 0 10px !important;
    }

    .btn {
        font-size: 16px !important;
        padding: 13px 20px 14px 20px !important;
        margin-top: 6px !important;
        margin-right: 10px !important;
    }

    .social_icon i {
        font-size: 20px !important;
    }

    #top_search i {
        font-size: 20px !important;
        width: 20px;
    }

    #top_button {
        float: left !important;
        text-align: right: !important;
    }

    .nav-item:hover:after {
        opacity: 0 !important;
    }

    .dropdown-menu {
        top: 40px !important;
    }

    .slider .col-8 {
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
        padding-left: 20px;
    }

    .slider .col-7 {
        -ms-flex: 0 0 53%;
        flex: 0 0 53%;
        max-width: 53%;
        padding-left: 20px;
    }

    .about_b .slider .col-7 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 20px;
    }

    .business .slider .col-7 {
        -ms-flex: 0 0 73%;
        flex: 0 0 73%;
        max-width: 73%;
        padding-left: 20px;
    }

    .fancy_side_border {
        width: 50px !important;
    }

    .why_us {
        margin-right: 10px;
    }

    .fancy_top_border {
        margin: 11px 20px 0 20px;
    }

    .slider_text h1, .slider_text .gold {
        font-weight: 700;
        font-size: 42px !important;
        line-height: 55px !important;
    }

    .about {
        background-position: right;
        background-size: 1187px 430px;
        min-height: 430px;
    }

    .about .slider_text h1, .about .slider_text .gold, .about .slider_text .orange, h1 {
        font-size: 42px !important;
    }

    h2 {
        font-size: 17px !important;
    }

    .about_b {
        background-image: none;
    }

    .shiny_btn .head {
        font-size: 15px;
    }

    .shiny_btn {
        padding: 10px 0 11px 0;
        width: 230px;
    }

    .slider_text p {
        font-size: 18px !important;
        padding-bottom: 0px;
        line-height: 29px !important;
    }

    .about .slider_text p {
        font-size: 16px !important;
        padding-bottom: 0px;
        line-height: 29px !important;
    }

    .slider_text {
        padding: 30px 0 0 0;
    }

    .home_links_container {
        padding: 40px 20px 0px 20px !important;
    }

    .home_links {
        height: 55px;
        padding-left: 5px !important;
    }

    .home_links .left {
        font-size: 15px !important;
        padding: 0;
        width: 70%;
    }

    .home_links .right {
        padding: 13px 25px 14px 25px;
    }

    .text_box_container {
        padding: 40px 20px 40px 20px;
    }

    .text_box_container .col-10 {
        padding-left: 5px !important;
        padding-right: 0px !important;
    }

    .text_box_container h2 {
        font-size: 20px !important;
    }

    .text_box_container .fa, .services_bottom_container .fa {
        font-size: 20px !important;
        line-height: 31px !important;
    }

    .bg1 {
        background-position: right;
        background-size: 542px 354px;
        min-height: 354px;
    }

    .services .slider_text p {
        font-size: 18px !important;
    }

    .home_bottom {
        min-height: 354px;
    }

    .about_b {
        background-position: right;
    }
}


@media (min-width: 924px) and (max-width: 1100px) {
    .sts {
        background-position: right !important;
    }

    .bg1 {
        background-position: right !important;
    }

    .slider_text p {
        line-height: 35px !important;
    }
}

@media (min-width: 984px) and (max-width: 1100px) {
    .featured-images a img {
        height: 170px !important;
    }
}


/* */
@media (min-width: 1101px) and (max-width: 1200px) {
    .featured-images a img {
        height: 170px !important;
    }

    .navbar-brand img {
        height: 60px !important;
    }

    .nav-link {
        font-size: 14px;
    }

    .nav-item {
        margin-right: 10px !important;
        margin-left: 10px !important;
        margin-top: 10px
    }

    .slider_text h1 {
        font-size: 52px !important;
        line-height: 60px;
    }

    .slider_text p {
        font-size: 20px;
    }

    .about .slider_text h1, .about .slider_text .gold, .about .slider_text .orange, h1 {
        font-size: 43px !important;
        line-height: 55px !important;
    }

    h2 {
        font-size: 17px !important;
    }

    .about_b {
        background-position: right;
        background-size: 977px 558px;
    }

    #top_call {
        display: none;
    }

    .top_call_icon {
        display: inline-block;
    }

    .slider .col-8 {
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
        padding-left: 20px;
    }

    .slider .col-7 {
        -ms-flex: 0 0 53%;
        flex: 0 0 53%;
        max-width: 53%;
        padding-left: 20px;
    }

    #top_call {
        padding: 0 !important;
    }

    .site_navigation .col-6 {
        padding-right: 0px;
        padding-left: 10px;
    }

    .site_navigation .ml-md-4, .mx-md-4 {
        margin-left: 1rem !important;
    }

    .hide_mobile .col-4 {
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }

    #top_button {
        -ms-flex: 0 0 35% !important;
        flex: 0 0 35% !important;
        max-width: 35% !important;
    }

    #top_search {
        text-align: right;
        padding: 29px 10px 0 0 !important;
    }

    .social_icon {
        margin: 0 0 0 10px !important;
    }

    .btn {
        font-size: 16px !important;
        padding: 13px 20px 14px 20px !important;
        margin-top: 9px !important;
        margin-right: 10px !important;
    }

    .social_icon i {
        font-size: 20px !important;
    }

    #top_search i {
        font-size: 20px !important;
        width: 20px;
    }

    #top_button {
        float: left !important;
        text-align: right: !important;
    }

    .fancy_side_border {
        width: 60px;
    }

    .slider_text p {
        padding-bottom: 10px;
    }

    .bg1 {
        background-position: right;
        background-size: 651px 425px;
        min-height: 425px;
    }

    .home_bottom {
        min-height: 398px;
    }

    .car {
        background-position: right;
    }

    .household {
        background-position: right;
    }

    .business {
        background-position: right;
    }

    .sts {
        background-position: right;
        background-size: 819px 468px;
        min-height: 468px;
    }
}

@media (min-width: 1201px) and (max-width: 1366px) {
    .slider_text h1, .slider_text h1 .gold {
        font-size: 59px;
        line-height: 59px;
    }

    .slider .col-8 {
        -ms-flex: 0 0 53%;
        flex: 0 0 53%;
        max-width: 53%;
        padding-left: 20px;
    }

    .slider .col-7 {
        -ms-flex: 0 0 53%;
        flex: 0 0 53%;
        max-width: 53%;
        padding-left: 20px;
    }

    .slider_text p {
        padding-bottom: 20px;
    }

    .home_bottom .slider_text p {
        line-height: 30px;
    }

    .services .slider_text h1, .services .slider_text .gold {
        line-height: 59px !important;
    }

    .bg1 {
        background-position: right;
    }

    .about .slider_text h1, .about .slider_text .gold, .about .slider_text .orange, h1 {
        font-size: 49px !important;
        line-height: 60px;
    }

    .about_b {
        background-position: right;
    }

    .sts {
        background-position: right;
        background-size: 823px 494px !important;
        min-height: 494px !important;
    }
}

@media (min-width: 1367px) and (max-width: 1500px) {
    .bg1 {
        background-position: right;
    }

    .sts {
        background-position: right;
    }
}

@media (max-width: 320px) {
    .last_one {
        margin: 0 5px 0 5px !important;
    }

    .slider_text h1 {
        font-size: 25px !important;
        line-height: 36px !important;
    }

    .text_box_container .icon_text, .services_bottom_container .icon_text {
        padding-top: 5px !important;
    }

    .services .slider_text p {
        font-size: 13px !important;
        margin-bottom: 30px;
    }

    h1, h1 .orange {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }

    h2 {
        font-size: 20px !important;
    }

    p {
        font-size: 13px !important;
        color: #939597;
        line-height: 25px;
    }

    .footer p {
        font-size: 13px;
    }

    .slider_text h1 .gold {
        font-size: 25px !important;
    }

    .slider_text p {
        font-size: 13px !important;
        line-height: 25px !important;
    }

    .footer {
        font-size: 15px !important;
    }

    .shiny_btn {
        width: 200px !important;
        padding: 5px 0 10px 0 !important;
    }

    .bg1 .shiny_btn {
        position: relative;
        top: -75px;
    }

    #mobile_menu_bottom button {
        font-size: 13px !important;
    }

    .text_box_container .icon_text, .services_bottom_container .icon_text {
        margin-right: 5px !important;
    }

    .nav-link {
        font-size: 13px !important;
    }

    .shiny_btn .head {
        font-size: 13px;
    !important
    }

    .dropdown-menu {
        font-size: 13px !important;
    }

    .home_links {
        height: 50px !important;
    }

    .home_links .left {
        padding: 0px 8px 0 0;
        font-size: 13px;
    }

    .home_links .right {
        padding: 10px 20px 11px 20px;
    }

    .bosses .fancy_side_border {
        width: 120px !important;
    }
}
