﻿body {
    font: .875em/1.25 Arial, sans-serif;
    color: #595959;
    background-color: #fff;
    margin: 0;
     -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow-x: hidden;
}

#_container {
    display:block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/*canvas {
    background-image: url('/Content/app/background.png');
    background-repeat: repeat !important;
}*/

#unity-container {
    position: absolute
}

    #unity-container.unity-desktop {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%)
    }

    #unity-container.unity-mobile {
        position: fixed;
        width: 100%;
        height: 100%
    }

#unity-canvas {
    background: #231F20
}

.unity-mobile #unity-canvas {
    width: 100%;
    height: 100%
}

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none
}

#unity-logo {
    width: 154px;
    height: 130px;
    background: url('unity-logo-dark.png') no-repeat center
}

#unity-progress-bar-empty {
    width: 141px;
    height: 18px;
    margin-top: 10px;
    margin-left: 6.5px;
    background: url('progress-bar-empty-dark.png') no-repeat center
}

#unity-progress-bar-full {
    width: 0%;
    height: 18px;
    margin-top: 10px;
    background: url('progress-bar-full-dark.png') no-repeat center
}

#unity-footer {
    position: relative
}

.unity-mobile #unity-footer {
    display: none
}

#unity-webgl-logo {
    float: left;
    width: 204px;
    height: 38px;
    background: url('webgl-logo.png') no-repeat center
}

#unity-build-title {
    float: right;
    margin-right: 10px;
    line-height: 38px;
    font-family: arial;
    font-size: 18px
}

#unity-fullscreen-button {
    cursor: pointer;
    float: right;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none
}

#_layout:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
}

#_layout {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

html, body {
    width: 100%;
    height: 100%;  
}

@media screen and (orientation: portrait) {
    #_layout {
        -webkit-transform: translateY(-100%) rotate(90deg);    
        transform: translateY(-100%) rotate(90deg);
        -webkit-transform-origin: left bottom;    
        transform-origin: left bottom;  
        width: 100vh;
        height: 100vw; 
    }
}

.Fullscreen {
    overflow: hidden;    
}

.Label {
    white-space: pre-line !important;
}

table {
    border-collapse: collapse;
    line-height: 19px;
}

._title {
    background-color: #f7f7f7;
    color: #797979;
    display: block;
    font-size: larger;
    font-weight: bold;
    padding: 10px;    
}

tr th {
    background-color: #f7f7f7;
    color: #797979;
    padding: 5px 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

tr:nth-child(odd) td {
    background-color: #f2f9ff;
}

tr td {
    border-bottom: 1px solid #ddd;
    line-height: 32px; 
}

tr td img {
    vertical-align: middle;
}

.filters {
    background-color: #f7f7f7;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    height: 30px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px;
}

.filterItem {
    float: left;
    max-height: 30px;
    margin: 0 10px;
}

header, footer, nav, section {
    display: block;
}

#_tabControl {
    border: 4px solid #323232;
    width: calc(100% - 8px) !important;
    height: calc(100% - 8px) !important;
    background-color: #fff;
}

#_tabControl .ContainerPanel {
    margin: 60px 0px 0px !important;        
}

.TabPanel .TabBar {
    top: 0 !important;
    border-bottom: 1px solid #323232;
    box-sizing: border-box;
    margin: 0 0 0 320px !important;
    width: calc(100% - 320px) !important;
    height: 60px !important;
    background: linear-gradient(#e91a24, #b5031b);
}

#_previousButton, #_nextButton {
    background: linear-gradient(#e91a24, #b5031b);
    font-weight: bolder !important;
}

#_logo {
    max-width: 20vw !important;
}

#_tabControl .TabBar .StackGroup {
    width: auto !important;
}

#_sendButton div, #_placeButton button, #_deleteButton button {
    background: linear-gradient(#e91a24, #b5031b) !important;
}

#_sendButton:hover div, #_placeButton:hover button, #_deleteButton:hover button {
    background: linear-gradient(#b5031b, #e91a24) !important;
}

.TabButton {
    width: auto !important;
    line-height: 60px;
    margin: 0 !important;
    background: linear-gradient(#e91a24, #b5031b);
    height: 100% !important;
}

.TabButton.selected {
    background: linear-gradient(#c5c5c5, #ffffff);
    border: 1px solid #ffffff;
}

.TabButton button {
    padding: 2px 0 !important;
    width: 1px !important;
    height: 100% !important;
    margin: 0 1px;
    float: left;
}

#_tab2 button, #_tab3 button, #_tab4 button {
    background: linear-gradient(transparent, #c5c5c5, transparent) !important;
}

.TabButton label {
    font: 12px "ff-dax-web-pro", sans-serif !important;
    font-size: 1.1vw !important;
    font-weight: bold !important;
    color: #ffffff !important;
    padding: 0 1vw;
    height: 100%;
}

.TabButton.selected label {
    color: #e81d2d !important;
    font-weight: bolder !important;
}

#_menu, #_poster {
    margin: -60px 0 -60px !important;
    height: auto !important;
    box-shadow: 0 0 15px #999;
    z-index: 999;
    background-size: cover !important;
    background-position: center !important;
}

#_bottomBar {
    border-top: 1px solid #323232;
    box-sizing: border-box;
/*    margin: 0 0 0 320px !important;
    width: calc(100% - 320px) !important;*/
}

#_topRightMenu {
    border-left: 2px solid #323232;
}

.SplitPanel:first {
    width: 350px !important;
}

.sliderInput {
    border-radius: 3px;
    border: 1px solid #aaa;
    height: 20px;
    margin-top: 2px;
}

.sliderBar {
    margin-right: 85px !important;
    height: 16px !important;
    box-shadow: 0 0 10px #aaa;
    margin-top: 5px !important;
    background-color: #fff !important;
    border-radius: 3px;
}

.sliderFill {
    background-color: #e81d2d !important;
    border-radius: 3px 0 0 3px;
}

.sliderHead {
    border-radius: 4px;
    border: 1px solid #aaa;
    background-color: #fff !important;
    height: 18px !important;
    margin-top: -2px;
}

#_group.ClickableGroup {
    border-bottom: 1px solid #bababa;    
}

#_trailer {
    border-top: 1px solid #bababa;
}

#_sendMsg {
    line-height: 32px;
}

#_descriptionLabel {
    margin: -54px 0 !important;
    z-index: 999;
}

#_closeButton {
    margin: -72px -24px !important;
    z-index: 999;
}

#_close {
    margin: -14px -14px !important;
    z-index: 999;
}

.BackButton {
    display: none !important;
}

._popupOpenerCls {
    cursor: pointer;
}

._popupOpenenerLbl {
    margin: 30px auto;
}
._popupOpenerBtn {
    bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
    margin: 20px auto !important;
}

._saveToDisk a, ._popupOpenerBtn {
    background-color: rgb(55, 150, 196);
    width: 150px;
    margin: 10px auto;
    padding: 6px;
    text-decoration: none;
    color: #fff;
    border-radius: 8px;
}

._saveToDisk div div {
    cursor: pointer;
}

/* Styles for basic forms
-----------------------------------------------------------*/
fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

.editor-label {
    margin: 1em 0 0 0;
}

.editor-field {
    margin: 0.5em 0 0 0;
}


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #f00;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #f00;
    background-color: #fee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #f00;
}

.validation-summary-valid {
    display: none;
}



/* Styles for admin
-----------------------------------------------------------*/

tr th {
    background-color: #f7f7f7;
    color: #797979;
    padding: 5px 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

tr:nth-child(odd) td {
    background-color: #f2f9ff;
}

tr td {
    border-bottom: 1px solid #ddd;
    line-height: 32px; 
}

tr td img {
    vertical-align: middle;
}

.filters {
    background-color: #f7f7f7;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    height: 30px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px;
}

.filterItem {
    float: left;
    max-height: 30px;
    margin: 0 10px;
}
