body {
    background-color: #EEEEEE;
}

nav.navbar.navbar-inverse {
    border-radius: 0 0 0 0;
}

.navbar {
    margin-bottom: 5px;
}

.navbar-inverse {
    background-color: #16A2B8 !important;
}

header nav ul li {
    font-weight: bold;
    color: rgba(255,255,255,.5);
}

header nav ul li.active a {
    color: #fff;
    background-color: inherit !important;
}

.desktop-search-bar {
    width: 50%;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 20px;
}

.desktop-search-bar button {
    background-color: #fff;
    border: 1px solid #ccc;
    border-left: none;
    color: #555;
}

.mob-menu-button {
    border: 1px solid #888 !important;
}

.search-mob-button {
    color: white;
    padding: 6px 13px;
    font-size: 14px;
    margin: 8px 0 0 0;
}

.logo-mobile {
    color: white;
    font-size: 18px;
    float: left;
    margin-top: 16px;
}

    
    .search-bar-mobile-wrapper {
        overflow: hidden;
        width: 100%;
        height: 0px;
        -webkit-transition: height .2s ease-in-out;
        -moz-transition: height .2s ease-in-out;
        -ms-transition: height .2s ease-in-out;
        -o-transition: height .2s ease-in-out;
        transition: height .2s ease-in-out;
    }
    
    .search-bar-mobile-wrapper.open {
        height: 60px;
        padding-top: 5px;
    }
    
    .search-bar-mobile-wrapper button {
        background-color: #fff;
        border: 1px solid #ccc;
        border-left: none;
        color: #555;
    }
    
    .search-bar-mobile {
        margin: 0 auto;
        width: 85%;
        text-align: center;
        padding-bottom: 65px;
    }

.currently-played-item {
    padding: 2px 10px;
    overflow: hidden;
    max-height: 25px;
    margin: 3px 0;
}

.currently-played-item:nth-child(1) {
    margin: 0;
}

.game-list-title {
    width: 100%;
    display:inline-block;
    white-space: nowrap;
    overflow:hidden !important;
    text-overflow: ellipsis;
}

.game-list-descr {
    width: 100%;
    overflow:hidden !important;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pagination-container {
    display: block;
    margin: 15px auto;
}

.gamez-pagination>li.active a {
    background-color: #FFF200 !important;
    border-color: #343A40 !important;
    font-weight: bold;
    color: black !important;
}

.gamez-pagination>li>a {
    background-color: #343A40 !important;
    border-color: #343A40 !important;
    color: white;
}

.gamez-pagination>li>a:hover {
    color: #FFF799;
}

footer a {
    color: lightgray;
}

footer a:hover {
    color: white;
}

.play-frame {
    display: table;
    margin: 0 auto;
    background-color: #EEEEEE;
}

.rotate-phone-gif {
    width: 50%;
    display: block;
    margin: 0 auto;
}

.html-play-button-container {
    width: 100%;
    display: inline-flex;
}

.btn-play-game {
    display: block;
    margin: 20px auto 45px auto;
    padding: 20px;
    background-color: #FFBC03;
    width: 300px;
    font-weight: bold;
    text-shadow: 0px 0px 10px black;
    color: white;
}

iframe.html-game {
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    overflow: hidden !important;
    border: none;
}

iframe.html-game.mob-game {
    width: 800px !important;
    height: 360px !important;
}

.html-game.initial-size {
    width: 800px;
    height: 600px;
}

.the-games-listing {
    background-color: white;
    padding: 25px;
    box-shadow: 0 0 1px lightgrey;
}

.game-list-title {
    font-family: 'Ubuntu', sans-serif;
}

.sidebar-title {
    font-size: 15px;
    font-weight: bold;
    color: #a4a4a4;
    font-family: 'Ubuntu', sans-serif;
    letter-spacing: -1px;
}

.currently-played-item p {
    float: left;
    color: #343A40;
}

.currently-played-item small {
    float: right;
}

.currently-played-item {
    width: 100%;
    display: block;
    clear: both;
    font-family: 'Ubuntu', sans-serif;
}

.list-cur-played-games li:hover {
    background-color: white;
}

.game-item {
    margin: 0 auto;
    margin-bottom: 5px;
    background-color: #EEEEEE;
    border-radius: 5px;
    border: 1px solid #DDD;
    min-height: 350px;
}

@media (max-width: 725px) {
    .game-item {
        min-height: 320px !important;
    }
}

@media (max-width: 440px) {
    .game-item {
        min-height: 230px !important;
    }
}


.game-item img {
    width: 100%;
    border-radius: 5px 5px 0 0;
}

@media (min-width: 992px) {
   .game-item {
        min-height: 220px !important;
    }
}

.column-custom {
    padding: 5px;
}

.card-body {
    padding: 0 5px;
}

.game-item h4 {
    color: rgb(73, 80, 87);
    font-weight: bold;
    font-size: 15px;
    margin: 5px 0 0px 0;
    height: 20px;
}

.game-item p {
    font-size: 12px;
    color: #666;
}

.ads {
    text-align: center !important;
    margin: 0 auto;
}

.ads iframe {
    display: inline-block;
    margin: 0 auto;
    width: 300px;
    height: 250px;
}

.ads img {
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .ads-right {
        width: 100% !important;
        padding: 0;
        margin: 0;
    }
}

.container-fluid {
    min-width: 300px !important;
}

@media (max-width: 1400px) {
    .ads-left {
        display: none;
    }
    
    .ads-right {

    }
}

.container-with-games-and-ads {
    min-width: 300px !important;
}

@media (max-width: 1300px) {
    .container-with-games-and-ads {
        width: 80%;
        margin: 0 auto;
        display: block;
        float: none !important;
    }
}

@media (min-width: 1401px) {
    .ads-below {
        display: none;
    }
    
    .ads-left,
    .ads-right {
        display: inline-block !important;
    }
}

@media (max-width: 1400px) {
    .ads-left,
    .ads-right {
        display: none !important;
    }
    
    .game-container {
        width: 100% !important;
        padding: 0 !important;
    }
}

@media (min-width: 1301px) and (max-width: 1400px) {
    .container-with-games-and-ads {
        width: 70%;
        margin: 0 auto;
        display: block;
        float: none !important;
    }
}

@media (max-width: 992px) {
    .container-with-games-and-ads {
        float: left;
    }
    
    .ads {
        text-align: center;
    }
    
    .ads img {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1200px) {
    .game-container {
        min-width: 675px;
    }
}

footer {
    background-color: #343A40;
    color: white;
    text-align: center;
    padding: 10px;
}

.h1, h1 {
    font-size: 26px;
    margin-top: 0 !important;
}

a.at-icon-wrapper.at-share-btn {
    box-shadow: 0 0 4px grey;
}

.game-type {
    position: absolute;
    display: block;
    color: white;
    right: 10px;
    background-color: #DB1A21;
    font-size: 0.7em;
    padding: 1px 4px;
    top: 10px;
    border-radius: 3px;
}

.game-type.type-flash {
    background-color: #DB1A21;
}

.game-type.type-html {
    background-color: #7BA738;
}

.game-type.type-download {
    background-color: #2C53A3;
}