/* Theme Name: Build It */

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;
        }

        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 {
            font-family: 'Barlow', sans-serif;
            padding: 0;
            margin: 0;
        }

        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,0) 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; /*ez nem shadow hanem a második keret ami fehér*/

        }

       #partners{
           padding: 3rem 0;
       }

        #partners ul {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }

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

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

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

       footer h3 {
           color: #fff;
       }

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

       .dashed {
           position: relative;
           overflow: hidden;
           text-transform: uppercase;
           margin-bottom: 2rem;
       }

       .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, transparent 5px, transparent 10px );
       }

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

       #hero {
           background-position: top center;
           background-repeat: no-repeat;
           background-size: cover;
           padding: 8vw 0;
       }

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

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

       .home section {
           padding: 5vw 0;
       }

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

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

       .arrow-left:before,  .arrow-left:after{
           content: "";
           display: block;
           width: 0px;
           height: 0px;
           border-style: solid;
           position: absolute;
             transform: rotate(0deg);
       }

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

       .arrow-left:after {
           border-width: 0 0 5vw 5vw;
           border-color: transparent transparent #FFFFFF transparent;
           bottom: 0;
           right: 0;
           z-index: 2;
       }

       .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); /*100%ból kivonjuk a két gap-et (3 elem között kettő van, majd elosztjuk 3-al vagyis 33,33%al*/
           background: var(--blue);
           color: #fff;
           list-style-type: none;
           padding: 6rem 1rem 1rem 1rem;
           margin: 0;
           text-align: center;
           font-weight: bold;
           background-position: top 1rem center;
           background-repeat: no-repeat;
           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);
       }

       #clients .wp-block-column h3{
           margin-top: 0;
           margin-bottom: 0.5rem;
       }

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

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

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

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

       #clients .wp-block-column:last-of-type:before{
           background-image: url(img/town-building.svg);
       }

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

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

       .how {
           overflow: hidden;
       }

       .how-img {
          margin-bottom: -8vw;
       }

       .how-img img {
           width: 80%;
           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: 250px;
       }

       .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 2rem 0 0;
        }

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

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

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

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


        #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 3px var(--light);
         }

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

        .comment-body p, .comment-body .reply{
            padding-left: 2rem;
        }

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

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


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

        /*.comment-list > li:{
            padding: 0;
        }   */

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

        .lapozo {
            display: flex;
            justify-content: center;
            align-items: center;
        }

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

        .pagination a, .pagination span {
            width: 2rem;
            height: 2rem;
            line-height: 2rem;
            display: block;
            border: solid 1px #fff;
            float: left;
            font-weight: bold;
        }

         .pagination .current {
             background: var(--blue);
             color: #fff;
        }

        .ad-banner {
             margin: 2rem 0;
             text-align: center;
        }

        aside h4 {
            margin: 0;
        }

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

         #searchform button {
            padding: 0.5rem;
         }

        #searchform svg {
            width: 15px;
            height: 15px;
        }

        #searchform svg path {
            fill: #fff;
        }

        #searchform input {
            min-width: 60%;
            margin-right: 1rem;
        }

        #searchform {
            margin: 0;
            padding: 0;
        }

        .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 h3 {
          margin-top: 0;
        }

       @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;
            }

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

            .col-2-list li{
                max-width: 100%;
            }

            .how-img img{
                display: none;
            }

            #partners li {
              width: 33.3333%;
              margin: 0 auto;
            }

            #page-title p, #page-title .post-tags {
                max-width: 80%;
            }

            .post-meta {
              display: block;
            }

            .post-meta li {
                margin: 0 0 10px 0;
            }

       }
