/** TAB GAMES **/
.tabgames-container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 1400px;
    height: 1350px;
    position: relative;
    margin-top: 30px;
}

.tabgames-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tab-games {
    overflow: hidden;
}

/* Style the buttons inside the tab */
.tabtitle {
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    width: 50%;
    height: 130px;
    padding: 20px;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.1s;
    background-color: rgba(0, 0, 0, 0.0);
    margin-left: auto;
    margin-right: auto;
}

.tabtitleA {
    background-image: url("../images/csngt-img-inactive.png");
    background-size: 70%;
}

.tabtitleB {
    background-image: url("../images/slmtgt-img-inactive.png");
    background-size: 71%;
}

/* Create an active/current tablink class */
.tabtitleA.active {
    background-image: url("../images/csngt-img.png");
    background-size: 70%;
}

.tabtitleB.active {
    background-image: url("../images/slmtgt-img.png");
    background-size: 71%;
}


/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

/** GAME COLUMNS **/
.games-section {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.games-container {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Clear floats after the columns */
.row-games:after {
    content: "";
    display: table;
    clear: both;
}

/* Create five equal columns that floats next to each other */
.column-games {
    float: left;
    width: 25%;
    height: auto;
    text-align: center;
    padding: 0;
}
.games-img {
    width: 100%;
    cursor: pointer;
}

/* Bounce In */
.games-img {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.games-img:hover,
.games-img:focus,
.games-img:active {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
    transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}


#onhover {
    display: none;
}

#changeonhover:hover span[id="initial"] {
    display: none;
}

#changeonhover:hover span[id="onhover"] {
    display: block;
}

/* Wobble Horizontal */
@-webkit-keyframes hvr-wobble-horizontal {
    16.65% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }

    33.3% {
        -webkit-transform: translateX(-6px);
        transform: translateX(-6px);
    }

    49.95% {
        -webkit-transform: translateX(4px);
        transform: translateX(4px);
    }

    66.6% {
        -webkit-transform: translateX(-2px);
        transform: translateX(-2px);
    }

    83.25% {
        -webkit-transform: translateX(1px);
        transform: translateX(1px);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes hvr-wobble-horizontal {
    16.65% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }

    33.3% {
        -webkit-transform: translateX(-6px);
        transform: translateX(-6px);
    }

    49.95% {
        -webkit-transform: translateX(4px);
        transform: translateX(4px);
    }

    66.6% {
        -webkit-transform: translateX(-2px);
        transform: translateX(-2px);
    }

    83.25% {
        -webkit-transform: translateX(1px);
        transform: translateX(1px);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

.hvr-wobble-horizontal {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
}

.hvr-wobble-horizontal:hover,
.hvr-wobble-horizontal:focus,
.hvr-wobble-horizontal:active {
    -webkit-animation-name: hvr-wobble-horizontal;
    animation-name: hvr-wobble-horizontal;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}