body {
    width: 100%;
    background-color: #333;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.search-bar-desktop {
    height: 83px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.bootbox * {
    color: black;
}

a {
    color: #fff;
    /*    -webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;*/
}

a:link,
a:visited,
a:active {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #ffbc00;
    text-decoration: none;
}

/* --- header --- */

.top-head {
    height: auto;
    width: 100%;
    background-color: #222222;
    padding: 10px 3% 0;
}

.top-head-wrap {
    margin: 0 auto;
}

.top-brand img {
    width: 100%;
    max-width: 250px;
}

.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > li > a:hover {
    color: #ffbc00;
}

.navbar-inverse {
    background-color: #222222;
    border: none;
    border-radius: 0;
}

@media (min-width: 768px) {
    .navbar-nav {
        float: left;
        margin: 0;
        text-transform: uppercase;
        font-size: 14px;
    }

    .navbar-form {
        padding-top: 5%;
    }
}

.btn-info {
    color: #fff;
    background-color: #ffbc00;
    border-color: #edaf02;
}

.btn-info:hover {
    color: #fff;
    background-color: #edaf02;
    border-color: #edaf02;
}

/* --- // header --- */
/* --- aside --- */

.aside-list {
    text-align: left;
    font-size: 13px;
}

.aside-list .lead {
    color: #fff;
    margin-bottom: 5px;
    font-size: 17px !important;
}

.aside-list ul {
    padding-left: 15px;
}

/* --- // aside --- */

.main-wrap,
footer {
    width: 100%;
    padding: 0 2%;
    margin: 0 auto;
}

.main-wrap.full-width {
    width: 100%;
    max-width: 100%;
}

.frame {
    background-color: #222222;
    padding: 20px;
    border: 3px solid #5a5a5a;
    border-radius: 10px;
    margin-bottom: 10px;
}

.preview {
    border: 3px solid #424242;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    height: 118px;
    background: #000000;
}

.preview:hover {
    border: 3px solid #ffbc00;
}

.preview img {
    /* height: 100%; */
    /* width: 100%; */
    /* position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    bottom: -100%; */
    /* margin: auto; */
    /* height: 100%; */
    /* transform: scale(1.7,1.7); */
}

.preview .overlay {
    height: 100% !important;
    left: 0;
    position: absolute;
    top: 0;
}

.preview .overlay.overlayOp {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.1s ease-out;
    -moz-transition: opacity 0.1s ease-out;
    -ms-transition: opacity 0.1s ease-out;
    -o-transition: opacity 0.1s ease-out;
    transition: opacity 0.1s ease-out;

    /* position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    bottom: -100%; */
    /* margin: auto; */
    /* height: 100%; */
    /* transform: scale(1.7,1.7); */
    /* transform: scale(3.5,4.5); */
    /* z-index: 99;
    width: 130px; */
    width: 100%;
}

.preview:hover .overlay.overlayOp {
    opacity: 1;
    filter: alpha(opacity=100);
}

.caption {
    margin: 6px 0 0 0;
    font-size: 14px;
    text-align: center;
}

.details {
    font-size: 13px;
    line-height: 1.1;
    padding-top: 5px;
    color: #fff;
}

article, section, main {
    color: #fff;
}

article a {
    color: #fff;
}

article a:hover,
article a:focus,
article a:active {
    color: #ffbc00;
    text-decoration: none;
}

article h3 {
    font-size: 12px;
    margin: 10px 0 20px 0;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
}


@media (min-width: 768px) {
    article h3 {
        font-size: 14px;
    }
}

footer {
    margin: 20px auto;
}

input[type=file] {
    color: white;
}

input,
textarea {
    color: black;
}

.add-game label,
.add-game input,
.add-game textarea {
    width: 100%;
    display: block;
}

.game-thumb {
	max-width: 245px;
}

@media (min-width: 515px) and (max-width: 992px) {
	.game-thumb {
		display: inline-block;
		float: none;
	}

	.game-panel {
		text-align: center;
	}
}

.game-thumb-search {
    /* height: 160px; */
}

.game-thumb-mini {
    /* height: 160px; */
}

.games-pagination > li.active a {
    background-color: #FFBC03 !important;
    border-color: #FFBC03 !important;
    font-weight: bold;
}

.games-pagination > li > a {
    background-color: #5A5A5A !important;
    border-color: #5A5A5A !important;
    color: white;
}

iframe {
    display: inline;
}

.header-text {
    margin: 0 15px 15px 15px;
    width: auto;
    max-width: 100% !important;
}

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

/* @media (max-width: 520px) {
    .html-play-button-container {
        display: none;
    }
} */

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

.mobile-info-msg{
    background-color: #e93636;
    padding: 10px;
    border-radius: 5px;
}

.mobile-info-msg h5 {
    font-weight: 600;
    font-size: 1.4em;
    text-align: center;
    text-shadow: 0px 0px 10px black;
}

.mobile-info-msg p{
    font-size: 1.3em;
    line-height: 1.1em;
}

.pc-games-on-mobile > img{
    filter: grayscale(100%);
}

.pc-games-on-mobile-txt{
    z-index: 99999;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
}

.pc-games-on-mobile-txt img{
    height: 100%;
}


.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;
}

#iframe-container {
    border: 3px solid #222222;
    width: 100%;
    height: calc(80vw*0.56);
    max-width: 100%;
    max-height: 90vh;
}

.test123 {
    border: 3px dotted white;
    background: rgba(249, 184, 4, 0.3);
}

iframe.html-game {
    width: 100%;
    height: 100%;
    display: block;
    overflow: auto;
}
.ui-resizable-handle.ui-resizable-se {
    width: 32px;
    height: 32px;
    background: url(../img/resize.svg);
    background-size: contain;
    right: 0px;
    bottom: 0px;
}

.ui-resizable-resizing {
    margin: 0 auto;
}

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

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

.vertical-trending-ads {
    text-align: center;
}

.vertical-trending-ads iframe {
    display: inline;
    margin: 0 15px;
}


.top-brand {
    display: inline;
    margin: 0 auto;
}

.game-platform-label{
    position: absolute;
    bottom: 2px;
    right: 4px;
}

.flash-label{
    background: #a80707;
    border-radius: 2px;
    padding: 2px 5px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    font-size: 9px;
}

.web-label{
    background: #7BA738;
    border-radius: 2px;
    padding: 2px 5px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    font-size: 9px;
}

.pc-label{
    background: #2C53A3;
    border-radius: 2px;
    padding: 2px 5px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    font-size: 9px;
}

@media (min-width: 993px) {

}

@media (max-width: 992px) {
    .top-brand {
        position: relative;
        left: 51%;
        margin-left: -150px;
    }

    .top-brand img {
        width: 150px;
        height: 50px;
    }

    .game-thumb {
        /* min-height: 180px; */
    }

    footer {
        text-align: center !important;
    }

    footer .text-right {
        text-align: center !important;
        margin-bottom: 10px;
    }
}

.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;
}

.search-bar-mobile {
    margin: 0 auto;
    width: 85%;
    text-align: center;
    padding-bottom: 65px;
}

#star-rating {
    margin: 0 auto 15px auto;
}

.addthis_inline_share_toolbox {
    margin-bottom: 10px;
}



.bnr-side {
    text-align: center;
    margin-bottom: 15px;
}

.bnr-top {
    display: block;
    text-align: center;
    padding: 0 0 15px 0;
}

.bnr-bottom {
    display: block;
    text-align: center;
    padding: 0 15px;
}

.aside-list {
    min-width: 160px;
}

@media (max-width: 720px) {
    .search-recommendations {
        line-height: 2em;
        font-size: 1.5em;
    }
}

.search-recommendations a {
    text-decoration: underline;
}

.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
    z-index: 2;
    color: #FFBC03;
}

/** User Account **/
.edit-btn{
    color: #000;
    background-color: #ffbc00;
    border-color: #edaf02;

    padding: 10px;
    border-radius: 3px;
    font-weight: 500;
    /* display: block; */
    text-align: center;
    /* font-size: 2em; */
}

.edit-btn:hover{
    color: #000;
    background-color: #edaf02;
    border-color: #edaf02;
}

.block-btn{
    color: #000;
    background-color: #db0c0c;
    border-color: #db0c0c;

    padding: 10px;
    border-radius: 3px;
    font-weight: 500;
    /* display: block; */
    text-align: center;
    /* font-size: 2em; */
}

.block-btn:hover{
    color: #000;
    background-color: #ca0d0d;
    border-color: #ca0d0d;
}

.cancel-btn{
    color: #000;

    padding: 10px;
    border-radius: 3px;
    font-weight: 500;
    /* display: block; */
    text-align: center;
    /* font-size: 2em; */
}

.avatar {
    vertical-align: middle;
    width: 100px;
    height: 100px;
    /*border-radius: 10%;*/
    /*border: 2px solid #5a5a5a;*/
    margin-bottom: 0.5em;
  }

.avatar-menu {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #5a5a5a;
    margin-bottom: 5px;
  }


  .modal-content{
      background-color: #5A5A5A;
  }

  #comment-frm textarea {
    padding: 10px;
    display: block;
    width: 100%;
    height: 4em;
    margin-bottom: 10px;
    border-radius: 5px;
}

/*** Messages List ***/
.messages-list th{
    text-align: center;
}

.messages-list img.avatar{
    margin: 0 auto; 
    display: block;
}

.messages-list span.nick{
    display:block; 
    text-align: center;
}

.table-hover>tbody>tr:hover {
    background-color: #333;
}

.messages img.avatar{
    margin: 0 auto; 
    display: block;
}

#sned-msg{
    margin-bottom: 20px;
}

#sned-msg img.avatar{
    margin: 0 auto; 
    display: block;
    margin-bottom: 19px;
}

.messages span.nick{
    display:block; 
    text-align: center;
}

.my-message{
    background-color: #555;
    border-color: #999;
}

.c-avatar{
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 2px solid #5a5a5a;
}

.c-frame{
    padding: 10px 20px 0px 20px;
    border: 1px solid #5a5a5a;
    border-radius: 10px;
    /* background-color: #333; */
    width: 100%;
    margin: 0 auto 10px auto;
    min-height: 75px;
}

.c-frame div p:first-child {
    margin-bottom: 0;
}

.lc-thumb{
    position: relative;
    height: 130px;
    overflow: hidden;
    display: block;
    -webkit-border-radius: 6px 0 0 6px;
    -moz-border-radius: 6px 0 0 6px;
    border-radius: 10px 0 0 10px;
    background-color: #000000;
}

.lc-thumb img{
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    bottom: -100%;
    margin: auto;
    height: 100%;
    transform: scale(1.1,1.1);
}

.lc-thumb span{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.has-error {
    border: 1px solid red;
    color: red;
}

img.responsive-thumb {
    max-width: 100%;
    min-height: 100%;
}


/* formArea */
.formArea { padding: 55px 30px; width: 100%; float: left; background: #2a2a2a; font-size: 13px; color: #fff; margin-bottom:30px; }
.formArea .border_R { border-right: 1px solid #333; }

.formArea .fgroup { margin-bottom: 23px; }
.formArea .fgroup.margin_b { margin-bottom: 0px; }
.formArea .name_label { display: block; font-size: 14px; color: #fff; font-weight: 500; }
.formArea label { margin: 0 20px 5px 0; display: inline-block; line-height: normal; }
.formArea label input[type="radio"], .formArea label input[type="checkbox"]{ margin-right: 5px; display: inline-block; vertical-align: middle; }

.formArea .form-control { padding: 0 10px; height: 40px; color: #fff; font-size: 13px; border: none; background: #3c3c3c; }
.formArea input[type="file"].form-control { padding: 7px 10px; background:#222222; height: 30px; min-height: 43px; cursor:pointer; transition: 0.3s;}
.formArea input[type="file"].form-control:hover{ background:#edaf02; }
.formArea textarea.form-control { padding: 10px 15px; height: 135px; }
.formArea .form-control::-webkit-input-placeholder { color: #fff; }
.formArea .form-control::-moz-placeholder { color: #fff; }
.formArea .form-control:-ms-input-placeholder { color: #fff; }
.formArea .form-control:-moz-placeholder { color: #fff; }

.formArea .check { margin: 15px 0; }
.formArea .forget { float: right; color: #fff; }

.formArea .file_upload { margin-bottom: 15px; }
.formArea .file_upload p { margin-bottom: 0px; font-size: 12px; color: #7f7f7f; line-height: 18px; }

.formArea .fgroup .btn { width: 100%; height: 40px; font-size: 17px; text-transform: uppercase; background: #ffbc00; transition: 0.3s;max-width:304px;}
.formArea .fgroup .btn:hover{ background:#edaf02;}
.formArea .cntr { padding-top: 50px; text-align: center; }
.formArea .facebook { margin: 0 0 0 10px; padding: 8px 0; min-width: 230px; display: inline-block; font-size: 14px; color: #fff; font-weight: 600; text-align: center; text-decoration: none; line-height: 30px; border-radius: 5px; border: 1px solid #fff; background: #133a91; }
.formArea .facebook i { width: 18%; height: 30px; float: left; font-size: 18px; line-height: 30px; border-right: 1px solid #3761b4; }
.formArea .facebook span { width: 82%; height: 30px; float: right; letter-spacing: 0.5px; border-left: 1px solid #4d77cb; }
