/**
 * http://www.janxcode.com/ievent/intro.html
 */

/**
 * logo
 */
.jx-logo,
.jx-top-black {
    height: 100px;
}

.jx-logo img {
    max-height: 100%;
}

.jx-top-black {
    background-repeat: repeat-x;
}

/**
 * Slider home
 */
.flexslider .slides > li {
    min-height: 700px !important;
}

@media (max-width: 1199px) {
    .flexslider .slides > li {
        min-height: 550px !important;
    }
}

@media (max-width: 768px) {
    .flexslider .slides > li {
        min-height: 100vh !important;
    }
}

.flexslider .jx-event-slide {
    height: 100%;
    width: 100%;
}

.flexslider .jx-slider-content {
    align-items: center;
    display: flex;
    justify-content: center;

    height: 100%;
    position: relative;
    width: 100%;
}

.flexslider .jx-event-box {
    position: static !important;
    width: auto !important;
}

.jx-spacer-slider {
    background: black;
    height: 98px;
    /*margin-bottom: 40px;*/
}

@media (max-width: 1199px) {
    .jx-spacer-slider {
        height: 105px;
    }
}

/**
 * Menu dropdown
 *
 * http://ievent.janxcode.com/home-3-count-down/
 */
.jx-header .sixteen.columns {
    position: relative;
}

.jx-header .menu-item {
    position: relative;
    padding: 0 !important;
}

.jx-header .menu-item > a {
    display: block;
    padding: 41px 10px !important;
}

.jx-header .submenu {
    left: 0;
    position: absolute;
    top: 100%;
    z-index: 99999;

    /*background-color: #de181f;*/
    display: none;
    margin: 0;
    padding: 0;
}

.jx-header .submenu-item {
    border-bottom: 1px solid #222 !important;
    font-weight: normal;
    list-style: none;
    padding: 0 !important;
    position: relative;
    width: 264px;
}

.jx-header .submenu-item:last-child {
    border: none !important;
}

.jx-header .submenu-item a {
    background: #de181f;
    display: block;
    font-size: 14px !important;
    font-weight: 500 !important;
    /*overflow: hidden;*/
    padding: 10px 15px !important;
    text-overflow: ellipsis;
    text-transform: capitalize !important;
    white-space: nowrap;
}

.jx-header .submenu-item a:hover {
    background: #243c77;
}

@media (max-width: 1199px) {
    .slicknav_container {
        left: 0;
        position: fixed;
        top: 0;
        z-index: 99999;

        width: 100%;
    }

    .slicknav_menu {
        background: transparent;
        height: 100px;
        position: relative;
    }

    .slicknav_btn {
        position: absolute;
        right: 0;
        top: 50%;
        z-index: 99999;

        margin: -21px 0 0 0;
    }

    .slicknav_nav {
        left: 0;
        position: fixed;
        top: 0;
        z-index: 9999;

        background: #f2f2f2;
        margin: 0;
        max-height: 100%;
        overflow-y: auto;
        padding: 90px 0 0 0;
        width: 100%;
    }

    .slicknav_nav .menu {
        margin: 0 auto;
        padding: 0 0 30px;
    }

    .slicknav_menu a:hover {
        background: #d9d9d9 !important;
        color: black !important;
    }

    .slicknav_menu .menu-item:last-child {
        border-bottom: none !important;
    }

    .slicknav_menu .submenu {
        margin: 0;
    }

    .slicknav_menu .submenu-item:last-child {
        border-bottom: none !important;
    }

    .slicknav_menu .submenu-item a {
        margin-left: 10px;
    }

    .slicknav_menu .submenu-item a:hover {
        background: #de181f;
    }

    /**
     * Button register
     */
    .slicknav_btn_register {
        position: absolute;
        right: 75px;
        top: 50%;
        z-index: 99999;

        font-size: 16px;
        font-weight: 500;
        line-height: 1;
        margin: -22px 0 0 0;
        padding: 14px 15px;
        text-transform: uppercase;
    }

    .slicknav_btn_register,
    .slicknav_btn_register:hover,
    .slicknav_btn_register:focus,
    .slicknav_btn_register:active {
        background: #de181f;
        border: none;
        border-radius: 0;
        color: white;
    }
}

@media (max-width: 767px) {
    .slicknav_container,
    .slicknav_nav .menu,
    .jx-header.jx-sticky .container {
        /* padding: 0 15px; */
    }

    .slicknav_menu,
    .slicknav_nav .menu,
    .jx-header.jx-sticky .container {
        width: 100%;
    }

    .slicknav_nav .menu {
        padding-bottom: 25px;
    }

    .slicknav_btn_register {
        right: 65px;
    }
}

@media (max-width: 479px) {
    /*.jx-logo {
        align-items: center;
        display: flex;

        margin-bottom: 0 !important;
    }

    .jx-logo img {
        max-height: none;
        width: 140px;
    }*/

    .slicknav_btn_register {
        align-items: center;
        display: flex;
        justify-content: center;

        font-size: 12px;
        height: 42px;
        padding: 0;
        text-align: center;
        width: 80px;
    }
}

/**
 * Button register
 */
.jx-menu .menu-item:hover,
.jx-menu .menu-item:hover > a,
.jx-menu .menu-item.current,
.jx-menu .menu-item.current > a {
    background: #d9d9d9 !important;
    color: black !important;
}

.jx-menu .menu-item.btn-register,
.jx-menu .menu-item.btn-register a,
.jx-menu .menu-item.btn-register:hover,
.jx-menu .menu-item.btn-register:hover a {
    background: #de181f !important;
    color: white !important;
}

.slicknav_nav .btn-register a,
.slicknav_nav .btn-register a:hover {
    background: #de181f !important;
    color: white !important;
}

/**
 * Button register floating
 */
.btn-register-floating {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 999;

    /*background: #de181f !important;*/
    /*border: 0;*/
    /*border-radius: 0;*/
    /*color: white !important;*/
    display: block;
    /*font-size: 14px;*/
    /*font-weight: 500;*/
    /*line-height: 1;*/
    margin-top: -111px;
    /*padding: 15px 10px;*/
    /*text-transform: uppercase;*/

    /*text-orientation: upright;*/
    /*writing-mode: vertical-rl;*/
}

/**
 * Sponsored by
 */
.container-top-sponsors {
    padding: 30px 0 50px;
    text-align: center;
}

.container-top-sponsors .jx-sponsors {
    display: inline-block;
    margin: 0 auto;
}

.container-top-sponsors .text-top-sponsors {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 0 5px;
    text-align: left;
}

.container-top-sponsors ul {
    display: flex;
}

/**
 * fix
 */
.jx-servicebox-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.jx-servicebox-2 .jx-service-item {
    display: flex;
    flex-direction: column;

    float: none !important;
    margin: 40px 0 0 0 !important;
    width: 30% !important;
}

.jx-servicebox-2 .service-description {
    padding-bottom: 20px;
}

@media (max-width: 992px) {
    .jx-servicebox-2 .jx-service-item {
        width: 48% !important;
    }
}

@media (max-width: 768px) {
    .jx-servicebox-2 .jx-service-item {
        width: 100% !important;
    }
}

.attachment-speaker-image {
    border: 2px solid #de181f !important;
    height: 190px !important;
    object-fit: cover;
    width: 235px !important;
}

/**
 * scroll up
 */
#scrollUp {
    bottom: 15px;
    right: 15px;
    z-index: 999 !important;

    align-items: center;
    display: flex;
    justify-content: center;

    background: #de181f;
    border-radius: 3px;
    color: white;
    height: 50px;
    width: 50px;
}

#scrollUp .scroll-icon {
    display: inline-block;
    font-size: 20px;
    margin: -4px 0 0 0;
}

@media (max-width: 768px) {
    #scrollUp {
        bottom: 10px;
        right: 10px;

        height: 40px;
        width: 40px;
    }
}

/**
 * template: page
 */
.template-page {
    padding-top: 0 !important;
}

.template-page .row {
    display: flex;
    flex-wrap: wrap;

    margin: -20px;
}

.template-page .column {
    display: flex;
    float: none;
    flex: 0 0 50%;
    flex-grow: 1;

    margin: 0;
    padding: 20px 20px 0;
    position: relative;
    width: 100%;
}

.template-page .card-item {
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.template-page .card-title {
    font-size: 28px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.template-page .card-media {
    display: flex;
}

.template-page .card-media .card-image {
    width: 150px;
}

.template-page .card-media .card-content {
    padding-left: 20px;
    width: 100%;
}

.template-page .card-media .card-content p {
    margin-bottom: 0;
}

.template-page .card-text p {
    margin-bottom: 0;
}

.template-page .card-action {
    padding-top: 15px;
}

.template-page .card-action a {
    font-style: italic;
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 1199px) {
    .template-page .column {
        flex: 0 0 100%;
    }
}

@media (max-width: 479px) {
    .template-page .card-media {
        flex-wrap: wrap;
    }

    .template-page .card-media .card-image {
        margin-bottom: 15px;
        width: 100%;
    }

    .template-page .card-media .card-content {
        padding-left: 0;
    }
}

/**
 * template: page single
 */
.template-page-single {
    padding-top: 0 !important;
}

.template-page-single .wrap-content h1,
.template-page-single .wrap-content h2,
.template-page-single .wrap-content h3,
.template-page-single .wrap-content h4,
.template-page-single .wrap-content h5 {
    line-height: 1.4;
    margin-bottom: .75em;
}

.template-page-single .wrap-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1.2em;
}

.template-page-single .wrap-content p:last-of-type {
    margin-bottom: 0;
}

.template-page-single .wrap-image {
    margin-bottom: 40px;
    text-align: center;
}

.template-page-single .wrap-image img {
    border: 4px solid #eee;
    max-width: 100%;
}

.template-page-single .wrap-video {
    padding-top: 40px;
}

.template-page-single .wrap-video .embed-responsive {
    border: 4px solid #eee;
}

.template-page-single .wrap-gallery {
    padding-top: 40px;
}

.template-page-single .wrap-gallery .item {
    border: 2px solid #eee;
    position: relative;
}

.template-page-single .wrap-gallery .img-placeholder {
    opacity: 0;
}

.template-page-single .wrap-gallery .img-cover {
    left: 0;
    position: absolute;
    top: 0;
    z-index: 1;

    height: 100%;
    object-fit: cover;
    width: 100%;
}

/**
 * modal: speaker
 */
.modal-speaker {
    max-width: 750px;
    min-height: 300px;
    padding: 20px;
    width: 100%;
}

.modal-speaker .row-header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.modal-speaker .col-img {
    width: 225px;
}

.modal-speaker .col-txt {
    width: calc(100% - 225px);
}

.modal-speaker .img-speaker {
    border-radius: 50%;
    max-height: 200px;
    max-width: 200px;
    object-fit: contain;
}

.modal-speaker .text-name {
    margin-bottom: 5px;
}

.modal-speaker .text-office {
    margin-bottom: 15px;
}

.modal-speaker .row-description {
    padding-top: 20px;
    text-align: justify;
}

.modal-speaker .row-description p {
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 500px) {
    .modal-speaker .row-header {
        justify-content: center;
        text-align: center;
    }

    .modal-speaker .col-img {
        padding-bottom: 15px;
        padding-right: 0;
        width: 100%;
    }
}

/**
 * Cookie disclaimer
 */
.cookie-disclaimer {
    bottom: 0;
    left: 0;
    position: fixed;
    z-index: 9999999;

    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    background: white;
    box-shadow: 0 0 10px 5px rgba(1, 1, 1, .2);
    padding: 25px;
    text-align: center;
    width: 100%;
}

.cookie-disclaimer .btn-disclaimer {
    background: black;
    border: none;
    border-radius: 0;
    color: white;
    font-weight: 400;
    margin: 0 0 0 10px;
    padding: 5px 20px;
}

@media (max-width: 768px) {
    .cookie-disclaimer {
        padding: 10px;
    }

    .cookie-disclaimer .btn-disclaimer {
        margin-top: 10px;
    }
}

/**
 * Fancybox
 */
.fancybox-container {
    z-index: 99999999;
}

.fancybox-is-open .fancybox-bg {
    background: black;
    opacity: .7;
}

.fancybox-close-small,
.fancybox-close-small:hover,
.fancybox-close-small:active,
.fancybox-close-small:focus {
    background: #de181f;
    border: none;
    color: white;
    height: 40px;
    right: 0;
    opacity: 1;
    outline: none;
    padding: 0;
    width: 40px;
}

@media (max-width: 1199px) {
    .fancybox-is-open .fancybox-bg {
        opacity: .9;
    }
}

/**
 * Slider da home
 */
.slider-home-spacer {
    height: 100px;
}

.slider-home {
    position: relative;
}

.slider-home .btn-arrow {
    position: absolute;
    top: 50%;
    z-index: 1;

    align-items: center;
    display: flex;
    justify-content: center;

    background: rgba(0, 0, 0, .4);
    border: none;
    color: white;
    font-size: 50px;
    height: 120px;
    margin: -60px 0 0;
    padding: 0;
    width: 75px;
}

.slider-home .btn-prev {
    left: 40px;
}

.slider-home .btn-next {
    right: 40px;
}

.slider-home ul {
    margin: 0;
    padding: 10px 0 0;
}

@media (max-width: 1199px) {
    .slider-home .btn-arrow {
        font-size: 40px;
        height: 70px;
        margin-top: -35px;
        width: 40px;
    }
}

/**
 * Carousel sponsors
 */
.carousel-sponsors .item {
    border: 4px solid #eee;
    position: relative;
}

.carousel-sponsors img {
    display: block;
}

.carousel-sponsors .img-placeholder {
    opacity: 0;
}

.carousel-sponsors .img-cover {
    left: 0;
    position: absolute;
    top: 0;
    z-index: 1;

    height: 100%;
    object-fit: cover;
    width: 100%;
}

/**
 * Embed responsive
 */
.embed-responsive {
    display: block;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive .embed-responsive-item {
    bottom: 0;
    left: 0;
    position: absolute;
    top: 0;

    border: 0;
    height: 100%;
    width: 100%;
}

.embed-responsive iframe {
    border: 0;
}
