body {font-family: 'Roboto', sans-serif;}
h1, h2, h3, h4 {font-family: 'Merriweather', sans-serif;}
* {-webkit-box-sizing: border-box; box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none;}
button:focus {outline: none;}button::-moz-focus-inner {border: 0;}
label:hover{cursor: pointer;  color: #7a8291 !important;}
label:hover .jq-checkbox{background: #3484f2; border-color: #3484f2;}
input,textarea {-webkit-appearance: none;-moz-appearance: none;appearance: none;}
img {height: auto; width: auto; max-width: 100%;display: block;}
::-ms-clear, ::-ms-reveal {display: none;}
::placeholder{white-space:nowrap;}
button, input[type="button"], input[type="reset"], input[type="submit"] {-webkit-appearance: button;cursor: pointer;}

html {height: 100%;}

body {
	min-height: 100%;
	position: relative;
	color: #272727;
	font-size: 16px;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: auto;
}

a:link,
a:visited{
	color: #272727;
	text-decoration: none;
}

a:hover {
	color: #272727;
}

p {
    line-height: 22px;
    margin: 0 0 10px 0;
}

p:last-child {
    margin: 0;
}


/* Анимация */
.wrapper {
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.wrapper.load {
	opacity: 0;
	visibility: hidden;
}


/* Всплывающие окна */
.pp{
	overflow: hidden;
}

.moirdiv {
	color: #333;
    padding: 0;
	background: rgb(27,98,153,.8);
	height: 100% !important;
	left: 0;
	overflow: auto;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 99999;
	opacity: 0;
	visibility: hidden;
}

.moirdiv.active {
	opacity: 1;
	visibility: visible;
	display: block;
}

.moirdiv:before {
    display: none;
}

.moirdiv .icon_close {
	z-index: 21;
	padding: 20px;
}

.wp-content {
	top: 100px;
	height: 100%;
	overflow: auto;
	position: fixed;
	width: 100%;
	z-index: 99999;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-overflow-scrolling: touch;
}

.moirdiv.active .wp-content {
	top: 0;
}

.wp-content #wpopup {
    margin: 10px;
}

#wpopup {
    z-index: 21;
	border-radius: 16px;
}

.moirdiv .wp-content #wpopup {
    box-shadow: 0 20px 50px #00000000;
    padding: 80px;
	font-size: 16px;
}

.moirdiv .wp-content #wpopup > div {
    width: 100%;
}

.moirdiv .wp-content #wpopup > div img{
    margin: 30px auto;
}

.moirdiv p {
	margin: 0 auto 20px auto;
	text-align: left;
}

.moirdiv p.title {
	font-weight: bold;
	font-size: 20px;
}

.moirdiv .modal-alarm {
    font-size: 35px;
    font-weight: bold;
	margin-bottom: 30px;
	line-height: normal;
}

.moirdiv .modal-footer {
	padding-top: 20px;
    margin-top: 20px;
    display: flex;
    grid-gap: 20px;
}

.moirdiv .btn {
	width: 100%;
	padding: 15px;
	text-align: center;
}


/* Основные стили */
.mainpage {
	background: url('../images/main-bg.jpg') repeat fixed center center;
}

.wrapper {
	background-image: url('../images/main-bg.png');
	background-repeat: no-repeat;
	background-position: center 100px;
	background-size: contain;
}

.mainpage header {
	background: #4B4B4B;
	box-shadow: 0 0 20px #00000050;
}

.mainpage nav {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.mainpage nav li {
	width: 100%;
	text-align: center;
	list-style: none;
	border-left: 1px solid #686868;
}

.mainpage nav li a {
	padding: 20px 0;
	display: inline-block;
	width: 100%;
	font-size: 20px;
	color: #fff;
}

.mainpage nav li.active {
	background: #64C4DA !important;
}

.mainpage nav li:last-child {
	border-right: 1px solid #686868;
}

.logo {
	margin: 100px 0;
}

.quote {
	display: inline-block;
	position: relative;
	background-color: white;
	border-radius: 20px 0 0 20px;
	padding-left: 15px;
	margin-top: 40px;
	box-shadow: 30px 10px 100px #C8B08D;
}

.quote::before {
	position: absolute;
	top: 0;
	bottom: 0;
	right: -75px;
	width: 155px;
	background-color: white;
	border-radius: 20px;
	content: '';
	transform: skewX(-20deg);
}

.portrait {
	position: relative;
	top: -100px;
	text-align: center;
}

.portrait img {
	margin: 0 auto;
	position: absolute;
}

.quote-text {

}

.quote-text h2 {
	white-space: normal;
	word-wrap: break-word;
	hyphens: none;
	font-size: 34px;
	text-transform: uppercase;
	margin: 0px;
	padding: 40px 0 20px;
	line-height: 45px;
	color: #272727;
}

.quote-text span {
	font-family: 'Merriweather', sans-serif;
	font-size: 20px;
	text-transform: uppercase;
	margin: 0px;
	padding: 0px 0 40px;
	display: inline-block;
}

.partners {
	margin-top: 80px;
}

.partners h2 {
	font-size: 40px;
	text-transform: uppercase;
	margin: 0 0 40px 0;
	color: #272727;
}

.partners .white-bg {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0px 10px 20px #C8B08D;
	padding: 20px;
}

.partners .white-bg span {
	font-size: 20px;
	line-height: 30px;
	display: inline-block;
	padding: 20px 0;
}

.map {
	margin-top: 80px;
	margin-bottom: 40px;
}

.map h2 {
	font-size: 40px;
	text-transform: uppercase;
	margin: 0 0 40px 0;
	color: #272727;
	width: 550px;
	position: absolute;
}

.map h2 span {
	display: block;
	font-weight: bold;
	font-size: 50px;
}

.color-white {
	background: #fff;
	margin-bottom: 40px;
}

.juri::before {
	background-image: url('../images/white-bg-top.png');
	background-repeat: repeat-x;
	background-position: center top;
	content: "";
	top: -40px;
	position: relative;
	display: list-item;
	height: 40px;
}

.juri::after {
	background-image: url('../images/white-bg-bottom.png');
	background-repeat: repeat-x;
	background-position: center top;
	content: "";
	bottom: -80px;
	position: relative;
	display: list-item;
	height: 40px;
}

.juri {
	padding: 0 0 40px 0;
}

.juri hr {
	margin: 40px 0 0 0;
	border-color: #CDCDCD;
}

.juri h2 {
	font-size: 40px;
	text-transform: uppercase;
	margin: 40px 0 40px 0;
	text-align: center;
}

.juri .predsedatel h3 {
	font-size: 30px;
	margin: 40px 0 20px 0;
}

.juri img {
	border-radius: 50%;
	width: 100%;
}

.juri ul {
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.juri ul li {
	margin: 0;
	padding: 0 40px;
	text-align: center;
	width: 20%;
}

.juri ul li h3 {
	font-size: 18px;
	padding: 20px 0 40px;
}

.winners {
	padding: 40px 0;
}

.winners h2 {
	font-size: 40px;
	text-transform: uppercase;
	margin: 0 0 40px 0;
	color: #272727;
	text-align: center;
}

.winners .white-bg {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0px 10px 20px #C8B08D;
	padding: 20px;
}

.winners .winners-book h3 {
	font-size: 30px;
	text-transform: uppercase;
	margin: 0 0 20px 0;
	color: #272727;
	text-align: center;
}

.winners .winners-book img {
	box-shadow: 0px 10px 20px #C8B08D;
	border-radius: 5px;
}

.winners .winners-book h4 {
	font-size: 25px;
	text-transform: uppercase;
	margin: 20px 0 10px;
	color: #272727;
	text-align: center;
}

.winners .winners-book span {
	font-size: 20px;
	margin: 0 0 40px 0;
	color: #272727;
	text-align: center;
	display: inline-block;
	width: 100%;
	font-family: 'Merriweather', sans-serif;
}

.winners .winners-priz h3 {
	font-size: 20px;
	margin: 0 0 20px 0;
	text-align: left;
}

.winners .winners-priz h4 {
	font-size: 25px;
	margin: 10px 0 20px 0;
	text-align: left;
}



footer {
	padding: 10px 0 40px;
	color: #C8B08D;
}

/* Медиа */

@media screen and (min-width: 1200px) {
	.wrapper-item_ .item p.title{font-size: 22px;}
	.wrapper-item h2{font-size: 40px;}
	header .top span {font-size: 45px;}
}

@media screen and (max-width: 900px) {	
	.wrapper-item_ .item {width: 32%;}
}

@media screen and (max-width: 600px) {
	h1, h2, h3, h4, a, label, .title {-webkit-hyphens: none;-ms-hyphens: none;hyphens: none;}
	a.btn, .btn {width: 100%;}
	.wrapper-item_ {margin: 0;}
	.wrapper-item_ .item {width: 49%;margin: 0 0 30px 0;}
	footer .container {flex-direction: column;}
	footer span {display: block;}
	.moirdiv .wp-content #wpopup {padding: 60px 40px;}
	.moirdiv .modal-footer {flex-direction: column;}
	.logo {
		margin: 50px 0;
	}
	.quote {
		padding: 0 20px;
		margin-top: 0;
		border-radius: 20px;
	}
	.quote::before {
		display: none;
	}
	.portrait {
		position: relative;
		top: 0;
	}
	.portrait img {
		position: relative;
		padding-top: 20px;
	}
	.quote-text h2 {
		white-space: normal;
		text-transform: none;
		word-wrap: break-word;
		hyphens: none;
		text-align: center;
		font-size: 20px;
		padding: 20px 0;
		line-height: 30px;
	}
	.quote-text span {
		text-align: center;
		display: block;
		padding: 0 0 20px;
	}
	.partners {
		margin-top: 50px;
		margin-bottom: 40px;
		z-index: 999;
		position: relative;
	}
	.partners h2 {
		font-size: 25px;
	}
	.partners .white-bg {
		text-align: center;
		padding: 20px 40px;
		margin-bottom: 20px;
	}
	.partners .white-bg span {
		font-size: 16px;
		line-height: 20px;
		padding: 10px 0;
	}
	.map {
		display: none;
	}
	.juri {
		padding: 0 0 40px 0;
		overflow: hidden;
	}
	.juri h2 {
		font-size: 25px;
		margin: 40px 0;
	}
	.juri img {
		border-radius: 50%;
		width: 100%;
		padding: 0 40px;
	}
	.juri .predsedatel h3 {
		font-size: 20px;
		text-align: center;
	}
	.juri .predsedatel p {
		font-size: 18px;
		margin: 20px 0 0;
		text-align: center;
		padding: 0 20px;
	}
	.juri hr {
		margin: 40px 0 0 0;
		border-color: #CDCDCD;
	}
	.juri ul {
		flex-direction: column;
	}
	.juri ul li {
		margin: 0;
		padding: 0 40px;
		text-align: center;
		width: 100%;
	}
	.winners {
		padding: 20px 0;
	}
	.winners h2 {
		font-size: 30px;
		margin: 0 0 40px 0;
	}
	.winners .winners-book h3 {
		font-size: 30px;
	}
	.winners .white-bg {
		margin-bottom: 20px;
		text-align: center;
	}
	.winners .white-bg img {
		margin: 0 auto;
	}
	.winners .winners-priz h4 {
		text-align: center;
	}
	.winners .winners-priz h3 {
		text-align: center;
	}
	footer {
		font-size: 15px;
	}
}

@media screen and (max-width: 400px) {	
	.wrapper-item_ .item {width: 100%;}
	header .top, header .top > div {
		-webkit-justify-content: center;
		justify-content: center;
		grid-gap: 20px;
		text-align: center;
		flex-direction: column;
	}
}