@import url("https://use.typekit.net/gfm7tef.css");

body {
    font-family: "capitolium-2", serif;
}

main {
    margin-top: 20px;
}

.grecaptcha-badge {
	display: none !important;
}

.d-block {
    display: block !important;
    width: 100%;
    height: 650px;
}

.alert-success {
    margin-top: 30px;
    color: #fff;
    background-color: #0e1c28;
    border-color: #0e1c28;
}

.custom-hr {
    background-color: rgb(215, 215, 215);
    width: 100%;
    height: 1px;
    margin-top: 10px;
}

/*** ABOUT SECTION ***/
.about-us {
    padding: 70px 0;
}

.about-us h2 {
    font-size: 36px;
    font-family: "capitolium-2";
    color: rgb(14, 28, 40);
    line-height: 1.2;
    padding-bottom: 18px;
}

.about-us p {
    font-size: 18px;
    font-family: "capitolium-2";
    color: rgb(14, 28, 40);
    line-height: 1.2;
    text-align: justify;
    padding-right: 15px;
}

.about-us img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

/*** OFFER SECTION ***/
.offer {
    background-color: #f5f5f5;
    padding: 28px 0;
    margin-bottom: 20px;
}

.offer img {
    width: 100%;
    padding-bottom: 12px;
}

.offer h5 {
    font-size: 16px;
    font-family: "capitolium-2";
    color: rgb(14, 28, 40);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    padding-bottom: 6px;
}

/*** EXAMINATION SECTION ***/
.examination {
    padding: 60px 0;
}

.examination h2 {
    font-size: 36px;
    font-family: "capitolium-2";
    color: rgb(14, 28, 40);
    line-height: 1.2;

}

.examination p {
    padding-top: 10px;
    font-size: 18px;
    font-family: "capitolium-2";
    color: rgb(14, 28, 40);
    line-height: 1.2;
    text-align: justify;
}

.examination img {
    width: 100%;
    object-fit: fill;
    margin-bottom: 30px;
}

/*** LENSES SECTION ***/
.lenses {
    height: 140px;
    background: url('../img/lenses/hoya.jpg') no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.lenses img {
    margin-top: 30px;
    float: right;
}

.lenses p {
    font-size: 18px;
    font-family: "capitolium-2";
    color: rgb(255, 255, 255);
    line-height: 1.2;
    text-align: justify;
    margin: 0;
}

.hoya-logo {
    display: none;
}


/*** GOOGLE MAPS SECTION ***/
.maps {
    height: 400px;
    background-size: cover;
    display: flex;
    align-items: center;
}

.maps img {
    margin-top: 30px;
    float: right;
}

.maps p {
    font-size: 18px;
    font-family: "capitolium-2";
    color: rgb(255, 255, 255);
    line-height: 1.2;
    text-align: justify;
    margin: 0;
}

/*** CONTACT SECTION ***/
.contact {
    position: relative;
    padding: 50px 0;
    background-color: #0e1c28;
}

.contact h1 {
    text-align: center;
    font-size: 48px;
    font-family: "capitolium-2";
    color: rgb(255, 255, 255);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 120px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 26px;
}

.contact-item:last-of-type {
    margin-bottom: 45px;
}

.contact-item p {
    font-size: 16px;
    font-family: "capitolium-2";
    color: rgb(255, 255, 255);
    line-height: 1.2;
    margin: 0;
    padding-left: 20px;
}

.contact p {
    font-size: 18px;
    font-family: "capitolium-2";
    color: rgb(255, 255, 255);
    line-height: 1.2;
}

.contact p > a {
    color: rgb(255, 255, 255);
}

.contact p > a:hover,
.contact p > a:active,
.contact p > a:focus {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.form-control {
    font-size: 16px;
    font-family: "capitolium-2";
    line-height: 1.2;
    background: transparent;
    border-color: #fff;
    color: #fff;
    border-radius: 0;
    padding: 14px 10px;
    text-align: center;
}

.form-control:hover,
.form-control:active,
.form-control:focus {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.form-control::placeholder {
    color: #fff;
}

textarea.form-control {
    text-align: left;
    padding-left: 14px;
}

.form button {
    font-size: 16px;
    font-family: "capitolium-2";
    color: rgb(14, 28, 40);
    line-height: 1.2;
    text-align: center;
    width: 100%;
    height: 46px;
    border-width: 1px;
    border-color: rgb(255, 255, 255);
    border-style: solid;
    background-color: rgb(255, 255, 255);
}

.form button:hover,
.form button:active,
.form button:focus {
    color: rgb(255, 255, 255);
    background-color: transparent;
    border-color: rgb(255, 255, 255);
}

.contact-form {
    position: absolute;
    min-height: 50%;
    width: 100%;
    background: url('../img/contact/contact.jpg') no-repeat center;
    background-size: cover;
    bottom: 0;
}

.form-group {
    margin-bottom: 18px;
}

/*** FOOTER SECTION ***/
.footer {
    padding: 24px 0;
}

.footer p {
    font-size: 17px;
    font-family: "capitolium-2";
    color: rgb(14, 28, 40);
    line-height: 1.2;
    text-align: center;
    margin: 0;
}

/*** MEDIA BREAKPOINTS ***/
.mobile-hidden {
    display: none;
}

@media (min-width: 768px) {
    .mobile-hidden {
        display: block;
    }
}

.img1 {
    transition: transform 0.5s;
}

.img1:hover { 
    transform: scale(1.15);
}

.hov-img {
    height: 179px;
    overflow: hidden;
    margin-bottom: 25px;
}
.offer img  {
    padding: 0 !important;
}

@media (min-width: 992px) {
    .offer img {
        padding-bottom: 28px;
    }

    .offer h5 {
        padding: 0;
        margin: 0;
    }

    .examination img {
        margin: 0;
    }

    .hoya-logo {
        display: block;
    }

    .contact-info {
        align-items: flex-start;
        margin-bottom: 0;
    }

    .contact-form {
        width: 50%;
        min-height: 100%;
        right: 0;
        left: unset;
    }

    .contact h1 {
        text-align: left;
    }

    .form {
        padding-left: 45px;
    }
}
