/*
Theme Name: Dev-2022
Theme URI: https://szollathedina.hu/
Author: Szólláth Edina
Author URI: https://szollathedina.hu/
Description: Basic Theme by Edina Szólláth
Tags: one-column, custom-colors, custom-menu
Version: 1.1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Dev-2022
*/

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 1.5rem 0;
}

td,
th {
    padding: 0.5rem 1rem;
    border: solid 1px #ddd;
}

th {
    background: var(--light);
    text-align: left;
}

ul,
ol {
    padding: 0;
}

ul ul,
ul ul ul,
ol ol,
ol ol ol {
    margin: 0.5rem 0;
}

ol ol,
ol ol ol {
    padding-left: 1rem;
}

ul li {
    list-style-type: disc;
    margin-bottom: 0.25rem;
    margin-left: 1rem;
    line-height: 1.3;
}

ul li::marker {
    color: var(--orange);
}

ol {
    list-style: none;
    counter-reset: my-counter;
}

ol li {
    counter-increment: my-counter;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    padding-left: 2rem;
    position: relative;
}

ol li::before {
    content: counter(my-counter) '.';
    background: var(--orange);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: inline-block;
    line-height: 1.5rem;
    color: white;
    text-align: center;
    margin-right: 0.5rem;
    position: absolute;
    left: 0;
    font-size: smaller;
}

.col-2-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.col-2-list li {
    width: calc((100% - 1rem) /2);
    margin-bottom: 1rem;
}


p {
    line-height: 1.5;
}

a {
    color: var(--orange);
    text-decoration: none;
}

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

:root {
    --orange: #F2663A;
    --blue: #183B7D;
    --light: #E7F3FC;
}

html {
    font-size: 18px;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--blue);
}

h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
}

h2 {
    font-size: 2rem;
    margin: 1.5rem 0 1rem 0;
}

h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
}

h4 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem 0;
}

h2 a,
h3 a,
h4 a {
    color: inherit;
}

blockquote,
q {
    quotes: none;
}

blockquote {
    background: var(--light);
    margin: 1.5rem 0;
    padding: 0.5rem 1.5rem;
    overflow: hidden;
    border-left: solid 5px var(--orange);
}

.align-center {
    text-align: center;
}

header {
    padding: 1.25rem 0;
    background: #fff;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
}

header .content-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    width: 170px;
}

#page-title {
    padding: 3rem 0;
    background: rgb(255, 255, 255);
    background: linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 80px, var(--light) 80px);
    margin-bottom: 2rem;
}

.border-text {
    background: rgb(255, 255, 255);
    background: linear-gradient(-45deg, var(--light) 0%, var(--light) 40px, #fff 40px);
    border: solid 5px var(--light);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 0 5px #fff;
}

#partners {
    padding: 3rem 0;
}

#partners ul {
    display: flex;
    gap: 3rem;
    /*flex-wrap: wrap; - valamiért ezzel nem működik*/
    align-items: center;
}

#partners li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: calc((100% / 8) - 3rem);
}

#partners li img {
    filter: grayscale(1);
    opacity: 0.5;
}

.shortcode-sidebar h4 {
    background: var(--light);
    padding: 1rem;
    margin: 1px 0 5px 0;
}

footer {
    background: var(--blue);
    color: #fff;
    padding: 3rem 0 0 0;
    margin-top: 2rem;
    font-size: smaller;
}

footer h3 {
    color: #fff;
}

.dashed {
    position: relative;
    overflow: hidden;
}

.dashed:before {
    position: absolute;
    bottom: 0;
    display: block;
    left: -5px;
    content: "";
    height: 5px;
    width: 60px;
    background-color: var(--orange);
    transform: skewX(-45deg);
}

.dashed:after {
    display: block;
    content: "";
    height: 5px;
    width: 100%;
    background-color: #eee;
    background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 5px, rgba(255, 255, 255, 0) 5px, rgba(255, 255, 255, 0) 10px);
}


#copyright {
    margin-top: 3rem;
    padding: 1rem 0;
    text-align: center;
    font-size: smaller;
    border-top: solid 1px rgba(255, 255, 255, 0.4);
}

#partners {
    padding: 3rem 0;
}

#partners ul {
    display: flex;
    gap: 3rem;
    /*flex-wrap: wrap; - valamiért ezzel nem működik*/
    align-items: center;
}

#partners li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: calc((100% / 8) - 3rem);
}

#partners li img {
    filter: grayscale(1);
    opacity: 0.5;
}

.home section {
    padding: 8vw 0;

}
.home h1{
    font-size: 2rem;
}
#hero {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

#hero .border-text {
    margin-bottom: 0;
    max-width: 36rem;
}

#hero .button {
    background-image: url(img/arrow-right.svg);
    background-position: center right 10px;
    background-repeat: no-repeat;
    background-size: auto 0.75rem;
    padding-right: 2rem;
}


.light-bg {
    background: var(--light);
}

.arrow-left,
.arrow-right {
    position: relative;
}


.arrow-left:before,
.arrow-left:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
}

.arrow-left:before {
    left: 0;
    top: -6vw;
    border-width: 6vw 0 0 6vw;
    border-color: transparent transparent transparent var(--light);
}

.arrow-left:after {
    bottom: 0;
    right: 0;
    border-width: 0 0 6vw 6vw;
    border-color: transparent transparent #fff transparent;
}

.arrow-right:before,
.arrow-right:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
}

.arrow-right:before {
    right: 0;
    top: -6vw;
    border-width: 0 0 6vw 6vw;
    border-color: transparent transparent var(--light) transparent;

}

.arrow-right:after {
    bottom: 0;
    left: 0;
    border-width: 6vw 0 0 6vw;
    border-color: transparent transparent transparent #fff;
}

.about-img > div {
    column-count: 2;
    column-gap: 5px;
}

.about-img figure {
    margin: 0 0 5px 0;
}

.about-icon {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;

}

.about-icon li {
    width: calc((100% - 2rem) /3);
    background: var(--blue);
    color: #fff;
    list-style-type: none;
    padding: 6rem 1rem 1rem 1rem;
    margin: 0;
    text-align: center;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: top 1rem center;
    background-size: 4rem auto;
}

.about-icon li:first-of-type {
    background-image: url(img/certificate.svg);
}

.about-icon li:nth-of-type(2) {
    background-image: url(img/quality.svg);
}

.about-icon li:last-of-type {
    background-image: url(img/architect.svg);
}

.houses .wp-block-column {
    position: relative;
    padding-left: 6rem;
}

.houses .wp-block-column:before {
    content: "";
    display: block;
    width: 4rem;
    height: 4rem;
    position: absolute;
    background-color: var(--blue);
    left: 1rem;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 2.5rem auto;
}

.houses .wp-block-column:first-of-type:before {
    background-image: url(img/detached.svg);
}

.houses .wp-block-column:nth-of-type(2):before {
    background-image: url(img/condos.svg);
}

.houses .wp-block-column:last-of-type:before {
    background-image: url(img/college.svg);
}



.houses h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.how-man{
    margin-bottom: -10vw!important;
}
.how-man img{
    width: 90%;
    height: auto;
}

.read-more {
    font-weight: bold;
}

.read-more svg {
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.read-more path {
    fill: var(--orange);
}

#services .border-text {
    min-height: 320px;
}
#referencies .border-text {
    min-height: 320px;
}
.accordion {
    margin: 0 0 2rem 0;
    clear: both;
}

.accordion .accordion-content {
    display: none;
}

.accordion .accordion-title h2,
.accordion .accordion-title h3,
.accordion .accordion-title h4 {
    margin: 0;
}

.accordion .accordion-title {
    cursor: pointer;
    margin: 0;
    line-height: 1.3;
    border-bottom: solid 1px #ddd;
    color: inherit;
    padding: 0.65rem 0.5rem 0.65rem 2rem;
    position: relative;
}

.accordion .accordion-title:after {
    border-style: solid;
    border-width: 2px 2px 0 0;
    content: "";
    display: inline-block;
    height: 0.6rem;
    width: 0.6rem;
    background: transparent;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -0.3rem;
    transform: rotate(45deg);
    vertical-align: top;
}

.accordion .accordion-title.active,
.accordion .accordion-title:hover {
    color: var(--orange);
}

.accordion .active h4 {
    border-bottom: none;
}

.accordion .accordion-title.active:after,
.accordion .accordion-title:hover:after {
    transform: rotate(135deg);
    left: 0.25rem;
    margin-top: -0.35rem;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.accordion .accordion-content {
    margin: 0;
    padding: 1rem 2rem;
    overflow: hidden;
    border-bottom: solid 1px #ddd;
}

.accordion .accordion-content p {
    line-height: 1.4 !important;
}

.accordion .accordion-content p:last-of-type {
    margin: 0 !important;
}

.post-meta {
    display: flex;
}

.post-meta li {

    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-right: 2rem;
}

.post-meta li svg {
    width: 1rem;
    height: 1rem;
    vertical-align: baseline;
    margin-right: 0.25rem;

}

.post-meta li path {
    fill: var(--orange);

}

.post-tags {
    border-top: solid 2px var(--light);
    padding-top: 1rem;

}

.post-tags a,
.wp-block-tag-cloud a {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.75rem !important;

}

#author {
    display: flex;
}

#author div:first-of-type {
    flex-basis: 8rem;
    flex-grow: 0;
    flex-shrink: 0;
}

.avatar {
    width: 6.5rem;
    height: auto;
    border-radius: 50%;
    border-top: solid 2px var(--light);

}

.comment-body {
    border-bottom: solid 1px #eee;
}

.comment-body p {
    padding-left: 1rem;
}

.comment-author,
.comment-meta {
    display: inline-block;
    margin-right: 1rem;
}

.comment-author img {
    width: 2rem;
    margin-right: 0.25rem;
}

.comment-list {}

.comment-list li {}

.comment-list li:before {
    content: none;
}

.comment-list > li {
    margin-bottom: 1rem;
}

#related-posts img {
    margin-bottom: 1rem;
}

.pagination {
    text-align: center;
    display: inline-block;
    height: 2rem;
    margin: 0 auto;
    background: var(--light);
}

.pagination a,
.pagination span {

    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    display: block;
    border: solid 1px #fff;
    font-weight: bold;
    float: left;
}

.pagination .current {
    background: var(--blue);
    color: white;

}

.ad-banner {

    margin-bottom: 1rem;
    height: 8rem;
    text-align: center;
    background: var(--light);

}

aside > div {
    background: var(--light);
    padding: 1rem;
    margin-bottom: 1rem;
}

.tanusitvany figure:first-of-type,
.tanusitvany figure:nth-of-type(2) {
    display: inline-block;
    width: 40%;
    max-width: 150px;
}

.tanusitvany figure:last-of-type {
    max-width: 200px;
}


.kapcsolat-info {
    background: rgb(255, 255, 255);
    background: linear-gradient(-45deg, var(--light) 0%, var(--light) 40px, #fff 40px);
    border: solid 5px var(--light);
    padding: 1rem;
    margin-bottom: 2rem;
}

.kapcsolat-info h4 {
    margin-top: 0;
}

.kapcsolat-info img {
    border-radius: 50%;
    width: 100px;
    height: auto;
    float: right;
}

@media only screen and (max-width: 768px) {
    html {
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2,
    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    #page-title {
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }

    .border-text {
        padding: 0.75rem;
    }
}