.ta-j {
    text-align: justify;
}

.radius-0 {
    border-radius: .5em;
}

.ratio-3-2 {
    position: relative;
}

.ratio-3-2 > * {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.ratio-3-2 {
    /*padding-top: calc(100% / 3 * 2);*/
    aspect-ratio: 3/2
}

.d-b {
    display: block;
}

.over-h {
    overflow: hidden;
}

.content .part a {
    text-decoration: underline;
    font-size: var(--fx-4);
}

.w-title {
    font-size: 2rem !important;
    text-decoration: none !important;
}

.w-100pnew {
    font-size: 2rem !important;
    text-decoration: none !important;
}

/*! CSS Used from: https://club-pride.com/templates/pride/css/main.css */
.grid-chess__content p {
    margin-top: .5rem;
    margin-bottom: .5rem;
    font-size: var(--fx-4);
}

.grid {
    display: grid;
}

.a-cnt-c {
    align-content: center;
}

.gap-2 {
    grid-gap: 2em;
}

.gap-4 {
    grid-gap: 4em;
}

.grid-chess {
    grid-template-columns: 1fr 2fr;
}

.grid-75-25 {
    grid-template-columns: 4fr 2fr;
}
.grid-50 {
    grid-template-columns: 2fr 2fr;
}

video {
    width: 100%;
    height: 100%;
}


.pop-up
{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 80000;
}
.pop-up.act
{
    display: block;
}

@media (max-width: 1366px) and (orientation: landscape){
    .popup__close {
        left: 0px
    }
    .popup__id video {
        position: absolute;
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        transform-origin: bottom left;
    }
}

@media (max-width: 1366px) and (orientation: portrait){
    .popup__id video {
        position: absolute;
        transform: rotate(90deg);
        width: 100vh;
        height: 100vw;
        object-fit: cover;
        transform-origin: bottom left;
        margin-top: -100vw;
    }
}

@media (max-width: 800px) {
    .grid-chess {
        grid-template-columns:1fr;
    }

    .grid-chess:nth-child(odd) > :first-child, .grid-chess:nth-child(odd) > :last-child, .grid-chess:nth-child(even) > :first-child, .grid-chess:nth-child(even) > :last-child {
        grid-column: auto;
        grid-row: auto;
    }
}

.bgv__box {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}

.bgv__wrap {
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
    padding-bottom: calc(100% / 16 * 9);
    background-color: rgba(0, 0, 0, .95);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.bgv__container {
    position: absolute;
    width: calc(200vw + 200vh);
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.bgv__container video {
    width: 100%;
    height: 100%;
}

.gallery {
    margin-top: 1rem;
    display: grid;
    gap: 10px;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
}


.uslugap_wrap {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
}

.uslugap {
    display: inline-block;
    width: 190px;
    border: 1px solid #d1d1d1;
    margin: 15px 15px 15px 15px;
}

.uslugap .uslugap_title {
    margin-bottom: 10px;
}

.uslugap .uslugap_title a {
    text-decoration: none;
    font-size: 18px;
}

.uslugap .uslugap_price {
    margin-bottom: 10px;
}

.uslugap .uslugap_price span {
    font-weight: 550;
}

.ulpage-dop {
    text-align: left;
    margin-top: 1rem;
}

.ulpage-dop div {
    display: inline-block;
    padding: 7px;
    border: 1px solid #ffffff;
    margin-bottom: 5px;
    font-weight: bold;
}

.btnz {
    padding: 5px;
    border: 1px solid white
}

.flex-b-30 {
    flex-basis: 30%
}


.blogp_wrap {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.blogp {
    display: inline-block;
    width: 330px;
    border: 1px solid #d1d1d1;
    margin: 15px 15px 15px 15px;
}

.blogp .blogp_title {
    width: 250px;
    text-align: center;
    margin: 0 auto;
}

.blogp .blogp_title a {
    text-decoration: none;
    font-size: 18px;
}

.blogp .blogp_date {
    margin-bottom: 10px;
    text-align: center;
    margin-top: 10px;
}

.blogp .blogp_date span{
    font-weight: 550;
}

