/*============global search================*/

#global-search {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    background: rgba(0, 0, 0, 0);
    visibility: hidden;
}

#global-search.show {
    visibility: visible;
}

#global-search .reign-of-dark {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

#global-search.show .reign-of-dark {
    background: rgba(20, 20, 20, 0.95);
}

#global-search .search-box-content {
    text-align: center;
    position: absolute;
    /*width: 80%;*/
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -250%) scale(0.1);
            transform: translate(-50%, -250%) scale(0.1);
    -webkit-transition: all 0.4s cubic-bezier(0.47, -0.03, 0.16, 1.33);
    transition: all 0.4s cubic-bezier(0.47, -0.03, 0.16, 1.33);
    opacity: 0;
}

#global-search.show .search-box-content {
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    max-height: 70%;
}

#global-search .search-box-content .search-box-form {

}

#global-search .search-box-content .search-box-form img {
    position: absolute;
    width: auto;
    height: 60px;
    right: 0;
    top: 46%;
    -webkit-transform: translateY(-50%) rotate(90deg);
    transform: translateY(-50%) rotate(90deg);
}

#global-search .search-box-content .search-box-form form {
    position: relative;
    border-bottom: 1px solid #00ff7a;
}

#global-search .search-box-content .search-box-form form input {
    display: inline-block;
    max-width: 100%;
    padding-left: 75px;
    background: none;
    border: none;
    color: #fff;
    font-family: "Metropolis", sans-serif;
    font-size: 3rem;
    font-weight: 700;
}

#global-search .search-box-results {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#global-search .search-box-results ul {
    margin: 2%;
}

#global-search .search-box-results ul.games-result {
    width: 100%;
    position: relative;
}

#global-search .search-box-results ul.games-result h2 {
    color: #fff;
    font-size: 2rem;
    margin: 10px;
    -webkit-animation-name: game-surge;
            animation-name: game-surge;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    opacity: 0;
}

#global-search .search-box-results ul.games-result > a.vermais {
    font-size: 1.2rem;
    position: absolute;
    right: 0;
    top: 0px;
    font-family: "Metropolis", sans-serif;
}

/*#global-search .search-box-results ul.games-result > a.vermais:after {
    content: '';
    width: 14px;
    height: 14px;
    position: absolute;
    top: 8px;
    right: -15px;
    transform: rotate(-90deg);
    background-image: url(/assets/images/icons/drop-down-arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}*/

#global-search .search-box-results ul.games-result li {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100px;
    margin: 0.5%;
    overflow: hidden;
    border: 3px solid #2c3e46;
    box-sizing: border-box;
    /* flex: 1 0 100%; */
    margin-right: 1rem;
    border: 5px solid transparent;
    border-image: -webkit-linear-gradient(top, #11161b 0%, #27343f 100%);
    border-image: linear-gradient(to bottom, #11161b 0%, #27343f 100%);
    border-image-slice: 1;
}

#global-search .search-box-results ul.games-result li:nth-child(1) {
    -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s;
}

#global-search .search-box-results ul.games-result li:nth-child(2) {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
}

#global-search .search-box-results ul.games-result li:nth-child(3) {
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
}

#global-search .search-box-results ul.games-result li:nth-child(4) {
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s;
}

#global-search .search-box-results ul.games-result li:nth-child(5) {
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
}

#global-search .search-box-results ul.games-result li:nth-child(6) {
    -webkit-animation-delay: 0.6s;
            animation-delay: 0.6s;
}

#global-search .search-box-results ul.games-result li:nth-child(7) {
    -webkit-animation-delay: 0.7s;
            animation-delay: 0.7s;
}

#global-search .search-box-results ul.games-result li:nth-child(8) {
    -webkit-animation-delay: 0.8s;
            animation-delay: 0.8s;
}

#global-search .search-box-results ul.games-result li:nth-child(9) {
    -webkit-animation-delay: 0.9s;
            animation-delay: 0.9s;
}

#global-search .search-box-results ul.games-result li:nth-child(10) {
    -webkit-animation-delay: 0.10s;
            animation-delay: 0.10s;
}

#global-search .search-box-results ul.games-result li:nth-child(11) {
    -webkit-animation-delay: 0.11s;
            animation-delay: 0.11s;
}

#global-search .search-box-results ul.games-result li:nth-child(12) {
    -webkit-animation-delay: 0.12s;
            animation-delay: 0.12s;
}

#global-search .search-box-results ul.games-result li:nth-child(13) {
    -webkit-animation-delay: 0.13s;
            animation-delay: 0.13s;
}

#global-search .search-box-results ul.games-result li:nth-child(14) {
    -webkit-animation-delay: 0.14s;
            animation-delay: 0.14s;
}

.loading-search{
    position: fixed;
    width: 100%;
    height: 400px;
    z-index: 999999;
}

@media (max-width: 1600px) {}

@media (max-height: 700px) {
    #global-search .search-box-results ul.games-result li {
        height: 80px
    }
}