/* BASE SETTINGS */

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

* { box-sizing: border-box; }

body {
	background: #f5f5f5;
	margin: 0;
}

div img {
	max-width: 100%;
}

.div-sh {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	height: 500px;
	overflow-y: auto;
	padding: 12px;
	position: relative;
}

.div-sh2 {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	overflow-y: auto;
	padding: 12px;
	position: relative;
}

.div-sh3 {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	height: 100px;
	overflow-y: auto;
	padding: 12px;
	position: relative;
}

html, body, h1, h2, h3, div, span, input, textarea, table, td {
	font-family: 'Montserrat', sans-serif;
}

html, body, div, span, input, textarea, select {
	font-size: 12pt;
}

h1, h2, h3 {
	font-size: 1.6em;
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
}

/* Main settings */
section, header, footer { width: 100%; min-width: 1220px; padding: 0 20px; overflow: hidden; position: relative; }
.container { width: 1180px; overflow: hidden; margin: 0 auto; position: relative; }
.clear { clear: left; }

section h2, section h3 {
	text-align: center;
	font-size: 2.5em;
	text-transform: uppercase;
	margin: 0 0 30px 0;
	padding: 0px;
	font-weight: bold;
}

input {
	/*-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;*/
}

input:focus {
	outline: none;
} 

div img {
	max-width: 100%;
}

.white-shadow {
	text-shadow: 1px 1px 0 #fff;
}


.b-1,
.b-2,
.b-3,
.b-4,
.b-5,
.b-6,
.b-7,
.b-8,
.b-9,
.b-10,
.b-3f,
.b-4f,
.b-5f
{
	display: block;
	float: left;
	margin: 8px;
	position: relative;
}

.b-10 {
	width: calc(10% - 16px);
}
.b-9 {
	width: calc(11.11111111% - 16px);
}
.b-8 {
	width: calc(12.5% - 16px);
}
.b-7 {
	width: calc(14.28571428% - 16px);
}
.b-6 {
	width: calc(16.66666666% - 16px);
}
.b-5 {
	width: calc(20% - 16px);
}
.b-5f {
	width: calc(80% - 16px);
}
.b-4 {
	width: calc(25% - 16px);
}
.b-4f {
	width: calc(75% - 16px);
}
.b-3 {
	width: calc(33.33333333% - 16px);
}
.b-3f {
	width: calc(66.66666666% - 16px);
}
.b-2 {
	width: calc(50% - 16px);
}
.b-1 {
	width: calc(100% - 16px);
}

a:link {color: #006699; text-decoration: underline;}
a:visited {color: #006699; text-decoration: underline; }
a:active {color: #006699; text-decoration: underline;}
a:hover {color: #009999; text-decoration: none;}

a.clear:link {color: unset; text-decoration: none;}
a.clear:visited {color: unset; text-decoration: none; }
a.clear:active {color: unset; text-decoration: none;}
a.clear:hover {color: unset; text-decoration: none;}

p {
	line-height: 1.5;
}

input[type=text], textarea, input[type=password], select {
	width: 100%;
	border: 1px solid #c5c5c5;
	padding: 10px 14px;
	text-align: center;
	margin-bottom: 8px;
}

input[type=submit] {
	border: 0;
	padding: 20px 40px;
	cursor: pointer;
	transition: 0.5s;
	text-transform: uppercase;
	border-radius: 0px;
	font-family: 'Montserrat', sans-serif;
	background: #4CAF50;
	color: #fff;
}
input[type=submit]:hover {
	background: #2E7D32;
}

input:required {
    box-shadow:none;
}
input:invalid {
    box-shadow:0;
}

/*										END OF Main settings 										*/


/*										СТАНДАРТНЫЕ НАСТРОЙКИ										*/

.nopc {
	display: none;
}

@media screen and (max-width: 479px) {
	.nomobile {
		display: none;
	}
}

div.overlay {
  z-index: 99999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.75);
  display: none;
}

div.overlay .window {
  width: 600px;
  padding: 30px;
  margin: 0 auto;
  background: #fff;
  border-radius: 0px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

div.overlay .window h3 {
  padding: 0;
  margin: 0;
  margin-top: 20px;
  color: #111;
  font-size: 1.2em;
}
div.overlay .window p {
	color: #2b2b2b;
}
div.overlay .window .close {
	color: #999;
	text-shadow: 1px 1px 0 #111;
	position: absolute;
	top: 5px;
	right: 15px;
	font-size: 1.7em;
	transition: 0.5s;
	cursor: pointer;
}
div.overlay .window .close:hover {
	color: red;
	transition: 0.1s;
}

.stopanimate {
  animation-play-state: running;
}
.stopanimate:hover {
  animation-play-state: paused;
}


/* 										End of СТАНДАРТНЫЕ НАСТРОЙКИ 											*/