/* ==============================
   Small desktop
   ============================== */

@media only screen and (max-width: 1200px) {
    .home-wrapper{
    background-size: cover;
    }
    .button-offset-1,
    .freeservices-home {
    margin-left: unset;
    }
    .default-form-tabs > li {
        width: 130px;
    }
}

/* ==============================
   Tablet landskape
   ============================== */

@media only screen and (max-width: 1024px) {
    .content-page-section {
            min-height: unset;
    }
    .main-title,
    .light-section-title {
            font-size: 40px;
    }
    .default-form-tabs {
        font-size: 16px;
    }
    .default-form-tabs > li {
        width: 115px;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left:  8px;
        margin-right:  8px;
    }
    .default-form-tabs > li > a {
        background: #fff;
        box-shadow: 0 0 12px rgba(0,0,0,.2);
    }
    .responsive-cstm {overflow-x: auto;}
    .desktop-nav{
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0 15px;
    z-index: 100; 
    }
}

@media only screen and (max-width: 992px) {
    .features-icon {
        font-size: 50px;
    }
    .features-title {
        font-size: 18px;
    }
}

@media only screen and (max-width: 991px) {
    .home-left,
    .home-right {text-align: center;}
    .home-right {
        display: none;
    }
    .footer-cp {
    	margin-top: 10px;
    }
    .footer-logo-wrap {
        margin-bottom: 10px;
    }
    #main-navtabs-container {
        display: none;
    }
    .home-order-wrap:first-child {
    padding: 0;
    }
    .home-order-wrap:last-child {
        padding: 0;
        margin-top: 50px;
    }
    .default-form-tabs > li {
        width: 130px;
    }
}

/* ==============================
   Tablet Portrait
   ============================== */
  
@media only screen and (max-width: 768px) {

    .page-section {
        padding: 30px 0;
    }
    .services-section {
        padding-top: 1.5em;
    }
    .main-title {
        letter-spacing: 0;
        font-size: 33px;
    }
    .light-section-title {
        font-size: 33px;
    }
    .howitwork-descr-text,
    .freeservices-content {
        margin-top: 25px;
    }
    .features-title h4,
    .howitwork-descr-text h2,
    .freeservices-content h2 {
        font-size: 25px;
    }
}

/* ==============================
   Phone
   ============================== */
  
@media only screen and (max-width: 480px) {
    .content-page-section {
            padding-bottom: 30px;
            min-height: 100vh;
            min-height: calc(100vh - 60px);
    }
    .home-content {
        text-align: center;
    }
    .payments-wrap {
        justify-content: center;
    }
    .paymentitem-wrap:nth-child(odd) {
        margin-right: 25px;
    }
    .default-form-tabs li > a > img{width:37px;}
    #services-table>tbody>tr>td:nth-child(2) {
        min-width: 200px;
    }
    #services-table>tbody>tr>td:nth-child(3) {
        min-width: 100px;
    }
    #all-orders>tbody>tr>td:nth-child(2) {
        min-width: 400px;
    }
    .freeservices-home,
    #freeservices-button {
    margin-top: 20px;
    }
    .main-title {
        font-size: 30px;
    }
    .light-section-title {
        font-size: 35px;
    }
    #services-section {
        padding-top: 20px;
    }
    .main-description {
        font-size: 15px;
        margin:0.25em 10px;
    }
    .prefs-descr,
    .light-section-descr {
        font-size: 16px;
    }
    .features-row-wrap,
    .howitworks-wrap {
        justify-content: center;
    }
    .howitwork-descr-wrap {
        padding: 30px 20px 20px 20px;
        justify-content: center;
    }
    .freeservices-wrap {
        padding: 30px 0;
        justify-content: center;
    }
    .features-item {
        width: 90%;
    }
    .features-item:nth-child(even) {
        margin-top: 50px;
    }
    .howitworks-item { 
        width: 70%;
        margin-bottom: 50px;
    }
    .howitwork-descr-img,
    .howitwork-descr-text,
    .freeservices-content {
        width: 100%;
    }
    .howitworks-step {
        line-height: 33px;
    }
    .freeservices-img {
    width: 70%;
    }
    .freeservices-prewrap {
    margin-top: 30px;
    margin-bottom: 10px;
    }
    .freeservices-home p {
        font-size: 18px !important;
    }
    #howitwork-section {
        padding-bottom: 0;
    }
    .section-title {
        font-size: 20px;
        letter-spacing: 1px;
    }
}

/* ==============================
   Small Phone
   ============================== */
 
@media only screen and (max-width: 340px) {
    .main-title {
        font-size: 26px;
    }
    .light-section-title {
        font-size: 28px;
    }
    .features-title h4,
    .howitwork-descr-text h2,
    .freeservices-content h2 {
        font-size: 22px;
    }
    .paymentitem-wrap:nth-child(odd) {
        margin-right: 0;
    }
    .payment-icon {margin-right: 15px;}
}

/* ==============================
   Max Height 768
   ============================== */
@media only screen and (max-height: 1024px) {

    .mobile-on .desktop-nav ul{
        max-height: 890px;
    }
}

@media only screen and (max-height: 900px) {

    .mobile-on .desktop-nav ul{
        max-height: 730px;
    }
}

@media only screen and (max-height: 767px) {

    .mobile-on .desktop-nav ul{
        max-height: 590px;
    }
}

@media only screen and (max-height: 650px) {

    .mobile-on .desktop-nav ul{
        max-height: 500px;
    }
}

@media only screen and (max-height: 400px) {

    .mobile-on .desktop-nav ul{
        max-height: 300px;
    }
}