/*
Theme Name: Devyourway
Theme URI: https://devyourway.com/
Author: the WordPress team
Author URI: https://devyourway.com/
Description: Basic Theme by Tóth Kitti
Tags: one-column, custom-colors, custom-menu
Version: 1.1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: devyourway

*/

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,400;0,700;1,400;1,700&display=swap');

.wp-caption {
    font-size: smaller;
}

.wp-caption-text {
    font-size: smaller;
}

.sticky {}

.screen-reader-text {}

.gallery-caption {
    font-size: smaller;
}

.bypostauthor {}

.alignright,
.align-right {
    text-align: right;
}

.alignleft,
.align-left {
    text-align: left;
}

.aligncenter,
.align-center {
    text-align: center;
}

/* === RESET === */

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

code,
pre,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

iframe {
    display: block;
    max-width: 100%;
}

header li,
#main-menu li {
    list-style-type: none;
}

/* === RESPONSIVE TYPO === */

@media screen and (max-width: 479px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 480px) and (max-width: 1199px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1919px) {
    html {
        font-size: 18px;
    }
}

@media screen and (min-width: 1920px) {
    html {
        font-size: 22px;
    }
}


/* === STYLE === */


:root {
    --main-color: #05399D;
    --sub-color: #161616;
}

.ease {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    color: var(--sub-color);
    font-family: "Roboto Serif", serif;
}

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: none;
    margin-bottom: 0.5rem;
    margin-left: 1rem;
}

ul li::marker {
    color: var(--main-color);
}

ol {
    list-style: none;
    counter-reset: my-counter;
}

ol li {
    counter-increment: my-counter;
    margin-bottom: 0.25rem;
}

ol li::before {
    content: counter(my-counter) '.';
    background: var(--main-color);
    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;
}

p {
    line-height: 1.7;
}

a {
    color: var(--main-color);
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: none;
}


h1 {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--main-color);
    position: relative;
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-top: 0;
}

h2 {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--main-color);
    position: relative;
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-top: 0;
}

h2:after,
h1:after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--main-color);
}

h3 {
    font-size: 1.33rem;
    font-weight: 500;
}

h4 {
    font-size: 1rem;
    font-weight: 600;

}

h1 a,
h2 a,
h3 a,
h4 a {
    color: inherit;
}

blockquote {
    background: #eee;
    margin-left: 0;
    margin-right: 0;
    padding: 0.5rem 1.5rem;
    overflow: hidden;
    border-left: solid 5px var(--main-color);
}

hr {
    border: none !important;
    height: 3px;
    background: #eee;
}

table {
    border-spacing: 0;
    border: solid 1px #ddd;
}

td,
th {
    padding: 0.5rem 1rem;
    border: solid 1px #ddd;
}

th {
    background: #eee;
    text-align: left;
}

#logo {
    text-align: center;
}

#logo a {
    display: inline-block;
    margin: 1.5rem 0;
}

#logo svg {
    max-width: 300px;
    height: auto;
    width: 300px;
}

main {
    padding: 3rem 0 0 0;
}

/*body:not(.home) main{
    padding: 2rem 0 0 0;
}*/

section {
    padding-top: 4rem;
}

.post-meta ul {
    overflow: hidden;
    display: inline-block;
    margin: 0 auto;
    font-size: smaller;
}

.post-meta ul li {
    display: inline-block;
    float: left;
    margin-right: 20px;
    margin-left: 0;
}

.post-tags a,
.tagcloud a {
    display: block;
    float: left;
    padding: 0.15rem 0.25rem;
    border: solid 2px transparent;
    font-size: small !important;
    text-transform: uppercase;
    display: inline-block;
    margin: 0 5px 5px 0;
    cursor: pointer;
    background: var(--main-color);
    color: #fff;
}

.post-tags a:hover,
.tagcloud a:hover {
    background: #000;
}

.accordion {
   /* margin: 0 0 2rem 0;*/
    clear: both;
}

.accordion .accordion-content {
    display: none;
}

.accordion .accordion-title {
    line-height: 1.3;
    color: inherit;
    position: relative;
    padding-bottom: 2rem;
}

.accordion .active h4 {
    border-bottom: none;
}

.accordion .accordion-content {
    margin: 0;
    overflow: hidden;
}

.accordion .accordion-content p {
    line-height: 1.4 !important;
}

/*.accordion .accordion-content p:last-of-type {
    margin: 0 !important;
}*/

/**/

.accordion .clickable-area {
    cursor: pointer;

    color: var(--sub-color);
    font-weight: 500;
    text-decoration: underline;

}

.accordion .accordion-title.no-after::after {
    display: none;
}

.accordion .accordion-title.no-after {
    padding-bottom: 0;
}


.light-bg {
    background: #eee;
    padding-top: 6vw;
    padding-bottom: 6vw;
}

footer {
    padding: 3rem 0;
    border-top: 1px solid var(--main-color);
}

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

.pagination {
    clear: both;
    text-align: center;
}

.nav-links .current {
    color: var(--main-color);
    font-weight: bold;
}

.nav-links {
    display: inline-block;
    border-right: solid 1px #ddd;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
}

.nav-links a,
.nav-links span {
    display: block;
    float: left;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    color: inherit;
    border-left: solid 1px #ddd;
}

.nav-links a:hover {
    background: #eee;
}

#searchform {
    position: relative;
    width: 100%;
}

#searchform input[type="text"] {
    width: 100%;
    margin: 0;
}

#searchform button {
    border: none;
    height: 100%;
    width: 30px;
    position: absolute;
    right: 10px;
    background: none;
    padding: 0;
    border-radius: 0;
}

#searchform svg {
    border: none;
    height: 60%;
    width: 30px;
}

#gotop {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    background: var(--main-color);
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
}

#gotop svg {
    width: 1rem;
    height: 1rem;
    display: block;
}

#gotop svg path {
    fill: #fff;
}

body div.my_carousel {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

body div.my_carousel .nav {
    display: none;
}

body div.my_carousel .prev,
body div.my_carousel .next {
    top: 70%;
}

body div.my_carousel .prev {
    left: 0;
}

body div.my_carousel .next {
    right: 0;
}

/* == Műsor - Főoldal ==*/

.show-item {
    border-bottom: 1px solid var(--sub-color);
    padding: 1.5rem 0;
}

.show-item:first-of-type {
    padding-top: 0;
}

.show-item p,
.show-item h4 {
    margin: 0;
}

.show-text p {
    margin-top: 5px;
}

.subtitle {
    font-weight: 600;
}

.show-item .musor {
    display: flex;
    align-items: center;
}

/*.show-start {
    text-align: center;
    font-weight: 500;
    background: url(img/mark.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 1.25rem 0.9rem;
    width: 20%;
}*/

.show-start {
    text-align: center;
    font-weight: 500;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 1.25rem 0.9rem;
    width: 20%;
}

.sub-show .show-start {
    position: relative;
    padding: 1.25rem 0.9rem;
    width: 20%;
}

.sub-show .show-start:after {
    background: url(img/mark.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    height: 130px;
    content: " ";
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.show-eventstart p {
    font-size: 1.75rem;
}

.show-text {
    width: 65%;
    margin-left: 1.5rem;
}

.main-show .show-start {
    background: var(--main-color);
    color: #fff;
}

.main-show .show-img {
    position: relative;
}

.main-show .show-item {
    border-bottom: none;
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.main-show .show-eventstart {
    border-bottom: 1.5px solid #fff;
    padding-bottom: 10px;
    display: flex;
}

.main-show .show-time {
    padding-top: 10px;
}

.main-show .show-item .musor {
    justify-content: space-between;
    align-items: flex-start;
}

.main-show .show-box {
    display: flex;
    background: #fff;
    width: 80%;
    align-items: center;
}

.main-show .show-button {
    display: flex;
    margin: 0 auto;
}

.main-show .show-start {
    padding: 1rem 0.8rem;
    width: auto;
}

.sub-show .show-box {
    display: flex;
    width: 100%;
    align-items: center;
}

/* == Hírek - Főoldal ==*/

.news-container {
    margin: 1rem 0 2rem 0;
}

.news h3 {
    margin-bottom: 5px;
}

.news-date {
    font-size: smaller;
    font-family: "Roboto", sans-serif;
}

/* == Footer ==*/

.footer-box a {
    color: var(--sub-color);
}

.footer-box a:hover {
    text-decoration: underline;
}

.my_carousel {
    padding: 0 10rem;
}

.item-list {
    align-items: center;
}

.footer-col1 {
    display: flex;
    flex-direction: column;
}

.footer-box :where(.wp-block-columns.is-layout-flex) {
    gap: 6em;
}

footer .wp-block-columns {
    margin: 0;
}

.footer-logo img {
    width: 250px;
}

.footer-nav {
    font-family: "Roboto", sans-serif;
    margin-top: auto;
}

.footer-nav ul {
    display: flex;
    margin: 0;
    justify-content: space-between;
}

.footer-nav li {
    list-style: none;
    margin: 0;
    padding-right: 1rem;
}

.footer-nav li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--sub-color);
}

.partners {
    padding-bottom: 2rem;
}

.footer-support,
.footer-partners {
    padding-bottom: 2rem;
}

#copyright {
    background: var(--main-color);
    padding: 0.5rem 0;
}

#copyright .wp-block-columns {
    margin: 0;
}

#copyright .wp-block-column {
    align-items: center;
    display: flex;
}

#copyright p,
#copyright a {
    font-size: 16px;
    color: #fff;
    margin: 0;
}

#copyright ul {
    display: flex;
}

#copyright ul li {
    list-style: none;
    margin: 0;
}

#copyright ul li:first-of-type {
    padding-right: 3rem;
}

.copyright-col3 {
    align-items: center;
    display: flex;
}

.copyright-col3 figure:first-of-type {
    margin-right: 0.75rem;
}

/*== Single - Műsor ==*/

.show-sidebar {
    background: var(--main-color);
    color: #fff;
    padding: 1.5rem 2rem;
}

.single-title2 {
    margin-top: 0;
}

.title-box {
    padding: 1rem 0;
}

.title-box p {
    margin: 0;
}

.single-musor section.sub-show {
    padding-top: 2rem;
}

.single-musor .show-item:last-of-type {
    border: none;
}

/*== Arhive - Hírek ==*/

.category-hirek .row{
    padding-top: 1rem;
}

.news-archive h3 {
    margin-bottom: 5px;
    margin-top: 0;
}

.news-archive .meta-date {
    font-size: 14px;
    margin: 0;
}

.news-archive .news-archive-box {
    margin-bottom: 3rem;
}

.news-archive .accordion-content .news-archive-box:last-of-type {
    margin-bottom: 0rem;
}

.news-sidebar ul li::marker {
    color: var(--sub-color);
}

.news-sidebar li a {
    color: var(--sub-color);
    text-decoration: underline;
    font-size: 16px;
    font-weight: 500;
}

/*== Single - Hírek ==*/

.meta-date {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
}

.new-single h1 {
    margin-bottom: 10px;
}

.single h1 {
    text-transform: none;
}

.new-single img {
    width: 100%;
}

/*== Archive - Repertoár ==*/

.archive-repertoar .column-3 {
    padding: 1rem 0 2rem 0;
}

.archive-repertoar article {
    display: flex;
    flex-direction: column;
}

.archive-repertoar h3{
    margin-bottom: 10px;
    margin-top: 20px;
}

/*== Single - Repertoár ==*/

.single-repertoar section {
    padding-top: 2rem;
}

/*== Archive - Társulat ==*/

.archive-tarsulat .column-3 {
    padding: 1rem 0 2rem 0;
}

.archive-tarsulat-box {
    padding-top: 1rem;
}

.archive-tarsulat-box h3,
.archive-tarsulat-box p {
    margin: 0;
}

/*== Single - Társulat ==*/

.company-news {
    background: var(--main-color);
    padding: 1.5rem;
}

.company-news a {
    color: #fff;
    text-decoration: underline;
}

/*== Page - Támogatók ==*/

.page-template-page-tamogatok section {
    padding-top: 0;
}

/*== Page - Rólunk ==*/

.page-template-page-rolunk .col-3-4 img{
    width: 100%;
}

/**/

.show-button {
    position: relative;
}



.button,
.button-2 {

    margin: auto;
    text-decoration: none;
    cursor: pointer;

    padding: 0;
    outline: none;
    overflow: hidden;
    color: #FAD63B;
    transition: color 0.3s 0.1s ease-out;
    text-align: center;
    line-height: 250%;
}

.button-2::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: '';
    border-radius: 50%;
    display: block;
    width: 17em;
    height: 20em;
    /* $height * 2 */
    line-height: 20em;
    /* $line-height * 2 */
    left: -5em;
    /* -$width / 2 */
    text-align: center;
    transform: scale(0);
    transition: transform 0.5s ease-out;
    z-index: -1;
    background-color: #FAD63B;
    /* Same color as box-shadow but for background */
}

.button::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: '';
    border-radius: 50%;
    display: block;
    width: 21em;
    height: 20em;
    /* $height * 2 */
    line-height: 20em;
    /* $line-height * 2 */
    left: -5em;
    /* -$width / 2 */
    text-align: center;
    transform: scale(0);
    transition: transform 0.5s ease-out;
    z-index: -1;
    background-color: #FAD63B;
    /* Same color as box-shadow but for background */
}

.button:hover,
.button-2:hover {
    color:#161616;
}

.button:hover::before,
.button-2:hover::before {
    transform: scale(1);
}

/**/