@charset "utf-8";

#contact .title {
    margin-top: 25px;
    margin-bottom: 10px;
}

#contact .title-border {
    border-bottom: 0px solid #e74c3c;
    color: #3c2478;
    font-size: 24px;
    line-height: 33px;
}


/* 聯絡資訊 */
#contact .contact-list .items {
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    display: flex;
    margin-bottom: 6px;
}

#contact .contact-list .items i {
    margin: auto 0;
    color: #e56c6e;
    font-size: 13px;
    min-width: 15px;
    margin-right: 8px;
    text-align: center;
}

#contact .contact-list .items a {
    display: flex;
    color: #555;
}

#contact .contact-list .items:hover .items-text {
    color: #e56c6e;
}


/* 地圖 */
#contact .gmap {
    margin-top: 15px;
}

#contact .gmap-border {
    height: 250px;
}


/* 表單 */
#contact form {
    width: 80%;
    margin: 0 auto;
    margin-top: 40px;
}

#contact input, #contact textarea {
    margin: 20px 6px 0 6px;
    box-sizing: border-box;
    display: block;
    color: #666666;
    border: 1px solid #CCCCCC;
    padding: 5px;
    width: 98%;
    font-size: 16px;
    height: 2.5em;
}

#contact input.active, #contact textarea.active {
    box-shadow: rgb(255 2 2) 0px 0px 2px 0px inset;
}

#contact input:hover, #contact textarea:hover {
    border: 1px solid #3CF;
}

#contact .code input {
    width: 150px;
}

#contact .code {
    display: flex;
    align-items: center;
}

#contact .code a {
    margin: 20px 6px 0 6px;
}

#contact .submit {
    margin-top: 35px;
    margin-bottom: 30px;
}

#contact .submit input[type="submit"] {
    background: #e56c6e !important;
    border: none !important;
    border-radius: 5px !important;
    transition: background .5s;
    color: #FFF;
    box-shadow: 1px 1px 1px rgb(0 0 0 / 17%);
    cursor: pointer;
}

#contact .submit input[type="submit"]:hover {
    background: #c0392b !important;
}

@media screen and (max-width: 1199px) {
    #contact .main .main-border {
        max-width: 95%;
    }
}

@media screen and (max-width: 1007px) {
    #contact .main .row {
        display: flex;
    }

    #contact .main .left, .main .right {
        width: auto;
    }
}

@media screen and (max-width: 993px) {
    #contact .main .row {
        display: block;
    }

    #contact .title-border {
        text-align: center;
    }

    #contact .contact-list .items {
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {}

@media screen and (max-width: 500px) {
    #contact .main .main-border {
        max-width: none;
    }
}