/*Extra small devices (portrait phones, less than 576px)*/
@media (min-width: 320px) and (max-width: 575px){
    html{
        font-size: 14px;
    }

    h1{
        font-size: 2.25rem;
    }
    h2{
        font-size: 1.5em;
    }
    .hero-content-left h1{
        font-size: 2.25rem;
        line-height: initial;
    }
    .mt--120{
        margin-top: -50px;
    }
    .pt-150{
      padding-top: 50px;
    }

    /*navbar*/
    .main-menu ul li{
        padding: 15px 0 0;
    }

    /*promo*/
    div[class*='col-']:not(:last-of-type){
        margin-bottom: 20px !important;
    }
    .row> div[class*='col-']:last-of-type{
        margin-bottom: 0;
    }
    .about-content-right{
        margin-top: 20px;
    }

    /*counter*/
    .counter{
        margin-top: 25px;
    }
    .single-card{
        padding: 10px 15px;
        margin-bottom: 25px;
        margin-left: 16px;
    }
    .single-card:nth-child(2n){
        top: 0;
    }

    /*client*/
    .client-section-wrap.d-flex{
        display: inherit !important;
    }

    /*subscribe form*/
    .subscribe-form{
        width: 100%;
    }

    .download-btn a.btn{
        margin: 7px 0;
    }
    .subscribe-form {
        margin-top: 10px;
    }
    .baner__cot2 {
        width: 100%;
    }
    .baner__cot2 img{
        width: 100%;
    }
    .baner__content {
        height: 240px;
    }
    .baner__cot2 img{
        height: 240px;
    }
    .col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}
    .item .gia {
        display: block;
    }
    .custom-nav.affix{
        background-color: #00bcd4 !important;
    }
    .item .loaimay h3 {
        font-size: 0.8em;
    }
    .item .tenmay {
        display: block;
    }
    .khoi__baner {
        margin-top: 150px !important;
    }


}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767px) {

    .mt--120{
        margin-top: -50px;
    }
    .pt-150{
        padding-top: 60px;
    }

    /*promo*/
    div[class*='col-']:not(:last-of-type){
        margin-bottom: 20px !important;
    }
    .row> div[class*='col-']:last-of-type{
        margin-bottom: 0;
    }
    .about-content-right{
        margin-top: 20px;
    }


    .subscribe-form-footer {
        
        width: 40%;
    }
    .subscribe-form {
        margin-top: 10px;
    }
    .baner__cot2 {
        width: 100% !important;
    }
    .custom-nav.affix{
        background-color: #8c8c8c !important;
    }
    .container {
        max-width: 700px;
    }
    .item .gia {
        display: block;
    }
    .item .loaimay h3 {
        font-size: 0.8em;
    }
    .item .tenmay {
        display: block;
    }

}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991px) {
    .subscribe-form-footer {
        
        width: 50%;
    }
    .baner__cot2 {
        width: 78% !important;
    }
    .custom-nav.affix{
        background-color: #8c8c8c !important;
    }
    .container {
        max-width: 900px;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199px) {
    .subscribe-form input.button{
        width: 20%;
    }
    .subscribe-form-footer {
        width: 35%;
    }
    .baner__content {
        max-width: 95%;
    }
    .container {
        max-width: 1100px;
    }
}
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) and (max-width: 1499px){
    .subscribe-form-footer {
        width: 40%;
    }

    .container {
        max-width: 1300px;
    }
}
/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1500px) {

    .container {
        max-width: 1400px;
    }
}