@import "poppins.css"; /* Using a string */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: K2D;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

#render {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    border: 0;
    touch-action: none;
}

#render iframe {
    width: 100%;
    height: 100%;
}

.switch-day-night {
    width: 100%;
    position: absolute;
    top: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
}
.switch-day-night div { margin: 0 auto;
    background: rgba(24, 25, 31, 0.2);
    border-radius: 10px;
}
.switch-day-night button {
    display: inline-block; width: 150px; border: none; background: none; height: 36px;
    font-weight: 500;
    font-size: 12px;
    color: #fff;
    line-height: 20px;
    transition: 0.3s ease all;
}
.switch-day-night button:hover { cursor: pointer; }
.switch-day-night .day {
    border-radius: 8px;
    color: #fff;
}
.switch-day-night .day span {
    background: url("../image/icon-sky.png") 15px center no-repeat;
    display: block;
}

.switch-day-night .night span {
    background: url("../image/icon-moon.png") 15px center no-repeat;
    display: block;
}
.switch-day-night .active {
    background: rgba(24, 25, 31, 0.6);
    z-index: -1;
    transition: 0.3s ease-out all;
    border-radius: 8px;
}

.switch-button {
    width: 300px;
    height: 36px;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate3D(-50%, -50%, 0);
    will-change: transform;
    z-index: 197 !important;
    cursor: pointer;
    transition: 0.3s ease all;
    border-style: solid;
    border-width: 2px;
    border-color: transparent;
    background: rgba(24, 25, 31, 0.2);
    border-radius: 10px;
}
.switch-button .active {
    background: rgba(24, 25, 31, 0.6);
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: -1;
    transition: 0.3s ease-out all;
    border-radius: 8px;
}

.switch-button .active-case {
    color: #fff;
}
.switch-button .day span {
    background: url("../image/icon-sky.png") 20px center no-repeat;
    display: block;
    padding-left: 24px;
    height: 20px;
    font-weight: 500;
    font-size: 12px;
    font-family: "SVN-Poppins", sans-serif;
}
.switch-button .night span {
    background: url("../image/icon-moon.png") 20px center no-repeat;
    display: block;
    padding-left: 24px;
    height: 20px;
    font-weight: 500;
    font-size: 12px;
    font-family: "SVN-Poppins", sans-serif;
}
.switch-button-case {
    display: inline-block;
    background: none;
    width: 49%;
    height: 100%;
    color: white;
    position: relative;
    border: none;
    transition: 0.3s ease all;
}

.menu-bottom {
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 2;
    background: rgba(32, 165, 185, 0.9);
    backdrop-filter: blur(10px);
}
.menu {
    margin-bottom: 0;
    list-style: none;
    display: flex;
    text-transform: uppercase;
    justify-content: center; /* center items horizontally, in this case */
    height: 64px;
}

.menu_item {
    justify-content: center;
    transition: 0.3s ease-in;
    color: #fff;
    /*display: flex;*/
}

.menu_item a {
    color: #fff;
    text-decoration: none;
    display: block;
    line-height: 36px;
    padding: 28px 31px 0 31px;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
}
.menu_item.home a {
    background: url("../image/icon-home.png") center 15px no-repeat;
    width: 220px;
    padding-right: 22px;
}

.menu_item-space {
    background: url("../image/line.png") center right no-repeat;
    width: 1px;
}

.menu_item.tab-1 a {
    background: url("../image/tab-1.png") center 10px no-repeat;
}

.menu_item.tab-2 a {
    background: url("../image/tab-2.png") center 10px no-repeat;
}

.menu_item.tab-3 a {
    background: url("../image/tab-3.png") center 10px no-repeat;
}

.menu_item.tab-4 a {
    background: url("../image/tab-4.png") center 10px no-repeat;
}

.menu_item.tab-5 a {
    background: url("../image/tab-5.png") center 10px no-repeat;
}

.menu_item.tab-6 a {
    background: url("../image/tab-6.png") center 10px no-repeat;
}

.menu_item.tab-7 a {
    background: url("../image/tab-7.png") center 10px no-repeat;
}
.menu_item:hover, .menu_item.active {
    cursor: pointer;
    color: #FFDB69;
    background: linear-gradient(180deg, rgba(80, 80, 80, 0.05) 0%, rgba(0, 65, 102, 0.05) 0.01%, rgba(0, 65, 102, 0.5) 100%);
}

.menu_item.tab-1:hover a {
    color: #FFDB69;
    background: url("../image/tab-1-hover.png") center 10px no-repeat;
}

.menu_item.tab-1:hover a, .menu_item.tab-1.active a {
    color: #FFDB69;
    background: url("../image/tab-1-hover.png") center 10px no-repeat;
}

.menu_item.tab-2:hover a, .menu_item.tab-2.active a {
    color: #FFDB69;
    background: url("../image/tab-2-hover.png") center 10px no-repeat;
}

.menu_item.tab-3:hover a, .menu_item.tab-3.active a {
    color: #FFDB69;
    background: url("../image/tab-3-hover.png") center 10px no-repeat;
}

.menu_item.tab-4:hover a, .menu_item.tab-4.active a {
    color: #FFDB69;
    background: url("../image/tab-4-hover.png") center 10px no-repeat;
}

.menu_item.tab-5:hover a, .menu_item.tab-5.active a {
    color: #FFDB69;
    background: url("../image/tab-5-hover.png") center 10px no-repeat;
}

.menu_item.tab-6:hover a, .menu_item.tab-6.active a {
    color: #FFDB69;
    background: url("../image/tab-6-hover.png") center 10px no-repeat;
}

.menu_item.tab-7:hover a, .menu_item.tab-7.active a {
    color: #FFDB69;
    background: url("../image/tab-7-hover.png") center 10px no-repeat;
}

.menu_item.home:hover {
    background: none;
}


.select-hour-template {
    width: auto;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
}

.select-hour-template ul {
    box-sizing: border-box;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
}

.select-hour-template ul li {
    background: #FFFFFF;
    padding: 10px 10px 10px 0;
    list-style: none;
    border-bottom: 1px solid #EEEFF4;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
}

.select-hour-template ul li i {
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 4px;
    order: 0;
    flex-grow: 0;
    margin: 0px 16px;
    width: 22px;
    height: 22px;
    float: left;
}

.select-hour-template ul li i.color-1 {
    background: #9BF4FC;
}

.select-hour-template ul li i.color-2 {
    background: #EBC296;
}

.select-hour-template ul li i.color-3 {
    background: #24C0CD;
}

.select-hour-template ul li i.color-4 {
    background: #D4C2AC;
}

.select-hour-template ul li i.color-5 {
    background: #D3A16C;
}

.select-hour-template ul li i.color-6 {
    background: #EBC296;
}


.select-hour-template ul li:first-child {
    border-radius: 8px 8px 0px 0px;
}

.select-hour-template ul li:last-child {
    border-radius: 0px 0px 8px 8px;
}

.select-hour-template ul li:hover, .select-hour-template ul li.active {
    background: #27BEC7;
    color: #fff;
    cursor: pointer;
}

.select-hour-template ul li span {
    width: 22px;
    height: 22px;
    float: right;
    background: url(../image/house_group/group-right.png) right center no-repeat;
}

.select-hour-template ul li.active span, .select-hour-template ul li:hover span {
    background: url("../image/house_group/group-right-hover.png") right center no-repeat;
}

.menu-left {
    width: 32px;
    position: absolute;
    left: 8px;
    z-index: 2;
    height: 100%;
    display: none;
    top: 0;
}

.box-notify-video {
    width: 100%;
    position: absolute;
    bottom: 90px;
    z-index: 2;
    text-align: center;
    display: none;
}

.box-notify-video span {
    width: 300px;
    padding: 8px 23px 8px 52px;
    background: rgba(255, 255, 255, 0.9) url(../image/icon-switch.png) 24px center no-repeat;
    /* Gray 5 */

    border: 1px solid #EEEFF4;
    box-sizing: border-box;
    /* Shadow 1 */

    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.menu-left .menu-sub {
    display: flex;
    flex-direction: column;
    justify-content: center; /* center items horizontally, in this case */
    height: 100%;
}

.tab3-content { text-align: center }
.bg-tab {
    /*position: fixed;*/
    /*left: 0;*/
    /*top: 0;*/
}

@font-face{font-family: 'K2D';	src: url('https://duanonline.com.vn/font/K2D-Regular.ttf') format('truetype');	font-weight: 400;}
@font-face{font-family: 'K2D';	src: url('https://duanonline.com.vn//font/K2D-Bold.ttf') format('truetype');	font-weight: 700;}
