/**
Theme Name: MSU Astra Child
Author: ITMajlo
Author URI: https://itmajlo.pl
Description: MSU Child theme
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: msu-astra-child
Template: astra
*/



.clients-sliders {
    * {
        transition-timing-function: linear !important;
    }
}

:root {
    --scrollbar-width: 0px;
}

.uagb-block-8cb8b8e6 {
    svg {
        height: 44px !important;
        width: 44px !important;
    }
}

@media (min-width: 1024px) {

    .ast-plain-container.ast-no-sidebar .entry-content>.alignfull,
    .ast-page-builder-template .ast-no-sidebar .entry-content>.alignfull {

        margin-left: calc(-50vw + 50% + var(--scrollbar-width)/2);

        margin-right: calc(-50vw + 50%);
        width: calc(100vw - var(--scrollbar-width));
        max-width: calc(100vw - var(--scrollbar-width));
        box-sizing: border-box;
    }
}

.msu-animation-balls {
    --ball-progress: 0;

    position: relative;
    overflow: visible;

    &:after,
    &:before {
        z-index: 2;
        content: "";
        position: absolute;
        right: 0;
        transform: translateX(50%);
        background: var(--ast-global-color-0);
        will-change: top, bottom;
    }

    &:after {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        opacity: .66;
        bottom: calc(10px + var(--ball-progress) * (100% - 70px));
    }

    &.left:before,
    &.left:after {
        left: 0 !important;
        right: unset !important;
        transform: translateX(-50%) !important;
    }

    &:before {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        opacity: .66;
        top: calc(10px + var(--ball-progress) * (100% - 120px));
    }
}

.wp-block-accordion-heading__toggle-icon {
    font-size: 0;
    width: 36px;
    height: 36px;
    position: relative;
    display: inline-block;
    transition: transform .3s ease;
    background: var(--ast-global-color-2);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M480-240 240-480l56-56 144 144v-368h80v368l144-144 56 56-240 240Z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M480-240 240-480l56-56 144 144v-368h80v368l144-144 56 56-240 240Z'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
}

.wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
    transform: rotate(180deg) !important;
}

.uagb-block-8cb8b8e6 {
    svg {
        height: 44px !important;
        width: 44px !important;
    }
}

.wpcf7-submit {
    float: right;
}

.wpcf7-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    background-color: transparent;
    font-family: sans-serif;
}

.wpcf7-form p {
    margin: 0;
    padding: 0;
    width: 100%;
}

.wpcf7 form>div,
.wpcf7 form>p {
    margin-bottom: 10px !important;
}

.wpcf7 input.wpcf7-form-control:not([type=submit]),
.wpcf7 textarea.wpcf7-form-control {
    margin-top: 10px !important;
}

.wpcf7-form p:nth-of-type(1) {
    grid-column: 1 / -1;
}

.wpcf7-form p:nth-of-type(2) {
    grid-column: auto;
}

.wpcf7-form p:nth-of-type(3) {
    grid-column: auto;
}

@media (max-width: 768px) {
    .wpcf7-form {
        grid-template-columns: 1fr;
    }
}

.wpcf7-form p:nth-of-type(4) {
    grid-column: 1 / -1;
}

.wpcf7-form p:nth-of-type(5) {
    grid-column: 1 / -1;
    text-align: right;
    margin-top: 10px;
}

.wpcf7-form label {
    color: #eeeeee;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.wpcf7-form label br {
    display: none;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea {
    width: 100%;
    background-color: #2b2b2b;
    border: 1px solid #e67e22;
    border-radius: 15px;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #ff9f43;
    box-shadow: 0 0 8px rgba(230, 126, 34, 0.3);
}

.wpcf7-form textarea {
    height: 150px;
    resize: vertical;
}
.ast-header-social-1-wrap .ast-builder-social-element, .ast-header-social-1-wrap .social-show-label-true .ast-builder-social-element{
    margin-right: 8px;
    margin-left: 0 !important;
}
.wpcf7-form input[type="submit"] {
    background-color: #e67e22;
    color: #ffffff;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    display: inline-block;
}

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

.header-social-inner-wrap svg {
    fill: var(--ast-global-color-0)
}

.wpcf7 input[type="checkbox"] {
    accent-color: var(--ast-global-color-0);
}

input[type=checkbox] {
    width: 15px !important;
    min-width: 15px !important;
}

.wpcf7-list-item {
    margin: 0 !important;
}

label label:has(input[type="checkbox"]) {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

.wpcf7-form label {
    margin: 0;
}

.categories .category figure {
    overflow: hidden;
    margin: 0;
}

.categories .category figure img {
    width: 100%;
    height: clamp(200px, 25vw, 500px);
    object-fit: cover;
}

.category>.wp-block-uagb-container {
    padding: 20px 60px
}


.categories .category {
    transition: transform .3s ease, box-shadow .3s ease;
    border-radius: 20px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    gap: 0 !important;
}

.categories .category:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}
.wp-block-accordion-heading {
    border-radius: 50px !important;

    * {

        transition: .2s ease !important;
    }
}
.category svg{
    
    transition: all .2s ease !important;
}
.category:hover svg{
    fill:var(--ast-global-color-2)
}
#ast-scroll-top {

    background-color: var(--ast-global-color-0) !important;
}

.wp-block-accordion-heading__toggle[aria-expanded="true"] {
    background-color: var(--ast-global-color-0) !important;

    span {
        color: #FFF !important;
    }

    .wp-block-accordion-heading__toggle-icon {
        background: #FFF !important;
    }

}

.wp-block-accordion-heading__toggle:hover {
    .wp-block-accordion-heading__toggle-icon {
        background: #FFF !important;
    }
}

.ast-theme-transparent-header #masthead {
    .ast-builder-menu-1 {
        margin-left: 20px;
    }

    div[data-section="section-hb-social-icons-1"] {
        margin-right: 20px !important;
    }

    .site-branding {
        padding: 0 10px 0px 10px;
    }

    .site-header-section {
        height: 60px;
        background: #FFF;
        border-radius: 20px;
    }

    .ast-builder-grid-row {
        justify-content: space-between;
    }

    position: fixed;
}
#content #primary .wp-block-accordion-heading,
#content #primary .wp-block-accordion-heading__toggle {
    border-radius: 20px !important;
}
body:not(.home) #content{
    padding-top:110px;
}
footer{
    margin-top:20px;
}
.footer-copyright{
    display: flex;
    flex-direction: column;
    a{
        color: var(--ast-global-color-3) !important;
    }
}