@import url("fontawesome-all.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,600,600italic");

html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

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

body {
    -webkit-text-size-adjust: none;
}

mark {
    background-color: transparent;
    color: inherit;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input, select, textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

/* Basic */

html {
    box-sizing: border-box;
}

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

body {
    background-color: #e1d3e3;
    padding: 0.5em;
    overflow-x: hidden;
    overflow-y: scroll;
}

body, input, select, textarea {
    color: #333;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15pt;
    font-weight: 300;
    line-height: 1.65em;
}

a {
    -moz-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
    transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
    color: #47c1cc;
    text-decoration: none;
    border-bottom: dotted 1px;
}

a:hover {
    color: #47c1cc;
    border-bottom-color: transparent;
}

strong, b {
    font-weight: 600;
}

em, i {
    font-style: italic;
}

p, ul, ol, dl, table, blockquote {
    margin: 0 0 0.5em 0;
}

h2 {
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    color: inherit;
    font-weight: 600;
    line-height: 1.75em;
    margin: 1.5em 0 0.5em 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
    text-decoration: none;
}

h1 em, h2 em, h3 em, h4 em, h5 em, h6 em {
    font-style: normal;
    font-weight: 300;
}

h2 {
    font-size: 1.75em;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.2em;
    letter-spacing: -0.025em;
}

sub {
    font-size: 0.8em;
    position: relative;
    top: 0.5em;
}

sup {
    font-size: 0.8em;
    position: relative;
    top: -0.5em;
}

hr {
    border-top: 1px solid black;
    margin-top: 1.5em;
}

/* Content */

#content {
    background-color: #e1d3e3;
    background-image: url("../images/hatter.jpg");
    background-position: top center;
    background-size: 100% auto;
    background-repeat: repeat-y;
    border-radius: 0 0 5px 5px;
    padding: 1px 2em 2em 2em;
    margin: 0 auto;
    max-width: 1400px;
}

/* Section/Article */

section.special, article.special {
    text-align: center;
}

header p {
    color: #999;
    font-size: 1.25em;
    position: relative;
    margin-top: -1.25em;
    margin-bottom: 2.25em;
}

header.major {
    text-align: center;
    margin: 0 0 2em 0;
}

header.major h2 {
    font-size: 2.25em;
}

header.major p {
    position: relative;
    border-top: solid 1px #e0e0e0;
    padding: 1em 0 0 0;
    margin: 0;
    top: -1em;
    font-size: 1.5em;
    letter-spacing: -0.025em;
}

/* Lists */

ol {
    list-style: decimal;
    padding-left: 1.25em;
}

    ol li {
        padding-left: 0.25em;
    }

ul {
    list-style: disc;
    padding-left: 1em;
}

ul li {
    padding-left: 0.5em;
}

/* Links */

ul.links {
    list-style: none;
    padding-left: 0;
}

ul.links li {
    line-height: 2.5em;
    padding-left: 0;
}

/* Menu */

ul.menu {
    list-style: none;
    padding-left: 0;
}

ul.menu li {
    border-left: solid 1px #e0e0e0;
    display: inline-block;
    padding: 0 0 0 1em;
    margin: 0 0 0 1em;
}

ul.menu li:first-child {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

/* Tables */

table {
    width: 100%;
}

table.default {
    width: 100%;
}

table.default tbody tr {
    border-bottom: solid 1px #e0e0e0;
}

table.default td {
    padding: 0.5em 1em 0.5em 1em;
}

table.default th {
    font-weight: 600;
    padding: 0.5em 1em 0.5em 1em;
    text-align: left;
}

table.default thead {
    background-color: #555555;
    color: #fff;
}

#wrapper {
    max-width: 1400px;
    margin: auto;
    border-radius: 6px;
    box-shadow: 0 0 6px 0;
}

/* Header */

#header {
    position: relative;
    text-align: center;
    padding: 0;
    background-color: #fff;
    background-image: url("../images/fejlec.jpg");
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 1400px;
    min-height: 220px;
    max-height: 470px;
    height: 30vw;
    margin: auto;
    border-radius: 5px 5px 0 0;
}

#header h1 {
    padding: 0 0 2.75em 0;
    margin: 0;
}

#header h1 a {
    font-size: 1.5em;
    letter-spacing: -0.025em;
    border: 0;
}

#logo {
    position: absolute;
    bottom: -40px;
    left: 10px;
    width: 25vw;
    height: 25vw;
    min-width: 180px;
    max-width: 280px;
    min-height: 180px;
    max-height: 280px;
    box-shadow: inset 0 0 6px 0;
    border-radius: 100%;
    background-color: #fff;
    background-image: url("../images/logo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

#menu {
    display: none !important;
    color: #fff;
    font-weight: 600;
}

#nav {
    position: absolute;
    bottom: 0;
    width: 100%;
    cursor: default;
    background-color: #333;
    padding: 0;
    z-index: 1;
}

#nav:after {
    content: '';
    display: block;
    width: 100%;
    height: 0.75em;
    background-color: #47c1cc;
}

#nav > ul {
    text-align: right;
    margin: 0 10px 0 0;
    padding: 0;
}

#nav > ul > li {
    position: relative;
    display: inline-block;
    margin-left: 0;
}

#nav > ul > li a {
    color: #c0c0c0;
    text-decoration: none;
    border: 0;
    display: block;
    padding: 0.5em 0 0.5em 0;
}

#nav > ul > li:first-child {
    margin-left: 0;
}

#nav > ul > li:hover a {
    color: #fff;
}

#nav > ul > li.current {
    font-weight: 600;
}

#nav > ul > li.current a {
    color: #fff;
}

#nav > ul > li.active a {
    color: #fff;
}

#nav > ul > li.active.current:before {
    opacity: 0;
}

#nav > ul > li > ul {
    display: none;
}

.dropotron {
    background-color: #333;
    border-radius: 5px;
    color: #fff;
    min-width: 10em;
    padding: 1em 0;
    text-align: right;
    box-shadow: 0 1em 1em 0 rgba(0, 0, 0, 0.5);
    list-style: none;
}

.dropotron > li {
    line-height: 2em;
    padding: 0 1.1em 0 1em;
}

.dropotron > li > a {
    color: #c0c0c0;
    text-decoration: none;
    border: 0;
}

.dropotron > li.active > a, .dropotron > li:hover > a {
    color: #fff;
}

.dropotron.level-0 {
    border-radius: 0 0 5px 5px;
    font-size: 0.8em;
    padding-top: 0;
    margin-top: -1px;
}

@media screen and (max-width: 1360px) {
    #nav {
        font-size: 1.35vw;
    }
}

@media screen and (max-width: 980px) {
    #nav {
        font-size: 0.8em;
    }
    #nav > ul > li {
        display: none;
    }
    #menu {
        display: block !important;
    }
}

@media screen and (max-width: 736px) {
    #header {
        background-image: url("../images/fejlec2.jpg");
    }
}
