﻿body {
    font-family: 'Akrobat';
    color: #582e2f;
    font-size: 17px;
}
a { color: #582e2f; }
form { margin: 0; }
h3, h4 { font-weight: bold; }
.table { font-size: 17px; }
.btn {
    font-size: 17px;
}
.btn-primary {
    background-color: #944751;
    border-color: #944751;
}


/* Main Menu */
.navbar-default {
    background-color: #582e2f;
    border: 0;
    border-radius: 0;
    margin: 0;
}
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus, 
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
    color: #edd7c0;
}
.navbar-default .navbar-nav > li:hover > a,
.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:focus, 
.navbar-default .navbar-nav > .open > a:hover {
    background-color: rgba(255, 255, 255, .1);
    color: #edd7c0;
    text-decoration: none;
}
.navbar-default .dropdown-menu > li > a {
    font-size: 15px;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #edd7c0;
}
.navbar-default .navbar-toggle:focus, 
.navbar-default .navbar-toggle:hover {
    background-color: rgba(255, 255, 255, .1);
}
@media(max-width: 767px) {
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #edd7c0;
    }
}


/* Header */
header {
    padding: 15px 0;
}
.header-address strong, .header-phone strong {
    display: block;
    font-weight: normal;
    font-size: 33px;
    color: #582e2f;
}
.header-address {
    text-align: right;
}
.header-address strong {
    font-size: 27px;
    line-height: 1;
    margin-bottom: 10px;
}
.header-address a {
    font-family: 'Roboto-LightItalic';
    color: #944751;
    font-size: 16px;
    text-decoration: underline;
}
.header-phone {
    text-align: right;
}
.header-phone strong a {
    color: #582e2f;
    line-height: 1;
}
.header-phone strong a:hover {
    text-decoration: none;
}
.header-phone strong .fa {
    color: #944751;
    width: 36px;
    height: 36px;
    text-align: center;
    font-size: 22px;
    border: solid 2px #944751;
    border-radius: 50%;
    margin-right: 10px;
}
.header-phone strong .fa:before {
    line-height: 33px;
}
.header-phone .btn {
    background-color: #944751;
    color: #fff;
    text-transform: uppercase;
    padding: 5px 20px;
    margin-top: 6px;
}
@media(min-width: 992px) {
    header .row {
        display: flex;
        align-items: center;
    }
    .header-address strong {
        line-height: 1.3;
    }
}
@media(max-width: 991px) {
    .header-address, .header-phone {
        text-align: center;
        margin-top: 30px;
    }
    .header-address strong {
        line-height: 1.3;
    }
}


/* Jumbotron */
.jumbotron {
    background: url(images/jumbotron.jpg) no-repeat center 0;
    height: 480px;
    margin-bottom: 0;
    color: #edd7c0;
}
.jumbotron h1 {
    text-transform: uppercase;
    font-size: 64px;
    margin-top: 60px;
    font-weight: bold;
    text-shadow: 3px 2px #513426;
}
.jumbotron p {
    font-size: 39px;
    margin-bottom: 0;
}
@media(max-width: 767px) {
    .jumbotron h1 {
        font-size: 40px;
    }
}


/* Main */
main {
    background: #e5e6ea url(images/bg.png);
    padding-top: 60px;
    padding-bottom: 30px;
}
main.fp-main {
    padding-top: 0;
}


/* Section */
section {
    padding: 60px 0;
}
.section-title {
    background: url(images/services/serv-title-dark.png) no-repeat center bottom;
    text-align: center;
    text-transform: uppercase;
    font-size: 40px;
    line-height: 1;
    margin-top: 0;
    padding-bottom: 40px;
    margin-bottom: 30px;
    font-weight: bold;
}


/* Footer */
.map {
    position: relative;
}
.map > ymaps {
    position: absolute;
}
.footer-contacts {
    background-color: #582e2f;
    color: #edd7c0;
    padding: 40px 60px;
    border-radius: 10px;
    position: relative;
    /*margin: 130px 0;*/
	margin-top: -450px;
}
.footer-contacts::before {
    content: '';
    width: 0;
    height: 0;
    right: 100%;
    top: calc(50% - 20px);
    position: absolute;
    border-top: 20px solid transparent;
    border-right: 24px solid #582e2f;
    border-bottom: 20px solid transparent;
}
.footer-contacts strong {
    font-weight: normal;
    font-size: 30px;
    margin-top: 25px;
    margin-bottom: 25px;
    display: block;
}
.footer-contacts p {
    margin: 0;
}
.footer-contacts a {
    color: #edd7c0;
    text-decoration: none;
}
@media(max-width: 991px) {
    .map > ymaps {
        position: static;
        height: 300px !important;
    }
    .map .container {
        width: 100%;
        padding: 0;
        overflow: hidden;
    }
    .footer-contacts {
        border-radius: 0;
        margin: 0;
        text-align: center;
    }
    .footer-contacts img {
        margin: 0 auto;
    }
    .footer-contacts strong {
        font-size: 26px;
    }
}


/* FP Services */
.fp-services {
    background: url(images/services-bg.jpg) no-repeat center 0 / cover;
}
.fp-services .row {
    margin-left: -5px;
    margin-right: -5px;
}
.fp-services .row > div[class^='col-'] {
    padding-left: 5px;
    padding-right: 5px;
}
.fp-service-item {
    display: flex;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: cover;
    margin-bottom: 10px;
    padding: 20px 20px 30px;
    text-decoration: none;
    align-items: flex-end;
    justify-content: center;
}
.fp-service-item:hover {
    text-decoration: none;
}
.fp-service-item strong {
    color: #edd7c0;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 38px;
    text-align: center;
    display: block;
    padding-bottom: 30px;
    background: url(images/services/serv-title-light.png) no-repeat center bottom;
    line-height: 1;
}
.fp-serv-item-1 {
    background-image: url(images/services/serv1.jpg);
    height: 370px;
    align-items: flex-start;
}
.fp-serv-item-2 {
    background-image: url(images/services/serv2.jpg);
}
.fp-serv-item-3 {
    background-image: url(images/services/serv4.jpg);
}
.fp-serv-item-4 {
    background-image: url(images/services/serv3.jpg);
}
.fp-serv-item-5 {
    background-image: url(images/services/serv5.jpg);
}
.fp-serv-item-6 {
    background-image: url(images/services/serv6.jpg);
}
.fp-serv-item-7 {
    background-image: url(images/services/serv7.jpg);
}
.fp-serv-item-2, 
.fp-serv-item-4 {
    height: 310px;
}
.fp-serv-item-3, 
.fp-serv-item-5 {
    height: 395px;
}
.fp-serv-item-6, 
.fp-serv-item-7 {
    height: 320px;
}
.fp-serv-item-3 strong,
.fp-serv-item-4 strong,
.fp-serv-item-7 strong {
    color: #582e2f;
    background-image: url(images/services/serv-title-dark.png)
}
.fp-serv-item-2 strong,
.fp-serv-item-3 strong {
    font-size: 23px;
}
.fp-serv-item-6 strong,
.fp-serv-item-7 strong {
    font-size: 30px;
}
.fp-serv-item-logo {
    height: 335px;
    background-color: #edd7c0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
@media(max-width: 991px) {
    .fp-serv-item-5 {
        height: 310px;
    }
}


/* FP Preims */
.fp-preims {
    background: url(images/preims-bg.jpg) no-repeat center 0 / cover;
}
.preim-container {
    display: flex;
}
.preim-container > div {
    width: 20%;
    text-align: center;
}
.fp-preim-img {
    height: 145px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.preim-container > div strong {
    display: block;
    font-weight: normal;
    font-size: 25px;
    margin-top: 15px;
    padding: 0 30px;
    line-height: 1;
}
@media(max-width: 991px) {
    .fp-preim-img img {
        width: 60%;
    }
    .preim-container > div strong {
        font-size: 19px;
        padding: 0 10px;
    }
}
@media(max-width: 767px) {
    .preim-container {
        display: block;
    }
    .preim-container > div {
        width: 100%;
        margin-bottom: 30px;
    }
    .fp-preim-img {
        height: auto;
        display: block;
    }
    .fp-preim-img img {
        width: auto;
    }
}


/* FP Steps */
.fp-steps {
    background: url(images/steps-bg.jpg) no-repeat center 0 / cover;
    color: #edd7c0;
}
.fp-steps-container {
    background: url(images/step-line.jpg) repeat-y center 0;
    margin-top: 50px;
    padding: 30px 0;
}
.fp-step-left {
    text-align: right;
}
.fp-steps h2 {
    text-align: center;
    font-size: 47px;
    font-weight: bold;
}
.fp-step span {
    font-size: 30px;
    background-color: #944751;
    height: 70px;
    width: 70px;
    display: inline-block;
    line-height: 62px;
    border: solid 3px #edd7c0;
    border-radius: 50%;
    font-weight: bold;
}
.fp-step strong {
    color: #944751;
    text-transform: uppercase;
    font-size: 25px;
    display: block;
    margin-bottom: 15px;
}
.fp-step p {
    font-size: 19px;
    line-height: 1.1;
}
@media(max-width: 991px) {
    .fp-steps h2 {
        font-size: 37px;
    }
    .fp-steps-container {
        background: none;
    }
    .fp-step {
        text-align: center;
        margin-bottom: 40px;
    }
    .fp-step span {
        margin-bottom: 20px;
    }
}


/* FP Feedback */
.fp-feedback {
    background: url(images/feedback-bg.jpg) no-repeat center 0 / cover;
    text-align: center;
    color: #fff;
}
.fp-feedback h2 {
    font-family: 'AdelleCyrillic-Regular';
    margin-top: 0;
    font-size: 50px;
    line-height: 1;
}
.fp-feedback p {
    font-family: 'AdelleCyrillic-Regular';
    font-size: 26px;
    margin: 0;
}
.fp-feedback .form-inline {
    margin-bottom: 40px;
    margin-top: 40px;
}
.fp-feedback .form-inline .form-group input {
    font-size: 25px;
    border: 0;
    border-radius: 2px;
    padding: 10px 20px;
    margin: 0 15px;
    height: auto;
    min-width: 300px;
}
.fp-feedback .btn {
    font-size: 24px;
    padding: 6px 50px;
}


/* FP About */
.fp-about {
    background: url(images/about-bg.jpg) no-repeat center 0 / cover;
}
.fp-about-content {
    font-size: 20px;
    margin-bottom: 30px;
}
.fp-about .btn-primary {
    font-size: 24px;
    padding: 6px 50px;
}


/* Catalog List */
.cat-item {
    margin-bottom: 30px;
}


/* Catalog Item */
.item-comment h3 {
    font-weight: bold;
    text-align: center;
}
.item-comment .table {
    font-family: sans-serif;
    font-size: 14px;
}
.item-comment .table th, 
.item-comment .table td {
    vertical-align: middle;
}


/* Dashboard */
.dashboard {
    position: fixed;
    left: 0;
    width: 13%;
    top: 0;
    bottom: 0;
    background-color: #fff;
    overflow-y: overlay;
    padding: 15px 45px 30px 30px;
    text-align: left;
    box-shadow: 0 0 15px rgba(0, 0, 0, .3);
}
.dashboard label {
    font-weight: bold;
}
.dashboard ul {
    margin: 5px 0 20px;
    padding: 0;
    list-style: none;
}
.dashboard ul li {
    margin-bottom: 5px;
}
.dashboard ul a {
    text-decoration: none;
}


/* Modal Form */
.modal-container {
    padding: 20px;
}
.modal-form h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
}
.modal-container .alert {
    margin-top: 15px;
    margin-bottom: 0;
}


/* Service */
.service-list {
    margin-left: -15px;
    margin-right: -15px;
}
.service-list-item {
    width: 50%;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}
.service-list-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}
.service-list-img img {
    max-width: 100%;
    position: absolute;
    bottom: 0;
}
.service-list-item strong {
    display: block;
    text-align: center;
    font-size: 25px;
    margin-top: 15px;
}


.service-left {
    float: left;
    width: 50%;
}
.service-left img {
    width: 100%;
    margin-bottom: 30px;
}
.service-content {
    float: right;
    width: 45%;
}
.service-detail-list {
    margin-left: -15px;
    margin-right: -15px;
}
.service-detail-item {
    width: 50%;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}
.service-detail-item img {
    width: 100%;
}