@media only screen and (max-width: 600px) {
    #header li {
        padding-top: 1%;
    }

    #message {
        position: absolute;
        top: 0;
        left: 9.9%;
    }

    #messageInput {
        position: absolute;
        top: 0;
        /* left: 29.75%; */
    }

}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.img_banner {
    background-image: url('../images/banner_contact2b.jpg');
}


.section_1_contact {
    width: 50%;
    display: inline-block;
    float: left;
    height: 100%;
    position: relative;
    background-image: url(../images/bg_map_contact.png);
    background-size: 125% auto;
    background-repeat: no-repeat;
    background-position: center;
    height: auto;

}

.section_1_contact .d-location {
    padding: 1.5rem;
}

.section_1_contact .detail {
    margin-top: 1rem;
}


.sum_main_content {
    display: flex;
}

.singapore_address,
.vietnam_address {
    display: flex;
    flex-direction: column;
    /* padding-top: 50%; */
    width: 100%;
}

.singapore_address {
    margin-top: 2.5rem;
    position: relative;
    left: 0;
    right: 0;
    text-align: center;
}


.section_1_contact .d-inner,
.section_2_contact .d-inner {
    max-width: 640px;
    float: left;
    display: block;
    width: 100%;
    position: relative;
}

.section_1_contact .d-inner {
    padding-left: 3rem;
}


.vietnam_address {
    position: relative;
    margin-top: 1rem;
}

.section_1_contact h3 {
    text-transform: capitalize;
    text-align: left;
    font-size: 2.2vw;
    font-weight: bold;
    color: #3399cc;
    position: relative;
    top: 10%;
    left: 0;
    right: 0;
}

.vietnam_address h3 {
    /* left: 4%; */
}

.section_1_contact h5 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.5vw;
    text-align: left;
    position: relative;
    /* top: 30%;
    left: 25%; */
    right: 0;
}

.section_1_contact .detail {
    display: block;
    width: 100%;
    /* padding-top: 20%; */
    text-align: center;
    position: relative;
    /* top: 40%; */
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    max-width: 60%;
}

.section_1_contact .detail>div {
    display: flex;
}

.section_1_contact .detail>div>img {
    min-width: 2rem;
    width: 1.2rem;
    height: 1.2rem;
    object-fit: contain;
    object-position: left center;
    transform: translateY(-.1em);
}

.section_1_contact .detail>div+div {
    margin-top: .5em;
}

/* 
.detail_address img {
    width: 3%;
    position: absolute;
    top: 0;
    left: 25%;
}

.detail_address p {
    width: 45%;
    position: absolute;
    top: 0;
    left: 30%;
    text-align: left;
}

.detail_email img {
    width: 3%;
    position: absolute;
    top: 36%;
    left: 25%;
}

.detail_email p {
    width: 40%;
    position: absolute;
    top: 35%;
    left: 30%;
    text-align: left;
}

.detail_phone img {
    width: 3%;
    position: absolute;
    top: 65%;
    left: 25%;
}

.detail_phone p {
    width: 40%;
    position: absolute;
    top: 64%;
    left: 30%;
    text-align: left;
} */

.section_1_contact p {
    font-size: 1.1vw;
    text-align: left;
}


.section_2_contact {
    width: 50%;
    height: 100%;
    display: inline-block;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: #e7e5e5;
    position: relative;
    float: left;
}

.section_2_contact p:first-child {
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 2vw;
    text-align: left;
    padding-left: 7%;
}

.subtitle_section_2 {
    width: 100%;
    font-weight: bold;
    font-size: 1.1vw;
    padding-left: 7%;
}

.info_input {
    width: 100%;
    position: relative;
    left: 0;
    right: 0;
    text-align: center;
    padding-bottom: 3.5rem;
    float: left;
    margin-top: 1rem;
    margin-left: 7%;
}

.item_input {
    width: 100%;
    position: relative;
    left: 0;
    float: left;
    display: flex;
    flex-direction: column;

}

.item_input .d-input {
    display: flex;
    width: 100%;
}

.item_input+.item_input {
    margin-top: 0.75rem;
}


.item_input span:nth-child(2) {
    vertical-align: top;
}

/* .info_input span:first-child {
    display: inline-block;
    width: 15%;
     text-transform: uppercase;
    font-size: 1.3vw;
    text-align: left;
    float: left;
} */

.item_input .d-label {
    width: 18%;
    float: left;
    text-transform: capitalize;
    line-height: .75;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.item_input .d-label>span:last-child {
    float: right
}

.info_input input[type=text],
.info_input textarea {
    width: 60%;
    line-height: 2rem;
    font-size: .8rem;
    -webkit-outline: none;
    -moz-outline: none;
    -ms-outline: none;
    outline: none;
    border: none;
    float: left;
    margin-left: 2%;
    padding: 0 .5rem;
    height: 2rem;
}


.info_input input[type=text],
.info_input textarea,
select {
    border-radius: 5px;
}

.info_input textarea {
    height: auto;
    min-height: 4em;
}

.info_input select {
    width: 60%;
    line-height: 2rem;
    font-size: .8rem;
    -webkit-outline: none;
    -moz-outline: none;
    -ms-outline: none;
    outline: none;
    border: none;
    float: left;
    margin-left: 2%;
    padding: 0 .5rem;
    height: 2rem;
}

.info_input .item_input *:not(sup) {
    float: left
}

.info_input .item_input>span {
    line-height: 2rem;
}

.info_input .item_input span sup {
    display: inline-block;
    line-height: 1rem;
}

#message {
    position: relative;
}


.error-box {
    margin-left: 20%;
    padding-top: .5em;
    display: block;
}

#diff {
    width: auto;
    transform: translateY(0.25em);
}

#messageInput {
    position: relative;
    float: left;
    top: 0;
    margin-top: 0;
    /* margin-left: 28.3%; */
}


.item_input textarea {
    content: '';
    width: 60%;
    margin-top: 1.3%;
    border: 1px solid #ccc;
    resize: none;
    outline: none;
    border: none;
    resize: vertical;
}

#item_message .error-box {
    width: 60%;
}


#item_message .d-label {
    align-items: flex-start;
}

.button-submit {
    text-transform: uppercase;
    font-size: 1vw;
    font-weight: bold;
    padding: 2% 8%;
    border: none;
    background: #39b6e9;
    border-radius: 8px;
    color: #fff;
    background-clip: -webkit-linear-gradient(to bottom, #38b5e8, #289ac8);
    /* Chrome 10-25, Safari 5.1-6 */
    background-clip: -webkit-gradient(linear, left top, left bottom, from(#38b5e8), to(#289ac8));
    background-clip: -webkit-linear-gradient(top, #38b5e8, #289ac8);
    background-clip: -o-linear-gradient(top, #38b5e8, #289ac8);
    background-clip: linear-gradient(to bottom, #38b5e8, #289ac8);
    -webkit-box-shadow: 2px 5px 14px -5px #1e2021;
    box-shadow: 2px 5px 14px -5px #1e2021;
    position: absolute;
    bottom: 0;
    right: 20%;
}

.button-submit:hover {
    background: #33a3d1;
    padding: 1.8% 7.8%;
    cursor: pointer;
}

#item_message .error-box {
    margin-top: 0;

}

@media only screen and (max-width: 1200px) {
    #header li {
        padding-top: 2.3%;
    }
}



@media only screen and (max-width: 960px) {
    .fixed-footer {
        /*        position: fixed;*/
        top: auto;
        bottom: 0;
    }

    .sum_main_content {
        position: relative;
        /* padding-bottom: 25%; */
        /* padding-top: 25%; */
    }

    #header li {
        padding-top: 1.5%;
    }
}

@media only screen and (max-width: 600px) {
    #messageInput {
        margin-left: 2%;
    }

    #message {
        /* left: 10.4%; */
        left: 0;
    }
}


.item_input .error-box {
    position: relative;
    /* background: rgba(0, 0, 0, 0.8); */
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    box-sizing: border-box;
    font-size: 0.8em;
    color: red;
    /* border-top: 1px solid red; */
    /* box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 4px; */
    animation: 'fadeIn'.1s ease-out forwards;
    -webkit-animation: 'fadeIn'.1s ease-out forwards;
    line-height: 1.5 !important;
    display: block;
    float: right;
    margin-top: 0;
    font-size: 0.8vw;
    margin-right: 11.8%;
    width: 60%;
    text-align: left;
}





@media screen and (min-width: 1280px) {

    .section_1_contact .d-inner {
        float: right;
        padding-left: 4rem;
    }

    /* Update Font Size */
    .item_input .error-box {
        font-size: .6rem;
    }

    .section_1_contact p,
    .subtitle_section_2 {
        font-size: 0.8rem;
    }

    .info_input span:first-child {
        font-size: 0.8rem;
    }

    .info_input input[type=text],
    .info_input textarea,
    .item_input textarea {
        font-size: 0.8rem;
    }

    .section_1_contact h5 {
        font-size: 0.85rem;
    }

    .button-submit {
        font-size: 0.7rem;
    }

    .section_1_contact h3 {
        font-size: 1.4rem;
    }

    .section_2_contact p:first-child {
        font-size: 1.25rem;
    }
}

input::placeholder,
textarea::placeholder {
    color: transparent;
}