﻿@font-face {
  font-family: "OpenSans-SemiBold";
  src: url("../fonts/OpenSans-SemiBold.ttf");
}
@font-face {
	  font-family: "OpenSans-Regular";
	  src: url("../fonts/OpenSans-Regular.ttf");
	}
	.page-body {font-family: 'OpenSans-Regular',arial; font-size: 16px;}
	.linkbutt {display: inline-block; text-decoration: none; padding: 5px 5px 5px 16px; margin: 5px; border: 1px solid gray; border-radius: 6px; background-color: #F5F9FF; box-shadow: 1px 1px 1px rgb(164,187,187); font-family: Cambria; font-size: 16px; font-weight: bold; color: #525252;}
	.addbutt {background-image: url(../add.gif); background-position: 3px 50%; background-repeat: no-repeat;}
	.editbutt {background-image: url(../edit_icon10.gif); background-position: 3px 50%; background-repeat: no-repeat; width: 78px;}
	.showbutt {background-image: url(../show_ico.png); background-position: 3px 50%; background-repeat: no-repeat; width: 78px;}
	.delbutt {background-image: url(../delet.gif); background-position: 3px 50%; background-repeat: no-repeat; width: 78px;}
	.sendbutt {display: block; background-image: url(../send_sms.png); background-position: 3px 50%; background-repeat: no-repeat; width: 120px;}
	.backbutt {background-image: url(../left_ico.png); background-position: 3px 50%; background-repeat: no-repeat;}
	.linkbutt:hover {background-color:#fff;}
	.tbl1 {font-size: 16px; border: 1px solid #929292; border-radius: 4px;}
	.tbl1 td {border: 1px solid #929292; padding: 5px;}
	.tbl1 tr:nth-child(1) {background: #E4E1CF !important;}
	.tbl1 tr:nth-child(odd) {background: #ece9d8;}
	.tbl1 tr:nth-child(even) {background: #F9F6E4;}
	.err_text {color: #F10C0C;}
	.td_hide td:nth-child(1) {background: url(../hide_bg.png) 0 0 no-repeat;}
	.td_hide td:not(:first-child) {background: url(../hide_bg.png) 100% 0 no-repeat;}
	.phones {font-size: 16px; padding: 1px 10px 1px 10px;}/*,input[name=cod]*/
	.phones {width:280px;box-sizing: border-box;}
	/*input[name=cod] {width:82px;-moz-appearance:textfield;}
	input[name=cod]::-webkit-outer-spin-button, input[name=cod]::-webkit-inner-spin-button {/*hover arrows by numeric field*/*/
    /* display: none;  */
    -webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
	}

.form_contract p {
	margin: 10px 0px;
	text-align:justify;
	
}
.form_contract .fail_input, .form_contract .succ_input {
	font-size: 17px;
	}


.show {display:block;}
.hide {display: none;}



/*input[name=sms_anketa],input[name=sms_anketa_n], input#reset_ph {
	min-width: 95px;
	padding: 4px;
	margin-right: 10px;
	font-family: 'OpenSans-Regular',arial;
	font-size: 16px;
	color: #525252;
}
input[name=sms_anketa]:disabled {
	color: #BBBBBB;
}*/

.inp-pre-div {
	display: inline-block;
	position: relative;
}
input[name=tel]{ -webkit-text-size-adjust: none; justify-content: center; margin: 0;}
.inp-pre-div span {
	position: absolute;
	top: 3px;
	left: 10px;
	font-family: 'OpenSans-Regular',arial;
	margin: 0;
}

.noselect {
	font-size: 16px;
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
.c-div {
	padding: 10px; 
	border: 1px solid rgb(222,231,231); 
	border-radius: 1em 1em 1em 1em;  
	  -moz-border-radius: 1em 1em 1em 1em;
 	text-align:left; 
	margin: 10px 0;
}
.c-div div p {
	margin: 10px 0px 5px 0px;
	text-align:justify;
}
.c-div div select,.c-div div input {
	font-family: 'OpenSans-Regular',arial;
	font-size: 16px;
}
.obj_div {
	 padding: 10px 20px;
}
#add_obj {
	background-image: url(../add.gif);
	background-position-x:	5px;
	background-position-y: 10px;
	background-repeat: no-repeat;
}
.objdel {
	background-image: url(../delet.gif);
	background-position-x:	6px;
	background-position-y: 11px;
	background-repeat: no-repeat;
}
.dfail_input {
	display: inline-block;
	padding: 1px 6px;
	margin: 0 0 0 10px;
	border: 1px solid #FFDBDE;
	background-color: white;
	/*font-size: 19px;*/
	color: #F00;
	border-radius: 8px;
}
.dsucc_input {
	display: inline-block;
	padding: 1px 6px;
	margin: 0 0 0 10px;
	border: 1px solid #23A78E; /*#9AE6D8;*/
	background-color: white;
	/*font-size: 19px;*/
	color: #23A78E;
	border-radius: 8px;
}
.res_mes {
	text-align: center;
}
.res_bad {
	color: #F00;
}


@keyframes onAutofillStart { from {} to {} }
#bank_bic:-webkit-autofill {
    animation-name: onAutofillStart;
}

.input-error {
    background-color: #fce8e6 !important; /* Мягкий красный цвет */
    border-color: #a8201a !important;     /* Красная рамка */
    transition: background-color 0.3s ease; /* Плавный возврат цвета */
}
.radio_main {
	display: block;
	margin: 5px 0 5px 15px;
}