

/*
Author: Bootstrapthemes
Author URI: http://www.xpeedstudio.com
*/

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    body {
        font-size: 1rem;
    }
}

@media (min-width: 991px) {
    #dno,#dno1 {
        margin-bottom: -80px;
    }
}

@media (min-width: 1023px) {
    .navbar-header p {
        background: #CD853F;
        padding: 0px 10px;
        border-radius: 5px;
    }
}

@media (max-width: 1023px) {
    .navbar-brand {
        height: 80px;
        padding: 10px 15px;
    }
    .navbar-header p {
        color: #333;
    }
    .attr-nav a {
        margin-right: 220px;
    }

}

/* Portrait tablets and small desktops */
@media (max-width: 991px) {
    nav.navbar.bootsnav .navbar-brand{
        padding-top:30px;
    }
    nav.navbar.bootsnav .navbar-toggle{
        margin-top: 25px;
    }
    .sm-text-center{
        text-align: center !important;
    }
    .sm-pull-none{
        float: none !important;
    }
    .sm-m-top-10{
        margin-top:10px;
    }
    .sm-m-top-20{
        margin-top:20px;
    }
    .sm-m-top-30{
        margin-top:30px;
    }
    .sm-m-top-40{
        margin-top:40px;
    }
    .sm-m-top-50{
        margin-top:50px;
    }
    .sm-m-top-60{
        margin-top:60px;
    }
    .sm-m-top-70{
        margin-top:70px;
    }

    .main_counter {
        margin-top: -40px;
    }
    .feature_photo{
        margin-top: 40px;
    }

    #work {
        margin-top: -20px;
        margin-bottom: -70px;
    }
    .work_item_img img {
        margin-top: -40px !important;
        margin-bottom: -20px;
    }
    #noz {
        margin-top: 0px !important;
    }
    #work .desno {
        margin: 0 30px;
    }
    #work .levo {
        margin: 0 30px;
    }
    #work .levo1 {
        margin-left: 30px;
    }

    .work_separator1:before,
    .work_separator2:before{
        margin-left:-90px;
        left: 50%;
        top: 23%;
        z-index: 1;
    }
    .work_item {
        padding-bottom: 20px;
    }
    .separator_left{
        margin: 20px auto;
    }
    .service_items {
        margin-top: 0px;
        margin-bottom: 50px;
    }
    #coffe img {
        width: 90%;
    }
    #dno {
        margin-bottom: 10px;
    }
    #dno1 {
        margin-bottom: -50px;
    }
    .service_right_text {
        margin-left: 0px;
    }
    .attr-nav a {
        margin-right: 0px;
    }

}



/* Landscape phones and portrait tablets */
@media  (max-width: 768px) {
    h2{
        font-size:2rem;
    }
    p{
        font-size:90%;
        line-height: 2rem;
    }
    .xs-pull-none{
        float: none !important;
    }
    .xs-text-center{
        text-align: center !important;
    }
    .xs-m-top-10{
        margin-top:10px;
    }
    .xs-m-top-20{
        margin-top:20px;
    }
    .xs-m-top-30{
        margin-top:30px;
    }
    .xs-m-top-40{
        margin-top:40px;
    }
    .xs-m-top-50{
        margin-top:50px;
    }
    .xs-m-bottom-10{
        margin-bottom:10px;
    }
    .xs-m-bottom-20{
        margin-bottom:20px;
    }
    #hello h1 {
        font-size: 2.7em;
        margin-top: -70px;
    }
    #hello h3 {
        font-size: 1.7em;
    }
    #hello h5 {
        font-size: 1.5em;
    }
    #hello .btn,#hello h3,#hello h5 {
    margin-top: 30px;
    }
    #hello {
        height: 870px;
    }
    #hello .overlay {
         height: 870px;    
    }
    #feature {
        margin-top: -20px;
    }
    .main_counter {
        margin-top: -30px;
        margin-bottom: -30px;
    }
    #work {
        margin-top: 0px;
        margin-bottom: -80px;
    }
    .work_separator1:before,
    .work_separator2:before {
        background: #f8eace;
        height: 0px;
    }
    .service_items {
        margin-top: -20px;
        margin-bottom: 30px;
    }
    #coffe {
        width: 90%;
    }
    #coffe img {
        width: 90%;
    }
    #dno {
        margin-bottom: -15px;
    }
    #dno1 {
        margin-bottom: -50px !important;
    }
    .service_left_text p {
        padding-right: 5px;
    }
    .service_items .about-content span {
        font-size:1.2em;
    }
    #company h3 {
        font-size: 1.7em;
    }
    #company h4 {
        font-size: 1.4em;
    }
    #company {
        margin-left: 10px;
        margin-right: 10px;
    }
    #footer {
        margin-left: 10px;
        margin-right: 10px;
    }
    
}




/* Landscape phones and smaller */
@media (max-width: 479px) {
    html {
        font-size: 85%;
    }
    #hello {
        height: 810px;
    }
    #hello .overlay {
         height: 810px;    
    }
    #hello h1 {
        font-size: 2em;
        margin-top: -120px;
    }
    #hello h3 {
        font-size: 1.4em;
    }
    #hello h5 {
        font-size: 1.2em;
    }
    .main_counter {
        margin-bottom: -40px;
    }
    .feature_img img{
        height: 400px;
        margin-bottom: -20px;
    }
    .counter_item h2 {
        font-size: 45px;
    }
    .counter_item {
        margin-bottom: -20px;
    }
    .counter_item h5 {
        margin-top: -10px;
    }

    #work {
    margin-bottom: -100px;
}
    .work_item_img img {
        margin-bottom: 0px;
    }
    #work h4 {
        margin-top: -20px !important;
        font-size: 1.2em;
    }
    #work h5 {
        margin-left: 10px !important;
        font-size: 1em;
    }
    #work p {
        font-size: 14px;
    }
    #work span {
        font-size: 1em;
    }
    .work_item {
        padding-bottom: 10px;
    }
    #vrh {
        margin-top: -20px !important;
    }
    .service_right_text h4,
    .service_left_text h4 {
        font-size: 1.2em;
    }
    .service_right_text p,
    .service_left_text p {
        font-size: 1.1em !important;
    }
    #company h3 {
        font-size: 1.3em;
    }
    #company h4 {
        font-size: 1.1em;
    }
    #company p {
        font-size: 1em;
    }
    #company {
        padding-top: 30px;
        margin-bottom: -30px;
        margin-left: 20px;
        margin-right: 20px;
    }
    #maps iframe {
        height: 250px;
        margin-top: 50px;
        margin-bottom: 30px;
    }

}

@media (max-width: 400px) {
    #hello h1 {
        font-size: 1.8em;
    }
    #hello h3 {
        font-size: 1.2em;
    }
    #hello {
        height: 840px;
    }
    #hello .overlay {
         height: 840px;    
    }

}

@media (max-width: 320px) {
    html {
        font-size: 60.5%;
    }
    #hello h1 {
        font-size: 1.6em;
        margin-top: -150px;
    }
    #hello h3 {
        font-size: 1em;
    }
    #hello {
        height: 730px;
    }
    #hello .overlay {
         height: 730px;    
    }
    #feature h5 em {
        font-size: 0.8em;
    }
    #maps iframe {
        height: 220px;
    }

}



