:root{
    --dblue:#0a223e;
    --dbluetr:rgba(10,34,62,0.9);
    --lblue:#235eb2;
    --lbluetr:rgba(35,94,178,0.9);
    --orange:#B38224;
    /* 
    --dblue:#0a223e;
    --dbluetr:rgba(29,53,81,0.9);
    --lblue:#235eb2;
    */
    --lgray:#F9F9F9;
    --mgray:#a0a0a0;
    --dgray:#424242;
    --green:#239215;
}

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

*, *:focus, *:visited {
    outline: none;
}



body {
    font-family:'PTSansRegular';
    width:100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}



a {
    font-size:inherit;
    line-height:inherit;
    color:inherit;
    text-decoration:none;
}

b, strong {
    font-weight:normal;
    font-family:'PTSansBold';
    font-size:inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight:normal;
    color:#403730;
}

h1 {
    font-family:'PTSansBold';
    font-size:42px;
    line-height:48px;
    margin-bottom:56px;
}

h2 {
    font-size: 32px;
    line-height: 40px;
    font-family: 'PTSansRegular';
    margin-bottom: 56px;
}

h3 {
    font-family:'PTSansBold';
    font-size: 24px;
    line-height:30px;
    padding: 22px 0 15px;
    margin:0;
}

h4 {

    font-size: 22px;
    padding: 22px 0 15px;
    margin:0 !important;
}

h5 {
    font-size: 19px;
    padding: 22px 0 15px;
    margin:0 !important;
}

h6 {
    font-size: 17px;
    padding: 22px 0 15px;
    margin:0 !important;
}

h1.component-heading,
h2.component-heading {
    font-size:36px;
    line-height:44px;
    text-transform:uppercase;
    font-family:'PTSansNarrowBold';
    color:var(--lblue);
    
}

h1.component-heading span,
h2.component-heading span {
    color:#000000;
}

h1.component-heading span span::before,
h1.component-heading span span::after {
    content:"\00a0";
}

.header-infobar h2.component-heading,
.header-infobar h2.component-heading span {
    font-size:inherit;
    line-height:inherit;
    font-family:inherit;
    color:inherit;
}

header h2.component-heading {
    margin:0;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
script:first-child + h1,
script:first-child + h2,
script:first-child + h3,
script:first-child + h4,
script:first-child + h5,
script:first-child + h6 {
    padding-top:0;
    margin-top:0;
}

p:empty {
    height:0;
}

iframe {
    margin-top:32px;
    margin-bottom:32px;
    width:640px !important;
    height:400px !important;
}

.clear {
    float:none;
    clear:both;
    height:0;
    overflow:hidden;
}

.vcard {
    display:none !important;
}

header::after {
    content:"";
    display:block;
    float:none;
    clear:both;
}

header {
    position:fixed;
    z-index:2001;
    top:0;
    left:0;
    width:100%;
    transition:0.5s;
    /* box-shadow: 0 10px 10px rgba(0,0,0,0.2); */
}

body.slider-on-site header {
    box-shadow:none;
    background:none;
}

body.scrolledIn header {
    top:-185px;
    /* box-shadow: 0 0 0 rgba(0,0,0,0.2); */
}

body.inner header,
body.home.com_globalsearch header,
body.home.com_addressbook header {
    position:relative;
}

.header-infobar {
    background-color:var(--dbluetr);
    padding:5px 0 7px 0;
}

.header-infobar * {
    color:#ffffff;
    font-size:12px;
    line-height:18px;
    text-transform:uppercase;
}

.header-infobar input[type=text],
.header-infobar input[type=password] {
    text-transform:none;
    font-size: 16px;
    line-height: 1.7em;
    color:var(--dgray);
}

.header-infobar .container {
    position:relative;
}

.header-infobar .info-wrap {
    float:left;
}

.header-infobar .info-wrap img {
    display:inline-block;
    position:relative;
    top:4px;
}

.header-infobar .socials-wrap {
    float:right;
}

.header-infobar .profile-wrap {
    float:right;
}

.header-menubar {
    position:relative;
}

.header-menubar::after {
    content:"";
    display:block;
    float:none;
    clear:both;
}

.header-logo {
    float:left;
    position:relative;
    z-index:2;
}

.header-logo::after {
    content:"";
    display:block;
    float:none;
    clear:both;
}

.header-logo h1,
.header-logo h2 {
    margin:0;
    padding:0;
    display:block;
    background: -moz-linear-gradient(top,  rgba(10,34,62,0.9) 0%, rgba(10,34,62,0) 100%);
    background: -webkit-linear-gradient(top,  rgba(10,34,62,0.9) 0%,rgba(10,34,62,0) 100%);
    background: linear-gradient(to bottom,  rgba(10,34,62,0.9) 0%,rgba(10,34,62,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a223e', endColorstr='#000a223e',GradientType=0 );
}

.header-logo a {
    display:block;
    width:236px;
    height:122px;
    background-repeat:no-repeat;
    background-size:contain;
    background-image:url('../gfx/tabakademia_tiny.png');
    text-indent:-9999px;
    background-position: center;
}

.header-menu {
    float:right;
}

.header-menu::after {
    content:"";
    display:block;
    float:none;
    clear:both;
}

@keyframes slogan {
    0% {opacity:0}
    100% {opacity:1}
}

.header-slogan {
    position:absolute;
    top:70%;
    left:60%;
    z-index:3;
}

.header-slogan .box {
    animation-name:slogan;
    animation-duration:1s;
    animation-delay:2s;
    animation-fill-mode:forwards;
    opacity:0;
    background-color:var(--orange);
    padding:5px 10px;
    border-radius:5px;
    box-shadow:10px 10px 10px rgba(0,0,0,0.2);
    width: 150px;
}

.header-slogan .box * {
    color: #ffffff;
    text-transform: uppercase;
    font-size:12px;
    line-height:16px;
    text-align: center;
}

.col-wrap {
    padding:96px 0;
}

body.home .content-wrap {
    /* padding:0; */
}

.bluebar {
    background-color:var(--dblue);
}

.container {
    margin:0 auto;
}

.col-wrap::after,
.container::after {
    content:"";
    display:block;
    float:none;
    clear:both;
}

/* INDEX */

body.com_webshop.index .col-wrap {
    display:flex;
}
    
body.com_webshop.index .col-main {
    order:2;
    padding-right:0;
}
    
body.com_webshop.index .col-side {
    order:1;
    padding-right:32px;
}

/* RESULT, LIST */

body.com_webshop.result .col-main,
body.com_webshop.list .col-main {
    padding-right:0;
    width:auto;
    float:none;
}

body.com_webshop.result .col-side,
body.com_webshop.list .col-side {
    width:auto;
    float:none;
}

.noimg img {
    display:none !important;
}

body > div.gray {
    background-color:#F9F9F9;
}

body > div.gray .box {
    padding:96px 0;
}

footer {
    padding:45px 0 25px 0;
    background-color:var(--dblue);
    position:relative;
}

footer * {
    color:#ffffff;
    font-size:16px;
}

footer::after {
    content:"";
    display:block;
    float:none;
    clear:both;
}

footer h2.component-heading {
    margin-top:56px;
    color:var(--lblue);
    font-size:24px;
    line-height:32px;
    margin-bottom:28px;
    text-transform:uppercase;
    font-family:'PTSansNarrowBold';
}

footer h1.component-heading span,
footer h2.component-heading span {
    color:inherit;
}

footer table {
    table-layout: fixed;
}

footer table th,
footer table td {
    vertical-align:top;
    text-align:center;
}

footer div.infoartnet {
    float:right;
}

footer div.infoartnet > a {
    width: 30px;
    height: 30px;
    display: inline-block;
    background: transparent url('../gfx/infoartnet_logo.png') 0 0 no-repeat;
    text-indent: -9999px; 
}

footer .copyright {
    padding-top:72px;
}

footer #szechenyi {
    position:absolute;
    right:0;
    bottom:0;
    z-index:3;
}

#admin-panel {
    background-color:#000000;
}

#goTop {
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-image: url(../gfx/up.png);
    background-position:center top 12px;
    background-size:16px;
    background-color:rgba(0,0,0,0.3);
    border-radius:50%;
    position: fixed;
    z-index: 9999;
    right: 36px;
    bottom:12px;
    cursor: pointer;

}

#fancybox-overlay {
    z-index:2000 !important;
    background-color:rgba(0,0,0,0.7) !important;
}

#fancybox-wrap {
    z-index:2001 !important;
}

#fancybox-wrap,
#fancybox-wrap * {
    box-sizing:content-box;
}

#fancybox-outer {
    box-shadow:none !important;
}

.accordeon h2:not(.component-heading).opened {
    background-image: url(../gfx/faqitem_open.png);
}
.accordeon h2:not(.component-heading) {
    font-family: 'PTSansRegular';
    font-size: 24px !important;
    line-height: 32px !important;
    padding: 20px 40px 20px 10px !important;
    background-repeat: no-repeat;
    background-position: top 30px right 20px;
    cursor: pointer;
    border-top: solid 1px #006633;
    margin: 0;
    background-image: url(../gfx/faqitem.png);
}

.accordeon .accordeon-item-content {
    max-height:0;
    overflow:hidden;
    transition:0.5s;
    padding:0 0 0 10px;
}

.accordeon .accordeon-item-content.opened {
    max-height:1220px;
}

span {
    font-size:inherit;
    line-height:inherit;
    color:inherit;
}

/* MICROSLIDER */

.mwrap {
    overflow:hidden;
    position:relative;
}

.microslider-mask {
    position: relative;
    display: inline-table;
    white-space: nowrap;
}

.msl-arrow-left,
.msl-arrow-right {
    width: 38px;
    height: 73px;
    position: absolute;
    cursor: pointer;
    z-index: 2;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    background-repeat: no-repeat;
}

.msl-arrow-right {
    background-image: url(../gfx/right-chevron.svg);
    top: 50%;
    left: auto;
    right: 15px;
}

.msl-arrow-left {
    background-image: url(../gfx/left-chevron.svg);
    top: 50%;
    left: 15px;
    right: auto;
}

.content table {
    width:100% !important;
    margin-bottom:56px;
}

.content table tr th,
.content table tr td {
    vertical-align:top;
    text-align:left;
    padding:10px 15px;
}

.content table tr th {
    color:#ffffff;
    font-family:'PTSansRegular';
    background-color:var(--dblue);
}

.content table tr td {
    border-bottom:solid 1px var(--mgray);
    transition:0.3s;
}

.content table tr:hover td {
    background-color:var(--lgray);
}

.content table td a {
    color:var(--lblue);
}

.content table a,
.content table span {
    line-height:1.7em;
}

@media only screen and (min-width:1654px){
    .container {
        width:1560px;
    }

}

@media only screen and (min-width:1324px) and (max-width:1653px) {
    .container {
        width:1274px;
    }

}


@media only screen and (min-width:994px) and (max-width:1323px) {

    .container {
        width:970px;
    }

}

@media only screen and (min-width:994px) {
    
    body.inside {
        padding-top:185px;
    }
    
    .col-main {
        padding-right:50px;
        width:75%;
        float:left;
    }
    
    .col-side {
        width:25%;
        float:left;
    }
    
    body.com_basket.checkout .col-main,
    body.com_quiz .col-main {
        float:none;
        width:auto;
        padding-right:0;
    }
    
    body.com_basket.checkout .col-side,
    body.com_quiz .col-side {
        display:none;
    }
    
    footer table tbody tr td {
        padding-right:32px;
    }
    
    footer table tbody tr td:last-child {
        padding-right:0;
    }
}

@media only screen and (min-width:640px) and (max-width:993px) {
    
    .content,
    .container {
        width:624px;
    }
    
    iframe {
        width:624px !important;
        height:400px !important;
    }

    footer .col {
        width:50%;
        margin-bottom:56px;
    }

}

@media only screen and (max-width:993px) {

    body {
        padding-top:0;
    }

    header {
        position:relative;
    }

    .header-infobar {
        padding:7px 0;
    }
    
    .header-menu {
        padding-top:32px;
    }
    
    body.com_webshop.index .col-wrap {
        flex-direction:column;
    }
    
    body.com_webshop.index .col-side {
        margin-bottom:56px;
    }
    
    .content {
        margin-bottom:56px;
    }
    
    body.com_basket.checkout .col-side,
    body.com_quiz .col-side {
        display:none;
    }
    

    footer table,
    footer table tbody,
    footer table tbody tr,
    footer table tbody tr td {
        display:block;
    }
}

@media only screen and (min-width:480px) and (max-width:639px) {
    .content,
    .container {
        width:460px;
    }

    iframe {
        width:460px !important;
        height:280px !important;
    }
    
    .header-logo a {
        width: 210px;
        height: 112px;
    }

}

@media only screen and (max-width:639px) {


    footer .col {
        width:auto;
        float:none;
        margin-bottom:56px;
    }

}

@media only screen and (min-width:320px) and (max-width:479px) {

    .container {
        margin-left:15px;
        margin-right:15px;
    }
    
    iframe {
        width:100% !important;
        height:44vw !important;
    }



}

@media only screen and (max-width:479px) {
    .header-menu {
        padding-top:12px;
    }
    
    .header-logo {
        position:static;
    }
    
    .header-logo a {
        width:124px;
        height:62px;
    }
    
    .header-slogan {
        left:0;
        top:100%;
        width:100%;
    }
    
    .header-slogan .box {
        width:100%;
        border-radius:0;
        box-shadow:none;
    }
    
    table tr th,
    table tr td {
        padding:5px 10px;
        font-size:12px;
        line-height:16px;
    }
}

@media only screen and (max-width:319px) {
    * {
        display:none !important;
    }
}