body {
    font-family: arial, helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.3em;
    color: #272727;
    -webkit-font-smoothing: antialiased;
    background: #ffffff;
}

html, body, header, section, footer {
    width: 100%;
}

html, body {
    background: #f7eaba; /* url('../images/background.png');*/
}

.al {
    text-align: left;
}

.ac {
    text-align: center;
}

.ar {
    text-align: right;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.clear, .clear_0 {
    height: 0;
    line-height: 0;
    border: none;
    outline: none;
    font-size: 0;
    clear: both;
}

article, aside {
    padding: 0;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

aside {
    text-align: center;
}

section {
    margin-top: 0.25em;
}

section h1 {
    font-size: 1.3em;
    text-align: center;
    margin: 0.5em 0;
    color: #414141;
}

section h2 {
    font-size: 1.3em;
    text-align: center;
    margin: 0.5em 0;
    color: #414141;
}

section h3 {
    text-align: center;
    margin-bottom: 1em;
    font-style: italic;
}

section p, section table {
    margin-bottom: 1em !important;
}

section ul, section ol, section dl, section li {
    margin-bottom: 0.5em;
}

video {
    background-color: #000000;
}

h1, h2, h3 {
    font-weight: normal;
}

a {
    /*color: #716d5f;*/
    color: #2f2f2f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ----- FEJLÉC ----- */
header {
    position: fixed;
    z-index: 100;
    width: 100%;
    /*border: 1px solid #868583;*/
    box-sizing: border-box;
}

#logo {
    float: left;
    margin: 0 1em 0 2em;
    display: none;
}

header h2, header h1 {
    text-transform: uppercase;
    padding: 0 0 0 0.5em;
    color: #000000;
    font-size: 1.1em;
    float: left;
}

header h2 span, header h1 span {
    color: #818181;
    font-size: 0.8em;
}

header div.content {
    padding: 0.5em 0;
    background: #DCD7D4; /* url('../images/bg_header.jpg') repeat-x left top;*/
}

nav {
    margin-top: 0.5em;
    text-align: center;
    display: none;
    border-top: 1px solid #868583;
    width: 100%;
    background: #444444; /* url('../images/bgnav.png');*/
}

nav a {
    margin: 0;
    font-weight: normal;
    text-decoration: none;
    color: #FFFFFF;
    line-height: 2em;
    display: table-cell;
    text-shadow: 1px 1px 0 #000000;
    box-shadow: 0 0 10px 0 #444444 inset;
}

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

#btn_belep, #btn_kilep {
    background: #444444; /*url('../images/bgnav.png');*/
    padding: 0 1em;
    font-weight: normal;
    text-decoration: none;
    color: #FFFFFF;
    line-height: 2em;
    display: table-cell;
    text-shadow: 1px 1px 0 #000000;
    box-shadow: 0 0 10px 0 #444444 inset;
}

#btn_belep:hover, #btn_kilep:hover {
    color: #f7eaba;
}

/*
#btn_belep, #btn_kilep { margin-left: 1em; color: #000000; text-decoration: none; background-color: #f7eaba; padding: 0.25em; border: 1px solid #f7d763; }
#btn_belep:hover, #btn_kilep:hover {  background-color: #e4e1dc; border: 1px solid #000000; } 
*/
#btn_belep, #btn_kilep {
    float: right;
    margin-right: 0.5em;
    display: none;
}

#menu, #bt_belep, #bt_kilep {
    margin: 0 0.5em 0 0 !important;
    padding: 0 1em !important;
    border: 1px solid #adadad;
    color: #000000;
    background-color: #f9f9f9;
    line-height: 40px;
    float: right;
    cursor: pointer;
    border-radius: 8px;
}

/* popmenu */
div#popmenu {
    width: 100%;
    position: fixed;
    background-color: #e4e1dc;
    z-index: 110;
}

div#popmenu ul {
    list-style: none;
}

div#popmenu ul li {
    text-align: center;
    padding: 0 1em;
    border-bottom: 1px solid #f7d763;
}

div#popmenu ul li a {
    font-size: 1.2em;
    line-height: 42px;
    color: #272727;
    font-weight: normal;
    text-decoration: none;
    display: block;
}

div#popmenu ul li:hover {
    background-color: #e4e1dc;
}

/* ----- TARTALOM ----- */
section div.content {
    padding: 0.5em;
    border: 1px solid #f7d763;
    box-sizing: border-box;
    background-color: #e4e1dc;
    border-radius: 8px;
}

section.sectartalom div.content {
    padding: 0.5em 2em;
}

section div.kiemelt {
    background-color: #e4e1dc;
}

section div.akcios {
    background-color: #FFFFFF;
}

section div.content ul, section div.content ol {
    margin-left: 2em;
}

#slide_body {
    width: 100%;
    height: 160px;
    margin-top: 0.25em;
    border: 1px solid #868583;
    box-sizing: border-box;
    position: relative;
    background: #444444; /*url('../images/bgnav.png');*/
    box-shadow: 0 0 50px 20px #444444 inset;
}

#slide_body div.slide_list {
    width: 100%;
    height: 150px;
    padding: 10px;
    overflow: hidden;
    color: #FFFFFF;
    position: absolute;
    z-index: 1;
    background: #444444; /*url('../images/bgnav.png');*/
    box-shadow: 0 0 50px 20px #444444 inset;
    box-sizing: border-box;
}

#slide_body div.active {
    z-index: 3;
}

/*
#slide_body div.txtcont { height: 113px; overflow: hidden; }
#slide_body div.txtcont p.ad { font-size: 0.8em; }*/
#slide_body a {
    text-decoration: none;
    color: #FFFFFF;
}


#slide_body div.slide-teacher {
    width: 100%;
    height: 135px;
    overflow: hidden;
    background-color: #272823;
    border: 1px solid #FFFFFF;
    box-shadow: 0 0 5px #FFFFFF;
}

#slide_body div.txtcont {
    height: 125px;
    padding-top: 5px;
    padding-right: 5px;
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
}

#slide_body div.txtcont p.ad {
    font-size: 0.8em;
}

#slide_body div.slide-img {
    width: 125px;
    height: 125px;
    text-align: center;
    margin: 5px;
    float: left;
    display: table-cell;
    vertical-align: middle;
}

#slide_body p.slide-name {
    margin-bottom: 0.5em;
}

#slide_body p.slide-name a {
    color: #f7eaba;
}

#slide_body p.tov a {
    color: #FFFFFF;
    margin-right: 5px;
    font-weight: bold;
}

#slide_body div.slide-tuti {
    height: 135px;
    margin: 0 2%;
    text-align: center;
    background-color: #272823;
    border: 1px solid #FFFFFF;
    box-shadow: 0 0 5px #FFFFFF;
    box-sizing: border-box;
}

#slide_body div.slide-tuti p.tuticim {
    color: #f7eaba;
    font-weight: normal;
    text-shadow: 0 0 5px #929270;
    font-size: 1.1em;
    padding-top: 0.6em;
}

#slide_body div.slide-tuti p {
    line-height: 1.1em;
    font-size: 0.9em;
}

div.fotanar_box {
    margin-top: 0.25em;
    padding: 0.5em;
    border: 1px solid #f7d763;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 8px;
}

/* tutivideok */
section#fovideo { /*display: none;*/
    background: none;
}

section#fovideo div.content {
    background: none;
    border: none;
    padding: 0;
    text-align: center;
}

div.vid3 {
    text-align: center;
    width: 100%;
    border: 1px solid #f7d763;
    box-sizing: border-box;
    background-color: #e4e1dc;
    padding-top: 0.5em;
}


#tanarvisszalinkek ul {
    color: #716d5f;
    list-style: square;
    margin: 0;
    padding: 0;
}

#tanarvisszalinkek ul li {
    display: inline-block;
    margin: 0 1rem;
    text-wrap: nowrap;
}

#tanarvisszalinkek ul li a {
    color: #716d5f;
}

/* űrlapok */
form dt {
    color: #414141;
}

.input {
    width: 100%;
    height: 2em;
    line-height: 2em;
    border: 1px solid #ABADB3;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

form input[type="submit"], form input[type="button"], form button, .button {
    height: 2em;
    padding: 0 0.5em !important;
    border: 1px solid #adadad;
    color: #000000;
    background-color: #e1e1e1;
    cursor: pointer;
}

form textarea {
    width: 100%;
    line-height: 2em;
    border: 1px solid #ABADB3;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

.magyaraz {
    color: #414141;
    font-size: 0.8em;
    font-style: italic;
}

#adatlapform dd.tant {
    font-size: 0.9em;
}


/* tanar talalati lista */
div.result_box {
    margin: 0.5em 0;
    padding: 0.25em 0.5em 0.25em 35px;
}

div.imgcont {
    float: left;
    margin-right: 10px;
    width: 125px;
    height: 140px;
    text-align: center;
}

div.tlistbox {
    display: table;
    width: 100%;
    margin-bottom: 1px;
}
div.tlistimg{
    width: 125px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 0 10px 0 35px;
}

div.tlist {
    display: table-cell;
    vertical-align: top;
    padding: 0 10px;
}

.result_clear {
    height: 0;
    line-height: 0;
    border: none;
    outline: none;
    font-size: 0;
    clear: both;
}

div.even {
    background-color: #e4e1dc;
}

div.odd {
    background-color: #FFFFC2;
}

div.kiem {
    background-color: #FCC151 !important;
}

/*div.new {
    background-image: url(../images/new.png);
    background-position: left center;
    background-repeat: no-repeat;
}*/

/* tanar oldal */
#tanarbemut {
    text-align: justify;
}

.img_bemutat {
    margin: 0 0.5em 0.25em 0;
}

div#tanar_adat dt, div#tanar_adat dd {
    line-height: 1.2em;
    box-sizing: border-box;
}

div#tanar_adat dt {
    border-top: 1px solid #f7eaba;
    padding-top: 5px;
}

div#tanar_adat dd {
    font-weight: bold;
    margin-bottom: 10px;
}

div#tanar_targyak table {
    border-collapse: collapse;
    width: 100%;
    box-sizing: border-box;
}

div#tanar_targyak table td, div#tanar_targyak table th {
    border: 1px solid #f7eaba;
    padding: 3px 5px;
}

div#tanar_targyak table td {
    font-size: 0.8em;
    padding: 0.5em 0;
    text-align: center;
    vertical-align: middle;
}

div#tanar_targyak table td.targy, div#tanar_targyak table td.dij {
    width: 15%;
}

div#tanar_targyak table td.szint {
    width: 70%;
}

div#tanar_targyak table th {
    font-weight: bold;
}


/* -----  JOBBOLDAL ----- */
div.panel {
    margin-top: 0.25em;
    padding: 0.5em;
    box-sizing: border-box;
    border: 1px solid #f7d763;
    background: #f7eaba; /*url('../images/panel_bg.png') repeat-y top right;*/
    overflow: hidden;
    border-radius: 8px;
}

div.panel span.banner {
    display: block;
    margin-top: 0.5em;
}

div.panel img {
    max-width: 100%;
    max-height: 210px;
}

div.textpanel {
    text-align: left;
}

/* ----- LÁBLÉC ----- */
/*
footer { text-align: center; margin-top: 0.25em; display: none; }
footer a { color: #000000; text-decoration: none; }
footer a:hover { color: #818181; }*/

footer {
    width: 100%;
    margin-top: 0.25em;
    background: #FDFDFF; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#FDFDFF, #DCD7D4); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#FDFDFF, #DCD7D4); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#FDFDFF, #DCD7D4); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#FDFDFF, #DCD7D4); /* Standard syntax */
}

.footerhasab {
    padding: 1em;
    width: 100%;
    box-sizing: border-box;
}

#lablec_fekete {
    width: 100%;
    margin-top: 0.25em;
    background: #272823;
    color: #FFFFFF;
    padding: 1em;
    box-sizing: border-box;
}

.nyitolap_cta {
    background: #f4f4f4;
    padding: 0.5rem 3rem;
    border-radius: 8px;
    border: 1px solid #000;
    margin-top: 1rem;
    display: inline-block;
}

/* ----- RESPONSIVE ----- */

@media (max-width: 420px) {
    header h1, header h2 {
        font-size: 0.8em;
    }

    header h1 span, header h2 span {
        font-size: 0.7em;
    }
}

@media (min-width: 420px) {
    header h1, header h2 {
        padding: 0 0 0 1em;
    }

    /* .content { width: 29em; }*/
}

@media (min-width: 480px) {
    #slide_body div.txtcont p.ad {
        font-size: 1em;
    }

    #slide_body div.slide-tuti p.tuticim {
        font-size: 1.3em;
    }

    div.result_box p {
        margin-bottom: 0;
    }

    .result_clear {
        display: none;
    }

    /* .content { width: 32em; }*/
}

@media (min-width: 640px) {
    header h1, header h2 {
        letter-spacing: 1px;
        text-shadow: 3px 3px 0 #D7D3D2;
    }

    #slide_body div.slide-tuti {
        margin: 0 20%;
    }

    /* .content { width: 43em; }*/
    footer {
        display: block;
        padding-bottom: 1em;
    }

    #tanarbemut img.img_bemutat {
        float: left;
        max-width: 50%;
    }
}

@media (min-width: 768px) {
    body {
        font-size: 16px;
    }

    /* .content { width: 46em; }*/
    header, article, aside {
        width: 96%;
        margin: 0 2%;
    }

    footer, #lablec_fekete {
        width: 96%;
        margin: 0.25em 2%;
    }

    header div.content {
        padding-bottom: 0;
    }

    header h1, header h2 {
        float: none;
        padding: 1.3em 0 0 1em;
    }

    nav {
        display: inline-table;
        margin-top: 0;
    }

    nav a {
        font-size: 0.8em;
    }

    #logo {
        display: block;
    }

    #btn_belep, #btn_kilep {
        display: block;
    }

    #menu, #popupmenu, #bt_belep, #bt_kilep {
        display: none;
    }

    form dl {
        width: 80%;
        margin: 0 10%;
    }

    form dt {
        width: 30%;
        float: left; /*line-height: 2em;*/
        margin: 0 1% 0 0;
        padding: 5px 0;
        text-align: right;
        clear: both;
    }

    form dd {
        width: 69%;
        float: left; /*line-height: 2em;*/
        margin: 0;
        padding: 5px 0;
    }

    div#tanar_adat dt, div#tanar_adat dd {
        border: 0;
        border-top: 1px solid #f7eaba;
    }

    div#tanar_adat dl {
        width: 100%;
        display: inline-table;
    }

    div#tanar_adat dt {
        width: 36%;
        float: left;
        display: table-cell;
        margin: 0;
        padding: 5px 5px 5px 0;
        text-align: right;
        clear: both;
    }

    div#tanar_adat dd {
        width: 64%;
        float: left;
        display: table-cell;
        margin: 0;
        padding: 5px 0 5px 5px;
    }

    section#fovideo {
        display: block;
    }

    div.vid3, div.fotanar_box {
        width: 33.3%;
        float: left;
    }
    
    div.fotanar_box {
        height: 265px;
    }

    #slide_body div.slide-tuti p.tuticim {
        padding-top: 0.4em;
    }


}

@media (min-width: 800px) {

}

@media (min-width: 980px) {
    nav a {
        font-size: 0.9em;
    }
}

@media (min-width: 1024px) {
    nav a {
        font-size: 1em;
    }

    article {
        width: 70%;
        margin: 0 0 0 2%;
        float: left;
    }

    aside {
        width: 25%;
        margin: 0 2% 0 0;
        float: right;
    }

    div.textpanel {
        font-size: 0.8em;
    }

    .footerhasab {
        width: 33.33%;
        float: left;
    }
}

@media (min-width: 1280px) {
    nav a {
        font-size: 1.2em;
    }
}

@media (min-width: 1366px) {
    header {
        width: 80%;
        margin: 0 10%;
    }

    article {
        width: 60%;
        margin: 0 0 0 10%;
        float: left;
        padding-top: 137px; /* reduce cls - will calculated after load */
    }

    aside {
        width: 19.5%;
        margin: 0 10% 0 0;
        float: right;
        padding-top: 137px; /* reduce cls - will calculated after load */
    }

    footer, #lablec_fekete {
        width: 80%;
        margin: 0.25em 10%
    }

}

.hidden {
    display: none !important;
}

.kiemelt_tanar_tantargyak {
    padding: 0.1rem 0 0 0;
}

.kiemelt_tanar_tantargyak span {
    background: #f7eaba;
    padding: 0.3rem 0.5rem;
    border: 1px solid #f7eaba;
    border-radius: 2rem;
    font-weight: bold;
    white-space: nowrap;
    margin: 1rem 0;
    line-height: 2rem;
}

