/*
Theme Name: Root Child
Theme URI: http://wpshop.biz/themes/root
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: root
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

/* Шапка */

@media (max-width: 600px) {
  .site-header-inner {
    padding-left: 0;
    padding-right: 0;
}
}

.site-branding {
    padding: 20px 5px 15px 5px;
}
@media (min-width: 992px) {
.site-branding {
    padding: 20px 0 20px 0;
}
}

.site-logotype {
    margin-bottom: 0;
}

/* Меню */


.menu-item-32 a {
	color: #fff !important;
	background: #3077f7;
	padding: 9px 15px;
	border-radius: 10px;
	font-size: 20px !important;
	border: none !important;
}

.menu-item-130 a {
	color: #fff !important;
	background: #373e4c;
	padding: 9px 30px;
	border-radius: 10px;
	font-size: 20px !important;
}

@media (max-width: 992px) {
  #header_menu, .mob-hamburger {
    display: none;
}
}

@media (max-width: 991px) {
	.top-menu {
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 15px;
	}
}
/* Отодвигаем изображение от текста */

.wp-block-image {
	margin-bottom: 20px;
}

/* Плавающиий баннер */

@keyframes rainbowAnimation {
  0% {
    border-image-source: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet, red, orange, yellow, green, blue, indigo, violet);
  }
  50% {
    border-image-source: linear-gradient(45deg, green, blue, indigo, violet, red, orange, yellow, green, blue, indigo, violet, red, orange, yellow);
  }
  100% {
    border-image-source: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet, red, orange, yellow, green, blue, indigo, violet);
  }
}

.floatbox {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 1170px;
    margin: 0 auto;
    background-color: #222222;
    z-index: 999;
}

@media (max-width: 1199px) {
	.floatbox {
    max-width: 975px;
}
}

.floatbox-content {
	display: grid;
	align-items: center;
	column-gap: 1rem;
	grid-template-columns: 75px 1fr auto;
	grid-template-areas:
        "flogo fname fbtn";
	padding: 15px 20px;
}

.floatbox-logo img {
	display: flex;
	grid-area: flogo;
	width: 75px;
	aspect-ratio: 100 / 100;
	border: 1px solid #353d48;
	border-radius: 10px;
}

.float-namestar {
	grid-area: fname;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.floatbox-name {
	font-size: 1.7rem;
	font-weight: bold;
	color: #fff;
}
.pgstar {
	font-size: 22px !important;
	color: #dd3333;
}

.floatbox-btn a {
	grid-area: fbtn;
	display: block;
	text-align: center;
	min-width: 250px;
	padding: 15px 20px;
	font-weight: 700;
	font-size: 1.333em;
	line-height: 1.25em;
	color: #fff;
	border-radius: 5px;
	background-color: #3077f7;
}
.floatbox-btn a:hover {
	color: #fff;
}

@media (max-width: 992px) {
	.floatbox-content {
		column-gap: 0.5rem;
		grid-template-columns: 73px 1fr auto;
		padding: 14px 20px;
}
	.floatbox-logo img {
    width: 70px;
}
	.floatbox-name {
    font-size: 1.5rem;
}
	.pgstar {
    font-size: 21px !important;
		width: 19px;
		height: 19px;
}
	.floatbox-btn a {
    min-width: 175px;
}
}

@media (max-width: 768px) {
	.floatbox-content {
		column-gap: 0.5rem;
		grid-template-columns: 70px 1fr auto;
		padding: 12px 15px;
}
	.floatbox-name {
		font-size: 1.1rem;
	}
	.pgstar {
		font-size: 16px !important;
		width: 12px;
		height: 12px;
	}
		.floatbox-btn a {
    min-width: 100%;
    font-size: 1rem;
}
}

/* Увеличиваем футер для флоат баннера */

.site-footer {
    padding-bottom: 155px;
}

@media (max-width: 992px) {
.site-footer {
    padding-bottom: 148px;
	}}
@media (max-width: 768px) {
.site-footer {
    padding-bottom: 144px;
	}}

/* Кнопка */

.btn-size-big {
	text-transform: uppercase;
	white-space: normal;
	color: #fff;
	background-color: #3077f7 !important;
}