body {
    font-family: 'Yanone Kaffeesatz', serif;
    font-size: 140%;
    margin: 0;
    padding: 0;
    color: #575756;
    line-height: 1;

}

#sgLogo {
    background-image: url(../img/sgLogo.png);
    width: 110px;
    height: 142px;
}

#sgLogoDudes {
    width: 80px;
    position: absolute;
    left: 15px;
    top: 13px;
    -webkit-transform: translate(-50%, -50%);
    -webkit-animation: dudesAnim 12s infinite ease-in-out;
    animation: dudesAnim 12s infinite ease-in-out;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes dudesAnim {
    0% {transform: rotate(0deg);}
    80% {transform: rotate(0deg);}
    90% {transform: rotate(360deg);}
    100% {transform: rotate(0deg);}
}

/* Standard syntax */
@keyframes dudesAnim {
    0% {transform: rotate(0deg);}
    80% {transform: rotate(0deg);}
    90% {transform: rotate(360deg);}
    100% {transform: rotate(0deg);}
}

#content {
    width: 1024px;
    height: 768px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

#sgLogo {
    width: 110px;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 100;
}

#mLogo {
    width: 150px;
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 90;
}

#header {
    background: #038784;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 240%;
    padding: 10px 0px;
    line-height: 1.3;
    border-bottom: 1px solid #fff;
    position: relative;
}

.royalSlider {
    width: 1024px !important;
    height: 678px !important;
}

.royalSlider.shake {
    width: 50% !important;
    height: 378px !important;
    position: absolute;
    top: 250px;
    left: 40%;
    background-color: #fff;
    border: 2px solid #038784;
    border-radius: 10px;
}

#nav {
    position: absolute;
    top: 200px;
    left: 90px;
    width: 230px;
}

#animatedNav {
    position: absolute;
    top: 180px;
    left: 50px;
    width: 230px;
    -webkit-animation: navAnim 1s ease-out;
    animation: navAnim 1s ease-out;
}

#navGames {
    position: absolute;
    top: 175px;
    right: 0px;
    width: 123px;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes navAnim {
    0% {left: -300px;}
    60% {left: -300px;}
    100% {left: 50px;}
}

/* Standard syntax */
@keyframes navAnim {
    0% {left: -300px;}
    60% {left: -300px;}
    100% {left: 50px;}
}

#nav.shakerNav  {
    position: absolute;
    top: 500px;
    left: 525px;
    width: 230px;
}

#greenGames {
    background-color: #AFCB08;
    color: #fff;
    padding: 5px;
    width: 93px;
    text-align: center;
    font-size: 105%;
    margin-bottom: 15px;
    display: block;
    border: 2px solid #fff;
    text-decoration: none;
    border-radius: 10px;
}

#yellowBtn {
    background-color: #FBB900;
    color: #fff;
    padding: 5px;
    width: 93px;
    text-align: center;
    font-size: 105%;
    margin-bottom: 15px;
    display: block;
    border: 2px solid #fff;
    text-decoration: none;
    border-radius: 10px;
}

#purpleBtn {
    background-color: #C80563;
    color: #fff;
    padding: 5px;
    width: 93px;
    text-align: center;
    font-size: 105%;
    margin-bottom: 15px;
    display: block;
    border: 2px solid #fff;
    text-decoration: none;
    border-radius: 10px;
}

#green {
    background-color: #AFCB08;
    color: #fff;
    padding: 30px;
    width: 230px;
    text-align: center;
    font-size: 200%;
    margin-bottom: 30px;
    display: block;
    border: 2px solid #fff;
    text-decoration: none;
    border-radius: 10px;
}

#yellow {
    background-color: #FBB900;
    color: #fff;
    padding: 50px;
    width: 190px;
    text-align: center;
    font-size: 200%;
    margin-bottom: 30px;
    display: block;
    border: 2px solid #fff;
    text-decoration: none;
    border-radius: 10px;
}

#purple {
    background-color: #C80563;
    color: #fff;
    padding: 50px;
    width: 190px;
    text-align: center;
    font-size: 200%;
    margin-bottom: 30px;
    display: block;
    border: 2px solid #fff;
    text-decoration: none;
    border-radius: 10px;
}
/*
#nav a {
    background-color: #00ACA8;
    color: #fff;
    padding: 30px;
    width: 200px;
    text-align: center;
    font-size: 130%;
    margin-bottom: 50px;
    display: block;
    border: 2px solid #fff;
    text-decoration: none;

    border-radius: 10px;
}
*/
.shakerButtons {
    margin-left: 412px;
}

.shakerButtons.slider {
    margin-left: 332px;
}

#slider {
    width: 50%;
    margin-left: 412px;
}

.shakerButtons a {
    background-color: #C80563;
    color: #fff;
    padding: 20px;
    width: 130px;
    text-align: center;
    font-size: 150%;
    height: 70px;
    margin-right: 20px;
    display: block;
    border: 2px solid #fff;
    text-decoration: none;
    float: left;
    border-radius: 10px;
}

.shakerButtons.slider a.oneLine {
    height: 30px;
    padding-top: 15px;
}

.shakerButtons a.oneLine {
    padding-top: 35px;
    height: 55px;
}

#nav.shakerNav a {
    font-size: 220%;
    padding: 20px 20px 30px 20px ;
    font-style: italic;

}

img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#homeButton {
    position: absolute;
    left: 16px;
    top: 23px;
    background-color: #fff;
    color:#038784;
    display: block;
    z-index: 100;
    text-transform: uppercase;
    padding: 10px;
    text-decoration: none;
    border-radius: 10px;
    font-size: 120%;
}

#slider-range-value {
    font-size: 260%;
    color: #fff;
    margin-bottom: 40px;
}

#background-piggies {
    width: 1024px;
    height: 678px;
    background: url("../img/games/piggies/piggies-big.jpg");
}

#background-lrrh {
    width: 1024px;
    height: 678px;
    background: url("../img/games/lrrh/lrrh-big.jpg");
}

#background-antiVirus {
    width: 1024px;
    height: 678px;
    background: url("../img/games/antiVirus/antiVirus-big.jpg");
}

#background-quad {
    width: 1024px;
    height: 678px;
    background: url("../img/games/quad/quad-big.jpg");
}

#background-poi {
    width: 1024px;
    height: 678px;
    background: url("../img/games/poi/poi-big.jpg");
}

#background-shaker h2 {
    color: #fff;
    font-size: 300%;
    width: 50%;
    margin-left: 40%;
    line-height: 1.2;
    padding-top: 50px;
}

#background-shaker {
    width: 1024px;
    height: 678px;
    background: url("../img/bg-shaker.jpg");
}

h2 {
    margin-top: 0px;
}

#description {
    color: #fff;
    width: 40%;
    margin-left: 45%;
    padding-top: 40px;
    font-size: 120%;
    line-height: 1.3;
}

#description .contents {
    font-size: 90%;
    margin-top: 20px;
}

.icons a:first-child {
    background-image: url(../img/iconPhotosModal.svg);
    background-position: center top;
    background-size: 70px 100px;
    background-repeat: no-repeat;
    color: #fff;
    text-decoration: none;
    font-size: 80%;
    padding-top: 38px;
    display: block;
    width: 80px;
    text-align: center;
    float: left;
}
.icons.white a:first-child {
    background-image: url(../img/iconPhotosWhite.svg);
}
.icons a:first-child:hover, .icons a:first-child.active {
    background-position: center -64px;
    color: #038784;
}


.icons a:nth-child(2):hover, .icons a:nth-child(2).active {
    background-position: center -57px;
    color: #038784;
}

.icons a:nth-child(3) {
    background-image: url(../img/iconGameRulesModal.svg);
    background-position: -1px 3px;
    background-size: 70px 95px;
    background-repeat: no-repeat;
    color: #fff;
    text-decoration: none;
    font-size: 80%;
    padding-top: 38px;
    display: block;
    width: 80px;
    text-align: center;
    float: left;
}
.icons.white a:nth-child(3) {
    background-image: url(../img/iconGameRulesWhite.svg);
}
.icons a:nth-child(3):hover, .icons a:nth-child(3).active {
    background-position: -1px -57px;
    color: #038784;
}

.icons a:nth-child(4) {
    background-image: url(../img/iconPlayGameModal.svg);
    background-position: center 5px;
    background-size: 70px 95px;
    background-repeat: no-repeat;
    color: #fff;
    text-decoration: none;
    font-size: 80%;
    padding-top: 38px;
    display: block;
    width: 80px;
    text-align: center;
    float: left;
}
.icons.white a:nth-child(4) {
    background-image: url(../img/iconPlayGameWhite.svg);
}
.icons a:nth-child(4):hover, .icons a:nth-child(4).active {
    background-position: center -53px;
    color: #038784;
}

.icons {
    margin-top: -35px;
    margin-left: 740px;
    border: 2px solid #038784;
    width: 240px;
    height: 100px;
    border-radius: 10px;
}
.icons.white {
    border: 2px solid #fff;
}

.detail .icons {
    margin-top: 0px;
    margin-left: 0px;
    position: absolute;
    right: 27px;
    top: 192px;
    width: 80px;
    height: 230px;
    color: #9D9D9C;
    float: left;
    padding-top: 20px;
    background-color: #fff;
}

.browsegames {
    display: block;
    margin-top: 0px;
    margin-left: 0px;
    position: absolute;
    right: 27px;
    top: 492px;
    width: 80px;
    height: 62px;
    color: #9D9D9C;
    float: left;
    padding-top: 20px;
    background-color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid #038784;
    border-radius: 10px;
}

.shaker {
    display: block;
    margin-top: 0px;
    margin-left: 0px;
    position: absolute;
    right: 27px;
    top: 592px;
    width: 80px;
    height: 57px;
    color: #9D9D9C;
    float: left;
    padding-top: 20px;
    background-color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid #038784;
    font-size: 80%;
    border-radius: 10px;
}

.detail .icons a {
    color: #9D9D9C;
    margin-bottom: 20px;

}

.icons .more {
    color: #fff;
    text-align: center;
    margin: 6px 0px;
}

#photoSlider.royalSlider, #rulesSlider.royalSlider{
    width: 880px !important;
    height: 678px !important;
    float: left;
    margin-left: 16px;

}

#photoSlider.royalSlider .rsThumbsVer, #rulesSlider.royalSlider .rsThumbsVer {
    right: auto !important;
    left: 0 !important;
}
#photoSlider.royalSlider .rsOverflow, #rulesSlider.royalSlider .rsOverflow {
    margin-left: 96px !important; /* width of thumbnails container */
}

.detail #content {
    background-color: #EEEEEE;
}

.rsDefaultInv .rsThumb.rsNavSelected img {
    opacity: 1 !important;

}

#photoSlider .rsNavSelected {
    border: 2px solid #038784;
}


#rulesSlider .rsThumbs.rsThumbsHor {
    width: 100% !important;
    height: 60px !important;
}


#videoSlider .rsThumbs.rsThumbsHor .rsTmb, #rulesSlider .rsThumbs.rsThumbsHor .rsTmb {
    padding: 15px !important;
}


#videoSlider .rsTmb, #rulesSlider .rsTmb {
    padding-top: 27px;
    text-align: center;
    margin-right: 3px;
}
 #rulesSlider .rsThumbs .rsThumb {


    color: #fff;
    background-color: #AFCB08;
    margin-bottom: 0px !important;
     border-bottom: 1px solid #038784;

}
.rsDefaultInv .rsTmb h5 {
    font-size: 100% !important;

}

#videoSlider .rsThumb:hover, #rulesSlider .rsThumb:hover {
    background: #038784;
    color: #fff;
}
#videoSlider .rsThumb.rsNavSelected, #rulesSlider .rsThumb.rsNavSelected {
    background-color: #038784;
}

#videoSlider .rsThumb.rsNavSelected:hover, #rulesSlider .rsThumb.rsNavSelected:hover {
    color: #fff;
}

.bContainer {
    text-align: center;
    width: 100%;
}

.rsABlock {
    position: relative;
    display: block;
    right: auto;
    top: auto;
    background:rgba(3,135,132,0.7);
    color: #fff;
    font-size: 120%;
    width: 94%;
    padding: 20px;
    line-height: 1.3;
}

#3piggies {

    cursor: pointer;
    height: 600px;
    width: 960px;
}

.footer {
    background-color: #FBB900;
    color: #fff;
    position: absolute;
    top: 711px;
    width: 100%;
    padding: 15px;
    font-size: 110%;
}
.shakerButtons a.oneLine {
    cursor: pointer;
}
.shakerButtons a.oneLine.checked {
    background-image: url(../img/checkbox-checked.png);
    background-size: 90px 90px;
    background-position: center left;
    background-repeat: no-repeat;
    overflow: visible;
    border: 2px solid #038784;

}

#viewCocktail {
    display: none;
    position: absolute;
    top: 620px;
    right: 29px;
    text-transform: uppercase;
}
