/*
.slc-mainsponsor {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: auto;
    background: rgba(255, 255, 255, 0.5);
}
*/

.slc-mainsponsor {
    display: block;
    height: auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
}

#nxs-header .slc-mainsponsor {
    -webkit-transition: all 0.5s cubic-bezier(0.345, 0, 0.25, 1) 0s;
    transition: all 0.5s cubic-bezier(0.345, 0, 0.25, 1) 0s;
}

.slc-mainsponsor ins img {
    -webkit-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.5);
}

.carrousel-shrink {
    position: relative;
}

.carrousel-shrink .slc-mainsponsor {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.left-top {
    top: 5%;
    left: 5%;
}

.right-top {
    top: 5%;
    right: 5%;
}

.right-bottom {
    right: 5%;
    bottom: 5%;
}

.left-bottom {
    bottom: 5%;
    left: 5%;
}

.slc-ads-mainsponsor {
    display: table;
    width: 100%;
    height: 100%;
    color: #FFF;
    overflow: hidden;
}

.slc-ads-wrap-mainsponsor {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
}

.slc-ads-wrap-mainsponsor ins,
.slc-ads-wrap-mainsponsor iframe {
    width: 100%;
    max-width: 600px;
}

.slc-ads-wrap-mainsponsor ins {
  position: absolute;
  top:0;
  left:0;
}

@media only screen and (max-width: 1024px) {
    .slc-mainsponsor iframe {
        margin-bottom: 30px;
    }
    .slc-mainsponsor ins {
        -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5);
        box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5);
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .carrousel-shrink .slc-mainsponsor.in-carrousel {
        display: none;
    }
}

@media only screen and (min-width: 1025px) {
    #nxs-content .slc-mainsponsor.in-carrousel {
        display: none;
    }
    #nxs-content .slc-mainsponsor.out-carrousel {
        display: block;
    }
    .slc-mainsponsor ins {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .slc-mainsponsor iframe {
        border: solid 1px #fff!important;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
}

.fade-in {
    -webkit-animation: fade-in 0.5s ease;
    animation: fade-in 0.5s ease;
    visibility: visible;
    -webkit-backface-visibility: hidden;
}

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

@keyframes fade-in {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}
