@-ms-viewport{width:device-width;}
*{
	margin:0;
	padding:0;
}
body,html {
	position:relative;
	border:0px solid red;
	width:100%;
	background:#D4D4D7;
	/*background-image: url('../images/fon.jpeg');
	background-position: center top;
	background-size: 100% 100%;*/
	margin: 0;
	padding: 0;
	z-index:0;
}

.flex_div {
	border: 0px solid red;
	display: -webkit-flex; 
	display: flex; 
	flex-direction: row;
	justify-content: space-between;
	padding:0px 0px 0px 0px;
	align-items: flex-start;
}
.flex_start {
	justify-content: flex-start;
	padding-bottom:0px;
}

.div_row{
	border:0px solid green;
	padding:5px;
}

/*--------------------------------------------------------------------------------------------*/
.poleform{
    font-size: 130%;
	color: #838383;
	border: 2px solid #9588A4;
	padding: 20px 15px;
	margin: 4px 0px;
	width:100%;
	text-align:left;
	background:#fff;
	box-sizing: border-box;
    border-radius: 10px;
	box-shadow: 0px 3px 3px #999;
}
.poleform:focus {
	color:#222222;
	border: 2px solid #FC347A;
   -webkit-box-shadow: 0px 0px 10px #FC347A;
   -moz-box-shadow: 0px 0px 10px #FC347A;
   box-shadow: 0px 0px 10px #FC347A;
}

/* Базовые стили модального окна + stantsii metro */
.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 400;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.overlay:target {
    visibility: visible;
    opacity: 0.95;
}
.popup_m {
    background-color:#FFF;
    border: 0px solid rgba(0, 0, 0, 0.3);
    display: none;
	overflow: auto;
	width:50%;
    opacity: 0;
    padding:10px;
    margin: 0px auto;
    text-align: left;
    visibility: hidden;
	color:#777;
	position: fixed;
    z-index: 400;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;

    -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.2) inset;
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.2) inset;
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.2) inset;
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.2) inset;
}
.overlay:target+.popup_m {
	position: fixed;
    top: 20%;
	left:25%;
	width:50%;
	display: inline-block;
    opacity: 1;
    visibility: visible;
}
.close {
    background-color: rgba(0, 12, 52, 0.8);
    height: 30px;
    line-height: 30px;
    position: absolute;
    text-align: center;
    text-decoration: none;
    top: 10px;
	right: 10px;
    width: 30px;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-size: 24px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}
.close:hover {
    background-color: rgba(255, 0, 0, 0.8);
}
.txt_alert_popup{
	position:relative;
	border:0px solid red;
	text-align:center;
	padding:10px 10px 100px 10px;
	height:80%;
	overflow:auto;
	color:red;
}
.popup_close{
	border:0px solid red;
	position: absolute;
	overflow:auto;
    text-align: center;
    text-decoration: none;
    bottom: 10px;
	left: calc(50% - 100px);
    width: 200px;
	padding:0px 20px;
}


/*  ------------- knopki --------------- */
.button {
    text-decoration: none;
    line-height: 1;
	cursor:pointer;
	border: 0px solid #D8D8D8;
	/*width:calc(100% - 30px);*/
	width:100%;
	padding: 15px 15px;
	margin: 15px auto;
	box-shadow: 0px 4px 5px #777;
	text-align:center;

	-webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}
.button:hover {
	box-shadow: 1px 2px 2px #bbb;
}
.popup .button{
	width:100%;
}
.big,.def,.min{
	text-align:center;
	cursor:pointer;
}
.big {
font-size:20px;
font-weight:500;
padding: 20px 15px;
}
.def {
font-size:16px;
font-weight:300;
}
.smol {
font-size:12px;
padding:7px 5px;
margin: 5px auto;
border-radius: 4px;
}
.min {
font-size:14px;
padding:5px 5px;
margin: 5px auto;
border-radius: 4px;
}

.transp {
background: transparent;
color:#000;
}
.white {
border: 1px solid #ccc;
background:#fff;
color:#000;
}
.white:hover {
background: #fff;
}
.yellow {
background:#EDCA46;
color:#010100;
}
.black {
background: linear-gradient(to top, #000,#777);
color:#fff;
}
.black:hover {
background: linear-gradient(to top, #777,#000);
}
.blue {
background:#59E3E9;
color:#000;
}
.blue:hover {
background:#00FFFF;
}
.green {
background:#11CB72;
color:#fff;
}
.green:hover {
background:#11CB72;
}
.red {
background:red;
color:#fff;
}
.red:hover {
background:red;
}


.float_right{float:right;}
.float_left{float:left;}

.text_center{text-align:center;}
.text_left{text-align:left;}
.text_right{text-align:right;}
.text_justify{text-align:justify;}

.font_s{font-size:10px;padding:5px;}
.font_d{font-size:14px;padding:5px;}
.font_n{font-size:16px;padding:5px;}
.font_b{font-size:24px;padding:15px;}

.width_1{width:1%;}
.width_1_5{width:1.5%;}
.width_2{width:2%;}
.width_3{width:3%;}
.width_4{width:4%;}
.width_5{width:5%;}
.width_6{width:6%;}
.width_7{width:7%;}
.width_8{width:8%;}
.width_10{width:10%;}
.width_10_5{width:10.5%;}
.width_15{width:15%;}
.width_15_5{width:15.5%;}
.width_16{width:16%;}
.width_17{width:17%;}
.width_20{width:20%;}
.width_21{width:21%;}
.width_22{width:22%;}
.width_23{width:23%;}
.width_24{width:24%;}
.width_25{width:25%;}
.width_27{width:27%;}
.width_29{width:29%;}
.width_30{width:30%;}
.width_33{width:33%;}
.width_35{width:35%;}
.width_40{width:40%;}
.width_45{width:45%;}
.width_50{width:50%;}
.width_55{width:55%;}
.width_60{width:60%;}
.width_65{width:65%;}
.width_70{width:70%;}
.width_72{width:72%;}
.width_73{width:73%;}
.width_75{width:75%;}
.width_77{width:77%;}
.width_80{width:80%;}
.width_85{width:85%;}
.width_90{width:90%;}
.width_95{width:95%;}
.width_100{width:100%;}
