
* {
	box-sizing: border-box;
	font-family: sans-serif;
    user-select: none;
    font-size: 13px;
}
body {
    margin: 0;
}
#info {
	position: fixed;
    top: -70%;
    right: 5px;
    color: #000;
	padding: 10px;
    font-weight: bold;
    pointer-events: unset;
    background-color: #ffffffaa;
    width: 400px;
    max-width: 90%;
    text-shadow: 1px 1px 2px #fff;
    text-align: left;
    transition: 0.3s;
}
#info.on {
    top: 40px;
}

#info #more_info,
#functions #change_action {
    position: fixed;
    top: 5px;
    right: 5px;
    padding: 5px 10px;
    display: inline-block;
    background-color: #ffffff;
    float: right;
    cursor: pointer;
}
#functions #change_action {
    right: 40%;
    color: #000;
    font-weight: bold;
}
#info.on #more_info {

}
#info #more_info:after,
#functions #change_action:after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 18px;
    background-image: url(../img/arrow-down.png);
    background-size: 100%;
    background-repeat: no-repeat;
    vertical-align: sub;
    margin-left: 10px;
}
#info.on #more_info:after,
#functions.on #change_action:after {
    background-image: url(../img/arrow-up.png);
}
#ontion_bar {
	position: fixed;
	top: 0;
	bottom: 0;
	left: -300px;
	width: 300px;
	background: #fff;
	transition: 0.5s;
	padding: 15px;
    z-index: 2;
    overflow: auto;
}
#ontion_bar::-webkit-scrollbar {
    width: 5px;
    padding: 1px;
}

#ontion_bar::-webkit-scrollbar-track {
  background: #aaa; 
}

#ontion_bar::-webkit-scrollbar-thumb {
  background: #f9755b; 
}

#ontion_bar::-webkit-scrollbar-thumb:hover {
  background: #f00; 
}
#ontion_bar.on {
	left: 0;
    /*box-shadow: 0px 0px 8px 2px #fff;*/
}
#toggle {
	cursor: pointer;
	position: fixed;
	font-weight: bold;
	color: #fff;
	top: 2px;
	left: 5px;
	padding: 3px 10px;
	background-color: #f9755b;
    transition: 0.5s;
    z-index: 2;
}
#ontion_bar.on + #toggle {
    left: 305px;
    /*background-color: #000;*/
}
#ontion_bar h3 {
	background-color: #fff;
	line-height: 1.5;
	font-size: 24px;
	color: #000;
	margin: 0;
	padding: 5px 0;
	width: 100%;
	text-align: left;
    font-weight: 900;
}
#setsize {
	padding-bottom: 5px;
	display: flex;
}
#setsize label {
	display: flex;
	justify-content: center;
	text-align: center;
	align-items: flex-end;
	margin: 10px 0;
	cursor: pointer;
	color: #000;
	font-weight: 600;
}
#setsize label input {
	margin-left: 5px;
	width: 50%;
	line-height: 1.8;
}
#area {
    pointer-events: auto;
    text-align: center;
    display: flex;
    justify-content: space-between;
}
#area div {
    width: 30%;
    padding: 5px 0;
    text-align: center;
    cursor: pointer;
    color: #000;
    background-color: #e5e5e5;
    transition: 0.3s;
    font-weight: 600;
    background-repeat: no-repeat;
    background-position: center 75%;
    padding-bottom: 60px;
}
#area div:hover {
    background-color: #f9755b;
}
#area div img {
    display: block;
    margin: auto;
}
#cube {
    box-sizing: border-box;
    text-align: center;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: baseline;
    overflow-x: hidden;
    overflow-y: auto;
}
#cube div {
    width: 115px;
    height: auto;
    cursor: pointer;
    color: #000;
    margin-top: 5px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
	font-weight: 600;
    line-height: 1.3;
}
#cube img {
    width: 80%;
    max-width: 114px;
    position: relative;
    z-index: -1;
}
#functions {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 5px;
    width: 40%;
    left: 30%;
    transition: 0.5s;
    color: #fff;
}
#functions.on {
    /*top: 50px;*/
}
#functions .btn {
    display: block;
    padding: 8px 16px;
    margin: 0 10px;
    background-color: #f9755b;
    transition: 0.3s;
    cursor: pointer;
}
#functions .btn:hover,
#functions .btn.active {
    background-color: #f9755b;
}
#functions .change_obj {
    /*display: none;*/
    background-repeat: no-repeat;
    background-size: 80% 80%;
    background-position: 10% 10%;
}
#functions .change_obj.on {
    display: block;
}
#functions #prev_obj {
    /*background-image: url(../img/arrow-left.png);*/
}
#functions #next_obj {
    /*background-image: url(../img/arrow-right.png);*/
}
#save {
    color: #fff;
    background-color: #ee7656;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 5px;
    font-size: 14px;
}
}
#save:hover {
    box-shadow: 1px 2px 3px #000;
}
#real_size {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background-size: 90% auto;
    background-position: center 40px;
    background-repeat: no-repeat;
    height: 300px;
    width: 300px;
    background-color: #fff;
    padding: 0 10px;
    opacity: 0;
    z-index: -1;
    transition: 0.3s;
}
#real_size.modei {
    background-image: url(../img/bgi.png);
    opacity: 1;
    z-index: 1;
    height: 150px;
}
#real_size.model {
    background-image: url(../img/bgl.png);
    opacity: 1;
    z-index: 1;
}
#real_size.modeu {
    background-image: url(../img/bgu.png);
    opacity: 1;
    z-index: 1;
}
#real_size h3 {
	background-color: #fff;
	line-height: 1.5;
	font-size: 24px;
	color: #000;
	margin: 0;
	padding: 5px 0;
	width: 100%;
	text-align: left;
    font-weight: 900;
}
#real_size input {
    display: none;
	border: none;
    width: 44px;
    background-color: #fff;
}
#real_size input#rwidth {
	position: absolute;
	left: 16px;
	top: 53%;
}
#real_size input#rlength {
	position: absolute;
	top: 52px;
	left: 42%;
}
#real_size input#rulength {
	position: absolute;
	right: 16px;
	top: 53%;
}
#real_size.modei input#rlength {
    display: block;
}
#real_size.model input#rwidth,
#real_size.model input#rlength {
    display: block;
}
#real_size.modeu input#rwidth,
#real_size.modeu input#rlength,
#real_size.modeu input#rulength {
    display: block;
}
#loading {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    background-color: #66666688;
    transition: 0.3s;
}
#loading.on {
    opacity: 1;
    z-index: 3;
}
#loading img {
    display: block;
    user-select: none;
    width: 100px;
}

#cart {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -500px;
    color: #000;
    font-weight: bold;
    pointer-events: unset;
    width: 500px;
    max-width: 90%;
    text-shadow: 1px 1px 2px #fff;
    text-align: left;
    transition: 0.3s;
    display: flex;
    align-items: center;
    padding: 15px;
}
#cart svg {
    display: block;
}
#cart.on {
    right: 50px;
}
#cart #more_info_cart {
    position: fixed;
    top: 50%;
    right: 5px;
    background-color: #ffffffcc;
    padding-right: 10px;
    padding-top: 5px;
    padding: 5px 10px 3px 3px;
    border-radius: 4px;
    cursor: pointer;
}
#cart .list_product {
    background-color: #ffffffaa;
    width: 100%;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
}
#cart .list_product .pr_item {
    display: flex;
    width: 50%;
}
#cart .list_product .pr_item .photo {
    width: 100px;
}
#cart .list_product .pr_item .photo > img{
    width: 100%;
    height: auto;
}
#cart .list_product .pr_item .text {
    width: calc(100% - 100px);
    font-size: 12px;
    font-weight: normal;
}
#cart .quantity {
    position: absolute;
    top: 1px;
    right: 1px;
    line-height: 1;
    color: #fff;
    background-color: #f00;
    padding: 3px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: normal;
    display: block;
    height: 17px;
    text-align: center;
}
#cart_mode {
    display: none;
    position: fixed;
    z-index: 5;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
#cart_mode.on {
    display: block;
}
#cart_mode .content_cart,
#cart_mode .content_cart iframe {
    width: 100%;
    height: 100%;
    border: none;
}
#bt_configurator {
    cursor: pointer;
    display: inline-block;
    background-color: #eee;
    padding: 5px 15px;
    border-radius: 5px;
    color: #000;
    position: fixed;
    top: 50%;
    left: 0;
}
#bt_configurator:hover {
    background-color: #f9755b;
    color: #fff;
}

@media only screen and (max-width: 1200px) {
    #functions {
        top: 40px; 
    }
    #ontion_bar.on + #toggle {
        background-color: #000;
    }
    #real_size {
        height: 200px;
        width: 200px;
        background-size: 85% auto;
    }
    #real_size h3 {
        font-size: 18px;
    }
    #real_size input {
        width: 36px;
        width: auto;
    }
    #real_size input#rwidth {
        position: absolute;
        left: 5px;
        top: 53%;
    }
    #real_size input#rlength {
        position: absolute;
        top: 45px;
        left: 42%;
    }
    #real_size input#rulength {
        position: absolute;
        right: 5px;
        top: 53%;
    }
}
@media only screen and (max-width: 767px) {
    #functions .btn {
        padding: 5px 12px;
        margin: 0 7px;
    }
    #real_size {
        height: 150px;
        width: 150px;
        background-size: 75% auto;
    }
    #info #more_info, #functions #change_action {
        padding: 3px 10px;
    }
    #real_size input {
        padding: 0;
    }
    #real_size input#rlength {
        position: absolute;
        top: 40px;
        left: 42%;
    }
}