@font-face {
    font-family: "OpenSans Light";
    font-display: swap;
    src: url(../fonts/OpenSans-Light.ttf) format("truetype");
}

@font-face {
    font-family: "OpenSans Regular";
    font-display: swap;
    src: url(../fonts/OpenSans-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "OpenSans Semibold";
    font-display: swap;
    src: url(../fonts/OpenSans-SemiBold.ttf) format("truetype");
}

@font-face {
    font-family: "OpenSans Bold";
    font-display: swap;
    src: url(../fonts/OpenSans-Bold.ttf) format("truetype");
}

:root {
    --custom-blue: #1b3556;
    --custom-lightblue: #3a71ba;
    --custom-cream: #cfb193;
}

/* custom checkbox */
.custom-checkbox {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
}

.custom-checkbox p {
    margin-bottom: 0;
}

.custom-checkbox input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.custom-checkbox span {
    display: inline-block;
    width: 25px;
    height: 25px;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--custom-blue);
    background-color: #fff;
    margin-right: .5em;
    position: relative;
    cursor: pointer;
}

.custom-checkbox input:checked ~ span {
    background-color: var(--custom-blue);
}

.custom-checkbox span::after {
    display: none;
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 7px;
    height: 13px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(40deg);
    -ms-transform: rotate(40deg);
    transform: rotate(40deg);
}

.custom-checkbox input:checked ~ span::after {
    display: block;
}
/* end of custom checkbox */

/* navbar */
button.nav-link {
    background-color: transparent;
    border: none;
    outline: none;
}

button.nav-link::after {
    display: none;
}

.navbar .dropdown-menu {
    left: unset;
    right: 30px;
    min-width: 12rem;
    text-align: center;
    border-radius: 0;
}

.navbar .dropdown-menu a {
    color: var(--custom-blue);
    margin: 0 !important;
}

.navbar .dropdown-menu a:hover {
    background-color: transparent;
    color: var(--custom-lightblue);
}
/* end of navbar */

/* static content */
.static-content h1,
.static-content h2,
.static-content h3,
.static-content h4,
.static-content h5,
.static-content h6 {
    font-family: "Opensans Bold";
    text-transform: uppercase;
}

.static-content h1 {
    font-size: 35px;
}
.static-content h2 {
    font-size: 32px;
}
.static-content h3 {
    font-size: 30px;
}
.static-content h4 {
    font-size: 25px;
}
.static-content h5 {
    font-size: 22px;
}
.static-content h6 {
    font-size: 19px;
}

.static-content img {
    max-width: 100%;
}

.static-content ul {
    columns: 2;
    padding: 0;
}

.static-content li {
    list-style-type: none;
    position: relative;
    margin-bottom: 0.6em;
    padding-left: 45px;
    display: inline-block;
}

.static-content li::before {
    content: "";
    background-color: var(--custom-blue);
    border-radius: 5px;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 3px;
    left: 0;
}
/* end of static content */

/* base stuff */
form label a,
form label a:hover {
    text-decoration: underline;
}

.base_container {
    min-height: 450px;
}

.light.cc_dialog {
    padding: 1em 1.5em !important;
    max-width: 90% !important;
}

.navbar-nav .dropdown-toggle::after,
.hidden {
    display: none;
}

html {
    scroll-behavior: smooth;
}

.navbar-toggler {
    border-color: #8d9aab;
}

form small {
    text-align: left !important;
    color: #f00;
}

a:focus,
a:hover,
a:focus *,
a:hover *{
    text-decoration: none !important;
    color: currentColor;
}
/* end of base stuff*/

/* popup */
.popup-modal {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 600px;
    /*height: 400px;*/
    height: fit-content;
    max-width: 95%;
    max-height: 95%;
    z-index: 1010;
    box-shadow: 0 0 15px -3px rgba(0,0,0,0.35);
    padding: 1.2em 1em;
    overflow: scroll;
}

/*.popup-modal .popup-content {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    overflow: auto;*/
/*    padding: 1.2em 1em;*/
/*}*/

.popup-modal #closePopup {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.1em 0.3em;
    cursor: pointer;
    font-size: 25px;
    z-index: 100;
}
/* end of popup */

.navbar-nav .active-link {
    color: #05b2ff;
}

a,
body {
    font-family: "OpenSans Regular";
    color: #2b2b2b;
}

a:hover {
    text-decoration: none;
    color: #2b2b2b;
}

header,
footer {
    background-color: var(--custom-blue);
    color: #fff;
}

header,
header a {
    font-family: "OpenSans Semibold";
    font-size: 16px;
}

header {
    padding-top: .2em;
    padding-bottom: .2em;
    border-bottom: 1px solid var(--custom-lightblue);
}

.language-menu a,
.nav-link {
    text-transform: uppercase;
    color: #fff;
}

.language-menu a:hover,
.nav-link:hover {
    color: #fff;
}

.nav-link {
    padding-right: 1em !important;
    padding-left: 1em !important;
    margin-right: 1em !important;
    margin-left: 1em !important;
}

.language-menu a.current {
    color: #3a71ba;
}

.navbar-toggler {
    border-color: #8d9aab;
}

#carouselTop img {
    width: 100%;
    height: 720px;
    object-fit: cover;
}

.carousel-caption {
    text-align: left;
    font-family: "OpenSans Semibold";
    bottom: unset;
    top: 27%;
    width: 685px;
}

.carousel-text-2 {
    font-family: "OpenSans Light";
    color: var(--custom-cream);
}

.blue-button,
.buildings a,
.carousel-caption a {
    font-family: "OpenSans Semibold";
    background-color: #023b62;
    color: #fff;
    padding: .6em 3em;
    font-size: 16px;
    margin-top: 1em;
    display: inline-block;
    border: 0;
}

.blue-button:hover {
    color: #fff;
}

.blue-button {
    margin: 0;
}

.carousel-caption h1 {
    font-size: 72px;
    text-transform: uppercase;
}

.carousel-caption p {
    font-size: 24px;
}

.small-title,
.content h2 {
    text-transform: uppercase;
    font-size: 30px;
    font-family: "OpenSans Bold";
    margin-bottom: 1.5em;
}

.grey-block {
    background-color: #f7f8f9;
}

.general-padding {
    padding-top: 5em;
    padding-bottom: 5em;
}

.buildings img {
    width: 100%;
    margin-bottom: 15px;
}

.buildings a {
    position: absolute;
    z-index: 5;
    width: 220px;
    padding-left: 0em;
    padding-right: 0em;
    text-align: center;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.darkgrey-block {
    background-color: #dedfdf;
}

.side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bottom-section img {
    width: 100%;
}

footer {
    padding-top: 3em;
    padding-bottom: .3em;
    font-size: 14px;
}

.contact-footer,
footer a {
    color: #fff;
    display: inline-block;
    padding: .4em 0;
}

footer a:hover {
    color: #fff;
}

.contact-elem svg {
    width: 15px;
    margin-right: 25px;
    fill: #fff;
}

.contact-elem {
    display: flex;
    margin-bottom: .7em;
}

.darkgrey-block {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}



.svg-container {
    width: 50px;
    height: 50px;
    aspect-ratio: 1 / 1;
    background-color: var(--custom-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 2em;
}

.svg-container svg {
    fill: var(--custom-cream);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-top: 2em;
}

.contact-item,
.contact-item a {
    color: var(--custom-blue);
    font-family: "OpenSans Semibold";
    font-size: 18px;
}

.heading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 192px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.heading.contactus {
    background-image: url(../images/kapcsolat-bg.jpg);
}

.heading.gallery {
    background-image: url(../images/galeria-bg.jpg);
}

.heading.realestate {
    background-image: url(../images/ingatlanok-bg.jpg);
}

.heading h1 {
    font-family: "OpenSans Semibold";
    text-transform: uppercase;
    color: #fff;
    font-size: 48px;
    letter-spacing: 2px;
    text-align: center;
}

.contact-row h2 {
    font-family: "OpenSans Semibold";
    text-transform: uppercase;
    color: var(--custom-blue);
    font-size: 40px;
}

.contact-row .form-group textarea,
.contact-row .form-group input[type="text"] {
    width: 100%;
    border: 1px solid var(--custom-blue);
    padding: .5em;
}

.contact-row .form-group {
    position: relative;
    margin-top: 1.4em;
}

.absolute-label {
    color: var(--custom-cream);
    background-color: white;
    padding: 0 3em 0 1em;
    font-size: 12px;
    font-family: "OpenSans Semibold";
    position: absolute;
    top: -9px;
    left: 15px;
}

.gallery-item img {
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.hover-overlay svg {
    width: 31px;
    fill: var(--custom-cream);
    margin-bottom: 1em;
}

.hover-overlay div {
    text-transform: uppercase;
    color: #fff;
    width: 40%;
    text-align: center;
    font-family: "OpenSans Semibold";
}

.gallery-item {
    display: block;
    position: relative;
    margin-bottom: 30px;
}

.image-row a::after,
.gallery-img-block::after,
.gallery-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: var(--custom-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-row a:hover::after,
.gallery-img-block:hover::after,
.gallery-item:hover::after {
    opacity: .6;
}

.hover-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-row a:hover .hover-overlay,
.gallery-img-block:hover .hover-overlay,
.gallery-item:hover .hover-overlay {
    opacity: 1;
}

.gallery-categories a {
    background-color: #e8e7e7;
    color: #2b2b2b;
    font-family: "OpenSans Semibold";
    font-size: 12px;
    padding: .7em 2em;
    display: inline-block;
    margin: 0 1.5em 1.5em 0;
}

.gallery-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3em;
}

.gallery-img-list .gallery-img-block {
    width: calc(20% - 20px);
}

.gallery-img-block {
    display: inline-block;
    position: relative;
}

.gallery-img-block img{
    width: 100%;
    object-fit: cover;
    height: 250px;
}

.gallery-img-list {
    justify-content: center;
    gap: 20px;
}

.arrow-svg {
    fill: var(--custom-cream);
    height: 21px;
}

.back {
    transform: rotateZ(180deg);
}

.gallery-title {
    margin-bottom: 2.5em;
}

.gallery-title .small-title {
    margin: 0 2em;
}

.ingatlan-block img {
    width: 100%;
    object-fit: cover;
    height: 200px;
}

.text-part {
    padding: 2.5em 1em 1.5em 1em;
    position: relative;
}

.text-part h3 {
    text-transform: uppercase;
    font-family: "OpenSans Bold";
    font-size: 18px;
    overflow: hidden;
    height: 45px;
}

.text-part .desc {
    font-size: 14px;
    overflow: hidden;
    height: 85px;
}

.text-part .blue-button {
    margin-top: 1em;
}

.ingatlan-block > div {
    -webkit-box-shadow: 3px 3px 10px -3px #424242;
    -moz-box-shadow: 3px 3px 10px -3px #424242;
    box-shadow: 3px 3px 10px -3px #424242;
}

.number-card {
    color: var(--custom-cream);
    background-color: var(--custom-blue);
    padding: 0 10px;
    min-width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    font-family: "OpenSans Semibold";
    font-size: 30px;
}

.ingatlan-block .number-card {
    left: 10px;
    top: -24px;
}

.ingatlan-block {
    margin-bottom: 35px;
}

.back-button {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 1.5em;
}

.back-button svg {
    height: 14px;
    fill: #2b2b2b;
    margin-right: .5em;
}

.top-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.top-img ~ .number-card {
    left: 25px;
    bottom: -24px;
}

.inner-gallery,
.image-row {
    margin-top: 2.5em;
    justify-content: center;
}

.image-row a {
    position: relative;
    display: inline-block;
}

.inner-gallery .gallery-img-block img,
.image-row img {
    width: 100%;
    object-fit: cover;
    height: 300px;
}

.blue-block.static-content h1,
.blue-block.static-content h2,
.blue-block.static-content h3,
.blue-block.static-content h4,
.blue-block.static-content h5,
.blue-block.static-content h6 {
    color: var(--custom-blue);
}

.blue-block {
    background-color: #f4f4f4;
    padding: 1.5em;
    overflow: hidden;
}

.contact-text {
    text-transform: uppercase;
    font-family: "OpenSans Bold";
    font-size: 24px;
}

.contact-text p{
    margin: 0;
}

.inner-gallery > div {
    margin-bottom: 2em;
    text-align: center;
}

.side-form .contact-row .form-group {
    margin-top: 0;
    margin-bottom: 1.8em;
}

.form-img-block {
    text-align: center;
    text-align: center;
}

.form-img-block img {
    width: 100%;
}

small {
    text-align: left !important;
    color: #f00;
}

form label a,
form label a:hover {
    text-decoration: underline;
}

.base_container {
    min-height: 450px;
}

header .navbar-brand img {
    height: 49px;
}


