-webkit-user-drag: auto

.object_dimensions {
	height: 15vh;
	font-size: 2vh;
}

.text_label {
    font-size: 2vh;
    margin: .5vh 0 1.5vh 0;
}

.input_slider {
	-webkit-appearance: none;
	width: 300px;
	display: block;
	float: left;
	height: 8px;
	margin: 0 8px 1vh 0;
}

.slider_container {
	margin: 0 0 -4vh 0;
}



/* 1024 px */
@media screen and (max-width: 1275px) {
    /* coeff = 1024/1080 */
	.textlinktop {
		font-size: 24px;
	}
	.textlinkleft {
		font-size: 16px;
	}
    .top-line {
        height: 45px;
    }
    .bottom-line {
        /*height: 184px;*/
		height: 92px;
	}		
    .lower-line {
        /*height: 184px;*/
		height: 92px;		
    }
        .button-container {
            height: 123px;
        }
            .data-button {
                width: 78px;
                height: 78px;
            }
                .data-button:not(.delete-container):before {
                    width: 87px;
                    height: 87px;
                    margin: -7px 0 0 -7px;
                }
            .rot-button-container {
                width: 179px;
                height: 78px;
            }
}	
			
/* 900 px */
@media screen and (max-width: 1023px) {
    /* coeff = 900/1080 */
	.textlinktop {
		font-size: 21px;
	}
	.textlinkleft {
		font-size: 16px;
	}
    .top-line {
        height: 40px;
    }
    .bottom-line {
        /*height: 164px;*/
		height: 82px;
    }
    .lower-line {
        /*height: 164px;*/
		height: 82px;
    }	
        .button-container {
            height: 108px;
        }
            .data-button {
                width: 69px;
                height: 69px;
            }
                .data-button:not(.delete-container):before {
                    width: 77px;
                    height: 77px;
                    margin: -7px 0 0 -7px;
                }
            .rot-button-container {
                width: 158px;
                height: 69px;
            }

		
}

/* 800 px */
@media screen and (max-width: 899px) {
    /* coeff = 800/1080 */
	.textlinktop {
		font-size: 18px;
	}
	.textlinkleft {
		font-size: 16px;
	}
    .top-line {
        height: 35px;
    }
    .bottom-line {
        /*height: 148px;*/
		height: 74px;
    }
    .lower-line {
        /*height: 148px;*/
		height: 74px;
    }	
        .button-container {
            height: 96px;
        }
            .data-button {
                width: 61px;
                height: 61px;
            }
                .data-button:not(.delete-container):before {
                    width: 69px;
                    height: 69px;
                    margin: -6px 0 0 -6px;
                }
            .rot-button-container {
                width: 140px;
                height: 61px;
            }


}

/* 768 px */
@media screen and (max-width: 799px) {
    /* coeff = 768/1080 92952*/
	
	.textlinktop {
		font-size: 17px;
	}
	.textlinkleft {
		font-size: 16px;
	}
    .top-line {
        height: 30px;
    }
    .bottom-line {
        /*height: 142px;*/
		height: 71px;
    }
    .lower-line {
        /*height: 142px;*/
		height: 71px;
    }	
        .button-container {
            height: 92px;
        }
            .data-button {
                width: 58px;
                height: 58px;
            }
                .data-button:not(.delete-container):before {
                    width: 66px;
                    height: 66px;
                    margin: -6px 0 0 -6px;
                }
            .rot-button-container {
                width: 135px;
                height: 58px;
            }


}

/* 640 px */
@media screen and (max-width: 767px) {
    /* coeff = 640/1080 */
	.textlinktop {
		font-size: 15px;
	}
	.textlinkleft {
		font-size: 15px;
	}
    .top-line {
        height: 25px;
    }
    .bottom-line {
        /*height: 120px;*/
		height: 60px;
    }
    .lower-line {
        /*height: 120px;*/
		height: 60px;
    }
        .button-container {
            height: 77px;
        }
            .data-button {
                width: 49px;
                height: 49px;
            }
                .data-button:not(.delete-container):before {
                    width: 55px;
                    height: 55px;
                    margin: -5px 0 0 -5px;
                }
            .rot-button-container {
                width: 112px;
                height: 49px;
            }

	
}

/* 550 px */
@media screen and (max-width: 639px) {
    /* coeff = 550/1080 */
	.textlinktop {
		font-size: 13px;
	}
	.textlinkleft {
		font-size: 13px;
	}
    .top-line {
        height: 20px;
    }
    .bottom-line {
        /*height: 106px;*/
		height: 53px;
    }
    .lower-line {
        /*height: 106px;*/
		height: 53px;
    }
        .button-container {
            height: 66px;
        }
            .data-button {
                width: 42px;
                height: 42px;
            }
                .data-button:not(.delete-container):before {
                    width: 47px;
                    height: 47px;
                    margin: -4px 0 0 -4px;
                }
            .rot-button-container {
                width: 97px;
                height: 42px;
            }


}

/* 480 px */
@media screen and (max-width: 549px) {
    /* coeff = 480/1080 */
	.textlinktop {
		font-size: 11px;
	}
	.textlinkleft {
		font-size: 11px;
	}
    .top-line {
        height: 15px;
    }
    .bottom-line {
        /*height: 96px;*/
		height: 48px;
    }
    .lower-line {
        /*height: 96px;*/
		height: 48px;
    }
        .button-container {
            height: 57px;
        }
            .data-button {
                width: 36px;
                height: 36px;
            }
                .data-button:not(.delete-container):before {
                    width: 41px;
                    height: 41px;
                    margin: -4px 0 0 -4px;
                }
            .rot-button-container {
                width: 84px;
                height: 36px;
            }

}

/* 360 px */
@media screen and (max-width: 479px) and (max-height: 400px) {
    /* coeff = 360/1080 */

    .top-line {
        height: 10px;
    }
    .bottom-line {
        /*height: 80px;*/
		height: 40px;
    }
    .lower-line {
        /*height: 80px;*/
		height: 40px;
    }
        .button-container {
            height: 96px;
        }
            .data-button {
                width: 28px;
                height: 28px;
            }
                .data-button:not(.delete-container):before {
                    width: 31px;
                    height: 31px;
                    margin: -3px 0 0 -3px;
                }
            .rot-button-container {
                width: 64px;
                height: 28px;
            }

	
.textlinkleft{
		font-size: 10px;
		bottom: 2px;
		left: 2px;
		}

.textlinktop#aadvantage {
		font-size: 10px;
		text-align: center;
		}		
}


/* 480 px */
/* Exceptional case for vertical design */
@media screen and (max-width: 479px) and (min-height: 400px) {
    /* coeff = 480/1080 */
	
	#log-reg {
		top: 35px !important;
	}
	
	.textlinkleft#viral3d {
		position: fixed;
		color: #000000;
		left: 12px;
		bottom: 8px;
		font-size: 10px;
		transform: rotate(270deg);
		transform-origin: left bottom 0;
	}
/* UNUSED UNUSED UNUSED
	#lock-container {
	position: fixed;
	width: 33px;
	height: 33px;
	right: 110px;
	bottom: 15px;
    }
	
    #marker-container {
	display: inline;
	right: 50px;
	position: fixed;
	width: 33px;
	height: 33px;
	right: 20px;
	bottom: -19px;
}
	
	#zoom-container {
		visibility: hidden;
	}
*/	
    #controls-container {
        position: fixed;
        height:  476px;
        width: 116px;
        bottom: -46px;
    }
         .top-line {
			display: none;
			position: relative;
			left: -23px;
            float: right;
			float-offset: -22px;
			width: 60px;
            height: 100%;
            /*background: url("./interface/9.png") repeat-y;
            background-size: 50% 100%;*/
            -moz-transform: scaleX(-1);
            -o-transform: scaleX(-1);
            -webkit-transform: scaleX(-1);
            transform: scaleX(-1);
            filter: FlipH;
            -ms-filter: "FlipH";
		}
            .top-line:before {
                content: "";
                position: absolute;
                width: 22px;
                height: 22px;
                top: -22px;
                left: 1px;

                /*background: url("./interface/10.png");
                background-size: 100% 100%;*/
            }
		.bottom-line {
				position: absolute;
				float: right;
				width: 440px;
				height: 48px;
				bottom: 46px;
				left: 0px;
				z-index: -1;
		}
            .bottom-line:before {
                content: "";
                position: absolute;
                width: 72px;
                height: 22px;
                top: -22px;
                left: -2px;

                /*background: url("./interface/8.png");
                background-size: 100% 100%;*/
            }
		.lower-line {
				position: fixed;
				float: right;
				width: 56px;
				height: calc(100% - 96px);
				overflow-y: scroll;
				overflow-x: hidden;
				padding: 40px 0 0 0;
				bottom: 14px;
				top: 0;
				/* overflow-y: scroll; */
				display: flex;
				flex-wrap: nowrap;
		}	
        .lower-line:before {
                content: "";
                position: absolute;
                width: 72px;
                height: 22px;
                top: -22px;
                left: -2px;

                /*background: url("./interface/8.png");
                background-size: 100% 100%;*/
            }
            .button-container {
				position: relative;
                float: right;
                width: 46px;
                height: 100%;
				left: 10px;
			}
                .button {
					width: 63%;
                    height: 20px;
					margin: 15px 0 0 0;
                }
				.delete-container {
					position: fixed;
					width: 36px;
					height: 36px;
					left: 255px;
					bottom: 11px;
				}
                    .data-button:not(.delete-container) {
                        position: relative;
						bottom: 50px;
						/*background: none;*/
                    }
                        .data-button:not(.delete-container):before {
                            position: absolute;
                            margin-top: auto;
                            width: 36px;
                            height: 36px;
                            /*top: -4px;*/
                            left: 0;
                        }
				.rot-button-container {
					position: fixed;
					width: 72px;
					height: 34px;
					float: right;
					left: 120px;
					bottom: 11px;
					z-index: -1;
				}
                .rot-button-container:before {
                    content: "";
                    position: absolute;
                    width: 44px;
                    height: 57px;
                    left: -44px;

                    /*background: url("./interface/9.png") repeat-y;
                    background-size: 100% 100%;*/
                }
                .rot-button-container:after {
                    content: "";
                    position: absolute;
                    width: 20%;
                    height: 44px;
                    top: -44px;
                    left: 0;

                    /*background: url("./interface/8.png") repeat-x;
                    background-size: 100% 100%;*/
                }
                .rotation-button {
                   	position: relative;
					left: 0px;
					bottom: 14px;
                    width: 33px;
					height: 100%;
					
                }
                #rot-ccw:before {
                    content: "";
                    position: absolute;
                    width: 44px;
                    height: 44px;
                    top: -45px;
                    left: -44px;

                    /*background: url("./interface/10.png");
                    background-size: 100% 100%;*/
                }
				
				
			.data-button#lock_obj:before {
				position: fixed;
				float: right;
				width: 36px;
				height: 36px;
				left: 90px;
				bottom: 11px;
				margin: 0 -198px 0 0;
			}
			
			.data-button#unlock_obj:before {
				position: fixed;
				float: right;
				width: 36px;
				height: 36px;
				left: 60px;
				bottom: 11px;
				margin: 0 -198px 0 0;
			}
			
			.data-button#zoomin:before {
				position: fixed;
				float: right;
				width: 36px;
				height: 36px;
				left: 190px;
				bottom: 11px;
				margin: 0 -198px 0 0;
			}
			
			.data-button#zoomout:before {
				position: fixed;
				float: right;
				width: 36px;
				height: 36px;
				left: 220px;
				bottom: 11px;
				margin: 0 -198px 0 0;
			}
			 
			.data-button#object_info:before {
				position: fixed;
				float: right;
				width: 36px;
				height: 36px;
				left: 290px;
				bottom: 11px;
				margin: 0 -198px 0 0;
			}
			
			.data-button#tools:before {
				position: fixed;
				float: right;
				width: 36px;
				height: 36px;
				left: 20px;
				bottom: 11px;
				margin: 0 -198px 0 0;
			}
		
/******************************
code unique to backyard_living
******************************/

			.data-button#gazebo {
				 position: relative; 
				width: 40px;
				height: 40px;
				left: -8px;
				top: 0px;
}
								
			.data-button#gazebo-settings {
				position: relative;
				width: 40px;
				height: 40px;
				left: -8px;
				top: 5px;
			}
			
			.data-button#pergola-settings {
				position: relative;
				width: 40px;
				height: 40px;
				left: -8px;
				top: 5px;
			}

			.data-button#light_globe {
				position: relative;
				width: 40px;
				height: 40px;
				left: -8px;
				top: 5px;
			}
			
			.data-button#table {
				position: relative;
				width: 40px;
				height: 40px;
				left: -8px;
				top: 10px;
			}
			
			.data-button#armchair {
				position: relative;
				width: 40px;
				height: 40px;
				left: -8px;
				top: 15px;
			}
			
			.data-button#sofa {
				position: relative;
				width: 40px;
				height: 40px;
				left: -8px;
				top: 20px;
			}
			
			.data-button#pool {
				position: relative;
				width: 40px;
				height: 40px;
				left: -8px;
				top: 25px;
			}
			
			.data-button#grill {
				position: relative;
				width: 40px;
				height: 40px;
				left: -8px;
				top: 30px;
			}
			
			.data-button#mini_fridge{
				position: relative;
				width: 40px;
				height: 40px;
				left: -8px;
				top: 35px;
			}
			
			.data-button#bug_screen {
				position: relative;
				width: 40px;
				height: 40px;
				left: -8px;
				top: 40px;
			}
			
			.data-button#chimney {
				position: relative;
				width: 40px;
				height: 40px;
				left: -2px;
				top: 35px;
			}
			
			.data-button#west-cap {
				position: relative;
				width: 40px;
				height: 40px;
				left: -8px;
				top: 35px;
			}
			
			.data-button#goth-cap {
				position: relative;
				width: 40px;
				height: 40px;
				left: -8px;
				top: 40px;
			}
			
			#info_container {
				display: block;
				position: absolute;
				top: 0;
				right: 0px;
				z-index: 2;
				width: 84%;
			}
			
			.dropdown-content {
				position: fixed;
				bottom: auto !important;
				overflow: auto;
				height: 80%;
				left: 54px;
				top: 0px;
			}
			
			#tools-list {
				left: 52px;
				bottom: 0px !important;
			}
			
			.object_dimensions {
				font-size: 1em !important;
			}
			
            .object_dimensions td, .object_dimensions th {
	            padding: 4px 8px 4px 8px;
            }
			
			.main_sliders_container {
				position: relative;
				z-index: 2;
			}
			
			.slider_container {
				margin-bottom: 0;
				background-color: #ffffffb0;
				padding: 0 10px 30px 10px;
			}
			
			.input_slider {
				margin-top: 0;
				margin-bottom: 0;
				height: 0;
			}
			
			.text_label {
				font-size: 1em !important;
				margin-bottom: 0;
			}
			#cap_info {
				width: 30%;
				font-size: .75em;
				bottom: 60px;
			}
			#loader {	
				font-size: 1em;
				text-align: center;
			}
			#close {
				font-size: 2em;
				width: 16%;
				height: 20%
			}
			#obj_dim_close {
				font-size: 1.5em;
				width: 8%;
				height: 6.4%;
			}
			
}
