/*
Theme Name: rps child
Description: Child theme for rps theme
Template: rps
Version: 2
*/

:root {
    
    --white: #fff;
    --grey-text: #B2A7A7;
    --black-text: #1C1B1E;
    --dark-bg-color: #1C1B1E;
    --button-color: #B70F22; 
    --button-hover: #7E0017; 
    --second-color: #0E7D48;
    --advantages: #0C9554;
    --disadvantages: #CC0000;
    --advantages-bg: #f2f5eb;
    --disadvantages-bg: #f8eae9;
    --stars: #FFA400;
    --light-bg: #FFF0ED;
    --button-text-color: #FFFFFF;

    --body-bg: white;
    --home-heading-color: white; 

    --linking-a: #fff;
    --linking-a-hover: #61DDB9;
    --links-bg: #1660a4;
    
    --lavander: #D6DAFF;
}

.homescreen {
	position: relative;
	overflow: hidden;
    background: url(img/left.png), url(img/right.png), linear-gradient(0deg, white 140px, #0E4138 140px, #0E4138 100%);
    background-repeat: no-repeat;
    background-position: left calc(100% - 140px), right calc(100% - 140px), center;
    min-height: 640px;
}

@media (min-width: 1201px) {
    .homescreen {
        margin-bottom: -38px;
    }
    .sub-menu li:first-child {
        padding-top: 16px;
        border-top: 4px solid var(--stars);
    }
	.line-1 > .sub-menu {
		padding-top: 62px;
	}
	.line-2 > .sub-menu {
		padding-top: 29px;
	}
}

.home__header p {
    color: white;
}

.homescreen .container {
	position: relative;
	z-index: 5;
}

.homescreen__img {
	position: absolute;
	z-index: 2;
	background-repeat: no-repeat;
	background-size: cover;
}

.header-menu a:hover, .footer-menu a:hover {
    color: var(--stars);
}

.menu-item-has-children:hover::after {
    border: solid var(--stars);
    border-width: 0 2px 2px 0;
}

/* sub-sub-menu */
.menu-item-has-children .menu-item-has-children {
	box-shadow: none;
	border-bottom: none;
}

.menu-item-has-children .menu-item-has-children::after {
	content: none;
}

.menu-item-has-children .menu-item-has-children .sub-menu {
	display: none;
}

.menu-item-has-children .menu-item-has-children:hover {
	background: var(--second-color);
}

.menu-item-has-children .menu-item-has-children:hover > a {
	color: white;
}

.menu-item-has-children .menu-item-has-children:hover .sub-menu {
	display: block;
	position: absolute;
	top: 0;
	right: 100%;
	padding-top: 0;
}

@media (max-width: 1200px) {
	.menu-item-has-children .menu-item-has-children .sub-menu {
		display: block;
		padding-left: 20px;
	}	
	.menu-item-has-children .menu-item-has-children:hover .sub-menu {
		position: relative;
	}
	.menu-item-has-children .menu-item-has-children:hover {
		background: var(--light-bg);
	}
	.menu-item-has-children .menu-item-has-children:hover > a {
		color: var(--dark-bg-color);
	}
	.menu-item-has-children .menu-item-has-children .sub-menu li:first-child {
		padding-top: 0;
	}
}
/* .sub-sub-menu */

.menu-buton-active {
    background-image: url(img/burger-close.png);
}

article h2::after, .h2::after {
    background-image: url(img/h2.png);
}

.home__offers .owl-item:nth-of-type(2) .slide::before {
    content: url(img/offer-cherry.png);
}

.home__offers .owl-item:nth-of-type(1) .slide::before {
    content: url(img/offer-crown.png);
}

.home__offers .owl-item:nth-of-type(3) .slide::before {
    content: url(img/offer-money.png);
}

.casinoitem__plus p::before, .casinoitem__plus ul li::before {
    content: url(img/marker.png);
}

article ul li::before {
    background-image: url(img/marker.png);
}

.author-sidebar__updated::before {
    background-image: url(img/updated.png);
}

.author-sidebar__published::before {
    background-image: url(img/published.png);
}

.articleauthor__updated::before {
    background-image: url(img/updated.png);
}

.articleauthor__published::before {
    background-image: url(img/published.png);
}

.articleslist__item-date::before {
    content: url(img/published.png);
}

.casinolist-review .casinoitem__plus p::before, .casinolist-review .casinoitem__plus ul li::before,
.promo__offer-content .casinoitem__plus p::before, .promo__offer-content .casinoitem__plus ul li::before {
    background-image: url(img/like.png);
}

.plusminus__plus p::before, .plusminus__plus ul li::before {
    content: url(img/like.png);
}

.plusminus__minus p::before, .plusminus__minus ul li::before {
    content: url(img/nolike.png);
}

.block3-pros ul li::before {
    background-image: url(img/like.png);
}

.block3-cons ul li::before {
    background-image: url(img/nolike.png);
}

.sidebar__header::after {
    background-image: url(img/toc.png);
}

.block3-1 {
    border-left: 10px solid var(--button-color);
}

.block3-2 {
    background: url(img/bock3-2-left.svg), url(img/bock3-2-right.svg), #FFD2C3;
    background-repeat: no-repeat;
    background-position: left bottom, right top, center;
    box-shadow: none;
}

.block3-1 .block3-columns, .block3-2 .block3-columns {
    align-items: center !important;
}

.block3-1 h3 {
    display: inline-block;
    background: var(--second-color);
    color: white;
    border-radius: 6px;
    line-height: 1;
    padding: 6px 20px;
    margin: 0;
}

.block3-2 h3 {
    margin: 0;
}

.block5-1 ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.block5-1 li {
    margin: 0 !important;
    border: 2px solid #FFD2C3;
}

@media (max-width: 600px) {
	.homescreen {
        background: url(img/mobile-bg.png), linear-gradient(0deg, white 140px, #0E4138 140px, #0E4138 100%);
        background-repeat: no-repeat;
        background-position: right 40px, center;
	}
    .block3-2 {
        text-align: center;
    }
    .block5-1 ul {
        grid-template-columns: 1fr;
    }
}

.casinoitem__more {
    border: 2px solid var(--second-color);
    color: var(--second-color);
}

/* sidebar menu icons */
.blackjack a::before {
    content: url(img/blackjack.png);
}
.ruleta a::before {
    content: url(img/ruleta.png);
}
.videopoker a::before {
    content: url(img/videopoker.png);
}
.poker a::before {
    content: url(img/poker.png);
}
.baccarat a::before {
    content: url(img/baccarat.png);
}
.dados a::before {
    content: url(img/dados.png);
}
.keno a::before {
    content: url(img/keno.png);
}
.bingo a::before {
    content: url(img/bingo.png);
}



.casinoitem__content {
grid-template-areas:
        "logo bonus bonus plus buttons"
		". . more more ."
        "bonustext bonustext bonustext banking banking";	
}

.casinoitem__more {
	display: block;
	grid-area: more;
	border: none;
	font-weight: 400;
	font-size: 16px;
	padding: 0;
	cursor: pointer;
}

.casinoitem__bonustext, .casinoitem__banking {
	display: none;
}

.casinoitem-open .casinoitem__bonustext,
.casinoitem-open .casinoitem__banking {
	display: block;
}

@media (max-width: 768px) {
	.casinoitem__more {
		border: 2px solid var(--second-color);
		padding: 10px 30px;
	}
}




/* Contact Form 7 */

.button-blue {
    background: #69B6FC;
    color: white;
    display: inline-block;
}

.button-blue:hover {
    background: #1660A4;
    color: white;
}

.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 20px 0 20px;
	border-radius: 8px;
	background: #ebf5fd;
	margin-bottom: 30px;
}

.wpcf7-form,
.wpcf7-form * {
	box-sizing: border-box;
}

.wpcf7-form input, 
.wpcf7-form textarea {
	width: 100%;
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	outline: 2px solid #69B6FC;
}

.wpcf7-submit {
	cursor: pointer;
  width: 30% !important;
  align-self: center;	
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	margin-top: 0 !important;
	border-radius: 3px;
    border-color: #62e5c6 !important;	
}

.wpcf7-spinner {
	margin-top: -10px;
}


@media (max-width: 600px) {
	.wpcf7-form {
		width: 100%;
		gap: 20px;
	}
	.wpcf7-submit {
		width: 90% !important;
	}
}

.casinoitem__review {
    color: var(--dark-bg-color);
    border-bottom: 2px dashed var(--dark-bg-color);
}

.sidebaroffer__review {
    color: var(--dark-bg-color);
    border-bottom: 1px dashed var(--dark-bg-color);
}

.linking a {
    background: var(--links-bg);
    color: var(--linking-a);
}

.linking a:hover {
    color: var(--linking-a-hover);
}

article strong, article b, article a, article a:hover  {
    color: var(--second-color);
}

table th strong, table th b {
    color: white;
}

.block6__content {
	border-top: 2px solid #cce9ea;
    border-right: 2px solid #cce9ea;
    border-bottom: 2px solid #cce9ea;	
	background-color: #fbfdfd;
}

.block6__num p {
	color: #cce9ea;
}

.block6__content::before {
    content: url(img/block6bg.png);
}

@media (max-width: 781px) {
	.block6__content::before {
		content: none;
	}
	.block6__content {
    	border: 2px solid #cce9ea;
	}
}

.block2 {
    border-left: 10px solid var(--stars);
}

.relatedpost__title {
    text-decoration: none;
}

.relatedpost__title:hover {
    color: var(--second-color);
}

.promo__offer-content .casinoitem__bonus-welcome {
    min-height: 100px;
    justify-content: center;
}

.casinoitem__bonus-payspeed, .casinoitem__bonus-payrate, .casinoitem__bonus-limits, .casinoitem__bonus-welcome, .casinoitem__plus {
    background-color: var(--light-bg);
    border: 2px solid #FFD2C3;
}

.sidebarlinks__header {
    position: relative;
    padding-left: 48px;
}

.sidebarlinks__header::before {
    content: '';
    position: absolute;
    display: block;
    background-image: url(img/www.png);
    width: 32px;
    height: 32px;
    left: 0;
    top: -3px;
}


/*

.articlereviewer {
    background: white;
    box-shadow: 0 1px 4px 0 #292C2C1F;
}

.articlereviewer .articleauthor__description {
    border: 1px solid var(--light-bg);
}

.articlereviewer .articleauthor__job {
    background: var(--light-bg);
}

.articleauthor {
    margin-top: 30px;
}

.articleauthor__info {
    grid-template-columns: 10% 60%;
}

.articleauthor__dates {
    display: flex;
}

@media (max-width: 1200px) {
    .articleauthor__updated, .articleauthor__published {
        width: 120px;
    }
}

*/


/* banner */
.sidebar_banner {
	display: block;
	margin-bottom: 24px;
	transition: opacity 0.15s;
}

.sidebar_banner:hover {
	opacity: 0.95;
}

.sidebar_banner img {
	max-width: 100%;
}

#bottom_banner {
    position: fixed;
	width: 100%;
    z-index: 555;
    bottom: 0;
	background: #000;
}

#bottom_banner span {
	position: absolute;
    top: -10px;
    right: 20px;
	display: block;
	width: 20px;
	height: 20px;
	background: white;
	border: 2px solid #000;
	border-radius: 50%;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	line-height: 20px;
	color: #000;
	cursor: pointer;
	z-index: 666;
}

.bottom_banner, .bottom_banner_mob {
	line-height: 0;
    display: block;
	text-align: center;
    transition: opacity 0.15s;	
}

.bottom_banner_mob {
	display: none;
}

.bottom_banner img {
	width: 100%;
	max-width: 1600px;
}

.bottom_banner_mob img {
	width: 100%;
	max-width: 360px;
}

.bottom_banner:hover, .bottom_banner_mob:hover  {
	opacity: 0.95;
}

@media (max-width: 600px) {
	.bottom_banner {
		display: none;
	}
	.bottom_banner_mob {
		display: block;
	}
	#bottom_banner span {
		position: absolute;
		left: 20px;
	}
}
/* .banner */

.authoreditor-wrapper {
    display: flex;
	flex-wrap: wrap;
    align-items: center;
    gap: 10px;
	padding-top: 0;
    padding-bottom: 0;
	font-size: 13px;
    
    margin-top: 40px;
}

.home .authoreditor-wrapper {
	margin-top: 40px;
}

.authoreditor {
    display: grid;
    grid-template-columns: 50px auto;
    align-items: center;
    gap: 10px;
    max-width: 500px;
    background: var(--advantages-bg);
    padding: 10px;
    border-radius: 6px;
}

.authoreditor__photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-image: url(/wp-content/themes/rps/img/no-image.svg);
	background-repeat: no-repeat;
	background-size: cover;
}

.authoreditor__info a {
    color: var(--button-color);
}

.authoreditor__info a:hover {
    text-decoration: none;
}