/* only phone */
@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }

    #section1 .col-xs-6 {
        width:100% !important;
    }
    .circles {
        display:none
    }

    #section1 .box-centered {
        margin: 30px auto 0 !important;
    }

    ul.nav.navbar-nav {
        float:left;
        width: 100%;
    }
    
    .navbar-default .navbar-nav>li>a.docked{
        padding: 10px;
    }
    
    .navbar-toggle {
        float: left;
    }  
    
    a.small-logo-top  {
        left:100px;
        /*background: url("../images/logo-top.png") no-repeat scroll 0 -8px rgba(0, 0, 0, 0);*/
        background: url("../images/logo-top-226x97.svg") no-repeat scroll center rgba(0, 0, 0, 0);
    }
          
    .notMobile {
        position: relative;        
    }  
    
    .notMobile .form {
        position: relative;
        top: 0;
    }
    
    .div-circle br.text-circle {
        display:none;
    }
    
    .div-circle {
        height: 300px;
        left: calc(50% - 150px);
        top: -80px;
        width: 300px;
        z-index: 10;
    }
    
    .div-circle h2 {
        font-size: 18px;
        line-height: 24px;
        font-family: 'roboto_slabbold' !important;
        margin: 20px 0 0 0;
    }

    .div-circle p {
        font-size: 18px;
        line-height: 24px;
        font-family: 'roboto_slablight' !important;
    }

    .div-circle p.text-circle {
        font-size: 14px;
        line-height: 28px;
    }

    .captcha .math {
        height: 130px;
    }

    .captcha .math span.left {
        display: block;
    }

    .captcha .math span.spam a {
        left: calc(50% - 77px);    
        top: 45px;        
    }

    .styled-select{ 
        width:97%;
    }
    

    button#wyslij {
        border: 3px solid #1bc1d3;
    }
    
    .text {
        font-size: 18px;
        line-height: 24px;
    }
    
    .affix {
        position: relative !important;
        width: 100% !important;
        top: 0;
    }

    .navbar-default .navbar-nav>li.top-menu-sep {
        display: none;
    }
}


/* phone and tablet */
@media (max-width: 991px) {
        .header {
        margin:25px 0;
    }
    
    
    
    #section1 .box-vertical-middle {
        height: 290px;
    }
    
    #section1 .box {   
        background-size: 290px auto;
    }    

    #section1 .box-centered {
        margin: 30px 0 0 30px;
    }

    .parallax-2 {
        background: none;
    }
                    
    .custom-div {        
        margin-bottom:50px;
    }
           


}


/* only tablet */
@media (min-width: 768px) and (max-width: 991px) {
   
        .container {
        /*width: 960px;*/
    }


    ul.nav.navbar-nav {
        float:right
    }    
   .header {
        margin:25px 0;
    }
    
    #section1 .box-vertical-middle {
        height: 220px;
    }
    
    #section1 .box {   
        /*background-size: 75% auto;*/
    }

    .subpage .header h1 {
        line-height: 50px;
        font-size: 40px;
        margin: 35px 0;
    }

    .affix {
        /*width: 283px;*/
    }

}


/* tablet and normal screen */
@media (min-width: 768px) {
    .navbar-nav {
        float: right;
    }
}


/* only normal screen */
@media (min-width: 992px) {
    #section1 .box-vertical-middle {
        height: 220px;
    }
    
     .custom-div {
        border-right: 1px solid rgba(66,139,202,.5);
    }
}   

@media (min-width: 1200px) {
    
}   

@media screen and (min-width: 1367px) {

    
    #section1 .box-vertical-middle {
        height: 290px;
    }
    
    #section1 .box {   
        background-size: 290px auto;
    }    
}


@media (max-width: 1790px) {
    #section2 .portfolio-container .portfolio-holder {
        width:1320px;
    }
}

@media (max-width: 1400px) {
    #section2 .portfolio-container .portfolio-holder {
        width:990px;
    }
}

@media (max-width: 1050px) {
    #section2 .portfolio-container .portfolio-holder {
        width:660px;
    }
}

@media (max-width: 700px) {
    #section2 .portfolio-container .portfolio-holder {
        width:330px;
    }
}