/*   
Theme Name: ОмскСтройМеталл
Description: ОмскСтройМеталл - корпоративный сайт‚
Author: MK Group
Author URI: http://mk-digital.ru/
Template:
Version: 0.99
*/

@font-face {
    font-family: 'Segoe UI Regular';
    src: url('../fonts/segoe/SegoeUI.eot');
    src: url('../fonts/segoe/SegoeUI.eot?#iefix') format('embedded-opentype'),
    url('../fonts/segoe/SegoeUI.woff') format('woff'),
    url('../fonts/segoe/SegoeUI.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Segoe UI Regular';
    background: #f2f3f8;
}

section.first {
    background: url(../img/home.jpg) 50% 50% no-repeat;
    background-size: cover;
}

header {
    padding: 20px 0;
}

.logo {
    width: 90px;
    float: left;
}

.desc {
    float: left;
    text-transform: uppercase;
    color: #fff;
    font-size: 22px;
    padding-left: 20px;
    padding-top: 25px;
}

.header-contact {
    text-align: right;
}

.header-contact p {
    font-size: 18px;
    color: #fff;
}

.header-contact span {
    color: #f2a158;
    padding-right: 10px;
}

.header-contact a {
    color: #fff;
}

.header-contact a:hover,
.header-contact a:focus {
    text-decoration: none
}

.first-content {
    padding: 100px 0;
}

.first-content h1 {
    color: #fff;
    font-size: 48px;
    line-height: 60px;
}

.first-content h1 span {
    color: #f2a158;
}

.btn-oragne {
    border: none;
    border-radius: 0;
    font-size: 16px;
    color: #fff;
    background: #f39744;
    text-transform: uppercase;
    padding: 10px 20px;
    transition: all .3s ease;
    margin-top: 20px;
}

.btn-oragne:hover {
    background: #dddddd;
    color: #000;
    transition: all .3s ease;
}


section.second {
    padding: 40px 0 80px 0;
}

.second-title {
    position: relative;
    display: inline-block;
}

.second-title span {
    color: #f2a158;
}

.line {
    width: 80%;
    height: 1px;
    background: #dddddd;
    margin-top: 10px;
    position: relative;
}

.line:before {
    position: absolute;
    content: '';
    left: 0;
    height: 3px;
    width: 20%;
    top: 0;
    background: #f2a158;
}




.item {
    background: #fff;
    margin-top: 40px;
}

.item img {
    width: 100%;
}

.item .item-title {
    padding: 20px;
    font-size: 20px;
}

.item .item-set {
    padding: 20px;
    font-size: 16px
}

.item .item-left {
    width: 75%;
    float: left;
}

.item .item-right {
    width: 25%;
    float: left;
    text-align: right;
}

.item-btn-block {
    padding: 0 20px 20px 20px;
    text-align: center;
}

.item-set p {
    margin-bottom: 0
}

footer {
    color: #fff;
    background: #424242;
    padding: 40px 0;
    font-size: 16px;
}

.footer-contact {
    margin-top: 50px;
}

.f-title {
    font-size: 22px;
    border-left: 3px solid #f39744;
    padding-left: 10px;
    margin-bottom: 25px;
}

.footer-contact p span {
    color: #f39744;
    margin-right: 5px;
}

.footer_bottom {
    background: #363636;
    color: #cacaca;
    padding: 20px 0;
}

.footer_bottom p {
    margin-bottom: 0;
}

.footer_bottom .developer {
    text-align: right;
}

.footer_bottom .developer p {
    margin-bottom: 0;
    padding-right: 10px;
    display: inline-block;
}

.footer_bottom .developer img {
    width: 67px;
    height: 25px;
    display: inline-block;
}

.footer_bottom a {
    color: #cacaca;
    padding-left: 15px;
    text-decoration: underline;
}

.footer_bottom .developer a {
    padding-left: 0;
    text-decoration: none;
}

.h2-center {
    position: relative;
    margin-bottom: 75px;
    text-align: center;
}

.h2-center:before {
    position: absolute;
    content: '';
    left: calc(50% - 25px);
    bottom: -20px;
    width: 50px;
    margin: 0 auto;
    z-index: 2;
    height: 3px;
    background: #f39744;
}


.h2-center::after {
    position: absolute;
    content: '';
    left: calc(50% - 105px);
    bottom: -19px;
    width: 210px;
    z-index: 1;
    height: 1px;
    background: #ddd;
    margin: 0 auto;
}

/*modal*/

.modal-content {
    border-radius: 0;
}

.modal-body {
    padding: 25px;
}

.modal-content .h2-center {
    margin-bottom: 35px;
    text-align: center;
}

.modal-content .h2-center::before {
    left: calc(50% - 25px);
}

.modal-content .h2-center::after {
    left: calc(50% - 105px);
}

.modal-content p {
    text-align: center;
    color: #8c8c8c;
    font-size: 18px;
    margin: 5px 0 20px;
}

.modal-content .btn-orange {
    width: 48%;
    display: block;
    float: right;
    margin: 15px 0;
}

.confirm-block input {
    position: relative;
    top: 3px;
    display: block;
    float: left;
    margin: 4px 10px 10px 0;
}

.confirm-block .small-text {
    font-weight: normal;
    font-size: 12px;
    color: #a7a7a7;
    display: block;
}

.modal-content input[type="email"] {
    width: 100%;
}

.modal .logo img {
    width: 60px !important;
}

.form-line {
    margin-bottom: 20px;
}

.form-line input[type="text"] {
    padding: 10px 15px;
    width: 48%;
    border: none;
    font-size: 16px;
    background: #f2f3f8;
    display: inline-block;
}


#modalCallback .modal-content,
#modalDocs .modal-content {
    width: 400px;
    margin: 0 auto;
}

#modalCallback input,
#modalDocs input {
    width: 100%;
    margin-bottom: 15px;
}

#modalCallback input[type="checkbox"],
#modalDocs input[type="checkbox"] {
    width: auto;
    margin: 4px 10px 25px 0;
}

#modalCallback .btn-orange,
#modalDocs .btn-orange {
    width: 100%;
    margin-bottom: 15px;
}

.btn-orange,
.btn-orange:active {
    border: none;
    border-radius: 0;
    font-size: 16px;
    color: #fff;
    background: #f39744;
    text-transform: uppercase;
    padding: 10px 20px;
    transition: all .3s ease;
}

.btn-orange:hover,
.btn-orange:focus {
    background: #dddddd;
    color: #000;
}

.form-line input[type="tel"] {
    padding: 10px 15px;
    width: 48%;
    border: none;
    font-size: 16px;
    background: #f2f3f8;
    display: inline-block;
    float: right;
}

.form-line textarea {
    padding: 10px 15px;
    width: 100%;
    min-height: 100px;
    border: none;
    font-size: 16px;
    background: #f2f3f8;
    display: inline-block;
}

.form-line input[type="email"] {
    padding: 10px 15px;
    width: 48%;
    border: none;
    font-size: 16px;
    background: #f2f3f8;
    display: inline-block;
}

.form-line textarea:focus {
    padding: 8px 15px 8px 13px;
    border: 2px solid #f39744;
}

.form-line input:focus {
    padding: 8px 15px 8px 13px;
    border: 2px solid #f39744;
}

#contact-form .btn-orange {
    margin-left: 20px;
    position: relative;
    bottom: 3px;
}




@media screen and (max-width: 767px) {
    header {
        text-align: center;
    }

    .logo {
        float: none;
        width: 50px;
    }

    .desc {
        padding: 0;
        margin-top: 10px;
        font-size: 18px;
    }

    .header-contact {
        text-align: center;
    }

    .header-contact p {
        margin-bottom: 0;
    }

    .first-content {
        padding: 0;
        padding-bottom: 30px
    }

    .first-content h1 {
        font-size: 20px;
        line-height: 3rem;
        margin-top: 0
    }

    .btn-oragne {
        font-size: 14px;
        padding: 7px 12px;
        margin-top: 10px;
    }

    section.second {
        padding: 30px 0;
    }

    .item .item-set {
        padding: 0 10px;
        font-size: 14px;
    }

    footer {
        padding: 0;
    }

    .map {
        margin-top: 15px;
    }

    .footer_bottom p {
        margin-bottom: 0;
        text-align: center;
    }

    .footer_bottom .developer a {
        padding-left: 0;
        text-decoration: none;
        text-align: center;
        display: block;
        margin-top: 10px;
    }

#modalCallback .modal-content,
    #modalDocs .modal-content{
        width: auto;
    }
	
	#modalcalc .modal-content,#modalcalc .modal-dialog{
		width:100%;
		max-width: 300px;
	}
	#modalcalc .left-block{
		width:100%;
	}
	#modalcalc .right-block{
		width:100%;
	}
	#modalcalc .left-block .count{
		padding-top: 35px;
		width: 100%;
	}
	#modalcalc .left-block .count .title{
		font-size: 22px;
		padding-bottom: 15px;
	}
	#modalcalc .left-block .count .sum{
		font-size: 24px;
		padding-bottom: 25px;
	}
	#modalcalc .close{
		color: #fff;
		opacity: 0.8;
	}
}


#thnx{}
.modal-body.thnx{
	background:url(../img/thnx.png) no-repeat 50% 50%;
	background-size:cover;
}
#thnx .close{
	color: #fff;
	opacity: 0.8;
	position: absolute;
	right: 15px;
	top: 10px;
}
#thnx .logo{
	text-align: center;
}
#thnx .logo a{
	display:block;
	color:#fff;
	font-size: 20px;
}
#thnx .logo img{
	padding-bottom: 15px;
}
#thnx .h2-center{
	color: #fff;
	font-size: 36px;
	margin-top: 40px;
}
#thnx p{
	color: #fff;
	padding: 20px 0 80px;
	font-size: 20px;
}
