@import url('/resources/css/form_results.css');

/* CONTACT INFORMATION */
#contact-information {
    padding: 0 0 50px 0;
}

.contact-info-box {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-list,
.ceo-info,
.company-hours,
.brand-images {
    padding: 30px 15px;
    margin: 0 20px;
    width: 45%;
}

/* CONTACT INFORMATION -> CONTACT LIST */
.contact-list {
    list-style: none;
}

.contact-list li {
    font-size: 75%;
    margin-bottom: 10px;
    margin-left: 5px;
}

.contact-list li:first-child {
    font-size: 125%;
    font-weight: 500;
    margin-bottom: 30px;
    margin-left: 0;
    color: var(--color-comp-blue);
}

.contact-list li a:link,
.contact-list li a:visited,
.contact-list li a:hover,
.contact-list li a:active {
    color: inherit;
}

.contact-list li ion-icon {
    font-size: 140%;
    margin-right: 15px;
    margin-bottom: -6px;
    color: var(--color-comp-blue);
}

/* CONTACT INFORMATION -> CEO-INFO */
.ceo-info-box {
    display: flex;
    flex-direction: row-reverse;
    justify-content: left;
    align-items: start;
}

.ceo-profile {
    width: 70px;
    height: 70px;
    overflow: hidden;
    box-shadow: 0 0 2px 3px #666;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

.ceo-profile img {
    width: 100%;
    height: 100%;
}

.ceo-name {
    font-size: 100%;
    font-weight: 500;
    color: var(--font-color);
}

.ceo-title {
    font-style: italic;
    font-size: 70%;
    font-weight: 300;
    margin-bottom: 15px;
}

.ceo-contact,
.ceo-contact a:link,
.ceo-contact a:visited,
.ceo-contact a:hover,
.ceo-contact a:active {
    color: var(--font-color);
}

.ceo-contact {
    margin-bottom: 7px;
    font-size: 70%;
}

/* CONTACT INFORMATION -> COMPANY-HOURS */
.company-hours {
    display: flex;
    justify-content: left;
    align-items: center;
}

.company-hours-content {
    margin-left: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}

.company-hours {
    color: var(--color-comp-blue);
}

.company-hours-title {
    font-size: 130%;
    font-weight: 500;
    margin-bottom: 20px;
}

.company-hours-text {
    color: var(--font-color);
    font-size: 80%;
}

.company-hours ion-icon {
    font-size: 650%;
    color: var(--color-comp-green);
    opacity: 0.8;
    display: block;
}

/* CONTACT INFORMATION -> BRAND-IMAGES */
.brand-images span {
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

.brand-images img {
    height: 80px;
    width: auto;
    margin-right: 100px;
}

/* CONTACT FORM */
.h2-form {
    line-height: 120%;
    margin-bottom: 30px;
    font-weight: 400;
}

#contact-form form {
    width: 100%;
    
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.small-inputs-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.small-input {
    width: 30%;
}

#contact-form form label {
    font-size: 90%;
    width: 100%;
}

#contact-form form input,
#contact-form form input:hover,
#contact-form form input:focus,
#contact-form form textarea,
#contact-form form textarea:hover,
#contact-form form textarea:focus {
    font-size: 85%;
    width: 100%;
    margin-bottom: 15px;
    padding: 8px 12px;
    outline: none;
    resize: none;
    transition: all 0.5s border 0s;
    -webkit-transition: all 0.5s border 0s;
    -moz-transition: all 0.5s border 0s;
    -ms-transition: all 0.5s border 0s;
    -o-transition: all 0.5s border 0s;
}

#contact-form form textarea,
#contact-form form textarea:hover,
#contact-form form textarea:focus {
    font-family: inherit;
    height: 120px;
}

#contact-form form input,
#contact-form form textarea {
    border: 2px solid #888;
}

#contact-form form input:focus,
#contact-form form textarea:focus {
    border: 2px solid #333;
}

#contact-form form input[type="submit"],
#contact-form form input[type="submit"]:hover,
#contact-form form input[type="submit"]:focus,
#contact-form form input[type="submit"]:active {
    cursor: pointer;
    color: #fff;
    width: fit-content;
    padding: 15px 20px;
    border: none;
    font-size: 90%;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
}

#contact-form form input[type="submit"] {
    background-color: var(--color-comp-blue);
}

#contact-form form input[type="submit"]:hover,
#contact-form form input[type="submit"]:focus,
#contact-form form input[type="submit"]:active {
    background-color: var(--color-comp-green);
}

/* SECTION MAP */
#map {
    padding: 0;
    height: 500px;

    display: flex;
    align-items: stretch;
}

#map iframe {
    height: 100%;
    width: 100%;
}

@media only screen and (max-width: 1140px) {
    .contact-list,
    .ceo-info,
    .company-hours,
    .brand-images {
        margin: 0;
    }

    .brand-images img {
        height: 60px;
        width: auto;
        margin-right: 40px
    }
}

@media only screen and (max-width: 780px) {
    .contact-info-box {
        flex-direction: column;
        align-items: center;
    }

    .contact-list,
    .ceo-info,
    .company-hours,
    .brand-images {
        width: 80%;
    }

    .small-inputs-box {
        flex-direction: column;
    }

    .small-input {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .ceo-profile {
        display: none;
    }
}