/* NAV TOGGLE */
.nav-toggle span {
    background: #79747a;
}

.nav-toggle.active span {
    background: red;
}

/* RWD MENU */
.rwd-menu ul > li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rwd-menu ul > li {
    display: block;
    float: left;
    margin-bottom: -1px;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
}

.rwd-menu ul > li > a {
    position: relative;
    padding: 13px 15px 13px;
    color: #000;
    text-align: left;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.rwd-menu .rwd-menu-wrapper > ul > li.active-link > a {
    color: #ed1c24;
    text-decoration: none;
    font-weight: 700;
}

.rwd-menu ul > li > a#home {
    padding-left: 50px;
    background: url(../images/home.png) no-repeat 15px 16px;
}

.rwd-menu ul > li.active-link > a#home {
    background: url(../images/home.png) no-repeat 15px -76px;
}

.rwd-menu ul > li > ul {
    display: none;
}

.rwd-menu ul > li.active > ul {
    display: block;
}

.rwd-menu ul > li.active > a {
    /*font-weight: bold;*/
    color: #ed1c24;
}

.rwd-menu ul > li > a > .glyphicon-bg {
    position: absolute;
    top: 1px;
    right: 0;
    bottom: 0;
    width: 50px;
    background: #e7e7e7;
    color: #000;
    text-align: center;
    transition: 0.4s all;
}

.rwd-menu ul > li > ul > li > a,
.rwd-menu ul > li.active > ul > li > a {
    color: #000;
}

.rwd-menu ul > li > ul > li.active-link > a {
    text-decoration: underline;
}

.rwd-menu ul > li:first-child > a > .glyphicon-bg {
    top: 0;
}

.rwd-menu ul > li > a .glyphicon {
    width: 100%;
    vertical-align: middle;
    text-align: center;
    line-height: 50px;
    transition: 0.4s all;
}

.rwd-menu ul > li.active > a .glyphicon {
    transition: 0.4s all;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.rwd-menu ul > li.active > ul > li:last-child {
    border-bottom: 0;
}

.rwd-menu ul > li ul {
    border-bottom: 1px solid #000;
}

.rwd-menu ul > li > ul > li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #e7e7e7;
    text-align: center;
}

.rwd-menu ul > li > ul > li:last-child {
    margin-bottom: -1px;
}

.rwd-menu ul > li > ul > li > a {
    position: relative;
    padding: 13px 15px 13px 35px;
    color: #000;
    text-align: left;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
}

.rwd-menu ul > li > ul > li > a > .glyphicon-bg,
.rwd-menu ul > li > ul > li > ul > li {
    background: #b7b7b7;
}

.rwd-menu ul > li > ul > li > ul > li > a {
    padding: 13px 15px 13px 55px;
}

.rwd-menu ul > li > ul > li > a:before {
    position: absolute;
    top: 22px;
    left: 15px;
    width: 5px;
    height: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #000;
    content: '';
}

.rwd-menu ul > li > ul > li.active-link > a:before {
    background: #000;
}

.rwd-menu ul > li > ul > li > ul > li > a:before {
    left: 35px;
}

.rwd-menu ul > li > ul > li > ul {
}

.rwd-menu ul > li > ul > li > ul > li > ul {
}

/*
    Rwd Lang Menu
 */

.rwd-lang {
    background: #fff;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    display: none;
}

.rwd-lang li .lang {
    color: #0d2a54;
}

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

@media screen and (max-width: 1440px) {
    /*
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
     */
}

@media screen and (max-width: 1280px) {
    /*
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
     */
}

@media screen and (min-width: 1140px) {
    .rwd-lang,
    .rwd-menu,
    .nav-toggle {
        display: none;
        display: none !important;
    }
}

@media screen and (max-width: 1139px) {
    #main-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .rwd-lang li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .rwd-lang .lang {
        display: block;
        padding: 12px 15px;
    }

    .rwd-lang .lang span {
        font-size: 16px;
        line-height: 24px;
    }

    .rwd-lang .langs-menu-icon {
        margin-right: 15px;
    }

    .rwd-lang .langs-menu-short {
        display: none;
    }

    .rwd-lang .langs-menu-long {
        display: inline-block;
        text-transform: uppercase;
    }

    .rwd-hide {
        display: none;
    }

    .text img {
        max-width: 100%;
        max-width: 100% !important;
    }

    /*
    .container {
        width: 100%;
    }
     */

    .body-block {
        position: fixed;
        width: 100%;
    }

    .article-image {
        margin-right: 25px;
        margin-bottom: 15px;
    }

    /*
        Tabela w klasie .text
    */
    .text table {
        min-width: 1140px;
    }

    .text table tr td {
        padding: 6px 10px;
    }

    .table-container {
        position: relative;
        overflow-x: scroll;
    }
}

@media screen and (max-width: 991px) {
    h1, h2, h3 {
        font-size: 20px;
    }

    h2 {
    }

    .form .form-teaser {
        font-size: 16px;
    }

    .form-section {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 960px) {
    /*
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
     */
}

@media screen and (min-width: 768px) {
    /*Bootstrap*/
}

@media screen and (max-width: 767px) {
    /*Bootstrap*/
}

@media screen and (min-width: 706px) {
    footer .show-hide {
        display: block !important;
    }
}

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

    .text img {
        max-width: 100%;
        max-width: 100% !important;
        width: inherit;
        width: inherit !important;
        height: auto;
        height: auto !important;
    }

    .text table,
    .text iframe,
    .text object {
        max-width: 100%;
        max-width: 100% !important;
        width: 100%;
        width: 100% !important;
    }

    .article-image {
        margin-right: 0;
        margin-top: 0;
        width: 100%;
        display: block;
        float: none;
        max-width: none;
        text-align: center;
        line-height: 0;
    }

    h1 {
    }

    h2 {
    }

    h3 {
    }

    h4 {
    }

    .submission-embed-wrappper {
        padding: 30px;
    }

}

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

    h1 {
    }

    h2 {
    }

    h3 {
    }

    h4 {
    }

    .text {
        word-wrap: break-word;
    }
}

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

    h1 {
    }

    h2 {
    }

    h3 {
    }

    h4 {
    }


    .submission-embed-wrappper {
        padding: 20px;
    }
}

@media screen and (max-width: 319px) {
    body {
        width: 320px;
    }
}
