#banner_background {
    width: 100%;
    height: 87px;
}

#banner_background .column {
    position: relative;
}

#banner_background_center {
    background-image: url(../images/center.png);
    background-repeat: round;
    position: absolute;
    height: 86px;
    left: 0px;
    right: 0px;
}

#socials_container {
    height: 100px;
    position: absolute;
    display: flex;
    gap: 15px;
    padding: 5px;
}

.social-icon {
    height: 37px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

#game_container {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#game_container .column {
    position: relative;
}

#unity-canvas {
    box-shadow: 0 5px 50px #333;
}

.side_bars {
    background-image: url(../images/bar.png);
    height: 100%;
    width: 35px;
    position: absolute;
    display: block;
}

#background_tiles {
    position: absolute;
    background-image: url(../images/tile.png);
    height: 150%;
    width: 100%;
    -webkit-touch-callout: none;  /* отключает контекстное меню на iOS при долгом тапе */
    -webkit-user-select: none;
    user-select: none;
}

#background_tiles_adult {
    position: absolute;
    background-image: url(../images/tile_adult.png);
    height: 150%;
    width: 100%;
    -webkit-touch-callout: none;  /* отключает контекстное меню на iOS при долгом тапе */
    -webkit-user-select: none;
    user-select: none;
}

#splash-back {
    width: 100%;
    height: 100%;
}

#splash-container-middle {
    width: 100%;
    height: 100%;
    overflow-y: clip;
}

#splash-image {
    width: 100%;
}

/* Специальные стили для Draugiem платформы */
.draugiem-platform #splash-container-middle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.draugiem-platform #splash-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

#left_container_tile {
    background-image: url(../images/tile.png);
    height: auto;
    flex-grow: 1;
}

#left_container_bar {
    background-image: url(../images/bar.png);
    background-repeat: round;
    height: auto;
    width: 17px;
}

#right_container_bar {
    background-image: url(../images/bar.png);
    background-repeat: round;
    height: auto;
    width: 17px;
}

#right_container_tile {
    background-image: url(../images/tile.png);
    height: auto;
    flex-grow: 1;
}

#footer {
}

#footer .column {
    position: relative;
}

#footer_center {
    background-image: url(../images/bottom_center.png);
    background-repeat: round;
    position: fixed;
    height: 80px;
    bottom: 2px;
    left: 0px;
    right: 0px;
}

#footer {
    height: 71px;
    width: 1126px;
    margin-left: auto;
    margin-right: auto;
}

#left_arrow {
    background-image: url(../images/left_arrow.png);
    float: left;
    margin: 0px 0px 0px 0px;
    height: 71px;
    width: 45px;
    display: inline-block;
}

#right_arrow {
    background-image: url(../images/right_arrow.png);
    float: right;
    margin: 0px 80px 0px 0px;
    height: 71px;
    width: 45px;
    display: inline-block;
}

#banners {
    display: inline-block;
}

#btnGooglePlay {
    background-image: url(../images/google_play.png);
    height: 29px;
    width: 121px;
    color: #000000;
    font-weight: bold;
    font-size: 8pt;
    margin-top: 0px;
    margin-left: 8px;
    cursor: pointer;
}

#btnAmazon {
    background-image: url(../images/amazon_link.png);
    height: 29px;
    width: 121px;
    color: #000000;
    font-weight: bold;
    font-size: 8pt;
    margin-top: 0px;
    margin-left: 8px;
    cursor: pointer;
}

#btnAppStore {
    background-image: url(../images/app_store.png);
    height: 32px;
    width: 134px;
    color: #000000;
    font-weight: bold;
    font-size: 8pt;
    margin-top: 0px;
    cursor: pointer;
}

#vk_share {
    float: left;
    margin: 3px 0 0 50px;
}

#vk_like_container {
    float: left;
    margin: 5px 0 0 10px;
}

#od_like_container {
    padding: 4px;
    float: left;
    margin: 0 0 0 50px;
}

#user_id_div {
    color: white;
    font-family: Lilita One, sans-serif;
    /*float: right;*/
    position: absolute;
    user-select: none;
    right: 30px;
    font-size: 10pt;
    margin-top: 5px;
    text-align: right;
    text-shadow: 2px 0px 2px black,
    0px 2px 2px black,
    -2px 0px 2px black,
    0px -2px 2px black;
}

#btn_play_in {
    color: #000000;
    font-weight: bold;
    font-size: 8pt;
    margin-top: -30px;
    margin-left: 4px;
}

#btn_download_from {
    color: #000000;
    font-weight: bold;
    font-size: 8pt;
    margin-top: -30px;
    margin-left: 11px;
}

.info_panel {
    position:absolute;
    font-weight: bold;
    text-align: center;
    background:#e8e8e8;
    border:1px solid #898989;
    color:#898989;
    padding: 20px;
    width: 720px;
    max-width: 720px;
    max-height: 480px;
    overflow-y: auto;
}

.error_panel {
    width: 100%;
    overflow-y:scroll;
    height:400px;
    font-weight:normal;
    text-align:left;
}

.format_table {
    width: 100%;
    max-width: 1100px;
    border-spacing: 0;
    padding: 0;
    margin: 0;
    border-weight: 0;
    border-style: none
}

.navigation_container {
    height: 35px;
}

.navigation_container .column {
    position: relative;
}

.navigation_container_left {
    position: absolute;
    left: 0;
    height: 70px;
    width: 128px;
    border-bottom: 1px solid #e3e3e3;
    background-image: url("../images/top_left.png");
}

.navigation_container_center {
    position: absolute;
    height: 70px;
    left: 0px;
    right: 0px;
    #border-bottom: 1px solid #e3e3e3;
}

.navigation_container_right {
    position: absolute;
    right: 0;
    height: 70px;
    width: 128px;
    border-bottom: 1px solid #e3e3e3;
    background-image: url("../images/top_right.png.png");
}

@media screen and (max-width: 950px) {
    .navigation_container_left {
        display: none;
    }

    .navigation_container_right {
        display: none;
    }

    .navigation_container_center {
        position: absolute;
        left: 0px;
        right: 0px;
    }
}

@media screen and (min-width: 951px) {
    .navigation_container_center {
        left: 0px;
        right: 0px;
    }
}

.navigation_container:after {
    content: '';
    clear: both;
    display: block;
    visibility: hidden;
    overflow: hidden;
    height: 0;
    font-size: 0;
    line-height: 0;
}

.navigation_menu {
    position: relative;
    z-index: 2;
    margin: 0 20px 0px;
    text-align: center;
    font-size: 0;
    line-height: 0;
}

.navigation_item {
    position: relative;
    display: inline-block;
    color: white;
    font-family: Lilita One, sans-serif;
    margin: 0 1px 0 1px;
    font-size: 18px;
    line-height: 50px;
    text-shadow: 1px 0px 2px black,
    0px 1px 2px black,
    -1px 0px 2px black,
    0px -1px 2px black;
}

.navigation_link_inbox {
    display: block;
    padding: 0 15px;
    background-image: url("../images/navigation_link_gifts.png");
    background-size: 100% 100%;
    border-width: 1px 1px 0px 1px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    text-decoration: none;
    cursor: default;
    float: right;
    text-align: center;
    color: white;
}

.navigation_link_farmbucks_and_coins {
    display: block;
    padding: 0 15px;
    background-image: url("../images/navigation_link_farmbucks_and_coins.png");
    background-size: 100% 100%;
    border-width: 1px 1px 0px 1px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    text-decoration: none;
    cursor: default;
    float: right;
    text-align: center;
    color: white;
}

.navigation_link_invite_friends {
    display: block;
    padding: 0 15px;
    background-image: url("../images/navigation_link_invite_friends.png");
    background-size: 100% 100%;
    border-width: 1px 1px 0px 1px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    text-decoration: none;
    cursor: default;
    float: right;
    text-align: center;
    color: white;
}

.navigation_link_community {
    display: block;
    padding: 0 15px;
    background-image: url("../images/navigation_link_community.png");
    background-size: 100% 100%;
    border-width: 1px 1px 0px 1px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    text-decoration: none;
    cursor: default;
    float: right;
    text-align: center;
    color: white;
}

.navigation_button {
    cursor: pointer;
    margin: 10px;
    border: 1px solid #dfdfdf
}

a.navigation_link {
    color: #543D32;
    text-decoration: none;
    cursor: pointer;
}

a.navigation_link:before {
    content: normal;
    display: none;
}

a.navigation_link:hover {
    position: relative;
    z-index: 3;
    background: #8696c4 url("../images/tab_over.png") no-repeat;
    color: #ffffff;
    background-size: 100% 100%
}

#language-selector {

}

#game_container {
    margin-top: -1px;
    position: relative;
}

#language-selector .current-lang {
    cursor:pointer;
    float:right;
    background-repeat: round;
    height: 50px;
    width: 50px;
    margin: 0 1px 0 1px;
}

#language-selector .dropdown-lang {
    display: block;
    z-index: 2;
    position: absolute;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 220px;
    background-color: #EFE9DE;
    font-size: 18px;
    border: 1px solid #78756F;
}

#language-selector .dropdown-lang li {
    display: block;
    text-align: left;
}

#language-selector .dropdown-lang li a {
    display: block;
    line-height: 50px;
    text-indent: 60px;
    height: 50px;
    color: #000;
    text-decoration: none;
    background-repeat: no-repeat;
    background-size: 50px 50px;
}

#language-selector .dropdown-lang li a:hover {
    color: #fff;
    background-color: #78756F;
}

#btnFullscreen {
    height: 50px;
    margin: 0 1px 0 1px;
}

#btnSound {
    height: 50px;
    margin: 0 1px 0 1px;
}

#btnMusic {
    height: 50px;
    margin: 0 1px 0 1px;
}

#inbox-pay {
    left: 0px;
    top: 30px;
    position: absolute;
    border-radius: 6px;
    background-color: #FFF;
}
#inbox-pay .close {
    float: right;
    height: 16px;
    width: 16px;
    padding-left: 3px;
    padding-top: 5px;
    cursor: pointer;
}
#inbox-pay .pay_container {
    margin: 0px;
}
#inbox-pay iframe {
    position: relative;
    width: 635px;
    height: 660px;
    border: 0;
}

#inbox-pay a {
    color: #999999;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

#flash-app {
    position: absolute;
    width: inherit;
    height: inherit;
}

/* свойства модального окна по умолчанию */
.modal {
    position: fixed; /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.5); /* цвет фона */
    z-index: 1050;
    opacity: 0; /* по умолчанию модальное окно прозрачно */
    -webkit-transition: opacity 200ms ease-in;
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 200ms ease-in; /* анимация перехода */
    pointer-events: none; /* элемент невидим для событий мыши */
    margin: 0;
    padding: 0;
}
/* при отображении модального окно */
.modal:target {
    opacity: 1; /* делаем окно видимым */
    pointer-events: auto; /* элемент видим для событий мыши */
    overflow-y: auto; /* добавляем прокрутку по y, когда элемент не помещается на страницу */
}
/* ширина модального окна и его отступы от экрана */
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 623px;
        margin: 10% auto; /* для отображения модального окна по центру */
    }
}
/* свойства для блока, содержащего контент модального окна */
.modal-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-image: url(../images/error_message_background.png);
    background-position: 50% 50%;
    background-size: 623px 364px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
    height: 364px;
}
@media (min-width: 768px) {
    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
        box-shadow: 0 5px 15px rgba(0,0,0,.5);
    }
}
/* свойства для заголовка модального окна */
.modal-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    height: 65px;
    align-self: center;
}
.modal-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 2rem;
    font-weight: bold;
    cursor: default;
    color: #5C3826;
}
.message_text {
    font-size: 28px;
    white-space: pre;
    cursor: default;
    color: #5C3826;
}
/* свойства для кнопки "Закрыть" */
.btn_close {
    float: right;
    font-family: sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    text-decoration: none;
}

.btn_reload {
    float: left;
    font-family: sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    text-decoration: none;
    background-image: url(../images/grey_button.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    height: 69px;
    width: 246px;
    margin-top: 12%;
    margin-left: 5%;
}

.btn_reload_text {
    margin-top: 8%;
    cursor: default;
    color: #746446;
}

.btn_support {
    float: right;
    font-family: sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    text-decoration: none;
    background-image: url(../images/blue_button.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    height: 69px;
    width: 246px;
    margin-right: 5%;
    margin-top: 12%;
}

.btn_support_text {
    margin-top: 8%;
    cursor: default;
    color: #1A715D;
}
/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.btn_close:focus, .btn_close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .75;
}
.btn_reload:focus, .btn_reload:hover {
    height: 71px;
    width: 256px;
    background-size: cover;
    transform: scale(1.1);
    animation-duration: 1000ms;
}
.btn_support:focus, .btn_support:hover {
    height: 71px;
    width: 256px;
    background-size: cover;
    transform: scale(1.1);
    animation-duration: 1000ms;
}
/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 15px;
    overflow: auto;
}


