@media(max-width:767px) { /* begin with tablet size */

    .navbar-logo {
        height: 40px;
    }
    .navbar {
        padding: 0;
        background-color: #fff !important;
        border-bottom: 1px !important;
        border-bottom-style: solid !important;
        border-bottom-color: #dcdcdc !important;
    }

    #nav-custom{
        padding-bottom: 0px !important;
    }
    .navbar-header{
        padding-bottom: 10px;
    }
    .navbar-logo-collapsed{
        margin-top: 5px !important;
    }
    #nav-custom .navbar-nav>li>a {
        color: #333;
        font-size: 14px;
    }

    #nav-custom .navbar-nav>li>a:hover {
        /*color: #7d882f;*/
        font-size: 12px;
    }

    .hero-container{
        height: 500px;
    }
    .hero{
        min-height: 500px;
        background-attachment: scroll;
    }

    .ul-navbar{
        margin-top: 10px !important;
    }

    #text-hero{
        top: 45%;
    }

    #hero-text-header{
        font-size: 24px;
    }

    #hero-text-body{
        font-size: 14px;
    }

    .navbar-default .navbar-toggle, .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
        border-color: transparent !important; 
        background-color: transparent;
    }

    .navbar-toggle .icon-bar+.icon-bar{
        margin-top: 0;
    }

    #nav-icon4 {
        width: 54px;
        height: 37px;
        position: relative;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
    }

    #nav-icon4 span {
        display: block;
        position: absolute;
        height: 7px;
        width: 100%;
        background: #7d882f;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }


    #nav-icon4 span:nth-child(1) {
        top: 0px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }

    #nav-icon4 span:nth-child(2) {
        top: 15px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }

    #nav-icon4 span:nth-child(3) {
        top: 30px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }

    #nav-icon4.open span:nth-child(1) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        top: -3px;
        left: 8px;
    }

    #nav-icon4.open span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }

    #nav-icon4.open span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 34px;
        left: 8px;
    }
    #see-more{
        font-size: 25px;
    }
    #paralax-text{
        font-size: 40px !important;
    }

    #paralax-text-small{
        font-size: 25px !important;
    }

    #products-image-1:hover .image-text-background, #products-image-2:hover .image-text-background, #products-image-3:hover .image-text-background, #products-image-4:hover .image-text-background{
        opacity: 1;
        background: rgba(255, 255, 255, 0.6);
        transition: 0.4s;
        cursor: pointer;
    }
    #products-image-1 .image-text-background, #products-image-2 .image-text-background, #products-image-3 .image-text-background, #products-image-4 .image-text-background{
        opacity: 1;
        background: rgba(255, 255, 255, 0.6);
        transition: 0.4s;
        cursor: pointer;
    }

    #products-image-1{
        margin-bottom: 30px;
    }

    #products-image-2{
        margin-bottom: 30px;
    }

    #products-image-3{
        margin-bottom: 30px;
    }
    #products-image-4{
        margin-bottom: 30px;
    }
    .text-products-image{
        top: 37% !important;
        font-size: 35px !important;
    }

    .text-image-small{
        top: 40% !important;
        font-size: 15px !important;
    }

    #footer-middle-section{
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .modal-header{
        padding: 0;
    }
    .modal-header-text{
        font-size: 14px !important;
    }
    .modal-body .section-text{
        padding-left: 0px !important;
        padding-right: 0px !important;
        font-size: 10px !important;
        position: relative;
        top: 0 !important;
    }

    .section-text{
        margin-top: 0 !important;
        font-size: 16px !important;
    }
    .section-header{
        font-size: 35px;
    }
    .section-icons-title{
        font-size: 24px;
    }

    .partners-image{
        margin-bottom: 60px;
        width: 60% !important;
        height: auto !important;
    }

    #second-line-partners{
        margin-top: 0px;
    }

    #last-partner-image{
        margin-bottom: 10px !important;
    }

    #contact-logo-image{
        height: 65px !important; 
    }

    .submit-button{
        height: 40px !important;
        width: 80px !important;
    }

    .modal-dialog {
        margin: 30px auto !important;
        min-height: 100%;
    }

}

@media (min-width: 768px) and (max-width:1024px){
    /*    .navbar-logo{
            height: 10%;
            width: auto;
            margin-top: 10px;
            transition: 0.5s;
            -webkit-transition: 0.5s;
            -moz-transition: 0.5s;
            -o-transition: 0.5s;
        }*/

    #nav-custom .navbar-nav>li>a {
        color: #333;
        font-size: 15px;
    }

    #nav-custom .navbar-nav>li>a:hover {
        /*color: #7d882f;*/
        font-size: 15px;
    }

    #text-hero{
        top: 45%;
    }

    #hero-text-header {
        font-size: 38px;
    }

    #hero-text-body {
        font-size: 19px;
    }
    .navbar-logo{
        height: 55px;
        margin-top: 20px;
    }

    .text-products-image{
        top: 40% !important;
        font-size: 30px !important;
    }

    .text-image-small{
        top: 43% !important;
        font-size: 13px !important;
    }

    #footer-middle-section{
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }

    #products-image-1:hover .image-text-background, #products-image-2:hover .image-text-background, #products-image-3:hover .image-text-background, #products-image-4:hover .image-text-background{
        opacity: 1;
        background: rgba(255, 255, 255, 0.6);
        transition: 0.4s;
        cursor: pointer;
    }
    #products-image-1 .image-text-background, #products-image-2 .image-text-background, #products-image-3 .image-text-background, #products-image-4 .image-text-background{
        opacity: 1;
        background: rgba(255, 255, 255, 0.6);
        transition: 0.4s;
        cursor: pointer;
    }

    .partners-image{
        height: 40px !important;
        width: auto;
    }

}

@media (min-width:992px) and (max-width: 1024px){
    .modal-dialog{
        min-height: 100% !important;
    }
}
@media (max-width: 767px) and (orientation:landscape) {
    .hero-container{
        height: 500px;
    }
    .hero{
        min-height: 500px;
        background-position-y: -40px;
        background-attachment: scroll;
    }

    #text-hero{
        top: 40%;
    }

    #hero-text-header {
        font-size: 27px;
    }

    #hero-text-body {
        font-size: 18px;
    }

    .modal-dialog{
        min-height: 120%;
    }
}

@media(min-width: 768px){
    .col-sm-custom{
        width: 20%;
    }
}

/*@media (max-width: 1024px){
    #products-image-1{
        background-image: url('../img/product-image-1.jpeg');
        height: 380px;
        width: auto;
        border: solid 1px #dcdcdc;
        background-position: initial;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
    }

    #products-image-2{
        background-image: url('../img/product-image-2.jpeg');
        height: 380px;
        width: auto;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
    }

    #products-image-3{
        background-image: url('../img/product-image-3.jpeg');
        height: 380px;
        width: auto;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
    }
}*/

@media (min-width: 1440px){

    #modal-paralax-1{
        height: 160px;

    }

    #modal-paralax-2{
        height: 160px;
    }

    #modal-paralax-3{
        height: 160px;
    }
    #modal-paralax-4{
        height: 160px;
    }
    #products-image-4{
        background-position-x: -200px;
    }
}

@media (min-width: 1620px){

    #modal-paralax-1{
        height: 400px;

    }

    #modal-paralax-2{
        height: 400px;
    }

    #modal-paralax-3{
        height: 400px;
    }
    #modal-paralax-4{
        height: 400px;
    }
    #products-image-4{
        background-position-x: -110px !important;
    }
}

@media (min-width: 2200px){

    #modal-paralax-1{
        height: 500px;

    }

    #modal-paralax-2{
        height: 500px;
    }

    #modal-paralax-3{
        height: 500px;
        background-position-x: -600px;
    }
    #modal-paralax-4{
        height: 500px;
    }
    #products-image-4{
        background-position-x: 0px !important;
    }
}