/*
Theme Name: SZEMÁNBUSZ
Theme URI: http://szemanbusz.hu/szemanbusz
Author: Szemán Katalin
Author URI: https://ketrinadesign.hu
Description: Szemanbusz by KetrinaDesign
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: szemanbusz
*/


/* ÁLTALÁNOS FORMÁZÁSOK, CÍMSOROK */

body {
    background: #fff;
    color: #444;
    font-family: 'Open Sans';
    font-size: 16px;
    line-height: 1.2;
}

p {
    margin-bottom: 5px;
}

h1 {
    font-family: 'Racing Sans One';
    font-size: 50px;
    text-transform: uppercase;
    color: #00a99d;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

h2 {
    font-family: 'Racing Sans One';
    font-size: 38px;
    color: #333;
    text-transform: uppercase;
    margin: 30px 0 30px 0;
    text-align: center;
}

h3 {
    font-family: 'Racing Sans One';
    font-size: 26px;
    color: #00a99d;
    margin: 0 0 20px 0;
}

h5 {
    font-size: 12px;
    margin-bottom: 10px;
}

a {
    color: #429b92;
    /* Linkek színe */
}

a:hover {
    color: #429b92;
    text-decoration: underline;
}

ul {
    display: block;
    list-style-type: disc;
    list-style-position: outside;
    padding-inline-start: 40px;
}

ul li {
    padding-left: 20px;
    display: list-item;

}

/* TOP SECTION, HEADER, NAV, BANNER */

header {
    min-height: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

#logo {
    float: left;
}

#logo a {
    display: inline-block;
}

#logo img {
    width: 250px;
    height: auto;
}

nav {
    float: right;
    margin: 27px 0 0 0;
}

nav ul {
    float: right;
    list-style-position: none;
    padding-inline-start: 0px;
}

nav ul li {
    float: left;
    display: inline-block;
    margin-left: 10px;
}

nav ul li a {
    padding: 0 10px;
    color: inherit;
}

nav ul li a:hover {
    color: #429b92;
    font-weight: bold;
}

#banner {
    background: #fff url(img/header.jpg) top center no-repeat;
    position: relative;
    padding: 100px 0 100px 0;
    text-align: center;
    overflow: hidden;
    clear: both;
}

#banner-text {
    text-align: center;
    padding: 100px 0 200px 0;
    margin: 0 auto;
}

#banner h1 {
    font-family: 'Racing Sans One';
    font-size: 50px;
    text-transform: uppercase;
    color: #00a99d;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: 2s slideinleft ease 0s forwards;
    -webkit-animation: 2s slideinleft ease 0s forwards;
    -moz-animation: 2s slideinleft ease 0s forwards;
    -o-animation: 2s slideinleft ease 0s forwards;
}

#banner p {
    padding-left: 20%;
    padding-right: 20%;
    margin: 20px 0 20px 0;
}

.button {
    background: url(img/button-bg.png);
    display: inline-block;
    height: 45px;
    line-height: 45px;
    padding: 0 15px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    margin-right: 20px;
}

.button:hover {
    background: url(img/button-bg.png);
    display: inline-block;
    height: 45px;
    line-height: 45px;
    padding: 0 15px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: underline;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    border-radius: 30px;
}

.button-about {
    background: #fff;
    display: inline-block;
    height: 48px;
    line-height: 45px;
    padding: 0 15px;
    color: #429b92;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    border: 2px solid #429b92;
    border-radius: 30px;
}

.button-about:hover {
    background: #fff;
    display: inline-block;
    height: 48px;
    line-height: 45px;
    padding: 0 15px;
    color: #429b92;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: underline;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    border: 2px solid #429b92;
    border-radius: 30px;
}

.inner-page {
    background: #fff;
    margin-bottom: 30px; 
}

/* SZOLGÁLTATÁSOK */

#services {
    text-align: center;
    background: #fff;
}

#services p {
    margin: 0 0 40px 0;
}

#services h4 {
    color: #429b92;
    font-weight: bold;
    margin: 20px 0 40px 0;
}

#services img {
    width: 25%;
}


/* MIÉRT VÁLASSZON MINKET */


#why-choose-us {
    position: relative;
    clear: both;
    background: #429b92;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 20px;
}

#why-choose-us h2 {
    color: #fff;
}

#why-choose-us ul {
    text-align: center;
    overflow: hidden;
    list-style-type: none;
    padding-left: 0;
}

#why-choose-us ul li {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.5;
    position: relative;
}

#why-choose-us ul li:last-of-type {
    border-bottom: none;
}

#why-choose-us ul li:nth-of-type(1) {
    opacity: 0;
    animation: 2s slideinleft ease 1s forwards;
    -webkit-animation: 2s slideinleft ease 1s forwards;
    -moz-animation: 2s slideinleft ease 1s forwards;
    -o-animation: 2s slideinleft ease 1s forwards;
}

#why-choose-us ul li:nth-of-type(2) {
    opacity: 0;
    animation: 2s slideinleft ease 2s forwards;
    -webkit-animation: 2s slideinleft ease 2s forwards;
    -moz-animation: 2s slideinleft ease 2s forwards;
    -o-animation: 2s slideinleft ease 2s forwards;
}

#why-choose-us ul li:nth-of-type(3) {
    opacity: 0;
    animation: 2s slideinleft ease 3s forwards;
    -webkit-animation: 2s slideinleft ease 3s forwards;
    -moz-animation: 2s slideinleft ease 3s forwards;
    -o-animation: 2s slideinleft ease 3s forwards;
}

#why-choose-us ul li:nth-of-type(4) {
    opacity: 0;
    animation: 2s slideinleft ease 4s forwards;
    -webkit-animation: 2s slideinleft ease 4s forwards;
    -moz-animation: 2s slideinleft ease 4s forwards;
    -o-animation: 2s slideinleft ease 4s forwards;
}

#why-choose-us ul li:nth-of-type(5) {
    opacity: 0;
    animation: 2s slideinleft ease 5s forwards;
    -webkit-animation: 2s slideinleft ease 5s forwards;
    -moz-animation: 2s slideinleft ease 5s forwards;
    -o-animation: 2s slideinleft ease 5s forwards;
}

#why-choose-us ul li:nth-of-type(6) {
    opacity: 0;
    animation: 2s slideinleft ease 6s forwards;
    -webkit-animation: 2s slideinleft ease 6s forwards;
    -moz-animation: 2s slideinleft ease 6s forwards;
    -o-animation: 2s slideinleft ease 6s forwards;
}

/* JÁRMŰPARK */


#vehicles {
    position: relative;
    overflow: hidden;
    clear: both;
    background: #fff;
}

#vehicles p {
    font-size: 14px;
    padding-left: 5px;
}

#gallery {
    margin: 0 auto;
}

#gallery img {
    width: 350px;
    padding: 5px;
}

#gallery img:hover {
    transform: scale(1.1);
    transition: 1s;
    filter: grayscale(80%);
}

#vehicles .row {
    margin: 20px 0;
    display: flex;
}



/* FOOTER, COPYRIGHT */

footer {
    color: #717171;
    background: #000;
    clear: both;
    overflow: hidden;
    padding: 40px 0;
    margin: 60px 0 0 0;
}

footer ul {
    list-style-position: none;
    padding-inline-start: 0px;
    list-style-type: none;
}

footer li{
    padding-left: 20px;
    position: relative;
}

footer li:before {
    content: "»";
    color: #fff;
    position: absolute;
    left: 0;
    display: inline-block;
}

footer ul li {
    color: #429b92;
}

footer ul li a {
    color: #429b92;
}

#copyright {
    background: #282929;
    color: #717171;
    text-align: center;
    font-size: 14px;
    padding: 10px 0;
}

.post-date {
    color: #717171;
    font-size: 14px;
}

/* ANIMÁCIÓK */

/* Beúszás balról */

@keyframes slideinleft {
    from {
        margin-left: -100%;
        opacity: 0;
    }

    to {
        margin-left: 0;
        opacity: 1;
    }
}

@-webkit-keyframes slideinleft {
    from {
        margin-left: -100%;
        opacity: 0;
    }

    to {
        margin-left: 0;
        opacity: 1;
    }
}

@-moz-keyframes slideinleft {
    from {
        margin-left: -100%;
        opacity: 0;
    }

    to {
        margin-left: 0;
        opacity: 1;
    }
}

@-o-keyframes slideinleft {
    from {
        margin-left: -100%;
        opacity: 0;
    }

    to {
        margin-left: 0;
        opacity: 1;
    }
}

/* WP CONTENT */

#sidebar {
    padding-top: 50px;
    padding-left: 50px;
    margin-bottom: 50px;
}

#sidebar .widget {
    margin-top: 10px;
}

#sidebar .widget h3 {
    margin-bottom: 5px;
}

#sidebar .widget a {
    color: #444;
}

#sidebar .widget a:hover {
    color: #00a99d;
}

#sidebar li{
    padding-left: 20px;
    position: relative;
}

#sidebar li:before {
    content: "»";
    color: #429b92;
    font-weight: bold;
    position: absolute;
    left: 0;
    display: inline-block;
}

#sidebar ul {
    list-style: none;
}

#sidebar ul li {
    margin-left: -40px;
}

#postarea {
    line-height: 1.5;
}

#postarea {
    padding: 10px 0 10px 0;
}

#postarea img {
    margin-bottom: 10px;
}

.post {
    padding-top: 50px;
}

.date {
    color: #fff;
    background: #00a99d;
    display: inline-block;
    font-style: italic;
    padding: 10px 10px 5px 10px;
    position: absolute;
}

blockquote {
    background: #eee url(img/quote.svg) top left no-repeat;
    background-size: 50px;
    border-top: 1px dashed #00a99d;
    border-left: 1px dashed #00a99d;
    border-bottom: 1px dashed #00a99d;
    border-right: 5px solid #00a99d;
    width: 80%;
    padding: 20px 20px 20px 60px;
    display:table;
    font-style: italic;
    line-height: 1.5;
}

blockquote p {
    margin-bottom: 5px;
}

main {
    line-height: 1.5;
}

.widget .wp-caption-text {
    display:none;
}

button#evf-submit-239, button#evf-submit-306 {
    background: url(img/button-bg.png);
    display: inline-block;
    height: 45px;
    line-height: 45px;
    padding: 0 15px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    margin-right: 20px;
}



/* TÖRÉSPONTOK */

@media only screen and (max-width: 768px) {
    .center-box {
        width: 100%;
    }
    #logo {
        width: 100%;
        text-align: center;
    }

    #banner {
        padding: 50px 0 50px 0;
    }

    #banner h1 {
        font-size: 36px;
    }

    #banner p {
        font-size: 20px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        color: #000;
        padding-left: 10%;
        padding-right: 10%;
    }

    h1 {
        font-size: 40px;
    }
    
    h2 {font-size: 32px;
    }

    #vehicles .row {
        margin: 20px 0;
        display: block;
    }
    
    #vehicles .one-third {
        margin-bottom: 5px;
    }
    
    #vehicles .one-third:last-of-type {
        margin-bottom: 0px;
    }

    footer .one-third {
        margin-top: 20px;
    }
    
    #postarea h1 {
        font-size: 36px;
    }
    
    #postarea img {
        width: 100%;
        height: auto;
    }
    
    blockquote {
        width: 100%;
    }
    
    img {
        width: 100%;
        height: auto;
    }
}
    
@media only screen and (max-width: 360px) {
    #logo {
        text-align: center;
        float: none;
    }
}

@media only screen and (max-width: 1180px) {
    .center-box {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    #banner .button {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 975px) {
    #logo,
    nav,
    nav ul {
        float: none;
        width: 100%;
        clear: both;
    }

    nav ul li {
        float: none;
        width: 100%;
        margin: 0;
    }

    header {
        overflow: hidden;
    }

    #banner-text {
        width: 100%;
    }

    nav ul li a {
        padding: 10px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        display: inline-block;
        width: 100%;
    }
}