/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Alapok */
.entry-header,
.site-content {
  word-wrap: normal;
}

a {
  text-decoration: none;
}

.mb-30 {
  margin-bottom: 30px;
}

img {
  width: 100%;
  height: auto;
}

/* .wp-block-buttons .wp-block-button a {
  border-radius: 15px;
  padding: 12px 37px;
} */

.justify {
  text-align: justify;
}

.absolute {
  position: absolute;
}

/* TopBar  */
.top-bar .icon-row .gb-icon {
    background-color: var(--accent);
    border-radius: 100px;
    padding: 10px;
}

/* Menü */
nav ul li.smooth-scroll a {
    color: var(--contrast) !important;
}


/* Főoldal */
.index-jumbotron .absolute {
    inset: 0;
}
.index-jumbotron .absolute figure {
    height: 100%;
}
.index-jumbotron .main-text .gb-highlight {
    position: relative;
    display: inline-block;
    color: var(--zold);
    padding: 0 33px 0 30px;
    z-index: 2;
}
.index-jumbotron .main-text .gb-highlight::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff url('https://www.tempoautosiskola.hu/wp-content/uploads/2024/09/pattern_bg_1.png') repeat;
    z-index: -1;
    -webkit-transform: skew(-20deg);
    transform: skew(-20deg);
}
@media only screen and (max-width: 820px) {
    .index-jumbotron .main-text .gb-highlight {
        padding: 0 20px 0 20px;
    }
  }

.index-tanfolyamok .left {
    bottom: 0;
    left: 10px;
}
.index-tanfolyamok .right {
    bottom: 0;
    right: 10px;
}

.custom-button {
    overflow: hidden;
}
.custom-button::before {
    -webkit-transform: scale(0) rotate(0);
    transform: scale(0) rotate(0);
    content: "";
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 50%;
    background-color: var(--accent);
    z-index: -1;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    border-radius: 0;
}
.custom-button:hover::before {
    background-color: white;
    border-radius: 0;
    -webkit-transform: scale(1) rotate(360deg);
    transform: scale(1) rotate(360deg);
}
.custom-button::after {
    width: calc(50% + 3px);
    -webkit-transform: scale(0) rotate(0);
    transform: scale(0) rotate(0);
    left: unset;
    right: -1px;
    content: "";
    position: absolute;
    height: 100%;
    top: 0;
    /* left: 0; */
    /* width: 50%; */
    background-color: var(--accent);
    z-index: -1;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    border-radius: 0;
}
.custom-button:hover::after {
    background-color: white;
    border-radius: 0;
    -webkit-transform: scale(1) rotate(360deg);
    transform: scale(1) rotate(360deg);
}
.custom-button.black:hover::after, .custom-button.black:hover::before {
    background-color: var(--contrast);
}

.video-btn .gb-icon::before, .video-btn .gb-icon::after {
    background-color: transparent;
    border: 1px solid white;
    -webkit-animation-duration: var(--ripple-ani-duration);
    animation-duration: var(--ripple-ani-duration);
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: ripple;
    animation-name: ripple;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 50%;
    -webkit-transition: all ease 0.4s;
    transition: all ease 0.4s;
}
.video-btn .gb-icon {
    position: relative;
}
@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0;
    }

    30% {
        opacity: 0.4;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Form */
.inline-left {
    display: inline-block;
    /* float: left; */
    width: 50%;
}
.inline-right {
    display: inline-block;
    /* float: right; */
    float: inline-end;
    width: 45%;
}
.contact .form-row .form-box .nf-before-form-content {
    display: none;
}
.contact .form-row .form-box .kuldes .custom-button {
    display: inline-flex;
    z-index: 2;
    position: relative;
    font-size: 15px;
    text-transform: uppercase;
    padding: 16px 25px;
    margin-top: 30px;
    border-radius: 8px;
    background-color: var(--accent);
    color: #ffffff;
    text-decoration: none;
    height: auto;
}
.contact .form-row .map-box iframe {
    height: 815px;
}

.footer .main-row .col-title::after {
    border-radius: 10px;
    height: 3px;
    width: 112px;
    background-color: transparent;
    background-image: linear-gradient(to right, var(--accent) 0, var(--accent) 80px, transparent 80px, transparent 85px, var(--accent) 85px, var(--accent) 100px, transparent 100px, transparent 105px, var(--accent) 105px, var(--accent) 112px);
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
}

.jelentkezes-box .nf-before-form-content {
    display: none;
}
.contact-form-row .form-col form .gdpr label {
    z-index: 2;
  }