/* ====== Basic Setting ====== */

@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

* {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; 
    -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important; 
    outline: none !important;
}

html {
    -webkit-user-select: none;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body{
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    /*-webkit-user-select: none;                   prevent copy paste, to allow, change 'none' to 'text' */
    height:100vh;
    width: 100vw;
    margin:0px;
    padding:0px;
    font-family: -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif;
    position: relative;
    color: #262626;
    background-color: #F4F5F5;
}

input, section, textarea, select{
    -webkit-appearance: none;
    -moz-appearance:    none;
    appearance:         none;
    /* font-family: 'NotoSansDisplay', 'NotoSansThai'; */
}

.content_box {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

.content_box_flow {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.content_box_flow_x {
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    position: relative;
    box-sizing: border-box;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

a:link {
    text-decoration: none;
    color: unset;
  }
  
  a:visited {
    text-decoration: none;
    color: unset;
  }
  
  a:hover {
    text-decoration: none;
    color: unset;
  }
  
  a:active {
    text-decoration: none;
    color: unset;
  }

/* ====== For Custom Coding ====== */

.nav_bar {
    height: 62px;
    width: 100vw;
    background-color: rgba(230, 230, 230, 0.5);
    position: fixed;
    z-index: 100;
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    box-sizing: border-box;
    border-bottom: 1px solid #C1C1C1;
}

.page_padding {
    width: 1000px;
    height: 100%;
    margin: auto;
}

.logo_vernity {
    height: 28px;
    position: absolute;
    top: calc(50% - (28px / 2));
}

.social_section {
    height: 28px;
    width: 118px;
    position: absolute;
    position: absolute;
    top: calc(50% - (28px / 2));
    right: 0px;
    text-align: right;
}

.social_icon {
    height: 28px;
    margin-left: 8px;
}

.menu_section {
    width: 460px;
    height: 100%;
    margin: auto;
    text-align: center;
    font-size: 16px;
    box-sizing: border-box;
    padding-top: 20px;
}

.menu_section div {
    width: 92px;
    margin-right: 24px;
    display: inline-block;
    cursor: pointer;
}

.menu_section div:last-child {
    margin-right: 0px;
}

.menu_section div:hover {
    font-weight: bold;
}

.full_width_box {
    width: 100vw;
    height: 100vh;
    max-height: 800px;
}

.bg_dark {
    background-color: #1E202B;
}

.h1_ss1 {
    font-size: 72px;
    background: linear-gradient(to right, #D54D49, #F2B13F, #1E4079);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: 142px;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.p_ss1 {
    font-size: 22px;
    color: #707070;
    text-align: center;
    top: 248px;
    position: absolute;
    line-height: 26px;
    width: 680px;
    left: calc(50% - (680px / 2));
    font-weight: 300;
}

.elem_ss1 {
    position: absolute;
    bottom: 24px;
    width: 1200px;
    left: calc((1000px - 1200px) / 2);
}

.ham_icon {
    width: 28px;
    height: 28px;
    position: absolute;
    left: 0px;
    top: calc(50% - (28px / 2));
    display: none;
}

.menu_big_box {
    width: 100vw;
    height: 100vh;
    background-color: rgba(230, 230, 230, 0.5);
    position: fixed;
    z-index: 99;
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    box-sizing: border-box;
    padding-top: 62px;
}

.menu_big_box div {
    width: calc(100vw - 96px);
    height: 52px;
    margin-left: 48px;
    font-size: 18px;
    box-sizing: border-box;
    padding-top: 15px;
    border-bottom: 1px solid #C1C1C1;
}

.menu_big_box div:first-child {
    /* margin-top: 24px; */
}

.menu_big_box div:last-child {
    /* border-bottom: none; */
}

.h1_ss2 {
    font-size: 42px;
    color: #FFFFFF;
    position: absolute;
    top: 92px;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.p_ss2 {
    font-size: 20px;
    color: #CCCCCC;
    text-align: center;
    top: 148px;
    position: absolute;
    line-height: 30px;
    width: 680px;
    left: calc(50% - (680px / 2));
    font-weight: 300;
}

.ss3 {
    height: 780px;
    max-height: unset;
}

.h1_ss3 {
    color: #333333;
}

.p_ss3 {
    color: #707070;
}

.app_stage_box {
    width: 100%;
    height: 560px;
    background-color: #FFFFFF;
    position: absolute;
    top: 200px;
    border-radius: 12px;
    box-sizing: border-box;
    padding: 28px;
}

.elem_ss2 {
    position: absolute;
    bottom: 24px;
    height: 122px;
    right: 0px;
}

.wide_section_ss2 {
    width: 100%;
    height: 320px;
    position: absolute;
    top: 200px;
    text-align: center;
}

.box_ser_ss2 {
    width: 320px;
    height: 320px;
    display: inline-block;
    border-radius: 12px;
    background-color: #F2B241;
    margin-right: 14px;
    box-sizing: border-box;
    padding: 24px;
    text-align: left;
}

.box_ser_ss2:last-child {
    margin-right: 0px;
}

.box_ser_ss2_s2 {
    background-color: #1B3F79;
}

.box_ser_ss2_s3 {
    background-color: #D64C49;
}

.box_gd {
    position: absolute;
    right: -24px;
    bottom: -24px;
    height: 168px;
}

.txt_ss2_s1 {
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    position: absolute;
    top: 0px;
    left: 0px;
}

.txt_ss2_s2 {
    font-size: 48px;
    font-weight: bold;
    color: #FFFFFF;
    position: absolute;
    top: 24px;
    left: 0px;
    line-height: 48px;
}

.img_ss2 {
    height: 132px;
    position: absolute;
    right: 0px;
    bottom: 0px;
}

.ss2 {
    opacity: 0;
}

.ss3 {
    opacity: 0;
}

.ss4 {
    opacity: 0;
}

.ss4 {
    border-top: solid 1px #FFFFFF;
    max-height: unset;
    height: 820px;
}

.consult_box {
    width: 50%;
    height: 560px;
    position: absolute;
    top: 208px;
    right: 0px;
    border-radius: 12px;
    padding: 28px;
    background-color: #3A3B48;
    box-sizing: border-box;
}

.input_txt_section {
    height: 58px;
    width: 100%;
    margin-bottom: 18px;
}

.input_txtarea_section {
    height: 156px;
    width: 100%;
    margin-bottom: 18px;
}

.caption_txt {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.input_txt {
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    border: none;
    border-radius: 6px;
    border: 1px solid #6C6D79;
    background: linear-gradient(to bottom, #2F303B, #353642);
    font-size: 16px;
    color: #FFFFFF;
    padding-left: 8px;
}

.req_txt {
    color: #D54D49;
}

.input_txtarea {
    width: 100%;
    height: 134px;
    box-sizing: border-box;
    border: none;
    border-radius: 6px;
    border: 1px solid #6C6D79;
    background: linear-gradient(to bottom, #2F303B, #353642);
    font-size: 16px;
    color: #FFFFFF;
    padding: 8px;
    resize: none;
    line-height: 20px;
}

.button_submit {
    width: calc(100% + 56px);
    height: 54px;
    box-sizing: border-box;
    position: absolute;
    left: -28px;
    bottom: -28px;
    background: linear-gradient(to bottom right, #F2B13F, #D54D49);
    border-radius: 0px 0px 12px 12px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    padding-top: 14px;
}

.element_ss4 {
    height: 438px;
    position: absolute;
    top: 328px;
    left: -20%;
}

.portfolio_ss {
    height: 440px;
    position: absolute;
    top: -24px;
    left: 18px;
}

.portfolio_ss_desk {
    height: 280px;
    position: absolute;
    top: 54px;
    left: 0px;
}

.portfolio_detail {
    width: calc(50% - 24px);
    height: 450px;
    position: absolute;
    right: 0px;
    top: 0px;
}

.feature_box_group {
    width: 100%;
    margin-top: 18px;
}

.feature_box {
    width: 100%;
    height: 42px;
    margin-bottom: 12px;
}

.feature_box:last-child {
    margin-bottom: 0px;
}

.feature_icon, .feature_txt {
    vertical-align: middle;
}

.feature_icon {
    height: 42px;
}

.feature_txt {
    font-size: 18px;
    margin-left: 6px;
}

.pf_tt1 {
    font-size: 42px;
    font-weight: 500;
}

.pf_tt2 {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 2px;
}

.pf_tt3 {
    color: #707070;
    font-size: 18px;
    font-weight: 300;
}

.pf_tt4 {
    font-size: 18px;
    font-weight: 300;
    line-height: 22px;
}

.pf_divider {
    width: 100%;
    height: 2px;
    border-radius: 1px;
    background-color: #E6E6E6;
    margin-top: 18px;
    margin-bottom: 18px;
}

.app_select_section {
    width: calc(100% - 48px - 48px);
    height: 106px;
    position: absolute;
    bottom: -12px;
    left: 48px;
}

.app_box_section {
    width: 154px;
    height: 94px;
    border-bottom: 2px solid #D4D4D4;
    box-sizing: border-box;
    display: inline-block;
    cursor: pointer;
    transition: border 0.2s, transform 0.2s;
}

.app_box_section:hover {
    border-bottom: 2px solid #333333;
}

.app_box_section:active {
    transform: scale(0.9);
}

.app_box_section_is_active {
    border-bottom: 2px solid #333333;
}

.app_icon {
    height: 58px;
    width: 58px;
    position: absolute;
    left: calc(50% - (58px / 2));
    top: 4px;
}

.app_name_txt {
    width: 100%;
    position: absolute;
    bottom: 6px;
    font-size: 16px;
    text-align: center;
}

.pre_box_icon {
    height: 94px;
    width: 48px;
    bottom: 0px;
    left: 0px;
    position: absolute;
    vertical-align: middle;
    text-align: center;
    box-sizing: border-box;
    padding-top: 32px;
    transition: background-color 0.2s, transform 0.2s;
    cursor: pointer;
}

.next_box_icon {
    height: 94px;
    width: 48px;
    bottom: 0px;
    right: 0px;
    position: absolute;
    vertical-align: middle;
    text-align: center;
    box-sizing: border-box;
    padding-top: 32px;
    transition: background-color 0.2s, transform 0.2s;
    cursor: pointer;
}

.pre_box_icon:hover, .next_box_icon:hover {
    background-color: #F2F2F2;
}

.pre_box_icon:active, .next_box_icon:active {
    transform: scale(0.9);
}

.pre_next_icon {
    height: 28px;
    display: inline-block;
    vertical-align: middle;
}

.app_detail_big_box_list {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    position: absolute;
    z-index: 3;
    display: none;
}

.app_list {
    width: 100%;
    height: 84px;
    box-sizing: border-box;
    border-bottom: 1px solid #D4D4D4;
    padding-top: 15px;
}

.icon_app_list {
    height: 54px;
    vertical-align: middle;
    display: inline-block;
}

.txt_app_name_list_box {
    height: 54px;
    vertical-align: middle;
    display: inline-block;
    margin-left: 8px;
}

.txt_app_list_tt1 {
    font-size: 24px;
    margin-top: 2px;
}

.txt_app_list_tt2 {
    font-size: 16px;
    color: #707070;
}

.back_icon {
    height: 34px;
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
    z-index: 2;
}

.captcha_img {
    width: 128px;
    height: 38px;
    background-color: #FFFFFF;
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    vertical-align: middle;
}

.captcha_img canvas {
    height: 38px;
}

.input_txt_captcha {
    width: calc(100% - 128px - 12px);
    height: 38px;
    box-sizing: border-box;
    border: none;
    border-radius: 6px;
    border: 1px solid #6C6D79;
    background: linear-gradient(to bottom, #2F303B, #353642);
    font-size: 16px;
    color: #FFFFFF;
    padding-left: 8px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 12px;
}

canvas{
    /*prevent interaction with the canvas*/
    pointer-events:none;
}

.footer {
    height: 200px;
    box-sizing: border-box;
    border-top: 1px solid #3A3B48;
}

.contact_detail_group {
    height: 28px;
    width: 100%;
    top: 42px;
    position: absolute;
    font-size: 14px;
}

.contact_address_group {
    height: 12px;
    width: 100%;
    top: 92px;
    position: absolute;
    font-size: 14px;
}

.contact_detail_txt {
    color: #FFFFFF;
    display: inline-block;
    margin-right: 54px;
    vertical-align: middle;
}

.contact_detail_txt:last-child {
    margin-right: 0px;
}

.contact_maps_txt {
    color: #F1B141;
    display: inline-block;
    vertical-align: middle;
    float: right;
    padding-top: 6px;
}

.contact_detail_icon {
    height: 28px;
    vertical-align: middle;
    margin-right: 2px;
}

.copyright_txt {
    color: #A09F9F;
    font-size: 14px;
    right: 0px;
    bottom: 24px;
    font-weight: 300;
    position: absolute;
}

.group_contact {
    margin-right: 42px;
}

/* ====== For Responsive Coding ====== */

/* iPad */
@media (max-width: 768px){
    .full_width_box {
        max-height: unset;
    }

    .page_padding {
        width: calc(100vw - 28px);
        height: 100%;
        margin: auto;
    }

    .menu_section {
        width: 420px;
        font-size: 14px;
        padding-top: 22px;
    }
    
    .menu_section div {
        width: 78px;
        margin-right: 14px;
    }

    .logo_vernity {
        height: 22px;
        position: absolute;
        top: calc(50% - (22px / 2));
    }

    .social_section {
        height: 22px;
        width: 108px;
        top: calc(50% - (22px / 2));
    }
    
    .social_icon {
        height: 22px;
        margin-left: 6px;
    }

    .h1_ss1 {
        font-size: 44px;
        top: 142px;
    }
    
    .p_ss1 {
        font-size: 18px;
        top: 208px;
        line-height: 24px;
        width: 100%;
        left: 0px;
        box-sizing: border-box;
        padding-left: 48px;
        padding-right: 48px;
    }

    .ss1 {
        height: 600px;
    }

    .elem_ss1 {
        left: calc((100% - 110%) / 2);
        width: 110%;
    }

    .wide_section_ss2 {
        width: 100%;
        height: 220px;
        top: 154px;
    }

    .h1_ss2 {
        font-size: 42px;
        top: 48px;
    }

    .p_ss2 {
        font-size: 18px;
        top: 98px;
        line-height: 24px;
        width: 100%;
        left: 0px;
        box-sizing: border-box;
        padding-left: 48px;
        padding-right: 48px;
    }

    .box_ser_ss2 {
        width: 220px;
        height: 220px;
        padding: 12px;
    }

    .box_gd {
        height: 98px;
        right: -12px;
        bottom: -12px;
    }
    
    .txt_ss2_s1 {
        font-size: 14px;
    }
    
    .txt_ss2_s2 {
        font-size: 32px;
        top: 18px;
        line-height: 32px;
    }
    
    .img_ss2 {
        height: 92px;
    }

    .ss2 {
        height: 600px;
    }

    .consult_box {
        width: 100%;
        top: 160px;
        right: unset;
        left: 0px;
    }

    .ss4 {
        height: 1200px;
    }

    .element_ss4 {
        height: unset;
        top: unset;
        width: 80%;
        left: 0;
        bottom: 28px;
    }

    .app_stage_box {
        height: 640px;
        top: 150px;
    }

    .portfolio_ss {
        height: 360px;
        position: absolute;
        top: -24px;
        left: -24px;
    }

    .portfolio_ss_desk {
        height: 200px;
        position: absolute;
        top: 62px;
        left: -18px;
    }

    .ss3 {
        height: 820px;
    }

    .app_box_section {
        width: 128px;
    }

    .feature_icon, .feature_box {
        height: 32px;
    }

    .pf_tt2, .pf_tt3, .pf_tt4, .feature_txt {
        font-size: 16px;
    }

    .portfolio_detail {
        width: 50%;
    }

    .contact_detail_txt {
        margin-right: 0px;
    }

    .specific_line {
        display: block;
    }

}

/* iPhone Plus */
@media (max-width: 414px){
    .page_padding {
        width: calc(100vw - 28px);
        height: 100%;
        margin: auto;
    }

    .menu_section {
        width: 420px;
        font-size: 14px;
        padding-top: 22px;
        display: none;
    }
    
    .menu_section div {
        width: 78px;
        margin-right: 14px;
    }

    .logo_vernity {
        height: unset;
        position: absolute;
        top: calc(50% - (22px / 2));
        width: 118px;
        left: calc(50% - (118px / 2));
    }

    .social_section {
        height: 22px;
        width: 108px;
        top: calc(50% - (22px / 2));
    }
    
    .social_icon {
        height: 22px;
        margin-left: 6px;
    }

    .h1_ss1 {
        font-size: 44px;
        top: 92px;
    }
    
    .p_ss1 {
        font-size: 18px;
        top: 208px;
        line-height: 24px;
        width: 100%;
        left: 0px;
        box-sizing: border-box;
        padding-left: 18px;
        padding-right: 18px;
    }

    .ss1 {
        height: 600px;
    }

    .elem_ss1 {
        left: calc((100% - 110%) / 2);
        width: 110%;
    }

    .ham_icon {
        display: unset;
    }

    
    .wide_section_ss2 {
        width: 100%;
        top: 172px;
    }

    .h1_ss2 {
        font-size: 42px;
        top: 48px;
    }

    .p_ss2 {
        font-size: 18px;
        top: 98px;
        line-height: 24px;
        width: 100%;
        left: 0px;
        box-sizing: border-box;
        padding-left: 18px;
        padding-right: 18px;
    }

    .box_ser_ss2 {
        width: 220px;
        height: 220px;
        padding: 12px;
        margin-right: 0px;
        margin-bottom: 12px;
    }

    .box_ser_ss2:last-child {
        margin-bottom: 0px;
    }

    .box_gd {
        height: 98px;
        right: -12px;
        bottom: -12px;
    }
    
    .txt_ss2_s1 {
        font-size: 14px;
    }
    
    .txt_ss2_s2 {
        font-size: 32px;
        top: 18px;
        line-height: 32px;
    }
    
    .img_ss2 {
        height: 92px;
    }

    .ss2 {
        height: 1024px;
    }

    .ss3 {
        height: 940px;
    }

    .ss4 {
        height: 980px;
    }

    .element_ss4 {
        width: 300px;
        top: unset;
        left: calc(0px);
        bottom: 28px;
    }

    .app_stage_box {
        height: 760px;
        top: 160px;
    }

    .portfolio_detail {
        width: 100%;
        top: 340px;
    }

    .app_select_section, .pre_box_icon, .next_box_icon {
        display: none;
    }

    .portfolio_ss {
        height: unset;
        width: 100%;
        position: absolute;
        top: 24px;
        left: 0px;
    }

    .app_detail_big_box_list {
        display: unset;
    }

    .back_icon {
        display: unset;
    }

    .portfolio_ss_desk {
        width: 100%;
        left: 0px;
        top: 82px;
    }

    .txt_app_list_tt1, .txt_app_list_tt2, .feature_txt {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .feature_txt {
        width: calc(100% - 44px);
        display: inline-block;
    }

    .txt_app_name_list_box {
        width: calc(100% - 68px);
    }
    
    .footer {
        height: 360px;
    }

    .contact_address_group {
        top: 172px;
        text-align: center;
    }

    .contact_address_group div {
        margin-top: 8px;
    }

    .group_contact {
        width: 100%;
        display: inline-block;
        text-align: center;
        margin-bottom: 12px;
        margin-right: unset;
    }

    .contact_detail_txt, .contact_maps_txt {
        margin-right: 0px;
    }

    .contact_maps_txt {
        width: 100%;
        color: #F1B141;
        display: inline-block;
        vertical-align: middle;
        float: right;
        padding-top: 6px;
        text-align: center;
    }
}

/* iPhone 5 */
@media (max-width: 320px){
    .consult_box {
        padding: 14px;
    }

    .button_submit {
        width: calc(100% + 28px);
        left: -14px;
        bottom: -14px;
    }

    .h1_ss2 {
        font-size: 32px;
    }

    .portfolio_detail {
        top: 280px;
    }
}
