/*!
Theme Name: Casino Library
Text Domain: casino-library

*/

* {
	box-sizing: border-box;
}

body {
	font-family: "Cabin";
	font-size: 16px;
	line-height: 1.4;
	color: #594A4E;
}

.container,
.alignwide {
	width: 90vw;
	max-width: 1280px;
	margin: 0 auto;
}

img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin-top: 0;
	margin-bottom: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {	
	font-family: "BioRhyme";
	font-weight: 700;
	color: #33272A;
}

h1 {
	margin-top: 20px;
	font-size: 28px;
}

h2 {
	margin-top: 40px;
	font-size: 24px;
}

h3 {
	font-size: 20px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}

h6 {
	font-size: 14px;
}

h3,
h4 {
	margin-top: 20px;
}

h5,
h6 {
	margin-top: 0;
}

h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 15px;
}

main {
	padding-bottom: 40px;
}

main ul {
	list-style-type: none;
	margin: 20px 0;
	padding-left: 10px;
}

main ul li {
	margin-bottom: 20px;
	padding-left: 15px;
	position: relative;
}

main ul li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 6px;
	height: 6px;
	border-radius: 100%;
	background-color: #FF8BA7;
}

main ol {
	list-style-type: none;
	counter-reset: myCounter;
	margin: 20px 0;
	padding-left: 10px;
}

main ol li {
	margin-bottom: 20px;
	padding-left: 15px;
}

main ol li:before {
	counter-increment: myCounter;
  content: counter(myCounter) '. ';
  position: relative;
  left: 0;
  display: inline-block;
  color: #FF8BA7;
  margin-right: 5px;
}

main p a,
main ul a,
main ol a {
	color: #FF8BA7;
	text-decoration: underline;
}

@media (min-width: 720px) {
	body {
		font-size: 18px;
	}

	h2,
	h3,
	h4,
	h5,
	h6 {
		margin-bottom: 20px;
	}

	h1 {
		max-width: 840px;
		font-size: 36px;
	}

	h2 {
		margin-top: 60px;
		margin-bottom: 26px;
		font-size: 28px;
	}

	h3 {
		font-size: 24px;
	}

	h4 {
		font-size: 20px;
	}

	h5 {
		font-size: 18px;
	}

	h6 {
		font-size: 16px;
	}

	main ul {
		padding-left: 20px;
	}

	main ul li {
		padding-left: 15px;
	}

	main ul li:before {
		top: 9px;
	}

	main ol {
		padding-left: 5px;
	}

	main {
		padding-bottom: 60px;
	}
}

header {
	position: relative;
}

.header-top .container,
.header-bottom .container {
	height: 60px;
	display: flex;
	align-items: center;
}

.header-bottom .container {
	height: 50px;
}

.header-bottom {
	background-color: #FAEEE7;
}

.custom-logo-link {
	width: 60%;
}

header .country {
	display: flex;
	align-items: center;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

header .country img {
	width: 24px;
}

.menu-hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .3s ease-in-out;
  -moz-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  cursor: pointer;
}

.menu-hamburger span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #FF8BA7;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .3s ease-in-out;
  -moz-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

.menu-hamburger span:nth-child(1) {
  top: 0px;
}

.menu-hamburger span:nth-child(2),
.menu-hamburger span:nth-child(3) {
  top: 9px;
}

.menu-hamburger span:nth-child(4) {
  top: 18px;
}

.menu-hamburger.open span:nth-child(1) {
  top: 9px;
  width: 0%;
  left: 50%;
}

.menu-hamburger.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.menu-hamburger.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.menu-hamburger.open span:nth-child(4) {
  top: 9px;
  width: 0%;
  left: 50%;
}

.header-bottom nav {
	display: none;
	position: absolute;
	width: 100vw;
	bottom: 0;
	left: 0;
	transform: translateY(100%);
	padding: 20px 5% 30px;
	background-color: #FAEEE7;
	z-index: 1000;
	font-weight: 700;
}

header ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.header-bottom nav li {
	margin-top: 15px;
	transition: .2s;
}

.header-bottom nav li:first-child {
	margin-top: 0;
}

.header-bottom nav li:hover {
	color: #FF8BA7;
}

.header-bottom nav ul ul {
	margin-left: 20px;
}

.header-bottom nav ul ul li:first-child {
	margin-top: 15px;
}

header .search-btn {
	margin-left: auto;
	margin-right: 20px;
	width: 24px;
	height: 24px;
	cursor: pointer;
}

header .search-btn img {
	width: 100%;
	height: 100%;
}

header .search-form {
	display: none;
	position: relative;
	width: 100%;
	margin-left: auto;
	margin-right: 20px;
}

header .search-form input {
	width: 100%;
	height: 30px;
	padding: 0 30px 0 15px;
	border: none;
	background-color: #fff;
	border-radius: 6px;
	outline: none;
	font-family: "Istok Web";
	font-size: 14px;
	font-weight: 400;
	border-radius: 6px;
	border: 1px solid #FF8BA7;
}

header .search-form button {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	background-color: transparent;
	border: none;
	display: flex;
	align-items: center;
	outline: none;
	cursor: pointer;
}

.header-top.search-opened .search-form {
	display: block;
}

.header-top.search-opened .search-btn {
	display: none;
}

.header-top.search-opened .custom-logo-link {
	display: none;
}

@media (min-width: 720px) {
	.header-top .container,
	.header-bottom .container {
		height: 70px;
	}

	.custom-logo-link {
		width: 370px;
	}

	header .country img {
		width: 32px;
	}

	header .search-form {
		width: 200px;
	}

	header .search-form input {
		width: 100%;
		height: 35px;
		padding: 0 30px 0 15px;
	}

	header .search-btn {
		margin-right: 40px;
	}

	.header-top.search-opened .custom-logo-link {
		display: block;
	}
}

@media (min-width: 960px) {

	header .search-form {
		width: 300px;
	}

	.menu-hamburger {
		display: none;
	}

	.header-bottom nav {
		display: flex;
		align-items: center;
		height: 100%;
		position: static;
		width: auto;
		transform: none;
		padding: 0;
		background-color: transparent;
	}

	.header-bottom nav li {
		position: relative;
		margin-top: 0;
		margin-right: 36px;
		transition: .2s;
		height: 100%;
		cursor: pointer;
	}

	.header-bottom nav li a {
		display: flex;
		align-items: center;
		height: 100%;
	}

	.header-bottom nav ul {
		display: flex;
		height: 100%;
		font-size: 14px;
	}

	.header-bottom nav ul ul li:first-child {
		margin-top: 0;
	}

	.header-bottom nav ul ul {
		display: none;
		position: absolute;
		left: 0;
		bottom: 0;
		transform: translateY(100%);
		width: 287px;
		height: auto;
		margin-left: 0;
		padding: 24px 24px 4px;
		background-color: #fff;
		font-size: 16px;
		font-weight: 400;
		border-radius: 6px;
		z-index: 1000;
		-webkit-box-shadow: 0px 6px 20px -6px #000000; 
		box-shadow: 0px 6px 20px -6px #000000;
	}

	.header-bottom nav ul ul li {
		margin-right: 0;
		margin-bottom: 16px;
		height: auto;
	}

	.header-bottom nav li:hover li {
		color: #222525;
	}

	.header-bottom nav li:hover ul {
		display: block;
	}

	.header-bottom .menu-item-has-children {
		position: relative;
		padding-right: 13px;
	}

	.header-bottom .menu-item-has-children:after {
		content: "\f0d7";
		position: absolute;
		top: 28px;
		right: 0;
		font-family: "Font Awesome 5 Free";
		font-size: 12px;
		font-weight: 700;
		line-height: 1;
	}
}

footer {
	padding: 50px 0;
	background-color: #33272A;
	font-size: 14px;
	color: #fff;
}

footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
	color: #fff;
}

footer .logo {
	display: block;
	margin: 0 0 30px;
	width: 300px;
	max-width: 100%;
}

footer .col {
	margin-top: 30px;
}

footer ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	line-height: 2;
}

.footer-center {
	margin-bottom: 30px;
}

footer .copyright,
footer .disclaimer {
	margin-bottom: 16px;
}

.footer-tech ul {
	display: flex;
	margin-bottom: 16px;
}

.footer-tech li {
	position: relative;
	margin-right: 20px;
}

.footer-tech li:last-child {
	margin-right: 0;
}

.footer-tech li:first-child:after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: -10px;
	width: 1px;
	height: 15px;
	background-color: #fff;
}

footer .images {
	display: flex;
	flex-direction: column;
	align-items: center;
}

footer .images img {
	width: auto;
	margin-top: 30px;
}

@media (min-width: 720px) {
	footer {
		padding: 70px 0;
		font-size: 16px;
	}

	footer .images {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}

	footer .images img {
		margin-top: 0;
		margin-right: 30px;
	}

	footer .images img:last-child {
		margin-right: 0;
	}
}

@media (min-width: 960px) {
	footer {
		text-align: left;
	}

	.footer-center {
		display: flex;		
		align-items: flex-start;
		justify-content: space-between;
		margin-bottom: 70px;
	}

	footer .logo {
		margin: 0;
		margin-bottom: 10px;
	}

	footer .col {
		margin-top: 0;
	}

	.footer-center .col:last-child {
		width: 555px;
		max-width: 40%;
	}

	footer .copyright,
	footer .disclaimer {
		font-size: 14px;
	}

	.footer-tech ul {
		display: flex;
		justify-content: flex-start;
		font-size: 14px;
	}
}

.wp-block-blocks-hero {
	margin-bottom: 40px;
	padding: 40px 5% 60px;
	box-shadow: 0px 30px 40px -40px rgba(0,0,0,0.1);
}

.wp-block-blocks-hero h1 {
	margin-top: 0;
}

.wp-block-blocks-content-table {
	margin-top: 40px;
	max-width: 620px;
	padding: 20px 0 10px;
	border-radius: 10px;
	border: 1px solid #FF8BA7;
}

.wp-block-blocks-content-table h2 {
	margin-top: 0;
	padding-left: 20px;
}

.wp-block-blocks-content-table ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	max-height: 250px;
	overflow: hidden;
}

.wp-block-blocks-content-table.opened ul {
	max-height: none;
}

.wp-block-blocks-content-table .arrow {
	width: 15px;
	margin: 0 auto;
	text-align: center;
	font-size: 22px;
	color: #ff8ba7;
	cursor: pointer;
}

.wp-block-blocks-content-table.opened .arrow {
	transform: rotate(180deg);
}

.wp-block-blocks-content-table li {
	position: relative;
	margin-bottom: 0;
	padding: 0;
	font-size: 14px;
	color: #33272A;
	transition: .2s;
}

.wp-block-blocks-content-table li a {
	display: block;
	padding: 6px 9px 6px 30px;
	color: inherit;
	text-decoration: none;
}

.wp-block-blocks-content-table li:before {
	content: "\f0da";
	position: absolute;
	top: 7px;
	left: 15px;
	font-family: "Font Awesome 5 Free";
	font-size: 12px;
	font-weight: 700;
	color: #ff8ba7;
	width: auto;
	height: auto;
	background-color: transparent;
	transition: .2s;
}

.wp-block-blocks-content-table li:hover {
	background-color: #FF8BA7;
	color: #fff; 
}

.wp-block-blocks-content-table li:hover:before {
	color: #fff;
}

@media (min-width: 1422px) {
	.wp-block-blocks-hero {
		margin-bottom: 60px;
		padding: 40px calc((100% - 1280px)/2) 100px;
	}

	.wp-block-blocks-content-table h2 {
		padding-left: 30px;
	}

	.wp-block-blocks-content-table {
		margin-top: 60px;
		padding: 30px 0 20px;
	}

	.wp-block-blocks-content-table ul {
		max-height: 280px;
	}

	.wp-block-blocks-content-table ul::-webkit-scrollbar {
	  width: 6px;
	}

	.wp-block-blocks-content-table li {
		font-size: 16px;
	}

	.wp-block-blocks-content-table li a {
		padding: 12px 18px 12px 65px;
	}

	.wp-block-blocks-content-table li:before {
		top: 13px;
		left: 45px;
		font-size: 15px;
	}
}

.wp-block-blocks-provider {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
	border: 1px solid #FAEEE7;
	border-radius: 6px;
}

.wp-block-blocks-provider img {
	width: 180px;
	max-width: 95%;
}

@media (min-width: 782px) {
	.wp-block-blocks-provider {
		margin-bottom: 0;
	}
}

.wp-block-quote {
	display: flex;
	flex-direction: column;
	margin: 20px 0;
	padding: 16px 20px 20px;
	border-top: 4px solid #FAEEE7;
}

.wp-block-quote p {
	order: 1;
}

.wp-block-quote cite {
	margin-bottom: 10px;
	font-family: "BioRhyme";
	font-weight: 700;
	color: #594A4E;
	font-style: normal;
	order: 0;
}

@media (min-width: 720px) {
	.wp-block-quote cite {
		font-size: 18px;
	}
}

.wp-block-blocks-advantages h2,
.wp-block-blocks-advantages h3,
.wp-block-blocks-advantages h4,
.wp-block-blocks-disadvantages h2,
.wp-block-blocks-disadvantages h3,
.wp-block-blocks-disadvantages h4 {
	margin-top: 0;
	padding-left: 30px;
	position: relative;
}

.wp-block-blocks-advantages h2:before,
.wp-block-blocks-advantages h3:before,
.wp-block-blocks-advantages h4:before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 16px;
	height: 16px;
	background-image: url(img/check.svg);
	background-size: cover;
}

.wp-block-blocks-disadvantages h2:before,
.wp-block-blocks-disadvantages h3:before,
.wp-block-blocks-disadvantages h4:before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 16px;
	height: 16px;
	background-image: url(img/cross.svg);
	background-size: cover;
}

@media (min-width: 720px) {
	.wp-block-blocks-advantages h2:before,
	.wp-block-blocks-advantages h3:before,
	.wp-block-blocks-advantages h4:before {
		top: 8px;
	}

	.wp-block-blocks-disadvantages h2:before,
	.wp-block-blocks-disadvantages h3:before,
	.wp-block-blocks-disadvantages h4:before {
		top: 8px;
	}
}

.wp-block-blocks-advantages ul,
.wp-block-blocks-disadvantages ul {
	padding-left: 28px;
}

.wp-block-blocks-steps {
	margin: 20px 0;
	padding: 10px 0 30px;
	background-color: #FAEEE7;
}

.wp-block-blocks-steps p {
	margin-bottom: 0;
}

.wp-block-blocks-steps .wp-block-columns {
	margin-bottom: 0;
}

.wp-block-blocks-filed-under {
	position: relative;
	padding-left: 22px;
	font-size: 14px;
}

.wp-block-blocks-filed-under:before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 14px;
	height: 14px;
	background-image: url(img/filed-under.svg);
	background-size: cover;
}

@media (min-width: 720px) {
	.wp-block-blocks-filed-under {
		padding-left: 28px;
		font-size: 16px;
	}

	.wp-block-blocks-filed-under:before {
		width: 20px;
		height: 20px;
	}
}

table {
	width: 100%;
	margin-top: 30px;
	border: 1px solid #F8F5F2;
	border-collapse: collapse;
}

table th {
	padding: 13px 20px 15px;
	font-family: "BioRhyme";
	font-weight: 700;
	border: 1px solid #FAEEE7;
}

table td {
	padding: 10px 20px;
	font-size: 14px;
	border: 1px solid #FAEEE7;
}

table a {
	color: #FF8BA7;
}

@media (min-width: 720px) {
	table td {
		font-size: 16px;
	}
}

.wp-block-blocks-question {
	position: relative;
	margin-bottom: 20px;
	padding: 16px;
	background-color: #FAEEE7;
	border-radius: 10px;
}

.wp-block-blocks-question h2,
.wp-block-blocks-question h3,
.wp-block-blocks-question h4,
.wp-block-blocks-question h5 {
	margin-top: 0;
	margin-bottom: 10px;
}

.wp-block-blocks-question p:last-child {
	margin-bottom: 0;
}

@media (min-width: 720px) {
	.wp-block-blocks-question:before {
		left: -40px;
		width: 24px;
		height: 24px;
	}
}

.wp-block-blocks-expert {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 2px solid #594A4E;
}

.wp-block-blocks-expert .photo {
	width: 70px;
	height: 70px;
	margin-right: 20px;
}

.wp-block-blocks-expert .photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.wp-block-blocks-expert h2,
.wp-block-blocks-expert h3,
.wp-block-blocks-expert h4,
.wp-block-blocks-expert h5 {
	margin: 0;
}

.wp-block-blocks-expert .info span {
	font-size: 14px;
}

@media (min-width: 720px) {
	.wp-block-blocks-expert .photo {
		width: 100px;
		height: 100px;
	}

	.wp-block-blocks-expert .info span {
		font-size: 16px;
	}
}

.breadcrumbs {
	padding: 30px 0 0;
	font-size: 14px;
}

.breadcrumbs a {
	color: #FF8BA7;
}

.page-404 {
	background: #FAEEE7;
}

.error-404 {	
	font-weight: 700;
	font-size: 144px;
	text-align: center;
	color: #33272A;
}

@media (min-width: 720px) {
	.content-404 .container {
		display: flex;
		margin-top: 40px;
	}

	.error-404 {
		margin-right: 30px;
		font-size: 100px;
	}
}

@media (min-width: 960px) {
	.error-404 {
		margin-right: 114px;
		font-size: 144px;
	}
}

.custom-search-results {
	margin-top: 50px;
}

.custom-search-results a {
	color: #FF8BA7;
}

.custom-search-results a:hover {
	text-decoration: underline;
}

.wp-block-blocks-important {
	margin: 20px 0;
	padding: 27px 20px 26px;
	background-color: #FAEEE7;
	border-radius: 6px;
}

.wp-block-blocks-important p:last-child {
	margin-bottom: 0;
}

.wp-block-blocks-rules {
	position: relative;
	margin: 20px 0;
	padding: 20px 20px 20px 56px;
	background-color: #FAEEE7;
	border-radius: 6px;
}

.wp-block-blocks-rules p:last-child {
	margin-bottom: 0;
}

.wp-block-blocks-rules:before {
	content: "\f005";
	position: absolute;
	top: 30px;
	left: 20px;
	width: 20px;
	height: 20px;
	font-family: "Font Awesome 5 Free";
	font-size: 18px;
	font-weight: 700;	
}

@media screen and (max-width: 750px) {
	h2 {
    	margin-top: 40px;
    	font-size: 20px;
	}
}