/*--------------------------------------------------------
Responsive elements
--------------------------------------------------------*/

@media only screen and (min-width: 768px) and (max-width: 959px) {
    h1 { font-size: 68px;}
    .one-text { font-size: 16px;}
    #slidecaption { font-size: 68px }
    .slidedescription { font-size: 12px }
    .slider-text { bottom: 60px; } 
    .bg1, .bg3 { background-size: 150%;}
    .bg2 { background-size: 1280px;}
    #contact { background-size: 1437px; }
    .item { height: 167px; }
    .ib-text { padding-right: 26%; }
    #nav-button-login a{width: 50px; right: 133px; top: 10px;}
    #nav-button-signup a{width: 50px; right: 57px; top: 10px;}
    #nav-search form {width: 192px;}
    img.scaleimg {
        width: 100%;
        height: 67px;
    }
} 

@media only screen and (width: 1024px) {
    #contact { background-size: 1210px; }
    .card { margin: 60px 0 0 0; }
} 

@media only screen and (max-width: 767px) {
    h1 { font-size: 54px; line-height: 1; }
    .one-text { font-size: 14px; }
    .project-title { font-size: 14px; }
    .project-description { font-size: 11px; }
    #slidecaption { font-size: 36px}
    .lines { font-size: 24px; }
    #contact { height: auto;}
    .contact-social-icons li a { width: 40px; height: 40px; font-size: 20px; }
    .contact-social-icons li { margin: 0 5px 0 5px; }
    .links { display: none; }
    .dropmenu { display: block; margin-top: 5px; }
    .logo { width: 180px; height: auto; margin-left: auto; margin-right: auto; }
    .logo img {height: 30px;}
    .menu-buttons {top: -10px !important; margin-right: 18px;}
    .slidedescription { display: none; }
    .line { width: 80px; margin-bottom: 20px; }
    .social-icons { position: absolute; top: 4px; right:10px; margin-top: 0; }
    .social-icons li a { width: 18px; height: 18px; line-height: 1.8; font-size: 10px; }
    nav { height: 30px; }
    #homepage { margin-bottom: -30px; }
    .slider-text  { bottom: 50px; min-height: 80px; }
    #about, #culture, #services, #portfolio { padding-top: 32px; padding-bottom: 40px; }
    #prevslide, #nextslide{ position:absolute; height:15px; width:15px; top:50px; margin-top:-21px; opacity:0.6; }
    #culture h4 { padding-top: 27px; }
    .bg1, .bg2, .bg3 { background-attachment: scroll; background-size: cover; }
    .column .img-wrp { margin: 40px 0px 14px; }	
    #prevslide{ right:55px; font-size: 16px; }
    #nextslide{ right:30px; font-size: 16px; }
    #contact { background-size: cover; }
    .item { height: 330px; }
    .selectnav { display: block; margin-top: 5px;}
    .option-set { margin-left: 0; }
    .culture-full { padding: 40px 0px 40px 0px; margin: 40px 0px 14px 0px; }
    .info-block a.button { position: inherit; margin-top: 20px; }
    .ib-text { padding-right: 0; }
    .post-title { font-size: 36px; }
    p.lead { font-size: 14px; }
    .image-caption { display: none; }
    .blog-sidebar { display: none; }
    .post-info span { float: left; text-align: left; margin-top: 5px; }
    #nav-search-min, #mini-nav{
        display: block;
    }
    #nav-search-min form{
        margin-bottom: 0;
        float: left;
        width: 190px;
        margin-top: 12px;
        margin-right: 5px;
    }
    #nav-search-min input{
        padding: 2px 6px 3px 40px;
        background: url("/images/search.png") no-repeat scroll 15px 3px #444444;
        border: 1px solid #444444;
        border-radius: 4px;
        box-sizing: border-box;
        color: #fff;
        display: block;
        font-family: "Open Sans",sans-serif;
        font-size: 13px;
        font-weight: 400;
        margin: 0;
        outline: medium none;
        text-transform: none;
        width: 100%;
    }
    #nav-search-min ::-webkit-input-placeholder { 
        color:    white;
    }

    #nav-search-min :-moz-placeholder { 
        color:    white;
    }

    #nav-search-min ::-moz-placeholder { 
        color:    white;
    }

    #nav-search-min :-ms-input-placeholder {  
        color: white;  
    }

    #mini-nav{
        background: none repeat scroll 0 0 #25272a;
        border-radius: 5px;
        color: #fff;
        float: left;
        font-weight: bold;
        height: 19px;
        left: 86px;
        margin-top: 2px;
        padding: 3px 4px 5px;
        position: absolute;
        text-align: center;
        width: 24px;
    }

    #mini-nav .icon-bar {
        background-color: #f5f5f5;
        border-radius: 1px;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
        display: block;
        height: 0.155em;
        width: 1.125em;
        margin: 4px;
    }
    #mini-nav-items{
        position: absolute;
        top: 28px;
        width: 100%;
        height: 166px;
        background: none repeat scroll 0 0 #25272a;
    }
    #mini-nav-items li a{
        color: #fff;
        margin: 6px 0 6px 20px;
    }
    #mini-nav-items li {
        border-bottom: 1px solid #373F46;
    }
    #mini-nav-items ul{
        background: none repeat scroll 0 0 #25272a;
    }
    #nav-button-login a {
        background: none repeat scroll 0 0 #8425bf;
        font-size: 12px;
        font-weight: normal;
        margin-bottom: 5px;
        padding: 7px 3px;
        width: 60px;
        position: relative;
        float: none;
        right: 0;
        top: 0px;
    }
    #nav-button-signup a {
        background: none repeat scroll 0 0 #ee4119;
        font-size: 12px;
        font-weight: normal;
        margin-bottom: 0;
        padding: 7px 3px;
        width: 60px;
        position: relative;
        float: none;
        right: 0;
        top: 0px;
    }
    #mini-nav-none-buttons{
        height: 30px; 
        padding-top: 10px;
    }
    #mini-search{
        display: none;
    }

    #footer-logo {
        right: 17px;
    }

    .slider-text #slidecaption{
        font-size: 30px;
    }

    img.scaleimg {
        width: 100%;
        height: 232px;
    }

}

@media only screen and (max-width: 479px) {
    .lines, .adress{ font-size: 18px; }
    .slider-text  { bottom: 50px; min-height: 100px; }
    #prevslide, #nextslide{ position:absolute; height:15px; width:15px; top:100px; opacity:0.6; }
    #prevslide{ left:0; }
    #nextslide{ left:25px; }
    .logo img {height: 30px;}
    .item { height: 254px; }
    #nav-search-min{
        display: none;
    }
    #nav-search-min form{
        float: left !important;
    }
    #mini-search{
        display: block;
    }
    #mini-search-box{
        background: url("/images/search_icon.png") no-repeat scroll 7px 4px #25272a;
        border-radius: 5px;
        color: #fff;
        float: left;
        font-weight: bold;
        height: 19px;
        margin-top: 2px;
        padding: 3px 4px 5px;
        position: absolute;
        right: 10px;
        text-align: center;
        top: 10px;
        width: 24px;
    }
    #mini-search-items{
        background: none repeat scroll 0 0 #25272a;
        float: left;
        height: 170px;
        position: absolute;
        right: 279px;
        top: 42px;
        width: 100%;
    }

    #mini-search-items input{
        background: url("/images/search.png") no-repeat scroll 15px 6px #444444;
        border: 1px solid #444444;
        border-radius: 4px;
        box-sizing: border-box;
        color: #fff;
        display: block;
        font-family: "Open Sans",sans-serif;
        font-size: 13px;
        font-weight: 400;
        margin: 0;
        outline: medium none;
        padding: 6px 6px 6px 40px;
        text-transform: none;
        width: 294px;
    }

    img.scaleimg {
        width: 100%;
        height: 164px;
    }

}

@media only screen and (min-width: 1400px) {
    nav .container
    { width: 960px; }

    #homepage .container,
    #homepage .container
    .sixteen.columns
    { width: 96%; }

    nav .three.columns { float: right;  margin-right: 50px;}
    .slider-text { width: 100%; }
    .line { width: 180px; }

    #parallax1, #parallax2, #parallax3,
    #parallax1 .vertical-text, #parallax2 .vertical-text,
    #parallax3 .vertical-text, #parallax1 .pattern,
    #parallax2 .pattern, #parallax3 .pattern
    { height: 600px; }

    #prevslide, #nextslide{ position:absolute; height:30px; width:30px; top:210px; margin-top:-21px; opacity:0.6; }
    .bg1, .bg2, .bg3 { background-size: 100%; }

    #nav-search form { float: right; margin-bottom: 0; width: 300px;}
    #nav-button-login a{ width: 60px; top: 10px;}
    #nav-button-signup a{ width: 60px; right: 57px; top: 10px;}
    .links a {right: -86px;  font-size: 14px;}
    /*    .container .logo {margin-left: 76px;}*/

} 

@media screen and (-webkit-min-device-pixel-ratio:0) and (min-width: 1400px) {
    #nav-search form {
        width: 300px !important;
    }

    .links li {margin: 1px 25px 0 0 !important;}
}

@media screen and (-webkit-min-device-pixel-ratio:0) and (max-width: 767px) {
    .back-home a.to-top i {
        background: none repeat scroll 0 0 #757c8c;
        border-radius: 50%;
        color: #1c1f26;
        font-size: 11px;
        height: 18px;
        line-height: 1.2;
        opacity: 0.3;
        position: absolute;
        top: 16px;
        transition: all 0.3s ease 0s;
        width: 18px;
        float: right;
        right: -17px;
    }
    #nav-button-login a, #nav-button-signup a{
        position: relative;
    }

    #footer-logo {
        right: 17px;
    }
}

@media screen and (-webkit-min-device-pixel-ratio:0) and (min-width: 768px) and (max-width: 959px) {
    #nav-search form {
        width: 192px !important;
    }
    img.scaleimg {
        width: 100%;
        height: 67px;
    }
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    .links li {
        display: inline;
        margin: 1px 28px 0 0 !important;
        /*        position: relative;*/
        top: 10px;
    }

    .links a.to-top i {
        width: 18px;
        height: 18px;
        opacity: 0.3;
        background: #757c8c;
        color: #1c1f26;
        font-size: 11px;
        line-height: 1.2;
        border-radius: 50%;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        transition: all 0.3s;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        float: right;
        margin-top: 5px;
        position: relative;
        top: 0 !important;
        margin-left: 0 !important;
    }

    #nav-search form {
        margin-bottom: 0;
        float: right;
        width: 300px;
        margin-top: 4px;
    }

    .links a {
        font-family: 'Oswald', sans-serif;
        font-size: 14px;
        color: white;
        text-decoration: none;
        text-transform: uppercase;
        position: relative;
        top: 9px;
    }
}



