/* Copyright 2013 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/eot/IRANSansWeb_Black.eot');
    src: url('../fonts/eot/IRANSansWeb_Black.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb_Black.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb_Black.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb_Black.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/eot/IRANSansWeb_Bold.eot');
    src: url('../fonts/eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb_Bold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb_Bold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb_Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/eot/IRANSansWeb_Medium.eot');
    src: url('../fonts/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb_Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb_Medium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/eot/IRANSansWeb_Light.eot');
    src: url('../fonts/eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb_Light.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb_Light.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb_Light.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/eot/IRANSansWeb_UltraLight.eot');
    src: url('../fonts/eot/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb_UltraLight.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb_UltraLight.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb_UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/eot/IRANSansWeb.eot');
    src: url('../fonts/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/woff2/IRANSansWeb.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/woff/IRANSansWeb.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/ttf/IRANSansWeb.ttf') format('truetype');
}


html, body {
    padding: 0;
    margin: 0;
}

.icon {
    -webkit-user-select: none;
    user-select: none;
    display: inline-block;
}

.icon-offline {
    content: -webkit-image-set(url(assets/default_100_percent/100-error-offline.png) 1x, url(assets/default_200_percent/200-error-offline.png) 2x);
    position: relative;
}

.hidden {
    display: none;
}


/* Offline page */

.offline .interstitial-wrapper {
    color: #2b2b2b;
    font-size: 1em;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 600px;
    padding-top: 100px;
    width: 100%;
}

.offline .runner-container {
    height: 150px;
    max-width: 600px;
    overflow: hidden;
    position: absolute;
    top: 35px;
    width: 44px;
}

.offline .runner-canvas {
    height: 150px;
    max-width: 600px;
    opacity: 1;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 2;
}

.offline .controller {
    background: rgba(247, 247, 247, .1);
    height: 100vh;
    left: 0;
    position: absolute;
    top: 0;
    width: 100vw;
    z-index: 1;
}

#offline-resources {
    display: none;
}

@media (max-width: 420px) {
    .suggested-left > #control-buttons, .suggested-right > #control-buttons {
        float: none;
    }

    .snackbar {
        left: 0;
        bottom: 0;
        width: 100%;
        border-radius: 0;
    }
}

@media (max-height: 350px) {
    h1 {
        margin: 0 0 15px;
    }

    .icon-offline {
        margin: 0 0 10px;
    }

    .interstitial-wrapper {
        margin-top: 5%;
    }

    .nav-wrapper {
        margin-top: 30px;
    }
}

@media (min-width: 600px) and (max-width: 736px) and (orientation: landscape) {
    .offline .interstitial-wrapper {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 420px) and (max-width: 736px) and (min-height: 240px) and (max-height: 420px) and (orientation: landscape) {
    .interstitial-wrapper {
        /*margin-bottom: 100px;*/
    }

    .runner-container {
        padding-bottom: 100px;
    }
}

@media (min-height: 240px) and (orientation: landscape) {
    .offline .interstitial-wrapper {
        margin-bottom: 90px;
    }

    .icon-offline {
        margin-bottom: 20px;
    }
}

@media (max-height: 320px) and (orientation: landscape) {
    .icon-offline {
        margin-bottom: 0;
    }

    .offline .runner-container {
        top: 10px;
    }
}

@media (max-width: 240px) {
    .interstitial-wrapper {
        overflow: inherit;
        padding: 0 8px;
    }
}

@media (max-width: 425px) {
    .column {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .main-section{
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .game-container{
        width: 100% !important;
        margin-right: 0 !important;
    }

    .modal-content::before {
        width: 250px !important;
        height: 250px !important;
        right: 40px !important;
        top: -215px !important;
    }
}

/**
 * Page CSS
 */

body {
    font-family: IRANSans, sans-serif;
    /*background-image: url("../img/bg.png");*/
    background-color: #f5f5f5;
    padding-left: 20px;
    padding-right: 20px;
}

.red{
    color: #ec0022;
}

#jump{
    width: 70px;
    height: 70px;
    line-height: 50px;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.h22 {
    min-height: 600px;
}

.h11 {
    height: 300px;
}

.background-light {
    background-color: rgba(210, 234, 241, 0.8);
}

.sidebar {
    border: 4px solid #5c818c;
    padding-top: 25px;
}

.sidebar::before {
    content: '';
    width: 100%;
    height: 36px;
    background-image: url(/img/top-sidebar.png);
    background-position: top;
    background-size: cover;
    position: absolute;
    right: 0;
    top: 0;
}

.sidebar::after {
    content: '';
    width: 100%;
    height: 36px;
    background-image: url(/img/bottom-sidebar.png);
    background-size: cover;
    position: absolute;
    right: 0;
    bottom: 0;
}

.sidebar-separator {
    position: relative;
    height: 25px;
}

.sidebar-separator::before {
    content: '';
    width: calc(100% + 25px);
    height: 100%;
    background-image: url(/img/sidebar-separator.png);
    background-size: cover;
    position: absolute;
    right: -12px;
    top: 0;
}

.sidebar-ads-container {
    padding: 10px 5px;
}

.ads {
    width: 100%;
    background-color: #336172;
    border: 2px solid #336172;
}

.main-section {
    position: relative;
    border: 2px solid #5c818c;
    padding: .5rem;
}

.game-container {
    background-color: white;
    margin-right: 2%;
    width: 96%;
    height: auto;
    border: 2px solid #336172;
}

.timer {
    position: absolute;
    left: 40px;
    top: 35px;
    color: red;
}

.counter-container {
    position: absolute;
    right: 40px;
    top: 35px;
    color: black;
}

span.time-record {
    display: none;
    margin-right: 5px;
}

span.time-record::before {
    content: 'HI:';
    color: #333;
    margin-right: 1px;
}

.main-separator {
    margin: 1.5rem;
    border-bottom: 6px solid #336172;
    position: relative;
}

.main-ads-container {
    padding: 10px 0;
}

.link-container {
    position: absolute;
    bottom: 20px;
    width: 90%;
    right: 5%;
}

.dino-input {
    width: 70%;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    color: #81adc0;
    background-color: #ecf8ff;
    font-size: 14px;
}

.modal-body {
    font-size: 17px;
    text-align: center;
    line-height: 1.6;
    font-weight: bold;
    word-spacing: 2px;
    color: white;
}

.emoji-lg {
    font-size: 60px;
}

.modal-backdrop {
    opacity: 0.6 !important;
}

.modal-dialog {
    padding-top: 200px;
}

.modal-content {
    position: relative;
    padding-top: 40px;
    background-color: #718293 !important;
}

.modal-content::before {
    content: '';
    width: 400px;
    height: 400px;
    background-image: url(/img/kaktoos.png);
    background-size: cover;
    position: absolute;
    right: 50px;
    top: -346px;
}

.error {
    color: #dc3545;
    font-size: 12px;
    font-weight: bold;
    display: block;
}
