/* NAV TOGGLE */
.nav-toggle {
    margin: 15px 0 15px 15px;
}
.nav-toggle span {
    background: #fff;
}

.nav-toggle.active span {
    background: #fff;
}

/* 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: #fe369c;
    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: #fe369c;
}

.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: 1800px) {
    .decor-letter-left {
        margin-left: -7%;
        font-size: 20vw;
    }
}

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

    .pad-big,
    .pad-big-top {
        padding-top: 40px;
    }
    .pad-big,
    .pad-big-bottom {
        padding-bottom: 40px;
    }
    .margin-big,
    .margin-big-top {
        margin-top: 40px;
    }
    .margin-big,
    .margin-big-bottom {
        margin-bottom: 40px;
    }

    .pad-med,
    .pad-med-top {
        padding-top: 30px;
    }
    .pad-med,
    .pad-med-bottom {
        padding-bottom: 30px;
    }

    .pagination-wrapper,
    .heading,
    .margin-med,
    .margin-med-top {
        margin-top: 30px;
    }

    .pagination-wrapper,
    .heading,
    .margin-med,
    .margin-med-bottom {
        margin-bottom: 30px;
    }

    .heading .heading-content .text:not(:first-child) {
        margin-top: 18px;
    }

    .subpage #content {
        padding-top: 77px;
    }

    #main-menu {
        margin: 26px 0;
    }
    .subpage #main-menu {
        margin: 19px 0;
    }

    .logo a img {
        height: 50px;
    }

    .title-normal {
        font-size: 32px;
    }
    .title-med {
        font-size: 22px;
    }

    .text {
        line-height: 28px;
    }

    .realization-preview-content {
        padding-left: 4%;
        padding-right: 4%;
    }

    .realization-preview-content > *:not(:first-child),
    .realization-preview-extra > *:not(:first-child) {
        margin-top: 25px;
    }
    .realization-preview-content > *:not(:last-child),
    .realization-preview-extra > *:not(:last-child) {
        margin-bottom: 25px;
    }

    .article-preview-list {
        margin: -7px;
    }
    .article-preview-list .item-wrapper {
        padding: 7px;
    }
    .article-preview .title-base {
        font-size: 16px;
        line-height: 26px;
    }
    .article-preview .text {
        line-height: 26px;
    }
}

@media screen and (max-width: 1366px) {
    .main-slider-arrows {
        bottom: 5%;
        left: 2%;
        right: 2%;
    }
    .main-slider-arrows button {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
    .main-slider-slide .content-wrapper {
        bottom: 5%;
        left: 12%;
        right: 12%;
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 1280px) {
    .logobox-list-item {
        width: 16.6666%;
    }
    .article-preview-list .item-wrapper {
        width: 33.3333%;
    }
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    #main-menu {
        margin: 20px 0;
    }

    .realization-preview-list {
        margin: -15px;
    }
    .realization-preview-list .item-wrapper {
        padding: 15px;
    }

    .realization-preview-content > *:not(:first-child),
    .realization-preview-extra > *:not(:first-child) {
        margin-top: 15px;
    }
    .realization-preview-content > *:not(:last-child),
    .realization-preview-extra > *:not(:last-child) {
        margin-bottom: 15px;
    }
    .article-preview .content-container {
        padding: 15px;
    }
    .article-preview .content-wrapper {
        padding-bottom: 46px;
    }
    .article-preview .title-base {
        font-size: 15px;
        line-height: 24px;
    }
    .article-preview .text {
        font-size: 13px;
        line-height: 24px;
    }
}

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

@media screen and (max-width: 1139px) {
    .logobox-list-item {
        width: 20%;
    }
    .text table {
        min-width: 1140px;
    }

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

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

    #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;
    }

    .text table {
        min-width: 1140px;
    }

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

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

    .rwd-hide {
        display: none;
    }

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

    .container {
        width: 100%;
    }

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

    .article-image {
        max-width: calc(50% - 12px);
        margin-right: 25px;
        margin-bottom: 15px;
    }
    
    .pad-big,
    .pad-big-top {
        padding-top: 35px;
    }
    .pad-big,
    .pad-big-bottom {
        padding-bottom: 35px;
    }
    .margin-big,
    .margin-big-top {
        margin-top: 35px;
    }
    .margin-big,
    .margin-big-bottom {
        margin-bottom: 35px;
    }

    .main-slider-arrows {
        left: 2%;
        right: 2%;
    }
    .main-slider-arrows button {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
    .main-slider-arrows button .icon {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        padding: 6px 0;
    }

    .subpage #content {
        padding-top: 61px;
    }

    .subpage #main-menu {
        margin: 19px 0;
    }

    .logo {
        padding: 11px 0;
    }
    .logo a img {
        height: 38px;
    }

    .title-normal {
        font-size: 28px;
    }
    .title-med {
        font-size: 20px;
    }

    .text {
        line-height: 26px;
    }

    .pagination-wrapper ul li.next a,
    .pagination-wrapper ul li.prev a {
        width: 46px;
        height: 46px;
        line-height: 44px;
    }
    .pagination-wrapper ul li a .fa {
        margin-top: 2px;
        font-size: 10px;
    }

    .pagination-wrapper ul li a,
    .pagination-wrapper ul li span {
        padding: 8px;
    }

    .realization-preview-extra {
        display: none!important;
    }

    .realization-preview-content {
        bottom: 8%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .filelink-text .text {
        font-size: 14px;
        line-height: 22px;
    }

    body.body-block header {
        background-color: #1d71b8;
    }

    .mainpage .logo {
        opacity: 0;
        display: block;
    }
    body.body-block.mainpage .logo {
        opacity: 1;
    }
}

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

    .pad-big,
    .pad-big-top {
        padding-top: 25px;
    }
    .pad-big,
    .pad-big-bottom {
        padding-bottom: 25px;
    }
    .margin-big,
    .margin-big-top {
        margin-top: 25px;
    }
    .margin-big,
    .margin-big-bottom {
        margin-bottom: 25px;
    }


    .pad-med,
    .pad-med-top {
        padding-top: 20px;
    }
    .pad-med,
    .pad-med-bottom {
        padding-bottom: 20px;
    }

    .pagination-wrapper,
    .heading,
    .margin-med,
    .margin-med-top {
        margin-top: 20px;
    }

    .pagination-wrapper,
    .heading,
    .margin-med,
    .margin-med-bottom {
        margin-bottom: 20px;
    }

    .heading .heading-content .text:not(:first-child) {
        margin-top: 12px;
    }

    .realization-preview-list {
        margin: -10px;
    }
    .realization-preview-list .item-wrapper {
        padding: 10px;
    }

    .realization-preview .title-base {
        font-size: 16px;
    }
}

@media screen and (max-width: 900px) {
    .article-preview-list .item-wrapper {
        width: 50%;
    }
    .footer-bottom-left,
    .footer-bottom-right {
        float: none;
        text-align: center;
    }
    .footer-bottom {
        padding: 13px 0;
        line-height: normal;
    }
    .footer-bottom-left > *:not(:first-child),
    .footer-bottom .container > *:not(.clear):not(:first-child) {
        padding-top: 10px;
    }
    .footer-bottom-left > * {
        display: block;
    }
    .footer-bottom-links {
        margin: -5px;
    }
    .footer-bottom-links > li {
        margin: 4px;
    }
    .footer-bottom-links + .copyright {
        margin-left: 0;
    }

    .article-preview .content-wrapper {
        padding-bottom: 40px;
    }
    .article-preview .text {
        line-height: 22px;
    }
    .article-preview .btn-wrapper .btn.btn-custom .caption {
        font-size: 13px;
    }
    .article-preview .btn-wrapper .btn.btn-custom:after {
        margin-left: 15px;
    }
}

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

    .gallery li {
        width: 50%;

    }

    .title-normal {
        font-size: 26px;
    }

    .text {
        line-height: 24px;
    }

    .pagination-wrapper ul li {
        padding: 0 12px;
    }


    .realization-preview-list {
        margin: -7px;
    }
    .realization-preview-list .item-wrapper {
        padding: 7px;
    }
    .realization-preview-content {
        bottom: 7%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .filelink {
        padding-right: 50px;
    }

    .filelink-btn {
        width: 50px;
    }
    .filelink-btn span.caption {
        display: none;
    }
    .filelink-btn .icon {
        margin: 0!important;
    }

    .filelink-text .text {
        font-size: 12px;
        line-height: 19px;
    }

    .article-preview .title-base {
        font-size: 14px;
        line-height: 22px;
    }
}

@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 {
    }

    .title-normal {
        font-size: 24px;
    }

    .logobox-list-item {
        width: 25%;
    }

    .pagination-wrapper ul li {
        padding: 0 8px;
    }

    .realization-preview .title-base {
        font-size: 14px;
    }

    .article-preview-list .item-wrapper {
        width: 100%;
    }
}

@media screen and (max-width: 580px) {
    .realization-preview-list .item-wrapper {
        width: 100%;
    }
    .realization-preview .title-base {
        font-size: 18px;
    }
}

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

    h1 {
    }

    h2 {
    }

    h3 {
    }

    h4 {
    }

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

@media screen and (max-width: 520px) {
    .title-normal {
        font-size: 22px;
    }

    .logobox-list {
        margin: -0.6%;
    }
    .logobox-list-item {
        width: 33.33333%;
        padding: 0.6%;
    }

    .pagination-wrapper ul li {
        padding: 0 5px;
    }

    .filelink {
        padding-right: 46px;
        padding-left: 46px;
    }
    .filelink-icon {
        width: 46px;
    }
    .filelink-icon img,
    .filelink-icon .icon {
        width: 24px;
        height: 24px;
        margin-left: -12px;
        margin-top: -12px;
    }

    .filelink-btn {
        width: 46px;
    }

    .filelink-text {
        height: 44px;
        padding: 3px 15px;
    }
    .filelink-text .text {
        line-height: 17px;
    }

    .main-slider-arrows button .icon {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width: 460px) {
    .pagination-wrapper ul li {
        padding: 0 2px;
    }

    .realization-preview .title-base {
        font-size: 16px;
    }
}

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

    h1 {
    }

    h2 {
    }

    h3 {
    }

    h4 {
    }

    .pagination-wrapper ul li {
        padding: 0;
    }
    .pagination-wrapper ul li a, .pagination-wrapper ul li span {
        font-size: 12px;
    }
}

@media screen and (max-width: 360px) {
    .realization-preview .title-base {
        font-size: 14px;
    }

    .gallery li {
        width: 100%;
    }
}

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