@charset "utf-8";

/* CSS Document */

/**************蘭蔻官網天地-隱藏****************/
.header-container,
.footer,
#dwpagemarkertooltip,
.c-sticky-bar.m-footer .c-sticky-bar__panel {
    display: none;
}

/**************蘭蔻官網其他設定-更改****************/
.l-content__container {
    padding-right: 0;
    padding-left: 0;
    /*讓content撐到100%滿，左右不留白*/
}

.l-content__title {
    display: none;
    /*隱藏頁面h1標題*/
}

.c-breadcrumbs__list {
    display: none;
    /*隱藏頁面所在位置指引*/
}

.l-content__main-top {
    margin: 0;
    padding: 0;
}

@media screen and (min-width: 64em) {
    .l-content__main-top {
        padding: 0;
        margin: 0;
    }

    .l-content {
        padding: 0;
    }

}

/**************Dcard 基本內容設定****************/
body {
    font-family: "微軟正黑體", "Noto Serif", "serif", sans-serif, "Microsoft JhengHei" !important;
    font-weight: normal;
    font-size: 14px;
    color: #595959;
    line-height: 20px;
    display: block;
    margin: 0 auto;
    padding: 0;
    clear: both;
    position: relative;
    background: #fff;
}

.lan_wrapper {
    max-width: 1280px;
    display: block;
    margin: 0 auto;
    clear: both;
}

.lan_wrapper a:hover {
    color: #fff;
}

.dcard {
    padding: 15px 15px 25px;
    position: relative;
}

section {
    margin: 0 auto;
    width: 100%;
    clear: both;
    position: relative;
}

section a {
    color: #ccc;
    text-decoration: none;
    -webkit-transition: color .4s;
    -o-transition: color .4s;
    transition: color .4s;
}

section * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.g-wrap li {
    list-style: none;
}

section .banner {
    width: 100%;
}

section .banner2 {
    width: 100%;
    margin: 15px auto;
}

section h1 {
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
}

section p {
    color: #595959;
    A: 100%;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    text-align: justify;
}

section font {
    color: #A8A8A8;
    A: 100%;
    font-weight: 300;
    font-size: 14px;
}

section h2 {
    color: #EDAD1D;
    font-size: 18px;
    font-weight: 400;
    margin-top: 25px;
    margin-bottom: 10px;
}

section h3 {
    font-size: 15px;
    color: #A8A8A8;
    font-weight: 300;
    line-height: 20px;
}

section ul {
    padding-left: 25px;
    padding-left: 15px;
    text-align: justify;
}

section li {
    list-style-type: decimal;
    font-weight: 300;
    line-height: 20px;
    color: #595959;
    font-size: 14px;
}

section li a {
    color: #595959;
    text-decoration: underline;
}


/**************表單 欄位名稱共用**************/

.event_oto .c-form a,
.event_oto .c-form a:hover {
    color: #EDAD1D;
}

.event_oto .c-form a:hover {
    text-decoration: underline;
}


.event_oto .c-form .c-field {
    margin-top: 9vw;
    margin-top: 7vw;
}

.event_oto .c-form .c-text-field__label.m-float {
    background: none;
    color: #595959;
    font-size: calc(3.73vw);
    top: -6vw;
    height: auto !important;
    line-height: inherit !important;
}

.event_oto .c-form .c-text-field.m-focus .c-text-field__label.m-float,
.event_oto .c-form .c-text-field.m-error.m-focus .c-text-field__label.m-float,
.event_oto .c-form .c-text-field.m-active .c-text-field__label.m-float,
.event_oto .c-form .c-text-field.m-active.m-focus .c-text-field__label.m-float {
    background: none;
    top: -4vw;
    height: auto !important;
    line-height: inherit !important;
}

.event_oto .c-text-field.m-active .c-text-field__label.m-float:before {
    background: none;
}

.c-field__error-message {
    /*輸入欄位error錯誤提醒*/
    display: none;
}

@media (min-width: 992px) {
    .event_oto .c-form .c-field {
        margin-top: 40px;
    }

    .event_oto .c-form .c-text-field__label.m-float {
        font-size: 14px;
        top: -25px;
    }

    .event_oto .c-form .c-text-field.m-focus .c-text-field__label.m-float,
    .event_oto .c-form .c-text-field.m-error.m-focus .c-text-field__label.m-float,
    .event_oto .c-form .c-text-field.m-active .c-text-field__label.m-float,
    .event_oto .c-form .c-text-field.m-active.m-focus .c-text-field__label.m-float {
        top: -18px;
    }

}

/**************表單 欄位 input 共用*************/
.event_oto .c-form input[type=text],
.event_oto .c-form input[type=email] {
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid #DFDFDF;
    border-radius: 2px;
    width: 100%;
    height: 12vw;
    font-size: calc(4vw);
    font-weight: 400;
    line-height: 5.6vw;
    padding: 3.2vw;
}

.event_oto .c-form .c-field.m-error input:not(:focus):hover {
    -webkit-box-shadow: none;
    box-shadow: none;
}

@media (min-width: 992px) {

    .event_oto .c-form input[type=text],
    .event_oto .c-form input[type=email] {
        height: 45px;
        padding: 12px;
        font-size: 15px;
    }

}

/**************answer7-checkbox************/

.event_oto .event_content .formfields_box:first-of-type .c-form div:last-of-type.c-field {
    margin-top: auto;
}

.event_oto .c-form .c-check-field.m-checkbox .c-check-field__label:before {
    border: 1px solid #DFDFDF;
    border-radius: 2px;
    top: 28%;
}

.event_oto .c-form .c-check-field.m-checkbox .c-check-field__label {
    color: #595959;
    text-align: justify;
}

.event_oto .f_field.f_field_checkbox.formfield.formfield_checkbox.formfield_oevent_question.answer7.required input[type=checkbox] {
    background: #fff;
    cursor: pointer;
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    margin: -10px 0 0;
    width: 23px;
    height: 22px;
    border: 1px solid #DFDFDF;
    border-radius: 2px;
}

.event_oto .c-check-field.m-checkbox .c-check-field__label:hover:before,
.event_oto .c-check-field.m-checkbox .c-check-field__input:checked+.c-check-field__label:hover:before {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.c-text-field.m-active .c-text-field__label.m-float:before,
.c-text-field.m-focus .c-text-field__label.m-float:before {
    height: calc(50% + 1px);
    height: 1.5em;
}

#otoo-event-form .formfield_checkbox {
    position: absolute;
    bottom: 10vw;
    padding-left: 8vw;
}


@media (min-width: 600px) {
    .event_oto .c-form .c-check-field.m-checkbox .c-check-field__label:before {
        top: 2px;
    }

    @media (min-width: 992px) {
        #otoo-event-form .formfield_checkbox {
            bottom: 5vw;
        }

    }

}

/**************送出按鈕************/
.event_oto .formfield_button {
    float: none;
    clear: none;
}

.event_oto .button_box {
    order: 3;
    padding: 0;
    margin-top: 0;
    margin-bottom: 4vw;
    width: 100%;
}

@media (max-width: 360px) {
    .event_oto .button_box {
        margin-top: 22vw;
    }
}

@media (max-width: 320px) {
    .event_oto .button_box {
        margin-top: 25vw;
    }
}

@media (min-width: 992px) {
    .event_oto .button_box {
        margin-bottom: 15px;
        margin-top: 35px;
    }
}

.event_oto .button_box .submit_button {
    background-color: #EDAD1D;
    border-radius: 2px;
    color: #fff;
    font-size: calc(4.8vw);
    font-weight: 500;
    width: 100%;
    height: 12.8vw;
    border: 0;
    font-family: 微軟正黑體, sans-serif;
}

@media (min-width: 992px) {
    .event_oto .button_box .submit_button {
        height: 48px;
        font-size: 18px;
    }
}

.event_oto .c-form__legend {
    /*隱藏-提示必要欄位*/
    display: none;
}

/********** 性別欄位 ***********/
/*
.lan_wrapper [type=radio] {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    display: none;
}

.lan_wrapper #genderRadio {
    position: absolute;
    top: 55%;
    left: 15px;
}

@media(max-width:1600px) {
    .lan_wrapper #genderRadio {
        top: 57%;
    }
}

@media(max-width:1400px) {
    .lan_wrapper #genderRadio {
        top: 58%;
    }
}

@media(max-width:1366px) {
    .lan_wrapper #genderRadio {
        top: 58.5%;
    }
}

@media(max-width:1280px) {
    .lan_wrapper #genderRadio {
        top: 59%;
    }
}

@media(max-width:1024px) {
    .lan_wrapper #genderRadio {
        top: 57.5%;
    }
}

@media(max-width:500px) {
    .lan_wrapper #genderRadio {
        top: 48.6%;
    }
}

@media(max-width:400px) {
    .lan_wrapper #genderRadio {
        top: 48.7%;
    }
}

@media(max-width:360px) {
    .lan_wrapper #genderRadio {
        top: 48%;
    }
}

@media(max-width:320px) {
    .lan_wrapper #genderRadio {
        top: 48.3%;
    }
}

.lan_wrapper #genderRadio .h4 {
    margin-block-start: 0;
    margin-block-end: 0;
    width: 100%;
    font-weight: 500;
    line-height: 5.33vw;
    font-size: calc(3.73vw);
    color: #595959;
}

.lan_wrapper #genderRadio .box_input {
    display: flex;
}

.lan_wrapper #genderRadio label {
    width: auto;
    display: inline-block;
    margin-right: 5.3vw;
}

.lan_wrapper input[type="radio"]:checked+label:before {
    background: inherit;
    background-color: #EDAD1D;
    box-shadow: inset 0px 0px 0px 2px #ffffff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #ffffff;
}

.lan_wrapper input[type=radio]+label:before,
.lan_wrapper input[type=radio]+label:after {
    content: '';
    width: 5.87vw;
    height: 5.87vw;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    border: 1px solid #DFDFDF;
    border-radius: 2px;
    font-size: calc(4vw);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.lan_wrapper input[type=radio]+label {
    padding-left: 9.33vw;
    width: 100%;
    font-size: calc(4vw);
    font-weight: 300;
    line-height: 5.6vw;
    position: relative;
    display: inline-block;
    text-align: left;
    cursor: pointer;
}

@media (min-width: 992px) {
    .lan_wrapper #genderRadio .h4 {
        font-size: 14px;
        line-height: 20px;
    }

    .lan_wrapper input[type=radio]+label {
        font-size: 14px;
        line-height: 20px;
    }

    .lan_wrapper input[type=radio]+label:before,
    .lan_wrapper input[type=radio]+label:after {
        width: 22px;
        height: 22px;
        font-size: 15px;
    }
}
*/

.lan_wrapper label.error {
    /*display: none!important;*/
}

.lan_wrapper .required label:after {
    display: none;
}


/************popup*******************/

/* 表單lightbox */
.event_oto .response_box.active {
    position: fixed;
    background: rgba(51, 51, 51, 0.4);
    width: 100%;
    height: 100%;
    z-index: 10000;
    top: 0;
    left: 0;
}

.event_oto .response_box.active span {
    font-size: 15px;
    background: #fff;
    color: #000;
    width: 90%;
    height: 45vw;
    display: inline-block;
    margin: 0 auto;
    position: absolute;
    top: 27%;
    left: 0;
    right: 0;
    text-indent: initial;
    text-align: center;
    line-height: 1em;
    padding-top: 20vw;
}


.event_oto .response_box.active .close_lightbox {
    background: url(../images/lightbox_close.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 19px;
    height: 19px;
    text-indent: -9999px;
    display: inline-block;
    z-index: 1;
    position: absolute;
    top: 29%;
    right: 7%;
    cursor: pointer;
    font-size: 16px
}

@media (min-width: 992px) {
    .event_oto .response_box.active span {
        width: 60%;
        height: auto;
        padding: 130px 0;
    }

    .event_oto .response_box.active .close_lightbox {
        right: 21.5%;
    }
}

.response_box span.error_message.hidden {
    display: none;
}
