﻿/*
Theme Name: 18BYTES
Template: astra
Description: Дочерняя тема для темы astra
Author: 18bytes
Author URI: https://18bytes.ru/
Version: 1.0
 */

.ast-logo-title-inline .ast-site-identity {padding: 5px 0;}

/* TABLES */
.wp-block-table tbody tr:first-child {background: #333333;}
.wp-block-table tbody tr:first-child td {text-align: center;}
.wp-block-table td, .wp-block-table th {
    border: 2px solid #7c726a;
}

/* CARDS */
*::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}
*::-webkit-scrollbar-track {
    background: #21242d;
}
*::-webkit-scrollbar-thumb {
    background-color: #7c726a;
    border-radius: 5px;
    border: 3px solid #7c726a;
}
.card {
    background-color: #333333;
    color: #ffffff;
}
.card-container {
    padding: 3rem;
    width: 100%;
    height: 650px;
    position: relative;
    perspective: 1500px;
}
.card-item {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #7c726a;
    position: absolute;
    width: 30%;
    min-width: 250px;
    height: 500px;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.15),
    0 10px 20px 0px rgba(0, 0, 0, 0.05),
    -3px -3px 10px 0px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    transform: rotateY(-10deg) rotateX(10deg) scale(0.90);
    transition: all 0.3s;
    overflow: auto;
}
.card-item:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1);
    box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.15),
    0 10px 20px 5px rgba(0, 0, 0, 0.05),
    -3px -3px 10px 3px rgba(255, 255, 255, 0.15);
    z-index: 5;
}
.card-item img {
    margin-bottom: 10px;
    opacity: .8;
}
.card1 {
    top: 0;
    z-index: 1;
    left: 5%;
}
.card2 {
    top: 8%;
    z-index: 2;
    left: 20%;
}
.card3 {
    top: 16%;
    z-index: 3;
    left: 35%;
}
.card4 {
    top: 24%;
    z-index: 3;
    left: 50%;
}
.card5 {
    top: 32%;
    z-index: 3;
    left: 65%;
}
.question {
    font-size: 1.8rem;
    line-height: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.option {
    text-align: left;
    font-size: 1.1rem;
    line-height: normal;
    padding: 0.8rem;
    margin: 0.5rem 0;
    backdrop-filter: blur(2px);
    border-radius: 4px;
    color: #eee;
}

/* END CARDS */

.block-border {border: 2px solid #7c726a;}
.button_link {
    padding: 10px 50px;
}
.nav-pills .nav-link,
.button_link,
.wpcf7-submit {
    border: 2px solid #7c726a!important;
    background: #7c726a!important;;
    color: #ffffff!important;;
    margin-bottom: 15px;
    border-radius: 0;
}
.menu-link:hover {
    color: #ffffff;
    animation: neon-text .1s ease-in-out infinite alternate;
}
.main-header-menu .sub-menu {background-color: #333333;}
.ast-builder-menu,
.ast-main-header-bar-alignment, 
.main-navigation,
.main-header-menu {
	width: 100%;
}
.main-header-menu {justify-content: space-between;}
@keyframes neon-text {
    from {
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.9), 0 0 30px rgba(252, 252, 252, 0.4), 0 0 12px rgba(255, 255, 255, 0.6), 0 0 21px rgba(255, 255, 255, 0.9), 0 0 34px rgba(255, 0, 255, 0.80), 0 0 54px rgba(255, 0, 255, 0.92);
    }
    to {
        text-shadow: 0 0 12px rgb(255, 255, 255), 0 0 30px rgba(255, 255, 255, 0.5), 0 0 12px rgba(255, 255, 255, 0.6), 0 0 22px rgba(255, 255, 255, 0.8), 0 0 38px rgba(255, 0, 255, 0.90), 0 0 60px #FFF;
    }
}
.ast-custom-button {
	opacity: 1 !important;
	border: 2px solid #7c726a !important;
	box-shadow: 0 0 0 2px #eeeeee, inset 0 0 0 2px #eeeeee, 0 0 20px 4px #eeeeee, inset 0 0 20px 4px #eeeeee;
	color: #ffffff !important;
	cursor: pointer;
}
.nav-pills {z-index: 3;}
.nav-pills .nav-link:hover,
.button_link:hover,
.wpcf7-submit:hover,
.ast-custom-button:hover {
    opacity: 1!important;
    border: 2px solid #7c726a!important;
    box-shadow: 0 0 0 2px #eeeeee,inset 0 0 0 2px #eeeeee, 0 0 20px 4px #eeeeee,inset 0 0 20px 4px #eeeeee;
    color:#ffffff!important;
    cursor: pointer;
    transition: 800ms;
    animation: neon 4s infinite;
}
@keyframes neon {
    0% {
        box-shadow: 0 0 0 2px #eeeeee,inset 0 0 0 2px #eeeeee, 0 0 20px 4px #eeeeee,inset 0 0 20px 4px #eeeeee;
    }
    25% {
        box-shadow: 0 0 0 2px #eeeeee,inset 0 0 0 2px #eeeeee, 0 0 20px 8px #eeeeee,inset 0 0 20px 8px #eeeeee;
    }
    50% {
        box-shadow: 0 0 0 2px #eeeeee,inset 0 0 0 2px #eeeeee, 0 0 20px 4px #eeeeee,inset 0 0 20px 4px #eeeeee;
    }
    75% {
        box-shadow: 0 0 0 2px #eeeeee,inset 0 0 0 2px #eeeeee, 0 0 2px 1px #eeeeee,inset 0 0 2px 1px #eeeeee;
    }
    100% {
        box-shadow: 0 0 0 2px #eeeeee,inset 0 0 0 2px #eeeeee, 0 0 20px 4px #eeeeee,inset 0 0 20px 4px #eeeeee;
    }
}
.nav-pills .active {
	opacity: 1 !important;
    border: 2px solid #7c726a !important;
    box-shadow: 0 0 0 2px #eeeeee, inset 0 0 0 2px #eeeeee, 0 0 20px 4px #eeeeee, inset 0 0 20px 4px #eeeeee;
    color: #ffffff !important;
    cursor: pointer;
}
.main-banner .wp-block-cover__image-background {
    width: 100%;
    height: 80vh;
    z-index: 1;
}
.main-banner {overflow: visible;}
.main-banner .wp-block-cover__background {height: 80vh;}
.block-1 button {min-width: 300px;}
.block-3 li {
    list-style: none;
    background: url(images/diamond.png) no-repeat left center;
    padding-left: 80px;
    min-height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    line-height: 1.2;
}
.block-3 p {line-height: 2.5;}
.block-4 > div {
    background: url(images/back-assets.jpg) no-repeat center;
    background-size: cover;
}
.block-5 > div {
    background: url(images/back-cybersecurity.jpg) no-repeat center;
    background-size: cover;
}
.block-7 > div {
    background: url(images/back-form.jpg) no-repeat center;
    background-size: cover;
}
.block-7 p:first-child {
    font-weight: 700;
    font-size: 24px;
    margin-bottom:30px;
}
.main-form-1 .acceptance-anket {
    display: flex;
    align-items: center;
}
.acceptance-anket input {
    width: fit-content;
}
.main-form-1 input {
    width: 100%;
    padding: 7px 10px;
    text-align: center;
    color: #21242d;
    margin-bottom: 20px;
}
label {width: 100%;}
#checkbox-form-1 {margin-right: 15px;}
.main-form-1 #checkbox-form-1+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
}
.acceptance-anket label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: normal;
}

@media (max-width: 1399px) {

}
@media (max-width: 991px) {
    .card1 {
        top: 0;
        left: 0%;
    }
    .card2 {
        top: 8%;
        left: 17%;
    }
    .card3 {
        top: 16%;
        left: 34%;
    }
    .card4 {
        top: 24%;
        left: 51%;
    }
    .card5 {
        top: 32%;
        left: 68%;
    }
}
@media (max-width: 767px) {
    .card-container {height: 600px;}
    .card-item {height: 450px;}
    .card1 {
        top: 0;
        left: 0%;
    }
    .card2 {
        top: 8%;
        left: 15%;
    }
    .card3 {
        top: 16%;
        left: 30%;
    }
    .card4 {
        top: 24%;
        left: 45%;
    }
    .card5 {
        top: 32%;
        left: 60%;
    }
	.card-item {
    	background: rgba(0, 0, 0, 1);
	}
}
@media (max-width: 600px) {

}
@media (max-width: 575px) {
    .card-item {
        width: 80%;
        height: 300px;
    }
    .card-item img {display: none;}
    .card1 {
        top: 0;
        left: 0%;
    }
    .card2 {
        top: 13%;
        left: 5%;
    }
    .card3 {
        top: 26%;
        left: 10%;
    }
    .card4 {
        top: 39%;
        left: 15%;
    }
    .card5 {
        top: 52%;
        left: 20%;
    }
    .nav-link {width: 100%;}
    ul {margin: 0;}
}

/* pages */
.ast-single-entry-banner {background: #333333;}
.google-map {
    border: none;
    filter: grayscale(100%);
}
.image-wrapper {
	width: 100%;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.card-body a {text-decoration: none !important;}
.services-cards h3 {font-size: 22px;}
.price-card {text-align: center;}
.price-card strong {font-size: 22px;}
@media (max-width: 991px) {
	.ast-single-entry-banner[data-post-type="page"] {
		padding-left: 20px;
    	padding-right: 20px;
	}
	.price-card {
		margin-left: -20px;
		margin-right: -20px;
		text-align: left;
	}
	.price-card .card-body {
		padding-left: 20px;
    	padding-right: 20px;
	}
}
@media (min-width: 575px) {
	.ast-blog-layout-6-grid .ast-row {
		margin-left: -20px!important;
		margin-right: -20px!important;
	}
}