@import "font-size.css";
@import "font-face.css";

.bg_image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.label {
    padding: 3px 12px;
    background-color: #F2F2F2;
    color: #000;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    font-family: 'db_helvethaicamon_x55_regular';
}
.label:hover, .label.active {
    background-color: #f8c301;
}

.labelWarning.active {
    background-color: #fb3;
    color: #F2F2F2;
}

.labelWarning:hover {
    background-color: #f80;
    color: #F2F2F2;
}

.labelSuccess.active {
    background-color: #00c851;
    color: #F2F2F2;
}

.labelSuccess:hover {
    background-color: #007e33;
    color: #F2F2F2;
}

.labelDanger.active {
    background-color: #f44;
    color: #F2F2F2;
}

.labelDanger:hover {
    background-color: #c00;
    color: #F2F2F2;
}

.labelInfo.active {
    background-color: #33b5e5;
    color: #F2F2F2;
}

.labelInfo:hover {
    background-color: #09c;
    color: #F2F2F2;
}

.labelEmerald.active {
    background-color: #2bbbad;
    color: #F2F2F2;
}

.labelEmerald:hover {
    background-color: #00695c;
    color: #F2F2F2;
}

.labelPrimary.active {
    background-color: #4285f4;
    color: #F2F2F2;
}

.labelPrimary:hover {
    background-color: #0d47a1;
    color: #F2F2F2;
}

.labelSecondary.active {
    background-color: #a6c;
    color: #F2F2F2;
}

.labelSecondary:hover {
    background-color: #93c;
    color: #F2F2F2;
}

.labelOrange.active {
    background-color: #e68a00;
    color: #F2F2F2;
}
.labelOrange:hover {
    background-color: #b36b00;
    color: #F2F2F2;
}

.labelBlack.active {
    background-color: #333;
    color: #F2F2F2;
}

.labelBlack:hover {
    background-color: #666;
    color: #F2F2F2;
}

.cursorPointer {
    cursor: pointer;
}

.popup_content {
    font-family: 'db_helvethaicamon_x55_regular' !important;
    font-size: 18px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100%;
    z-index: 999;
    display: none;
    background-color: rgba(0,0,0,0.5);
}
.popup_content>.content {
    position: fixed;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    border-radius: 5px;
    padding: 10px;
    background-color: #333;
    color: #f7c22d;
    padding-bottom: 60px;
}
.popup_content>.content .head {
    padding: 10px 0;
    font-size: 24px;
    font-family: 'db_helvethaicamon_x55_regular';
    display: flex;
    justify-content: space-between;
}

.popup_content>.content .body {
    height: 100%;
}

@media only screen and (min-width: 1200px) {
    .popup_content>.content {
        width: 450px;
        height: 550px;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.popup_content> .content .body .content_customer {
    padding: 10px;
    background-color: #F2F2F2;
    border-radius: 5px;
    color: #333;
    margin-bottom: 5px;
}

.popup_content> .content .body .content_customer>div:nth-child(1) {
    font-weight: 700;
    padding-bottom: 5px;
}

.form {
    width: 100%;
}

.form .row {
    padding-bottom: 10px;
}

.form .row .title {
    padding-bottom: 5px;
}

.form .row .input_select {
    background-color: #000;
    border-radius: 10px;
}

.form .row .input_select select {
    background-color: transparent;
    border: 0;
    color: #F2F2F2;
    padding: 8px 12px;
    font-family: 'db_helvethaicamon_x55_regular';
    font-size: 16px;
}

.form .row .input_select select option {
    background-color: #FFF;
    color: #000;
}

.form .row_btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form textarea {
    box-sizing: border-box;
    height: 100px;
    background-color: #000;
    border: #000 1px solid;
    padding: 8px 12px;
    width: 100%;
    color: #ccc;
    font-size: 12px;
    resize: none;
    border-radius: 10px;
}
.form input {
    box-sizing: border-box;
    background-color: #000;
    border: #000 1px solid;
    padding: 8px 12px;
    width: 100%;
    color: #ccc;
    font-size: 12px;
    resize: none;
    border-radius: 10px;
}

.input_address {
    overflow: hidden;
}

.input_address .wrap_address:nth-child(odd) {
    float: left;
    width: 49.5%;
    background-color: #000;
    border-radius: 10px;
    margin-bottom: 5px;
}

.input_address .wrap_address:nth-child(even) {
    float: right;
    width: 49.5%;
    background-color: #000;
    border-radius: 10px;
    margin-bottom: 5px;
}

.input_address .wrap_address select {
    width: 100%;
    background-color: transparent;
    border: 0;
    color: #F2F2F2;
    padding: 8px 12px;
    font-family: 'db_helvethaicamon_x55_regular';
    font-size: 16px;
}

.input_address .wrap_address select option {
    background-color: #FFF;
    color: #000;
}

.input_address .wrap_address input {
    box-sizing: border-box;
    background-color: #000;
    border: #000 1px solid;
    padding: 8px 12px;
    width: 100%;
    color: #ccc;
    font-size: 12px;
    resize: none;
    border-radius: 10px;
}

.boxSelect2 {
    background-color: #000;
    border-radius: 10px;
}

.boxSelect2 select {
    width: 100%;
    background-color: transparent;
    border: 0;
    color: #F2F2F2;
    padding: 8px 12px;
    font-family: 'db_helvethaicamon_x55_regular';
    font-size: 16px;
}

.boxSelect2 select option {
    background-color: #FFF;
    color: #000;
}
/*=================PREVIEW IMSGES=================*/
.bg_img {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.showImages {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 5px;
}

.showImages .listImages {
    width: 100%;
    height: 150px;
    box-shadow: 1px 1px 2px rgba(51, 51, 51, 0.25);
    margin-bottom: 0.5%;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.showImages .listImages .listDelete {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(51, 51, 51, 0.5);
    padding: 10px;
    border-radius: 0 0 5px 0px;
}

.showImages .listImages:hover {
    opacity: 0.8;
    transition: opacity 1000ms linear;
}

.showFileName .listFileName {
    padding: 5px 0;
    color: #F2F2F2;
}

@media only screen and (min-width: 600px) {
    .showImages .listImages {
        width: 49.5%;
        height: 150px;
        margin-right: 0.5%;
    }
}

@media only screen and (min-width: 1000px) {
    .showImages .listImages {
        width: 49.5%;
        height: 95px;
    }
}

@media only screen and (min-width: 1300px) {
    .showImages .listImages {
        height: 150px;
    }
}

.listImagesNew {
    position: relative;
}

.listImagesNew::after {
    content: 'NEW';
    position: absolute;
    background-color: rgba(51, 51, 51, 0.45);
    color: #F2F2F2;
    padding: 5px;
    right: 0;
    border-radius: 0 5px 0 0;
}

/*================= Button =================*/
.btn {
    padding: 8px 12px;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    border: 1px solid #000;

    border-color: #333;
    color: #ffcb08;
    background-color: #000;
    transition: background-color 0.6s linear;
}
.btn:hover {
    background-color: #ddd;
    color: #000;
}

.btn_danger {
    background-color: #F44;
    border-color: #F44;
    color: #F2F2F2;
}

.btn_danger:hover {
    border-color: #c00;
    background-color: #c00;
    color: #F2F2F2;
}

.btn_success {
    background-color: #00c851;
    border-color: #00c851;
    color: #F2F2F2;
}

.btn_success:hover {
    border-color: #007e33;
    background-color: #007e33;
    color: #F2F2F2;
}

.font {
    font-family: 'db_helvethaicamon_x55_regular';
    font-size: 18px;
}

/*================= Alert Box =================*/
.alert_box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(#000 0%, rgba(1, 1, 1, 0.55) 135%);
    z-index: 100;

    font-family: 'db_helvethaicamon_x55_regular';
    display: none;
}

.alert_box .alert_background {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    width: 250px;
    background-color: #fff;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    border: 1px solid rgba(1, 1, 1, 0.5);
}

.alert_box .alert_background .header {
    /* background-color: #242832; */
    background-color: #242832;
    color: #F2F2F2;
    padding: 12px 16px;
    border-radius: 5px 5px 0 0;
}

.alert_box .alert_background .header.danger {
    background-color: #F44;
}

.alert_box .alert_background .header.success {
    background-color: #00c851;
}

.alert_box .alert_background .header.warning {
    background-color: #fb3;
}

.alert_box .alert_background .header.info {
    background-color: #33b5e5;
}

.alert_box .alert_background .body {
    padding: 25px 10px;
    text-align: center;
    background-color: #F2F2F2;
}

.alert_box .alert_background .body .detail {
    margin-bottom: 10px;
}

.alert_box .alert_background .footer {

}

@media only screen and (min-width: 768px) {
    .alert_box .alert_background {
        width: 400px;
    }
}

#table {
    width: 100%;
    border-spacing: 0 10px;
    font-size: 20px;
}
#table tr:first-child th:first-child,
#table tr td:first-child {
    border-radius: 5px 0 0 5px;
}
#table tr:first-child th:last-child,
#table tr td:last-child {
    border-radius: 0 5px 5px 0;
}

#table tr th {
    padding: 10px;
    background-color: #000;
}
#table tr td {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
}
#table tr td.detail div {
    padding-bottom: 5px;
}

.icon-spin {
    -webkit-animation: icon-spin 2s linear infinite;
    animation: icon-spin 2s linear infinite
}

.icon-pulse {
    -webkit-animation: icon-spin 1s steps(8) infinite;
    animation: icon-spin 1s steps(8) infinite
}

@-webkit-keyframes icon-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

@keyframes icon-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

/*================= Manual =================*/
.boxRow {
    margin: 5px 0 15px 0;
}
.boxTitleHead {
    font-size: 1.3em;
    text-decoration: underline;
    padding: 5px 0;
}
.textUnderLine {
    text-decoration: underline;
}

@media only screen and (min-width: 1300px) {
    .home_iframe {
        height: 335px !important;
    }
}

/*================= Slide category web(index page) =================*/

.slide_category_web_animation {
    animation: slideHide linear;
    animation-duration: 1.5s;
    animation-delay: 3s;
    animation-fill-mode: forwards;
	animation-iteration-count:1;
}

.slide_category_web {
    position: absolute;
    background-color: #444;
    width: 130px;
    border-radius: 0 5px 5px 0;
    z-index: 2;
    display: none;

}

.slide_category_qs {
    top: 5px;
    left: 170px;
    color: #ffcd36;
}

.slide_category_qs .wrap_categoy .list_category {
    color: #ffcd36;
}


.slide_category_com {
    top: 135px;
    left: 170px;
    color: #F44;
}

.slide_category_com .wrap_categoy .list_category {
    color: #F44;
}

.slide_category_cloud {
    top: 265px;
    left: 170px;
    color: #23a1d4;
}

.slide_category_cloud .wrap_categoy .list_category {
    color: #23a1d4;
}

.slide_category_web .wrap_categoy {

}

.slide_category_web .wrap_categoy .list_category {
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 16px;
}

.slide_category_web .wrap_categoy .list_category:hover {
    color: #F2F2F2;
}

.slide_category_web .wrap_categoy .list_category img {
    width: 25px;
    margin: 0 5px;
}

@keyframes slideHide {
    0%   {
        opacity: 1;
        transform:translateX(0);
    }
    70% {
        opacity: 0;
    }
    100% {
        transform:translateX(-170px);
        opacity: 0;
    }
}

.wrap_left_h {
    transform: rotate(-90deg);
    
    position: absolute;
    z-index: 4;

    display: none;
    
}

.wrap_left_h > a {
    /* transform: rotate(-90deg); */
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;

    font-weight: 700;

}

.wrap_left_h > a > img{
    height: 30px;
}

.wrap_left_h.menu_left_qs {
    /* background-color: #fff; */
    background-color: #f8c301;
    border-radius: 0 0 10px 0;
    top: 52px;
    right: -52px;
    width: 134px;
    height: 30px;
}

.wrap_left_h.menu_left_qs > a {
    color: #000;
}

.wrap_left_h.menu_left_com {
    /* background-color: #fff; */
    background-color: #9c0013;
    top: 182px;
    right: -48px;
    width: 127px;
    height: 30px;
}

.wrap_left_h.menu_left_cloud {
    /* background-color: #fff; */
    background-color: #1a70b8;
    border-radius: 0 0 0 10px;
    top: 313px;
    right: -52px;
    width: 135px;
    height: 30px;
}

.wrap_left_h.menu_left_qs > a:hover {
    color: #333;

}

.wrap_left_h.menu_left_com > a:hover,
.wrap_left_h.menu_left_cloud > a:hover {
    color: #ddd;
}

[data-tool_tip] {
    position: relative;
}

[data-tool_tip]::after {
    content: attr(data-tool_tip);
    display: block;
    position: absolute;
    background-color: #000;
    color: #f2f2f2;
    border: 5px;
    white-space: nowrap;
    right: 0;
    bottom: 100%;
    transform: scale(0);
    transition: transform ease-out 150ms;
    border-radius: 5px;
    padding: 12px 22px;
    font-size: 12px;
    font-family: Prompt;
}

[data-tool_tip]:hover::after {
    transform: scale(1);
}

.wrap_banner_icon {
    display: none;
}
@media only screen and (min-width: 768px) {
    .wrap_banner_icon {
        display: flex;
        position: absolute;
        bottom: 10px;
        right: 220px;
        /* background-color: rgba(0, 0, 0, 0.6); */
        border-radius: 10px;
        padding: 5px 15px;
    }
    .wrap_banner_icon.commercial {
        right: 185px;
    }
}

.wrap_banner_icon > a {
    margin: 0 5px;
    display: block;
}

.wrap_banner_icon > a > img {
    width: 30px;
    position: relative;
}

/*================= Gallery (knowledge-base_detail) =================*/
.wrap_gallery {
    display: grid;
    grid-template-columns: 100%;
    grid-auto-rows: auto;
    grid-gap: 5px;
    width: 100%;
}

.wrap_gallery span, .wrap_gallery div {
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 3px;
}

.warp_gallery_desktop {
    display: none;
}

@media only screen and (min-width: 768px) {
    .wrap_gallery {
        grid-template-columns: 50% 50%;
    }
}

@media only screen and (min-width: 1300px) {
    .wrap_gallery {
        grid-template-columns: 25% 25% 25% 25%;
        width: 940px;
    }

    .wrap_gallery span, .wrap_gallery div {
        height: 200px;
        cursor: pointer;
    }

    .warp_gallery_desktop {
        display: block;
    }

    .warp_gallery_mobile {
        display: none;
    }
}

/*================= Home event (home) =================*/
.paragraphHomeS {
    margin-bottom: 20px;
}

.wrap_home_event {
    padding: 0 10px;
    /* display: flex; */

    /* display: grid;
    grid-template-columns: 100%;
    grid-auto-rows: auto;
    grid-gap: 5px;
    width: 100%; */
}

/* .wrap_home_event > div > a > div:nth-child(1) {
    height: 180px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 3px;
    border-radius: 5px;
}

.wrap_home_event > div > a > div:nth-child(2) {
    padding: 5px 10px 0px 5px;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .wrap_home_event {
        grid-template-columns: 50% 50%;
    }
}

@media only screen and (min-width: 1300px) {
    .wrap_home_event {
        grid-template-columns: 33% 33% 33%;
        
    }

    .wrap_home_event > div > a > div:nth-child(1) {
        height: 180px;
        cursor: pointer;
    }
} */
.wrap_home_event > div:nth-child(1) {
    background: #373C48;
    background: linear-gradient(180deg,rgba(55, 60, 72, 1) 75%, rgba(33, 37, 47, 1) 95%);
    border-radius: 10px;
    margin-bottom: 5px;
}

.wrap_home_event > div:nth-child(2) > a > div > div.bg_image {
    height: 185px;
    border-radius: 10px;
}

.wrap_home_event > div:nth-child(2) > a > div > div:nth-child(2) {
    font-size: 1.3rem;
    padding: 5px;
    height: 60px;
    overflow: hidden;
    word-break: break-word;
}

.owl-home_product a .bg_image {
    height: 185px;
    border-radius: 10px 10px 0 0;
}

.owl-home_product a div:nth-child(2) {
    font-size: 1.8rem;
    padding: 5px 10px;
    height: 66px;
    overflow: hidden;
    word-break: break-word;
}

.owl-home_product a div:nth-child(3) {
    padding: 20px 0 0 10px;
}

@media only screen and (min-width: 768px) {
    .wrap_home_event > div:nth-child(2) > a > div > div.bg_image {
        height: 375px;
    }

    .owl-home_product a .bg_image {
        height: 375px;
    }

    .wrap_home_event > div:nth-child(2) > a > div > div:nth-child(2) {
        height: 45px;
    }
}

@media only screen and (min-width: 1300px) {
    .wrap_home_event {
        display: flex;
    }

    .wrap_home_event > div:nth-child(1) {
        width: 430px;
        margin-bottom: 0;
    }

    .wrap_home_event > div:nth-child(2) {
        width: 520px;

        display: grid;
        grid-template-columns: 100%;
        grid-auto-rows: auto;
        grid-gap: 10px;

        grid-template-columns: 50% 50%;

        padding-left: 10px;
    }

    .wrap_home_event > div:nth-child(2) > a > div > div.bg_image {
        height: 140px;
    }

    .owl-home_product a .bg_image {
        height: 240px;
    }

    /* .owl-home_product a div:nth-child(2) {
        font-size: 1.8rem;
        padding-left: 5px;
        height: 66px;
        overflow: hidden;
        word-break: break-word;
    } */
    
    .owl-home_product a div:nth-child(3) {
        padding: 20px 0 0 10px;
    }
}


.listMenu ul li section.active a.qs_more_spec {
    color: #f7c22d;
}

.listMenu ul li section.active a.com_more_spec {
    color: #ff001e;
}

.listMenu ul li section.active a.cloud_more_spec {
    color: #1a70b8;
}

.boxiconThumb {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
}