div.cubes {
    position:relative;
    min-height:230px;
}
div.cubes div {
    display:inline-block;
    position:relative;
    box-sizing:border-box;
    width:32.3%;
    position:relative;
    border:1px solid #cd9700;
    margin-left:1%;
    margin-right: 1%;
    vertical-align:top;
    height:100%;
    margin-left: 8px;
    font-size: small;
    color:black;
}
div.cubes div:first-of-type {
    margin-left:0px;
    margin-right:0px;
}
div.cubes div:last-of-type {
    margin-left:0px;
    margin-right:0px;
}
div.cubes div img {
    width:100%;
    vertical-align:top;
    border-style:none;
}
div.cubes a {
    text-decoration:none;
    color:inherit;
}
div.cubes div h6 {
    font-size:medium;
    color:royalblue;
    margin-top:5px;
    margin-bottom:5px;
}

#adBackground {
    position: fixed;
    left: 0px;
    top: 135px;
    height: 470px;
    right: 0px;
    z-index: 5;
    background-size:contain;
    /*background-image: url(../../images/ads/banner_ceo.png);
    background-position: top center;
    background-repeat: no-repeat;*/
}

.adWindow {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 50%;
    width: 1140px;
    margin-left: -570px;
    overflow: hidden;
    display:block;
}
.adWindow img {
    border-style:none;
}

#adControl {
    position: absolute;
    left: 0px;
    top: 135px;
    height: 500px;
    right: 0px;
    z-index: 10;
    /*background-image: url(../../images/ads/banner_ceo.png);
    background-position: top center;
    background-repeat: no-repeat;*/
}
    #adControl span {
        display: none;
    }
    #adControl div.borderL {
        bottom: 30px;
    }
    #adControl div.borderR {
        bottom: 30px;
    }
#adLink {
    display:block;
    width:100%;
    height:100%;
    position:relative;
}
    #adLink > img {
        width:1040px;
        height:430px;
        margin-right:50px;
        margin-left:50px;
    }

#adPos {
    position: absolute;
    bottom: 40px;
    left: 0px;
    height: 14px;
    width: 100%;
    padding: 1px;
    text-align: center;
}
    #adPos img {
        vertical-align: top;
        margin-top: 0px;
        margin-bottom: 0px;
        margin-right: 4px;
        padding: 0px;
        border-style: none;
        height: 16px;
        width: 16px;
        cursor: pointer;
    }
        #adPos img:last-of-type {
            margin-right: 0px;
        }


#adLeft {
    position: absolute;
    display: block;
    left: 0px;
    top: 190px;
    background-color: rgba(255,255,255,.2);
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 8px;
    text-decoration: none;
}
    #adLeft img {
        border-style: none;
    }
    #adLeft:hover {
        background-color: rgba(255,255,255,.6);
    }

#adRight {
    position: absolute;
    display: block;
    right: 0px;
    top: 190px;
    background-color: rgba(255,255,255,.2);
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 8px;
    text-decoration: none;
}
    #adRight img {
        border-style: none;
    }
    #adRight:hover {
        background-color: rgba(255,255,255,.6);
    }

.noslide {
    position: absolute;
    top: 30px;
    right: 50px;
}

.slide {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background-position-x: center;
    background-repeat: no-repeat;
}

.slideLeft {
    animation-name: slideL;
    animation-duration: 1s;
    -webkit-animation-name: slideL;
    -webkit-animation-duration: 1s;
    position: absolute;
    top: 30px;
    right: 50px;
}

.slideRight {
    animation-name: slideR;
    animation-duration: 1s;
    -webkit-animation-name: slideR;
    -webkit-animation-duration: 1s;
    position: absolute;
    top: 30px;
    right: 50px;
}

.fadeIn {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background-position-x: center;
    background-repeat: no-repeat;
    animation-name: fadeIn;
    animation-duration: 3s;
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 3s;
}

.fadeOut {
    position: absolute;
    top: 50%;
    bottom: 50%;
    right: 50%;
    left: 50%;
    background-position-x: center;
    background-repeat: no-repeat;
    animation-name: fadeOut;
    animation-duration: 3s;
    -webkit-animation-name: fadeOut;
    -webkit-animation-duration: 3s;
}

@keyframes slideL {
    from {
        right: -700px;
    }

    to {
        right: 50px;
    }
}

@keyframes slideR {
    from {
        right: 100%;
    }

    to {
        right: 50px;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        top: 0%;
        bottom: 0%;
        right: 0%;
        left: 0%;
    }

    to {
        opacity: 0;
        top: 0%;
        bottom: 0%;
        right: 25%;
        left: 25%;
    }
}

@-webkit-keyframes fadeOut {
    from {
        opacity: 1;
        top: 0%;
        bottom: 0%;
        right: 0%;
        left: 0%;
    }

    to {
        opacity: 0;
        top: 0%;
        bottom: 0%;
        right: 25%;
        left: 25%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes slideL {
    from {
        right: -700px;
    }

    to {
        right: 50px;
    }
}

@-webkit-keyframes slideR {
    from {
        right: 100%;
    }

    to {
        right: 50px;
    }
}

#ad-content {
    display: none;
}

#homeAd div.photo {
    position: absolute;
    left: 0px;
    bottom: 0px;
}

#homeAd div.info {
    position: absolute;
    right: 100px;
    top: 50px;
    bottom: 50px;
    width: 550px;
    background-color: rgba(255,255,255,.8);
    border-radius: 10px;
    padding: 10px;
}

#access {
    background-color:#ffffff;
    color:#000000;
    font-size:medium;
    font-weight:bold;
    text-align:center;
    border-top:4px double black;
    border-bottom:4px double black;
    padding-top:5px;
    padding-bottom:5px;
}