@font-face {
    font-family: Roboto;
    src: url(roboto/Roboto-Regular.ttf);
}

@font-face {
    font-family: Roboto;
    src: url(roboto/Roboto-Medium.ttf);
    font-weight: bold
}

.simplebar-scrollbar:before {
    background: #f59750;
}

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-family: Roboto,sans-serif;
    background: #535353;
}

a {
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

a, a:focus, a:hover {
    text-decoration: none;
    outline: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (orientation: landscape) {
    .protrait{
        display: none;
    }
}

@media (orientation: portrait) {
    .landscape{
        display: none;
    }
    .protrait{
        display: block;
        background: #000;
        color: #fff;
        font-size: 26px;
        text-align: center;
        height: 100vh;
    }
    .protrait div{
        padding-top: 50vh;
    }
}
.preloader_block{
    /*background: #fff;*/
    /*opacity: 0.9;*/
    width: 100%;
    height: 100%;
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: fixed;
    z-index: 2;
    transition: all 0.5s ease;
}
.preloader_block img{
    position: relative;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}
.lds-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes lds-ripple {
    0% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: -1px;
        left: -1px;
        width: 58px;
        height: 58px;
        opacity: 0;
    }
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.align-items-center {
    align-items: center!important;
}

.justify-content-between {
    justify-content: space-between!important;
}

#header {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 997;
    width: 10%;
    max-width: 150px;
    text-align: center;
}
#header nav{
    margin: auto;

}
.main-menu {
    margin-bottom: 10px;
    margin-top: 30px;
}

#logo {
    margin-left: 5px;
}

#logo > a > * {
    vertical-align: middle;
}

#logo .title {
    display: inline-block;
    margin-left: 6px;
}

#logo > a h4, #logo > a h5 {
    margin: 0;
    text-transform: uppercase;
}

#logo > a h4 {
    margin-bottom: 4px;
    color: #000;
    font-size: 18px;
    line-height: 22px;
}

#logo > a h5 {
    margin-left: 10px;
    color: #9a9a9a;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
}

.nav-menu {
    margin-right: 5px;
    display: none;
}

.nav-menu>li {
    margin-left: 10px;
}

.nav-menu>li {
    display: block;
}
.nav-menu li {
    position: relative;
    white-space: nowrap;
    margin-bottom: 15px;
}

.nav-menu a > * {
    vertical-align: middle;
}

.nav-menu a > span, .nav-menu #form_modal > span  {
    color: #9a9a9a;
    font-size: 14px;
    margin-left: 4px;
    display: none;
}

#nav-menu-mobile a > span, #nav-menu-mobile #form_modal > span {
    color: #fff;
    display: inline-block;
}
#nav-menu-mobile .form_modal > *,.nav-menu #form_modal > *{
    vertical-align: middle;
}
#nav-menu-mobile .form_modal,.nav-menu #form_modal{
    cursor: pointer;
}
.mobile-nav-menu {
    display: block;
    margin-right: 5px;
}
.mobile-nav-menu>li {
    /*margin-left: 20px;*/
    /*float: left;*/
    position: relative;
    white-space: nowrap;
    margin-bottom: 15px;
    text-align: center;
}
.mobile-nav-menu a > * {
    vertical-align: middle;
}
.mobile-nav-menu a > img {
    width: 36px;
    margin: 0 auto;
}
.mobile-nav-menu>li a span {
    color: #fff;
    margin-top: 5px !important;
    display: block;
}
#layer-option-mobile .s0 {
    display: block;
}
#layer-option-mobile .s1 {
    display: none;
}
#layer-option-mobile.open .s0 {
    display: none;
}
#layer-option-mobile.open .s1 {
    display: block;
   
}

#main-menu-mobile .s0 {
    display: block;
}
#main-menu-mobile .s1 {
    display: none;
}
#main-menu-mobile.open .s0 {
    display: none;
}
#main-menu-mobile.open .s1 {
    display: block;
}

.second-menu {
    
    color: #fff;
    position: absolute;
    top:0;
    right:  10%;
    z-index: 9999;
    width: 300px;

}

#layer-option {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    display: none;
    min-height: 46px;
    background-color: rgba(0,0,0,.6);
    height: 100vh;
    overflow: auto;
}


#layer-option > li {
    /*padding: 12px 5px;*/
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

#layer-option > li.active {
    background-color: #866d47;
}

#layer-option > li:hover {
    background-color: #866d47;
}

#layer-option-mobile-selected {
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    position: relative;
    cursor: pointer;
}

#layer-option-mobile-selected:after {
    position: absolute;
    right: 12px;
    top: 8px;
    content: '';
    width: 24px;
    height: 24px;
    background-image: url(../img/tiny-down.png);
}

#layer-option-mobile-selected.open:after {
    background-image: url(../img/tiny-up.png);
}

#layer-option-mobile-selected.open + #layer-option {
    display: block;
}

.second-menu .nav-menu {
    margin-right: 0px;
    padding: 30px 5px 0;
    background-color: rgba(0,0,0,.6);
    height: 100vh;
}

.vis-section {
    /*height: 100%;*/ 
    background-color: #535353; 
    /*margin-top: 63px;*/
    padding: 0;

}

#visualizer {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    /*height: 100vh !important;*/
   max-width:80% !important;
   -webkit-transform: translate3d(0,0,0);
   z-index: 1;
}

#hover-image-holder > img {
    position: absolute;
    width: inherit;
    height: inherit;
    left: 0;
    top: 0;
    bottom: 0;
    opacity: 0.3;
    display: none;
}

#event-dummy {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#zoom-dummy {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
}


/*#zoom-dummy.bathroom_overlay{
    background: url(../img/bath_zoom_overlay.png) no-repeat center center;
    background-size: 100% 100%;
}

#zoom-dummy.livingroom_overlay{
    background: url(../img/living_zoom_overlay.png) no-repeat center center;
    background-size: 100% 100%;
}

#zoom-dummy.kitchen_overlay{
    background: url(../img/kitchen_zoom_overlay.png) no-repeat center center;
    background-size: 100% 100%;
}*/

.settings-section {
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,.6);
    width: 90%;
    left: -90%;
    /*overflow-y: auto;*/
    transition: left 0.4s ease;
    display: flex;
    z-index: 999;
}


.room-section {
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,.6);
    width: 35%;
    left: -35%;
    overflow: auto;
    transition: left 0.4s ease;
    z-index: 999;
}


.room-section::-webkit-scrollbar,
#style-2::-webkit-scrollbar {
    width: 4px;
    background-color: #F5F5F5;
}


/**  STYLE 1 */
a#room-handler-mobile {
    display: block;
    text-align: center;
}

a#room-handler-mobile span {
    color: #fff;
    display: block;
    margin-top: 3px;
}
.room-section::-webkit-scrollbar-thumb {
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 3px rgba(245,151,80,.5);
    background-color: rgba(245,151,80,.7);
}

.room-section::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(245,151,80,.5);
    border-radius: 10px;
    background-color: #F5F5F5;
}




.room-container img:hover,.room-box .room-title:hover + img {
    border: 3px solid #fee401;
}


.room-container img.selected,.room-box .room-title:hover + img.selected {
    border: 2px solid red;
}

.room-container img {

    margin: 0 auto;
    width: 95%;
    display: block;
    margin-bottom: 5px;
    margin-top: 5px;
    border: 3px solid #00000000;
    cursor: pointer;
}



.settings-section.open {
    left: 0px !important;
}


.room-section.open {
    left: 0px !important;
}

.filter-section {
    color: #fff;
    padding: 0 10px;
    text-transform: uppercase;
    font-weight: bold;
    width: 300px;
    /*height: 100%;*/
     background: rgba(0,0,0,.3);
}

.filter-title {
    margin: 0 -10px;
    /*padding: 10px;*/
    background-color: #866d47;
    height: 40px;
    line-height: 40px;
    padding-left: 10px;
    text-transform: uppercase;
    font-weight: bold;
}
.filter-container {
    height: calc(100% - 40px);
    margin: 0 -10px;
    padding: 0 10px;
}
.filter-material {
    padding: 10px 0;
}
.filter-material li {
    border-bottom: 1px solid #aaa;
    padding: 14px 10px;
    margin: 0 -10px;
}
.filter-material li:hover {
    background-color: #866d46;
}
.filter-material li.active {
    background-color: #b79d75;
}
.filter-material li.active:hover {
    background-color: #866d46;
}
.filter-material li:last-child {
    border-bottom: none;
}

.filter-special {
    margin: 0 -10px;
    background-color: #fff;
    color: #000;
    text-transform: capitalize;
}
.filter-special:after {
    content: '';
    display: table;
    clear: both;
}
.filter-special > div {
    float: left;
    width: 50%;
}
.filter-special > .item {
    position: relative;
    padding: 20px 40px;
    cursor: pointer;
}
.filter-special > .item:after {
    position: absolute;
    content: '';
    width: 24px;
    height: 24px;
    left: 10px;
}
.filter-special > .item.ico-recent {
    padding-left: 45px;
}
.filter-special > .item.ico-favor:after {
    width: 30px;
    height: 28px;
    top: 15px;
    background-size: contain;
    background-image: url(../img/star-grey1.png);

}
.filter-special > .item.ico-recent:after {
    width: 25px;
    height: 25px;
    top: 19px;
    margin-left: 6px;
    background-repeat: no-repeat;
    background-image: url(../img/clock.png);

}

.collapse-group {
    padding: 14px 0;
}
.collapse-item {
    border-bottom: 1px solid #aaa;
}
.collapse-item > .title {
    padding: 14px 0;
    position: relative;
    cursor: pointer;
    text-transform: capitalize;
}
.collapse-item.open > .title {
    color: #ffe400
}
.collapse-item > .title:after {
    position: absolute;
    right: 12px;
    top: 6px;
    content: '+';
    font-size: 26px;
    /*background-image: url(../img/tiny-down.png);*/
}
.collapse-item.open > .title:after {
    content: '';
    width: 15px;
    height: 3px;
    background-color: #f2da06;
    top: 22px;
}
.collapse-content {
    overflow: hidden;
    height: 0px;
    color: #000;
}
.collapse-content:after {
    height: 20px;
    content: '';
    display: table;
    clear: both;
}
.collapse-item.open .collapse-content {
    height: inherit;
    overflow: initial;
}

.filter-color .collapse-content {
    margin: 0 -5px;
}
.filter-color .collapse-content:after {
    content: '';
    display: table;
    clear: both;
}
.filter-color .item {
    float: left;
    border: 1px solid #fff0;
    position: relative;
}
.filter-color .item.active {
    /*border-color: #fff;*/
}
.filter-color .item:hover {
    border-color: #fff;
}
.filter-color .item.active:before {
    content: '';
    width: 7px;
    height: 14px;
    display: block;
    position: absolute;
    left: 30px;
    top: 25px;
    border-color: #fff;
    border-left-width: 3px;
    border-top-width: 3px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-style: solid;
    transform: rotate(225deg);
}
/*.filter-color .item:after {
    content: '';
    margin: 5px;
    width: 60px;
    height: 60px;
    display: block;
}*/
.filter-color .item > div {
    margin: 5px;
    width: 60px;
    height: 60px;
    display: block;
}
.filter-color .color-1:after {
    background-color: #f00;
}
.filter-color .color-2:after {
    background-color: #f0f;
}
.filter-color .color-3:after {
    background-color: #ff0;
}
.filter-color .color-4:after {
    background-color: #0f0;
}
.filter-color .color-5:after {
    background-color: #0ff;
}
.filter-color .color-6:after {
    background-color: #f09;
}

.filter-keyword {}
.filter-keyword:after {
    content: '';
    display: table;
    clear: both;
}
.filter-keyword input {
    width: 100%;
    display: block;
    padding: 10px;
    font-size: 18px;
}
.filter-keyword button {
    border: none;
    display: block;
    float: right;
    background-color: #ffe400;
    padding: 10px 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;
}

.material-section {
    /*width: 700px;*/
    width: 100%;
}

.material-section-title {
    height: 40px;
    line-height: 40px;
    padding-left: 10px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #ffe400;
}
.material-container {
    height: calc(100% - 40px);
}
.material-container ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}
.material-item {
    padding: 10px;
    margin: 20px 10px;
    background-color: #fff;
    border: 5px solid #f000;
    min-height: 130px;
}
.material-item.active {
    border-color: #f00;
}
.material-item:hover {
    border-color: #ff5b5b;
}
.show_selected {
    font-size: 19px;
    text-transform: capitalize;
    text-align: center;
    color: #f00;
    margin-left: 3px;
    margin-top: -16px;
    float: left;
    font-weight: 600;
    display: none;
}
.material-item.active .show_selected{
    display: block;
}
.material-item img {
    width: 150px;
    display: block;
    margin: auto auto 10px; 
}
.material-item .properties {
    position: relative;
    color: #666666;
}
.material-item .properties .name {
    font-size: 16px;
    text-transform: uppercase;
    min-height: 40px;
    text-align: center;
}
.modal_properties .name {
    font-size: 16px;
    text-transform: uppercase;
    min-height: 40px;
        padding: 0 30px;
    text-align: center;
}
.material_id {
    padding: 5px;
    float: right;
    margin-right: -15px;
    margin-top: -14px;
    background: #ffe400;
    border-right: none;
    border-bottom: none;
}

.material-item.active .material_id {
    border-right: 5px solid #ff0000;
    border-bottom: 5px solid #ff0000;
    margin-right: -15px;
    margin-top: -19px;
}

.material-item:hover .material_id {
    border-right: 5px solid #ff0000;
    border-bottom: 5px solid #ff0000;
    margin-right: -15px;
    margin-top: -19px;
    border-color: #ff5b5b !important;
}
.material-item .properties .property-1 {
    font-size: 12px;
    text-transform: uppercase;
}
.modal_properties .property-1 {
    font-size: 14px;
    text-transform: uppercase;
        margin-bottom: 5px;
}
.material-item .properties .property-2 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 15px;
}
.material-item .properties .btn-preview {
    /*position: absolute;*/
    width: 36px;
    height: 36px;
    right: 0px;
    top: 0px;
    border-radius: 50%;
    background-color: transparent;
    background-image: url(../img/preview.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.material-item .properties .btn-info {
    /*position: absolute;*/
    width: 36px;
    height: 36px;
    right: 0px;
    top: 40px;
    border-radius: 50%;
    background-color: transparent;
    background-image: url(../img/info.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
.material-item .properties .btn-favorite {
    /*position: absolute;*/
    width: 36px;
    height: 36px;
    right: 4px;
    bottom: 0;
    background-image: url(../img/star-grey.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

#close-settings {
    position: absolute;
    right: -50px;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: #00000080;
    display: none;
}
#close-settings:hover {
    background-color: #000000b8;
}
.settings-section.open #close-settings {
    display: block;
}
#close-settings:before, #close-settings:after {
    position: absolute;
    left: 22px;
    top: 6px;
    content: ' ';
    height: 33px;
    width: 4px;
    background-color: #ffe400;
}
#close-settings:before {
  transform: rotate(45deg);
}
#close-settings:after {
  transform: rotate(-45deg);
}

.btn-reset {
    position: absolute;
    width: 60px;
    height: 60px;
    background: url(../img/reset.png) no-repeat;
    top: 10px;
    right: 10px;
    background-color: #ffe400;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    background-position: center center;
}
.btn-reset:hover {
    background-color: #fff066;
}

.layout-section {
    position: absolute;
    top: 0px;
    bottom: 0px;
    width: 35%;
    right: -35%;
    background-color: rgba(0,0,0,.6);
    padding: 10px 0 10px 10px;
    transition: right 0.4s ease;
}
.layout-section.open {
    right: 0px;
}
.layout-container {
    height: 100%;
    padding-right: 10px;
}
.layout-container img {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    border: 3px solid #00000000;
    cursor: pointer;
}
.layout-container img:hover {
    border: 3px solid #fee401;
}
.layout-container img:last-child {
    margin-bottom: 0px;
}
.layout-handler {
    position: absolute;
    width: 106px;
    height: 151px;
    top: 0;
    left: -106px;
    background-color: #fee401;
    font-weight: bold;
    text-transform: uppercase;
    padding-top: 100px;
    text-align: center;
    cursor: pointer;
    display: none;
}
.layout-handler:after {
    position: absolute;
    top: 20px;
    left: 25px;
    content: '';
    width: 59px;
    height: 59px;
    background: url(../img/layout-handle.png) no-repeat;
    background-position: center;
}

.mat-viewer {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffffcc;
    z-index: 1000;
}
.mat-viewer canvas {
    display: block;
}
.mat-viewer .info {
    background-image: url(../img/rotate360.png);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-repeat: no-repeat;
    background-size: 200px 200px;
    background-position: center;
    background-color: #ffffff80;
}
#close-viewer {
    position: absolute;
    right: 0px;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: #00000080;
    cursor: pointer;
}
#close-viewer:hover {
    background-color: #000000b8;
}
#close-viewer:before, #close-viewer:after {
    position: absolute;
    left: 13px;
    top: 3px;
    content: ' ';
    height: 24px;
    width: 4px;
    background-color: #ffe400;
}
#close-viewer:before {
  transform: rotate(45deg);
}
#close-viewer:after {
  transform: rotate(-45deg);
}
/* Malik css start here */
.btn-wraper{
    min-height: 70px;
    position: relative;
        text-align: center;
}
#VisCanvas{
    position: relative;
}
.dz-left-col{
    position: absolute;;
    left: 0;
    width: 10%;
    box-sizing: border-box;
    max-width: 170px;
    text-align: center;
    z-index: 999;
}
.back-button{
    padding: 40px 5px 5vh;
    color: #fff;

}
.dz-title{
    height: calc(80vh - 40px);
    writing-mode: vertical-rl;
    text-orientation: upright;
    margin: auto;
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
}
ul#layer-option   {
    padding-top: 30px;
}
#layer-option > li {
    padding: 10px 15px;
border-bottom: solid 1px #fff;
text-align: left;}

#layer-option::-webkit-scrollbar,
#style-2::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

#layer-option,#style-2{
    -webkit-overflow-scrolling: auto !important;
}

/**  STYLE 1 */
#layer-option::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(245,151,80,.5);
    background-color: rgba(245,151,80,.7);
}

#layer-option::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(245,151,80,.5);
    border-radius: 10px;
    background-color: #F5F5F5;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }

    #logo {
        margin-left: 20px;
    }
    .nav-menu {
        margin-right: 40px;
    }
    .nav-menu>li {
        margin-left: 20px;
    }

    
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }

    .main-menu {
        margin-bottom: 30px;
        margin-top: 35px;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu a > span {
        display: inline-block;
    }

    .mobile-nav-menu {
        /*position: absolute;
        right: 0;
        top: 0;
        z-index: 999;*/
    }

    .second-menu {
        /*position: relative;*/
    }
    .second-menu .nav-menu {
        display: none ;
    }

    #layer-option {
        /*display: flex !important;*/
    }

    

    

    #layer-option-mobile-selected {
        display: none;
    }

    #layer-option-mobile-selected.open + #layer-option {
        display: flex;
    }

    .settings-section {
        top: 0px !important;
    }

    .vis-section {
        /*margin-top: 149px;*/
    }

    .btn-reset {
        display: block;
    }

    .layout-section {
        /*top: 100px;*/
    }

    .layout-handler {
        display: block;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    

    .vis-section {
        /*margin-top: 152px;*/
    }
}

.md .settings-section {
    width: 90%;
    left: -90%;
}
.md .material-section {
    width: 500px;
}
/*.sm .settings-section {
    width: 500px;
    left: -500px;
}*/
.sm .filter-section {
    width: 210px;
    font-size: 12px;
}
.sm .material-section {
    width: 100%;
}
.sm .material-container ul {
    justify-content: center;
}

.md .material-container ul {
    flex-direction: column;
}
.md .material-item {
    /*display: flex;*/
    min-height: 130px;
}
.md .material-item .properties {
    width: 100%;
    margin-left: 10px;
}
/*.sm .material-container ul {
    flex-direction: column;
}
.sm .material-item {
    display: flex;
    margin: 10px 0;
}
.sm .material-item .properties {
    width: 100%;
    margin-left: 10px;
}*/


@media (max-width: 992px) {
    .dz-title{
        font-size: 20px;
    }
}
@media (max-width: 835px) {
.material-item .properties .btn-preview{
    /*position: static;*/
    }
    .mobile-nav-menu>li a span, a#zoom-handler-mobile.active .z1:not(img){
        display: none !important;
    }
    .dz-title {
        font-size: 15px;
    }
    a#room-handler-mobile span {
        font-size: 13px;
    }
    .dz-title{
        writing-mode: vertical-lr;
    }
}
@media (max-width: 767px) {
.material-item .properties .btn-preview{
    /*position: static;*/
    }
    .mobile-nav-menu>li a span{
        display: none;
    }
    .dz-title {
        font-size: 15px;
    }
    a#room-handler-mobile span {
        font-size: 13px;
    }
    .dz-title{
        writing-mode: vertical-lr;
    }
}

@media (max-width: 600px) {
    .filter-material li{
        padding: 10px;
    }
    .filter-keyword input{
        padding: 5px;
    }
    .filter-special > div{
        width: 100%;
        float: none;
    }
    .material-item{
        margin: 10px 0;
    }
    .material-item img{
        margin: auto auto 10px;
        display: block;
    }
    .material-item .properties .name{
        font-size: 14px;
    }
    .dz-title {
        font-size: 12px;
    }
    a#room-handler-mobile span {
        font-size: 12px;
    }
}



.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: rgba(0,0,0,.8);
  margin: 2% auto 0; /* 15% from the top and centered */
  padding: 20px;
  width: 50%; /* Could be more or less, depending on screen size */
  text-align: center;
}

.modal_properties .modal-content {
    margin-top: 8% !important;
    width: 70%;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.myModal img{
    width: 60%;
    height: auto;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.modal-content {
    position: relative;
    color: #f5e3e3 !important;
}

.wraper-btns {
    margin: 5px 3px 0 0;
   display: inline-block;
   cursor: pointer;
}

.modal-content span.close {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 999;
    color: #ffe400;
    font-size: 45px;
    line-height: normal;
    width: 53px;
    text-align: center;
}

.btn-favorite.active{
    width: 36px !important;
    height: 35px !important;
    background-image: url(../img/active_star.png) !important;
    background-repeat: no-repeat;
}

#favorite_btn.active{
    background: yellow;
}
#recent_btn.active{
    background: yellow;
}


ul#material-container li {
    max-width: 250px;
    min-width: 250px;
    float: left !important;
}

.room-box {
    position: relative;
}

.room-box .room-title {
    position: absolute;
    left: 25%;
    width: 50%;
    text-align: center;
    padding: 10px;
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    background: rgba(0, 0, 0, .4);
    top: 50%;
    margin-top: -25px;
    cursor: pointer;
}

.formModal {
  display: none;
  position: fixed;
  z-index: 999999;
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: transparent; 
}

.formModal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 30px 35px;
    border: none;
    border-radius: 25px;
    width: 45%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

.formModal-close {
    position: absolute;
    color: #000 !important;
    right: 18px;
    top: 7px;
    font-size: 40px !important;
}

.formModal-close:hover,
.formModal-close:focus {
  color: #f59750 !important;
  text-decoration: none;
  cursor: pointer;
}

.formModal-header {
  padding: 0;
}
.formModal-header h2 {
    font-size: 30px;
    color: #f59750;
    text-transform: uppercase;
    width: 72%;
    margin-top: 0px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.formModal-header h2:last-child {
    font-size: 19px;
    color: #000;
    text-transform: capitalize;
    line-height: 29px;
    margin-bottom: 0px;
}

.formModal-body {
    padding: 2px 16px;
    display: inline-block;
    width: 100%;
}

.formModal-footer {
  padding: 2px 16px;
}


.form-group input[type=text],.form-group input[type=email], .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.form-group input[type=submit] {
    width: 185px;
    background-color: #f59750;
    color: white;
    padding: 10px 20px;
    margin: 8px auto;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    font-size: 22px;
    line-height: normal;
    -webkit-appearance: none;
    -webkit-border-radius:4px;
}

.form-group input[type=submit]:hover {
  background-color: #000000;
}

.form-group div {
    padding: 0 15px;
    width: 50%;
    float: left;
    display: inline-block;
}

.form-group {
    margin-top: 33px;
}

.form-image-clip {
    box-sizing: border-box;
    height: 200px;
    width: 300px;
    border: 11px solid #FFFFFF;
    -ms-transform: rotate(351deg);
    transform: rotate(351deg);
    box-shadow: -2px 20px 25px 0 rgba(0, 0, 0, .5);
    position: absolute;
    top: -50px;
    left: -185px;
}

.form-image-clip img {
    width: 100%;
    display: block;
    height: 100%;
}

.form-image-clip:before {
    content: '';
    position: absolute;
    right: -32px;
    top: 55px;
    display: block;
    height: 93px;
    width: 80px;
    background: url(../img/imgclip.png) no-repeat right top;}


.branding {
/*    position: absolute;
    bottom: 0;
    padding: 5px 0;
    width: 100%;
    z-index: 2;*/
}

.branding .leftBranding {
    width: 11%;
    padding: 0px 5px;
    float: left;
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 0;
    z-index: 2;
    height: 32px;
}

.branding .leftBranding img {
    width: 100%;
}

.branding .rightBranding {
    position: absolute;
    bottom: 10px;
    right: 0;
    float: right;
    width: 11%;
    padding: 7px 5px;
    text-align: right;
    color: #fff;
    z-index: 2;
    height: 32px;
}
.branding .rightBranding a{
    color: #fff;
    font-size: 14px;
}

a#zoom-handler-mobile .z1 {
    display: none;
}

a#zoom-handler-mobile.active .z0 {
    display: none;
}

a#zoom-handler-mobile.active .z1 {
    display: block;
}

a#full-zoom-handler .z1 {
    display: none;
}

a#full-zoom-handler.active .z0 {
    display: none;
}

a#full-zoom-handler.active .z1 {
    display: block;
}

 @media (max-width: 1024px) {
    .branding .leftBranding,.branding .rightBranding{
        width:200px !important;
    }
}

@media only screen 
  and (min-width: 1024px) 
  and (max-width: 1366px) 
  and (-webkit-min-device-pixel-ratio: 2) 
  and (orientation: landscape){
    body{
        overflow: hidden;
    }
    /*#VisCanvas {
        width: 100% !important;
    }
    div#hover-image-holder {
        width: 100% !important;
    }*/
    .formModal-content {
            width: 60%;
    }
    .formModal {
        padding-top: 130px;
    }
    .branding .leftBranding,.branding .rightBranding{
        width:200px !important;
    }
  }

  @media only screen 
  and (min-width: 992px) 
  and (max-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) 
  and (orientation: landscape){
    .formModal-content {
        width: 65%;
    }
    .form-image-clip {
        height: 175px;
        width: 250px;
        left: -155px;
    }
    .formModal-header h2 {
        font-size: 24px;
    }
    .formModal-header h2:last-child {
        font-size: 17px;
    }
    .choices__list--dropdown .choices__item--selectable{
        padding-right: 0px !important;
    }
    .choices__list--dropdown .choices__item--selectable:after{
        display: none !important;
    }
  }
/*@media only screen 
    and (min-width: 835px) 
    and (max-width: 1024px)  {
         .formModal {
        padding-top: 5px;
    }
    .formModal-content {
        width: 72%;
        padding: 3px 20px !important;
        padding-top: 15px !important;
        margin-top: 20px;
    }
    .formModal-header h2 {
        font-size: 17px;
    }
    .formModal-header h2:last-child {
            font-size: 12px;
            color: #000;
            text-transform: capitalize;
            line-height: 17px;
            margin-bottom: 0px;
            padding: 0 25px;
    }
    .form-group label {
        font-size: 14px;
    }
    .form-group input[type=text], .form-group input[type=email], .form-group select {
        padding: 11px 20px;
        margin-bottom: 10px;
    }
    .form-image-clip {
        height: 140px;
        width: 165px;
        border: 8px solid #FFFFFF;
        top: -8px;
        box-shadow: -2px -2px 12px 0 rgba(0, 0, 0, .5);
        left: -78px;
    }
    .form-image-clip:before {
        content: '';
        position: absolute;
        right: -23px;
        top: 10px;
        display: block;
        height: 60px;
        width: 50px;
        background-size: contain;
    }

  }*/
  @media (max-width: 1024px) {
          .filter-special > div {
            float: left;
            width: 100%;
        }
    }

  @media (max-width: 835px) {
    .formModal {
        padding-top: 5px;
    }
    .formModal-content {
        width: 72%;
        padding: 3px 20px !important;
        padding-top: 15px !important;
        margin-top: 20px;
    }
    .formModal-header h2 {
        font-size: 17px;
    }
    .formModal-header h2:last-child {
            font-size: 12px;
            color: #000;
            text-transform: capitalize;
            line-height: 17px;
            margin-bottom: 0px;
            padding: 0 25px;
    }
    .form-group label {
        font-size: 14px;
    }
    .form-group input[type=text], .form-group input[type=email], .form-group select {
        padding: 11px 20px;
        margin-bottom: 10px;
    }
    .form-image-clip {
        height: 140px;
        width: 165px;
        border: 8px solid #FFFFFF;
        top: -8px;
        box-shadow: -2px -2px 12px 0 rgba(0, 0, 0, .5);
        left: -78px;
    }
    .form-image-clip:before {
        content: '';
        position: absolute;
        right: -23px;
        top: 10px;
        display: block;
        height: 60px;
        width: 50px;
        background-size: contain;
    }
    .room-box .room-title {
        left: 20%;
        width: 60%;
        padding: 10px;
        font-size: 14px;
        margin-top: -20px;
    }

}
@media (max-width: 767px) {
    .formModal {
        padding-top: 5px;
    }
    .formModal-content {
        width: 72%;
        padding: 3px 20px !important;
        padding-top: 15px !important;
        margin-top: 20px;
    }
    .formModal-header h2 {
        font-size: 17px;
    }
    .formModal-header h2:last-child {
            font-size: 12px;
            color: #000;
            text-transform: capitalize;
            line-height: 17px;
            margin-bottom: 0px;
            padding: 0 25px;
    }
    .form-group label {
        font-size: 14px;
    }
    .form-group input[type=text], .form-group input[type=email], .form-group select {
        padding: 11px 20px;
        margin-bottom: 10px;
    }
    .form-image-clip {
        height: 140px;
        width: 165px;
        border: 8px solid #FFFFFF;
        top: -8px;
        box-shadow: -2px -2px 12px 0 rgba(0, 0, 0, .5);
        left: -78px;
    }
    .form-image-clip:before {
        content: '';
        position: absolute;
        right: -23px;
        top: 10px;
        display: block;
        height: 60px;
        width: 50px;
        background-size: contain;
    }
    .room-box .room-title {
        left: 20%;
        width: 60%;
        padding: 10px;
        font-size: 14px;
        margin-top: -20px;
    }
    .branding .leftBranding, .branding .rightBranding {
        width: 144px !important;
        padding: 5px 5px;
    }

}
@media (max-width: 667px) {
    .room-box .room-title {
        left: 20%;
        width: 60%;
        padding: 3px;
        font-size: 13px;
        margin-top: -10px;
    }
}
@media (max-width: 600px) {
    .formModal-header h2 {
        font-size: 15px;
    }
    .formModal-header h2:last-child {
        font-size: 13px;
    }
    .form-group {
        margin-top: 10px;
    }
    .form-group div {
        padding: 0 5px;
    }
    .form-group input[type=text], .form-group input[type=email], .form-group select {
        margin-bottom: 8px;
    }
    .form-group input[type=submit] {
        padding: 7px 20px;
        margin-bottom: 0px;
    }
    .formModal-content {
        padding-bottom: 3px !important;
        margin-top: 0px;
    }
    .form-image-clip {
        height: 100px;
        width: 125px;
        border: 8px solid #FFFFFF;
        top: 5px;
        box-shadow: -2px -2px 12px 0 rgba(0, 0, 0, .5);
        left: -50px;
    }
    .form-image-clip:before {
        content: '';
        position: absolute;
        right: -19px;
        top: -3px;
        display: block;
        height: 45px;
        width: 50px;
        background-size: contain;
    }
    .room-box .room-title {
        left: 20%;
        width: 60%;
        padding: 5px;
        font-size: 12px;
        margin-top: -13px;
    }
}   
  @media print {
    * {
        -webkit-transition: none !important;
        transition: none !important;
        -webkit-print-color-adjust:exact;
      }
    body{
            background: #fff !important;
    }
    .vis-section{
        background-color:#fff !important;
    }
    #header {
        display: none !important;
    }
    .dz-left-col,#hover-image-holder,.room-section{
        display: none !important;
    }
    #visualizer,#VisCanvas{
        width: 100% !important;
        height: 100% !important;
    }
    .dz-left-col {
        display: none !important;
    }

    .protrait {
        display: none !important;
    }

    .vis-container {
        text-align: center !important;
    }

    .vis-container div#visualizer {
        margin: 0 auto !important;
    }

    div#header {
        display: none !important;
    }

    .container-fluid.second-menu {
        display: none !important;
    }

    div#hover-image-holder {
        display: none !important;
    }

    div#js-settings-section {
        display: none !important;
    }

    .layout-section {
        display: none !important;
    }

    .room-section {
        display: none !important;
    }

    div#formModal {
        display: none !important;
    }

    body {
        margin: 0 !important;
    }
  }
