/*
Theme Name: Az Adótanácsadó
Description: Az oldalhoz készült egyedi sablon
Text Domain: az-adotanacsado
Version: 1.0.0
*/

@font-face {
    font-family: 'icomoon';
    src:  url('./assets/theme/font/icomoon.eot?pa999r');
    src:  url('./assets/theme/font/icomoon.eot?pa999r#iefix') format('embedded-opentype'),
    url('./assets/theme/font/icomoon.ttf?pa999r') format('truetype'),
    url('./assets/theme/font/icomoon.woff?pa999r') format('woff'),
    url('./assets/theme/font/icomoon.svg?pa999r#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'main';
    src: url('./assets/theme/font/axiforma-light.woff2') format('woff2'),
    url('./assets/theme/font/axiforma-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'main';
    src: url('./assets/theme/font/axiforma-book.woff2') format('woff2'),
    url('./assets/theme/font/axiforma-book.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'main';
    src: url('./assets/theme/font/axiforma-book-italic.woff2') format('woff2'),
    url('./assets/theme/font/axiforma-book-italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'main';
    src: url('./assets/theme/font/axiforma-medium.woff2') format('woff2'),
    url('./assets/theme/font/axiforma-medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'main';
    src: url('./assets/theme/font/axiforma-bold.woff2') format('woff2'),
    url('./assets/theme/font/axiforma-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'main';
    src: url('./assets/theme/font/axiforma-extrabold.woff2') format('woff2'),
    url('./assets/theme/font/axiforma-extrabold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}

@keyframes scale-down-and-rotate-full {
    0% {
        transform: scale(1) rotate(0);
    }

    10% {
        transform: scale(0.9) rotate(0);
    }

    90% {
        transform: scale(0.9) rotate(360deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

.mm-spn.mm-spn--light {
    background: #e93a46;
    color: #ffffff;
}

.mm-spn.mm-spn--navbar::after {
    opacity: 0.9;
}

.wp-block-image .aligncenter img,
.wp-block-image .alignleft img,
.wp-block-image .alignright img {
    display: block;
    height: auto;
}

.wp-block-group + .wp-block-group {
    margin-top: 48px;
}

.wp-block-group::after {
    display: block;
    clear: both;
    content: "";
}

@media screen and (max-width: 639px) {
    .wp-block-image .alignleft,
    .wp-block-image .alignright {
        float: none;
        margin: 1em auto;
    }
}

@media screen and (min-width: 640px) {
    .wp-block-image .alignleft,
    .wp-block-image .alignright {
        margin-top: 0;
    }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
    .wp-block-image .alignleft,
    .wp-block-image .alignright {
        max-width: 50%;
    }
}

@media screen and (min-width: 1024px) {
    .wp-block-image .alignleft,
    .wp-block-image .alignright {
        max-width: 33.3333%;
    }
}

.icon-address,
.icon-email,
.icon-facebook,
.icon-linkedin,
.icon-phone,
.icon-website {
    display: inline-block;
    vertical-align: middle;
    margin-right: 17px;
    width: 64px;
    height: 64px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-address {
    background-image: url("./assets/theme/img/icon-address.png");
}

.icon-email {
    background-image: url("./assets/theme/img/icon-email.png");
}

.icon-facebook {
    background-image: url("./assets/theme/img/icon-facebook.png");
}

.icon-linkedin {
    background-image: url("./assets/theme/img/icon-linkedin.png");
}

.icon-phone {
    background-image: url("./assets/theme/img/icon-phone.png");
}

.icon-website {
    background-image: url("./assets/theme/img/icon-website.png");
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.screenreader-only,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #000;
    font-family: main, sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
}

@media screen and (min-width: 1920px) {
    #page-container {
        margin-right: auto;
        margin-left: auto;
        width: 1920px;
    }
}

@media screen and (max-width: 479px) {
    .container {
        padding-right: 8px;
        padding-left: 8px;
    }
}

@media screen and (min-width: 480px) and (max-width: 799px) {
    .container {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media screen and (min-width: 800px) and (max-width: 1345px) {
    .container {
        margin-right: 40px;
        margin-left: 40px;
    }
}

@media screen and (min-width: 1346px) {
    .container {
        margin-right: auto;
        margin-left: auto;
        width: 1266px;
    }
}

#header-fixed {
    position: fixed;
    top: 0;
    z-index: 2;
    width: 100%;
}

#header-top {
    height: 46px;
    overflow-y: hidden;
    background-color: #e8303c;
    transition: height 0.5s ease-in-out;
}

.scroll #header-top {
    height: 0;
}

#header-top-container {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header-contact,
#header-social {
    display: flex;
}

#header-social {
    margin-left: 50px;
}

.header-contact-link,
.header-social-link {
    display: flex;
    align-items: center;
    color: #fff;
    line-height: 18px;
    font-size: 14px;
}

.header-contact-link + .header-contact-link,
.header-social-link + .header-social-link {
    margin-left: 50px;
}

.header-contact-icon,
.header-social-icon {
    height: 26px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#header-phone-icon {
    margin-right: 5px;
    width: 24px;
    background-image: url("./assets/theme/img/header-phone-icon.png");
}

#header-email-icon {
    margin-right: 10px;
    width: 26px;
    background-image: url("./assets/theme/img/header-email-icon.png");
}

#header-facebook-icon {
    margin-right: 2px;
    width: 15px;
    background-image: url("./assets/theme/img/header-facebook-icon.png");
}

#header-linkedin-icon {
    margin-right: 5px;
    width: 26px;
    background-image: url("./assets/theme/img/header-linkedin-icon.png");
}

#header-middle {
    background: #387bb9;
}

#header-language-selector::after {
    display: block;
    clear: left;
    content: "";
}

#header-language-selector a {
    float: left;
    width: 28px;
    height: 22px;
    transition: opacity 0.2s ease;
}

#header-language-selector a:nth-child(n + 2) {
    margin-left: 13px;
}

#header-language-selector a:hover {
    opacity: 0.8;
}

#header-language-selector img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

#mobile-menu-toggle {
    border: 0 none;
    border-radius: 4px;
    background: #e93a46;
    padding: 9px 11px;
}

#mobile-menu-toggle .menu-icon-bar {
    display: block;
    width: 19px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
}

#mobile-menu-toggle .menu-icon-bar + .menu-icon-bar {
    margin-top: 3px;
}

#searchform::after {
    display: block;
    clear: left;
    content: "";
}

#searchform input[type="text"] {
    float: left;
    height: 34px;
    border: 1px solid #fff;
    border-right: 0 none;
    padding: 4px 12px;
    background: transparent;
    color: #fff;
    line-height: 24px;
    font-size: 18px;
    font-family: inherit;
}

#searchform input[type="submit"] {
    float: left;
    width: 95px;
    height: 34px;
    border: 0 none;
    background: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #2d6294;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

@media screen and (max-width: 479px) {
    #header-middle {
        padding-bottom: 5px;
    }

    #header-search {
        clear: both;
    }

    #searchform input[type="text"] {
        width: calc(100% - 95px);
    }
}

@media screen and (min-width: 480px) and (max-width: 1259px) {
    #header-middle {
        padding-bottom: 10px;
    }

    #header-search {
        margin-left: 79px;
    }
}

@media screen and (min-width: 480px) and (max-width: 567px) {
    #searchform input[type="text"] {
         width: 205px;
     }
}

@media screen and (min-width: 568px) {
    #searchform input[type="text"] {
        width: 260px;
    }
}

@media screen and (max-width: 639px) {
    .header-contact-icon {
        margin-right: 0 !important;
    }

    .header-contact-link-label {
        display: none;
    }
}

@media screen and (max-width: 1023px) {
    .header-social-icon {
        margin-right: 0 !important;
    }

    .header-social-link-label {
        display: none;
    }
}

@media screen and (max-width: 1259px) {
    #header-middle::after {
        content: "";
        display: block;
        clear: both;
    }

    #header-language-selector {
        float: left;
        margin-top: 15px;
    }

    #mobile-menu-toggle {
        float: right;
        margin-top: 9px;
    }

    #header-search {
        padding-top: 10px;
    }

    #header-menu {
        display: none;
    }
}

@media screen and (min-width: 1260px) {
    #header-middle-container {
        position: relative;
    }

    #header-middle-container::after {
        display: block;
        clear: left;
        content: "";
    }

    #header-language-selector {
        float: left;
        margin-top: 22px;
    }

    #mobile-menu,
    #mobile-menu-toggle {
        display: none;
    }

    #header-search {
        float: right;
        margin-top: 15px;
        width: 355px;
    }

    #header-menu {
        margin-right: 406px;
        margin-left: 87px;
    }

    #header-menu-items {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        justify-content: space-between;
        font-size: 17px;
        font-weight: 300;
    }

    #header-menu-items > li {
        position: relative;
        padding-bottom: 12px;
    }

    #header-menu-items > li ul {
        list-style: none;
        background: #e82f3b;
        color: #fff;
    }

    #header-menu-items > li > ul {
        display: none;
        position: absolute;
        top: 51px;
        left: 0;
        z-index: 1;
        padding: 25px;
        font-size: 16px;
        line-height: 18px;
    }

    #header-menu-items > li:hover > ul {
        display: block;
    }

    #header-menu-items > li.megamenu:hover > ul {
        display: flex;
    }

    #header-menu-items a,
    #header-menu-items .dropdown-toggle {
        display: block;
    }

    #header-menu-items > li.megamenu {
        position: static;
    }

    #header-menu-items > li > a,
    #header-menu-items > li > .dropdown-toggle {
        border-bottom: 2px solid transparent;
        padding: 22px 12px 4px;
        color: #fff;
        text-transform: uppercase;
    }

    #header-menu-items > li > .dropdown-toggle {
        cursor: pointer;
    }

    #header-menu-items > li > a:hover,
    #header-menu-items > li > .dropdown-toggle:hover {
        background-color: #e82f3b;
    }

    #header-menu-items li li .dropdown-toggle {
        text-transform: uppercase;
        margin-bottom: 12px;
    }

    #header-menu-items li li a {
        padding: 10px 11px;
        white-space: nowrap;
    }

    #header-menu-items li li a:hover {
        background: #2d6294;
        color: #fff;
    }

    #header-menu-items li ul ul {
        padding: 0;
    }

    #header-menu-items > li.megamenu > ul {
        width: 100%;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        padding: 0;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        line-height: 20px;
        font-size: 15px;
        transition: height 0.5s ease-in-out;
    }

    #header-menu-items > li.megamenu > ul > li {
        max-width: 427px;
        width: 33.3333%;
        padding: 30px 15px;
    }

    #header-menu-items > li.megamenu > ul > li:first-of-type,
    #header-menu-items > li.megamenu > ul > li:last-of-type {
        height: 100%;
    }

    #header-menu-items li.megamenu li a {
        padding: 8px 10px;
        white-space: normal;
    }
}

#header-bottom {
    position: relative;
    background: #fff;
}

#header-bottom::after {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    overflow-y: hidden;
    padding-bottom: 3.8542%;
    background: url("./assets/theme/img/separator-red-transparent-bottom.webp") center / cover no-repeat;
    content: "";
}

#header-logo {
    display: flex;
    justify-content: center;
}

#header-logo img {
    display: block;
    height: auto;
}

#header-certificates {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.header-certificate-link {
    display: block;
}

.header-certificate-image {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

.header-certificate-image:hover {
    animation: header-certificate-image-hover 0.6666s;
}

@keyframes header-certificate-image-hover {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

@media screen and (max-width: 479px) {
    #header-bottom {
        margin-top: 158px;
    }

    #header-logo-image {
        width: 180px;
    }

    #header-certificates {
        margin-top: 22px;
        top: 7px;
    }

    .header-certificate {
        padding-right: 7px;
        padding-left: 7px;
    }
}


@media screen and (min-width: 480px) and (max-width: 767px) {
    #header-certificates {
        margin-top: 15px;
        top: 14px;
    }

    .header-certificate {
        padding-right: 14px;
        padding-left: 14px;
    }
}

@media screen and (min-width: 480px) and (max-width: 1023px) {
    #header-bottom {
        margin-top: 121px;
    }

    #header-logo-image {
        width: 210px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    #header-certificates {
        margin-top: 8px;
        top: 21px;
    }

    .header-certificate {
        padding-right: 21px;
        padding-left: 21px;
    }
}

@media screen and (min-width: 1024px){
    #header-logo-image {
        width: 251px;
    }

    #header-certificates {
        margin-top: 1px;
        top: 28px;
    }

    .header-certificate {
        padding-right: 35px;
        padding-left: 35px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1259px) {
    #header-bottom {
        margin-top: 121px;
    }
}

@media screen and (min-width: 1260px) {
    #header-bottom {
        margin-top: 131px;
    }
}


.home-section-centered {
    text-align: center;
}

.home-section-centered h1 {
    margin-top: 0;
    margin-bottom: 51px;
    line-height: 48px;
    font-weight: 500;
    text-transform: uppercase;
}

.home-section-centered p {
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0;
}

.home-section-centered p + p {
    margin-top: 24px;
}

@media screen and (max-width: 479px){
    .home-section-centered h1 {
        font-size: 32px;
    }
}

@media screen and (min-width: 480px) {
    .home-section-centered h1 {
        font-size: 45px;
    }
}

.home-section-filled {
    position: relative;
    background: #fff;
}

.home-section-filled::before,
.home-section-filled::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 0;
    overflow-y: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    content: "";
}

.home-section-filled::before {
    bottom: 100%;
    padding-bottom: 7.7083%;
    background-image: url("./assets/theme/img/separator-blue-transparent-top.webp");
    background-position: bottom center;
}

.home-section-filled::after {
    top: 100%;
    padding-bottom: 3.8542%;
    background-image: url("./assets/theme/img/separator-red-transparent-bottom.webp");
    background-position: top center;
}

.home-section-transparent {
    height: 0;
    overflow-y: hidden;
    z-index: -1;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

@media screen and (max-width: 639px) {
    .home-section-transparent {
        padding-bottom: 80%;
    }
}

@media screen and (min-width: 640px) and (max-width: 799px) {
    .home-section-transparent {
        padding-bottom: 75%;
    }
}

@media screen and (min-width: 800px) and (max-width: 1199px) {
    .home-section-transparent {
        padding-bottom: 50%;
    }
}

@media screen and (min-width: 1200px) {
    .home-section-transparent {
        padding-bottom: 37.2396%;
    }
}

#home-section-0 {
    padding-top: 110px;
    padding-bottom: 165px;
}

.home-service-link {
    display: block;
}

.home-service-image-container {
    position: relative;
    aspect-ratio: 380/381;
    overflow: hidden;
}

.home-service-background-image,
.home-service-image {
    position: absolute;
    top: 0;
    left: 50%;
    max-width: 380px;
    width: 100%;
    height: auto;
    transform: translateX(-50%);
}

@keyframes service-backgroud-image-hover {
    from {
        transform: translateX(-50%) rotate(0);
    }
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

.home-service-link:hover {
    .home-service-background-image {
        animation: 1s service-backgroud-image-hover;
    }
}

.home-service-name {
    margin-top: 6px;
    padding-right: 15px;
    padding-left: 15px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
}

@media screen and (max-width: 567px) {
    #home-services-container {
        margin-right: auto;
        margin-left: auto;
        max-width: 314px;
    }
}

@media screen and (min-width: 568px) {
    #home-services-container {
        display: flex;
        justify-content: space-between;
    }
}

@media screen and (min-width: 568px) and (max-width: 1023px) {
    #home-services-container {
        margin-right: auto;
        margin-left: auto;
        max-width: 678px;
        flex-wrap: wrap;
    }

    .home-service {
        width: calc(50% - 25px);
    }
}

@media screen and (min-width: 1024px) and (max-width: 1359px) {
    .home-service {
        width: 25%;
    }
}

@media screen and (max-width: 1359px) {
    .home-service-name {
        line-height: 24px;
        font-size: 20px;
    }
}

@media screen and (min-width: 1360px) {
    #home-services-container {
        margin-right: -34px;
        margin-left: -34px;
    }

    .home-service {
        width: calc(25%);
    }

    .home-service-name {
        line-height: 31px;
        font-size: 26px;
    }
}

#home-section-1 {
    padding-top: 102px;
    padding-bottom: 118px;
}

#home-section-2 {
    position: relative;
    background-image: url("./assets/theme/img/home-section-2-background.png");
}

#home-section-2-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#home-section-2 .container {
    height: 100%;
}

#home-section-2-text-container {
    position: relative;
    height: 100%;
    overflow-x: hidden;
}

#home-section-2-text {
    position: absolute;
    top: 50%;
    left: 0;
    width: 50%;
    font-weight: 800;
    text-transform: uppercase;
    transform: translateY(-55%);
}

#home-section-2-text .animation-container {
    transform: translateX(-100%);
    transition: transform 0.6666s ease-out;
}

#home-section-2-text.animate-in .animation-container {
    transform: translateX(0);
}

@media screen and (max-width: 479px) {
    #home-section-2-text {
        font-size: 15px;
        line-height: 18px;
    }
}

@media screen and (min-width: 480px) and (max-width: 639px) {
    #home-section-2-text {
        font-size: 20px;
        line-height: 24px;
    }
}

@media screen and (min-width: 640px) and (max-width: 799px) {
    #home-section-2-text {
        font-size: 25px;
        line-height: 30px;
    }
}

@media screen and (min-width: 800px) and (max-width: 1279px) {
    #home-section-2-text {
        font-size: 30px;
        line-height: 36px;
    }
}

@media screen and (min-width: 1280px) and (max-width: 1345px) {
    #home-section-2-text {
        font-size: 35px;
        line-height: 42px;
    }
}

@media screen and (min-width: 1346px) and (max-width: 1419px) {
    #home-section-2-text {
        font-size: 40px;
        line-height: 48px;
    }
}

@media screen and (min-width: 1420px) and (max-width: 1579px) {
    #home-section-2-text {
        font-size: 45px;
        line-height: 54px;
    }
}

@media screen and (min-width: 1580px) {
    #home-section-2-text {
        font-size: 50px;
        line-height: 60px;
    }
}

#home-section-3 {
    padding-top: 112px;
    padding-bottom: 120px;
}

#home-benefits {
    margin-top: 46px;
}

#home-benefits-container {
    margin-right: auto;
    margin-left: auto;
}

.home-benefit-image {
    display: block;
    margin-right: auto;
    margin-left: auto;
    max-width: 190px;
    width: 100%;
    height: auto;
}

.home-benefit:hover .home-benefit-image {
    animation: 1s scale-down-and-rotate-full;
}

.home-benefit-text {
    margin-top: 20px;
    text-transform: uppercase;
    line-height: 31px;
    font-size: 26px;
    font-weight: 800;
}

@media screen and (max-width: 767px) {
    .home-benefit + .home-benefit {
        margin-top: 40px;
    }
}

@media screen and (min-width: 599px) {
    #home-benefits-container {
        display: flex;
        justify-content: space-between;
    }
}

@media screen and (min-width: 600px) and (max-width: 1199px) {
    #home-benefits-container {
        flex-wrap: wrap;
        max-width: 600px;
    }

    .home-benefit {
        width: calc(50% - 20px);
    }

    .home-benefit:nth-child(n + 3) {
        margin-top: 40px;
    }
}

@media screen and (min-width: 1200px) {
    #home-benefits-container {
        max-width: 1200px;
    }

    .home-benefit {
        width: calc(25% - 24px);
    }
}

#home-section-4 {
    position: relative;
    background-image: url("assets/theme/img/home-section-4-background.png");
}

#home-section-4-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#home-section-4 .container {
    height: 100%;
}

#home-section-4-text-container {
    position: relative;
    height: 100%;
}

#home-section-4-text {
    position: absolute;
    top: 50%;
    right: 0;
    width: 60%;
    transform: translateY(-55%);
    font-weight: 800;
    text-transform: uppercase;
    text-align: right;
}

#home-section-4-text .animation-container {
    transform: translateX(100%);
    transition: transform 0.6666s ease-out;
}

#home-section-4-text.animate-in .animation-container {
    transform: translateX(0);
}

@media screen and (max-width: 359px) {
    #home-section-4-text {
        font-size: 14px;
        line-height: 16px;
    }
}

@media screen and (min-width: 360px) and (max-width: 479px) {
    #home-section-4-text {
        font-size: 15px;
        line-height: 18px;
    }
}

@media screen and (min-width: 480px) and (max-width: 639px) {
    #home-section-4-text {
        font-size: 20px;
        line-height: 24px;
    }
}

@media screen and (min-width: 640px) and (max-width: 1279px) {
    #home-section-4-text {
        font-size: 25px;
        line-height: 30px;
    }
}

@media screen and (min-width: 1280px) and (max-width: 1345px) {
    #home-section-4-text {
        font-size: 30px;
        line-height: 36px;
    }
}

@media screen and (min-width: 1346px) and (max-width: 1579px) {
    #home-section-4-text {
        font-size: 35px;
        line-height: 42px;
    }
}

@media screen and (min-width: 1580px) {
    #home-section-4-text {
        font-size: 40px;
        line-height: 48px;
    }
}

#home-section-5 {
    padding-top: 105px;
    padding-bottom: 112px;
}

main a {
    color: #387bb9;
}

main p.highlight {
    clear: right;
    background: #387bb9;
    padding: 1em;
    color: #fff;
    font-weight: 700;
}

.page main,
.archive main,
.single main,
.search main {
    margin-top: 144px;
}

.page main h1,
.archive main h1,
.single main h1,
.search main h1 {
    font-weight: 700;
}

.page main h1,
.page main p,
.page main ul,
.page main ol,
.single main h1,
.single main p,
.single main ul,
.single main ol,
.search main h1 {
    margin-top: 0;
    margin-bottom: 24px;
}

.single main h2 {
    font-size: 24px;
    line-height: 28px;
    margin-top: 0;
    margin-bottom: 20px;
}

.single main h3 {
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 28px;
    font-size: 20px;
}

.page main .wp-post-image,
.single main .wp-post-image {
    border: 1px solid #888;
}

.page-template-page-contact main p {
    margin-bottom: 27px;
}

@media screen and (max-width: 489px) {
    .page main h1,
    .archive main h1,
    .single main h1,
    .search main h1 {
        font-size: 28px;
        line-height: 38px;
    }
}

@media screen and (min-width: 480px) and (max-width: 639px) {
    .page main h1,
    .archive main h1,
    .single main h1,
    .search main h1 {
        font-size: 32px;
        line-height: 38px;
    }
}

@media screen and (min-width: 640px) {
    .page main h1,
    .archive main h1,
    .single main h1,
    .search main h1 {
        font-size: 45px;
        line-height: 53px;
    }
}

@media screen and (max-width: 799px) {
    .page main .wp-post-image,
    .single main .wp-post-image {
        display: block;
        margin-bottom: 48px;
        width: 100%;
        height: auto;
    }
}

@media screen and (min-width: 800px) {
    .page main .wp-post-image,
    .single main .wp-post-image {
        float: right;
        margin-bottom: 24px;
        margin-left: 36px;
        width: auto;
        height: auto;
    }
}

@media screen and (min-width: 800px) and (max-width: 1199px) {
    .page main .wp-post-image,
    .single main .wp-post-image {
        max-width: 33.33333%;
    }
}

@media screen and (min-width: 1200px) {
    .page main .wp-post-image,
    .single main .wp-post-image {
        max-width: 50%;
    }
}

.page-template-default main .container >  p:first-of-type:not(:last-child) {
    margin-bottom: 44px;
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
}

.page-template-default main li + li,
.single main li + li {
    margin-top: 12px;
}

@media screen and (min-width: 800px) {
    .page-template-default main p,
    .page-template-default main ul,
    .archive main p,
    .single main p,
    .single main ul,
    .search main p {
        text-align: justify;
    }

    .page-template-default main .has-text-align-center,
    .archive main .has-text-align-center,
    .single main .has-text-align-center,
    .search main .has-text-align-center {
        text-align: center;
    }

    .page-template-default main .has-text-align-left,
    .archive main .has-text-align-left,
    .single main .has-text-align-left,
    .search main .has-text-align-left {
        text-align: left;
    }
}
.archive main h1 {
    margin-bottom: 48px;
}

.archive main article + article,
.search main article + article {
    margin-top: 72px;
}

.archive main article h1,
.search main article h1{
    margin-bottom: 24px;
    font-size: 30px;
    line-height: 36px;
}

.post-date {
    color: #333;
    font-size: 18px;
}

.single .post-date {
    margin-bottom: 12px;
}

#search-results-count {
    margin-bottom: 48px;
    font-style: italic;
}

#action-link-wrapper {
    margin-top: 48px;
    padding-right: 8px;
    padding-left: 8px;
    text-align: center;
}

#action-link-wrapper-inner {
    display: inline-block;
    max-width: 100%;
}

#quote-request-link,
#newsletter-signup-link {
    display: block;
    width: 382px;
    max-width: 100%;
    padding: 20px;
    background-color: #e93646;
    background-image: linear-gradient(to right, #387bb9, #387bb9 50%, #e93646 50%, #e93646);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    transition: background-position 0.5s ease-in;
}

#quote-request-link:hover,
#newsletter-signup-link:hover {
    background-position: 0 0;
}

@media screen and (max-width: 959px) {
    #newsletter-signup-link {
        margin-top: 20px;
    }
}

@media screen and (min-width: 960px) {
    #action-link-wrapper-inner::after {
        display: block;
        clear: left;
        content: "";
    }

    #quote-request-link,
    #newsletter-signup-link {
        float: left;
    }

    #newsletter-signup-link {
        margin-left: 40px;
    }
}

#footer {
    position: relative;
    z-index: 1;
    color: #fff;
}

#footer a {
    color: inherit;
}

#footer-separator {
    padding-bottom: 3.8542%;
    overflow-y: hidden;
    background: url("./assets/theme/img/footer-background.png") center / contain no-repeat;
}

#footer-content {
    background: linear-gradient(to bottom, #2f6598, #377ab7);
    padding-top: 70px;
    padding-bottom: 66px;
}

#footer-legal {
    line-height: 18px;
    font-size: 14px;
}

#footer-legal p {
    margin: 0;
}

@media screen and (min-width: 1024px) {
    #footer-legal {
        text-align: center;
    }
}

#footer-dsp {
    margin-top: 50px;
}

#footer-dsp-text p {
    margin: 0;
}

#footer-dsp-logos {
    margin-top: 35px;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 1023px) {
    #footer-dsp-logos {
        flex-direction: column;
    }

    .footer-dsp-logo-image {
        max-width: 290px;
    }

    .footer-dsp-logo-image + .footer-dsp-logo-image {
        margin-top: 50px;
    }
}

@media screen and (min-width: 1024px) {
    #footer-dsp-logos {
        justify-content: space-evenly;
    }

    #footer-dsp-text {
        text-align: center;
    }
}

#footer-menu {
    margin-top: 80px;
}

#footer-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer-menu-items > li {
    padding-right: 10px;
    padding-left: 10px;
}

#footer-menu-items > li > a,
#footer-menu-items > li > span {
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

#footer-menu li li {
    font-size: 18px;
}

#footer-menu-items li li + li {
    margin-top: 6px;
}

@media screen and (max-width: 767px) {
    #footer-menu-items > li + li {
        margin-top: 40px;
    }
}

@media screen and (min-width: 768px) {
    #footer-menu-items {
        margin-right: -10px;
        margin-left: -10px;
        display: flex;
        justify-content: space-between;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    #footer-menu-items {
        flex-wrap: wrap;
    }

    #footer-menu-items > li {
        width: 50%;
    }

    #footer-menu-items > li:nth-child(n + 3) {
        margin-top: 40px;
    }
}

#footer-logo {
    margin-top: 72px;
    display: flex;
    justify-content: center;
}

#footer-logo img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

.pager {
    margin-top: 72px;
    text-align: center;
}

@media screen and (max-width: 359px) {
    .pager {
        font-size: 16px;
    }
}

.read-more {
    text-align: right;
}

.content-overlay {
    position: relative;
    top: -96px;
    height: 76px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 1));
}

#newsletter-subscription {
    margin-right: auto;
    margin-left: auto;
    max-width: 633px;
    padding: 48px;
    background: #377ab7;
    color: #fff;
}

#newsletter-subscription-heading {
    text-align: center;
    font-weight: 700;
}

#newsletter-subscription-text {
    margin-top: 24px;
    font-size: 16px;
}

#newsletter-subscription-form {
    margin-top: 24px;
    margin-right: auto;
    margin-left: auto;
    max-width: 358px;
}

#newsletter-subscription-form .form-control + .form-control {
    margin-top: 12px;
}

#newsletter-subscription-form label {
    font-size: 18px;
}

#newsletter-subscription-form input {
    height: 32px;
    border: 0 none;
    padding-right: 4px;
    padding-left: 4px;
}

#newsletter-subscription-form .form-actions {
    margin-top: 48px;
    text-align: center;
}

#newsletter-subscription-form .form-actions button {
    border: 0 none;
    padding: 12px 24px;
    background: #e93646;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

#newsletter-subscription-form .form-validation-error {
    clear: both;
    padding-top: 12px;
    color: #ff9463;
    font-size: 16px;
}

@media screen and (max-width: 639px) {
    #newsletter-subscription-form label {
        display: block;
    }

    #newsletter-subscription-form input {
        display: block;
        width: 100%;
    }
}

@media screen and (min-width: 640px) {
    #newsletter-subscription-form .form-control::after {
        display: block;
        clear: both;
        content: "";
    }

    #newsletter-subscription-form label {
        float: left;
        width: 50%;
        padding-top: 4px;
    }

    #newsletter-subscription-form input {
        float: right;
        width: 50%;
    }
}

#nf-form-3-cont .nf-form-content {
    max-width: 633px;
}

#lgdpr-modal a {
    color: #387bb9;
}

#lgdpr-accept-all-button {
    background: #e93646;
    color: #fff;
}

#lgdpr-accept-all-button:hover {
    filter: brightness(0.9);
}

.TurnKeyCRM {
    max-width: 633px;
    padding-bottom: 72px;
}

.TurnKeyCRM fieldset {
    border: 0;
    padding: 0.01em 0 0 0;
    margin: 0;
    min-width: 0;
}
.TurnKeyCRM body:not(:-moz-handler-blocked) fieldset {
    display: table-cell;
}

.TurnKeyCRM fieldset + fieldset {
    margin-top: 48px;
}

.TurnKeyCRM .InputBlock + .InputBlock {
    margin-top: 12px;
}

.TurnKeyCRM legend {
    padding: 0;
    display: table;
    font-weight: 700;
    margin-bottom: 24px;
}

.TurnKeyCRM label {
    display: inline-block;
}

.TurnKeyCRM label.Required::after,
.TurnKeyCRM .CheckBoxLabel.Required::after {
    content: "*";
    color: #e93646;
}

#Project_MiIrantErdeklodik2_1427 .SetLabel {
    margin-top: 6px;
}

.TurnKeyCRM input[type="text"],
.TurnKeyCRM textarea {
    display: block;
    width: 100%;
    border: 1px solid #bbb;
    padding: 5px 6px;
    color: #333;
    line-height: 24px;
    font-size: 20px;
}

.TurnKeyCRM input[type="text"] {
    height: 36px;
}

.TurnKeyCRM textarea {
    height: 144px;
}

.TurnKeyCRM .Description {
    font-size: 16px;
}

.TurnKeyCRM .Response {
    margin-top: 24px;
}

.TurnKeyCRM .ResponseError {
    color: #e93a46;
}

.TurnKeyCRM input[type="submit"] {
    display: inline-block;
    margin-top: 24px;
    border: 0 none;
    padding: 12px 36px;
    background: #e93646;
    color: #fff;
    white-space: normal;
    text-transform: uppercase;
    line-height: 24px;
    font-size: 20px;
    font-weight: 500;
}

.membership-logo-container .wp-block-image,
.membership-logo-container > p {
    padding: 10px;
    width: 175px;
}

.ceginformacio-rating-widget-io {
    width: 155px;
}

.child-page-items {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.child-page-item {
    margin-top: 0;
}

.child-page-link {
    display: block;
}

.child-page-icon-image {
    display: block;
    margin-right: auto;
    margin-left: auto;
    max-width: 240px;
    width: 100%;
    height: auto;
}

.child-page-link:hover .child-page-icon-image {
    animation: 1s scale-down-and-rotate-full;
}

.child-page-title {
    margin-top: 24px;
    text-align: center;
}

@media screen and (max-width: 479px) {
    .child-page-item {
        width: 100%;
    }

    .child-page-item + .child-page-item {
        margin-top: 48px;
    }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
    .child-page-item {
        width: 50%;
        padding: 24px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    .child-page-item {
        width: 33.33333%;
        padding: 30px;
    }
}

@media screen and (min-width: 1200px) {
    .child-page-item {
        width: 25%;
        padding: 30px;
    }
}