/*
Theme Name: Hill Group Kft.
Author: Future of Media Kft.
Author URI: https://hillgroup.hu/
Description: Hill Group Korlátolt Felelősségű Társaság
Version: 1.0
*/

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    color: #000;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1 {
    margin-bottom: 15px;
}

h2 {
    margin: 0;
    text-align: center;
}

a {
    color: #000;
    text-decoration: none;
    transition: all .25s ease-in-out;
}

a:hover {
    color: #D63240;
}

img {
    max-width: 100%;
}

.page-content {
    flex: 1;
    padding: 150px 0 30px;
    position: relative;
}

.page-7 .page-content {
    padding: 0 0 30px;
}

@media only screen and (max-width: 767px) {
    .page-7 .page-content {
        padding: 114px 0 30px;
    }
}

#szechenyi-terv {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    max-width: 400px;
    width: 100%;
}

.header {
    padding: 15px 0;
}

.header__logo {
    font-weight: 700;
}

.header__link {
    margin-left: 20px;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services__title {
    margin: 45px 0 30px;
}

.services__list-item {
    display: flex;
    transition: all .25s ease-in-out;
}

.services__list-item:hover {
    color: #D63240;
}

.services__list-item > div {
    flex: 1;
}

.services__list-item:nth-child(even) > div:first-child {
    order: 1;
}

.services__list-img-wrapper {
    position: relative;
    padding-top: 56.25%;
}

.services__list-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services__list-item-content {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;    
}

.services__list-item-title {
    padding: 15px;
}

@media only screen and (max-width: 991px) {
    .services__list-item-title {
      font-size: 24px;
    }
}

@media only screen and (max-width: 767px) {
    .services__list-item-title {
      font-size: 20px;
    }
}

.contact {
    padding: 100px 0 50px;
}

@media only screen and (max-width: 767px) {
    .contact {
        padding: 50px 0 0;
    }
}

.footer {
    background: #f1f5f8;
    color: #000;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

.footer a:not(:hover) {
    color: #000;
}

.footer__title {
    font-weight: 600;
    font-size: 16px;
}

.footer__copyright {
    margin-top: 10px;
}

.footer__tender {
    margin-top: 10px;
}

.footer__datas {
    margin-top: 10px;
}

.wpcf7 {
    margin-top: 20px;
    text-align: center;
}

.wpcf7-spinner {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 15px 0 0 !important;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
    text-align: left;
    width: 100%;
}

input:not(.wpcf7-submit),
textarea {
    max-width: 100%;
    width: 100%;
    height: 45px;
    padding: 0 15px;
    width: 100%;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    transition: all .25s ease-in-out;
}

input:not(.wpcf7-submit):hover:not(:focus),
textarea:hover:not(:focus) {
    border-color: #D63240;
}

textarea {
    resize: none;
    height: 150px;
    padding: 15px;
}

:focus-visible {
    outline: none;
}

input:focus,
textarea:focus {
    border: 1px solid #000;
}

.wpcf7-submit {
    background: #e4e4e4;
    border: 0;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: 600;
    transition: background .25s ease-in-out, color .25s ease-in-out;
}

.wpcf7-submit:focus {
    border: 0;
}

.wpcf7-submit:hover {
    background: #D63240;
    color: #fff;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    color: #ffb900;
    border: 0;
    padding: 0;
    margin: 0;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #46b450;
    border: 0;
    padding: 0;
    margin: 0;
}