body {
    background-color: #214796 !important;
}

body.register {
    background-color: #08114D !important;
}

.register-container {
    background-color: #08114D;
    height: 100vh;
}

.header-container {
    max-width: 100%;
    align-items: center;
    text-align: center;
    background-color: #08114D;
    padding: 6% 0 0 0;
}

.header-partner-text {
    font-family: Fredoka;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 24px;
    align-items: center;
    text-align: right;
    color: #FFFFFF;
    width: 50%
}

.header-partner-logo {
    width: 50%;
    align-items: center;
}

.header-mini-container {
    align-items: center;
    background-color: #fff;
}

.header-mini-logo-container {
    display: flex;
    align-items: center;
    padding: 2% 0;
}

.header-mini-logo-back-container {
    width: 20%;
    color: #FFF;
    font-size: 5vh;
    text-align: center;
}

.header-mini-logo-logo-container {
    text-align: center;
}

.header-mini-logo-next-container {
    width: 20%;
}

.header-mini-partner-container,
.header-partner-container {
    width: 95%;
    display: flex;
    align-items: center;
    flex-direction: row;
    margin: 10px auto 0;
    padding-bottom: 5px;
}

.header-mini-partner-text {
    width: 50%;
    color: #aaa;
}

.header-mini-partner-logo {
    width: 50%;
    text-align: center;
}


.edye-logo {
    width: 55%;
    max-width: 55%;
    margin-top: 0px;
    height: auto;
}

.edye-mini-logo {
    max-width: 80%;
    margin-top: 10px;
    height: auto;
}

.partner-logo {
    width: 60%;
    max-width: 60%;
    margin-top: 0px;
    height: auto;
}

.form-container {
    max-width: 100%;
    align-items: center;
    text-align: center;
    background-color: #08114D;
    padding: 6% 0;
}

.form-group {
    max-width: 80%;
    margin: 0 auto;
}

.button-group {
    text-align: center;
}

.form-title {
    font-family: Fredoka;
    font-style: normal;
    font-weight: 800;
    font-size: 40px;
    line-height: 40px;
    color: #08114D;
    max-width: 80%;
    margin: 5px auto;
    text-align: center;
}

.hidden {
    display: none;
}

.form-bajada {
    font-family: Fredoka;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 24px;
    color: #444;
    max-width: 80%;
    margin: 10px auto 0;
    padding-bottom: 0;
}

.resaltado {
    color: #08114D;
}

input[type=text],
input[type=email] {
    -moz-border-radius: 10px;
    /* Firefox */
    -webkit-border-radius: 10px;
    /* Safari, Chrome */
    -khtml-border-radius: 10px;
    /* KHTML */
    border-radius: 10px;
    /* CSS3 */
    background-color: #fff;
    margin: 15px auto;
    color: #000 !important;
    font-family: Fredoka;
    font-style: normal;
    font-weight: 600;
    font-size: 17px;
    line-height: 27px;
}

button[type=submit],
.boton {
    background-color: #F9D62B !important;
    color: #214099 !important;
    border-radius: 26px !important;
    font-family: Fredoka !important;
    font-style: normal;
    font-weight: 800 !important;
    font-size: 15px !important;
    line-height: 22px;
    text-align: center;
    letter-spacing: 3.65625px;
    text-transform: uppercase;
    margin: 10px auto;
    width: 60%;
    height: 44px;
    transition: width 1s ease-in-out 200ms;
    padding: 11px;
}

button[type=submit]:hover,
.boton:hover {
    color: #FFF !important;
    background-color: #214099 !important;
    width: 65%;
}

.help-block {
    color: darkred
}

.destacados-carousel {
    background-color: #FFF;
}

.wrapper {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 5px;
    row-gap: 20px;
    grid-auto-rows: minmax(100px, auto);
}

.destacado {
    width: 100%;
}

div.agoos {
    display: none;
}


div.agoos:first-child {
    display: block;
}

.destacado-container,
.destacados-container {
    display: inline-block;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.destacado-container::after,
.destacados-container::after {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 101%;
    height: 100%;
    background: url('https://edye.com/wp-content/themes/EDYE/img/partners/edye_wave.svg');
    background-repeat: no-repeat;
    background-position: bottom;
    content: '';
}


.slick-track {
    height: 210px;
}

.closed {
    position: absolute;
    top: 60px;
    margin-left: 90px;
}

.show-container {
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

.thumb,
.thumb-off {
    display: inline-block;
    position: relative;
}

.thumb::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: url('https://edye.com/wp-content/themes/EDYE/img/partners/playIcon.png');
    background-size: cover;
    content: '';
}

.thumb-off::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background: url('https://edye.com/wp-content/themes/EDYE/img/partners/lock.png');
    background-size: cover;
    content: '';
}

.thumb-show {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    position: relative;
}

.play-icon {
    position: absolute;
    width: 10%;
    z-index: 1;
    left: 45%
}

.text-show {
    color: #FFF;
    font-weight: bold;
    text-align: left;
}

/*.wrapper.carousel {
  grid-template-columns: repeat(10, 1fr);
  grid-gap: 10px;
  grid-auto-rows: minmax(100px, auto);
}*/


.white-popup {
    position: relative;
    background-color: #FFF;
    background-image: url('https://edye.com/wp-content/themes/EDYE/img/partners/bg.svg');
    background-size: cover;
    padding: 25px;
    width: auto;
    max-width: 90%;
    margin: 20px auto;
    text-align: center;
    border-radius: 24px;
    font-family: Fredoka;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #252525;
}

#subscribe .mfp-close {
    background: url('https://edye.com/wp-content/themes/EDYE/img/partners/close.png') no-repeat scroll transparent !important;
    height: 30px !important;
    background-size: 30px 30px !important;
    right: 15px;
    width: 30px !important;
}

div[id^='player_favoritos'] .mfp-close,
div[id^='player_'] .mfp-close,
div.mfp-iframe-holder .mfp-close {
    background: url('https://edye.com/wp-content/themes/EDYE/img/partners/close.png') no-repeat scroll transparent !important;
    height: 30px !important;
    width: 30px !important;
    background-size: 30px 30px !important;
    top: 5px !important;
    right: 5px !important;
}

.mfp-image-holder .mfp-close:before,
.mfp-iframe-holder .mfp-close:before {
    content: none !important;
}

.mfp-iframe {
    height: 100% !important;
}

.popup-title {
    font-family: Fredoka;
    font-style: normal;
    font-weight: 800;
    font-size: 47px;
    line-height: 32px;
    text-align: center;
    color: #214099;
}

.ray-oops {
    width: 100%;
}

.subscribe-btn {
    background-color: #F9C316;
    border: none;
    color: #214099;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 30px;
    font-family: Fredoka;
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    line-height: 30px;
    margin: 15px 0 0 0;
    box-shadow: 0 6px 4px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 20%);
}

.categories-heading {
    color: #FFF;
}

.categories-heading.blue {
    color: #08114D;
}

.blue {
    background-color: #FFF;
    padding: 20px 0 1px 0;
    margin: 0 0 20px 0;
    border-radius: 20px;
}

/* Disclaimer Colmédica */

.disclaimer {
    width: 100%;
    padding: 2%;
    text-align: center;
}

.disclaimer-text {
    color: #fff;
    padding: 2%;
    font-size: 12px;
}

/* Ocultamos Header y Footer de Salient */
#header-space,
#header-outer,
#footer-outer {
    display: none;
    height: 0px !important;
}

/* Nueva Func Popup */

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #00898E;
    border-radius: 10px;
    transition: background .3s;
}

.btn:hover {
    background: #00898E;
}

.popup {
    position: fixed;
    padding: 10px;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, .9);
    visibility: visible;
    opacity: 1;
    /* "delay" the visibility transition */
    -webkit-transition: opacity .5s, visibility 0s linear .5s;
    transition: opacity .5s, visibility 0s linear .5s;
    z-index: 100;
}

.popup:target {
    visibility: visible;
    opacity: 1;
    /* cancel visibility transition delay */
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.popup-close {
    position: absolute;
    padding: 10px;
    max-width: 500px;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, .9);
}

.close-popup {
    background: rgba(0, 0, 0, .7);
    cursor: default;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    visibility: visible;
    z-index: 99;
    /* "delay" the visibility transition */
    -webkit-transition: opacity .5s, visibility 0s linear .5s;
    transition: opacity .5s, visibility 0s linear .5s;
}

.popup:target+.close-popup {
    opacity: 1;
    visibility: visible;
    /* cancel visibility transition delay */
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.download-links {
    background-color: #1881c5;
}

.download-links-row {
    display: flex;
    justify-content: space-between;
}

.download-links-store {
    width: 32%;
    padding: 10px 0 20px;
}

.download-links-row:nth-of-type(2) {
    margin-bottom: 23px;
}

.promo-banner {
    padding: 15px 0;
    text-align: center;
}

.promo-banner .banner {
    width: 100%;
    max-width: 728px;
}

@media (min-width: 768px) and (max-width: 4096px) and (orientation: landscape) {

    body {
        width: 100%;
        text-align: center;
    }

    #ajax-content-wrap {
        max-width: 1024px;
        margin: 0 auto;
    }

    .header-container {
        display: flex;
        max-width: 80%;
        margin: 0 auto;
    }

    .header-mini-container {
        display: flex;
    }

    .edye-logo {
        width: 60%;
        max-width: 60%;
    }

    .header-mini-logo-container {
        width: 1024px;
        margin: 0 auto;
        padding: 0 0;
    }

    .header-mini-logo-logo-container {
        text-align: left;
    }

    .header-mini-partner-text {
        text-align: right;
    }

    .partner-logo {
        width: 50%;
    }

    .destacado {
        max-width: 100%;
        /*border-radius: 15px;*/
    }

    div.agoos {
        display: block;
    }

    .slick-list {
        height: 270px;
    }

    .destacado-container,
    .destacados-container {
        display: inline-block;
        position: relative;
        margin: 0 auto;
        /*padding: 10px;
        background-color: #FFF;*/
    }

    .destacados-carousel::after {
        position: absolute;
        bottom: -1px;
        left: 50%;
        transform: translate(-50%, 0%);
        width: 1025px;
        height: 64px;
        background: url('https://edye.com/wp-content/themes/EDYE/img/partners/edye_wave.svg');
        background-size: cover;
        content: '';
    }

    .destacado-container::after {
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translate(-50%, 0%);
        width: 1025px;
        height: 64px;
        background: url('https://edye.com/wp-content/themes/EDYE/img/partners/edye_wave.svg');
        background-size: cover;
        content: '';
    }


    .footer-partners::after {
        position: absolute;
        bottom: 0%;
        left: 50%;
        transform: translate(-50%, 0%);
        width: 1024px;
        height: 64px;
        background: url('https://edye.com/wp-content/themes/EDYE/img/partners/overlay_home_tbt.png');
        background-size: cover;
        content: '';
    }

    .destacados-container::after {
        background: none;
    }

    .wrapper-carousel {
        width: 90%;
        margin: 30px auto 0 auto;
        height: 190px;
    }

    .wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .ray-oops {
        width: 40%;
    }

    .white-popup {
        background-size: auto;
        background-position-y: 40%;
    }

    #agoos button.slick-prev,
    .wrapper-favoritos button.slick-prev {
        background: url('https://edye.com/wp-content/themes/EDYE/img/partners/prev.png') no-repeat scroll transparent !important;
        height: 137px !important;
        background-size: 25px 25px !important;
        right: 15px;
        width: 30px !important;
    }

    #destacados-carousel button.slick-prev {
        background: url('https://edye.com/wp-content/themes/EDYE/img/partners/prev.png');
        height: 26px !important;
        background-size: 22px 22px !important;
        left: 10px;
        width: 26px !important;
        border-radius: 50px !important;
        background-color: #214796 !important;
        border: 2px solid #214796;
        z-index: 10;
    }

    #destacados-carousel button.slick-next {
        background: url('https://edye.com/wp-content/themes/EDYE/img/partners/next.png');
        height: 26px !important;
        background-size: 22px 22px !important;
        right: 10px;
        width: 26px !important;
        border-radius: 50px !important;
        background-color: #214796 !important;
        border: 2px solid #214796;
    }

    #agoos button.slick-next,
    .wrapper-favoritos button.slick-next {
        background: url('https://edye.com/wp-content/themes/EDYE/img/partners/next.png') no-repeat scroll transparent !important;
        height: 137px !important;
        background-size: 25px 25px !important;
        right: -30px;
        width: 30px !important;
    }

    /* Suppress icon-font arrow injected by CDN slick-theme.css (loaded by JW Player plugin).
       Without this, both the custom background-image arrow AND the :before font-icon arrow
       render simultaneously, producing the "double arrow" visual. */
    #agoos button.slick-prev:before,
    #agoos button.slick-next:before,
    .wrapper-favoritos button.slick-prev:before,
    .wrapper-favoritos button.slick-next:before {
        content: none !important;
    }

    .blue {
        padding: 30px 0 20px 0;
        margin: 0 0 30px 0;
    }

    /*#ajax-content-wrap {
        width: 1024px;
        margin: 0 auto;
    }*/
}

@media (min-width: 274px) and (max-width: 767px) and (orientation: portrait) {

    #agoos button.slick-prev {
        background: url('https://edye.com/wp-content/themes/EDYE/img/partners/prev.png') no-repeat scroll transparent !important;
        height: 137px !important;
        background-size: 25px 25px !important;
        right: 15px;
        width: 30px !important;
    }

    /* Suppress icon-font arrow from CDN slick-theme.css — same fix as landscape */
    #agoos button.slick-prev:before,
    #agoos button.slick-next:before,
    .wrapper-favoritos button.slick-prev:before,
    .wrapper-favoritos button.slick-next:before {
        content: none !important;
    }

    .download-links {
        background-color: #1881c5;
    }

    .download-links-row {
        display: block;
        justify-content: space-between;
    }

    .download-links-store {
        width: 90%;
        padding: 10px 0 20px;
        text-align: center;
        margin: 0 auto;
    }

    .download-links-row:nth-of-type(2) {
        margin-bottom: 23px;
    }

    .promo-banner .banner {
        width: 100%;
        max-width: 320px;
    }

}