/*
Theme name: jogoriogems_club
Description: Jogo Rio Gems
Author: RioGems
Version: 987.00
*/


:root {
	--white: #fff;
	--black: #170203;
	--blue: #0647eb;
	--red: #ed3833;
	--bot: #2f0c37;
}



*, *::before, *::after {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
html {
	font-size: 20px;
}
body {
	background: var(--white);
	color: var(--black);
	font: 0.8rem/1.5 Arial, sans-serif;
}
.wrapper,
body.nav-active {
	overflow: hidden;
}
.box {
	width: 100%;
	min-width: 320px;
	position: relative;
}
.container {
	width: 100%;
	min-width: 320px;
	max-width: 1020px;
	padding-left: 1rem;
	padding-right: 1rem;
	margin: 0 auto;
	position: relative;
	border-top: 0 solid transparent;
}
.container::after {
	content: '';
	display: block;
	clear: both;
	width: 100%;
	height: 0;
}
.flx {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}


a {
	color: var(--red);
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}

input, 
textarea, 
select,
button {
	font-family: Arial, sans-serif;
}
input.error {
	color: #f00 !important;
	border: 1px solid #f00 !important;
}
input.valid {
	border: 1px solid #339e36 !important;
}
input:focus {
	color: var(--black);
}
input::-webkit-input-placeholder {
	color: var(--black);
}
input::-moz-placeholder {
	color: var(--black);
}
input:-moz-placeholder {
	color: var(--black);
}
input:-ms-input-placeholder {
	color: var(--black);
}






.text {
	overflow: hidden;
}
.text p {
	margin-bottom: 1.5rem;
}
.text h2, 
.text h3, 
.text h4, 
.text h5 {
	margin-bottom: 1.2rem;
	color: #000;
	font-size: 1.5rem;
	line-height: 1.3rem;
}
.text h3 {
	font-size: 1.2rem;
}
.text h4, .text h5 {
	font-size: 1rem;
}
.text table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
}
.text table tr td {
	border: 1px solid var(--black);
	padding: 10px;
	margin-bottom: 1.2rem;
}
.text ul, .text ol {
	margin: 0 0 1rem 1.2rem;
}
.text li {
	margin-bottom: 8px;
}
.text img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}


.button {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	min-width: 120px;
	min-height: 52px;
	padding: 8px 20px;
	border-radius: 5px;
	background: var(--red);
	border: 2px solid var(--red);
	color: var(--white);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: all .4s ease;
}
.button:hover {
	background: var(--white);
	color: var(--red);
}





.alignleft {display: inline;float: left;margin: 5px 15px 5px 0;}
.alignright {display: inline;float: right;margin: 5px 0 5px 15px;}
.aligncenter {clear: both;display: block;margin: 5px auto 25px;text-align: center;}
.aligncenter img {
	display: inline-block;
}



	/* Header ----------------------------------------------------------------------------- */
.header {
	padding-top: 1rem;
	padding-bottom: 1rem;
	background: var(--white);
	box-shadow: 0 0 8px rgba(0, 0, 0, .1);
}
.header .container {
	align-items: center;
}
.header__logo {
	display: block;
	width: 145px;
	height: 60px;
	background: url('i/logo.png') center no-repeat;
	-webkit-background-size: contain;
	background-size: contain;
	font-size: 0;
}

.header__nav-btn {
	display: none;
	width: 30px;
	height: 30px;
	border: none;
	background: transparent;
	outline: none;
	cursor: pointer;
}
.header__nav-btn span {
	display: inline-block;
	vertical-align: top;
	width: 100%;
	height: 3px;
	border-radius: 3px;
	background: var(--red);
	margin: 7px 0 0;
	position: relative;
}
.header__nav-btn span::before, 
.header__nav-btn span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 3px;
	border-radius: 3px;
	background: var(--red);
	transition: all 0.4s ease;
}
.header__nav-btn span::before {
	top: -7px;
}
.header__nav-btn span::after {
	bottom: -7px;
}
.nav-active .header__nav-btn span {
	background: transparent;
}
.nav-active .header__nav-btn span::before {
	top: 0;
	-webkit-transform: rotate(45deg);
}
.nav-active .header__nav-btn span::after {
	bottom: 0;
	-webkit-transform: rotate(-45deg);
}

.header__nav {
	margin-left: auto;
}
.header__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	flex: 1;
	gap: 1rem;
	list-style: none;
}
.header__nav ul li {
	position: relative;
}
.header__nav ul li.menu-item-has-children {
	padding-bottom: 10px;
	margin-bottom: -10px;
}
.header__nav ul li a {
	display: block;
	color: var(--red);
	font-size: 18px;
	line-height: 1.3;
	text-decoration: none;
	transition: all .3s ease;
}
.header__nav ul li a:hover {
	color: var(--blue);
}
.header__nav .sub-menu {
	position: absolute;
	top: 20px;
	left: -20px;
	width: 170px;
	padding: 8px;
	background: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, .1);
	border-radius: 5px;
	opacity: 0;
	pointer-events: none;
	transition: all .3s ease;
}
.header__nav li:hover .sub-menu {
	top: 32px;
	opacity: 1;
	pointer-events: auto;
}

.header__button {
	margin-left: 1.5rem;
}








.charact {
	width: 100%;
	max-width: 840px;
	border-top: 1px solid rgba(0, 0, 0, .1);
	padding-bottom: 32px;
}
.charact-item {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	padding: 12px 8px;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.charact-item:nth-child(even) {
	background: rgba(0, 0, 0, .01);
}
.charact-item__icon {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 24px;
	margin-right: 12px;
}
.charact-item__icon img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	margin-bottom: 0;
}
.charact-item__label {
	width: calc(35% - 20px);
	font-size: 16px;
	line-height: 1.4;
}
.charact-item__value {
	width: calc(64% - 20px);
	font-size: 18px;
	font-weight: bold;
	line-height: 1.2;
}


@media screen and (max-width:900px) {
	.charact-item__icon {
		width: 20px;
		height: 20px;
		margin-right: 8px;
	}
	.charact-item__label {
		width: calc(42% - 8px);
	}
	.charact-item__value {
		width: calc(58% - 20px);
	}
}





/* Middle ----------------------------------------------------------------------------- */
.content {
	padding-top: 1.2rem;
	padding-bottom: 4rem;
}
.head {
	margin-bottom: 1.5rem;
	font-size: 40px;
	font-weight: bold;
	line-height: 1.3;
}






.page-demo {
	padding-top: 24px;
	padding-bottom: 40px;
	background: linear-gradient(45deg,  rgba(30,87,153,1) 0%,rgba(67,48,140,1) 18%,rgba(67,48,140,1) 18%,rgba(125,185,232,1) 48%,rgba(125,185,232,1) 48%,rgba(211,73,48,1) 77%,rgba(91,186,47,1) 100%);
}
.page-demo__box {
	display: block;
	width: 100%;
	position: relative;
}
.page-demo__box-ins {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding-top: 48%;
	border: 2px solid var(--white);
	border-radius: 4px;
	background: rgba(255, 255, 255, .3);
	position: relative;
}
.page-demo__box-ins iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.page-demo__button-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 24px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}







.faq {
	padding-top: 32px;
	padding-bottom: 32px;
	background: rgba(0, 0, 0, .01);
}
.faq-item {
	box-shadow: 0 0 16px rgba(0, 0, 0, .05);
	background: var(--white);
	border-radius: 8px;
	position: relative;
	margin-bottom: 16px;
}
.faq-item__head {
	padding: 16px 44px 16px 20px;
	position: relative;
	font-size: 20px;
	line-height: 1.3;
	cursor: pointer;
}
.faq-item__head::before {
	content: '';
	position: absolute;
	top: calc(50% - 5px);
	right: 20px;
	width: 20px;
	height: 10px;
	background: rgba(0, 0, 0, .7);
	-webkit-mask: url('i/bg-icon-arrow.svg') center no-repeat;
	mask: url('i/bg-icon-arrow.svg') center no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: all .3s ease;
	transform: rotate(90deg);
}
.faq-item.active .faq-item__head::before {
	transform: rotate(-90deg);
}
.faq-item__body {
	max-height: 0;
	overflow: hidden;
	transition: all .3s ease;
}
.faq-item.active .faq-item__body {
	max-height: 8000px;
}
.faq-item__text {
	padding: 8px 20px;
}







.author-info {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	border-radius: 16px 0 16px 0;
	padding: 20px;
	border: 2px solid var(--blue);
}
.author-info__photo {
	width: 150px;
	height: 150px;
	overflow: hidden;
	border-radius: 12px 0 0 0;
}
.author-info__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.author-info__box {
	width: calc(100% - 180px);
}
.author-info__title {
	margin-bottom: 16px;
	font-size: 24px;
	line-height: 1.3;
}
.author-info__details {
	font-size: 18px;
}




.author-profile {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	padding-bottom: 2rem;
}
.author-profile__photo {
	width: 200px;
	height: 200px;
}
.author-profile__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.author-profile__info {
	width: calc(100% - 230px);
}
.author-profile__info h1 {
	margin-bottom: 0.8rem;
}

.author-posts-list {
	padding-bottom: 1rem;
	border-bottom: 2px solid rgba(0, 0, 0, .3);
	margin-bottom: 1.2rem;
}



@media screen and (max-width:750px) {

	.author-profile__photo {
		width: 200px;
		height: 160px;
		margin: 0 auto 1rem;
	}
	.author-profile__info {
		width: 100%;
	}

}










/* Footer ----------------------------------------------------------------------------- */
.footer {
	padding-top: 1rem;
	padding-bottom: 0.5rem;
	background: var(--black);
	color: var(--white);
}
.footer-top {
	padding-bottom: 1rem;
}
.footer-top .container {
	align-items: center;
}
.footer__logo {
	display: block;
	width: 125px;
	height: 50px;
	background: url('i/logo.png') center no-repeat;
	-webkit-background-size: contain;
	background-size: contain;
	font-size: 0;
}
.footer__nav {
	max-width: calc(100% - 240px);
}
.footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	list-style: none;
	gap: 0.8rem;
}
.footer__nav ul li {
	position: relative;
}
.footer__nav ul li a {
	display: block;
	color: var(--white);
	font-size: 16px;
	line-height: 1.3;
	text-decoration: none;
}
.footer__nav ul li a:hover {
	text-decoration: underline;
}


.footer-middle {
	padding-top: 40px;
	padding-bottom: 40px;
	border-top: 1px solid rgba(255, 255, 255, .2);
	border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.footer-response {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 0.5rem;
}
.footer-responsible__item {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	width: 15%;
	height: 64px;
}
.footer-responsible__item img {
	display: block;
	max-width: 96%;
	max-height: 96%;
}


.footer-warning {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	padding-top: 32px;
}
.footer-warning__col {
	width: 49%;
	font-size: 14px;
	line-height: 1.3;
}


.footer-bottom {
	padding-top: 20px;
}
.footer__copyright {
	font-size: 14px;
	line-height: 1.2;
}





/* Всплывающие окна */
.overlay {
	display: none;
	background-color: #000;
	opacity: .7;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 999
}
.overlay.active {
	display: block;
}

.popup {
	display: none;
	position: relative;
	width: 100%;
	max-width: 400px;
	padding: 25px;
	background: #fff;
	text-align: center;
	z-index: 9999;
}
.popup__close {
	width: 24px;
	height: 24px;
	-webkit-border-radius: 100%;
		  border-radius: 100%;
	position: absolute;
	background: #000;
	color: #FFF;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
	border: 1px solid #363636;
	top: -11px;
	right: -11px;
	cursor: pointer;
}
.popup__close:hover {
	background: #FFF;
	color: #000;
}
.popup__title {
	margin-bottom: 5px;
	font-size: 30px;
	font-weight: 300;
	line-height: 34px;
	color: #000;
}
.popup__subtitle {
	margin-bottom: 20px;
	font-size: 13px;
	line-height: 21px;
	text-align: center;
	color: #000;
}
.popup__label {
	position: relative;
}
.popup__body input,
.popup__body textarea {
	width: 100%;
	height: 40px;
	margin-top: 12px;
	padding-left: 12px;
	border: 1px solid #eee;
	background-color: #FFF;
	outline: none;
}
.popup-body textarea {
	height: 120px;
	resize: none;
	padding-top: 5px;
}
.popup-body input[type="submit"] {
	height: 46px;
	padding-left: 0;
	background-color: #FC0;
	border: 1px solid #FC0;
	color: #000;
	font-size: 17px;
	font-weight: bold;
	line-height: 44px;
	cursor: pointer;
}



/* Форма */


input.hide_input {
	display: none;
}
span.wpcf7-not-valid-tip, div.wpcf7-validation-errors {
	display: none !important;
}
.popup-body input.wpcf7-not-valid {
	border: 1px solid #c00;
}

.popup-thy {
	position: fixed;
	top: calc(50% - 160px);
	left: calc(50% - 200px);
}




/* ==============================================================
   ========================  MEDIA  =============================
   ============================================================== */
@media screen and (max-width:900px) {

	.header__nav {
		position: absolute;
		top: 0;
		right: 20px;
		opacity: 0;
		pointer-events: none;
		transition: all .3s ease;
	}
	.nav-active .header__nav {
		top: 56px;
		opacity: 1;
		pointer-events: auto;
	}
	.header__nav ul {
		display: block;
		background: var(--white);
		padding: 8px;
		border-radius: 4px;
		box-shadow: 0 0 8px rgba(0, 0, 0, .2);
	}

	.header__button {
		margin-left: auto;
		margin-right: 24px;
	}

	.header__nav-btn {
		display: block;
	}
	

}












@media screen and (max-width:750px) {

	html {
		font-size: 18px;
	}

}












@media screen and (max-width:600px) {

	.head {
		margin-bottom: 1.5rem;
		font-size: 32px;
	}


	.footer__logo {
		margin: 0 auto 24px;
	}

	.footer__nav {
		max-width: 100%;
		width: 100%;
	}
	.footer__nav ul {
		justify-content: center;
	}

}












@media screen and (max-width:450px) {

	.head {
		margin-bottom: 1.4rem;
		font-size: 25px;
		line-height: 1.2;
	}


	.footer-responsible__item {
		width: 25%;
		height: 48px;
	}

	.footer-warning {
		gap: 12px;
		padding-top: 20px;
	}
	.footer-warning__col {
		width: 100%;
	}

}












/* END ============================================================= */

