/*
Theme Name: Dev-2022
Theme URI: https://frontendtanfolyam.hu/
Author: the WordPress team
Author URI: https://designstreet.hu/
Description: Basic Theme by Emese Pocsik
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: dev-2022

*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat: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: 1.25vw;
    }
}

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


/* === STYLE === */


:root {
    --main-color: #FF6720;
}

.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 { background: #f8f8f8;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    color: #333;
    font-family: 'Montserrat', sans-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: disc;
    margin-bottom: 0.25rem;
    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.5;
}

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

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


h1 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0; position: relative;
}

h1:after {
    display: block;
    color: #fff;
    content: ' ';
    position: absolute;
    bottom: -1.5rem;
    border: none;
    width: 4rem;
    height: 3px;
    background: var(--main-color);

}

h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

h3,
h4 {
    font-size: 1.25rem;
    font-weight: bold;

}

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.75rem 0;
}

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

header {
	 background: #fff;
}

#top-head {
	display: flex; justify-content: space-between; align-items: center;
}

main {
    padding: 3rem 0;
}

.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 h2,
.accordion .accordion-title h3,
.accordion .accordion-title h4 {
    margin: 0;
}

.accordion .accordion-title {
    cursor: pointer;
    margin: 0;
    line-height: 1.3;
    border-bottom: solid 1px #ddd;
    color: inherit;
    padding: 0.65rem 0.5rem 0.65rem 2rem;
    position: relative;
}

.accordion .accordion-title:after {
    border-style: solid;
    border-width: 2px 2px 0 0;
    content: "";
    display: inline-block;
    height: 0.6rem;
    width: 0.6rem;
    background: transparent;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -0.3rem;
    transform: rotate(45deg);
    vertical-align: top;
}

.accordion .accordion-title.active,
.accordion .accordion-title:hover {
    color: var(--main-color);
}

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

.accordion .accordion-title.active:after,
.accordion .accordion-title:hover:after {
    transform: rotate(135deg);
    left: 0.25rem;
    margin-top: -0.35rem;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.accordion .accordion-content {
    margin: 0;
    padding: 1rem 2rem;
    overflow: hidden;
    border-bottom: solid 1px #ddd;
}

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

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

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

footer {
    background: #333;
    font-size: smaller;
    padding: 1.5rem 0; color: #fff;
}

#copyright {
    padding: 0.75rem 0;
    text-align: center;
    font-size: 0.75rem;
}


.pagination {
    clear: both;
    text-align: center;
    margin-top: 2rem;
}

.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;
}

.page-top {
	background: #eee; padding: 1.5rem 0; 
}

 

#partnerek   {
	 padding: 2rem 0;   background: #eee;
}


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

#partnerek figure  {
	 padding: 1rem;
}

#partnerek img  {
	max-height: 2.5rem; width: auto!important;
}

#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;
}

.card {
	padding: 1.25rem; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}

.card h2 {
	margin-top: 0;
}

#hero {
    position: relative;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%; display: flex;
    justify-content: flex-end;
}

#background-video .wp-block-video {
	width: 80%; margin: 0;
}

#background-video:after {
	display:  block;
 
    color: #fff;
   
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
 
    border: none;
    width: 100%;
    height: 100%;
     
    
background: linear-gradient(90deg, rgba(210,210,210,1) 22%, rgba(210,210,210,0) 70%);
   
}

#background-video ~ * {
    z-index: 1;
    position: relative;
}

#hero-content {
    padding: 8vw 0;
    display: flex;
    align-items: center;
}

#hero-content div{
	background: var(--main-color);
    color: #fff; padding: 2rem;
    max-width: 30rem; border-left: solid 5px #333;
}

@media screen and (max-width: 479px) {
    h1,
    h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    
#background-video {
       position: relative;
    }
	
	#background-video .wp-block-video {
		width: 100%;
	}
	
	#background-video:after {
		content: none;
	}
}
 