@font-face {
    font-family: Crete Round;
    src: url(fonts/Crete_Round/CreteRound-Italic.ttf);
}

@font-face {
    font-family: Crete Round;
    src: url(fonts/Crete_Round/CreteRound-Regular.ttf);
}

@font-face {
    font-family: Open Sans Condensed;
    src: url(fonts/Open_Sans_Condensed/OpenSans-CondLight.ttf);
}

@font-face {
    font-family: Roboto;
    src: url(fonts/Roboto/Roboto-Regular.ttf);
}

@font-face {
    font-family: Exo;
    src: url(fonts/Exo/Exo-Regular.ttf);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
    }
    to {
        opacity: .75;
    }
}

html {
    font-family: Georgia, sans-serif;
    background-image: url('img/bg-6.jpg');
    background-attachment: fixed;
}

body {
    font-size: 110%;
}

main,
#main {
    margin: auto;
    min-width: 1100px;
    max-width: 1100px;
    /*width: 80%;*/
    padding: 10px;
    display: block;
}

#box {
    display: block;
    display: flex;
    align-items: stretch;
    flex-direction: row;
}

#box>aside,
#box>#aside {
    flex: 1;
}

#box>section,
#box>#aside {
    flex: 3;
}

header,
section,
footer,
#header,
#section,
#footer {
    padding: 5px;
}

aside,
section,
footer,
#aside,
#section,
#footer {
    margin-top: 3px;
}


/*Fejléc*/

main>header,
#main>#header {
    font-size: 120%;
    min-height: 150px;
    max-height: 450px;
    /*padding-right: 400px;*/
    padding-left: 30px;
    background-color: black;
    background-attachment: scroll;
    background-image: url('img/header.png');
    background-repeat: no-repeat;
    background-position: right top;
    border-radius: 10px 10px 0 0;
}

main>header h1,
#main>#header h1 {
    /*font-family: 'Raleway', sans-serif;*/
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: normal;
    font-size: 250%;
    letter-spacing: 3px;
    color: white;
    text-align: left;
    padding-left: 15px;
    padding-bottom: 4px;
    /*background-color: rgba(3,79,132,0.6);*/
    border-left: solid 15px rgb(3, 78, 132);
}


/*Slide*/

#slide {
    /*min-width: 992px;
	width: 80%;*/
    margin-top: 0px;
    padding: 0;
    margin-bottom: 0;
    opacity: .75;
    -webkit-transition: opacity .75s ease-in;
    /*Kép elhalványítása*/
    -moz-transition: opacity .75s ease-in;
    -o-transition: opacity .75s ease-in;
    animation: fadeInSlide .75s ease-in-out;
}

#slide:hover {
    opacity: 1;
}


/*Menü*/

main>nav {}

main>nav ul,
#main>#nav ul {
    list-style-type: none;
    background-color: rgb(3, 79, 132);
    padding: 0px;
    margin: 0;
    overflow: hidden;
}

main>nav li,
#main>#nav li {
    float: left;
}

main>nav li a,
#main>#nav li a {
    font-family: 'Crete Round', sans-serif;
    background-color: rgb(3, 79, 132);
    /*Snorkel blue*/
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 12px;
    line-height: 100%;
    /*border-radius: 0 0 5px 5px;*/
    font-size: 105%;
    transition: 1s;
}

main>nav li a:hover,
#main>#nav li a:hover {
    background-color: #91A8D0;
    color: black;
    transition: 1s;
}

main>nav li a:active,
#main>#nav li a:active {
    background-color: #91A8D0;
    color: red;
}

main>nav li a[href="#"],
#main>#nav li a[href="#"] {
    background-color: navy;
    /*background: linear-gradient(black, navy);*/
    background: black;
    font-style: italic;
    color: white;
}


/*section*/

#box>section,
#box>#section {
    background-color: rgba(139, 157, 195, 0.85);
    padding-left: 20px;
    padding-right: 20px;
    animation: fadeIn 1s ease-in-out forwards;
    font-family: Exo;
}

#box>section>p,
#box>#section>p {
    text-align: justify;
    padding: 5px;
}

#box>section img,
#box>section img,
#box>#section img {
    border: 5px solid brown;
    border-radius: 5px;
    transition: 1s;
}

#box>section img.galery {
	height: 100px;
}

#box section h1,
#box #section h1 {
    font-family: 'Playfair Display', serif;
    font-variant: small-caps;
    color: brown;
    /*#EA4335*/
    font-size: 180%;
    letter-spacing: 3px;
    text-align: center;
}

#box>section em,
#box>#section em {
    font-weight: bold;
}

#box>section em.cim {
    color: brown;
}

#box>section a,
#box>#section a {
    color: brown;
    font-weight: bold;
    text-decoration: none;
    transition: 0.6s;
}

#box>section a:visited,
#box>#section a:visited {
    color: #cb3434;
    text-decoration: none;
    transition: 0.6s;
}

#box>section a:hover,
#box>#section a:hover {
    color: blue;
    text-decoration: underline;
    transition: 0.6s;
}

#box>section img:hover,
#box>#section img:hover {
    transform: rotate(-2deg);
    border: 5px solid #003399;
    border-radius: 5px;
    transition: 1s;
}

#box>section td>a {
    color: #CCD6DD;
    text-decoration: none;
}

#box>section td>a:visited {
    color: #aaaaee;
    text-decoration: none;
}

#box>section td>a:hover {
    color: #800000;
    text-decoration: underline;
}

#box>section td:hover {
    background-color: #404040;
    transition: 0.6s;
}

#box>section #alternativ,
#box>#section #alternativ {
    border: 0;
    width: 40px;
}

#box>section #alternativ:hover,
#section #alternativ:hover {
    border: 0;
    width: 40px;
    transform: rotate(0deg);
}

#box>section img.beagyazott,
#box>#section img.beagyazott:hover {
    float: right;
    margin: 8px;
    transform: rotate(0deg);
    border: 5px solid brown;
    border-radius: 5px;
}

#box>section #akmen,
#box>#section #akmen {
    padding: 0;
    padding-top: 10px;
    margin: 0px;
    text-align: right;
}

#box>section p.video {
    font-style: italic;
    text-align: center;
}

#box>section table {
    margin: 0 auto;
}


/*aside*/

#box>aside,
#box>#aside {
    background-color: rgba(0, 72, 131, 0.9);
    padding: 0px;
    margin-right: 3px;
    animation: fadeIn .75s ease-in-out forwards;
}

#box>aside p,
#box>#aside p {
    text-align: center;
    padding: 10px;
    color: #E1E8ED;
}

#box>aside p:nth-child(1),
#box>#aside p:nth-child(1) {
    background-color: rgba(41, 47, 51, 1);
    color: white;
    font-variant: small-caps;
    font-size: 110%;
}

#box>aside img,
#box>#aside img {
    border: 5px solid rgb(225, 232, 237);
    border-radius: 5px;
    transition: 1s;
}

#box>aside article img:first-child,
#box>#aside #article img:first-child {
    transform: rotate(-3deg);
    z-index: 2;
    transition: 1s;
}

#box>aside article img:nth-child(2),
#box>#aside #article img:nth-child(2) {
    transform: rotate(3deg);
    z-index: 1;
    position: static;
    transition: 1s;
}

#box>aside article img:hover,
#box>#aside #article img:hover {
    transform: rotate(0deg);
    border: 5px solid brown;
    border-radius: 5px;
    transition: 1s;
}

#box>aside article #cim,
#box>#aside #article #cim
/*Hónap képe cím*/

{
    padding: 0;
    font-weight: bold;
    font-style: italic;
    transition: 1s;
}

#box>aside ul,
#box>#aside ul {
    list-style-type: none;
    padding: 10px;
    margin: 10px;
}

#box>aside li,
#box>#aside li {
    padding: 10px;
    text-align: center;
}

#box>aside li a,
#box>#aside a {
    color: #E1E8ED;
    text-decoration: none;
}

#box>aside li a:visited,
#box>#aside a:visited {
    color: #afc2cf;
    text-decoration: underline;
}

#box>aside li a:hover,
#box>#aside a:hover {
    color: red;
    text-decoration: underline;
}

#box>section #vissza,
#box>#section #vissza {
    text-align: center;
    font-size: 120%;
    font-style: italic;
}

#box>aside #figure,
#box>#aside #figure {
    display: block;
    /*background-color: rgb(225,232,237);*/
    /*transform: rotate(-3deg);*/
    padding-bottom: 3px;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 40px;
    margin-right: 40px;
    transition: 1s;
}

#box>aside #figure:hover,
#box>#aside #figure:hover {
    transform: rotate(-3deg);
    transition: 1s;
    /*webkit-transform: scale(2);*/
}

figcaption,
#figcaption {
    text-align: center;
    font-weight: bold;
    font-style: italic;
    font-size: 100%;
    color: white;
    /*background-color: rgb(225,232,237);*/
}

iframe {
    width: 560px;
    height: 315px;
}


/*Lábléc*/

main>footer p,
#main>#footer p {
    text-align: center;
    color: white;
    font-variant: small-caps;
}

main>footer,
#main>#footer {
    background-color: black;
    border-radius: 0 0 10px 10px;
}


/*egyéb*/

#box p.kep,
#main>#box p.kep {
    text-align: center;
}

th {
    padding: 10px;
    background-color: rgb(3, 79, 132);
    color: white;
    vertical-align: middle;
}

td {
    vertical-align: middle;
    padding: 10px;
    background-color: #292F33;
    color: white;
    transition: 0.6s;
}

summary {
    padding: 10px;
    text-align: left;
    font-weight: bold;
}

details p {
    font-style: italic;
}

#normal,
#section #normal {
    display: none;
}


/*űrlap*/

form {
    margin-top: 20px;
}

fieldset {
    width: 70%;
    margin: auto;
    background-color: rgb(0, 72, 131);
    border: 0;
    margin-bottom: 15px;
    border-radius: 2px 2px 2px 2px;
}

legend {
    font-weight: bold;
    background-color: lavender;
    padding: 5px;
    border-radius: 2px 2px 2px 2px;
}

label {
    font-style: italic;
}

input[type="submit"],
input[type="reset"] {
    color: white;
    font-weight: bold;
    font-family: Arial, sans-serif;
    width: 150px;
    height: 30px;
    border-radius: 3px 3px 3px 3px;
    margin: 5px;
    background-color: blue;
    border: 0;
    transition: 0.6s;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: brown;
    transition: 0.6s;
}

input[type="submit"]:active,
input[type="reset"]:active {
    background-color: red;
    transition: 0.6s;
}

#gomb {
    text-align: center;
}

#box>section #szavaz {
    text-align: center;
    font-style: italic;
    font-size: 110%;
}

#box>section form>p {
    font-style: italic;
    text-align: center;
    color: brown;
    font-weight: bold;
}

#area {
    background-color: cornflowerblue;
    border: 0;
}

form #hiba li,
section ul#hiba li {
    text-align: center;
    color: brown;
    font-weight: bold;
    list-style-type: none;
}

form ul#hiba,
section ul#hiba {
    list-style-type: none;
}

#msg {
    text-align: center;
    font-weight: bold;
    color: brown;
}

section p#messageText,
section div.messageCheck {
    background-color: rgb(0, 72, 131);
    padding: 10px;
    border-radius: 10px;
    color: white;
    margin-bottom: 10px;
}

section p#messageText em {
    font-size: 0.9em;
}

section button {
    border: none;
    padding: 10px;
    border-radius: 10px;
    margin-left: 10px;
    font-family: Georgia;
    font-weight: bold;
    color: white;
    background-color: blue;
    transition: 1s;
    width: 30%;
    display: block;
    margin: auto;
}

section form#messageForm {
    display: none;
}

section button:hover {
    background-color: brown;
    transition: 1s;
}


/*reszponzív oldalszerkezet*/

#ikon {
    display: none;
}


/*&#9776;*/

@media screen and (max-width: 992px) {
    html,
    #leiras {
        background-color: #404040;
        background: linear-gradient(#404040, #202020);
    }
    main,
    #main {
        min-width: 450px;
        margin: auto;
    }
    main>header h1,
    #main>#header h1 {
        font-size: 180%;
        padding-left: 5px;
        padding-right: 3px;
        background-color: rgb(3, 79, 132);
    }
    body {
        font-size: 100%;
    }
    #box {
        display: block;
    }
    #box>aside,
    #box>#aside {
        display: none;
    }
    nav li:not(:first-child),
    #nav li:not(:first-child) {
        display: none;
    }
    #ikon {
        display: inline-block;
        float: right;
    }
    #nyil {
        display: inline-block;
        width: 10px;
        height: 10px;
    }
    nav ul.kibont li,
    #nav ul.kibont li {
        display: block;
        float: none;
    }
    nav ul.kibont,
    #nav ul.kibont {
        position: relative;
    }
    nav ul.kibont #ikon,
    #nav ul.kibont #ikon {
        position: absolute;
        right: 0;
        top: 0;
    }
    nav ul.kibont li a,
    #nav ul.kibont li a {
        display: block;
    }
    img {
        height: 100px;
    }
    #alternativ {
        width: 25px;
        height: 25px;
    }
    #box>section video,
    #box>#section video {
        width: 250px;
    }
    #slide {
        display: none;
    }
    iframe {
        width: 280px;
        height: 158px;
    }
    section form {
        width: 90%;
        margin: auto;
        margin-top: 20px;
    }
    textarea {
        margin: auto;
        width: 80%;
        height: 20%;
    }
}

@media screen and (min-width: 1200px) {
    /*main, #main {max-width: 1200px;}*/
    /*#slide img {max-width: 1200px;}*/
}


/*admin*/

#box>section #admin {
    text-align: right;
}