/*
Theme Name: Basic Theme
Theme URI: http://sajatoldalad.hu/sajat-theme
Author: Szintia Nemeth
Author URI: http://sajatoldalad.hu
Description: Basic Theme by Szintia Nemeth
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: basic-theme
*/


body{
	font-family:'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 16px;
	background-color: #f7f7f2;
	line-height: 1.7;
}

a{
	color: inherit;
	text-decoration: none;
}

a:hover{
	color: #ebbb53;
}

span{
	margin-right: 20px;
}

.button {
    font-size: 16px;
    font-weight: 600;
    background: #ebbb53;
    color: #ffffff;
    display: inline-block;
    height: 40px;
    line-height: 30px;
    padding: 5px 30px 5px 30px;
    position: relative;
    text-transform: uppercase;
	border-radius: 40px;
	margin-top: 10px;
}

.button:hover{
	background: #3a617c;
	color: #ffffff;
}

p{
	color: #666666;
	font-size: 16px;
	margin-bottom: 20px;
}

h1{
	margin-bottom: 20px;
	margin-top: 10px;
    font-size: 38px;
    text-align: center;
    color: #EBBB53;
    font-weight: bold;
    font-family: 'Kodchasan', sans-serif;
}

h2{
	font-family: 'Kodchasan', sans-serif;
	font-size: 30px;
	font-weight: 600;
	color:  #3a617c;
	margin-bottom: 20px;
}

h3{
	font-family: 'La Belle Aurore', cursive;
	font-size: 28px;
	font-weight: 400;
	color: #ebbb53;
	margin-bottom:-20px;
}

h4{
	color: #666666;
	font-size: 16px;
	margin-bottom: 20px;
	font-weight: 600;
	margin-top: 15px;
}

h5{
	color: #ffffff;
    font-size: 14px;
    padding: 5px 0 5px 0;
	font-weight: 400;
}

h6{
    font-family: 'Kodchasan';
    color: #3A617C;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #EBBB53;
}


header {
    text-align: center;
}

#logo {
    display: inline-block;
    margin: 0 auto;
    width: 100px;
}

#logo img {
    width: 80px;
    height: 80px;
    margin-top: -50px;
    margin-left: -45px;
}

nav {
    margin-bottom: 30px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    display: inline-block;
    text-decoration: none;
    height: 40px;
    line-height: 40px;
    padding-bottom: 0 15px;
    color: black;
    padding-right: 10px;
}

main ul {
    margin-bottom: 10px;
}

main ul li {
    margin-bottom: 5px;
    line-height: 1.5;
    position: inherit;
    padding-left: 20px;
}

article {
    margin-bottom: 40px;
}

article:nth-of-type(odd) {
    clear: left;
}

.widget {
    margin-bottom: 30px;
}

a.tag-cloud-link {
    font-size: 14px !important;
    display: inline-block;
    padding: 5px 10px;
    border: solid 1px #aaa;
}


/** header */
	
#top-header{
	background-color: #3a617c;
	padding: 6px 78px;
	font-size: 14px;
	color: #ffffff;
    text-align: left;
}

.fa-brands.fa-facebook-f{
	margin-right: 5px;
}

header nav ul li a{
    padding-right: 20px;
    padding-top: 50px;
    text-decoration: none;
	padding: 24px;
    text-transform: uppercase;
    color: #333;
    font-weight: bold;
    font-family: 'Kodchasan', sans-serif;
    font-size: 16px;
    color: #3a617c; 
}

header nav{
    padding: 30px 150px;
}

header nav ul li#menu-item-25.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-25{
    margin-right: 50px;
}

header nav ul li#menu-item-40.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-40{
    margin-left: 50px;
}

/** footer section */

footer{
    padding: 180px 150px 0 150px;
    background: url(img/bezs-felho.png) top 50px right repeat-x;
    background-color: #ffffff;
    clear:both;
}

footer h2{
	font-size: 20px;
}

.fa-solid.fa-location-dot{
	margin-right: 10px;
	color: #3a617c;
}

footer .fa-brands.fa-facebook-f{
	margin-left: 10px;
	color: #3a617c;
}

footer .fa-brands.fa-instagram{
	color: #3a617c;
    margin-left: 10px;
}

footer .fa-brands.fa-facebook-f:hover, .fa-brands.fa-instagram:hover{
	color: #ebbb53;
}

footer .fa-solid.fa-phone{
	margin-right: 10px;
	color: #3a617c;
}

.telephone-footer{
	margin-top:80px;
    text-align: center;
}

footer .fa-solid.fa-envelope{
	margin-right: 10px;
	color: #3a617c;
}

.mail-footer{
	margin-top:80px;
    text-align: center;
}

#copyright{
	text-align: center;
	background-color: #3a617c;
	padding: 6px 78px;
}

#copyright nav {
    margin-bottom: 0;
}

#copyright nav ul li a {
    color: #ffffff;
    font-weight: 600;
    padding: 0 5px;
}

#copyright nav ul li a:hover{
	color: #ebbb53;
}

/** welcome section */

.letter{
	font-family: 'Kodchasan', sans-serif;
	font-weight: bold;
	margin: 0;
	font-size: 34px;
}

.free{
	font-weight: 800;
	color: #3a617c;
	margin-right: 0;
}

#welcome{
	padding: 0 150px 180px 150px;
    background: url(img/felho.png) bottom -130px right repeat-x;
}

#welcome h1{
    display: flex;
}


/** icons section */

#icons{
	padding: 20px 150px 50px 150px;
	text-align: center;
	margin-top: -80px;
	background: white;
}

/** about section */

#about{
	padding: 10px 150px 150px 150px;
    background-image: url(img/about-hatter-uj.png);
	background-size: cover;
	background-repeat: no-repeat;
}

#about li {
    line-height: 1.7;
    background: url(img/urhajo.svg) top 5px left 0 no-repeat;
    background-size: 15px auto;
    padding-left: 35px;
    list-style: none;
	color: #666666;
}

#about img{
	 margin: 120px 0 0 -50px;
}

.button-blue {
    font-size: 16px;
    font-weight: 600;
    background: #3a617c;
    color: #ffffff;
    display: inline-block;
    height: 40px;
    line-height: 30px;
    padding: 5px 30px 5px 30px;
    position: relative;
    text-transform: uppercase;
	border-radius: 40px;
	margin-top: 10px;
}

.button-blue:hover{
	background: #ebbb53;
	color: #ffffff;
}

/** groups section */

#groups{
	padding: 50px 150px 180px 150px;
    background: #f5ebcf;
	text-align: center;
	background-image: url(img/felho.png);
	background-repeat: repeat-x;
	background-position: bottom -120px right;	
}

/** classes section */

#classes{
	padding: 0 150px 100px 150px;
    background: #ffffff;
	text-align: center;
}

.button-classes {
    font-size: 20px;
	font-family: 'Kodchasan', sans-serif;
    font-weight: 600;
    background: #49796d;
    color: #ffffff;
    display: inline-block;
    height: 50px;
    line-height: 35px;
    padding: 5px 30px 5px 30px;
    position: relative;
	border-radius: 40px;
	margin-top: 40px;
	width: 450px;
}

.button-classes:hover{
	background: #79a8a0;
	color: #ffffff;
}

/** price section */

#price{
	padding: 50px 150px 50px 150px;
    background: #3a617c;
    text-align: center;
}

.price-text{
	color: #ffffff;
}

/** why us section */

#whyus{
	padding: 70px 150px 0 150px;
    background: #ffffff;
}

#whyus li.why {
    line-height: 1.5;
    background: url(img/x.svg) top 5px left 0 no-repeat;
    background-size: 15px auto;
    padding-left: 35px;
    list-style: none;
	color: #666666;
}

.why-box{
	background: #f5ebcf;
	padding: 10px 20px;
	margin: 20px 0;
}

#whyus p{
	margin-bottom: 0;
}

#whyus img{
	margin: -120px 50px 0;
}

/** gallery section */

#gallery{
	padding: 50px 0 250px 0;
	text-align: center;
	background: #ffffff;
}

.responsive {
	float: left;
	width: 20%;
	margin: 20px 0;
}

.gallery-box{
	margin-top: 50px;
}

.pictures:hover{
	opacity: 0.3;
}


/** Ovirol aloldal */

.align-center{
    text-align: center;
    color: #EBBB53;
    font-weight:bold;
    font-family: 'Kodchasan', sans-serif;
}

.site-header{
    background: url(img/aloldalak-hatter.png) top 50px right repeat-x;
}

main{
    margin-top: -120px;
}

.site-header {
    background: url(img/aloldalak-hatter.png) top 50px right no-repeat;
    background-size: cover;
    padding: 135px 0;
}

#site-title{
    background: url(img/felho.png) top 6px right repeat-x;
    padding: 130px 150px 50px 150px;
}

#site-title p{
    text-align: center;
}

#about-us{
    padding: 0 150px 30px 150px;
    background-color: white;
}

#site-title p{
    margin-top: -20px;
}

.about-text{
    margin: 0 20px 0 20px;
}

#about-us img{
    margin-top: -40px;
}

#application{
    padding: 50px 150px;
    background-color: #F5EBCF;
    text-align: center;
}

#application p{
   margin: 0 20px 0 20px;
}

#application .button-blue{
    margin-top:20px;
}

#philosophy {
    padding: 50px 150px;
    background-color: white;
}

#philosophy li {
    line-height: 1.7;
    background: url(img/pipa.svg) top 5px left 0 no-repeat;
    background-size: 15px auto;
    padding-left: 35px;
    list-style: none;
    color: #666666;
}

.tasks{
    margin-top: 100px;
    padding: 20px 50px;
    background-color: #49796D;
}

#philosophy .tasks p, #philosophy .tasks ul li {
    color: white;
}

#strengths{
    text-align: center;
    padding: 50px 150px;
    background-color: white;
}

#strengths h2{
    margin-bottom: 50px;
}

.pros{
    text-align: left;
    margin: 0 20px 0 20px;
}


#strengths li {
    line-height: 1.7;
    background: url(img/pipa.svg) top 5px left 0 no-repeat;
    background-size: 15px auto;
    padding-left: 35px;
    list-style: none;
    color: #666666;
}

#pricelist{
    padding: 50px 150px 120px 150px;
    background: url(img/felho.png) bottom -200px right repeat-x;
    background-color: #3A617C;
    text-align: center;
}

#pricelist p{
   margin: 0 20px 0 20px;
    color: white;
}

#ending{
    padding: 50px 150px 10px 150px;
    background-color: white;
    text-align: center;
}

#pricelist p{
   margin: 0 20px 0 20px;
}


/** Kapcsolat aloldal */

#contacts{
    padding: 50px 150px;
    background-color: #3A617C;
    text-align: center;
}

#contacts p{
    margin: 0 20px 0 20px;
    color: white;
}

#contacts .fa-solid.fa-location-dot, #contacts .fa-solid.fa-envelope, #contacts .fa-solid.fa-phone{
    color: #EBBB53;
    font-size: 40px;
    margin-bottom: 20px;
}

#contact-form {
    padding: 50px 150px;
    background-color: white;
}

#contact-form img{
    margin-left: 10%;
    margin-top: 10%;
}

#contact-form input[type=text], #contact-form input[type=tel], #contact-form input[type=email] {
    width: 80%;
    background-color: #E9E8DB;
    border: none;
    padding: 5px;
    color: #666666;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

#contact-form textarea{
    width: 80%;
    background-color: #E9E8DB;
    border: none;
    padding: 5px;
    color: #666666;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

#contact-form input[type=checkbox] {
    position: relative;
    cursor: pointer;
}

#contact-form input[type=checkbox]:before {
    content: "";
    display: block;
    position: relative;
    width: 16px;
    height: 16px;
    top: 5px;
    left: -5px;
    border: 1px solid #666666;
    border-radius: 3px;
    background-color: white;
}

#contact-form input[type=checkbox]:checked:after {
    content: "";
    display: block;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 5px;
    left: 0;
}

#contact-form input[type=submit]{
    font-size: 16px;
    font-weight: 600;
    background: #ebbb53;
    color: #ffffff;
    display: inline-block;
    height: 40px;
    line-height: 30px;
    padding: 5px 30px 5px 30px;
    position: relative;
    text-transform: uppercase;
	border-radius: 40px;
	margin-top: 10px;
    font-family: 'Montserrat';
}

#contact-form input[type=submit]:hover{
    background: #3a617c;
	color: #ffffff;
}

span.wpcf7-list-item {
    margin: 0;
}

#map{
    text-align: center;
    padding: 50px 150px;
    background-color: white;
}

/** Jelentkezés aloldal */

#open-day{
    padding: 50px 150px;
    background-color: #F5EBCF;
    text-align: center;
}

#open-day p{
    margin: 0 20px 0 20px;
}

#open-day-intro {
    padding: 50px 150px;
    background-color: white;
}

#open-day-intro img{
    margin-left: 20%;
}

#apply-form {
    padding: 50px 150px;
    background-color: white;
}

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

.apply-form{
    margin: 50px 170px;
    padding: 50px;
    width: 70%;
    border: 40px solid #EBBB53;
    border-radius: 20px;
}

#apply-form input[type=text], #apply-form input[type=tel], #apply-form input[type=email], #apply-form input[type=number], #apply-form input[type=date] {
    width: 100%;
    border: 1px solid #707070;
    padding: 5px;
    color: #666666;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

#apply-form textarea{
    width: 100%;
    border: 1px solid #707070;
    padding: 5px;
    color: #666666;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

#apply-form input[type=checkbox] {
    position: relative;
    cursor: pointer;
}

#apply-form input[type=checkbox]:before {
    content: "";
    display: block;
    position: relative;
    width: 16px;
    height: 16px;
    top: 5px;
    left: -5px;
    border: 1px solid #666666;
    border-radius: 3px;
    background-color: white;
}

#apply-form input[type=checkbox]:checked:after {
    content: "";
    display: block;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 5px;
    left: 0;
}

#apply-form input[type=submit]{
    font-size: 16px;
    font-weight: 600;
    background: #3a617c;
    color: #ffffff;
    display: inline-block;
    height: 40px;
    line-height: 30px;
    padding: 5px 30px 5px 30px;
    position: relative;
    text-transform: uppercase;
	border-radius: 40px;
	margin-top: 10px;
    font-family: 'Montserrat';
}

#apply-form input[type=submit]:hover{
    background: #ebbb53;
	color: #ffffff;
}


/** Foglalkozások aloldal */

#four-classes{
    padding: 50px 150px 100px 150px;
    text-align: center;
    margin-top: -10px;
    background: url(img/foglalkozasok-hatter.png) top -70px right repeat-x;
    background-color: #ffffff;
}

#four-classes h6{
    border-bottom: none;
    margin-top: -160px;
}

#four-classes h6.h6-title{
    margin-top: -150px;
}

.col-1-2.class-column{
    width: calc(70% - 40px);
}

.col-1-2.price-column{
    width: calc(30% - 40px);    
}

#class-description {
    padding: 100px 150px 10px 150px;
    background-color: white;
}

#languages, #school, #sports, #robotics, #logopedia, #drama, #music{
    margin-bottom: 50px;
    border-bottom: 1px solid #707070;
    padding-bottom: 20px;
}

#environment{
    margin-bottom: 50px;
    border-bottom: none;
    padding-bottom: 20px;
}

.col-1-2.price-column p{
    padding: 10px;
    border-bottom: 1px solid #707070;
    background-color: #F5EBCF;
    text-align: center;
    margin-bottom: 0;
}

#more-classes{
    padding: 50px 150px;
    background-color: #3A617C;
    text-align: center;
}

#more-classes .col-1-5 {
    width: calc(20%);
}

#more-classes p {
    color: white;
    margin-top:20px;
    margin-bottom: 50px;
}

#apply-section{
    padding: 50px 150px 10px 150px;
    text-align: center;
    background-color: white;
}


/** Csoportok aloldal */

#group-description {
    padding: 10px 150px 10px 150px;
    background-color: white;
}

#group-description img{
    margin-bottom: 20px;
}

#group-1, #group-2, #group-3 {
    margin-bottom: 50px;
    padding-bottom: 20px;
}

.col-1-2.price-column p{
    padding: 10px;
    border-bottom: 1px solid #707070;
    background-color: #F5EBCF;
    text-align: center;
    margin-bottom: 0;
}


/** Napirend */

#timeline{
    padding: 10px 150px;
    background-color: white;
}

#timeline h2, #timeline h3{
    text-align: center;
}

#timeline p{
    margin-bottom: 0;
}

.timeline{
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
}

#timeline .container{
    padding: 10px 50px;
    position: relative;
    width: 50%;
    animation: movedown 1s linear forwards;
    opacity: 0;
}

@keyframes movedown {
    0%{
        opacity: 1;
        transform: translateY(-30px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

#timeline .container:nth-child(1){
    animation-delay: 0s;
    z-index: 11;
}

#timeline .container:nth-child(2){
    animation-delay: 0.5s;
    z-index: 11;
}

#timeline .container:nth-child(3){
    animation-delay: 1s;
    z-index: 11;
}

#timeline .container:nth-child(4){
    animation-delay: 1.5s;
    z-index: 11;
}

#timeline .container:nth-child(5){
    animation-delay: 2s;
    z-index: 11;
}

#timeline .container:nth-child(6){
    animation-delay: 2.5s;
    z-index: 11;
}

#timeline .container:nth-child(7){
    animation-delay: 3s;
    z-index: 11;
}

#timeline .container:nth-child(8){
    animation-delay: 3.5s;
    z-index: 11;
}

#timeline .container:nth-child(9){
    animation-delay: 4s;
    z-index: 11;
}

.text-box{
    padding: 20px 30px;
    background: #3A617C;
    position: relative;
    border-radius: 30px;
}

.text-box p {
    color: white;
}

.left-container{
    left: 0;
}

.right-container{
    left: 50%;
}

#timeline .left-container .circle{
    width: 30px;
    height: 30px;
    background-color: #6F8B9F;
    border-radius: 50%;
    position: absolute;
    right: -85px;
    top: 32px;
    z-index: 10;
}

#timeline .right-container .circle{
    left: -65px;
    width: 30px;
    height: 30px;
    background-color: #6F8B9F;
    border-radius: 50%;
    position: absolute;
    right: -20px;
    top: 32px;
    z-index: 10;
}

#timeline .left-container .circle::after, #timeline .right-container .circle::after{
    content: ' ';
    width: 15px;
    height: 15px;
    background-color: #EBBB53;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.timeline::after{
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: #3A617C;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: 2;
    animation: moveline 4s linear forwards;
}

@keyframes moveline{
    0%{
        height: 0;
    }
    100%{
        height: 100%;
    }
}

 #timeline .time{
    position: absolute;
    top: -50px;
    width: 150px;
    height: 35px;
    border-radius: 30px;
    color: #666666;
    background-color: #F1E4BE;
    font-weight: bold;
    display: grid;
    place-items: center;
}   


@media screen and (max-width: 768px){
    .timeline{
        margin: 50px auto;
    }
    .timeline::after{
        left: 31px;
    }
    #timeline .container{
        width: 100%;
        padding-left: 50px;
        padding-right: 25px;
        margin-bottom: 50px;
    }
    .right-container{
        left: 0;
    }
    .left-container .circle{
        left: -35px;
    }
    #timeline .right-container .circle{
        left: -35px;
    }
}

#group-text{
    padding: 50px 150px 120px 150px;
    background: url(img/felho.png) bottom -200px right repeat-x;
    background-color: #49796D;
    text-align: center;
}

#group-text p{
    margin: 0 20px 0 20px;
    color: white;
}

#ending{
    padding: 50px 150px 10px 150px;
    background-color: white;
    text-align: center;
}

#group-text p{
    margin: 0 20px 0 20px;
}


/** Többi oldal */

#page{
    padding: 10px 150px;
    background-color: white;
}

#page h2, #page p{
    margin: 0 20px 0 20px;
}


/** Reszponzív nézetek */


@media only screen and (max-width: 1439px) and (min-width: 1024px) {
    header nav {
        padding: 20px 10px;
    }
    header nav ul li a{
        padding: 20px 5px;
    }
    #welcome {
        padding: 0 100px 180px 100px;
    }
    #welcome img{
        margin-top: 60px;
    }
    #icons {
        padding: 20px 100px 50px 100px;
    }
    #about{
        padding: 10px 100px 50px 100px;
        background-color: white;
    }
    #about .col-1-2 {
        width: calc(100% - 40px);
    }
    #about img {
        margin: 25px 0 0 10px;
    }
    #groups {
        padding: 50px 100px 180px 100px;
    }
    #classes {
        padding: 0 100px 100px 100px;
    }
    .button-classes{
        width: 380px;
    }
    #price {
        padding: 50px 100px 50px 100px;
    }
    #whyus {
        padding: 70px 100px 0 100px;
    }
    #whyus img {
        margin: -30px 50px 0;
    }
    footer {
        padding: 180px 100px 0 100px;
        background: url(img/bezs-felho-nagy.png) top 50px right repeat-x;
        background-color: #ffffff;
    }
    #site-title, #contacts, #contact-form, #map, #open-day, #open-day-intro, #apply-form, #group-description, #timeline, #group-text, #ending, #four-classes, #class-description, #more-classes, #apply-section, #about-us, #application, #philosophy, #strengths, #pricelist, #page{
        padding-left: 100px;
        padding-right: 100px;
    }
    .apply-form {
        margin: 0;
        width: 100%;
    }
    .apply-form {
        margin: 0;
        width: 100%;
    }
}

@media only screen and (max-width: 1340px) and (min-width: 1024px) {
    #four-classes h6.h6-title {
        margin-top: -130px;
    }
    #four-classes h6 {
        border-bottom: none;
        margin-top: -150px;
    }
    #site-title{
        margin-bottom: -30px;
    }
    #about-us img {
        margin-top: 0;
    }
}


@media only screen and (max-width: 1224px) and (min-width: 1024px) {
    .mail-footer {
        margin-top: 90px;
    }
    .telephone-footer {
        margin-top: 115px;
    }
    footer img{
        margin-top: 25px;
    }
    iframe{
        width: 800px;
    }
    #four-classes h6.h6-title {
        margin-top: -120px;
        padding: 10px;
        font-size: 14px;
    }
    #four-classes h6 {
        margin-top: -120px;
        padding: 10px;
        font-size: 14px;
    }
}

        
@media only screen and (max-width: 1023px) and (min-width: 769px) {
    #top-header{
        text-align: center;
    }
    #welcome {
        padding: 0 50px 180px 50px;
    }
    #welcome img{
        margin-top: 86px;
    }
    #classes {
        padding: 0 50px 100px 50px;
    }
    .button-classes {
        font-size: 15px;
        height: 50px;
        width: 300px;
    }
    #icons {
        padding: 20px 50px 50px 50px;
    }
    #about {
        padding: 10px 50px 150px 50px;
        background-image: url(img/ipad-rolunk-hatter.png);
    }
    #groups {
        padding: 50px 50px 180px 50px;
    }
    #price {
        padding: 50px 50px 50px 50px;
    }
    #whyus {
        padding: 70px 50px 0 50px;
    }
    footer {
        padding: 180px 50px 0 50px;
        background: url(img/bezs-felho-nagy.png) top 50px right repeat-x;
        background-color: #ffffff;
    }
    #about .col-1-2 {
        width: calc(100%);
    }
    #hamburger {
        width: 30px;
        height: 30px;
        position: absolute;
        right: 30px;
        top: 85px;
    }
    #hamburger:before,
    #hamburger:after {
        content: "";
        position: absolute;
        border-bottom: solid 3px #3a617c;
        border-top: solid 3px #3a617c;
        height: 12px;
        width: 100%;
        left: 0;
    }
    #hamburger:after {
        bottom: 0;
    }
    #hamburger:before {
        top: 0;
    }
    .hambi-open {
        background-size: 100% 150% !important;
    }
    #main-menu {
        background: none;
        margin-top: 30px;
    }

    #main-menu ul,
    #main-menu li {
        display: block;
        width: 100%;
    }

    #main-menu li a {
        padding: 5px 15px;
    }

    #main-menu ul {
        display: none;
    }

    #main-menu ul li ul {
        display: none;
    }
    header nav {
        padding: 10px 50px;
    }
    header nav ul li a{
        display: inline-block;
        padding: 20px;
    }
    header nav ul li {
        display: block;
        text-align: center;
        border-bottom: 1px solid #707070;
    }
    #logo img {
        margin-top: 20px;
        margin-left: 0;
    }
    header nav ul li#menu-item-40.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-40 {
        margin-left: 0;
    }
    header nav ul li#menu-item-25.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-25 {
        margin-right: 0;
    }
    #site-title, #contacts, #contact-form, #map, #open-day, #open-day-intro, #apply-form, #group-description, #timeline, #group-text, #ending, #four-classes, #class-description, #more-classes, #apply-section, #about-us, #application, #philosophy, #strengths, #pricelist, #page {
        padding-left: 50px;
        padding-right: 50px;
    }
    iframe{
        width: 500px;
    }
    .site-header{
        background: none;
        margin-bottom: -150px;
    }
    #logo img {
        display: none;
    }
    .apply-form{
        margin: 0;
        width: 100%;
    }
    #site-title{
        margin-bottom: -30px;
    }
    #four-classes h6.h6-title {
        margin-top: -100px;
        padding: 10px;
        font-size: 8px;
    }
    #four-classes h6 {
        margin-top: -100px;
        padding: 10px;
        font-size: 8px;
    }
    #about-us .col-1-2 {
    width: calc(100% - 40px);
    }
}

@media only screen and (max-width: 870px) and (min-width: 769px) {
    #four-classes h6.h6-title {
        margin-top: -90px;
        padding: 10px;
        font-size: 8px;
    }
    #four-classes h6 {
        margin-top: -90px;
        padding: 10px;
        font-size: 8px;
    }
}


@media only screen and (max-width: 768px) and (min-width: 481px) {
    #top-header{
        text-align: center;
    }
    header nav {
        padding: 30px 70px;
    }
    header nav ul li {
        display: block;
        text-align: center;
        border-bottom: 1px solid #707070;
    }
    #logo img {
        display: none;
    }
    header nav ul li#menu-item-40.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-40 {
        margin-left: 0;
    }
    header nav ul li#menu-item-25.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-25 {
        margin-right: 0;
    }
    #hamburger {
        width: 30px;
        height: 30px;
        position: absolute;
        right: 30px;
        top: 85px;
    }
    #hamburger:before,
    #hamburger:after {
        content: "";
        position: absolute;
        border-bottom: solid 3px #3a617c;
        border-top: solid 3px #3a617c;
        height: 12px;
        width: 100%;
        left: 0;
    }
    #hamburger:after {
        bottom: 0;
    }
    #hamburger:before {
        top: 0;
    }
    .hambi-open {
        background-size: 100% 150% !important;
    }
    #main-menu {
        background: none;
        margin-top: 30px;
    }

    #main-menu ul,
    #main-menu li {
        display: block;
        width: 100%;
    }

    #main-menu li a {
        padding: 5px 15px;
    }

    #main-menu ul {
        display: none;
    }

    #main-menu ul li ul {
        display: none;
    }
    #welcome {
        padding: 0 50px 180px 50px;
    }
    .welcome-text{
        order:2;
    }
    #icons {
        padding: 20px 50px 50px 50px;
    }
    #about {
        padding: 10px 50px 50px 50px;
        background-image: url(img/ipad-rolunk-hatter.png);
    }
    #groups {
        padding: 50px 50px 180px 50px;
        background-position: bottom -150px right;
    }
    #classes {
        padding: 0 50px 50px 50px;
    }
    #price {
        padding: 50px;
    }
    #whyus {
        padding: 70px 50px 0 50px;
    }
    .whyus-text{
        order: 2;
    }
    #whyus img {
        margin: -80px 0 -40px 0;
    }
    #gallery {
        padding: 50px 0 750px 0;
    }
    .responsive {
        width: 50%;
    }
    footer {
        padding: 180px 50px 0 50px;
        background: url(img/bezs-felho-nagy.png) top 50px right repeat-x;
        background-color: #ffffff;
    }
    footer .col-1-4{
        text-align: center;
    }
    .telephone-footer {
        margin-top: 0;
    }
    .mail-footer {
        margin-top: 0;
    }
    .site-header{
        background: none;
        margin-bottom: -150px;
    }
    #site-title, #contacts, #contact-form, #map, #open-day, #open-day-intro, #apply-form, #group-description, #timeline, #group-text, #ending, #four-classes, #class-description, #more-classes, #apply-section, #about-us, #application, #philosophy, #strengths, #pricelist, #page {
        padding-left: 50px;
        padding-right: 50px;
    }
    #site-title{
        margin-bottom: -40px;
    }
    iframe{
        width: 500px;
    }
    .apply-form{
        margin: 0;
        width: 100%;
    }
    #contact-form input[type=text], #contact-form input[type=tel], #contact-form input[type=email], #contact-form textarea {
        width: 100%;
    }
    .col-1-2.class-column{
        order: 1;
        width: calc(100% - 40px);
    }
    .col-1-2.price-column{
        width: calc(100% - 40px);
        order: 2;
    }
    #group-description img {
        margin: 0 150px 20px 150px;
    }
    #four-classes{
        display: none;
    }
    #class-description{
        margin-top: -110px;
    }
}


@media only screen and (max-width: 670px) and (min-width: 481px) {
    #group-description img {
        margin: 0 0 20px 0;
    }
}

@media only screen and (max-width: 580px) and (min-width: 481px) {
    iframe{
        width: 350px;
        height: 350px;
    }
    #site-title{
        margin-bottom: -40px;
    }
    #open-day-intro img {
        margin-left: 0;
    }
    .apply-form{
        margin: 0;
        width: 100%;
        padding: 20px;
        border: 20px solid #EBBB53;
    }
}


@media only screen and (max-width: 480px) {
    #top-header {
        padding: 10px;
        text-align: center;
    }
    #header-contact{
        height: 20px;
    }
    header{
        margin-bottom: -30px;
    }
    header nav {
        padding: 30px;
    }
    header nav ul li a{
        display: inline-block;
        padding: 20px;
    }
    #classes {
        padding: 0 15px 50px 15px;
        margin-top: -50px;
    }
    .button-classes{
        width: 300px;
        font-size: 15px;
    }
    .letter{
        font-size: 24px;
    }
    #welcome {
        padding: 0 15px 180px 15px;
        background: url(img/felho.png) bottom -150px right repeat-x;
    }
    header nav ul li {
        display: block;
        text-align: center;
        border-bottom: 1px solid #707070;
    }
    #logo img {
        display: none;
    }
    header nav ul li#menu-item-40.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-40 {
        margin-left: 0;
    }
    header nav ul li#menu-item-25.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-25 {
        margin-right: 0;
    }
    #hamburger {
        width: 30px;
        height: 30px;
        position: absolute;
        right: 30px;
        top: 85px;
    }
    #hamburger:before,
    #hamburger:after {
        content: "";
        position: absolute;
        border-bottom: solid 3px #3a617c;
        border-top: solid 3px #3a617c;
        height: 12px;
        width: 100%;
        left: 0;
    }
    #hamburger:after {
        bottom: 0;
    }
    #hamburger:before {
        top: 0;
    }
    .hambi-open {
        background-size: 100% 150% !important;
    }
    #main-menu {
        background: none;
        margin-top: 30px;
    }

    #main-menu ul,
    #main-menu li {
        display: block;
        width: 100%;
    }

    #main-menu li a {
        padding: 5px 15px;
    }

    #main-menu ul {
        display: none;
    }

    #main-menu ul li ul {
        display: none;
    }
    
    #icons {
        padding: 20px 15px 50px 15px;
    }
    #about {
        padding: 10px 15px 50px 15px;
        background-image: url(img/mobil-rolunk-hatter.png);
    }
    #about img {
        margin: 10px 0 0 10px;
    }
    #groups {
        padding: 50px 15px 180px 15px;
    }
    #groups .button{
        margin-bottom: 50px;
    }
    #price {
        padding: 50px 15px 50px 15px;
    }
    #whyus {
        padding: 50px 15px;
    }
    #whyus img {
        margin: 0 auto;
    }
    .responsive {
        float: none;
        width: 100%;
        margin: 20px 0;
    }
    #gallery {
        padding: 50px 0 20px 0;
    }
    footer {
        padding: 150px 15px 0 15px;
        background: url(img/bezs-felho-nagy.png) top 50px right repeat-x;
        background-color: #ffffff;
    }
    footer .col-1-4 {
        width: calc(100% - 40px);
        text-align: center;
    }
    .telephone-footer, .mail-footer {
        margin-top: 0;
    }
    #copyright nav ul li a {
        display: block;
        padding:0;
    }
    #top-header .fa-brands.fa-facebook-f, #top-header .fa-brands.fa-instagram{
        display: none;
    }
    header span{
        display: inline-block;
    }
    .welcome-text, .whyus-text{
        order:1;
    }
    #whyus h2{
        margin-bottom: -20px;
        text-align: center;
    }
    #whyus h3{
        text-align: center;
    }
    #site-title, #contacts, #contact-form, #map, #open-day, #open-day-intro, #apply-form, #group-description, #timeline, #group-text, #ending, #four-classes, #class-description, #more-classes, #apply-section, #about-us, #application, #philosophy, #strengths, #pricelist, #page {
        padding-left: 15px;
        padding-right: 15px;
    }
    .site-header{
        background: none;
        margin-bottom: -150px;
    }
    iframe{
        width: 300px;
        height: 300px;
    }
    #site-title{
        margin-bottom: -40px;
    }
    #contact-form img {
        margin-left: 0;
        margin-top: 0;
    }
    .apply-form{
        margin: 0;
        width: 100%;
        padding: 20px;
        border: 20px solid #EBBB53;
    }
    #open-day-intro img {
        margin-left: 0;
    }
    #contact-form input[type=text], #contact-form input[type=tel], #contact-form input[type=email], #contact-form textarea {
        width: 100%;
    }
    .col-1-2.class-column{
        order: 1;
        width: calc(100% - 40px);
    }
    .col-1-2.price-column{
        width: calc(100% - 40px);
        order: 2;
    }
    #group-description img {
        margin: 0 0 20px 0;
    }
    #four-classes{
        display: none;
    }
    #class-description{
        margin-top: -110px;
    }
    #more-classes .col-1-5 {
        width: calc(100%);
    }
    #about-us img {
        margin-top: 0;
    }
    .tasks {
        margin-top: 10px;
    }
    #application .button-blue {
        margin-top: 20px;
        height: auto;
    }
}

@media only screen and (max-width: 377px) {
    #class-description{
        margin-top: -140px;
    }
    #header-contact{
        height: 40px;
    }
}
        

@media only screen and (max-width: 340px) {
    #header-contact {
        height: 40px;
    }
    #about .button-blue, #groups .button{
        height:auto;
        text-align: center;
    }
    #copyright {
        padding: 6px 20px;
    }
    .button-classes {
        width: 250px;
        height: auto;
        font-size: 12px;
    }
    .apply-form{
        margin: 0;
        width: 100%;
    }
    #apply-form input[type=submit] {
        font-size: 12px;
    }
    #contact-form input[type=text], #contact-form input[type=tel], #contact-form input[type=email], #contact-form textarea {
        width: 100%;
    }
    #site-title{
        margin-bottom: -60px;
    }
    #four-classes{
        display: none;
    }
    h2{
        font-size: 20px;
    }
}

@media only screen and (min-width: 1600px) {
    .site-header{
        background: url(img/aloldalak-hatter.png) top 0px right no-repeat;
        padding: 135px 0 233px 0;
        background-size: cover;
    }
    #about-us img {
        margin-top: -70px;
        width: 500px;
        margin-left: 100px;
        height: 500px;
    }
    #four-classes h6.h6-title {
        margin-top: -175px;
    }
    #four-classes h6{
        margin-top: -180px;
        padding: 0 20px;
    }
    .apply-form {
        margin: 0;
        width: 100%;
    }
}
    

