.deck {
    position: fixed;
    width: 8em;
    height: 11em;
    top: 35%;
    right: 11%;
    -webkit-backface-visibility: hidden;
    text-align: center;
    list-style: none;
    z-index: 3;
}

.deck.deck-video-galardones {
    position: fixed;
    width: 11em;
    height: 12em;
    top: 12%;
    right: 14%;
    -webkit-backface-visibility: hidden;
    text-align: center;
    list-style: none;
    z-index: 3;
}

.deck__item {
    font-size: 14px;
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: .3em;
    border: 0.1em solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 0.3em rgba(0, 0, 0, 0.3), inset 0 6em 6em rgba(255, 255, 255, 0.1);
    transform-origin: 90% 92%;
    transition: .3s;
}

.deck__item:hover ~ .deck__item {
    transform: rotate(120deg);
}

.deck__item:last-of-type:after {
    content: "";
    position: absolute;
    left: 90%;
    top: 92%;
    border-radius: 50%;
    width: 1.2em;
    height: 1.2em;
    background: white;
    margin: -.6em 0 0 -.6em;
    box-shadow: inset 0 1px 1px white, inset 0 -0.3em 0.2em #dddcdb, 0 0 0.6em rgba(0, 0, 0, 0.2);
}

.deck__item:last-of-type:before {
    content: "";
    position: absolute;
    right: .4em;
    bottom: .9em;
    width: 1.1em;
    height: .15em;
    background: silver;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.deck__link {
    text-decoration: none;
    display: block;
    color: white;
    color: rgba(255, 255, 255, 0.8);
    padding: 20px;
}

.deck__link:hover{
    color: inherit;
}

.deck__icon {
    font-family: 'FontAwesome', sans-serif;
    font-size: 30px;
    color: black;
    color: rgba(0, 0, 0, 0.6);
    display: block;
    margin: .5em auto;
}

.deck__label {
    padding: 11px;
}

.deck__item--facebook {
    background: #3b5998;
    transform: rotate(-20deg);
}

.deck__item--github {
    background: #4183c4;
    transform: rotate(-10deg);
}

.deck__item--galardonados {
    background: #00a0d1;
    transform: rotate(0deg);
}

.deck__item--galeria {
    background: #0e76a8;
    transform: rotate(10deg);
}

.deck__item--impactos {
    background: #4183c4;
    transform: rotate(20deg);
}

.deck__item--portada {
    background: #4ba189;
    transform: rotate(30deg);
}

.deck__item--portada.video-galardones {
    background: #000000;
    transform: rotate(30deg);
}
.deck__item.deck__item--portada.video-galardones {
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
}
.deck__item--portada.video-galardones > .deck__link > .deck__icon{
    font-size: 33px;
    color: rgba(255, 178, 0, 0.6);
}
.deck__item--portada.video-galardones > .deck__link:hover{
    color: rgba(255, 178, 0, 0.6);
}

.construction{
    font-size: 11px;
}
.construction:hover{
    filter: grayscale(60%);
    cursor: not-allowed;
}

.construction .deck__link:hover{
    cursor: not-allowed;
}

/* Dropdown */

.slide-btn-sm-dd {
    min-width: 11rem !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased !important;
    position: relative !important;
    font-size: 2rem !important;
    letter-spacing: 0 !important;
    padding: 12px 40px !important;
    border-radius: 50px !important;
    text-align: center !important;
    border: none !important;
    color: #fff !important;
    transition: .3s !important;
    margin-left: -29em;
    margin-top: 2em;
}

.slide-btn-sm-dd:hover, .slide-btn-sm-dd:focus {
    color: #fff;
    letter-spacing: 1px;
}

.dropdown {
    display: inline-block !important;
    position: relative !important;
}

.dd-button {
    display: inline-block !important;
    border: 1px solid gray !important;
    border-radius: 4px !important;
    padding: 10px 30px 10px 20px !important;
    background-color: #54a18d !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.dd-button:hover {
    background-color: #6190b3 !important;
}


.dd-input {
    display: none !important;
}

.dd-menu {
    position: absolute !important;
    top: 100% !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding: 0 !important;
    margin: 2px 0 0 0 !important;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.1) !important;
    background-color: #54a18d !important;
    list-style-type: none !important;
}

.dd-input + .dd-menu {
    display: none !important;
}

.dd-input:checked + .dd-menu {
    display: block !important;
}

.dd-menu li {
    padding: 10px 20px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    border-bottom: 1px solid #ffffff;
}

.dd-menu li:hover, .dd-menu li.active {
    background-color: #6190b3 !important;
}

.dd-menu li a {
    display: block !important;
    margin: -10px -20px !important;
    padding: 10px 20px !important;
    color: #ffffff !important;
    text-align: left;
}

.dd-menu li.divider{
    padding: 0 !important;
    border-bottom: 1px solid #cccccc !important;
}

/* HEADER */

#prensa.galardones-section .tp-banner-container{
    height: 415px !important;
}

#prensa.galardones-section .dd-menu li.nav-disabled:hover{
    cursor: not-allowed !important;
    background: rgba(0,0,0,0.56) !important;
}

/* IMPACTOS MEDIÁTICOS */

.hide {
    -webkit-animation: fadeOut 150ms ease;
    animation: fadeOut 150ms ease;
    opacity: 0;
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.hide {
    display: none;
}

#controls {
    margin-bottom: 2rem;
}
#controls ul {
    list-style: none;
    padding: 1rem;
    margin: 0;
    display: flex;
}
#controls ul li {
    margin: 0;
    padding: 0.5rem;
    border: 1px solid #eee;
    cursor: pointer;
}
#controls ul li:hover {
    background: #eee;
}
@media (min-width: 400px) {
    #controls ul li {
        margin-right: 1rem;
        padding: 1rem;
    }
}
#controls ul .active {
    background: #444;
    color: white;
}
#controls ul .active:hover {
    color: #444;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
    grid-gap: 1rem;
    justify-items: center;
    margin: 1rem;
}

@media (min-width: 500px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1368px) {
    .grid-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
}
.prensa.image {
    /*width: 100%;*/
    height: auto;
}

/* GALERY */
.height-image img{
    height: 200px !important;
}
#gallery {
    padding-top: 40px;
}
@media screen and (min-width: 991px) {
    #gallery {
        padding: 60px 30px 0 30px;
    }
}

#gallery .img-wrapper {
    position: relative;
    margin-top: 15px;
    background: #7bb6b7;
}
#gallery .img-wrapper img {
/*    width: 100%;*/
    margin: 0 auto;
}

#gallery .img-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}
#gallery .img-overlay i {
    color: #fff;
    font-size: 3em;
}

#overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#overlay img {
    margin: 0;
    width: 80%;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
    padding: 5%;
}
@media screen and (min-width: 768px) {
    #overlay img {
        width: 60%;
    }
}
@media screen and (min-width: 1200px) {
    #overlay img {
        width: 50%;
    }
}

#nextButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
}
#nextButton:hover {
    opacity: 0.7;
}
@media screen and (min-width: 768px) {
    #nextButton {
        font-size: 3em;
    }
}

#prevButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
}
#prevButton:hover {
    opacity: 0.7;
}
@media screen and (min-width: 768px) {
    #prevButton {
        font-size: 3em;
    }
}

#exitButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    position: absolute;
    top: 15px;
    right: 15px;
}
#exitButton:hover {
    opacity: 0.7;
}
@media screen and (min-width: 768px) {
    #exitButton {
        font-size: 3em;
    }
}

/* boton menu mobile */
#menuNormal{
    background: rgb(42, 142, 145);
    position: fixed;
    top: 198px;
    height: 71px;
    width: 100%;
    padding: 1em;
    font-weight: bold;
}

#menuNormal a{
    color: #ffffff;
}

.c-layout-page > .galardones-mobile ul {
    position: inherit;
    top: inherit;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding: 0 !important;
    margin: 0;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.1) !important;
    background-color: #54a18d !important;
    list-style-type: none !important;
}
.c-layout-page > .galardones-mobile ul li {
    border-bottom: 1px solid #ffffff !important;
    color: #ffffff !important;
    padding: 1em !important;
    font-size: 16px;
}
.c-layout-page > .galardones-mobile ul li a{
    color: #ffffff !important;
}

.c-layout-page > .galardones-mobile h3 {
    color: #ffffff !important;
    padding: 1em !important;
    font-size: 18px;
    background: #228590 !important;
}

/************************************************/
/****************** NAVIGATION MOBILE******************/
/************************************************/
#galardonesMobile {
    margin-top: 1em;
}
#galardonesMobile h3 {
    background-color: #228590 ;
    text-align: center;
    color: #ffffff;
    margin-bottom: -3px;
}

#galardonesMobile #toggle {
    font-size: 24px;
}
#galardonesMobile nav {
    background-color: #333;
    text-align: center;
}
#galardonesMobile nav ul {
    display: none;
    text-align: left;
}
#galardonesMobile a {
    color: #ccc; text-decoration: none;
}
#galardonesMobile nav ul li{
    color: #ffffff;
    list-style: none;
    padding: 5px;
}
#galardonesMobile nav ul li.active {
    background-color: #6190b3 !important;
}

@media (min-width: 1650px) {
    .captionLeft {
        margin-left: -40em;
    }
    .captionLeftReturn {
        margin-left: -16em;
    }
}

@media (max-width: 768px) {
    .video-galardones-responsive {
        width: 100%;
        height: auto;
        margin-left: 6%;
    }
}
@media (min-width: 768px) {
    .video-galardones-responsive {
        margin-left: 35%;
    }
}

.tp-dottedoverlay.twoxtwo {
    background: #00000085 !important;
}