/*******************************************************
 *
 * Book
 *
 *******************************************************/
.ip-banner {
    display: none;
}

.ip-container .header-inner {
    width: 100%;
}

#inner-page-wrapper {
    margin-bottom: 0;
}

    #inner-page-wrapper > .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

.footer-contacts-container {
    padding-top: 7.188vw;
}

div#footer-contacts {
    display: none;
}

.ip-tedx-container {
    display: block;
    position: relative;
}

#ip-tedx {
    font-size: 0;
    letter-spacing: normal;
    line-height: 1;
}

.ip-tedx-wrapper {
    display: block;
    position: relative;
}

.ip-tedx-main {
    display: block;
    position: relative;
}

.ip-tedx-section {
    display: block;
    position: relative;
}

.ip-tedx-video-container {
    display: block;
    position: relative;
    padding-left: 5.5vw;
}


.ip-tedx-video canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    background-position: center;
    background-size: cover;
}

.ip-tedx-video iframe {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.ip-tedx-logo {
    position: absolute;
    /*bottom: 61px;
    left: 57px;*/
    left: 3.8%;
    bottom: 7.7%;
    z-index: 2;
}
    .ip-tedx-logo img {
        display: block;
        max-width: 100%;
    }

.ip-tedx-video-text {
    position: absolute;
    /*bottom: 96px;
    right: 90px;*/
    bottom: 12%;
    right: 5.95%;
    width: 460px;
    max-width: 100%;
}
    .ip-tedx-video-text h2 {
        font-weight: 500;
        font-size: 35px;
        line-height: 1.286;
        color: #fff;
        margin-bottom: 36px;
        margin-top: 47px;
    }
    .ip-tedx-video-text p {
        font-weight: 300;
        font-size: 18px;
        letter-spacing: 0.05em;
        margin-bottom: 20px;
        line-height: 1;
        color: #fff;
    }
    .ip-tedx-video-text a.global-btn.is-colored {
        max-width: 313px;
    }

.ip-tedx-video {
    display: block;
    position: relative;
    overflow: hidden;
    z-index: 2;
}
    .ip-tedx-video:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #000;
        opacity: 0.45;
    }

.ip-tedx-video .cycloneslider-template-video .cycloneslider-volume {
    top: auto;
    bottom: 3.125vw;
    right:  3.125vw;
    width: 2.500vw;
    height: 2.500vw;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


.ip-tedx-video-icon span.ai-icon-play {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 32px solid #fff;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}


.ip-tedx-video-icon span.ai-font-pause-button-a{
     position: absolute;
     content: '';
     top: 50%;
     left: 50%;
     -webkit-transform: translate(-50%,-50%);
     -ms-transform: translate(-50%,-50%);
     transform: translate(-50%,-50%);
     font-size: 3vw;
     color: #fff;
     -webkit-transition: 0.3s all ease-in-out;
     -o-transition: 0.3s all ease-in-out;
     transition: 0.3s all ease-in-out;
     display: none;
     opacity: 0;
}


.ip-tedx-video-icon {
    position: absolute;
    top: 50%;
    left: 47%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 10;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    width: 9.375vw;
    height: 9.375vw;
    border-radius: 50%;
    border: 2px solid #fff;
    cursor: pointer;
}

.ip-tedx-video-icon span.ai-font-play-button-a {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    font-size: 3vw;
    color: #fff;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-tedx-video:hover .ip-tedx-video-icon span.ai-font-pause-button-a {
    opacity: 1; 
}

.ip-tedx-video-bg {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}


.ip-tedx-video video {
   min-width: 100%;
   min-height: 100%;
   width: 100%;
   height: auto;
   position: absolute;
   top: 50%;
   left: 50%;
   -webkit-transform: translate(-50%,-50%);
   -ms-transform: translate(-50%,-50%);
   transform: translate(-50%,-50%);
   z-index: 1;
}

.ip-tedx-video-icon span.ai-icon-youtube {
    background-image: url(images/ai-youtube-icon.png);
    width: 3.438vw;
    height: 2.563vw;
}


.ip-tedx-video.active .ip-tedx-video-icon {
    opacity: 0;
}

.ip-tedx-video.active:hover .ip-tedx-video-icon {
    opacity: 1;
}

*::-webkit-media-controls-panel {
  display: none!important;
  -webkit-appearance: none;
}

/* Old shadow dom for play button */

*::-webkit-media-controls-play-button {
  display: none!important;
  -webkit-appearance: none;
}

/* New shadow dom for play button */

/* This one works! */

*::-webkit-media-controls-start-playback-button {
  display: none!important;
  -webkit-appearance: none;
}


.ip-tedx-section.section2 {
    position: relative;
    padding: 0 90px;
    background: #102339;
    text-align: center;
}
    .ip-tedx-section-inner {
        background: #fff;
        padding: 100px 10% 112px;
    }
    .ip-tedx-section-inner h2 {
        font-size: 70px;
        line-height: 1;
        color: #0a2c53;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        font-family: var(--encorpada);
        font-weight: 300;
        margin-bottom: 37px;
    }
    .ip-tedx-section-inner p {
        font-size: 17px;
        letter-spacing: 0.05em;
        line-height: 1.7647;
        color: #444444;
        margin-bottom: 39px;
    }
        .ip-tedx-section-inner p a {
            color: #15283e;
        }

    .ip-tedx-section-btn {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-flow: row wrap;
    }
        .ip-tedx-section-btn a.global-btn {
            max-width: 313px;
        }

.ip-tedx-section.section3 {
    position: relative;
    overflow: hidden;
    padding: 60px 90px 110px;
}
    .ip-tedx-gallery-holder {
        max-width: 1140px;
        margin: 0 auto;
    }
    .ip-tedx-gallery {
        font-size: 0;
    }
        .ip-tedx-gallery-slide {
            display: flex !important;
            flex-wrap: wrap;
        }
        .ip-tedx-gallery-col {
            display: flex;
            flex-wrap: wrap;
        }
        .ip-tedx-gallery-col:nth-child(1) {
            width: 72.28%; /*826*/
        }
            .ip-tedx-gallery-col:nth-child(1) .ip-tedx-gallery-item:nth-child(odd) {
                width: 38.25%; /*316*/
            }
            .ip-tedx-gallery-col:nth-child(1) .ip-tedx-gallery-item:nth-child(even) {
                width: 61.75%; /*508*/
            }
        .ip-tedx-gallery-col:nth-child(2) {
            width: 27.72%; /*314*/
        }
            .ip-tedx-gallery-col:nth-child(2) .ip-tedx-gallery-item:nth-child(1) {
                width: 100%;
            }
        .ip-tedx-gallery-col:nth-child(3) {
            width: 100%;
        }
            .ip-tedx-gallery-col:nth-child(3) .ip-tedx-gallery-item:nth-child(1) {
                width: 44.56%; /*508*/
            }
            .ip-tedx-gallery-col:nth-child(3) .ip-tedx-gallery-item:nth-child(2) {
                width: 27.71%; /*316*/
            }
            .ip-tedx-gallery-col:nth-child(3) .ip-tedx-gallery-item:nth-child(3) {
                width: 27.73%; /*316*/
            }
        .ip-tedx-gallery-col:nth-child(4) {
            width: 100%; 
        }
            .ip-tedx-gallery-col:nth-child(4) .ip-tedx-gallery-item {
                width: 50%;
            }
        .ip-tedx-gallery-item {
            display: block;
            padding: 0 5px 10px;
        }
        ip-tedx-gallery-item a {
            display: block;
            height: 100%;
        } 
            .ip-tedx-gallery-item canvas {
                display: block;
                width: 100%;
                height: 100%;
                background-position: center center;
                background-repeat: no-repeat;
                background-size: cover;
                background-color: #000000; 
            } 

    .ip-tedx-gallery ul.slick-dots {
        display: flex!important;
        align-items: center;
        justify-content: center;
        margin: 41px 0 0;
    }
        .ip-tedx-gallery ul.slick-dots li {
            margin: 0 4px;
        }
            .ip-tedx-gallery ul.slick-dots li button {
                width: 31px;
                height: 3px;
                background: #cecece;
                border: none;
            }
            .ip-tedx-gallery ul.slick-dots li.slick-active button {
                /* background: #002054; */
                background: #5575a9;
            }
    .aiosp-zoom-out-cur .aiosp-image-holder .aiosp-close {
        appearance: none;
        border: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #073161;
        width: 42px;
        height: 38px;
        top: 1px;
        right: 1px;
        opacity: 1;
        line-height: 1;
        font-size: 0;
        color: #ffffff;
        transition: all 0.35s ease-in-out;
    }
    .aiosp-zoom-out-cur .aiosp-image-holder .aiosp-close::before {
        content: "\b0242";
        display: block;
        font-family: 'agentimage';
        font-size: 15px;
    }
    .aiosp-zoom-out-cur .aiosp-image-holder .aiosp-close::after {
        content: 'Close';
        display: block;
        font-size: 5px;
        line-height: 1;
        letter-spacing: 0.25em;
        text-align: center;
        text-transform: uppercase;
        margin-top: 5px;
    }
    img.aiosp-img {
        padding: 0;
        border: 1px solid rgba(255,255,255,0.3);
    }
    figcaption {
        display: none !important;
    }

    /* Page 2 */
    .ip-tedx-gallery-slide-2 .ip-tedx-gallery-col:nth-child(1) {
        width: 72.28%;
    }

    .ip-tedx-gallery-slide-2 .ip-tedx-gallery-col:nth-child(2) {
        width: 27.72%;
    }

    .ip-tedx-gallery-slide-2 .ip-tedx-gallery-item-inner:nth-child(odd) {
        width: 38.25%;
    }

    .ip-tedx-gallery-slide-2 .ip-tedx-gallery-item-inner:nth-child(even) {
        width: 61.75%;
    }

    .ip-tedx-gallery-slide-2 .ip-tedx-gallery-col:nth-child(1) .ip-tedx-gallery-item-inner .ip-tedx-gallery-item {
        width: 100%;
    }

    .ip-tedx-gallery-slide-2 .ip-tedx-gallery-item-half {
        width: 50%;
    }

    .ip-tedx-gallery-slide-2 .ip-tedx-gallery-col:nth-child(1) .ip-tedx-gallery-item-half .ip-tedx-gallery-item {
        width: 100%;
    }

    .ip-tedx-gallery-slide-2 .ip-tedx-gallery-col:nth-child(2) .ip-tedx-gallery-item {
        width: 100%;
    }

    /* Page 3 */
    .ip-tedx-gallery-slide-3 .ip-tedx-gallery-col:nth-child(3){
        justify-content: center;
    }


    

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
    .ip-tedx-video-text {
        width: 400px;
        right: 2%;
    }
        .ip-tedx-section-inner h2 {
            font-size: 50px;
        }
    .ip-tedx-logo {
        width: 100px;
    }
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {

    .ip-tedx-video .cycloneslider-template-video .cycloneslider-volume {
        top: auto;
        bottom: 30px;
        right:  30px;
        width: 40px;
        height: 40px;
    }
    
    .footer-contacts-container {
        padding-top: 55px;
    }

    .ip-tedx-video-container {
        padding-left: 0;
    }

    .ip-tedx-logo {
        width: 60px;
        left: 15px;
        bottom: 15px;
    }

    .ip-tedx-video-icon {
        width: 94px;
        height: 94px;
        left: 50%;
    }

    .ip-tedx-video-icon span.ai-font-play-button-a, 
    .ip-tedx-video-icon span.ai-font-pause-button-a {
        font-size: 30px;
    }
    
    #ip-tedx {
        padding: 79px 0 0;
    }
        .ip-tedx-logo {
            width: 60px;
            left: 15px;
            top: 15px;
            bottom: initial;
        }

            .ip-tedx-video-text {
                bottom: 15px;
                right: 0;
                left: 0;
                width: auto;
                text-align: center;
            }

                .ip-tedx-video-text a.global-btn.is-colored {
                    display: none;
                }

                .ip-tedx-video-text h2 {
                    margin: 20px 0 0;
                    font-size: 14px;
                }

                .ip-tedx-video-text p {
                    margin-bottom: 10px;
                    font-size: 10px;
                }

        .ip-tedx-video canvas {
            min-height: 320px;
        }

    .ip-tedx-section.section2 {
        padding: 0 15px;
    }

        .ip-tedx-section-inner {
            padding: 80px 5%;
        }

            .ip-tedx-section-inner h2 {
                font-size: 31px;
            }

            .ip-tedx-section-inner p {
                font-size: 14px;
            }

    /* .ip-tedx-gallery-item canvas {
        height: 240px;
    } */
    .ip-tedx-section.section3 {
        padding: 60px 15px;
    }

} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
    /* .ip-tedx-gallery-item, .ip-tedx-gallery-item:nth-child(4n), .ip-tedx-gallery-item:nth-child(4n - 3) {
        width: 100%!important;
    }
        .ip-tedx-gallery-item canvas {
            height: auto;
        } */

}
