.modal-dialog {
    max-width: 100%;
    height:650px;
    margin: 0;

    @media (max-width:900px) {
        height: 97vh;
    }

    .modal-header {
        width: 100%;
        border: none;
        position: absolute;
        z-index: 3;

        .close {
            font-size: 38px;
            font-weight: 300;
            color: #fff;
            opacity: 1;
        }

    }
    .modal-content {
        height: 100%;
    }
    .slider-for {
        width: 970px;
        height: 650px;
        margin: 0 auto;

        .slick-slide {
            
            >div {
                width: 970px;
                height:650px;
                margin: 0 auto;
                position: relative;

                @media (max-width:900px) {
                    width: 100vw;
                    height: 97vh;
                }

                >div {
                    height: 100%;
                    position: relative;
                    // background-size: cover;
                    background-position: center;
                    background-repeat: no-repeat;

                    @media (max-width: 900px) {
                        height: auto;
                    }
                }

                // img {
                //     width: 970px;
                //     height:650px;
                // }
                .info_gallery_modal {
                    width: 100%;
                    max-width: 815px;
                    height: 175px;
                    padding: 27px 140px 27px 90px;
                    background: #fff;
                    position: absolute;
                    left: 0;
                    bottom: 0;

                    .wysiwyg {
                        width: 100%;
                        height: 100%;

                        h2 {
                            font-size: 20px;
                            font-family: $secondary-font;
                            letter-spacing: 0.33px;

                            &:before {
                                content: '';
                                width: 80px;
                                height: 1px;
                                display: block;
                                position: absolute;
                                top: 50px;
                                left: 0px;
                                background: rgba(172,121,99,.8);

                                @media (max-width:900px) {
                                    width: 25px;
                                }
                            }
                        
                        }

                        p {
                            font-size: 14px;
                            font-family: $secondary-font;
                            letter-spacing: 0.33px;
                        }
                    }
                    @media (max-width: 900px) {
                        bottom: -175px;
                        padding: 35px;
                    }
                }
                @media (max-width:900) {
                    width: 100%;
                    height: 40vw;
                    min-height: 311px;
                }
            }
        }

        .modal-prev,.modal-next {
            position: absolute;
            bottom: 10%;
            z-index: 2;
            width: 40px;
            height: 40px;
            display: block;
            border-radius: 50%;
            border: 2px solid $color-3;
            line-height: 34px;
            text-align: center;
            cursor: pointer;
            transition: all .5s;
            background: #fff;
    
            i {
                font-size: 18px;
                color: $color-3;
            }
    
            &:hover {
                background: $color-3;
    
                i {
                    color: #fff;
                }
            }

            @media (max-width: 900px) {
                bottom: 4%;
            }
        }
        .modal-prev {
            right: 250px;

            @media (max-width: 900px) {
                right: 80px;
            } 
        }
        .modal-next {
            right: 200px;

            @media (max-width:900px) {
                right: 35px;
            }
        }
        @media(max-width:900px) {
            width: 100%;
        }
    }
}
.layer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(44,48,46,.71);
    z-index: 2;
    display: none;

    @media(max-width:900px) {
        display: block;
    }
}


.modal-criterios {
    padding: 0 !important;

    .modal-dialog {
        width: 100%;
        max-width: 1440px;
        height: 100%;
        max-height: 665px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    

        .modal-content {
            border: 0;
            border-radius: 0;

            .modal-body {
                height: 100%;
                padding: 0;
            }
        }
    }

    .box-tabs {
        width: 100%;
        height: 100%;
        padding-right: 50%;
        position: relative;

        .nav-tabs {
            height: 70px;
            padding: 0 10px;
            box-sizing: border-box;
            align-items: center;
            justify-content: space-between;

            li {

                a {
                    transition: all .5s;

                    &.active {

                        &.sticky {

                            &:before {
                                opacity: 1;
                            }
                        }
                        &.txt-lg {
                            font-weight: 700;
                        }

                    }
               
                }
            }
            @media(max-width:900px) {
                display: none;
            }
        }
        .tab-content {
            height: calc(100% - 70px);

            .tab-pane {

                &.active {
                    height: 100%;
                    display: flex;
                    align-items: center;

                    @media(max-width:900px) {
                        flex-wrap: wrap;
                        flex-direction: column-reverse;
                    }
                }
                .info-tab {
                    padding: 0 30px 0 110px;

                    @media(max-width:900px) {
                        padding: 30px;
                        
                        h3 {
                            font-size: 20px;

                            &:before {
                                top: 11.5px;
                                left: -9%;
                                width: 25px;
                            }
                        }
                        h4 {
                            display: none;
                        }
                    }
                }

                .box-img {
                    width: 100%;
                    max-width: 655px;
                    height: 100%;
                    position: absolute;
                    right:0;
                    top: 0;
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-position: center;

                    @media (max-width:900px) {
                        height: 236px;
                        position: static;
                        background-size: cover;
                    }

                    .close {
                        position: absolute;
                        top: 10px;
                        right: 10px;
                        color: #fff;
                        opacity: 1;

                        span {
                            opacity: 1;
                            color: #fff;
                            font-weight: 400;
                            font-size: 40px;
                        }
                    }
                }
            }
            @media(max-width:900px) {
                height: auto;
            }
        }
        @media(max-width:900px) {
            padding-right: 0;
        }
    }
    @media(max-width:900px) {
        max-height: 526px;
        bottom: 0;
        right: 0;
        margin: auto;
    }
}
.modal-content {
    border: 0;
    border-radius: 0;
}
.modal-backdrop {
    background: #fff;
}

#exampleModal {
    padding: 0 !important;

    .modal-dialog {
        width: 100%;
        height: 100%;
        position: fixed;
        margin: 0;
        background: #fff;
        z-index: 2;

        .modal-header {
            position: static;
            padding: 0;

            .close {
                color: #000;
                font-weight: 500;
            }
        }
        .modal-content {
            background: transparent;
        }
        .wraper__modal {
            width: 100%;
            max-width: 1070px;
            max-height: 660px;
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            margin: auto;
            background: transparent;
            z-index: 2;
        }
        .wrapper-content {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: flex-start;
            z-index: 2;

            .modal__info {
                width: 100%;
                max-width: 1070px;
                margin: 0 auto;
                @media(max-width:900px) {
                    padding: 0px 20px;
                }
                &.xl {
                    max-width: 1170px;

                }
                .wysiwyg {
                    max-width: 770px;
                    height: 500px;
                    overflow: auto;
                    column-count: unset;
                    column-gap: unset;
                    &:-webkit-scrollbar{

                        background-color: red;
                        outline: 1px solid red;
                      }
                    margin: 0 auto;
                }

                h2 {
                    margin-bottom: 20px;
                    font-size: 30px;
                    letter-spacing: 1px;
                    font-weight: 400;
                    position: relative;
                    font-family: $secondary-font;
                    color: $title-color-1;
                    transition: .5s all;
            
                    &:before {
                        content: '';
                        width: 90px;
                        height: 1px;
                        display: block;
                        position: absolute;
                        top: 15px;
                        left: -105px;
                        background: rgba(172,121,99,.8);
                    }
                }
                h3 {
                    margin-bottom: 20px;
                    font-family: $secondary-font;
                    font-size: 18px;
                }
                p {
                    margin-bottom: 30px;
                }
            }
            .box__audio {
                display: flex;
                justify-content: center;
                align-items: center;
                audio {
                    width: 100%;
                }
            }
            .box__video {
                max-width: 960px;
                margin: 0 auto;
                position: relative;   

                video {
                    width: 100%;
                    height: 460px;
                    display: block;
                    object-fit: fill;
                }
                .layer {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    display: block;
                    background: transparent;
                    z-index: 33;

                    .play {
                        width: 90px;
                        height: 90px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        position: absolute;
                        top: 0;
                        left: 0;
                        right: 0;
                        bottom: 0;
                        margin: auto;
                        border: 1px solid $color-2;
                        border-radius: 50%;
                        cursor: pointer;
                        transition: all .5s;

                        i {
                            width: 100%;
                            display: initial;
                            font-size: 40px;
                            color: #fff;
                            text-align: center;
                        }
                        &:hover {
                            transform: scale(0.9);
                        }
                    }
                }
            }
        }
    }
}
.slider-for{
    visibility: hidden;

    &.slick-initialized{
        visibility: visible;
    }
}
#modal-slick {

    .modal-dialog {
            
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin:  auto;
    }

    .modal-content {
        max-width: 970px;
        margin: 0 auto;
    }
}
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.embed-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

.jurymodal {
    padding-right: 0px;
    .modal-dialog .modal-header .close {
        color: black;
    }
    .modal-dialog .modal-header {
        top: 0;
    }
    .modal-dialog {
        width: 100%;
        height: 100%;
        position: fixed;
        margin: 0;
        background: #fff;
        z-index: 2;
    }
    .wraper__modal {
        width: 100%;
        max-width: 1070px;
        max-height: 660px;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        margin: auto;
        background: transparent;
        z-index: 2;
        display: flex;
        align-items: center;
        @media (max-width: 900px) {
            align-items: flex-start;
            overflow-y: scroll;
        }
    }
    .modal-dialog .modal-content {
        height: 100%;
    }
    .modal-content {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        pointer-events: auto;
        outline: 0;
        background: transparent;
    }
    &--body {
        display: flex;
        flex-direction: row;
        @media (max-width: 900px) {
            flex-direction: column-reverse;
        }
    }
    &--img {
        width: 35%;
        margin-right: 40px;
        margin-left: 35px;
        @media (max-width: 900px) {
            width: 100%;
            margin-right: 0px;
            margin-left: 0px;
            margin-bottom: 20px;
        }
    }
    &--text {
        width: 65%;
        @media (max-width: 900px) {
            width: 100%;
        }
    }
    .wysiwyg {
        max-width: 770px;
        height: 500px;
        overflow: auto;
        -webkit-column-count: unset;
        -moz-column-count: unset;
        column-count: unset;
        -webkit-column-gap: unset;
        -moz-column-gap: unset;
        column-gap: unset;
        margin: 0 auto;
        @media (max-width: 900px) {
            height: auto;
        }
    }
}

.swal-title {
    font-family: "Georgia";
    font-weight: normal;
    font-size: 22px;
}

.swal-text {
    font-size: 14px;
}