@viewport {
    width: device-width;
    zoom: 1.0;
}

* {
    -webkit-font-smoothing: subpixel-antialiased;
}


html, body {
    margin: 0px;
    background-color: #000000;
    overflow: hidden;
    font-family: Arial;
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

div{
    background-color :transparent; 
}

.main {
    position: absolute;
    left:0px;
    top: 0px;
}
.main_img {
    width: 100%;
    height: auto;
}

.logo{
    position :relative;
}
#mainlogoarea {
    position: absolute;
    top:10%;
    width: 25%;
    noheight: 8%;
    background-color: #fff;
    opacity: 0.8;
    left: 0px;
    margin: 0px;
    padding:5px;
}
#mainlogoimg {
    position: relative;
    margin-left: 16%;
    top: 1%;
    height: auto;
    width: 80%;
    z-index: 100;
}

.menu {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 3%;
    background-color: gray;
    opacity: 0.7;
    left: 0px;
    margin: 0px;
    padding: 5px;
    padding-bottom: 1px;
    vertical-align: middle;
    z-index: 100;
}

.menulogo, .menuitem, .menuitemfirst {
    float: left;
    padding-left: 15px;
    color: #DB002A;
    padding-right: 5px;
    font-size: 1.1vw;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
}
.menuitem {
    padding-right:15px;
    border-right :1px solid #DB002A;

}

.menuitemfirst
{
    padding-right:1%;
    border-right :1px solid #DB002A;
    padding-left:15px;
    border-left :1px solid #DB002A;

}
.menulogo {
    height: 100%;
    padding: 2px;
    margin-right: 0px;
    width: 10%;
    min-width: 100px;
}
.menulogo img {
    height: auto;
    width: 50%;
    margin-right: 0px;
    margin-top: -5px;
    z-index: 100;
    margin-right: 0px;
}


.round-button {
	width:2vw;
    height:2vw;
    border-radius: 50%;
	border:1px solid #DB002A;
    overflow:hidden;
    background: #DB002A; 
    box-shadow: 0 0 3px gray;
}
.round-button:hover {
	background:#e98787;
}
.dot1, .dot2, .dot3, .dot4, .dot5,.dot6{
    position :absolute ;
    cursor :pointer;
    
}
/*looks like far left house*/
.dot1{
    top:61%;
    left:8%;
}
/*looks like far right garage*/
.dot2 {
    top: 61%;
    left: 84%;
}
/*looks like right of door*/
.dot3 {
    top: 61%;
    left: 57%;
}
/*looks like right porch*/
.dot4 {
    top: 61%;
    left: 72%;
}
/*looks like far yard spink*/
.dot5{
    top:83%;
    left:79%;
}
/*looks like far right garage attci*/
.dot6{
    top:43%;
    left:85%;
}


#basementclickme, #kitchenclickme,#kitchensensorclickme, #garageclickme, #laundryclickme, #atticclickme,#bathroomclickme,#bathroomsensorclickme{
    position:absolute;
    z-index :20;
    border:solid 0px;
    display:none;
    cursor:pointer;
}
#basementclickme {
    top:0px;
    left: 44%;
    height: 60%;
    width: 11%;
}
#kitchenclickme {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}
#garageclickme {
    top: 0px;
    left: 55%;
    height: 70%;
    width: 11%;
}
#laundryclickme {
    top: 0px;
    left: 74%;
    height: 96%;
    width: 15%;
}
#atticclickme {
    top: 0px;
    left: 20%;
    height: 90%;
    width: 12%;
}
#bathroomclickme {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}
#bathroomsensorclickme {
    top: 0px;
    left: 42%;
    height: 92%;
    width: 19%;
}
#kitchensensorclickme {
    top: 8px;
    left: 42%;
    height: 92%;
    width: 19%;
}


#btnBefore, #btnAfter {
    float: left;
    width: 75px;
    text-align: center;
    padding-top: 1px;
    padding-bottom: 1px;
    color: #000000;
    z-index: 101;
    background: #b3bead;
    background: linear-gradient(top, #ffffff 0%, #ffffff 40%, #b3bead 100%);
    border-radius: 40px;
    transition: all 0.4s ease;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
    margin-left: 5px;
    margin-top:3px;
    font-weight: 500;
    font-size: 1vw;
}

#btnBefore.btnSelected, #btnAfter.btnSelected{
    color:#DB002A;
    background: #fcfff4;
    font-weight :bold;
    color:#DB002A;
}


#btnBeforeAfter
{
    position:relative ;
    right:-15px;
    bottom:3px;
    z-index:101;
    cursor :pointer;
    
}

/* .slideCheckBox no longer used */
.slideCheckBox {
    width: 130px;
    height: 24px;
    margin: 10px auto;
    position: relative;
}
.slideCheckBox:after {
    content: 'After';
    color: #DB002A;
    position: absolute;
    left: 80px;
    z-index: 0;
    text-shadow: 1px 1px 0px rgba(255,255,255,.15);
}
.slideCheckBox:before {
    content: 'Before';
    color: #DB002A; 
    position: absolute;
    left: 10px;
    z-index: 0;
  }

.slideCheckBox  label {
    display: block;
    width: 65px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: 0px;
    left: 3px;
    z-index: 1;
    background: #fcfff4;
    background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
    
  }
.slideCheckBox input[type=checkbox] {
    visibility: hidden;
}
.slideCheckBox input[type=checkbox]:checked + label {
      left: 73px;
}

.video-js, video {
    position: absolute  !important;
    width: 100% !important;
    height: auto !important;
    z-index: 90;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.vjs-poster {
    position: absolute !important;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}


@media only screen and (max-width: 900px) {
    #btnBefore, #btnAfter {
        width: 45px;
    }
    .menulogo, .menuitem, .menuitemfirst {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media only screen and (max-width: 640px) {
    #fullmenu {
        display: none;
    }

    #popupmenu {
        display: block;
    }

    #btnBefore, #btnAfter {
        width: 35px;
        font-size:10px; 
    }
    .menuitemfirst {
        border-right: none;
        border-left: none;
        font-size:10px; 
    }

}
@media screen and (min-width: 640px) {
    #fullmenu {
        display: block ;
    }

    #popupmenu {
        display: none;
    }
}

#popupfullmenu {
    background-color: gray;
    position: absolute;
    left: 50px;
    bottom: 30px;
    z-index: 100;
    padding: 5px;
    color: #DB002A;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.7;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}


.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}


.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#playexteriorvideo {
    position: absolute;
    z-index: 99;
    top: 30%;
    color: red;
    opacity: 0.79;
    left: 50%;
    margin: 0px;
    width:300px;
    margin-left:-100px;
    padding: 25px;
    color: #DB002A;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    background-color: #000000;
    -webkit-border-radius: 24px;
    -moz-border-radius: 32px;
    border-radius: 28px;
    text-decoration: none;
    text-align :center ;
}