@media (max-width:1199px) {}

@media (max-width:991px) {
    footer .dynamic_sidebar .col,
    footer .dynamic_sidebar .col:nth-child(1),
    footer .dynamic_sidebar .col:nth-child(2) {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width:768px) {
    .general-header>.container:first-child {
        display: none;
    }
    body.home .general-header:not(.sticky) .logo-description {
        padding: 0 0 0 15px;
    }
    .dropdown-menu.collapsing {
        display: block;
    }
    .re-order .col-md-9 {
        order: 1;
    }
    .re-order .col-md-3 {
        order: 2;
    }
    body:not(.home) .we-transfer {
        display: none !important;
    }
}

/* Iphone X landscape */

@media only screen and (device-width: 812px) and (device-height: 375px) and (orientation: landscape) {
    @media only screen and (min-device-width: 320px) and (max-device-width: 668px) and (orientation: portrait) {}
    @media screen and (device-aspect-ratio: 40/71) {}
}

@media (max-width:740px) {
    .logo-description {
        padding-left: 15px;
    }
    .navbar .menu-socials {
        display: block;
    }
    body.hotfix {
        background-image: url(../img/body-xl.png);
        background-size: contain;
        background-repeat: no-repeat;
    }
    .hotfix .general-header {
        background-color: transparent;
        box-shadow: unset;
    }
    .general-header.sticky {
        background-color: rgba(255, 255, 255, 0.96);
        box-shadow: -1px 3px 2px rgb(0 0 0 / 10%)
    }
    .hotfix .general-header .logo-brand,
    .general-header .logo-brand {
        display: block;
        padding: .5rem 1rem;
    }
    .general-header.sticky .logo-brand,
    .hotfix .general-header .logo-brand-fixed {
        display: none;
    }
    .general-header.sticky .logo-brand-fixed {
        display: block;
        padding: .5rem 1rem;
    }
    .general-header.sticky .logo-brand-fixed {
        display: block;
        padding: .5rem 1rem;
    }
    .navbar-expand-lg,
    .hotfix .navbar-expand-lg {
        width: 100%;
        margin: 0;
        padding: .5rem 1rem;
        padding: .5rem 0;
    }
    .hotfix .navbar-toggler i {
        color: #fff;
    }
    .sticky .navbar-toggler i {
        color: #222;
    }
    .general-header .navbar-collapse {
        color: #222;
        background-color: #fff;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        padding: 20px 0;
        height: 100vh;
        text-align: center;
    }
    .general-header.sticky .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.96);
    }
    .navbar-toggler[aria-expanded=true] .fas:before {
        content: "\f00d";
    }
    .collapsing {
        height: 0;
        transition: height 0 ease;
    }
    .sticky .menu-item a,
    .general-header .menu-item a {
        color: #222;
        font-size: 20px;
        line-height: 27px;
        display: inline-block;
        margin: 15px 20px;
    }
    .general-header .menu-item {
        margin-left: 0;
    }
    .navbar-brand {
        max-width: 70%;
    }
    .header {
        height: 900px;
        min-height: auto;
        background-size: 960px;
        background-position: top center;
        background-repeat: no-repeat;
    }
    .header .caption {
        padding-top: 160px;
        padding-bottom: 40px;
        margin-bottom: 30px;
    }
    .header .caption .content h2 {
        width: 100%;
        font-size: 20px;
        line-height: 27px;
        text-align: center;
        padding-bottom: 26px;
    }
    .header .caption .content p {
        font-size: 12px;
        line-height: 17px;
        text-align: center;
    }
    .header .caption .buttons a:first-child {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom: 1px solid #E2E2E2;
    }
    .header .caption .buttons a:last-child {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .header .caption .buttons .btn-transparent {
        padding: 10px;
        font-size: 16px;
        font-weight: bold;
        line-height: 22px;
        display: block;
        margin: 0;
        color: #183C77;
        background-color: #fff;
    }
    .header .caption .contact {
        margin-top: 32px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    }
    section.services {
        -webkit-transform: scale(1) translateY(-15px);
        -ms-transform: scale(1) translateY(-15px);
        transform: scale(1) translateY(-15px);
    }
    .service {
        overflow: hidden;
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        margin-bottom: 30px;
    }
    .service.active {
        -webkit-transform: scale(1) translateY(0px);
        -ms-transform: scale(1) translateY(0px);
        transform: scale(1) translateY(0px);
        padding: 25px 10px;
    }
    .service .thumb {
        display: none;
    }
    .services .row .col-md-8 .row div:nth-child(2n+1) .service .title {
        float: left;
        width: 65%;
        text-align: left;
        font-size: 14px;
        line-height: 19px;
    }
    .services .row .col-md-8 .row div:first-child .service .title {
        padding-right: 50px;
    }
    .services .row .col-md-8 .row div:nth-child(2n+2) .service .title {
        float: right;
        width: 65%;
        text-align: right;
        font-size: 14px;
        line-height: 19px;
    }
    .service .button {
        display: none;
    }
    .header .caption .contact input[type=submit] {
        font-size: 12px;
    }
    .progress-item {
        width: 290px;
        padding: 10px;
        margin: 7px 10px;
        border-radius: 10px;
        box-shadow: 0 3px 14px rgba(0, 0, 0, 0.16);
    }
    .progress-item .progress-item-title {
        font-size: 14px;
        font-weight: bold;
        line-height: 46px;
        text-align: center;
    }
    .progress-item .thumb {
        text-align: center;
        margin: 20px 0;
    }
    .progress-item .thumb img {
        display: unset;
        width: auto;
        height: 125px;
    }
    .progress-item .content {
        font-size: 12px;
        line-height: 16px;
    }
    .section-title {
        font-size: 20px;
    }
    .member-area .section-title {
        margin: 0 0 40px;
    }
    .member-area .member-hidden,
    .member-area .member-visibility {
        padding: 36px 20px;
    }
    #strength div {
        overflow: hidden;
    }
    .strength {
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 3px 14px rgba(0, 0, 0, 0.16);
    }
    #strength div:nth-child(2n+1) .strength {}
    #strength div:nth-child(2n+1) .thumb,
    #strength div:nth-child(2n+2) .thumb {
        float: right;
        width: 70px;
    }
    #strength div:nth-child(2n+1) .title,
    #strength div:nth-child(2n+2) .title {
        float: left;
        width: calc(100% - 70px);
        font-size: 14px;
        font-weight: 500;
        text-align: left;
        margin-bottom: 10px;
    }
    #strength div:nth-child(2n+1) .description,
    #strength div:nth-child(2n+2) .description {
        float: left;
        width: calc(100% - 70px);
        font-size: 12px;
        margin-bottom: 0;
        text-align: left;
    }
    #strength div:nth-child(2n+2) .thumb {
        float: left;
    }
    #strength div:nth-child(2n+2) .title,
    #strength div:nth-child(2n+2) .description {
        float: right;
        text-align: right;
        padding-left: 5px;
    }
    #strength div:nth-child(2n+1) .title,
    #strength div:nth-child(2n+1) .description {
        padding-right: 5px;
    }
    .recovery-status .content p {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 36px;
    }
    .recovery-status .content .italic {
        padding-top: 10px;
        text-align: left;
    }
    .recovery-status .content .form .form-control {
        text-align: center;
    }
    .recovery-status .content .form .btn {
        position: absolute;
        top: 180px;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        height: 40px;
        width: 180px;
    }
    .service .cost {
        font-size: 16px;
        float: right;
        width: 35%;
    }
    .service .excerpt {
        float: right;
        width: 35%;
    }
    .nav .nav-item {
        width: 100%;
    }
    .nav .nav-item:first-child {}
    .nav .nav-item:last-child {}
    .nav .nav-item:first-child a {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
    .nav .nav-item:last-child a {
        border-top-right-radius: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }
    .tab-pane .thumb img {
        max-height: 120px;
    }
    .tab-pane .thumb {
        padding: 20px 0;
    }
    .member {
        margin-bottom: 10px;
    }
    .general-header .contacts {
        display: none;
    }
    footer .dynamic_sidebar .col-md-4:first-child {
        text-align: center;
    }
    footer .dynamic_sidebar .col-md-4:last-child {
        text-align: center;
    }
    footer .footer-title {
        font-size: 22px;
        line-height: 30px;
    }
    footer .menu li a {
        font-size: 20px;
        line-height: 32px;
    }
    footer .socials a {
        width: 50px;
        height: 50px;
    }
    .entry-sidebar.order-first {
        /* order: 0; */
        padding-right: 15px;
    }
    .hotfix .content-area {
        padding: 70px 0 0;
    }
    .content-area .site-main article.post,
    .content-area .site-main>.container,
    .content-area .site-main article.page {
        background-color: #fff;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    .hotfix .site-main {
        background-color: #fff;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    .hotfix .content-area .entry-excerpt p {
        margin: 10px 0 20px 0;
    }
    .hotfix .entry-content {
        margin: 0;
        padding: 0;
    }
    .client .client-side .client-logo img {
        max-height: 65px;
        max-width: 190px;
        width: auto;
    }
    .client {
        margin-bottom: 40px;
    }
    .blog .thumb {
        height: 170px;
    }
    .blog .excerpt p {
        font-size: 12px;
        line-height: 16px;
    }
    .blog {
        margin-bottom: 40px;
    }
    .uservice {
        display: none;
    }
    .contact-area iframe {
        height: 700px !important
    }
    .page-template-contacts {}
    .page-template-contacts .contact-area .section-title {
        display: none;
    }
    footer .copyright {
        text-align: center;
        color: #52B3D8;
        font-size: 12px;
        font-weight: bold;
        line-height: 32px;
        margin-bottom: 10px;
    }
    .breadcrumb {
        /* display: none; */
    }
    .hotfix .content-area .entry-header .entry-title {
        font-size: 20px;
        line-height: 26px;
    }
    .hotfix .content-area .entry-excerpt p {
        font-size: 12px;
        line-height: 17px;
        margin: 20px 0 20px 0;
    }
    .article-breadcrumb {
        padding: 50px 0;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    .article-breadcrumb:after {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    .hotfix .content-area .entry-header {}
    .hotfix .content-area .entry-excerpt {}
    .hotfix .content-area .entry-content p {
        font-size: 14px;
        font-weight: normal;
        line-height: 18px;
        margin-bottom: 20px;
    }
    .blog-area,
    .contact-area,
    .member-area,
    .client-area {
        padding-top: 0;
    }
    .blog-area .container .row div:last-child .blog .excerpt p {
        margin-bottom: 0;
    }
    .blog-area .container .row div:last-child .blog {
        margin-bottom: 0;
    }
}

@media (max-width:740px) and (orientation: landscape) {}

@media (max-width:568px) and (orientation: landscape) {}

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

/* your css rules for ipad portrait */

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
    .services .fluid-column {
        margin-left: 0;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .header .caption .content h2 {
        width: 100%;
        font-size: 36px;
        line-height: 50px;
    }
}
@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape) {
    .services .fluid-column {
        margin-left: 0;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .header .caption .row .col-lg-9 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    .header .caption .row .col-lg-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}