@font-face {
  font-family: 'VariableFont';
  src: url('/wp-content/themes/twentytwentyone/fonts/Inter-VariableFont.ttf') format('truetype');
}

body {
    color: #000000D9;
    background-size: 70px;
    text-align: justify;
    overflow-x: hidden;
    background: url(//par-all-ax.ru/wp-content/themes/twentytwentyone/img/bg2.png);
    font-family: VariableFont;
    font-size: 15px;
}

* {
    margin:0px;
    padding:0px;
}

h2 {
    font-size: 28px;
}

a {
    color: #0c348c;
    font-weight:600;
}

span {
    font-weight:600;
}

.active-sod .inc_second {
    background:#0c348c;
    color:white;
    border-radius: 5px;
}

.active-slide {
    color:white;
}

.soderjanie_main .inc_second {
    display:none;
}

.active-slide {
    background:#0c348c !important;
}

input#wp-block-search__input-1 {
    border-radius: 5px;
    border: 1px solid black;
    box-shadow: 0px 0px 3px 1px #ffffff61;
    text-transform: uppercase;
    padding: 8px 32px 8px 8px;
    position: relative;
    width:100%;
}

.wp-block-search__button {
    position: absolute;
    right: 2px;
    top: 2px;
    height: calc(100% - 12px);
    margin: 5px;
    width: calc(29px - 4px);
    background-image: url(//par-all-ax.ru/wp-content/themes/twentytwentyone/img/search1.png);
    background-size: contain;
    border: 0;
    border-radius: 15px
}

.animation:after {
    position: absolute;
    content: "параллакс";
    top: 0;
    left: 0;
    animation: animate 5s linear;
    overflow: hidden;
    border-right: 2px solid #f0f1fa;
    color: #293241;
    width: 10px;
    height: 100%
}

@keyframes animate {
    0%,10%,100% {
        width: 0
    }

    70%,90% {
        width: 100%
    }
}

.wp-block-search__inside-wrapper {
    position: relative
}

.icon-block {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    margin: 1px;
    padding: 0 0px;
    cursor: pointer;
    background: #0c348c;
    border-radius: 8px;
}

.icon-block img {
    vertical-align: middle;
    cursor: pointer;
    border-radius: 50%;
}

.table-name {
    padding: 3px;
    font-size: 16px;
    margin-bottom: 2px;
    box-shadow: 0px 0px 10px 0px #c9c9c9;
    background: #0c348c;
    color: #fff;
    border: 1px solid #0c348c;
}

.table-head,.table-sell,.table-name {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
    border: 1px solid #fff;
    box-shadow: 0px 0px 10px 1px #80808029;
    background: #ffffff80;
    justify-content: space-between;
    align-content: space-between;
    margin-bottom: 1px;
    border-radius: 3px
}

span.center {
    text-align: center;
    color:white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header {
    background: #3c394400;
    display: flex;
    align-items: center;
    padding: 5px;
    position: absolute;
    height: 40px;
    margin-bottom: 3px;
    border-radius: 0 0 20px;
    z-index: 9;
    flex-direction: row;
    gap: 3px;
    width: 34px;
    top: 0px;
}

.main .text-block {
    margin-right: 72%;
}

    div#menu1 {
        width: 25px;
        height: 25px;
        float: right;
        background: #3c394452;
        border-radius: 8px;
        background-image: url(//par-all-ax.ru/wp-content/themes/twentytwentyone/img/menu_mu2.png);
        background-size: contain;
    }

.block-menu {
    position: absolute;
    left: 8px;
    top:45px;
}

h1 span, h2 span, .table-item-options>div>div p, h3 {
    color: #fff;
    background: #5181b8;
    padding: 5px;
    display: block;
    border-radius: 5px;
}

h1, h2 {
    margin: 10px 0;
    text-align: center;
    border: 10px solid white;
}

.name-option {
    border-left: 1px solid #bcbcbc
}

p {
    background: #e7ebf3;
    padding: 10px;
    border-left: 0px solid #0c348c;  
}

.text-block__p_max p {
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.name-option:hover:after {
    position: absolute;
    width: calc(100% - 6px);
    text-align: center;
    height: 30px;
    left: 0;
    color: #0c348c;
    padding: 3px;
    bottom: 30px;
    background: #ffffff00;
    border-bottom: 1px solid #0c348c;
    box-shadow: 0px 0px 2px 0px #0c348c;
    border-radius: 5px
}

.table-item-options::-webkit-scrollbar {
    width: 0;
    direction: ltr
}

.table-item-options>div {
    width: calc(100% - 0px);
}

.table-item-option span:nth-child(even) {
    font-weight: 600;
    background: #0c348c1f;
    padding: 10px;
    border-left: 3px solid #0c348c;
    text-align: center;
}

.table-item-options>div>div:first-child {
    font-size: 16px;
}

.cardcard {
    margin: auto;
}

.table-item-options {
    font-size: 13px;
    display: grid;
    grid-template-columns: calc(100% - 0px);
    overflow: scroll;
    height: calc(100% - 0px);
    min-width: 300px;
    align-items: center;
    gap: 5px;
    align-content: stretch;
}

.table-item-options>div {
    height: auto
}

.table-item-options>div {
    min-height: auto
}

.table-item-options>div>div p {
    text-align: left;
    text-transform: uppercase;
    font-weight: 600;
    margin: 10px 0;
    text-align: center;
    border: 10px solid #fff;
}

.table-item-option {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 5px;
    height: auto;
    gap: 10px;
    position: relative;
    border-radius: 3px;
}

.table-item-option span {
    width: 100%;
    min-width: 110px;
    text-align: end;
}

.table-item-option span:last-child {
    text-align: left;
}

.table-item-option span:first-child {
    text-transform: uppercase;
}


h1 {
    font-size:45px;
}

.scroll {
    overflow:auto;
}

.scroll::-webkit-scrollbar {
    width: 2px
}

.scroll::-webkit-scrollbar-track {
    margin: auto;
    margin: 100px
}

.scroll::-webkit-scrollbar-thumb {
    background-color: #0c348c;
    outline: 2px solid #0c348c;
    cursor: pointer;
    border-radius: 3px
}

.item-container-desc {
    display: flex;
    flex-direction: column;
    height: calc(100% - 40px);
    justify-content: center;
    align-items: stretch;
    position: relative;
    width: 100%;
    background: #e7ebf3;
    border-radius: 24px;
    padding:20px 0px;
}


.text-block__p_max ul {
    padding: 10px 20px;
    margin: 5px;
}
.text-block__p_max li {
    margin-bottom:10px;
}

/*содержание*/


.soderjanie {
    position: fixed;
    top: unset;
    height: fit-content;
    overflow: hidden;
    max-width: 500px;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    right: 4%;
    z-index: 15;
    bottom: 0px;
    padding: 10px 20px 10px 10px;
}

.soderjanie a p {
    text-align: left;
    width: 100%;
    margin: 0;
    color: white;
    transform: skew(21deg);
    padding: 5px;
    border-left: 0px solid #0c348c;
}

.soderjanie .menu1-a {
    background: #ffffff40;
    transition: .8s all;
    border: none;
    background-color: #0c348c8a;
    width: max-content;
    text-decoration: none;
    transform: skew(-21deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    margin: 1px;
    padding: 0 20px;
    border-radius: 5px;
}

.menu1-a {
    display:none;
}

.active-slide {
    display:block;
}

div#menu-menu1 a:hover {
    background: #0c348c;
}

.content {
    display: flex;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    height: 100vh;
    max-height: 100vh;
    flex-flow: column nowrap;
    overflow-x: hidden;
}

section {
    min-width: calc(100vw - 0px);
    max-width: calc(100vw - 0px);
    width: calc(100vw - 0px);
    height: calc(100vh - 0px);
    min-height: calc(100vh - 0px);
    max-height: calc(100vh - 0px);
    scroll-snap-align: center;
}

[class*="container-1"] 
    {
        width:calc(100% - 0px);
        height:calc(100% - 0px);
        display:grid;
    	justify-items: center;
        background: #ffffff00;
    }

[class*="container-1-2"] {
    grid-template-columns:1fr 1fr;
    gap:10px;
    background: #ffffff00;
    height: calc(100% - 0px);
}

[class*="container-1-3*"], [class*="container-1-3"] 
    {
        grid-template-columns:1fr 1fr 1fr;
        gap:10px;
        background: #ffffff00;
        height: calc(100% - 0px);
    }

[class*="container-1-3"] > div {
    box-shadow: 0px 0px 10px 6px #c5c5c51a;
}

[class*="container-2"]  {
        width:calc(100% - 10px);
        height:calc(100% - 0px);
        display:grid;
        gap:10px;
}

[class*="container-2-1-3"] > div, [class*="container-2-1-1-2-3"] > div, [class*="container-2-1-2-2-3"] > div, [class*="container-2-1-3-2-3"] > div {
        display:grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap:10px;
}

[class*="container-2-1-1-2-2"] > div, [class*="container-2-1-2-2-2"] > div, [class*="container-2-1-3-2-2"] > div  {
        display:grid;
        grid-template-columns: 1fr 1fr;
        gap:10px;
}

[class*="container-2"] > div > div {
    box-shadow: 0px 0px 10px 6px #c5c5c51a;
}

.main .text-block {
    width: 50%;
    max-width: 500px;
}

.left {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.right {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.text-block {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    padding: 50px 60px;
    box-sizing: border-box;
    max-height: calc(100vh - 0px);
    width: 100%;
    background: #ffffff;
    box-shadow: 0px 0px 10px 6px #c5c5c51a;
    border-radius: 24px;
}


.nohover:hover {
    box-shadow: 0px 0px 10px 4px #ffffff00 !important;
    cursor:auto !important;  
    background: #f2f4f700;
}

.nohover {
    box-shadow: 0px 0px 10px 4px #ffffff00 !important;
    cursor:auto !important;  
    background: #f2f4f700 !important;
}

.table-item-option:hover {
    background: #0c348c;
    color: white;
}

.main-prop {
    position: absolute;
    bottom: 0px;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    width: 100%;
}

.soderjanie_main {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 3px;
    height: 100%;
    box-shadow: 0px 0px 10px 6px #c5c5c569;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 3px;
    background: white;
    width: 35px;
    font-size: 13px;
} 


/* Когда есть active-slide внутри - скрываем все элементы блока */
.soderjanie_main:has(.active-slide) .inc_second {
  display: none;
}

/* Но сам active-slide оставляем видимым */
.soderjanie_main:has(.active-sod) .inc_second {
  display: flex; /* или flex/grid в зависимости от вашей верстки */
}

.active-sod:hover {
    color:white;
}


.soderjanie_main a {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    border-radius: 5px;
    width: fit-content;
    text-decoration: none;
    box-shadow: 0px 0px 8px 1px #0c348c3b;
    background: #ffffff;
    transition: all .5s;
    margin-top:1px;

}

.inc_main {
    padding: 6px;
    min-width: 17px;
}

.inc_second:hover {
    display:block;
}

.inc_main:hover + .inc_second,  /* Если .main — соседний элемент */
.inc_main:hover .inc_second {    /* Если .main — вложен в .inc */
  display: block;
}

.soderjanie_main a:hover .inc_second {
    padding-left:20px;
}

.inc_second {
    transition: all 0.5s;
    min-width: 150px;
    text-align: left;
}

#hash-answer-1 {
    margin-top:50px;
}

/* вопросы в тексте */

p.quest {
    position: absolute;
    content:"?";
    height:fit-content;
    color: #0c348c;
    left: 0px;
    padding:0px 5px;
    top: -5px;
    width: 7px;
    height: 17px;
    overflow: hidden;
    border-radius: 30px;
    transition:all 0.5s;
    text-align: left;
    background:#0c348c;
    box-shadow: 0px 0px 8px 1px #0c348c3b;
    font-size: 13px;
}

#hash-answer-1:hover .quest {
    content:attr(data-quest);
    right: 5px;
    top:-43px;
    height: max-content;
    padding:10px;
    background: #5181b8;
    color: #000000D9;
    color: white;
    border-radius: 5px;
    z-index:1;
    width: fit-content;
}

.quest:after {
    content:"?";
    position:absolute;
    width:100%;
    height:100%;
    top: 0px;
    left: 5px;
    color: white;
}

#hash-answer-1:hover .quest:after  {
   content:""; 
}

#hash-answer-1 p:not(:first-of-type) {
    background: #e7ebf300;
}


#hash-answer-1:hover {
    border-radius:5px;
    box-shadow: 0px 0px 8px 1px #0c348c3b;
    width:calc(100% - 25px);
    background: white;
    left:2px;
    cursor:pointer;
}

#hash-answer-1 {
    position: relative;
    transition:all 0.5s;
    border-left: 0px solid #0c348c;
    width:calc(100% - 25px);
    left:2px;
}

ul#hash-answer-1 {
    width:calc(100% - 50px);
}

ul#hash-answer-1:hover {
    width: calc(100% - 50px);
}



@media (max-width:1025px) {

    [class*="container-1"] {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    [class*="container-m-1-3"] {
        scroll-snap-type: y mandatory;
        overflow-x: hidden;
    }
    [class*="container-m-1-3"] > div {
        min-width: calc(100vw - 0px);
        max-width: calc(100vw - 0px);
        width: calc(100vw - 0px);
        height: calc(100vh - 0px);
        min-height: calc(100vh - 0px);
        max-height: calc(100vh - 0px);
        scroll-snap-align: center;
        background-size: cover !important;
        background-position: center !important;
    }

    [class*="container-2-1-3"] > div {
        scroll-snap-type: y mandatory;
        overflow-x: hidden;
        width: calc(100vw - 0px);
        height: calc(100vh - 0px);
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        scroll-snap-align: center;
        background-size: cover !important;
        background-position: center !important;
    }

    [class*="container-2-1-3"] > div > div {
        min-width: calc(100% - 0px);
        max-width: calc(100% - 0px);
        width: calc(100% - 0px);
        height: calc(100vh - 0px);
        min-height: calc(100vh - 0px);
        max-height: calc(100vh - 0px);
        scroll-snap-align: center;
        background-size: cover !important;
        background-position: center !important;
        border-radius:0px;
    }

    [class*="container-2"] {
        width: calc(100% - 0px);
        height: calc(100% - 0px);
        display: grid;
        gap: 0px;
        scroll-snap-type: y mandatory;
        overflow-x: hidden; 
    }

    [class*="container-m-1-2"] {
        scroll-snap-type: y mandatory;
        overflow-x: hidden;
    }

    [class*="container-m-1-2"] > div {
        min-width: calc(100vw - 0px);
        max-width: calc(100vw - 0px);
        width: calc(100vw - 0px);
        height: calc(100vh - 0px);
        min-height: calc(100vh - 0px);
        max-height: calc(100vh - 0px);
        scroll-snap-align: center;
        background-size: cover !important;
        background-position: center !important;
    }    

    .text-block {
        padding: 10px 10px;
        order: 2;
        justify-content: flex-start;
    }

    .main .text-block {
        margin-right: 0px;
    }

    .nohover {
        order:1;
    }

    .main {
        justify-content: center;
    }

    h1 {
        font-size:40px;
    }

    h2 {
        font-size:25px;
    }  

    .scroll-m-no::-webkit-scrollbar {
        width:0px;
    }

    .soderjanie {
        display:none;
   }

   .block-menu {
        top:6px;
        right:6px;
        z-index:13;
   }

   .header {
        top:0px;
   }

   .table-head {
        width: max-content;
   }

   .cardcard {
        max-width:100%;
   }

   .table-head div, .table-sell div {
        min-width: 150px;
        max-width: 150px;
   }

   .item-container-desc {
        margin:20px 0px 20px 0px;
        height:calc(100% - 80px);
        width: 100%;        
   }

    .table-item-options {
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    .active-sod .inc_second {
        display:none !important;
    }

    .active-sod:hover {
        color:white;
    }
       
    .soderjanie_main {
        display: flex;
        gap: 10px;
        position: absolute;
        top: calc(100% - 40px);
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        height: 40px;
        box-shadow: 0px 0px 10px 6px #c5c5c500;
        width:calc(100% - 20px);
    }

    .soderjanie_main a {
        width: 25px;
        height: 25px;
    }
    
    .inc_main {
        padding:4px;
        position: absolute;
        top: 0px;
    }

    section#section-main {
        background-image: none !important;
    }

    .soderjanie_main {
        background: #ffffff00;
    }

}


        .circle-container {
          position: relative;
          width: 600px;
          height: 600px;
          margin: 50px auto;
          border: 1px dashed #1e4182;
          border-radius: 50%;
        }

        .zemlya {
            background-size: contain;
            width: 500px;
            height: 500px;
            margin: 50px;
            border-radius: 50%;
            overflow: hidden;
            position: relative;
            opacity: 0.2;
            position: absolute;
            top: 0px;
            background-repeat: no-repeat;
        }

        .photo {
            background-size: contain;
            width: 450px;
            height: 450px;
            border-radius: 50%;
            margin: 75px;
        }

        .zemlya:after {
          content:"";
          position:absolute;
          background: #02021c5c;
          width: 500px;
          height: 500px;
          border-radius:50%;
          margin: 0px;
          top: 0px;
          left: 0px;
        }

.text-block__p_max ul {
    padding: 10px 20px;
    margin: 5px;
}



