

::backdrop
{
    background-color: #000000;
}

@font-face {
    font-family: 'Roboto Mono';
    src: local('Roboto Mono'), local('RobotoMono-Regular'), url('/avnViewer/fonts/RobotoMono-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'Roboto Mono';
    src: local('Roboto Mono Medium'), local('RobotoMono-Medium'), url('/avnViewer/fonts/RobotoMono-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'Roboto-Bold';
    src: local('Roboto-Bold'), local('Roboto-Bold'), url('/avnViewer/fonts/Roboto-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'Roboto-Medium';
    src: local('Roboto-Medium'), local('Roboto-Medium'), url('/avnViewer/fonts/Roboto-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    height: 100%;
    width: 100%;
    outline:0 !important;
    border: none !important;
}

body{
    overflow:hidden;
}

#start_logo{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgb(97, 27, 117);
    display: block;
    z-index: 10004;
}

#start_logo_tm{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgb(210, 255, 100);
    display: block;
    z-index: 10004;
}

#u4787878342 label{
    min-width: 400px !important;
}

#start_logo img{
    width: 75%;
    min-width: 300px;
    max-width: 1000px;
    height: auto;
    margin: auto;
    display: block;
}

#start_logo_tm img{
    width: 75%;
    min-width: 300px;
    max-width: 1000px;
    height: auto;
    margin: auto;
    display: block;
}

#load_models_progressbar{
    z-index: 1020;
    position: relative;
    max-width: 400px;
    display: block;
    width: 90%;
}

@media all and ( max-width: 270px ) {
    #load_models_progressbar{
        margin: -24% auto 0 auto;
    }
}

@media all and ( max-width: 350px ) and ( min-width: 270px ) {
    #load_models_progressbar{
        margin: -20% auto 0 auto;
    }
}

@media all and ( max-width: 450px ) and ( min-width: 350px ) {
    #load_models_progressbar{
        margin: -18% auto 0 auto;
    }
}

@media all and ( max-width: 1100px ) and ( min-width: 450px ) {
    #load_models_progressbar{
        margin: -16% auto 0 auto;
    }
}

@media all and ( max-width: 1600px ) and ( min-width: 1100px ) {
    #load_models_progressbar{
        margin: -13% auto 0 auto;
    }
}

@media all and ( max-width: 2500px ) and ( min-width: 1600px ) {
    #load_models_progressbar{
        margin: -9% auto 0 auto;
    }
}

@media all and ( max-width: 3500px ) and ( min-width: 2500px ) {
    #load_models_progressbar{
        margin: -6% auto 0 auto;
    }
}

@media all and ( min-width: 3500px ) {
    #load_models_progressbar{
        margin: 0 auto 0 auto;
    }
}

#load_models_progressbar{
    z-index: 1003;
}

canvas {
    outline:0 !important;
    border: none !important;
}

html {
    font-size: calc(var(--font-size) - 1px);
    line-height: calc(var(--line-height) - 1px);
}

body {
    font-family: 'Roboto', monospace;
    margin: 0px;
    color: var(--text-color);
}

a {
    text-decoration: none;
}

h1 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
}

h2 {
    padding: 0;
    margin: 16px 0;
    font-size: calc(var(--font-size) - 1px);
    line-height: var(--line-height);
    font-weight: 500;
    color: var(--color-blue);
}

h3 {
    margin: 0;
    font-weight: 500;
    font-size: calc(var(--font-size) - 1px);
    line-height: var(--line-height);
    color: var(--secondary-text-color);
}

h1 a {
    color: var(--color-blue);
}

#header {
    display: flex;
    height: var(--header-height);
    border-bottom: var(--border-style);
    align-items: center;
}
#header h1 {
    padding-left: var(--panel-padding);
    flex: 1;
    display: flex;
    align-items: center;
    color: var(--color-blue);
}
#header #version {
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
    border-radius: 4px;
    line-height: 16px;
    padding: 0px 2px;
    margin-left: 6px;
    font-size: .9rem;
}

#panel {
    position: fixed;
    z-index: 100;
    left: 0px;
    width: var(--panel-width);
    height: 100%;
    overflow: auto;
    border-right: var(--border-style);
    display: flex;
    flex-direction: column;
    transition: 0s 0s height;
}

#panel #exitSearchButton {
    width: 48px;
    height: 48px;
    display: none;
    background-color: var(--text-color);
    background-size: var(--icon-size);
    -webkit-mask-image: url(../files/ic_close_black_24dp.svg);
    -webkit-mask-position: 50% 50%;
    -webkit-mask-repeat: no-repeat;
    mask-image: url(../files/ic_close_black_24dp.svg);
    mask-position: 50% 50%;
    mask-repeat: no-repeat;
    cursor: pointer;
    margin-right: 0px;
}

#panel.searchFocused #exitSearchButton {
    display: block;
}

#panel.searchFocused #language {
    display: none;
}

#panel.searchFocused #filter {
    -webkit-mask-image: none;
    mask-image: none;
    background-color: inherit;
    padding-left: 0;
}

#panel #expandButton {
    width: 48px;
    height: 48px;
    margin-right: 4px;
    margin-left: 4px;
    display: none;
    cursor: pointer;
    background-color: var(--text-color);
    background-size: var(--icon-size);
    -webkit-mask-image: url(../files/ic_menu_black_24dp.svg);
    -webkit-mask-position: 50% 50%;
    -webkit-mask-repeat: no-repeat;
    mask-image: url(../files/ic_menu_black_24dp.svg);
    mask-position: 50% 50%;
    mask-repeat: no-repeat;
}

#panel #sections {
    display: flex;
    justify-content: center;
    z-index: 1000;
    position: relative;
    height: 100%;
    align-items: center;
    font-weight: 500;
}

#panel #sections * {
    padding: 0 var(--panel-padding);
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
#panel #sections .selected:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    border-bottom: 1px solid var(--text-color);
}
#panel #sections a {
    color: var(--secondary-text-color);
}

body.home #panel #sections {
    display: none;
}

#panel #inputWrapper {
    display: flex;
    align-items: center;
    height: var(--header-height);
    padding: 0 0 0 var(--panel-padding);
    position: relative;
    background: var(--background-color);
}
#panel #inputWrapper:after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: var(--border-style);
    content: "";
}

#panel #filter {
    flex: 1;
    width: 100%;
    padding: 0 36px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    outline: none;
    border: 0px;
    background-color: var(--text-color);
    background-size: var(--icon-size);
    -webkit-mask-image: url(../files/ic_search_black_24dp.svg);
    -webkit-mask-position: 0 50%;
    -webkit-mask-repeat: no-repeat;
    mask-image: url(../files/ic_search_black_24dp.svg);
    mask-position: 0 50%;
    mask-repeat: no-repeat;
    font-family: 'Roboto', monospace;
}

#panel #language {
    font-family: 'Roboto', monospace;
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 500;
    color: var(--text-color);
    border: 0px;
    background-image: url(ic_arrow_drop_down_black_24dp.svg);
    background-size: var(--icon-size);
    background-repeat: no-repeat;
    background-position: right center;
    background-color: var(--background-color);
    padding: 2px 24px 4px 24px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-right: 10px;
}

#panel #language:focus {
    outline: none;
}

#contentWrapper {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translate3d(0,0,0);
}
#panel #content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 var(--panel-padding) var(--panel-padding) var(--panel-padding);
}

#panel #content ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px 0 20px 0;
}
#panel #content ul li {
    margin: 1px 0;
}

#panel #content h2 {
    margin-top: 32px;
    border-top: var(--border-style);
    padding-top: 12px;
}

#panel #content h2:first-child {
    margin-top: 16px !important;
    border-top: none;
    padding-top: 0;
}

#panel #content a {
    position: relative;
    color: var(--text-color);
}

#panel #content a:hover,
#panel #content a:hover .spacer,
#panel #content .selected {
    color: var(--color-blue);
}

#panel #content .selected {
    text-decoration: underline;
}

#panel #content .hidden {
    display: none !important;
}

body.home #panel #content h2 {
    margin-bottom: 2px;
    padding-bottom: 0px;
    margin-top: 18px;
    border-top: none;
    padding-top: 6px;
}

.spacer {
    color: var(--secondary-text-color);
    margin-left: 2px;
    padding-right: 2px;
}

#viewer,
iframe {
    position: absolute;
    border: 0px;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

#viewer {
    padding-left: var(--panel-width);
}

#button {
    position: fixed;
    bottom: 16px;
    right: 16px;

    padding: 12px;
    border-radius: 50%;
    margin-bottom: 0px;

    background-color: #FFF;
    opacity: .9;
    z-index: 999;

    box-shadow: 0 0 4px rgba(0,0,0,.15);
}
#button:hover {
    cursor: pointer;
    opacity: 1;
}
#button img {
    display: block;
    width: var(--icon-size);
}

#button.text {
    border-radius: 25px;
    padding-right: 20px;
    padding-left: 20px;
    color: var(--color-blue);
    opacity: 1;
    font-weight: 500;
}


#projects {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    line-height: 0;
}
#projects a {
    overflow: hidden;
}
#projects a img {
    width: 100%;
    transform: scale(1.0);
    transition: 0.15s transform;
}
#projects a:hover img {
    transform: scale(1.08);
}



@media all and ( min-width: 1500px ) {
    #projects {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media all and ( min-width: 1700px ) {
    :root {
        --panel-width: 360px;
        --font-size: 18px;
        --line-height: 28px;
        --header-height: 56px;
        --icon-size: 24px;
    }
    #projects {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media all and ( min-width: 1900px ) {

    #projects {
        grid-template-columns: repeat(9, 1fr);
    }

}

@media all and ( max-width: 1300px ) {
    #projects {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media all and ( max-width: 1100px ) {
    #projects {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media all and ( max-width: 900px ) {
    #projects {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media all and ( max-width: 700px ) {
    #projects {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* mobile */

@media all and ( max-width: 640px ) {

    :root {
        --header-height: 56px;
        --icon-size: 24px;
    }

    #projects {
        grid-template-columns: repeat(2, 1fr);
    }

    #panel #expandButton {
        display: block;
    }
    #panel {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        right: 0;
        z-index: 1000;
        overflow-x: hidden;
        transition: 0s 0s height;
        border: none;
        height: var(--header-height);
        transition: 0s 0.2s height;
    }
    #panel.open {
        height: 100%;
        transition: 0s 0s height;
    }

    #panelScrim {
        pointer-events: none;
        background-color: rgba(0,0,0,0);
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 1000;
        pointer-events: none;
        transition: .2s background-color;
    }
    #panel.open #panelScrim {
        pointer-events: auto;
        background-color: rgba(0,0,0,0.4);
    }

    #contentWrapper {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        background: var(--background-color);
        box-shadow: 0 0 8px rgba(0,0,0,.1);
        width: calc(100vw - 60px);
        max-width: 360px;
        z-index: 10000;
        transition: .25s transform;
        overflow-x: hidden;
        margin-right: -380px;
        line-height: 2rem;
    }
    #panel.open #contentWrapper {
        transform: translate3d(-380px, 0 ,0);
    }
    #viewer,
    iframe {
        left: 0;
        top: var(--header-height);
        width: 100%;
        height: calc(100% - var(--header-height));
    }
    #viewer {
        padding-left: 0;
    }
}

#stageLabel{
    font-size: 16px;
    font-weight: 700;
    position: absolute;
    bottom: 45px;
    z-index: 1000;
    height: 43px;
    color: #CBCBDE;
    display: none;
    text-align: center;
    background: #21222D;
    border-radius: 24px;
    cursor: pointer;
    padding: 10px 12px;
    min-width: 40px;
    text-align: center;
}

@media screen and (min-width: 1024px) {

    #load_models_spiner_wrapper {
        position: absolute;
        width: 400px;
        bottom: 62px;
        display: block;
        z-index: 1000;
    }
}

@media screen and (max-width: 1025px) and (min-width: 700px) {
    #load_models_spiner_wrapper {
        position: absolute;
        width: 400px;
        bottom: 30px;
        display: block;
        z-index: 1000;
    }
}

@media screen and (max-width: 701px) {
    #load_models_spiner_wrapper {
        position: absolute;
        width: 400px;
        bottom: 20px;
        display: block;
        z-index: 1000;
    }
}

#player_buttons button{
    cursor: pointer;
}



#player_buttons button:hover {
    border: 1px solid #999;
    background: #dadada url(/avnViewer/CSS/images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;
    font-weight: normal;
    color: #212121;
}


#load_models_spiner label {
    position: absolute;
    width: 20px;
    margin-top: 13px;
    margin-left: -10px;
    text-align: center;
    color: #bbbbbb;
}

body {
    background-color: #000000;
    color: #000;
}

a {
    color: #f00;
}
.progress-label {
    position: absolute;
    left: 50%;
    top: 4px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
}

#custom-handle{
    background: none !important;
    background-color: #9F99AF !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 20px !important;
    border: none !important;
    top: -7.5px;
}

.rotations_slider span{
    background: none !important;
    background-color: #FFFFFF !important;
    width: 4px !important;
    height: 12px !important;
    border-radius: 0 !important;
    border: none !important;
    top: -7.5px;
    margin-left: -2px !important;
}

.rotations_slider{
    border-radius: 0 !important;
    background-color: #21222D !important;
    height: 4px !important;
}

.rotations_slider.ui-widget-content{
    border: none !important;
}

.rotations_slider .ui-slider-range{
    background: #9B95AD;
    border: none;
    height: 4px !important;
    margin-left: -1px;
    border-radius: 0 !important;
}

.rotations_slider_cs{
    height: 17px;
    position: relative !important;
    display: inline-block;
}

#load_models_spiner {
    background-color: #21222D !important;
    height: 4px !important;
    border-radius: 2px !important;
    margin-top: 7px;
}

#load_models_spiner .ui-slider-range {
    background: #9F99AF;
    border: none;
}

@media all and ( min-width: 640px ) {
    #plan_div {
        width: 360px;
    }
}

@media all and ( max-width: 640px ) {
    #plan_div {
        width: 240px;
    }
}

#plan_div{
    display: none;
    color: #eeeeee;
    height: 50%;
    position: absolute;
    z-index: 10002;
    top: 20px;
    padding: 10px;
    overflow-y: auto;
}

#plan_p{
    width: 90%;
    margin: auto;
    height: 96%;
    overflow-x: auto;
    overflow-y: auto;
    font-size: 12px;
    line-height: 15px;
}

#plan_div h3{
    margin: auto;
    text-align: center;
    color: #eeeeee;
}

#set_buttons_wrap{
    display: none;
    width: 100%;
    position: absolute;
    z-index: 10000;
    top: 0;
    left: 0;
    text-align: center;
}

.button_p_wrap button, .buttonx, .buttony{
    width: 64px;
    height: 64px;
    cursor: pointer;
    background: #000000;
    border: 0px solid #000000;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 1px;
    display:inline;
    overflow-x: hidden;
    overflow-y: hidden;
}

.button_p_wrap2 button {
    width: 66px;
    height: 66px;
    cursor: pointer;
    background: #000000;
    border: 0px solid #000000;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 1px;
    display:inline;
    overflow-x: hidden;
    overflow-y: hidden;
}

.button_p_wrap button:focus, .button_p_wrap2 button:focus, .buttonx:focus, buttony:focus{
    outline:0;
}

.white_hower:hover {
    background: #a5a5a5 !important;
}

/*.btn_p_active{*/
/*    filter: brightness(110%) !important;*/
/*    background: linear-gradient(0deg, #606271, #8a849c, #aba4bb) !important;*/
/*}*/

/*.btn_p_active.buttony{*/
/*    filter: brightness(110%) !important;*/
/*    background: linear-gradient(-90deg, #606271, #8a849c, #aba4bb) !important;*/
/*}*/

.btn_p_active .gaganush2{
    display: inline-block !important;
}

.gaganush2{
    position: absolute;
    right: 0px;
    top: 0;
    width: 4px;
    background-color: #9F99AF;
    height: 46px;
    display: none !important;
}

@media (hover: hover) {
    .buttonx:hover {
        background: linear-gradient(0deg, #606271, #8a849c, #aba4bb) !important;
        filter: brightness(120%) !important;
    }

    .buttony:hover {
        background: linear-gradient(-90deg, #606271, #8a849c, #aba4bb) !important;
        filter: brightness(120%) !important;
    }
}

.buttonx {
    background: linear-gradient(0deg, #101010, #2a242c, #3a343c);
}

.buttonyr {
    background: linear-gradient(90deg, #101010, #2a242c, #3a343c);
}

.buttonyl {
    background: linear-gradient(-90deg, #101010, #2a242c, #3a343c);
}

#set_buttons button span {
}

.button_p_wrap button img, .buttonx img, .buttony img {
    width: 58px;
    height: 58px;
    border: none !important;
}

.button_p_wrap2 button img {
width: 60px;
height: 60px;
border: none !important;
margin-top: 2px !important;
}

.button_p_wrap, .button_p_wrap2{
    display: none;
    position: absolute;
    z-index: 10000;
    text-align: center;
    vertical-align: middle;
}

#set_buttons_left_wrap, #set_buttons_bleft_wrap, #set_buttons_bright_wrap {
width: 62px;
}

#set_buttons_left_wrap button, #set_buttons_bleft_wrap button, #set_buttons_bright_wrap button {
margin-top: -4px !important;
margin-bottom: -5px !important;
}

#set_buttons_top_wrap .buttonx{

}

#set_buttons_top, #set_buttons_top_l{
    display: inline-block;
}

.buttonx{
    display: inline-block;
    float: left;
    border-radius: 0;
}

.buttony{
    display: inline-block;
    float: left;
    border-radius: 0;
}

#custom-handle label{
color: #eeeeee;
}

#select_scenario_dialog, #select_image_dialog, #select_visual_articulator_dialog{
    display: block;
    position: fixed;
    z-index: 100500;
    padding: 0;
    color: #ffffff;
    font-size: 16px;
    border-radius: 16px;
    text-align: center;
}

#select_scenario_dialog{
    direction: ltr;
}


#select_scenario_dialog label, #select_scenario_dialog button, #select_scenario_dialog select, #select_image_dialog label, #select_image_dialog button, #select_image_dialog select,
#select_visual_articulator_dialog label, #select_visual_articulator_dialog button, #select_visual_articulator_dialog select{
display: block;
margin: 5px auto;
}

#select_scenario_dialog button, #select_image_dialog button, #select_visual_articulator_dialog button{
    width: 25%;
    margin-top: 10px;
    height: 30px !important;
}

#select_scenario_dialog select, #select_image_dialog select{
    height: 28px !important;
    font-size: 20px;
    line-height: 28px !important;
    width: 90%;
}

#select_scenario, #select_plan{
    color: #ffffff;
}

#select_image option:hover, #select_image option:checked {
    box-shadow: 0 0 10px 100px #A81882 inset !important;
    outline-color: red;
}

#select_scenario_button{
    background: linear-gradient(-10deg, #606271, #8a849c, #aba4bb) !important;
    border-radius: 1px !important;
    color: #cecefe;
    font-weight: bold;
}

.img_btn_min{
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    left: 10px;
    position: absolute;
    border-radius: 3px;
}

.select_image_button:hover, .select_noimage_button:hover{
    cursor: pointer;
}

.brightness_select:hover, .brightness_select img:hover, .transparency_select:hover, .transparency_select img:hover,{
    background-color: #bababa;
    cursor: pointer;
}

.odd_back0{
    background-color: #312E3F;
}

.odd_back1{
    background-color: #21222D;
}

.select_image_button{
    height: 46px;
    text-align: left;
    padding: 8px 0px 4px 48px;
    font-weight: normal;
    cursor: pointer;
    overflow: hidden;
    font-size: 16px;
}

.select_noimage_button{
    height: 46px;
    text-align: left;
    padding: 8px 0px 4px 19px;
    font-weight: normal;
    cursor: pointer;
    overflow: hidden;
    font-size: 16px;
}

#select_image, #select_visual_articulator{
    /*overflow-y: scroll;*/
    position: relative;
}

#select_image::-webkit-scrollbar-track, #select_visual_articulator::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

#select_image::-webkit-scrollbar-thumb, #select_visual_articulator::-webkit-scrollbar-thumb {
    background-color: #000000;
    outline: 1px solid slategrey;
}

#btn_full_screen{

}

#full_screen_back_wall{
    opacity: 0.02;
    z-index: 9999;
    position: fixed;
}

.select_image_button{
    position: relative;
}

.select_image_button div{
    display: inline-block;
}

.brightness_select {
    position: absolute;
    right: 10px;
}

.transparency_select {
    position: absolute;
    right: 42px;
}

.brightness_select, .brightness_select img, .transparency_select, .transparency_select img{
    height: 25px;
    width: 25px;
    border-radius: 3px;
}

.brightness_slider{
    height: 17px;
    width: 100px;
    right: 71px;
    top: 10px;
    position: absolute !important;
}

.close_piptik:hover{
    cursor: pointer;
    background: #AAAAAA;
}

.close_piptik{
    position: absolute;
    top: 5px;
    right: 3px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    padding: 0;
}

.close_piptik img{
    width: 20px;
    height: 20px;
    margin: 2px;
}

.plan_table{
    margin: 0 10px;
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}

.plan_table table{
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}

.plan_table table td, .plan_table table th{
    border: solid 1px #aaaaaf;
    padding: 3px;
}

.plan_table table th{
    padding: 7px;
}



/*Кнопки полный экран и скрыть все кнопки*/
.button_top_new{
    display: inline-block;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.button_x_new{
    display: inline-block;
    width: 36px;
    height: 36px;
    position: relative;
    cursor: pointer;
}

.pannel_top{
    position: absolute;
    width: 74px;
    height: 24px;
    right: 0;
    top: 17px;
}
#btn_full_screen{
    margin-right: 8px;
}
.logo_avn{
    top: 19px;
    left: 24px;
    margin: 0;
    position: absolute;
    z-index: -1;
    width: 185px;
    height: 23px;
}

.logo_avn_tm{
    top: 8px;
    left: 8px;
    margin: 0;
    position: absolute;
    z-index: -1;
    width: 140px;
    height: 30px;
}

.logo_avn_custom{
    top: 19px;
    left: 24px;
    margin: 0;
    position: absolute;
    z-index: -1;
    max-height: 70px;
}

#set_buttons_right_wrap1{
    background: rgba(33, 34, 45, 0.7);
}

#set_buttons_right_wrap, #set_buttons_right_wrap1{
    position: absolute;
}

#set_buttons_right_container{
    position: absolute;
    width: 100%;
}

#set_buttons_top_r{
    z-index: 10001;
}

.btn_p_active .gaganush{
    display: inline-block;
}

.gaganush{
    display: none;
}

@media all and ( min-width: 600px ) and (min-height: 600px){
    #set_buttons_right_wrap{
        width: 56px;
        right: 0;
        top: 84px;
        height: calc(100% - 128px);
    }

    #set_buttons_right_wrap1{
        display: none;
    }

    #set_buttons_top, #set_buttons_left {
        border-bottom: 1px solid #31323D;
        padding: 24px 0;
    }
    #set_buttons_right{
        padding: 24px 0;
    }
    .button_x_new{
        margin: 0 10px;
    }
    .gaganush{
        position: absolute;
        right: -10px;
        top: 0;
        height: 36px;
        width: 5px;
        background-color: #9F99AF;
        border-radius: 4px 0 0 4px;
    }
    .button_x_new:hover .gaganush{
        right: -13px;
        height: 40px;
        top: -2px;
        width: 6px;
    }
}

@media all and ( max-width: 600px ) and (orientation: portrait), all and ( max-height: 600px ) and (orientation: portrait){
    #set_buttons_right_wrap {
        width: 56px;
        right: 0;
        top: 84px;
        height: calc(100% - 128px);
    }
    #set_buttons_right_wrap1{
        display: none;
    }
    #set_buttons_top, #set_buttons_left {
        border-bottom: 1px solid #31323D;
        padding: 12px 0;
    }
    #set_buttons_right{
        padding: 12px 0;
    }
    .button_x_new{
        margin: 0 10px;
    }
    .gaganush{
        position: absolute;
        right: -10px;
        top: 0;
        height: 36px;
        width: 5px;
        background-color: #9F99AF;
        border-radius: 4px 0 0 4px;
    }
    .button_x_new:hover .gaganush{
        right: -13px;
        height: 40px;
        top: -2px;
        width: 6px;
    }
}

@media all and ( max-width: 600px ) and (orientation: landscape), all and ( max-height: 600px ) and (orientation: landscape){
    #set_buttons_right_wrap1{
        display: block;
        width: 100%;
        left: 0;
        top: 0;
        height: 56px;
    }
    #set_buttons_right_wrap{
        width: calc(100% - 350px);
        left: 240px;
        top: 0;
        height: 56px;
    }
    #set_buttons_top, #set_buttons_left, #set_buttons_right {
        padding: 0 20px;
    }
    #set_buttons_top, #set_buttons_left{
        border-right: 1px solid #31323D;
    }
    #set_buttons_left, #set_buttons_right {
        margin-left: -7px;
    }
    .button_x_new{
        margin: 10px 0;
    }
    .gaganush{
        position: absolute;
        left: 0;
        top: -10px;
        width: 36px;
        height: 5px;
        background-color: #9F99AF;
        border-radius: 0 4px 4px 0;
    }
    .button_x_new:hover .gaganush{
        top: -13px;
        width: 40px;
        height: 6px;
        left: -2px;
    }
}

/*.button_top_new[title]:hover{
        content: attr(title);
        position: absolute;
        top: -100%;
        left: 0;
    }

    .button_top_new span {
        display: none;
    }
    .button_top_new:hover span {
        border: #666 2px dotted;
        padding: 5px 20px 5px 5px;
        display: block;
        z-index: 100;
        background: #e3e3e3;
        left: 0px;
        margin: 15px;
        width: 300px;
        position: absolute;
        top: 15px;
        text-decoration: none;
    }*/


/*.btn:hover {*/
/*    transform: translateY(-3px);*/
/*    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.6);*/
/*    !*border: 3px solid #fff;*!*/
/*}*/

/*.btn::after {*/
/*    content: "";*/
/*    display: inline-block;*/
/*    height: 100%;*/
/*    width: 100%;*/
/*    border-radius: 30px;*/
/*    position: absolute;*/
/*    top: -2px;*/
/*    left: -2px;*/
/*    z-index: -1;*/
/*    transition: all 2.9s;*/
/*}*/

/*.btn:hover::after {*/
/*    border: 10px inset #ffffff;*/
/*}*/

/*.btn:hover::after {*/
/*    transform: scaleX(1.6) scaleY(1.8);*/
/*    opacity: 0;*/
/*}*/
.button_top_new.btn {
    border-radius: 20px;
    background-color: argb(0,0,0, 0.02);
}

.button_x_new img{
    width: 36px;
    height: 36px;
}

.button_x_new.btn {
    border-radius: 20px;
    background-color: rgba(33, 34, 45, 0.02);
}

.button_x_new.btn::after, .button_p_new.btn::after {
    content: "";
    display: inline-block;
    height: 32px;
    width: 32px;
    border-radius: 32px;
    position: absolute;
    border: 2px solid #aaaaaa;
    top: 0;
    left: 0;
    padding: 0;
    z-index: -1;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
    opacity: 0;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}

.button_top_new.btn::after {
    content: "";
    display: inline-block;
    height: 20px;
    width: 20px;
    border-radius: 20px;
    position: absolute;
    border: 2px solid #aaaaaa;
    top: 0;
    left: 0;
    padding: 0;
    z-index: -1;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
    opacity: 0;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}

.btn.xactive::after{
    /*animation: spiout .6s linear 1 forwards normal;*/
    -webkit-animation: sonarEffect 0.65s ease-out 37ms;
    -moz-animation: sonarEffect 0.65s ease-out 37ms;
    animation: sonarEffect 0.65s ease-out 37ms;
}

.btn.xactive{
    /*animation: dyndyn .6s linear 1  forwards normal;*/
    background: rgba(255,255,255,0.05);
    -webkit-tranform: scale(0.93);
    -moz-transform: scale(0.93);
    -ms-transform: scale(0.93);
    transform: scale(0.93);
    color: #fff;
}

@-webkit-keyframes sonarEffect {
    0% {
        opacity: 0.45;
    }s
    40% {
        opacity: 0.7;
        box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255,255,255,0.5);
        z-index: 100022;
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255,255,255,0.5);
        -webkit-transform: scale(1.65);
        opacity: 0;
        z-index: 100022;
    }
}
@-moz-keyframes sonarEffect {
    0% {
        opacity: 0.45;
    }
    40% {
        opacity: 0.7;
        box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255,255,255,0.5);
        z-index: 100022;
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255,255,255,0.5);
        -moz-transform: scale(1.65);
        z-index: 100022;
        opacity: 0;
    }
}
@keyframes sonarEffect {
    0% {
        opacity: 0.45;
    }
    40% {
        opacity: 0.7;
        box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255,255,255,0.5);
        z-index: 100022;
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #3851bc, 0 0 0 10px rgba(255,255,255,0.5);
        transform: scale(1.65);
        opacity: 0;
        z-index: 100022;
    }
}

#set_buttons_top, #set_buttons_left, #set_buttons_right{
    display: inline-block;
    min-width: 56px;
    min-height: 56px;
}

#brightness_slider span{
    background: none !important;
    background-color: #9F99AF !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 20px !important;
    border: none !important;
    top: -7.5px;
}

#brightness_slider {
    background-color: #CBCBDE !important;
    height: 4px;
    border-radius: 2px !important;
    margin-top: 7px;
}

#brightness_slider  .ui-slider-range {
    background: #9F99AF;
    border: none;
}

.brightness_select, .transparency_select{
    top: 7px;
}

#next_photo, #prior_photo{
    position: absolute;
    top: 50%;
    background: #21222D;
    opacity: 0.5;
    width: 42px;
    height: 42px;
    border-radius: 42px;
    cursor: pointer;
}

#next_photo{
    padding: 10px 0 0 15px;
}

#prior_photo{
    padding: 10px 0 0 13px;
}

@media all and ( min-width: 1920px ){
    #prior_photo{
        position: absolute;
        top: 50%;
        left: 24px;
    }
    #next_photo{
        position: absolute;
        top: 50%;
        right: 80px;
    }
}
@media all and ( min-width: 600px ) and ( max-width: 1920px ){
    #prior_photo{
        position: absolute;
        top: 50%;
        left: 24px;
    }
    #next_photo{
        position: absolute;
        top: 50%;
        right: 131px;
    }
}
@media all and ( max-width: 600px ) and (orientation: portrait), all and ( max-height: 600px ) and (orientation: portrait){
    #prior_photo{
        position: absolute;
        top: 50%;
        left: 24px;
    }
    #next_photo{
        position: absolute;
        top: 50%;
        right: 68px;
    }
}


@media all and ( max-width: 600px )  and (orientation: landscape), all and  ( max-height: 600px ) and (orientation: landscape){
    #prior_photo{
        position: absolute;
        top: 50%;
        left: 14px;
    }
    #next_photo{
        position: absolute;
        top: 50%;
        right: 14px;
    }
}

.plan_table_div_h, .plan_table_div_h2, .plan_table_div{
    padding: 15px 15px;
    font-family: Roboto;
}

.plan_table_div_h span, .plan_table_div_h2 span, .plan_table_div span{
    position: absolute;
    right: 15px;
}

.plan_table_div_h2 {
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
}

.plan_table_div_h {
    font-size: 16px;
    font-weight: bold;
    color: #9F99AF;
}

.plan_table_div{
    font-size: 16px;
    font-weight: normal;
    color: #FFFFFF;
}

@media all and ( max-width: 600px )  and (orientation: landscape), all and  ( max-height: 600px ) and (orientation: landscape) {
    #hint_g360 {
        position: absolute;
        top: calc(50% - 63px);
        left: calc(50% - 63px);
        width: 126px;
        height: 126px;
        border-radius: 126px;
        background-color: #ffffff;
        color: #181843;
        box-shadow: 0px 4px 20px rgba(24, 24, 67, 0.25);
        font-size: 13px;
        line-height: 15px;
        padding: 40px 16px;
        text-align: center;
        display: none;
    }
}

@media all and ( min-width: 600px ) and ( min-height: 600px ) {
    #hint_g360 {
        position: absolute;
        top: calc(50% - 128px);
        left: calc(50% - 128px);
        width: 256px;
        height: 256px;
        border-radius: 256px;
        background-color: #ffffff;
        color: #181843;
        box-shadow: 0px 4px 20px rgba(24, 24, 67, 0.25);
        font-size: 24px;
        padding: 80px 32px;
        text-align: center;
        line-height: 28px;
        display: none;
    }
}

#info_hint1{
    display: none;
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0.8;
    font-size: 21px;
    z-index: 10000;
}

.xhjshjyuya{
    font-family: Roboto;
    font-size: 12px;
    color: #CBCBDE;
}

#player_buttons {
    position: absolute;
    width: 172px;
    height: 72px;
    z-index: 1000;
    display: none;
    text-align: center;
    bottom: 85px;
}

#btn_prior img{

}
#btn_play img{
    width: 72px;
    height: 72px;
}
#btn_next img{

}

#btn_play{
    width: 72px;
    height: 72px;
    background: none;
    border: none;
}

#btn_next, #btn_prior{
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    padding: 3px 2px;
}

#btn_play, #btn_next, #btn_prior{
    display: inline-block;
    cursor: pointer;
}
#btn_play img, #btn_next img, #btn_prior img {
    display: inline-block;
}

#btn_prior {
    position: relative;
    top: -27px;
    left: -34px;
}

#btn_next {
    position: relative;
    top: -27px;
    left: 34px;
}

.button_pt_new.btn::after, .button_pt2_new.btn::after {
    content: "";
    display: inline-block;
    position: absolute;
    border: 2px solid #aaaaaa;
    top: 0;
    left: 0;
    padding: 0;
    z-index: -1;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
    opacity: 0;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}

.button_pt_new.btn::after {
    height: 24px;
    width: 24px;
    border-radius: 20px;
}

.button_pt2_new.btn::after {
    height: 68px;
    width: 68px;
    border-radius: 72px;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/* width */
::-webkit-scrollbar {
    width: 14px;
}

/* Track */
::-webkit-scrollbar-track {

}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #999;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

#grid_canvas{
    pointer-events: none;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='your_transparent.png', sizingMethod='scale');
    width: 100%;
    height: 100%;
    z-index: 9999999;
    position: absolute;
    top: 0;
    left: 0;
}

.hide_scroll::-webkit-scrollbar {
    display: none;
}
.hide_scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#sbrw_left, #sbrw_right, #sbrw_top, #sbrw_bottom{
    position: absolute;
    z-index: 9999999999;
    opacity: 0.7;
}

#sbrw_bottom, #sbrw_right{

}

.rotations_select {
    position: absolute;
    right: 10px;
}

.rotations_select, .rotations_select img{
    height: 25px;
    width: 25px;
    border-radius: 3px;
}

.rotations_slider{
    height: 32px;
    position: relative !important;
    display: inline-block;
}

.rotations_slider_l{
    height: 32px;
    position: relative !important;
    display: inline-block;
}

#save_scene_btn{
    width: 200px !important;
    background-color: #9E99AF;
    color: #000000;
    cursor: pointer;
    height: 40px !important;
    font-size: 16px;
    font-weight: 600;
    font-family: Roboto-Medium;
    border-radius: 14px;
}

.loader{  /* Loader Div Class */
    position: fixed;
    top:0px;
    right:0px;
    width:100%;
    height:100%;
    background-color:#eceaea;
    background-image: url('/images/spinner.gif');
    background-size: 50px;
    background-repeat:no-repeat;
    background-position:center;
    z-index:10000000;
    opacity: 0.4;
    filter: alpha(opacity=40);
}

#beauty_alert{
    padding: 20px !important;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    font-family: Roboto-Bold;
}

#beauty_alert .ui-dialog-buttonpane, .ui-dialog[aria-describedby="beauty_alert"]{
    background-color: rgb(49, 46, 63) !important;
    border: none;
    border-radius: 16px !important;
}

.ui-dialog[aria-describedby="beauty_alert"] .ui-dialog-titlebar{
    display: none;
}

.ui-dialog[aria-describedby="beauty_alert"] .ui-dialog-buttonpane{
    background-color: rgb(49, 46, 63) !important;
}

#beauty_alert_text{
    margin-top: 6px !important;
    margin-bottom: 6px !important;
}

.v_popups_dialog2{
    position: absolute;
    direction: ltr;
    padding: 0;
    border-radius: 16px;
    background-color: #312E3F;
    color: #ffffff;
    font-size: 14px;
    font-family: Roboto-Medium;
}

.v_popups_dialog2 input{
    font-family: Roboto-Medium;
}

.v_popups_dialog2 table tr{
    height: 32px;
}

.v_popups_dialog2_td1{
    padding-left: 20px;
}

.v_popups_dialog2_tdl{
    padding-right: 24px;
}

.v_popups_dialog2_odd_row{
    background-color: #21222D;
    font-family: Roboto-Bold;
    color: #9A95AA;
}

.report_input{
    width: 52px;
    color: #ffffff;
    border-radius: 0;
    border: solid 1px #9B95AD;
    background-color: #21222D;
    font-weight: 600;
    font-size: 14px;
    height: 26px;
    text-align: right;
    padding-right: 6px;
}

.red_limit_input{
    color: #bb0000;
}

.rotations_slider_cs.report_input{
    margin-left: 14px;
    height: 29px;
}

#selected_teeth_rep1, #selected_teeth_rs {
    margin-top: 7px;
    display: inline-block;
    font-family: Roboto-Bold;
}

.rotations_slider_block.v_popups_dialog2_odd_row{
    font-family: Roboto-Bold;
}

.rotations_slider_block{
    display: block;
    position: static !important;
    height: 38px;
    font-family: Roboto-Medium;
    text-align: left;
    padding-left: 16px;
    padding-top: 5px;
}

.footer-a1{
    color: #a7a7a7;
    font-size: 12px;
    text-decoration: none !important;
    cursor: pointer;
}