/*!
* Interior 3D room stiles
*/

body {
    background-color: unset;
    color: #000000;
    height: 100%;
    line-height: inherit;
    min-width: 100%;
    overflow: hidden;
    overflow-x: auto;
    overflow-y: auto;
    width: fit-content;
}
button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: large;
}
html {
    height: 100%;
}
input[type=range] {
    display: inline-block;
}
li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
label {
    font-weight: normal;
    margin-bottom: 0;
}
p {
    margin: 4px 0;
}
ul {
    margin: 0;
    padding: 0;
}

.vertical-scroll {
    overflow-y: auto;
}

.room-canvas-container{
    left: 0;
    position: relative;
    top: 0;
}
.room-canvas{
    left: 0;
    top: 0;
    width: 100%;
}
.canvas-fullscreen {
    position: absolute;
    top: 0px;
}

.selectors {
    color: white;
    font-family: Monospace;
    font-size: 13px;
    left: 30px;
    position: absolute;
    top: 70px;
}
.element-box {
    border: 2px solid #ddd;
    border-radius: 8px;
    margin: 8px;
}
.box-header {
    background: #ccc;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    padding: 4px 12px;
    position: relative;
}
.btn-minimize {
    font-size: larger;
    font-weight: normal;
    position: absolute;
    right: 12px;
    top: 3px;
}
.box-body {
    max-height: 400px;
    overflow: auto;
    padding: 8px;
}
.current-tile-image-column {
    display: table-cell;
    padding: 0;
    vertical-align: top;
    width: 130px;
}
.current-tile-image-holder {
    background-color: #fff;
    border: 1px solid #888;
    color: #888;
    cursor: pointer;
    display: table-cell;
    height: 128px;
    line-height: 0;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    width: 130px;
}
.current-tile-image {
    max-width: 128px;
    max-height: 128px;
}
.current-tile-info-box {
    width: 230px;
    display: table-cell;
    padding-left: 8px;
}
.current-tile-set-image-holder {
    width: 32px;
    height: 32px;
    margin: 0 0 3px 3px;
    text-align: center;
    float: left;
    border: 1px solid #ddd;
    cursor: pointer;
}
.current-tile-set-image {
    max-width: 32px;
    max-height: 32px;
}

#dialogRoomSelect .modal-dialog {
    width: 80%;
    margin: 30px 10%;
}
/*.user-saved-rooms-list {
    border-bottom: 1px solid #e5e5e5;
}*/
.room-select-link {
    display: inline-block;
    width: 256px;
    vertical-align: middle;
    margin: 10px;
    text-align: center;
    color: #000;
}
.room-select-link img {
    max-width: 256px;
    max-height: 140px;
}
.room-select-link p {
    font-weight: bold;
    font-size: medium;
}


.top-panel-content-tiles-list-item {
    cursor: pointer;
    margin: 0 0 8px 0;
    background-color: #fff;
    padding: 4px;
    position: relative;
    border-radius: 6px;
}
.top-panel-content-tiles-list-item:hover {
    outline: 1px solid #888;
}
.tile-list-thumbnail-image-holder {
    display: table-cell;
    width: 85px;
    height: 85px;
    text-align: center;
    line-height: 85px;
}
.tile-list-thumbnail {
    max-width: 85px;
    max-height: 85px;
    vertical-align: middle;
}
.buttons-holder-tile-list-choose-tile {
    position: absolute;
    top: 70px;
    left: 50px;
}
.button-tile-list-choose-tile {
    background-color: #424242;
    border-radius: 6px;
    font-size: small;
    font-weight: bold;
    color: #fff;
    padding: 0 4px;
    margin: 1px;
}
.button-tile-list-choose-tile:hover {
    background-color: #222222;
}
.button-tile-list-choose-tile:active,
.button-tile-list-choose-tile-active {
    background-color: #777;
}
.button-tile-list-choose-tile:disabled {
    opacity: 0.4;
}





.tile-list-text {
    display: table-cell;
    vertical-align: top;
    padding: 8px;
}

#sourceLoadProgressBarContainer {
    top: 0;
    left: 0;
    z-index: 111;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}
.progress {
    position: absolute;
    width: 256px;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#rightPanel {
    float: right;
    width: 312px;
    overflow-y: auto;
    max-height: 100%;
}
#rightPanelImageBody {
    text-align: center;
    margin: 8px;
    height: 128px;
    cursor: pointer;
}
#tileBigImageBox {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 512px;
    height: 512px;
    border: 10px solid #fff;
    border-radius: 20px;
    position: absolute;
    padding: 10px;
    text-align: center;
    background-color: #fff;
    z-index: 10;
    cursor: pointer;
}
.tile-big-image {
    max-width: 512px;
    max-height: 512px;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
#mainMenu {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 64px;
    /*height: 184px;*/
    background-color: #888;
    cursor: pointer;
}
.main-menu-item {
    border-bottom: 1px solid #fff;
    max-width: 64px;
    max-height: 64px;
}
.main-menu-item:hover {
    background-color: #961616;
}
.main-menu-item-text {
    display: none;
}



.logo {
    position: fixed;
    top:34px;
    left:39px;
    cursor: pointer;
}
.top-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 20px;
    right: 0;
    width: 400px;
    max-height: 90%;
    max-height: calc(100% - 54px);
    background-color: rgba(255, 255, 255, 0.8);
}
.top-panel-hide-button {
    margin-left: -20px;
    background: inherit;
    width: 20px;
    padding: 8px 0 8px 0;
    position: absolute;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    text-align: center;
}
#productInfoPanel {
    padding-top: 0;
}
#productInfoTilesList {
    padding-top: 0;
    padding-right: 10px;
    overflow-y: auto;
}
.top-panel-header {
    font-size: large;
    color: #fff;
    background-color: #37383a;
    text-align: center;
    padding: 7px;
}
.top-panel-box {
    margin: 8px 0 8px 10px;
}
.top-panel-box-first {
    margin-top: 18px;
}
.top-panel-box-overflow-y {
    flex: none;
    max-height: 222px;
    overflow-y: auto;
}
@media (max-height: 480px) {
    .top-panel-box-overflow-y {
        max-height: 146px;
    }
}
@media (min-height: 480px) and (max-height: 576px) {
    .top-panel-box-overflow-y {
        max-height: 222px;
    }
}
@media (min-height: 576px) and (max-height: 768px) {
    .top-panel-box-overflow-y {
        max-height: 310px;
    }
}
@media (min-height: 768px) {
    .top-panel-box-overflow-y {
        max-height: 400px;
    }
}
#topPanelTilesListBox {
    flex: auto;
    max-height: 100%;
    overflow-y: auto;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    #topPanelTilesListBox {
        flex: auto;
        max-height: 400px;
        overflow-y: auto;
    }
}
.top-panel-button {
    color: #fff;
    background-color: #37383a;
    width: 120px;
    height: 35px;
    margin-right: 7px;
}
.top-panel-button:hover,
.top-panel-button:active,
.top-panel-button-active {
    background-color: #656567;
}
.input-search {
    font-family: inherit;
    width: 218px;
    height: 35px;
    font-size: large;
    border: 1px solid #ebdfe1;
    border-right: none;
    padding-left: 18px;
}
.search-icon-button {
    border: 1px solid #ebdfe1;
    border-left: none;
    vertical-align: top;
    background-color: #fff;
    margin-right: 6px;
    cursor: pointer;
    text-align: center;
    width: 33px;
    height: 35px;
}
.search-icon-button-imqge {
    vertical-align: middle;
}
.search-icon-button:hover {
    background-color: #eee;
}
.search-icon-button:active {
    background-color: #fff;
}
.top-panel-label {
    font-size: large;
    margin: 0 12px;
}
.top-panel-select-color {
    height: 32px;
    vertical-align: middle;
}
.radio-surface-rotation input {
    display: none;
}
.radio-surface-rotation input[type="radio"]:checked + label {
    font-weight: bold;
}
.radio-surface-rotation label {
    font-size: large;
    cursor: pointer;
    margin: 0 5px;
}
.radio-surface-pattern input {
    display: none;
}
.radio-surface-pattern input[type="radio"]:checked + label {
    font-weight: bold;
    background-color: #bbb;
}
.radio-surface-pattern label {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
    margin-right: 10px;
    padding: 8px;
    width: 82px;
    height: 100%;
}
.radio-surface-pattern label:hover {
    background-color: #ddd;
}
.radio-surface-pattern input[type="radio"]:disabled + label {
    opacity: 0.4;
}

.filter-block {
    font-size: large;
    margin: 0px 10px 6px 0px;
    position: relative;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 4px 8px;
    background-color: rgba(255, 255, 255, 0.7);
}
.filter-block:first-letter,
.filter-item-checkbox:first-letter {
    text-transform: uppercase;
}
.filter-block input[type="checkbox"] {
    margin-right: 5px;
}
.filter-block label {
    cursor: pointer;
}
.filter-block-support-buttons {
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: small;
    cursor: pointer;
}
.filter-block-support-buttons span:hover,
.filter-block-support-buttons span:hover {
    text-decoration: underline;
}
.filter-item-checkbox {
    display: inline-block;
    width: 43%;
    margin-left: 20px;
    font-size: medium;
}
.edit-panel-group-margin {
    margin: 8px 8px 8px 0;
}


#bottomPanelMenu {
    position: fixed;
    bottom: 0;
    right: 0;
}
.bottom-menu-item {
    float: left;
    width: 32px;
    height: 32px;
    background-color: #37383a;
    padding: 0;
    margin-left: 2px;
    border-radius: 3px 3px 0px 0px;
}
.bottom-menu-item-image {
    width: 32px;
    height: 32px;
}
.bottom-menu-item:hover {
    background-color: #202020;
}
.bottom-menu-item:active,
.menu-item-active {
    background-color: #656567;
}
:-webkit-full-screen #bottomMenuFullScreenImg {
    display: none;
}
:-moz-full-screen #bottomMenuFullScreenImg {
    display: none;
}
:full-screen #bottomMenuFullScreenImg {
    display: none;
}
#bottomMenuCancelFullScreenImg {
    display: none;
}
:-webkit-full-screen #bottomMenuCancelFullScreenImg {
    display: inline-block;
}
:-moz-full-screen #bottomMenuCancelFullScreenImg {
    display: inline-block;
}
:full-screen #bottomMenuCancelFullScreenImg {
    display: inline-block;
}

#bottomDropdownMenuMapsSize > li > a > .glyphicon{
    visibility:hidden;
}
#bottomDropdownMenuMapsSize > li > a.selected > .glyphicon{
    visibility:visible;
}


#cameraViewMenu {
    position: absolute;
    left: 0;
    bottom: 0;
}
#cameraViewMenu input {
    display: none;
}
#cameraViewMenu label:active,
#cameraViewMenu label:hover,
#cameraViewMenu input[type="radio"]:checked + label {
    background-color: #656567;
}
#cameraViewMenu label {
    display: block;
    float: left;
    margin-left: 2px;
    cursor: pointer;
    background-color: rgba(55, 56, 58, 0.27);
    border-radius: 16px;
}
.camera-view-menu-item-image {
    width: 64px;
    height: 64px;
}


.move-camera-to-view-button {
    cursor: pointer;
    max-width: 64px;
    max-height: 64px;
    margin-left: 2px;
    padding: 0;
    opacity: 0.4;
}
.move-camera-to-view-button:hover,
.move-camera-to-view-button:focus {
    opacity: 1;
}
.move-camera-to-view-button img {
    max-width: 64px;
    max-height: 64px;
    border-radius: 12px;
}




.top-panel-content {
    /*position: absolute;
    right: 0;
    margin: 0;
    padding: 0;
    width: 400px;
    background-color: rgba(255, 255, 255, 0.8);
    float: right;*/
}
.top-panel-content-header {
    background-color: #f0f;
    text-align: center;
    font-size: large;
    padding: 2px;
    clear: both;
}
.top-panel-content-body {
    padding: 10px;
    overflow: auto;
    max-height: 400px;
}
.color-icon-box,
.pattern-icon-box,
.texture-icon-box {
    cursor: pointer;
    margin-right: 10px;
    padding: 8px;
    width: 64px;
    height: 100px;
    text-align: center;
    float: left;
    display: inline-block;
    vertical-align: top;
}
.icon-box-active {
    background-color: #ccc;
    font-weight: bold;
}
.color-icon {
    width: 64px;
    height: 64px;
    border: 1px solid #bbb;
    background-color: #f6fffa;
}
.pattern-image-icon,
.texture-icon {
    width: 64px;
    height: 64px;
}
#topPanelGroutSizeRange {
    width: 170px;
    vertical-align: middle;
}
.free-design-history-item {
    font-size: medium;
    margin: 4px 14px;
    padding: 4px 14px;
    border: 1px solid #ccc;
    cursor: pointer;
    background: #fff;
}

.dialog-modal-box-button {
    width: 300px;
    height: 40px;
    background-color: #37383a;
    color: #fff;
    margin-top: 16px;
}
.dialog-modal-box-button:hover {
    background-color: #656567;
}
.dialog-modal-box-header {
    font-size: large;
    text-align: left;
    position: relative;
    font-weight: bold;
}
.dialog-modal-box-x-close {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    font-weight: normal;
}
.dialog-modal-box-x-close:hover {
    color: #aaa;
}



.room-image-holder {
    position: relative;
    display: inline-block;
}
.room-image-engine-icon {
    position: absolute;
    top: 5px;
    right: 5px;
}


input[type=range] {
    -webkit-appearance: none;
    width: 100%;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 16px;
    cursor: pointer;
    background: #ffffff;
    border-radius: 3px;
    border: 1px solid #c5c5c5;
}
input[type=range]::-webkit-slider-thumb {
    border: 1px solid #888;
    height: 24px;
    width: 50px;
    border-radius: 50px;
    background: #ffffff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -5px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ffffff;
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 16px;
    cursor: pointer;
    background: #ffffff;
    border-radius: 3px;
    border: 1px solid #c5c5c5;
}
input[type=range]::-moz-range-thumb {
    border: 1px solid #888;
    height: 24px;
    width: 50px;
    border-radius: 50px;
    background: #ffffff;
    cursor: pointer;
}
input[type=range]::-ms-track {
    width: 100%;
    height: 16px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #f2f2f2;
    border: 1px solid #c5c5c5;
    border-radius: 2px;
}
input[type=range]::-ms-fill-upper {
    background: #ffffff;
    border: 1.1px solid #000000;
    border-radius: 2px;
}
input[type=range]::-ms-thumb {
    border: 1px solid #888;
    height: 24px;
    width: 50px;
    border-radius: 50px;
    background: #ffffff;
    cursor: pointer;
    height: 16px;
}
input[type=range]:focus::-ms-fill-lower {
    background: #ffffff;
}
input[type=range]:focus::-ms-fill-upper {
    background: #ffffff;
}



.stiled-checkbox {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
    width: 108px;
    height: 32px;
    background: #fff;
    border-radius: 50px;
    border: 1px solid #ddd;
    position: relative;
}
.stiled-checkbox:before {
    content: 'On';
    position: absolute;
    top: 5px;
    left: 14px;
    height: 2px;
    color: #00aa00;
    font-size: 16px;
    font-weight: bold;
}
.stiled-checkbox:after {
    content: 'Off';
    position: absolute;
    top: 5px;
    left: 70px;
    height: 2px;
    color: #111;
    font-size: 16px;
}
.stiled-checkbox input {
    display: none;
}
.stiled-checkbox label {
    display: block;
    width: 53px;
    height: 22px;
    border-radius: 50px;
    transition: all .5s ease;
    cursor: pointer;
    position: absolute;
    top: 4px;
    z-index: 1;
    left: 5px;
    background: #777;
}
.stiled-checkbox input[type=checkbox]:checked + label {
    left: 48px;
    background: #00aa00;
}
.stiled-checkbox-text {
    vertical-align: middle;
}

/* jQuery UI */
.ui-slider {
    margin: 10px 46px;
}
.ui-slider .ui-slider-handle {
    border-radius: 20px;
    top: -6px;
    width: 50px;
    height: 24px;
    margin-left: -25px;
    background: #fff;
    cursor: pointer;
}
.ui-slider .ui-slider-handle:focus {
    outline: none;
}


/* Load Animation circles */
#loadAnimationContainer {
    background: #fff;
    border: solid #82b7e4 2px;
    border-radius: 12px;
    left: calc(50% - 54px);
    padding: 10px;
    position: absolute;
    text-align: center;
    top: calc(50% - 34px);
}
#loadAnimationContainer .p {
    color: #496782;
    margin-top: 2px;
}
.circles{
    margin-top: 8px;
}
.circle{
    animation-direction:  linear;
    animation-duration:  1.5s;
    animation-iteration-count:  infinite;
    animation-name:  bounce_circle;
    background-color: #ccc;
    border-radius:  10px;
    display: inline-block;
    height: 10px;
    opacity: 0.3;
    margin: 2px;
    width: 10px;
}
.circle_1{
    animation-delay:  .3s;
 }
.circle_2{
    animation-delay:  .7s;
}
.circle_3{
    animation-delay:  .9s;
}
@keyframes bounce_circle{
    0% { opacity: 0.3; }
    50% {
        background-color: rgba(83, 149, 206, 0.91);
        opacity: 1;
    }
    100% { opacity: 0.3; }
}

#loadTilesAnimationContainer {
    background: #fff;
    text-align: center;
}
