/*
 * startCMS - basic PHP application
 *
 * @package startCMS
 * @author Fed
 * @copyright Copyright (c) 2017 Fed (fedstudio)
 * @link http://fedstudio.com
 * @license See LICENSE file
 */

html, body {
    position: relative;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.3rem !important;
    background: #181818;
    color: #ddd;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #d9534f;
    text-decoration: none;
}

a:active {
    color: #666;
}

h1 {
    font-size: 2rem;
    margin: 30px 0;
}

.vertical-align {
    display: flex;
    flex-direction: row;
}

.vertical-align > [class^="col-"],
.vertical-align > [class*=" col-"] {
    display: flex;
    align-items: center; /* Align the flex-items vertically */
    justify-content: center;
    /* Optional, to align inner flex-items
                                 horizontally within the column  */
}

.block {
    display: block;
}

.main {
    min-height: 100%;
}

.promo {
    height: 50px;
    line-height: 50px;
    background: #333333;
    color: #fff;
    font-weight: 700;
}

.header {
    min-height: 450px;
    background: #fff url("../images/header.jpg") center bottom no-repeat;
    background-size: contain;
}

.header-cell {
    min-height: 150px;
    line-height: 1.5;
    margin-top:10px;
    margin-bottom: 10px;
}

.logo {
    text-indent: -9999px;
    background: url("../images/blank_logo.gif") left center no-repeat;
    background-size: contain;
}

.header-phone {
    display: block;
    font-size: 1.6rem;
    line-height: 3.2rem;
}

.menu {
    height: 50px;
    line-height: 50px;
    background: #333333;
}

.menu a {
    display: inline-block;
    padding: 0 30px;
    position: relative;
    left: -30px;
    text-align: left;
    min-width: 100px;
    color: #fff;
}

.menu a:hover {
    background-color: #d9534f ;
}

.menu_item.right {
    float: right;
    min-width: 100px;
}
.menu_item.active {
    background: #c12e2a;
}


.content {

}

.content .inner {

}

.footer {
    margin-top: 50px;
    min-height: 100px;
    padding: 30px 0;
    background: #333333;
    color: #fff;
}

.footer .menu_item {
    color: #fff;
    display: block;
}
.footer .menu_item:hover {
    color: #ccc;
}


.footer .footer_menu .menu_item {
    color: #00b2ff;
    display: block;
}
.footer .footer_menu .menu_item:hover {
    color: #fff;
}


.mt-10 {
    margin-top: 10px;
}


.text_under_button {
    margin-bottom: 30px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
    font-weight: 700;
    font-style: italic;
}

.gallery-wrap a {
    max-height: 200px;
    overflow: hidden;
    padding-left: 0;
}




.error {
    margin: 100px 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.6rem;
}

.service_list a {
    display: block;
    padding: 10px 20px;
    margin: 5px 0;
}

.service_list a:hover {
    background: rgb(217, 83, 79);
    color: #fff;
}

.service_list a.current {
    background: #c12e2a;
    color: #fff;
}

.portfolio-list {
    margin-bottom: 30px;
}

.portfolio-title {
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}


/* Styles for dialog window */
.popup-form-html, #popup-form-submit {
    background: white;
    padding: 20px 30px;
    text-align: left;
    max-width: 600px;
    margin: 40px auto;
    position: relative;
}


/**
 * Fade-zoom animation for first dialog
 */

/* start state */
.my-mfp-zoom-in .zoom-anim-dialog {
    opacity: 0;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;



    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

/* animate in */
.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
    opacity: 1;

    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

/* animate out */
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);

    opacity: 0;
}

/* Dark overlay, start state */
.my-mfp-zoom-in.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}
/* animate out */
.my-mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}



/**
 * Fade-move animation for second dialog
 */

/* at start */
.my-mfp-slide-bottom .zoom-anim-dialog {
    opacity: 0;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;

    -webkit-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
    -moz-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
    -ms-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
    -o-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
    transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );

}

/* animate in */
.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
    opacity: 1;
    -webkit-transform: translateY(0) perspective( 600px ) rotateX( 0 );
    -moz-transform: translateY(0) perspective( 600px ) rotateX( 0 );
    -ms-transform: translateY(0) perspective( 600px ) rotateX( 0 );
    -o-transform: translateY(0) perspective( 600px ) rotateX( 0 );
    transform: translateY(0) perspective( 600px ) rotateX( 0 );
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
    opacity: 0;

    -webkit-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg );
    -moz-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg );
    -ms-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg );
    -o-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg );
    transform: translateY(-10px) perspective( 600px ) rotateX( 10deg );
}

/* Dark overlay, start state */
.my-mfp-slide-bottom.mfp-bg {
    opacity: 0;

    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-slide-bottom.mfp-ready.mfp-bg {
    opacity: 0.8;
}
/* animate out */
.my-mfp-slide-bottom.mfp-removing.mfp-bg {
    opacity: 0;
}

.modal-h1 {
    font-size: 3.3rem;
    margin: 50px 0;
    line-height: 3rem;
    color: #000;
    font-weight: 700;
    display: block;
}
.modal-h2 {
    font-size: 2.3rem;
    margin: 30px 0;
    line-height: 3rem;
    color: #000;
    font-weight: 700;
    display: block;
}

.bread-crumb a {
    display: inline-block;
    margin: 20px 0 5px 0;
}


.modal-zayavka {
    padding: 30px 0;
    font-size: 1.8rem;
    line-height: 3rem;
    color: #555;
}




.flat-butt {
    display: inline-block;
    margin: 0 5px;
    font-family: "Lato", sans-serif;
    font-size: 1.05rem;
    padding: 12px 20px;
    border: 0;
    background: #34495E;
    color: #FFF;
    cursor: pointer;
    outline: 0;
    text-decoration: none;
}
.flat-butt:hover {
    background: #005580;
}
.flat-primary-butt {
    background: #1abc9c;
}
.flat-primary-butt:hover {
    background: #2fe2bf;
}
.flat-info-butt {
    background: #3498db;
}
.flat-info-butt:hover {
    background: #5dade2;
}
.flat-danger-butt {
    background: #c12e2a;
}
.flat-danger-butt:hover, .flat-danger-butt:focus {
    background: #d9534f;
    color: #fff;
}

.product-title {
    height: 5.5rem;
    overflow-y: hidden;
    display: table;
}
.product-title div {
    display: table-cell;
    vertical-align: middle;
}

.product-list {
    padding-top: 10px;
    border: 1px solid transparent;
}
.product-list:hover {
    border-color: #d9534f;
    background: #333;
}
.product-list b {
    display: block;
    padding: 7px 0;
    font-size: 1.2rem;
}


.mainpage_title {
    margin: 50px 0 20px 0;
    font-size: 1.5rem;
}

.mainpage_subtitle {
    margin: 20px 0 10px 0;
    font-size: 1.2rem;
}

.mainpage_second {
    margin-top: 50px;
}

.category-title {
    height: 2rem;
    font-size: 1.3rem;
    line-height: 1.8rem;
    margin-top: 10px;
}

.copyright {
    margin: 20px 0;
    font-size: 0.8rem;
    opacity:0.7;
}

#imageGallery {
    list-style: none;
}

#imageGallery img {
    max-width:100%;
}

.product-zayavka {
    margin-top: 30px;
}
.product-zayavka  .flat-butt {
    zoom:1.5;
}

.fulltext {
    margin-top: 50px;
}

.ulmaipage li {
	margin-bottom: 25px;
}

.links-head a {
	font-size: 0.9rem;
}

.price {
    color: rgb(217, 83, 79);
    font-size: 2.5rem;
    margin: 30px 0 10px 5px;
    font-weight: 700;
}
.price small {
	font-size: 1.4rem;
	font-style: italic;
}

.price2 {
    color: rgb(217, 83, 79);
}

.portfolio-item {
    margin-bottom: 30px;
}

.thumbs .title {
    padding-top: 50px;
    display: block;
}

.thumbs .single_image {
    margin: 15px 0;
}

.thumbs-auto img {
    margin-top: 30px;
}

.subpromo {
    padding: 5px 0;
    text-align: center;
    color: rgb(217, 83, 79);
    font-size: 1rem;
    background: #333;
}


.nav-mobile {
    background-color: #333!important;
    border-bottom: 1px solid #aaa;
}
.nav-mobile .navbar-brand {
    font-size: 1rem;
}
.nav-desktop .dropdown-menu {
    background-color: #333!important;
}

.nav-desktop .dropdown-menu li:hover{
    background-color: #000!important;
}

@media (max-width: 992px) {
    .header {
        min-height: 250px;
    }
    .product-list b {
        padding-top: 0;
    }
}

@media (max-width: 767px) {

    .header {
        min-height: 260px;
    }

    .modal-h1 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .modal-h2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .modal-zayavka {
        font-size: 1.1rem;
        line-height: 2rem;
    }

}
@media (max-width: 540px) {
    .header {
        min-height: 210px;
    }

    .modal-h1 {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }
    .modal-h2 {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }
    .modal-zayavka {
        font-size: 1rem;
        line-height: 1.3rem;
    }
}

@media (max-width: 400px) {
    .header {
        min-height: 170px;
    }
    .modal-h1 {
        font-size: 1rem;
        line-height: 1.2rem;
    }
    .modal-h2 {
        font-size: 1rem;
        line-height: 1.2rem;
    }
}
