/*!
Theme Name: default-theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: default-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

default-theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
*/


/******************************Winners********************/
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-300px * 7));
  }
}
.slider {
  background: #BCC0C2;
  box-shadow: 0 20px 10px -5px rgba(0, 0, 0, 0.125);
  height: 90px;
  margin-top: 10px;
  overflow: hidden;
  position: relative;
  width: 100%;
		transition: transform .3s;
}
.slider::before, .slider::after {
  background: linear-gradient(to right, black 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 90px;
  position: absolute;
  width: 120px;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(300px * 14);
}
.slider .slide {
  height: 90px;
  width: 300px;
}

.slide:hover {
	background: #9FA1A3;
}

.winner-item {
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: .5rem;
  border-right: 1px dashed #777;
  justify-content: space-between;
	height: 80px;
}

.winner-image {
  width: 85px;
}

.winner-image img {
   height: 100%;
    width: 100%;
		border-radius: 8px;
}

.winner-name {
    display: flex;
    flex-direction: column;
}

.winner-nickname {
    font-size: .975rem;
    line-height: 140%;
    color: #fff;
    flex: 1 1;
}

.winner-date {
    color: #717171;
    font-size: .75rem;
    font-weight: 400;
    line-height: 140%;
    margin: 0;
    padding: 0;
}

.winner-count {
    font-size: 1.05rem;
    line-height: 110%;
	font-weight: 700;
    color: #64180C;
}
.slider a {
	text-decoration: none;
}

/*Podcast*/
.pdp_wrapper_default {
	margin-top: 20px!important;
	width: 70%!important;
}

@media screen and (max-width: 890px) {
	.pdp_wrapper_default {
	width: 100%!important;
}
	.pdp-item .pdp_plyr_area h3 {
	font-size: 20px!important;
}
}

.pdp-item {
	border: 5px solid #323232;
}
.pdp_wrapper_default.dark .pdp-item {
	background: #717171!important;
}

.plyr--full-ui input[type=range] {
	color: #64180C;
}

.pdp_wrapper_default.dark .pdp-item {
	height: 120px;
}

.plyr__menu__container .plyr__control {
	color: #333;
}

.plyr__menu__container {
	background: #BCC0C2; 
}

.plyr--audio .plyr__control.plyr__tab-focus, .plyr--audio .plyr__control:hover, .plyr--audio .plyr__control[aria-expanded=true] {
	background: #333333;
}

.pdp-item .pdp_plyr_area h3 {
	color: #64180C!important;
	font-size: 26px;
	padding: 0 15px;
}

.plyr--audio .plyr__progress__buffer {
	color: #333333;
}

/*Выпадающее меню*/
ul li.menu-item-has-children>a:after {
    content: "▼";
    margin-left: .5em;
    opacity: .7;
}

ul .sub-menu {
	display: none;
}

ul li.menu-item-has-children:hover .sub-menu {
	display: block;
}

ul .sub-menu {
  position: absolute;
  background-color: #717171;
  min-width: 160px;
	max-width: 200px;
  padding: 14px 16px;
  z-index: 1;
	box-shadow: 0 2px 45px rgba(29, 39, 48, .60);
	white-space: nowrap;
}


ul li .sub-menu li>a {
  padding: 10px 0;
	margin-left: 20px
}

/*картинки перелинковка*/
.benifest__info a {
    color: #333333;
		text-decoration: underline;
   }

.container-img {
  padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
}

.container-flex {
	display: -ms-flexbox;    
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.row-advantages {    
    display: -ms-flexbox;    
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.col-5 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.col-5 {
    position: relative;
    width: 100%;
}

.element-item {
display: inline-block;
	width: 270px;
	margin-right: 0.5rem;
	margin-bottom: 1rem;
	margin-left: 0.5rem;
	vertical-align: top;
}

.element-item img {
	max-width: 100%;
	margin: 0;
	transition: all 0.3s;
  position: relative;
  z-index: 1;
	border-radius: 5px;
}

.element-item:hover img {
	-moz-transform: scale(1.15);
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}

.text-overlay {
position: absolute;
margin: -65px 10px;
padding: 5px 20px;
z-index: 2;
color: white;
	border-radius: 5px;
font-size: 24px;
font-weight: bold;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
transition: all 0.3s;
background-color: rgb(113 113 113 / 90%);
        }

.element-item:hover .text-overlay {
	-moz-transform: scale(1.15);
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}

/*Блок с промокодом*/
.starz-promo-code-box {
	background-image: linear-gradient(90.87deg, #BCC0C2 30.19%, #717171 102.14%);
  border-radius: 10px;
  display: flex;
  gap: 30px;
  width: 60vw;
  padding: 40px 30px;
	align-items: center;
	justify-content: space-evenly;
  box-shadow: 0 0 40px #777;
	margin: 25px;
	border: 1px solid rgb(100 24 12 / 30%);
}

.starz-promo-code-box .info__btn {
	margin-top: 0px;
}

.starz-promo-code-block {
	display: flex;
	justify-content: center;
}

.starz-promo-code-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: #333;
  text-transform: uppercase;
	width: 25%;
}

.starz-promo-code-info {
  text-align: center;
  color: #fff;
	width: 35%;
}

.starz-promo-code-box .info__btn button {
	max-width: 200px;
}

.starz-promo-code-field {
  display: flex;
  align-items: center;
	justify-content: center;
	position: relative;
	width: 40%;
  gap: 10px;
}

.starz-bonus-code {
  border: 2px solid #64180C;
  color: #64180C;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 10px 16px;
  width: 100%;
	border-radius: 8px;
	background: #fff;
}

.starz-bonus-code-copy {
  background: #64180C;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    padding: 12px 15px;
}

@media screen and (max-width: 890px) {
    .starz-promo-code-box {
    flex-direction: column;
		max-width: 400px;
    align-items: center;
    }
	.starz-promo-code-title, .starz-promo-code-info, .starz-promo-code-field {
		width: 80%;
	}
	.starz-promo-code-box {
		width: 75vw;
	}
	.starz-block-text-code {
		display: flex;
		flex-direction: column-reverse;
	}
}

.ctc-inline-copy-icon .copy-icon, .ctc-inline-copy-icon .check-icon {
    height: 26px;
    width: 26px;
    color: #fff;
	margin-left: -4px
}

/*Бонусная страница*/
.benifest__wrap:has(.mega-tips-bonus-box) {
	background-image: linear-gradient(90.87deg, #BCC0C2 30.19%, #717171 102.14%);
	border: 2px solid rgb(100 24 12 / 30%);
	padding: 35px 25px;
	border-radius: 20px;
	transition: all 0.4s;
	box-shadow: 0 0 40px #777;
}

.mega-tips-bonus-box {
		color: #fff;
}

.benifest__wrap:has(.mega-tips-bonus-box) button {
		color: #fff!important;
}

.benifest__wrap:has(.mega-tips-bonus-box):hover img {
transform: scale(1.03);
}

@media (max-width: 890px) {
	.benifest__item:has(.mega-tips-bonus-box) {
    grid-template-columns: 1fr!important;
}
}

.benifest__item:has(.mega-tips-bonus-box) {
    grid-template-columns: 1fr 1.4fr;
}

.benifest__wrap:has(.mega-tips-bonus-box) img {
    border-radius: 20px;
	transition: all 0.4s;
	box-shadow: 0 0 50px #3f3f3f;
}

/*Бонусы на главной*/
.mega-tips-main-bonus-box {
  display: flex;
  overflow: hidden;
	flex-wrap: wrap;
	justify-content: center;
  gap: 15px;
  margin-top: 36px;
	margin-bottom: 40px;
	padding: 20px;
}

.mega-tips-bonus-product {
 width: calc(25% - 15px);
  min-height: 8.8rem;
  display: flex;
  align-items: flex-end;
	
}

@media screen and (max-width: 1025px) {
    .mega-tips-bonus-product {
        width: calc(33.3% - 15px);
    }
}

@media screen and (max-width: 725px) {
    .mega-tips-bonus-product {
        width: calc(50% - 15px);
    }
}

@media screen and (max-width: 520px) {
    .mega-tips-bonus-product {
        width: 100%;
    }
}

.mega-tips-bonus-product-link {
  display: flex;
align-items: flex-end;
  justify-content: space-between;
    height: 6.15rem;
    width: 100%;
  background-image: linear-gradient(90.87deg, #BCC0C2 30.19%, #717171 102.14%);
  border-radius: 12px;
  border: 2px solid rgb(100 24 12 / 60%);
  text-decoration: none!important;
	transition: all 0.3s;
	box-shadow: 0 0 20px #777;
   }

.mega-tips-product-title {
 margin-bottom: .625rem;
  margin-left: .9375rem;
  font-size: 1.15rem;
    line-height: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
    overflow: hidden;
  color: #0B0C0B;
  transition: transform .3s;
}

.mega-tips-product-img {
  transition: transform .3s;
  min-height: 8.5rem;
    min-width: 7.5rem;
  position: relative; 
    overflow: visible;
}

.mega-tips-product-img img {
  width: 90px;
  position: absolute;
}

.mega-tips-bonus-product-link:hover .mega-tips-product-img {
  transform: translateY(-.625rem);
}

.mega-tips-bonus-product-link:hover .mega-tips-product-title {
  transform: translateY(-.125rem);
}

/*Запрет показа страны в выпадающем меню*/
a[title="CA-FR"][class="active-lang"] {
  display:none!important;
}