/*******modal**********/


.noneModal {
	display:none;
}

.fadeOpenModal {
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.4);
}

.styleFade {
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.6);
}

.styleModalFix {
	position:fixed;
	width:100%;
	height:100%;
	top:0px;
	left:0px;
	display:none;
	z-index:9999;
	overflow: auto;
}

.styleModalWrap {
	display: table;
    height: 100%;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.styleModalIn {
	display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.styleModalIn > * {
	display:inline-block;
}

.g-recaptchaWrap > div {
	margin:0 auto;
}

.styleModalPage {
	background: #fff;
	position: relative;
	z-index: 4;
	width: 100%;
	max-width: 545px;
	box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
	margin: 50px 0;
	border: 2px solid #3b83d4;
}

.styleModalPage, .styleModalWrap {
	 max-width: 600px;
	 min-width:600px;
}
#messages .styleModalPage, #messages .styleModalWrap {
	 max-width: 500px;
	 min-width:500px;
}

#modal_cart .styleModalPage, #modal_cart .styleModalWrap {
	max-width:70%;
	min-width:0px;
	box-sizing:border-box;
	padding:0 15px;
}



.styleModalPage .buttonblock {
	margin-top:12px;
}


.styleClose {
	display: block;
    position: absolute;
    top: -35px;
    right: 0px;
    width: 25px;
    height: 25px;
    background: transparent url(../images/close.png) center center no-repeat;
    font-size: 0px;
    cursor: pointer;
}

.styleModalHead {
   padding: 40px 10px 0px;
   font-family: "Raleway";
   font-size: 20px;
   color: #222222;
   font-weight: bold;
   text-transform: uppercase;
}

#tableSize .styleModalHead {
	padding-top:0px;
}

.styleModalBody {
	padding: 25px 40px 40px 40px;
}

.styleModalBody li, .styleModalBody.oki span, .styleModalBody.oki {
	list-style-type: none;
}

.styleModalBody.oki span { 
	display:block;
	text-align:center;
}

body.overflow {
	overflow: hidden;
}

body.noscroll .section {
	padding-right: 17px;
}

.jsModalPage .forms {
	max-width: 410px;
    width: 100%;
    margin: 0 auto;
}

.jsModalPage .forms input, .jsModalPage .forms textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 15px 10px;
	border: solid 1px #e4e4e4;
	outline: none;
	border-radius: 3px;
}

.fieldModal:not(:last-child) {
    margin-bottom: 15px;
}

.jsModalPage .forms input.error, .jsModalPage .forms textarea.error {
	text-align:left;
}

.jsModalPage .forms textarea {
	height: 136px;
}

.jsModalPage .forms input:focus, .jsModalPage .forms textarea:focus, .jsModalPage .forms input.error, .jsModalPage .forms textarea.error {
	border-color:#ffd200;
	
}
.jsModalPage .forms .g-recaptcha {
	margin-bottom: 18px;
}
.buttonblock button {
	background:#DD2E23;
	height: 53px;
    font: 20px/50px "Roboto", sans-serif;
	display:inline-block;
	color:#000;
	border-width:0px;
	box-sizing:border-box;
	cursor:pointer;
	width:100%;
	transition:all 0.2s;
	-webkit-transition:all 0.2s;
	color:#fff;
	cursor:pointer;
}

.buttonblock button:hover {
	background:#C42A1F;
}

.butModalLogin {
    box-sizing: border-box;
}

.butModalLogin a {
    color: #777777;
    font-size: 14px;
    font-weight: 300;
}

.butModalLogin a:not(:last-child) {
    margin-right: 12px;
}
/*******end_modal**********/