@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    border: none;
}
body {
    position:relative;
    margin: 0;
    padding: 2% 5% 0% 5%;
    font-family: 'Open Sans', sans-serif; 
    font-size: 15px;
    color:#222;
    font-weight:100;
    background: #ffffff;
    line-height: 25px;
    transition: padding 0.5s;
}
a {
    color: #a00e41;
    text-decoration: none;
}
a:hover {

}
h1, h2 {
    font-weight: 100;
}
.left {
    float:left;
}
.right {
    float: right;
}
.cleaner {
    clear: both;
    height: 0;
    margin: -1px 0 0 0;
    padding: 0;
    visibility: hidden;
}
#menu {
    background: url('../img/background/background.jpg');
    background-size: cover;
    background-position: 50% 50%;
    min-height: 600px;
    overflow: visible;
    position: relative;
    z-index: 50;
}
#header {
    position: absolute;
    background: white;
    background: rgba(255,255,255,0.75);
    top: 10%;
    height: 160px;
    width: 100%;
    z-index: 100;
    transition: height 0.5s, background 2s;
}
#logo {
    position: absolute;
    left: 50%;
    margin-left: -150px;
    top: 10px;
    width: 339px;
    height: 80px;
    background: url('../img/logo.png') no-repeat;
    background-size: contain;
    transition: top 0.5s, margin-left 0.5s, width  0.5s, border 0.5s, background 0.5s, left 0.5s;
}
#header-menu {
    position: absolute;
    left: 50%;
    margin-left: -400px;
    top: 110px;
    width: 800px;
    height: 40px;
    border-top: 1px #a00e41 solid;
    text-align: center;
    transition: top 0.5s, margin-left 0.5s, width  0.5s, border 0.5s, left 0.5s;
}
#header-menu a {
    padding: 5px 40px;
    font-size: 16px;
    display: inline-block;
    width: auto;
    text-align: center;
    transition: width 0.5s, padding 0.5s;
}
#header-menu a:hover {
    border-bottom: 1px #a00e41 solid;
}
#header-menu a.focus {
    border-bottom: 1px #a00e41 solid;
}
#header.header-fix {
    position: fixed;
    background: white;
    height: 80px;
    top: 0px;
    left: 0px;
    right: 0px;
}
#header.header-fix #logo {
    left: 50%;
    margin-left: -400px;
    top: 13px;
    height: 50px;
    width: 212px;
    cursor: pointer;
    opacity: inherit;
    filter: inherit;
}
.header-fix #header-menu {
    left: 50%;
    margin-left: -60px;
    top: 20px;
    width: 470px;
    border-top: 0px solid;
}
.header-fix #header-menu a {
    padding: 5px 30px;
    font-size: 16px;
    display: inline-block;
    width: auto;
    text-align: center;
}
#submenu {
    height: 0px;
    background: #a2063d;
    position: fixed;
    top: 100px;
    left: 0px;
    right: 0px;
    z-index: 100;
    overflow: hidden;
    text-align: center;
    transition: height 0.25s, top 0.25s;
}
#submenu a {
    color: white;
    display: inline-block;
    padding: 13px 30px 5px 30px;
}
#submenu a:hover {
    border-bottom: 1px white solid;
}
#submenu a.focus {
    border-bottom: 1px white solid;
}
#submenu.submenu-fix {
    top: 80px;
    height: 50px;
}
#menu h1 {
    position: absolute;
    width: 100%;
    height: auto;
    min-height: 48px;
    line-height: 60px;
    top:40%;
    font-size: 35px;
    color: white;
    text-align: center;
}
#boxes {
    position: absolute;
    width: 990px;
    left: 50%;
    margin-left: -480px;
    height: 400px;
    top: 55%;
}
.box {
    display: block;
    color: white;
    width: 300px;
    height: 300px;
    float: left;
    margin-right: 30px;
    margin-bottom: 30px;
}
.box h2 {
    width: 100%;
    text-align: center;
}
.box p {
    padding: 20px;
    padding-top: 30px;
    font-size: 15px;
}
.box-small {
    height: 100px;
    line-height: 100px;
    margin-left: 330px;
}
#content {
    width: 100%;    
    padding-top: 160px;
    text-align: center;
    padding-bottom: 90px;    
}
#content > div {
    padding: 40px;
    border-bottom: 1px #a2063d solid;
    padding-top:30px;
    padding-bottom: 50px;
    text-align: center;
    background: #e8ecec;
}
#content #content-contact {
    background-color: #a2063d;
}
#content h2 {
    padding-top: 40px;
    padding-bottom: 40px;
    color: #a2063d;
    font-size: 40px;
    line-height: 60px;
}
#content p {
    width: 300px;
    padding: 20px;
    margin: auto;
    text-align: left;
}
#content ul {
    width: 300px;
    list-style: none;
    margin: auto;
    text-align: left;
    padding: 20px;
}
#content ul li {
    padding-bottom: 15px;
}
#content ul li:before{
    content:"-";
    position:relative;
    margin-left: -10px; /* optional, for multiline li element */
    left: -5px;
}
#content-reference a {
    width: 300px;
    height: 100px;
    overflow: hidden;
    margin: 8px;
    display: inline-block;
    background-size: 100% 200%;
}
#content-reference a:hover {
    background-position: bottom center;
}
#reference-wrapper {
    width: 960px;
    margin: auto;
}
#reference-cdkeyshop {background-image: url('../img/reference/cdkeyshop.png');}
#reference-cnp {background-image: url('../img/reference/cnp.png');}
#reference-digitalkeys {background-image: url('../img/reference/digitalkeys.png');}
#reference-enjoygames {background-image: url('../img/reference/enjoygames.png');}
#reference-gameplug {background-image: url('../img/reference/gameplug.png');}
#reference-gamestore {background-image: url('../img/reference/gamestore.png');}
#reference-gamezzone {background-image: url('../img/reference/gamezzone.png');}
#reference-k4y {background-image: url('../img/reference/k4y.png');}
#reference-luckykeys {background-image: url('../img/reference/luckykeys.png');}
#reference-mmoboost {background-image: url('../img/reference/mmoboost.png');}
#reference-steamshop {background-image: url('../img/reference/steamshop.png');}
#reference-xgames {background-image: url('../img/reference/xgames.png');}
#reference-jenkrabice {background-image: url('../img/reference/jenkrabice.png');}
#reference-cdklice {background-image: url('../img/reference/cdklice.png');}
#reference-gameload {background-image: url('../img/reference/gameload.png');}
#reference-gameskey {background-image: url('../img/reference/gameskey.png');}
#reference-kinggames {background-image: url('../img/reference/kinggames.png');}
#reference-alfapredator {background-image: url('../img/reference/alfapredator.png');}
#reference-24keys {background-image: url('../img/reference/24keys.png');}
#reference-digitalgames {background-image: url('../img/reference/digitalgames.png');}
#reference-xkey {background-image: url('../img/reference/xkey.png');}
#reference-cdkey {background-image: url('../img/reference/cdkey.png');}
#reference-zona628 {background-image: url('../img/reference/zona628.png');}
#reference-gameshop {background-image: url('../img/reference/gameshop.png');}
#reference-hernyshop {background-image: url('../img/reference/hernyshop.png');}
#reference-keengamer {background-image: url('../img/reference/keengamer.png');}
#reference-spidla {background-image: url('../img/reference/spidla.png');}
#reference-gameshock {background-image: url('../img/reference/gameshock.png');}
#reference-gamefront {background-image: url('../img/reference/gamefront.png');}
#reference-pietrocodes {background-image: url('../img/reference/pietrocodes.png');}
#reference-imperiumhracu {background-image: url('../img/reference/imperiumhracu.png');}
#reference-hrybezkrabice {background-image: url('../img/reference/hrybezkrabice.png');}

#price-list-table {
    width: 880px;
    margin: auto;
}
#price-list-table table {
    width: 100%;
    border-spacing: 0;
}
#price-list-table tr.hidden {
    display: none;
}
#price-list-all {
    width: 180px;
    padding: 10px 40px 10px 40px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    margin: auto;
}
#price-list-all:hover {    
    text-decoration: underline;
}
#price-list-table td, #price-list-table th {
    border: 0px;
    width: 15%;
    border-bottom: #666666 1px solid;
    vertical-align: middle;
    padding: 10px;
    height: 30px;
    font-weight: 100;
}
#price-list-table td:first-child, #price-list-table th:first-child {
    width: 55%;
}
#price-list-table-prices td {
    border-bottom: none;
}
#price-list-table .bg-red {
    border-bottom: 1px white solid;
    color: white;
}
#price-list-table td.bg-red {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
}
.checked-green {
    background-image: url('../img/icons/checked-green.png');
    background-position: center center;
    background-repeat: no-repeat;
}
.checked-white {
    background-image: url('../img/icons/checked-white.png');
    background-position: center center;
    background-repeat: no-repeat;
}
.bg-red {
    background-color: #a2063d;
}
#content-contact {
    margin-bottom: 50px;
}
#content-contact h2 {
    color: white;
}
#content-contact p {
    width: 250px;
    margin: 0;
    color: white;
    line-height: 35px;
    position: relative;
    left: 50%;
    margin-left: -50px;
}

@media (max-width: 1200px) {
    body {
        padding: 2% 2% 0% 2%;
        transition: padding 0.5s;
    }
}

@media (max-width: 1050px) {
    body {
        padding: 0;
        transition: padding 0.5s;
    }
    #header-menu {
        width: 100%;
        margin-left: 0;
        left: 0;
    }
}

@media (max-width: 1000px) {
    #boxes {
        width: 660px;
        margin-left: -315px;
    }
    .box-small {
        margin-left: 0;
    }
    #content-rental {
        margin-top: 170px;
    }
    .header-fix #logo {
        margin-left: -318px;
    }
    .header-fix #header-menu {
        margin-left: -105px;
    }
    .header-fix #header-menu a {
        width: auto;
        padding: 5px 18px;
    }
    #reference-wrapper {
        width: 640px;
    }
    #price-list-table {
        width: 100%;
    }
    #price-list-table td, #price-list-table th {
        width: auto;
    }
    #content {
        padding-bottom: 0;
    }
    #content > div {
        padding-left: 0;
        padding-right: 0;
    }
    #content h2 {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
}

@media (max-width: 850px) {
    #header.header-fix #logo {
        left: 0;
        margin-left: 20px;
    }
}

@media (max-width: 700px) {
    #header {
        position: absolute;
        top: 0;
        height: 100px;
        text-align: center;
    }
    #menu h1 {
        position: relative;
        top: 0;
        width: auto;
        padding: 20px;
        padding-top: 110px;
    }
    #header #logo {
        left: 0px;
        right: 0px;
        margin-left: 0px;
        background-position: center center;
        width: auto;
        background-size: contain;
    }
    #header.header-fix #logo {
        left: 0px;
        right: 0px;
        margin-left: 0px;
        background-position: center center;
        width: auto;
        background-size: contain;
    }
    #header-menu {
        display: none;
    }
    #submenu {
        display: none;
    }
    .header-fix #logo {
        margin-left: 0;
        left: 0;
    }
    #boxes {
        width: 100%;
        margin-left: 0;
        left: 0;
        top: 0;
        position: relative;
    }
    .box {
        width: 100%;
        margin-right: 0;
        height: 170px;
        overflow: hidden;
        text-align: center;
    }
    .box-small {
        height: 100px;
    }
    #content-rental {
        margin-top: 0;
    }
    #price-list-table {
        width: 100%;
    }
    #price-list-table table td, #price-list-table table th {
        width: 50px;
    }
    #price-list-table table td:first-child, #price-list-table table th:first-child {
        width: auto;
    }
    #price-list-table th {
        height: 100px;
        width: auto;
        vertical-align: middle;
    }
    #price-list-table th span {
        transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        position: relative;
        display: block;
    }
    #content-contact p {
        width: auto;
        padding: 20px 20px;
    }
    #reference-wrapper {
        width: 320px;
    }
    #content {
        padding-bottom: 0;
    }
    #content > div {
        padding-left: 0;
        padding-right: 0;
    }
    #content h2 {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    #content > div > img.nb {
        width: 100%;
    }
    #content #content-support > img.nb {
        width: 226px;
    }
    #price-list-all {
        width: auto;
    }
}

@media (max-width: 500px) {
    #price-list-table {
        width: 100%;
    }
    #price-list-table td {
        width: auto;
    }
    #content > div > img.nb {
        width: 100%;
    }
    #content #content-support > img.nb {
        width: 226px;
    }
    #price-list-all {
        width: auto;
    }
}

@media (max-width: 380px) {
    #content p {
        width: auto;
        padding: 0px 20px;
    }
    #content-reference {
        width: 100%;
    }
    #reference-wrapper a {
        width: 100%;
        margin: 10px 0;
    }
    #price-list-table-prices {
        height: auto;
    }
    #price-list-all {
        width: auto;
    }
}
