/* 1d629e cd1b21 */

body {
    background: #fff;
    font-family: "Open Sans";
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    min-width: 320px;
}

h1 {
    color: #6a6a6a;
    font-size: 28px;
    font-weight: bold;
}

/*=============== topmenu =================*/
.topmenu {
    text-align: right;
    padding-top: 10px;
    transition: all .5s;
}

.topmenu a {
    color: #fff;
    text-transform: uppercase;
    margin-left: 25px;
}

.topmenu a.active {
    border-bottom: 1px solid #fff;
}

.topmenu.affix {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    opacity: 0.8;
    padding: 10px 0;
}

.topmenu.affix a {
    color: #cd1b21;
    /*font-weight: bold;*/
}

.topmenu.affix a.active {
    border-bottom: 5px solid #cd1b21;
}

/*=============== ./topmenu ==================*/

/*=============== header ==================*/
#header {
    background: url(../img/bg_head.jpg) center no-repeat;
    background-size: cover;
    height: 100vh;
    min-height: 500px;
}

.section-table {
    display: table;
    width: 100%;
    height: 100%;
}

.section-row {
    display: table-row;
}

.section-cell {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.section-center {
    max-width: 550px;
    display: inline-block;
}

#header h1 {
    font-family: Montserrat, sans-serif;
    font-size: 31px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-top: 60px;
    margin-bottom: 30px;
}

#header .logo img{
    width: 500px;
}

#header p {
    color: #fff;
    font-size: 16px;
}

.btn {
    font-family: Montserrat, sans-serif;
    color: #fff;
    font-size: 17px;
    text-transform: uppercase;
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    transition: background .5s;
}

.btn-primary, .btn-primary:visited {
    background: #1d629e;
    border: 3px solid #1d629e;
}

.btn-primary:hover {
    background: transparent;
    border: 3px solid #fff;
}

.btn-default, .btn-default:visited {
    background: transparent;
    border: 3px solid;
    border-bottom: 3px solid #d9d9d9;
}

.btn-default:hover {
    background: #cd1b21;
    color: #fff;
    border: 3px solid #cd1b21;
}

/*=============== /.header ==================*/

/*=============== Quarter ==================*/

.quarter .glyphicon {
    color: #cd1b21;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    font-size: 28px;
    margin-bottom: 20px;
}

.quarter-title {
    color: #cd1b21;
}

.quarter-text {
    padding-top: 15px;
    text-transform: none;
    font-size: 13px;
}

/*==============/.Quarter ==================*/

/*=============== block ==================*/
.block {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    text-align: center;
    /* text-transform: uppercase; */
    color: #6a6a6a;
    padding: 40px 0;
}

.block .text {
    color: #999999;
    text-transform: none;
    font-size: 14px;
}

/*=============== /.block ==================*/

/*============== Services ===============*/
.services-left, .services-right {
    height: 460px;
}

.services-left {
    background: #202020;
    padding: 50px 50px;
    text-align: right;
}

.services-right {
    background: url(../img/services_bg.jpg);
    background-size: cover;
}

#services #title {
    text-transform: uppercase;
    font-size: 24px;
    line-height: 24px;
    padding-right: 20px;
    margin-bottom: 40px;
    border-right: 4px solid #cd1b21;
}

#services .item {
    margin-top: 30px;
}

#services .item-title {
    color: #cd1b21;
    text-transform: uppercase;
}

#services .item-text {
    font-size: 12px;
    color: #ccc;
}

#services i {
    background: #fff;
    color: #cd1b21;
    padding: 20px;
    font-size: 24px;
}

.fa-desktop {
    position: absolute;
    left: -33px;
    top: 95px;
}

.fa-hand-o-up {
    position: absolute;
    left: -30px;
    top: 215px;
}

.fa-cog {
    position: absolute;
    left: -30px;
    top: 335px;
}

/*================ /Services =============*/

/*================ Portfolio =============*/
.portfolio {
    padding-top: 30px;
}

.portfolio .gallery {
    padding-top: 20px;
}

.portfolio img {
    width: 95%;
    border: 1px solid #ccc;
    margin-bottom: 8px;
}

.portfolio img:hover {
    opacity: 0.5;
}

.portfolio .col-md-3 {
    padding: 0;
}

.contacts h1 {
    /*padding-top: 35px;*/
}

.gallery .back {
    margin-top: -100px;
    opacity: 0;
}

.gallery > .sample:hover .back {
    opacity: 1;
}

/*.sample:hover .sample {
    background: #000;
}
.sample:hover .back {
    opacity: 1;
}*/
/*=============== /Portfolio =============*/

/*=============== Contacts =============*/
.contacts {
    background-color: #f4f5f9;
}

.contacts .item-title {
    color: #cd1b21;
    font-weight: bold;
}

.contacts .item-text {
    text-transform: none;
    margin-bottom: 20px;
}

.contact-data, .contact-form {
    background-color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.24);
    padding: 30px 30px;
    margin-top: 20px;
    text-align: left;
    height: 350px;
}
.contact-data a{
    text-decoration: none;
    color: #666;
}
.contact-data a:hover{
    text-decoration: underline;
    color: #cd1b21;
}

.form-control#message {
    height: 70px;
}

.contact-form .btn-primary {
    background-color: #cd1b21;
    font-size: 14px;
    padding: 7px 20px;
    margin: 0;
}

.contact-form .btn-primary:hover {
    background-color: #fff;
    border: 3px solid #cd1b21;
    color: #cd1b21;
}

.message {
    margin-top: 20px;
    text-transform: none;
    color: #cd1b21;
    font-weight: bold;
}

/*=============== /Contacts =============*/

/*=============== Bottom, Footer ==================*/
#bottom {
    background-image: url(../img/road.jpg);
    background-position: center;
    height: 250px;
    text-align: center;
    vertical-align: middle;
}

#quote {
    color: #EEEDED;
    font-family: 'Marck Script', cursive;
    font-size: 48px;
}

#footer {
    background-color: #202020;
    color: #999999;
    line-height: 50px;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
}

.to-top {
    text-align: right;
    margin-top: -25px;
}

/*=============== /.Bottom, Footer ==================*/

/* Medium Devices, Desktops */
@media only screen and (max-width: 991px) {
    .services-left {
        text-align: left;
    }

    .services-right {
        /*border: 1px solid red;*/
        display: none;
    }

    #services #title {
        border-right: none;
        border-left: 4px solid #cd1b21;
        padding-left: 15px;
    }

    .contacts #contacts {
        /*padding-top: 20px;*/
    }

    #footer .to-top {
        margin-top: -52px;
    }

    .quarter {
        margin-bottom: 25px;
    }

}

@media only screen and (max-width: 585px) {
    .services-left {
        height: auto;
    }
}

@media only screen and (max-width: 465px) {
    .topmenu {
        text-align: center;
    }

    .topmenu a {
        margin: 0px 3px;
        font-size: 14px;
    }

    #quote {
        font-size: 32px;
        /*padding: 0px 10px;*/
    }

}

@media only screen and (max-width: 434px) {
    #header .btn {
        /*border: 1px solid red;*/
        width: 200px;
        margin-bottom: 10px;
    }

    #header h1 {
        margin-top: 30px;
    }

    #header .logo img {
        margin-top: -40px;
        width: 300px;
    }

    #footer .to-top {
        margin-top: -50px;
    }
}