@media(max-width: 1033px) {
    .header-logo img,
    .header-logo svg {
        min-width: 215px;
        max-width: 215px;
    }
}

@media(max-width: 1260px) {
    .container {
        max-width: 100%;
        padding: 0 34px;
    }
}

@media(max-width: 1200px) {
    .site-footer {
        padding: 0px 0px 20px;
    }

    a.default-btn,
    a.default-btn-2 {
        padding: 12px 25px;
        font-size: 14px;
    }

    #menu-main-menu > * {
        margin-right: 20px;
    }

    #menu-main-menu > *:last-child {
        margin-right: 0px;
    }

    #menu-main-menu > li > a {
        font-size: 14px;
    }

    .section {
        margin-top: 25px !important;
        margin-bottom: 25px !important;
    }
    .section:last-child{
        margin-bottom: 0 !important;
    }

    .section.bg-type-dark {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .main-header-button {
        margin-left: 30px;
    }

    .image-background-title-text-button-wrap {
        padding: 110px 0 100px;
        background-position: center;
    }

    .item-numbered-text-wrap {
        margin-bottom: 10px;
    }

    /*.footer-top {
        margin-top: 40px;
    }*/
}


@media(max-width: 991px) {

    header {
        padding: 0 0 114px 0;
    }

    .main-header-wrap {
        padding: 10px 0 5px 0;
    }

    .top-bar-item.header-button,
    .main-header-button {
        display: none;
    }

    .top-bar-pull-right {
        justify-content: space-between;
    }

    .top-bar-pull-right > *,
    .top-bar-pull-right > *:last-child { 
        margin-right: 0;
    }

    .top-bar {
        display: none;
    }

    .main-header-wrap #logo {
        padding: 0px 0 10px;
    }

    .header-logo img,
    .header-logo svg {
        max-width: 195px;
    }

    .header-nav {
        display: none;
    }

    .responsive-menu-wrap {
        position: absolute;
        background: #0D0F15;
        width: 100%;
        height: 100vh;
        top: 0;
        padding: 15px 0;
        z-index: 3;
    }

    .responsive-menu-wrap .container {
        background: #0D0F15;
    }

    .admin-bar .responsive-menu-wrap {
        top: 32px;
    }

    .responsive-menu-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-close img {
        max-width: 35px;
    }

    .responsive-menu > ul {
        padding: 15px 0;
        margin: 0;
    }

    .responsive-menu > ul > li  {
        padding-top: 15px;
        padding-bottom: 15px;
        text-decoration: none;
        list-style-type: none;
        position: relative;
    } 

    .responsive-menu > ul > li > a {
        font-weight: 400;
        font-size: 18px;
        line-height: 20px;
        letter-spacing: 0.01em;
        color: #fff;
    } 

   .responsive-menu .sub-menu {
        list-style: none;
        padding: 0;
        background: #1a1717;
        display: none;
        flex-direction: column;
        margin-top: 15px;
        padding: 20px;
        box-shadow: 0px 4px 4px rgb(0 0 0 / 50%);
    }

    .responsive-menu .sub-menu > li,
    .responsive-menu .sub-menu > li:last-child {
        margin-right: 0;
    }

    .responsive-menu .sub-menu-open .sub-menu {
        display: flex;
    }

    .responsive-menu .sub-menu li {
        margin-bottom: 8px;
    }

    .responsive-menu .sub-menu li a {
        font-weight: 400;
        font-size: 18px;
        line-height: 20px;
        letter-spacing: 0.01em;
        color: #FFFFFF;
    }

    .responsive-menu .arrow {
        position: absolute;
        right: 0;
        top: 15px;
    }

    .responsive-menu .sub-menu-open .arrow {
        transform: rotate(180deg)
    }

    .responsive-menu .arrow img {
        min-width: 14px;
        max-width: 14px;
    }

    .burger-menu { 
        cursor:pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    .bar {
        transition:0.4s;
    }

    .bar-1 {
        display: block;
        width: 15px;
        margin-left: auto;
        border-top: 3px solid #D42027;
        padding-top: 5px;
        cursor: pointer;
        transition: 0.4s;
    }

    .bar-2 {
        display: block;
        width: 25px;
        border-top: 3px solid #D42027;
        padding-top: 5px;
        transition: 0.4s;
    }

    .bar-3 {
        display: block;
        width: 25px;
        border-top: 3px solid #D42027;
        padding-top: 4px;
        transition: 0.4s;
    }

    .main-header .login-btn {
        display: block;
        margin-left: auto;
        margin-right: 30px;
        padding: 0;
    }

    .responsive-menu-content-wrap {
        background: #0D0F15;
        padding: 5px 0 75px;
    }

    .responsive-menu-content-wrap .header-button {
        margin: 0;
    }

    .responsive-menu-content-wrap .main-header-button {
        display: block;
        margin-left: 0;
        text-align: center;
    }

    .responsive-menu-content-bottom {
        display: flex;
        justify-content: space-between;
        margin-top: 30px;
        flex-wrap: wrap;
    }

    .responsive-menu-content-bottom .login-button {
        margin-left: 0;
        color: #fff;
        flex: 100%;
        width: 100%;
    }

    .responsive-menu-content-bottom .login-button a {
        display: block;
        margin: 30px 30px;
        color: #fff;
    }

    .responsive-menu-content-bottom .login-button div {
        margin: 0;
    }

    .responsive-menu-content-bottom .login-button ul.nav-dropdown:before {
        left: 10px;
        right: unset;
    }

    .responsive-menu-content-bottom .login-button ul.nav-dropdown {
        left: 0;
        right: unset;
    }

    .header-background {
        height: 435px;
    }

    .page-title h1 b:before {
        width: 47px;
    }

    .page-title, .page-title h1 {
        font-size: 48px;
        line-height: 54px;
    }

    .section-heading h2 {
        font-size: 26px;
        line-height: 32px;
    }

    .section-subheading {
        font-size: 14px;
        line-height: 24px;
    }

    .section-text, 
    .section-text p {
        font-size: 14px;
        line-height: 24px;
    }

    .icon-content-item > * {
        margin-right: 12px;
    }

    .icon-content-item > *:last-child {
        margin-right: 0px;
    }

    .icon-title {
        font-size: 16px;
    }

    .icon-description {
        font-size: 14px;
        line-height: 22px;
    }

    .testimonials-wrap {
        padding: 55px 0 50px;
        
    }

    .testimonials-wrap .slick-dots {
        margin-top: 35px;
    }

    .ssection-heading h2 b:before {
        width: 30px;
        height: 40px;
        top: -11px;
        right: -9px;
    }

    .list-text-with-icons-and-image-wrap .column-image {
        max-width: 385px;
    }

    .half-circle-image-half-numbered-text-list-wrap > * {
        margin-right: 20px;
    }

    .half-circle-image-half-numbered-text-list-wrap > *:last-child {
        margin-right: 0px;
    }

    .media-placement-right .half-circle-image-half-numbered-text-list-wrap > * {
        margin-right: unset;
        margin-left: 20px;
    }

    .media-placement-right .half-circle-image-half-numbered-text-list-wrap > *:last-child {
        margin-right: unset;
        margin-left: 0px;
    }

    .half-circle-image-half-numbered-text-list-wrap .column-text {
        max-width: 380px;
    }

    .item-numbered-text-wrap {
        left: 0 !important;
        position: unset;
        height: auto;
        min-height: unset;
    }

    .numbered_text_list-wrap:after {
        display: none;
    }

    .item-numbered-text-wrap .item-text-wrap {
        max-width: 295px;
    }

    .item-numbered-text-wrap > * {
        margin-right: 15px;
    }

    .item-numbered-text-wrap > *:last-child {
        margin-right: 0px;
    }

    .media-placement-right .item-numbered-text-wrap > * {
        margin-right: 15px;
        margin-left: unset;
    }

    .contacts-wrap {
        flex-direction: column;
    }

    .column-contact-info {
        max-width: 100%;
    }

    .column-contact-form {
        width: 100%;
    }

    .column-contact-form .gform_wrapper {
        padding: 20px 20px;
    }

    .img-item {
        width: auto;
        min-width: 340px;
        max-width: unset;
    }

    .image-grid-wrap img {
        max-width: 260px;
    }

    .page-template-landing .responsive-menu a {
        color: #fff;
        font-size: 24px;
        margin: 20px 0px;
        display: block;
    }
}

@media(max-width: 850px) {
    .list-text-with-icons-and-image-wrap .column-image {
        max-width: 345px;
    }

    .list-text-with-icons-item .item-title {
        font-size: 20px;
        line-height: 30px;
    }

    .list-text-with-icons-item .item-text {
        font-size: 14px;
        line-height: 24px;
    }
}

@media(max-width: 820px) {
    .half-circle-image-half-numbered-text-list-wrap,
    .media-placement-right .half-circle-image-half-numbered-text-list-wrap {
        flex-direction: column;
    }

    .half-circle-image-half-numbered-text-list-wrap .column-image, 
    .half-circle-image-half-numbered-text-list-wrap .column-text, 
    .item-numbered-text-wrap .item-text-wrap {
        max-width: 100%;
    }

    .media-placement-right .item-numbered-text-wrap {
        flex-direction: row;
    }

    .media-placement-right .item-numbered-text-wrap .item-text-wrap {
        text-align: left;
    }

    .media-placement-right .half-circle-image-half-numbered-text-list-wrap .default-btn {
        float: unset;
    }

    .item-numbered-text-wrap .item-text-wrap {
        max-width: 100% !important;
        width: 100%;
    }

    .numbered_text_list-wrap .item-text p {
        font-size: 13px;
        line-height: 18px;
    }

    .numbered_text_list-wrap .item-text b {
        font-size: 21px;
        display: inline-block;
    }

/*    .item-numbered-text-wrap .item-number {
        transition: unset;
    }*/
}

@media(max-width: 782px) {
     .admin-bar .responsive-menu-wrap {
        top: 0px;
    }
}


@media(max-width:767px) {

    .half-image-icons-content-wrap {
        flex-direction: column;
    }

    .column-image {
        width: 100%;
        max-width: 100%;
    }

    .column-image img {
        max-width: 100%;
    }

    .column-text {
        max-width: 100% !important;
    }

    .media-placement-right .half-video-half-text-wrap {
        flex-direction: column;
    }

    .media-placement-right .half-image-icons-content-wrap {
        flex-direction: column;
    }

    .file-video {
        width: 100%;
        min-width: 100%;
    }

    .half-video-half-text-wrap .file-video video {
        max-width: 100%;
    }

    .section-half-video-half-text .column-text {
        max-width: 100%;
    }

    .featured-posts-wrap .post-item,
    .featured-posts-wrap.col-four .post-item,
    .all-posts-wrap .post-item,
    .all-posts-wrap.col-four .post-item {
        flex: 47%;
        max-width: 308px;
    }

    .featured-posts-wrap.single-post {
        border: unset;
    }

    .featured-posts-wrap.single-post .post-title a {
        font-size: 18px;
        line-height: 26px;
    }

    .featured-posts-wrap.single-post .post-item-wrap {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .featured-posts-wrap.single-post .post-item-wrap > * {
        margin-right: 20px;
    }

    .featured-posts-wrap.single-post .post-item-wrap > *:last-child {
        margin-right: 0px;
    }

    .half-image-half-text-wrap {
        flex-direction: column;
    }

    .media-placement-right .half-image-half-text-wrap {
        flex-direction: column-reverse;
    }

    .list-text-with-icons-and-image-wrap {
        flex-direction: column;
    }

    .media-placement-right .list-text-with-icons-and-image-wrap {
        flex-direction: column;
    }

    .list-text-with-icons-and-image-wrap .column-image {
        max-width: 100%;
    }

    .list-text-with-icons-item .item-text-wrap {
        max-width: 100%;
    }


    ul.resp-tabs-list {
        display: none;
    }

    h2.resp-accordion {
        display: block;
        margin-bottom: 20px;
    }

    .resp-accordion-closed {
        display: none !important;
    }

    .resp-tab-content {
        margin-top: -10px;
        padding: 10px;
    }


    .faq-block-wrap > * {
        margin-bottom: 15px;
    }

    .faq-block-wrap > *:last-child {
        margin-bottom: 0px;
    }

    .faq-question {
        font-size: 14px;
        line-height: 18px;
        padding: 10px 15px;
    }

    .faq-question div {
        max-width: 90%;
    }

    input#faq-search-input {
        max-width: 100%;
    }

    .page-title-wrap .gsection_title {
        font-size: 22px;
        line-height: 28px;
    }

    .cf-form-popup .gform_wrapper {
        padding: 35px 30px;
    }

    .cf-form-popup .phone-number > * {
        margin-bottom: 5px;
    }

    .cf-form-popup .phone-number > *:last-child {
        margin-bottom: 0px;
    }

    .footer-top-wrap > *:last-child {
        margin-top: 20px;
    }

    .error-404-wrap.not-found {
        padding: 200px 0px 75px
    }
    body.error404 .entry-content {
        padding: 50px 0;
    }

    body.error404 .error-tex {
        font-size: 125px;
    }

    body.error404 .error-page-title {
        font-size: 28px;
        margin-top: 5px;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 880px) and (orientation: landscape) {
    .responsive-menu-wrap {
        height: 100vh;
        overflow: scroll;
    }

    .numbered_text_list-wrap .item-title,
    .numbered_text_list-wrap .item-text p {
        transition: unset;
    }
}

@media(max-width:545px) {
    a.default-btn, a.default-btn-2 {
        padding: 12px 10px;
        font-size: 14px;
        min-width: 140px;
    }

    .image-background-title-text-button-wrap {
        padding: 45px 0 60px;
    }

    .testimonials-heading-wrap {
        padding: 0 34px;
    }

    .testimonials-carousel-wrap {
        padding: 0 34px;
    }

    .testimon-item-inner {
        padding: 35px 28px 28px;
    }

    .featured-posts-wrap .post-item,
    .all-posts-wrap .post-item {
        flex: 100%;
        max-width: 100%;
    }

    .featured-posts-wrap .post-thumbnail,
    .all-posts-wrap .post-thumbnail {
        max-width: fit-content;
    }

    .section-list-text-with-icons-and-image .buttons-wrap {
        flex-direction: column;
        margin-top: 30px;
    }

    .section-list-text-with-icons-and-image .buttons-wrap > * {
        margin-bottom: 20px;
    }

    .section-list-text-with-icons-and-image .buttons-wrap > *:last-child {
        margin-bottom: 0px;
    }

    .footer-column-item.footer-column-1 {
        min-width: unset;
    }

    body .gform_wrapper.gravity-theme .gfield {
        display: block;
        width: 100%;
    }
}


@media(max-width: 370px) {
    .responsive-menu-content-bottom {
        flex-direction: column;
    }  

    .responsive-menu-content-bottom > * {
        margin-bottom: 20px;
    }

    .responsive-menu-content-bottom > *:last-child {
        margin-bottom: 0px;
    }
}