/* --------------------------------------
        contact.php // HEADER
-------------------------------------- */
#header.contactpage{
    background: url(../images/img_header_contact.jpg) no-repeat;
    background-size: cover;
}

#header.contactpage h1{
    color: #FFF;
}


/* --------------------------------------
            contact_list.php
-------------------------------------- */

.contactList p{
    text-align: center;
}

.contactList .row{
    justify-content: center;
}

.container > .row{
    margin-bottom: 1.5rem;
}

.containerList{
    margin-top: 3rem;
}

.contactList .listth,
.contactList .listtd{
    font-size: 1rem;
    display: inline-block;
}

.contactList .listtable hr{
    margin: 0.5rem 0 2rem 0;
}

.contactList .listtable .row .col-lg-6{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;
}

.contactList .listtable .sentBtnBlock .row .col-lg-6{
    margin-bottom: 0;
}

.contactList .listtable .row .col-lg-6:nth-child(odd) .listth{
    width: 18%; 
}

.contactList .listtable .row .col-lg-6:nth-child(even){
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.contactList .listth{
    color: rgba(35, 160, 119);
    padding-right: 1rem;
}

/*
.contactList .listtable .row .col-lg-6:nth-child(6) .listth{
    padding-right: 4.2rem;
}
*/


.contactList .listtd{
    width: 70%;
}

.contactList .listtable input{
    border-radius: 32px;
    display: inline-block;
}

.contactList .listtable textarea{
    border-radius: 16px;
    margin-top: 0.5rem;
} 

.form-control:focus{
    background-color: #e5e6de;
    border: #23a077 1px solid;
    box-shadow: none;
}

.contactList textarea{
    resize: none;
    height: 10rem;
}

.captchaImg{
    width: 40%;
    margin-right: 0.5rem;
}

.captchaBox{
    width: 50%;
}

.sentBtnBlock{
    text-align: center;
    font-size: 1.25rem;
    margin-top: 2rem;
    width: 100%;
}

button.sentBtn{
    width: 60%;
    border: #23a077 1px solid;
    background-color: #e5e6de;
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
    color: #23a077;
    border-radius: 2rem;
    font-weight: bolder;
}

.sentBtnBlock button:hover{
    color: #FFF;
    border: #23a077 1px solid;
    background-color: #23a077;
}



.mapBlock{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 20vw;
    border: #c4c4c4 1px solid;
    margin-bottom: 3rem;
}

.mapBlock iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.companyBlock .title{
    font-weight: bolder;
}

@media only screen and (max-width: 1280px) {
    .contactList .listth{
        width: 30%; 
    }

    .contactList .listtable .row .col-lg-6:nth-child(odd) .listth{
        width: 20%; 
    }
}

@media only screen and (max-width: 1200px) {
    .contactList .listth{
        width: 36%; 
    }
}

@media only screen and (max-width: 1200px) {
    .contactList .listth{
        width: 40%; 
    }

    .contactList .listtable .row .col-lg-6:nth-child(odd) .listth{
        width: 23%; 
    }

    .contactList .listtd{
        width: 60%;
    }
}

@media only screen and (max-width: 1024px) {
    #header.contactpage{
        background: url(../images/img_header_contact.jpg) left top no-repeat;
        background-size: 290%;
    }

    .contactList .listtable .row .col-lg-6:nth-child(odd) .listth{
        width: 26%; 
}

@media only screen and (max-width: 960px) {
    .contactList .listtable .row .col-lg-6,
    .contactList .listtable .row .col-lg-6:nth-child(even){
        display: block;
    }

    .contactList .listth,
    .contactList .listtable .row .col-lg-6:nth-child(odd) .listth,
    .contactList .listtd{
        width: 100%;
    }

    .captchaBox{
        width: calc(60% - 1rem);
    }
    
    .contactList .listth{
        margin-bottom: 0.5rem;
    }

    .sentBtnBlock{
        width: 100%;
    }

    .sentBtnBlock .listth,
    .sentBtnBlock .listtd{
        text-align: left;
    }

    .sentBtnBlock .col-lg-6:last-child{
        margin-top: 4rem;
    }

    .mapBlock{
        height: 60vw;
    }
}

@media only screen and (max-width: 767px) {
    #header.contactpage{
        background: url(../images/img_header_contact.jpg) left top no-repeat;
        background-size: cover;
    }

    .sentBtnBlock{
        margin-bottom: 0;
        margin-top: 1rem;
    }
    
    .sentBtnBlock button{
        padding-bottom: 0;
    }

    .sentBtnBlock .col-lg-6:last-child{
        margin-top: 2rem;
    }

    .mapBlock{
        height: 100vw;
    }
}