/*@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');*/

/* poppins-300 - latin-ext_latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/poppins/poppins-v20-latin-ext_latin-300.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/poppins/poppins-v20-latin-ext_latin-300.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/poppins/poppins-v20-latin-ext_latin-300.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/poppins/poppins-v20-latin-ext_latin-300.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/poppins/poppins-v20-latin-ext_latin-300.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/poppins/poppins-v20-latin-ext_latin-300.svg#Poppins') format('svg');
    /* Legacy iOS */
    font-display: swap;
}

/* poppins-regular - latin-ext_latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/poppins/poppins-v20-latin-ext_latin-regular.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/poppins/poppins-v20-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/poppins/poppins-v20-latin-ext_latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/poppins/poppins-v20-latin-ext_latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/poppins/poppins-v20-latin-ext_latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/poppins/poppins-v20-latin-ext_latin-regular.svg#Poppins') format('svg');
    /* Legacy iOS */
    font-display: swap;
}

/* poppins-800 - latin-ext_latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/poppins/poppins-v20-latin-ext_latin-800.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/poppins/poppins-v20-latin-ext_latin-800.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/poppins/poppins-v20-latin-ext_latin-800.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/poppins/poppins-v20-latin-ext_latin-800.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/poppins/poppins-v20-latin-ext_latin-800.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/poppins/poppins-v20-latin-ext_latin-800.svg#Poppins') format('svg');
    /* Legacy iOS */
    font-display: swap;
}

/*---Tags---*/
html {
    /*background-color: #efefef;*/
    background:
        repeating-linear-gradient(0deg,
            rgba(0, 91, 143, 0.04) 0px,
            rgba(0, 91, 143, 0.04) 1px,
            transparent 1px,
            transparent 48px),
        repeating-linear-gradient(90deg,
            rgba(0, 91, 143, 0.04) 0px,
            rgba(0, 91, 143, 0.04) 1px,
            transparent 1px,
            transparent 48px),
        linear-gradient(180deg, #f5f8fa 0%, #edf3f7 100%);
    background-repeat: repeat, repeat, no-repeat;
    background-size: 48px 48px, 48px 48px, 100% auto;
    background-position: 0 0, 0 0, 0 0;
    background-attachment: scroll, scroll, scroll;
    /*height: 100%;*/
    scroll-behavior: smooth;
}

body,
html {
    min-height: 100%;
    font-family: 'Poppins', sans-serif;
}

body {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    /*box-shadow: 0 0 10px grey;*/
    box-shadow: 0 18px 45px rgba(0, 60, 100, 0.12);
}

p {
    color: rgb(31 40 92);
    line-height: 1.75rem;
}

.cookie-container {
    text-align: center;
    padding: 0.5rem 1rem;
}

.cookie-banner {
    z-index: 2;
    background-color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 1200px;
    border-top: 2px solid rgb(43 171 226);
}

.big-icon {
    font-size: 6rem;
    color: rgb(31 40 92);
}

.msg-card {
    padding: 0 2rem 2rem;
}

/*---Header Styles---*/
section.header-container {
    margin: 0;
    padding: 0;
    background-color: white;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    align-items: stretch;
    box-shadow: 0 5px 10px grey;
    /*     border-bottom: 2px solid #fbc700;
 */
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: 0px;
    z-index: 100;
}

#branding-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 33%;
    aspect-ratio: 396/163;
    margin: 0;
    padding: 1rem 0 0.5rem;
    background-color: white;
}

img#branding-logo {
    width: 100%;
    height: auto;
    aspect-ratio: 750/250;
    /*max-width: 370px;*/
}

/*---Navigation Styles---*/
/*
#menu-icon-btn {
    display: inline-block;
    vertical-align: middle;
    margin:0.5rem;
}
*/
nav#top-nav {
    width: 67%;
    align-self: center;
}

ul#main-menu {
    /* border-bottom-left-radius: 20px;
    border-top-left-radius: 20px; */
    display: flex;
    max-height: auto;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: rgb(31 40 92);
}

div#menu-icon {
    display: none;
    padding: 1rem 0;
    margin: 0;
    text-align: center;
    text-decoration: none;
    color: white;
}

ul.main-menu-class>li {
    padding: 1rem 0;
    margin: 0;
    text-decoration: none;
    color: white;
}

ul.main-menu-class>li>a.nav-link,
ul.main-menu-class>li>.nav-link {
    text-decoration: none;
    font-weight: bold;
    color: white;
    padding: 1rem;
    transition: background-color 300ms;
    cursor: pointer;
}

ul.main-menu-class>li>a.nav-link:hover {
    background-color: white;
    color: rgb(31 40 92);
}

#tervezes-galeria,
#vizkezeles-galeria {
    scroll-margin-top: 160px;
}

/*---Footer Styles---*/

footer {
    background-color: rgb(31 40 92);
    color: white;
}

div.footer-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

div.footer-footer {
    width: 100%;
    margin-top: 1.5rem;
}

div.footer-footer>p {
    margin: 0.5rem auto;
    color: white;
}

div.footer-footer>a.social-icon {
    font-size: 2rem;
    color: white;
    padding: 0.2rem;
    margin: 0 0.2rem;
}

div.footer-body-section {
    text-align: left;
    margin: 0 1rem;
    min-width: 200px;
}

div.footer-body-section>h2 {
    text-transform: uppercase;
    font-size: 1rem;
    color: white;
    border-bottom: 2px solid rgb(43 171 226);
}

ul.bottom-nav {
    padding: 0;
    margin: 1.5rem 0;
}

ul.bottom-nav>li.li-navbar {
    text-decoration: none;
    list-style-type: none;
    margin: 0.75rem 0;
}

ul.bottom-nav>li.li-navbar>a {
    padding: 0.5rem;
    text-decoration: none;
    color: white;
}

br.line-break {
    display: none;
}

span.word-space {
    display: contents;
}

div#cookie {
    display: block;
    transition: opacity 1s;
}

/*---Section Styles---*/

.flex-container {
    display: flex;
    margin: 0;
}

section.flex-container {
    margin: 0;
    padding: 2rem;
    flex-direction: column;
    text-align: center;
    border-top: 3px solid rgb(128 130 133);
    border-bottom: 7px solid rgb(43 171 226);
    align-items: center;
}

section.flex-container.dark {
    margin: 0;
    background-color: rgb(31 40 92);
    color: white;
    padding: 2rem;
    flex-direction: column;
    text-align: center;
    border-top: 3px solid rgb(128 130 133);
    border-bottom: 7px solid rgb(43 171 226);
    align-items: center;
}

section.flex-container:last-of-type {
    margin: 0;
    padding: 2rem;
    flex-direction: column;
    text-align: center;
    border-bottom: none;
    align-items: center;
}

section#announcement {
    padding: 2rem;
}

section#hero {
    border-top: none;
    margin: 0;
    padding: 4rem 2rem;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
    background-image: url('../img/hero.webp');
    background-position: center;
    background-size: cover;
}

.custom-background {
    background: linear-gradient(135deg,
            #ffffff 0%,
            #f4f8fb 40%,
            #e6eef4 100%);
}

.image-left-text-right-container {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: row;
}

div.intro-img-container {
    float: left;
    width: 30%;
    margin: 1.5rem 3rem 2rem 0;
}

div.hero-text-block {
    padding: 2rem;
    margin: 1rem auto;
    min-width: 250px;
    max-width: 80%;
    background-color: #00000082;
}

div.hero-text-block>p,
div.hero-text-block>h1#hero-title {
    color: white;
}

.left {
    text-align: left;
}

h1.section-title {
    text-transform: uppercase;
}

h1.section-title,
h2.section-title {
    text-align: center;
    color: rgb(31 40 92);
}

h2.section-title.dark {
    color: white;
}

h3.card-title {
    text-align: left;
    color: rgb(31 40 92);
}

h3.card-title.dark {
    color: rgb(43 171 226);
}

h3.card-title.service-title {
    color: rgb(31 40 92);
}

.section-body-text {
    width: 100%;
    max-width: 600px;
}

.reference-text {
    width: 100%;
    max-width: 600px;
    margin: 0 0 0.5rem 0;
}

ul.references {
    list-style: none;
    padding: 0;
    margin: 0;
}

.references li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgb(31 40 92);
}

.references li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 12px;
    height: 2px;
    background: rgb(31 40 92);
}

.no-maxwidth {
    max-width: 100%;
}

section#booking-container>.section-body-text {
    width: 100%;
    text-align: left;
}

span.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background-image: linear-gradient(to right, rgb(209 211 212), rgb(128 130 133));
    color: white;
    padding: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 3rem;
}

img.section-body-img {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 20px;
    margin: 2rem auto;
    filter: brightness(1.17);
}

div.image-card-container,
div.flex-about-container,
div.flex-contact-container,
div.gallery-card-container,
div.news-card-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

div#custom-service-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

div.custom-service-card {
    width: 50%;
    max-width: calc(50% - 82px);
    padding: 1rem 2rem;
    background: linear-gradient(135deg,
            #ffffff 0%,
            #f4f8fb 40%,
            #e6eef4 100%);
    border: 1px solid #d2dee6;
    box-shadow: 0 12px 30px rgba(0, 60, 100, 0.08);
    position: relative;
    transition: all 0.25s ease;
}

.shadow {
    border: 1px solid rgba(31, 40, 92, 0.35);
    box-shadow: 0 14px 28px rgba(31, 40, 92, 0.12);
}

div.custom-service-card.full-width {
    width: 100% !important;
    max-width: 100% !important;
}

.custom-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(to right, rgb(43 171 226), rgb(31 40 92));
}

.custom-card-title {
    text-align: left;
    color: rgb(31 40 92);
}

div.custom-service-card>ul {
    color: rgb(31 40 92);
}

.custom-ul {
    text-align: left;
    align-self: start;
    color: rgb(31 40 92);
    margin-top: 0;
    margin-bottom: 2rem;
}

div.service-card-text,
div.service-card-img {
    width: 50%;
}

div.service-card-text {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

div.service-card-top-align {
    justify-content: start !important;
}

div.service-card-text>h3 {
    margin: 1rem 2rem 0.5rem;
}

div.service-card-text>p {
    margin: 0 2rem 1rem;
}

div.service-card-text>ul {
    margin: 0 0 1rem;
}

div.news-card-container {
    margin-top: 2rem;
}

div.gallery-card-container {
    justify-content: center;
}

div.image-card-container.service-container {
    justify-content: center;
}

div.icon-card-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    margin: auto;
}

div.icon-card-container.dark>.icon-card>p,
div.service-card-text.dark>p,
div.service-card-text.dark>ul>li {
    color: white;
}

div.service-card-text.light>ul>li {
    color: rgb(31 40 92);
}

div.service-card-text>ul {
    list-style-position: inside;
}


div.service-card-text.dark {
    background-color: rgb(31 40 92);
}

div.service-card-text.light {
    background-color: white;
}

div.service-card-text.light:first-child {
    box-shadow: inset 2px 0px 0px rgb(31 40 92);
}

div.service-card-text.light:last-child {
    box-shadow: inset -2px 0px 0px rgb(31 40 92);
}

div.service-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*     justify-content: space-around;
 */
    margin: 0 auto;
}

.service-card-img>img.image,
.service-card-img>picture>img.image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: 650px;
}

div.card {
    width: 100%;
    max-width: 300px;
    margin: 1rem;
    padding: 1rem;
    text-align: left;
}

div.news-card {
    margin: 1rem auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 0;
    background-color: white;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 2px 10px lightgray;
}

div.news-img {
    display: flex;
    width: 40%;
    height: 100%;
    max-height: 350px;
}

div.news-content {
    width: 60%;
    padding: 0;
}

div.news-content>h3,
div.news-content>p {
    margin: 1.5rem;
    text-align: left;
}

div.news-content>h3 {
    margin-top: 1.5rem;
    font-size: 1.3rem;
}

div.news-content>a {
    margin-bottom: 1.5rem;
}

img.news-image {
    object-fit: cover;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    width: 100%;
}

div.gallery-card {
    position: relative;
    width: 100%;
    max-width: 330px;
    aspect-ratio: 1 / 1;
    margin: 1rem;
    padding: 0;
    overflow: hidden;
    text-align: left;
}

img.image {
    display: block;
    object-fit: cover;
    width: 100%;
    height: auto;
}

div.gallery-card>img.image {
    height: 100%;
    Width: 100%;
    /*max-height: 350px;*/
}

.overlay-title {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgb(43 171 226);
    /* Black see-through */
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 0;
    text-align: center;
}

div.gallery-card:hover .overlay-title {
    opacity: 1;
}

div.contact-card {
    width: 100%;
    margin: 1rem 2rem 2rem;
    padding: 1rem;
    text-align: left;
}

div.contact-card.service-card,
div.service-card {
    padding: 0 1rem 1rem 1rem;
    background-color: aliceblue;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 2px 10px lightgray;
}

div.service-card.service-card-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

div.service-card.service-card-flex>div>p {
    text-align: left;
}

div.card.service-card>p {
    text-align: left;
}

div.icon-card {
    max-width: calc((100% - 10.5rem) / 2);
    margin: 0;
    padding: 2rem 2rem 1rem;
    text-align: left;
    border: 1px solid #d2dee6;
    background: white;
    box-shadow: 0 12px 30px rgba(0, 60, 100, 0.08);
}

div.icon-card.dark {
    background: rgb(31 40 92);
    border: 1px solid #d2dee6;
}

div.card>img {
    width: 100%;
    min-width: 200px;
    margin: 1rem auto;
    border-radius: 20px;
    filter: brightness(1.17);
}

.div-card-img {
    width: 100%;
    height: 200px;
    /*max-height: 200px;
    min-width: 200px;*/
    object-fit: cover;
    object-position: center;
    margin: 1rem auto;
    border-radius: 20px;
    filter: brightness(1.17);
}

div.half-container {
    width: 100%;
    max-width: 475px;
    padding: 1rem;
    margin: 0;
    text-align: center;
    align-self: center;
}

div.half-container>img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: brightness(1.17);
    margin: 1rem 0;
}

.half-container-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: brightness(1.17);
    margin: 1rem 0;
}

h1#hero-title,
h1.page-title {
    color: rgb(31 40 92);
    font-size: 1.75rem;
    margin-top: 0;
    text-align: center;
}

div#adatvedelem-container {
    color: #798da3;
    max-width: 100%;
}

div#adatvedelem-container>ol {
    list-style-type: lower-alpha;
}

div#adatvedelem-container>h2 {
    color: rgb(31 40 92);
    font-weight: bold;
}

div#tervezes,
div#felelos-muszaki-vezetes,
div#muszaki-ellenorzes,
div#tanacsadas,
div#oktatas {
    scroll-margin-top: 150px;
}

/*------- Modal Styles -------*/
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 100;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    z-index: 110;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: rgb(43 171 226);
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 110;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/*---Button Styles---*/

a.main-btn,
input[type=submit] {
    font-size: 1rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin: 1rem 0.5rem;
    text-decoration: none;
    background-color: rgb(31 40 92);
    color: white;
    border: 2px solid rgb(31 40 92);
    border-radius: 0;
    transition: border 200ms;
}

button.main-btn {
    font-size: 1rem;
    display: inline-block;
    padding: 0.5rem 0.5rem;
    margin: 0 0.5rem;
    text-decoration: none;
    background-color: rgb(31 40 92);
    color: white;
    border: 2px solid rgb(31 40 92);
    border-radius: 0;
    transition: border 200ms;
}

a.sec-btn {
    font-size: 1rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin: 1rem 0.5rem;
    text-decoration: none;
    background-color: white;
    color: rgb(31 40 92);
    border: 2px solid rgb(31 40 92);
    border-radius: 0;
    transition: border 200ms;
}

a.main-btn:hover,
button#cookie-btn:hover,
a.sec-btn:hover,
input[type=submit]:hover {
    /*     box-shadow: 0 2px 5px lightgray;
 */
    border: 2px solid white;
}

#topBtn {
    text-align: center;
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 15px;
    /* Place the button at the bottom of the page */
    right: 15px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    width: 45px;
    height: 45px;
    outline: none;
    /* Remove outline */
    background-color: rgb(31 40 92);
    color: #efefef;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    /*     border-radius: 50%;
 */
    /* Rounded corners */
    border: 2px solid #efefef;
    font-size: 2rem;
    /* Increase font size */
}

#topBtn:hover {
    color: white;
    border: 2px solid white;
}

.btn-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 1rem 0;
}

label.checkbox-label {
    font-size: 1rem;
    line-height: 1.5rem;
}

div.input-group {
    text-align: left;
    display: inline-block;
    margin: 0;
    font-weight: normal;
    color: rgb(31 40 92);
}

.text-link, .text-link > a {
    color: rgb(43 171 226);
    font-weight: bold;
}

.cookie-link {
    color: rgb(31 40 92);
    font-weight: bold;
}

/*---Helper Styles---*/


.order-1-half {
    order: 1;
}

.order-2-half {
    order: 2;
}

.order-3-half {
    order: 3;
}

.order-4-half {
    order: 4;
}

.order-5-half {
    order: 5;
}

.order-6-half {
    order: 6;
}

div.half-container.text-half {
    max-width: 55%;
    text-align: left;
}

div.half-container.img-half {
    max-width: 35%;
}

/*----- Table Styles ------*/
table.contact-list {
    padding-left: 0;
    list-style: none;
    text-align: left;
    width: 100%;
    max-width: 600px;
}

table.contact-list>tbody>tr {
    line-height: 2em;
}

td.contact-icon {
    text-align: center;
}

td.contact-icon>i {
    margin: 0.3em;
    text-align: center;
    color: #5787ab;
    font-size: 1.5em;
}

td.contact-data {
    text-align: left;
}

td.contact-data>a {
    text-decoration: none;
    color: #5787ab;
    padding-left: 0.5em;
    border-left: 3px solid #a2d06e;
}

/*---Form Styles---*/

form {
    text-align: left;
}

form>label,
fieldset>label {
    text-align: left;
    color: rgb(31 40 92);
    font-weight: bold;
}

input[type=submit].submit-button {
    display: block;
    margin: 0.5em auto;
}

input[type=text],
input[type=tel],
input[type=email],
select,
textarea {
    width: 100%;
    /* Full width */
    padding: 12px;
    /* Some padding */
    border: 1px solid rgb(31 40 92);
    ;
    /* Gray border */
    /* border-radius: 4px; */
    /* Rounded borders */
    box-sizing: border-box;
    /* Make sure that padding and width stays in place */
    margin-top: 6px;
    /* Add a top margin */
    margin-bottom: 16px;
    /* Bottom margin */
    background-color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: rgb(31 40 92);
}

input[type=tel] {
    margin-bottom: 0;
}

:focus-visible {
    outline-offset: 1px;
    outline: rgb(31 40 92) auto 1px;
}

div.input-group {
    display: inline-block;
    margin: 0 0 1rem 0;
    font-weight: normal;
}

div.special-input {
    display: flex;
    width: 100%;
}

div.special-input>input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

div.input-addon {
    padding: 12px;
    border: 1px solid rgb(31 40 92);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
    background-color: rgb(31 40 92);
    font-size: 1rem;
    font-weight: bold;
    color: white;
}

small {
    display: block;
    font-weight: normal;
    color: rgb(31 40 92);
    margin: 0.2rem 0 1rem 0;
}

fieldset {
    margin: 1.5rem 0;
    padding: 1rem 1rem 0;
    border: 1px solid rgb(31 40 92);
    border-radius: 10px;
    color: rgb(31 40 92);
    font-weight: bold;
}

fieldset>p {
    color: rgb(31 40 92);
    font-weight: normal;
    margin-top: 0;
}

legend {
    background-color: rgb(31 40 92);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
}

.radio-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: bold;
    /*font-size: 22px;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: white;
    border: 1px solid rgb(31 40 92);
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-container:hover input~.checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.radio-container input:checked~.checkmark {
    background-color: rgb(31 40 92);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-container input:checked~.checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.radio-container .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* ---------- Blog Styles ------------*/
div.blog-container {
    text-align: left;
    padding: 1rem 0;
}

div.blog-container>div {
    text-align: left;
}

div.blog-image-container {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

div.blog-image-container>img {
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 400px;
}

div#contact {
    color: #5787ab;
    padding: 1rem;
    text-align: center;
}

.green_hr {
    width: 80%;
    border-top: 2px solid #a2d06e;
}

a.facebook_link,
a.phone_link {
    text-decoration: none;
    font-weight: bold;
    color: #a2d06e;
}

/*---------OTHER------------------*/
.text-bold {
    font-weight: 600 !important;
}

/*---------Media queries----------*/

@media only screen and (max-width: 992px) {
    div.half-container.text-half {
        max-width: 45%;
    }

    div.half-container.img-half {
        max-width: 45%;
    }

    div.news-img,
    div.news-content {
        width: 50%;
    }

    div.service-card-text,
    div.service-card-img {
        width: 100%;
    }

    div.service-card-text {
        order: 1;
    }

    div.service-card-img {
        order: 2;
    }

    .service-card-img>img.image {
        aspect-ratio: 1 / 1;
    }

}

@media only screen and (max-width: 768px) {
    div.half-container.text-half {
        max-width: 100%;
    }

    div.half-container.img-half {
        max-width: 100%;
    }

    div.icon-card {
        max-width: 100%;
    }

    .order-3-half {
        order: 4;
    }

    .order-4-half {
        order: 3;
    }

    div.news-img,
    div.news-content {
        width: 100%;
        padding: 0;
    }

    img.news-image {
        object-fit: cover;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        width: 100%;
    }

    div.news-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
        background-color: white;
        text-align: center;
        box-shadow: 0 2px 10px lightgray;
    }

}

@media only screen and (max-width: 600px) {

    /*---Navigation Styles---*/
    section.header-container {
        flex-direction: column;
        border: none;
        display: contents;
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        /*position: -webkit-sticky;
        position: sticky;*/
        /*top: -162px;*/
    }

    .msg-card {
        padding: 0;
    }

    #branding-container {
        display: flex;
        flex-direction: row;
        /*         height: 120px;
 */
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 0.5rem 0 0;
        background-color: white;
    }

    nav#top-nav {
        top: 0;
        position: -webkit-sticky;
        position: sticky;
        width: 100%;
        align-self: center;
        border-bottom: 2px solid rgb(31 40 92);
        box-shadow: 0 5px 10px grey;
        z-index: inherit;
    }

    ul#main-menu {
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        display: none;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        background-color: rgb(31 40 92);
        overflow: hidden;
    }

    ul.main-menu-class>li.li-navbar {
        display: block;
        padding: 0;
        margin: 0;
        text-decoration: none;
        color: white;
        width: 100%;
    }

    ul.main-menu-class>li.li-navbar>a {
        display: block;
        /*
        padding: 1rem 0;
        margin: 0;
        text-decoration: none;
        color: white;
        width: 100%;*/
    }

    div#menu-icon {
        width: 100%;
        height: auto;
        display: block;
        padding: 0;
        margin: 0 auto;
        text-align: center;
        text-decoration: none;
        background-color: rgb(31 40 92);
        color: white;
    }

    #menu-icon-btn {
        display: inline-block;
        vertical-align: middle;
        padding: 0.5rem 1rem;
    }

    div.bar {
        width: 30px;
        height: 3px;
        background-color: white;
        margin: 8px 0;
    }

    div.bar:first-of-type {
        margin-top: 4px;
    }

    div.bar:last-of-type {
        margin-bottom: 4px;
    }

    #tervezes-galeria,
    #vizkezeles-galeria {
        scroll-margin-top: 50px;
    }

    /*---Section Styles---*/

    section.flex-container {
        padding: 1rem;
    }

    section#hero {
        margin: 0;
        padding: 3rem 1rem;
        justify-content: space-around;
        flex-direction: row;
        flex-wrap: wrap;
    }

    section#announcement {
        padding: 0 1rem;
    }

    h2.section-title {
        text-align: center;
        color: rgb(31 40 92);
        margin-top: 2rem;
    }

    section#booking-container {
        padding: 2rem 0.3rem 0;
    }

    section#booking-container>.section-body-text {
        width: auto;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        text-align: left;
    }

    .image-left-text-right-container {
        display: flex;
        margin: 0;
        padding: 0;
        flex-direction: column;
    }

    div.intro-img-container {
        display: block;
        float: none;
        width: 100%;
        margin: 0 0 1.5rem;
        padding: 0;
    }

    div.text-50-container {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    div.half-container>p {
        text-align: left;
    }

    div.card,
    div.icon-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 1.5rem 1rem 0.5rem;
        text-align: left;
    }

    div.icon-card-container.dark>div.icon-card {
        max-width: 100%;
    }

    div.contact-card {
        width: 100%;
        margin: 1rem 0.5rem;
    }

    div.gallery-card {
        max-width: none;
        width: 100%;
        margin: 1rem;
    }

    div.custom-service-card {
        width: 100%;
        max-width: 100%;
    }

    div.service-card-text>h3 {
        margin: 1rem 1rem 0.5rem;
    }

    div.service-card-text>p {
        margin: 0.5rem 1rem 1rem;
    }

    div#tervezes,
    div#felelos-muszaki-vezetes,
    div#muszaki-ellenorzes,
    div#tanacsadas,
    div#oktatas {
        scroll-margin-top: 50px;
    }

    section.flex-container:last-of-type {
        margin: 0;
        padding: 2rem 1rem 0.5rem;
        flex-direction: column;
        text-align: center;
        border-bottom: none;
        align-items: center;
    }

    /*---Button Styles---*/

    .btn-group {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 1rem 0;
    }

    .btn-group>.main-btn,
    .btn-group>.sec-btn {
        margin: 0.5rem 0;
    }

    /*---Footer Styles---*/

    ul.bottom-nav {
        padding: 0 0 0 1rem;
        margin: 1.5rem 0;
    }

    div.footer-body-section {
        text-align: left;
        margin: 0 1rem 1rem;
        min-width: 200px;
    }

    br.line-break {
        display: inline-block;
    }

    span.word-space {
        display: none;
    }

    /*---Helper Styles---*/

    .order-3-half {
        order: 4;
    }

    .order-4-half {
        order: 3;
    }

    div.half-container.text-half {
        max-width: 100%;
    }

    div.half-container.img-half {
        max-width: 100%;
    }
}