/**
Theme Name: Nicolesassaman
Author: Brainstorm Force (Modified by Nicole Sassaman)
Author uri: http://wpastra.com/about/
Description: Astra subsidiary for Nicole Sassaman. Transferred from Cakephp 2. Adapted to work with Elementor.
Version: 1.0.0
License: GNU General Public License V2 or Later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Nicolesassaman
Template: astra
*/

/* Redundancy of the topic Astra */
.ast-container {
    max-width: 1120px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.ast-page-builder-template .site-content {
    padding: 0 !important;
}

.site-footer {
    padding: 0 !important; /* Delete the backwards of the footer */
}

.site-primary-footer-wrap {
    padding: 0 !important; /* Delete the indentations of the main part of the footer */
}

.ast-footer-copyright {
    display: none !important; /* Hide the copy of Astra */
}

/*!* Reset styles for Elementor blocks *!*/
/*.elementor-section-wrap section.elementor-section {*/
/*    padding: 0;*/
/*}*/

/*!* Headlines for Elementor *!*/
/*.elementor-heading-title {*/
/*    font-family: 'BaskervilleLightItalic', serif !important;*/
/*}*/

/*!* Buttons for Elementor *!*/
/*.elementor-button {*/
/*    background-color: transparent !important;*/
/*    border: none !important;*/
/*    text-transform: uppercase !important;*/
/*    text-decoration: underline !important;*/
/*    padding: 0 !important;*/
/*}*/

/*.elementor-button:hover {*/
/*    text-decoration: underline !important;*/
/*    background-color: transparent !important;*/
/*}*/

/*!* Corrections for the mobile menu Elementor *!*/
/*.elementor-menu-toggle {*/
/*    color: #333 !important;*/
/*}*/

/*.elementor-nav-menu--dropdown {*/
/*    background-color: #f4f4f4 !important;*/
/*}*/

/*!* Reset for Elementor *!*/
/*.elementor {*/
/*    --gap: 0;*/
/*}*/

/*.elementor-section-boxed > .elementor-container {*/
/*    max-width: 1040px !important;*/
/*    padding: 0 40px !important;*/
/*}*/

/* Container for adaptation to the header */
.header-offset {
    margin-top: 61px;
}

/* Elements hidden in the mobile version */
@media only screen and (max-width: 767px) {
    .mobile-hidden {
        display: none !important;
    }
}

/* Reset styles for Elementor Editor */
body.elementor-editor-active #header,
body.elementor-editor-active #back_to_top {
    pointer-events: none; /* Turn off the events of the mouse for the header in the editor */
}
#header.alter {
    background: rgba(244, 244, 244, 0.95);
}
body.home,
html {
    background: transparent;
}

#scroll #content #inner {
    min-height: 800px;
    position: relative;
    font-size: 15px;
    line-height: 160%;
    font-family: 'AvenirLTStd55RomanRegular', serif;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}
#scroll {
    overflow: hidden;
}
.has-no-banner-page #scroll #content #inner {
    min-height: initial!important;
}
/* General styles for Cover */
#cover {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

/* Video banner */
.home #cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1; /* баннер ниже всех слоев */
}
.home #cover video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home #scroll,
.home #content,
.home #inner {
    background: transparent;
}

.elementor-section {
    background-color: #f4f4f4;
}
.home #scroll #content {
    padding-top: 100vh;
    padding-bottom: 100vh;
}
.home #scroll {
    position: relative;
    background: transparent;
    z-index: 1;
}

/* Wrapping of content, begins below the banner */
.home #content {
    padding-top: 100vh; /* important point */
    background: transparent; /* background is also transparent */
}

/* The background must be set on internal elements (for example, elementor sections) */
.elementor-section {
    background-color: #f4f4f4;
}

.main-content {
    min-height: 800px;
    background: #f4f4f4;
    padding-top: 3rem;
}
.has-no-banner-page .main-content {
    padding-top: 0!important;
    min-height: initial!important;
}
#heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 100%;
    font-weight: 700;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    padding-left: 25rem;
}

body.scrolling .home #heading {
    opacity: 0;
    transform: translate(-50%, -120%);
}

@media only screen and (max-width: 992px) {
    #heading {
        display: flex;
        flex-direction: column;
    }
    #heading .header-links > span, #heading .header-links > a {
        display: block;
    }
    #heading .header-links > span:first-child, #heading .header-links > a:first-child {
        border: 0;
    }
}
#heading .header-links > span, #heading .header-links > a {
    -webkit-transition: all 150ms ease;
    -moz-transition: all 150ms ease;
    -o-transition: all 150ms ease;
    transition: all 150ms ease;
    display: inline-block;
    font-size: 42px;
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    color: #333;
    line-height: 42px;
    white-space: nowrap;
    padding: 0 24px;
}
@media only screen and (max-width: 479px) {
    #heading .header-links > span, #heading .header-links > a {
        font-size: 30px;
        line-height: 30px;
    }
}
#filter {
    background-image: url('assets/img/new/filter.png');
    top: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

#ast-scroll-top {
    display: none!important;
}

.has-banner-page #cover {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
    z-index: 1;
}

.has-banner-page #parallax {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    will-change: transform;

}

/* Заголовки для страницы Radio */
.has-banner-page #cover_title {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: opacity 0.5s ease;
}

.has-banner-page #second_title {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Стили для нижнего баннера */
#bottom_cover {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background-color: #000;
}

#bottom_parallax {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

#bottom_cover .grad_l,
#bottom_cover .grad_r {
    position: absolute;
    width: 50px;
    height: 100%;
    top: 0;
    z-index: 1;
}

#bottom_cover .grad_l,
.grad_l {
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
}

#bottom_cover .grad_r,
.grad_r {
    right: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.3), transparent);
}


.has-banner-page #inner {
    padding-bottom: 100vh; /* Важно для показа нижнего баннера */
}

/* Стрелка скролла */
#scroll_down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 30px;
    height: 30px;
    border-left: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: translateX(-50%) rotate(-45deg);
    animation: scroll-down-animation 2s infinite;
    cursor: pointer;
    z-index: 3;
}
@media only screen and (max-width: 768px) {
    #scroll_down {
        bottom: 20px;
        width: 20px;
        height: 20px;
    }
}

@keyframes scroll-down-animation {
    0% {
        opacity: 0;
        transform: translateX(-50%) rotate(-45deg) translate(0, 0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) rotate(-45deg) translate(20px, 20px);
    }
}

.title-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
    pointer-events: none;
    width: auto;
    background: none;

}

.page-title {
    font-size: 4rem;
    letter-spacing: .5rem;
    font-family: 'AvenirLTStd55RomanRegular', serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
    background: none;
    margin-bottom: 0!important;
}

/* When the content overlaps the title, make it "carved" */
.content-overlap .page-title {
    color: transparent;
    text-shadow: none;
    background-clip: text!important;
    line-height: normal;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#scroll {
    z-index: 10;
    position: relative;
}

.bottom-title {
    font-size: 4rem;
    letter-spacing: .5rem;
    font-family: 'AvenirLTStd55RomanRegular', serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    position: fixed;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 8;
    pointer-events: none;
    background: none;
}

.title-container::before,
.title-container::after,
.page-title::before,
.page-title::after,
.bottom-title::before,
.bottom-title::after {
    display: none;
}

@media only screen and (max-width: 768px) {
    .page-title,
    .bottom-title {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 480px) {
    .page-title,
    .bottom-title {
        font-size: 2rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fixed-container {
    max-width: 1200px !important;
    width: 100% !important;
    padding: 0 30px !important;
}
@media only screen and (max-width: 479px) {
    .fixed-container {
        padding: 0 10px !important;
    }
}

@media only screen and (max-width: 360px) {
    .fixed-container #logo,
    .fixed-container .menu-toggle {
        zoom: .7;
    }
}


.radio-label h2 {
    text-align: left!important;
}

.radio-logo img {
    width:82px!important;
    height:70px!important;
}

.inner .elementor-shortcode:before {
    content: '';
    display: block;
    background: #f5f5f5;
    position: absolute;
    width: 651px;
    height: 45px;
    margin: 4px 2px 0 0;
    right: 0;
}
.inner .elementor-shortcode {
    position: relative;
}

.books-card .cciss6fu {
    width: 320px!important;
    height: 426px!important;
}

.modal-header h2 {
    font-family: 'BaskervilleLightItalic', serif!important;
    margin: 0 auto;
    text-transform: capitalize;
    font-style: italic;
    line-height: 120%;
    font-size: 42px;
    font-weight: 400;
}

/* video list */

.video-item {
    width: 90% !important;
    margin-inline-end: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: right !important;
}
@media only screen and (max-width: 479px) {
    .video-item {
        flex-direction: column !important;
    }
    .video-item .video-info {
        width: 80% !important;
        margin-left: auto!important;
        margin-right: auto!important;
        margin-top: -4rem !important;
    }

    .video-item:nth-child(odd) .video-info {
        order: initial!important;
    }
    .video-item .video-wrap {
        width: 100% !important;
        aspect-ratio: unset!important;
    }
}
.video-item .video-wrap {
    aspect-ratio: 1/1;
    width: 50%;
    overflow: hidden;
}

.video-item .video-wrap video {

}

.video-item .video-info {
    width: 50%;
    margin-left: -4rem;
    margin-right: 0;
    padding: 30px;
}

.video-item:nth-child(odd) .video-info {
    order: -1;
    margin-left: 0;
    margin-right: -4rem;
}

.video-item .video-info h2 {
    font-family: BaskervilleLightItalic, serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 26px;
    color: #333333ff;
}

.video-item .video-info .video-link {

}

.video-list {
    display: flex;
    align-items: center!important;
}


/* tuning for the mobile version */
@media only screen and (max-width: 660px) {
    .page-id-255 #cover #parallax {
        background-position-x: 37%!important;
    }
    .page-id-205 #cover #parallax {
        background-position-y: 50%!important;
        background-size: cover;
    }
}

@media only screen and (max-width: 992px) {
    .pp_details {
        background-color: transparent !important;
    }
}

.home #heading {
    opacity: 1;
    z-index: 2;
    width: 80%;
    display: flex;
    flex-direction: column;
}

.dropdown-menu-toggle.ast-header-navigation-arrow {
    display: none;
}

.home #heading #parallax-text {
    margin-top: 6rem;
    margin-bottom: 2rem;
    height: 20ch;
    padding: 0 1rem;
}
@media only screen and (min-width: 1500px) {
    .home #heading #parallax-text {
        padding: 0 5rem;
    }
    #heading .header-links > span:first-child, #heading .header-links > a:first-child {
        border-right: 2px solid #333;
    }
}
@media only screen and (max-width: 1100px) {
    .home #heading {
        width: 90%;
    }
    .home #heading #parallax-text {
        height: 30ch;
    }
}

@media only screen and (max-width: 1000px) {
    .home #heading #typed-container {
        font-size: 25px !important;
    }

    .home #heading #typed-container #typed,
    .home #heading #typed-container .cursor {
		display:none;
    }

    .home #heading {
        padding-left: 20rem !important;
    }
}
@media only screen and (max-width: 800px) {
    .home #heading #typed-container {
        font-size: 20px !important;
		display:none;
    }
    .home #heading {
        padding-left: 15rem !important;
    }
    .home #heading .header-links > span, .home #heading .header-links > a {
        font-size: 25px!important;
        line-height: 35px!important;
    }
}
@media only screen and (max-width: 600px) {
    .home #heading #typed-container {
        font-size: 30px !important;
		display:none;
    }
    .home #heading {
        padding-left: 10rem !important;
        width: 100%;
    }
    .home #heading #parallax-text {
        height: 25ch;
    }
    .home #heading .header-links > span, .home #heading .header-links > a {
        font-size: 25px!important;
        line-height: 30px!important;
        color: #333;
    }
}

@media only screen and (max-width: 500px) {
    .home #heading {
        padding-left: 0rem !important;
    }
    .home #heading .header-links > span, .home #heading .header-links > a {
        color: white!important;
        text-shadow: 1px 1px 5px black!important;
    }
    .home #cover #parallax {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    /*.home #typed-container {*/
    /*    color: white!important;*/
    /*    text-shadow: 1px 1px 5px black!important;*/
    /*}*/
    .home #cover #parallax video {
        /*width: auto;*/
        /*height: auto;*/
        /*object-fit: none;*/
        object-position: 10%;
    }
    .home #heading #parallax-text {
        height: 25ch;
        order: 1;
        margin-top: 0;
    }
    .home #heading .header-links {
        order: 0;
        margin-bottom: 1rem;
        /*text-shadow: 1px 1px 5px black;*/
    }
    /*.home #cover {*/
    /*    bottom: 0;*/
    /*    top: auto;*/
    /*}*/

}
.elementor-widget-video .elementor-wrapper {
    aspect-ratio: 16 / 9 !important;
    position: relative;
    overflow: hidden;
    background-color: transparent;
}
.elementor-widget-video .elementor-wrapper iframe, .elementor-widget-video .elementor-wrapper video {
    position: absolute;
    top: -3px;
    left: -2px;
    object-fit: fill;
    width: calc(100% + 8px) !important;
    height: calc(100% + 8px) !important;
    background-color: transparent!important;
}

.my-icon a.elementor-icon {
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.my-icon .elementor-icon-wrapper,
.my-icon {
    height: 100% !important;
}

.swiper-wrapper {
    align-items: center !important;
}
