/* Theme Name: Basic Theme
Theme URI: https://banditadesign.hu/sajat-theme
Author: Gaál Bernadett
Author URI: https://banditadesign.hu
Description: Basic Theme by Gaál Bernadett
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 {
    background: #fff url(img/body-bg.png);
}

.center-box {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#logo {
    display: block;
    width: 300px;
    margin: 25px auto;
}

.row {
    margin: 0 -15px;
}

#content {
    overflow: hidden;
    clear: both;
    padding-top: 20px
}

main {
    float: left;
    width: 75%;
    padding: 0 15px;
}

aside {
    float: left;
    width: 25%;
    padding: 0 15px;
}

footer {
    background: #ccc;
    padding: 10px 0 30px 0;
    position: relative;
    margin-top: 40px;
    overflow: hidden;
    clear: both
}

footer:before {
    position: absolute;
    content: "";
    height: 50px;
    width: 100%;
    display: block;
    left: 0;
    top: -45px;
    background: url(img/footer.png);
    background-size: auto 100%;
}

.articles {
    display: flex;
    margin: 0 -15px;
    flex-flow: row wrap /* oszlopok tördelése százalékosan */
}

.article-box {
    padding: 0 15px;
    margin-bottom: 30px
}

.article-box h2 {
    margin-top: 15px
}

article {
    background-color: #fff;
    background-image: url('img/border-horizontal.png'), url('img/border-horizontal.png'), url('img/border-vertical.png'), url('img/border-vertical.png');
    background-position: top center, bottom center, top left, top right;
    background-size: auto 3px, auto 3px, 3px auto, 3px auto;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    padding: 15px;
    height: 100%;
}

.featured-image {
    color: inherit;
    position: relative;
    display: block;
    padding: 15px;
    background-color: #fff;
    background-image: url('img/border-horizontal.png'), url('img/border-horizontal.png'), url('img/border-vertical.png'), url('img/border-vertical.png');
    background-position: top center, bottom center, top left, top right;
    background-size: auto 3px, auto 3px, 3px auto, 3px auto;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;

}

.featured-image h1 {
    background: url(img/brush-white.gif);
    background-size: 100% 100%;
    padding: 20px 40px;
    margin: 0 15px;
    display: block;
    max-width: 500px;
}

.featured-image h3 {
    background: url(img/brush-white.gif);
    background-size: 100% 100%;
    padding: 20px 40px;
    margin: 0 15px;
    display: block;
    max-width: 500px;
}

.image {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0
}

time {
    display: block;
    margin: 10px 0;
    font-size: 14px;
}

.square {
    width: 100%;
    height: auto;
    background-size: cover;
}

.article-box article a {
    color: inherit
}

.article-box a.featured-image, .article-box a.featured-image img {
    height: 100%;
}

#go-to-top {
    background: #ffd20f;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    cursor: pointer
}

#go-to-top:before {
    position: absolute;
    top: 50%;
    left: 50%;
    content: "";
    width: 0;
    height: 0;
    margin-top: -6px;
    margin-left: -7px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid #000;
}

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    background: #ffd20f!important;
}

#carousel {
    background-color: #fff;
    background-image: url('img/border-horizontal.png'), url('img/border-horizontal.png'), url('img/border-vertical.png'), url('img/border-vertical.png');
    background-position: top center, bottom center, top left, top right;
    background-size: auto 3px, auto 3px, 3px auto, 3px auto;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    padding: 15px;
    height: 100%;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

#carousel-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

#carousel ul.slides {
    display: block;
    white-space: nowrap;
    font-size: 0;
    position: relative;
}

#carousel li.slide {
    display: inline-block;
    position: relative;
    width: 100%;
    font-size: initial;
    white-space: initial;
}

#carousel li.slide a {
    display: block;
    color: inherit
}

.carousel-content {
    max-width: 600px;
    background: url(img/brush-white.gif);
    background-size: 100% 100%;
    padding: 40px 60px;
    margin: 0 15px;
    display: block;
}

#next-slide, #prew-slide {
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    margin-top: -25px;
    z-index: 5;
    cursor: pointer;
    border-radius: 50%;
    background: #fff;
}

#next-slide {
    right: -25px;
}

#prew-slide {
    left: -25px
}

#next-slide:before {
    position: absolute;
    top: 50%;
    left: 15px;
    margin-top: -6px;
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid #000;
}

#prew-slide:before {
    position: absolute;
    top: 50%;
    right: 15px;
    margin-top: -6px;
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid #000;
}

#navigation {
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    height: 30px;
    bottom: 0;
    z-index: 5;
}

#navigation div {
    display: inline-block;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 50%;
    background: #fff;
    margin: 0 10px;
    border-radius: 50%;
    background: #fff;
}

.nav-active {
    border: solid 3px #ffd20f;
}

#searchform {
    background-color: #fff;
    background-image: url('img/border-horizontal.png'), url('img/border-horizontal.png'), url('img/border-vertical.png'), url('img/border-vertical.png');
    background-position: top center, bottom center, top left, top right;
    background-size: auto 3px, auto 3px, 3px auto, 3px auto;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    padding: 5px 10px;
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}

#searchform input[type="text"] {
    border: none;
    height: 30px;
}

#searchform button[type="submit"] {
    border: none;
    background: url('img/search-bg.gif') center center no-repeat;
    background-size: 20px auto;
    height: 30px;
    width: 30px;
    position: absolute;
    right: 10px;
}

.accordion-list {
    margin: 15px
}

.accordion-list li {
    position: relative;
    background-image: url('img/border-horizontal.png');
    background-position: bottom center,;
    background-size: auto 3px;
    background-repeat: repeat-x;
}

.accordion-list a {
    display: block;
    color: inherit;
    height: 30px;
    padding: 0;
    line-height: 30px;
}

.accordion-list a:hover {
    color: #ffd20f;
}

.opener {
    position: absolute;
    right: 0;
    top: 0;
    width: 34px;
    height: 34px;
    cursor: pointer;
}

.opener:before {
    position: absolute;
    margin-top: -3px;
    display: block;
    top: 50%;
    right: 0;
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #000;
}

.children {
    padding: 5px 15px;
    position: relative;
    background-image: url('img/border-horizontal.png');
    background-position: top center,;
    background-size: auto 3px;
    background-repeat: repeat-x;
    display: none
}

.children li {
    border: none;
    background: none;
}

.down:before {
    transform: rotate(180deg);
    border-top: 7px solid #ffd20f!important
}

.accordion {
    margin-top: 20px
}

.accordion-title {
    background-color: #fff;
    background-image: url('img/border-horizontal.png'), url('img/border-horizontal.png'), url('img/border-vertical.png'), url('img/border-vertical.png');
    background-position: top center, bottom center, top left, top right;
    background-size: auto 3px, auto 3px, 3px auto, 3px auto;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    padding: 10px 10px 10px 40px;
    position: relative;
    cursor: pointer
}

.accordion-title:before {
    top: 50%;
    margin-top: -3px;
    left: 10px;
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #000;
}

.accordion-content {
    background-image: url('img/border-horizontal.png'), url('img/border-horizontal.png'), url('img/border-vertical.png'), url('img/border-vertical.png');
    background-position: top center, bottom center, top left, top right;
    background-size: auto 3px, auto 3px, 3px auto, 3px auto;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    padding: 20px;
    width: 100%;
    overflow: hidden;
    display: none;
}

.accordion-image {
    float: left;
    width: 30%;
}

.accordion-text {
    float: left;
    width: 70%;
    padding-left: 20px
}

.button {
    display: inline-block;
    padding: 14px;
    color: #000;
    background: #ffd20f;
}

.reviews-slider {
    background-image: url('img/border-horizontal.png'), url('img/border-horizontal.png'), url('img/border-vertical.png'), url('img/border-vertical.png');
    background-position: top center, bottom center, top left, top right;
    background-size: auto 3px, auto 3px, 3px auto, 3px auto;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    padding: 20px 20px 60px 20px;
    width: 100%;
    position: relative;
    text-align: center;
    margin: 20px 0
}

.reviews-title {
    text-align: center;
    margin-bottom: 10px
}

.reviews-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.reviews-slider ul {
    display: block;
    white-space: nowrap;
    font-size: 0;
    position: relative;
    padding: 0;
    margin: 0;
    vertical-align: top;
}

.reviews-slider li {
    display: inline-block;
    position: relative;
    width: 100%;
    font-size: initial;
    white-space: initial;
    padding: 0;
    margin: 0
}

.reviews-slider li:before {
    content: none;
}

.next-reviews, .prew-reviews {
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: 15px;
    z-index: 5;
    cursor: pointer;
    border-radius: 50%;
}

.next-reviews {
    right: 50%;
    margin-right: -60px;
}

.prew-reviews {
    left: 50%;
    margin-left: -60px
}

.next-reviews:before {
    position: absolute;
    top: 50%;
    right: 50%;
    margin-right: -3px;
    margin-top: -6px;
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid #000;
}

.prew-reviews:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -3px;
    margin-top: -6px;
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid #000;
}

#contact-box {
    position: fixed;
    bottom: -340px;
    right: 80px;
    background: #ffd20f;
    padding: 0 20px;
    width: 300px;
    z-index: 2;
    height: 400px;
    transition: all 0.6s ease-in-out;
}

#contact-box h4 {
    cursor: pointer;
    padding: 15px 0;
}

#contact-box input {
    width: 100%;
    background: #fff;
    border: none;
    margin: 0 0 10px 0;
    height: 30px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    padding: 0 10px
}

#contact-box textarea {
    width: 100%;
    background: #fff;
    border: none;
    margin: 0;
    height: 150px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    padding: 0 10px
}

#contact-box input[type="submit"] {
    background: #000;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.box-open {
    bottom: 0!important
}

/* Media q. */

@media only screen and (max-width: 1200px) {
    .center-box {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    main,
    aside {
        float: none;
        width: 100%;
    }
}

@media only screen and (min-width: 769px) {
    .article-box {
        width: 33.33%;
    }
} 

@media only screen and (min-width: 480px) and (max-width: 768px) {
    .article-box {
        width: 50%;
    }
}

@media only screen and (max-width: 479px) {
    .article-box {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    #carousel li.slide img {
        height: 350px;
    }

        .accordion-image, .accordion-text {
            float: none;
            width: 100%;
            padding-left: 0
        }

        .accordion-image {
            margin-bottom: 20px
        }
}