@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600);
@import url(https://fonts.googleapis.com/css?family=PT+Serif);

HTML {
    background-color: #fcfcfd;
    background-attachment: fixed;
    background-image: url(../images/noise.png);
    background-repeat: repeat;
    -webkit-font-smoothing: antialiased;
}

HTML,
BODY {
    margin: 0;
}

A {
    text-decoration: none;
    display: inline-block;
}

BODY {
    font-family: "PT Serif", Georgia, serif;
    font-weight: normal;
}

H2,
H3,
H4,
H5,
H6 {
    margin-bottom: 10px;
}

H1 {
    color: #444;
    font-size: 1.6em;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: -0.5px;
    line-height: 1em;
}

H2,
H3,
H4,
H5,
H6 {
    color: #555;
    font-size: 1.2em;
    margin-top: 20px;
}

H3,
H4,
H5,
H6 {
    font-size: 1em;
}

HEADER {
    background-color: rgba(22, 29, 32, 0.95);
    position: fixed;
    top: 0;
    font-family: "Open Sans", "Helvetica Neue", sans-serif;
    overflow: auto;
    width: 100%;
}

HEADER #header-wrap {
    padding: 0 10px 8px 10px;
    overflow: auto;
    height: 100%;
}

HEADER #nadpisy {
    margin: 0 auto;
    width: 325px;
}

HEADER #nadpisy #smallNadpis {
    font-size: 0.7em;
    display: block;
    color: #eaedf1;
    margin-top: -5px;
    text-align: center;
}

HEADER #nadpisy #nadpis {
    font-size: 2.5em;
    font-weight: 300;
    display: block;
    color: #2eb398;
}

HEADER NAV {
    width: auto;
    display: block;
}

HEADER NAV UL {
    width: 500px;
    overflow: auto;
    margin: 1em auto;
}

HEADER NAV UL LI {
    display: block;
    float: left;
}

HEADER NAV UL LI .ovalFirst {
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

HEADER NAV UL LI .ovalLast {
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

HEADER NAV UL LI A {
    text-decoration: none;
    font-weight: 600;
}

HEADER NAV .navButton {
    height: 30px;
    width: 70px;
    background-color: #2eb398;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    -ms-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

HEADER NAV .navButton:hover,
HEADER NAV .navButton.current {
    background-color: #299f87;
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    -ms-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

HEADER NAV .navButton .btnico {
    height: 24px;
    width: 24px;
    padding-top: 18px;
    background-position: center bottom;
    background-repeat: no-repeat;
    margin-right: auto;
    margin-left: auto;
    display: none;
}

HEADER NAV .navButton .building {
    background-image: url("../images/icons/house.png");
}

HEADER NAV .navButton .lesson {
    background-image: url("../images/icons/lessons.png");
}

HEADER NAV .navButton .translation {
    background-image: url("../images/icons/translations.png");
}

HEADER NAV .navButton .price {
    background-image: url("../images/icons/prices.png");
}

HEADER NAV .navButton .contact {
    background-image: url("../images/icons/contact.png");
}

HEADER NAV .navButton .info {
    background-image: url("../images/icons/info.png");
}

HEADER NAV .navButton SPAN {
    color: #eee;
    padding-top: 7px;
    display: block;
    font-size: 0.8em;
}

#flashes {
    margin-top: 111px;
    min-height: 1px;
}

#flashes .flash {
    font-size: 14px;
    line-height: 20px;
    margin: 2px 0;
    margin-top: 0;
    padding: 5px 30px;
}

#flashes .flash.error {
    background: #e76049;
}

#flashes .flash.success {
    background-color: #2eb398;
}

#flashes .flash.info {
    background-color: #4981e7;
}

#wrapper {
    margin-top: 8em;
    height: 100%;
    text-shadow: rgba(255, 255, 255, 0.901961) 0 1px 1px;
}

#wrapper A {
    color: #e76049;
}

#wrapper EM {
    color: #4981e7;
    font-style: normal;
}

#wrapper .clearfix {
    clear: both;
}

#content {
    color: #555;
    font-size: 1em;
    line-height: -0.2em;
    clear: both;
    line-height: 1.8;
    padding: 20px;
    padding-bottom: 80px;
    margin: 4em auto;
}

#content OL,
#content UL {
    list-style: disc;
    margin-left: 40px;
}

#content UL UL {
    list-style: circle;
}

#content LI.listNone {
    list-style: none;
}

FOOTER {
    width: 100%;
    color: #444;
    text-align: center;
    position: fixed;
    bottom: 0;
    padding: 2px 0;
    height: 20px;
    clear: both;
    margin-top: 50px;
    background-color: rgba(255, 255, 255, 0.8);
}

FOOTER SPAN {
    display: block;
}

FOOTER A {
    text-decoration: none;
    color: #e76049;
}

#content A:hover,
FOOTER A:hover {
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    -o-transform: rotate(2deg);
    transform: rotate(2deg);
}

.contact-us {
    width: 80%;
    margin: 0 auto;
}

.contact-us label {
    display: block;
}

.contact-us input {
    width: 90%;
    height: 38px;
    margin: 0 0 20px 0;
    padding: 0 18px;
    background: #fefefe;
    border: 1px solid #2eb398;
    font-size: 15px;
    color: #000;
    outline: 0;
}

.contact-us input:-moz-placeholder {
    color: #999;
}

.contact-us input:-ms-input-placeholder {
    color: #999;
}

.contact-us input::-webkit-input-placeholder {
    color: #999;
}

.contact-us textarea {
    width: 90%;
    margin: 40px 0 20px 0;
    padding: 10px 18px 0 18px;
    background: #fefefe;
    border: 1px solid #2eb398;
    font-size: 15px;
    color: #000;
    outline: 0;
}

.contact-us textarea:-moz-placeholder {
    color: #999;
}

.contact-us textarea:-ms-input-placeholder {
    color: #999;
}

.contact-us textarea::-webkit-input-placeholder {
    color: #999;
}

.contact-us input[type="submit"] {
    width: 50%;
    height: 50px;
    margin-top: 14px;
    padding: 0;
    background: #299f87;
    border: 1px solid #eee;
    cursor: pointer;
    font-size: 16px;
    color: #fefefe;
    text-transform: uppercase;
    line-height: 50px;
    text-align: center;
}

.contact-us input[type="submit"]:hover {
    background: #e76049;
}

#tabCenik {
    margin: 25px auto;
    width: 370px;
    text-align: center;
}

#skype {
    margin: 0 auto;
    margin-top: 40px;
    height: 82px;
    width: 92px;
}

#kontakt {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.kontakt_item {
    flex: 1 1 160px;
}

#kontaktPravy {
    background: url("../images/irena_martinezova.jpg");
    background-position: center;
    background-repeat: no-repeat;
}

.ytvideo {
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.clear {
    clear: both;
}

HR {
    max-width: 150px;
    margin: 40px auto;
    margin-bottom: 0;
    color: #ccc;
    background-color: #ccc;
    height: 1px;
}

.real-heading {
    overflow: auto;
    width: 100%;
    height: auto;
    margin: 30px 0 10px 0;
}

.real-heading H3.reality-heading {
    float: left;
    margin: 0;
}

.real-heading SPAN.added {
    font-size: 0.6em;
    color: #bbb;
    float: right;
    margin-top: 5px;
}

@media screen and (min-width: 900px) {
    HEADER #header-wrap {
        max-width: 900px;
        margin: 0 auto;
        padding: 8px 10px;
    }

    HEADER #header-wrap #nadpisy {
        float: left;
        width: auto;
    }

    HEADER #header-wrap #nadpisy #smallNadpis {
        float: right;
    }

    HEADER #header-wrap NAV {
        width: auto;
        float: right;
    }

    HEADER #header-wrap NAV UL {
        height: auto;
        padding: 0;
    }

    HEADER #header-wrap NAV UL LI A .navButton {
        width: 80px;
        height: 75px;
    }

    HEADER #header-wrap NAV UL LI A .navButton .btnico {
        display: block;
    }

    #content {
        width: 80%;
    }

    #flashes {
        margin-top: 91px;
    }
}
