@font-face {
    font-family: Lato-Heavy;
    src: url("./lato-heavy-webfont.woff");
    font-weight: bold;
}

@font-face {
    font-family: Lato-Light;
    src: url("./lato-light-webfont.woff");
    font-weight: normal;
}

@font-face {
    font-family: Lato-Regular;
    src: url("./lato-regular-webfont.woff");
    font-weight: normal;
}

body {
    background-color: #ffffff;
    color: #034ea1;
    margin: 0;
    font-family: 'Lato-Regular';
    font-size: 10pt;
}


a {
    color: #5965ab;
    text-decoration: none;
}

a:hover {
    color: #8585c1;
    text-decoration: underline;
}

a[href$=".pdf"], .pdf {
    padding-left: 20px;
    background: url("../img/pdf32.png") no-repeat left top;
    background-size: 16px 16px;
}

a[href$=".xls"], a[href$=".xlsx"], .xls {
    padding-left: 20px;
    background: url("../img/xls32.png") no-repeat left top;
    background-size: 16px 16px;
}

a[href$=".doc"], a[href$=".docx"], .word {
    padding-left: 20px;
    background: url("../img/word32.png") no-repeat left top;
    background-size: 16px 16px;
}

a[href$=".ppt"], a[href$=".pps"], a[href$=".pptx"], a[href$=".odp"], .ppt {
    padding-left: 20px;
    background: url("../img/ppt32.png") no-repeat left top;
    background-size: 16px 16px;
}

a[href$=".zip"], a[href$=".7z"], .zip {
    padding-left: 20px;
    background: url("../img/zip32.png") no-repeat left top;
    background-size: 16px 16px;
}


img {
    border: 0;
}

hr {
    margin: 20px 0;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 0px;
    text-shadow: 0 0 1px transparent;
}

h1, h2, h3 {
    color: #034ea1;
}

#wrapper {
    width: 930px;
    margin: 0 auto;
}

header {
    background-color: #ffffff;
    background-size: auto 100%;
    background-image: url(../img/gora-tlo.png);
    background-repeat: no-repeat;
    background-position: right top;
    border-bottom: 6px solid #ffcd00;
    height: 220px;
    position: relative;
    display: table !important;
    width: 100%;
}


#header_left {
    display: table-cell;
}

#logo {
    height: 220px;
    width: 320px;
    display: table-cell;
    vertical-align: middle;
    text-align: left;
}

#logo img {
    margin: 0px;
    max-height: 160px;
    max-width: 320px;
}

#title {
    text-align: left;
    text-transform: uppercase;
    display: table-cell;
    height: 210px;
    width: 610px;
    vertical-align: middle;
}

#title span#page-title {
    margin: 30px 30px 30px 50px;
    display: inline-block;
    text-align: center;
    font-family: 'Lato-Light', Arial, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 32px;
    color: #ffffff;
    width: 530px;
    text-shadow: 1px 1px #0050aa;
}


#header_right {
    display: table-cell;
    height: 15px;
    margin: 10px;
    position: absolute;
    top: 0;
    right: 0;
}

#lang_select {
    width: 60px;
}

#hamburger {
    color: #e8eaf2;
    width: 33px;
    height: 33px;
    margin: 7px 12px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #e8eaf2;
    border-radius: 3px;
    background-color: rgba(232, 234, 242, 0.2);
    display: none;
}

#hamburger:hover {
    cursor: pointer;
}

#hamburger .fa {
    line-height: 2;
    font-size: 16px;
}

#banner {
    /*border-bottom: 6px solid #a9ca43;*/
    margin: 0;
    padding: 0;
}

#banner img {
    display: block;
    width: 100%;
    height: auto;

}

#content-wrapper {
    display: table;
    width: 100%;
}

nav {
    background-color: #034ea1;
    width: 200px;
    display: table-cell;
    vertical-align: top;
    font-family: 'Lato-Regular', Arial, sans-serif;
    font-weight: normal;
    padding: 10px 0;
}

nav ul {
    margin: 0;;
    padding: 0;
    list-style: none;
    font-size: 18px;
    line-height: 21px;
    font-weight: normal;
    width: 200px;
}

nav ul li {
    padding: 5px 10px;
}

nav ul li a {
    color: #eeeeee;
    text-decoration: none;
}

nav ul li a:hover {
    color: #ffcd00;
    text-decoration: none;
}

nav ul li.menu_header span {
    color: #eeeeee;
    text-decoration: none;
    font-weight: bold;
}

nav ul:not(:first-of-type) li.menu_header {
    padding: 30px 10px 5px 10px;
}

nav.right {
    display: none;
}

#content {
    width: 100%;
    padding: 10px;
    background-color: rgba(248, 248, 248, 1);
    min-height: 400px;
    display: table-cell;
}

#content p:first-of-type {
    margin-top: 0;
}

#content a {
    color: #0084ea;
}

#content a:hover {
    text-decoration: underline;
}

#content iframe[src*="youtube"], #content iframe[src*="youtu.be"] {
    width: 100%;
    height: 400px;
    border: none;
}


#content #blueimp-gallery a {
    color: #ffffff;
}

#content h3 {
    margin-top: 0;
}

h3:empty {
    display: none;
}

img.img_default {
    width: 100%;
    height: auto;
}

img.img_left {
    width: 200px;
    height: auto;
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
}

img.img_right {
    width: 200px;
    height: auto;
    float: right;
    margin-left: 25px;
    margin-bottom: 15px;
}

img.img_center {
    width: 200px;
    height: auto;
    margin: 15px auto;
    display: block;
}

img.img_center2 {
    width: 450px;
    height: auto;
    margin: 15px auto;
    display: block;
}


#login {
    width: 300px;
    display: inline-block;
}

#login input {
    width: 200px;
    margin: 3px;
    padding: 0;
    height: 20px;
}

#login select {
    width: 202px;
    margin: 3px 3px 3px -1px;
    padding: 0;
    height: 22px;
}

#login .button {
    width: 80px;
    height: 26px;
}

h4.err {
    color: #971515;
}

h4.ok {
    color: #4dad54;
}

div.alert {
    border: 1px solid #0050aa80;
    border-radius: 2px;
    background-color: #bbe9ff;
    padding: 10px;
    margin: 0 0 15px 0;
}

div.alert p {
    display: table-cell;
    vertical-align: middle;
}

.ex-icon {
    font-size: 50px;
    display: table-cell !important;
    vertical-align: middle;
    opacity: 0.4;
    width: 70px;
}

div.alert::before {
    font-size: 20px;
}

.navigation {
    text-align: right;
    padding: 0 10px;
}

table.settings_box {
    width: 100%;
}

.settings_box {
    border: 1px solid #9e9e9e;
    border-radius: 2px;
    margin: 10px 0;
    border-collapse: collapse;
}

.settings_box .title, .settings_box .title td, .settings_box h4 {
    background: #d9d9d9 url("../img/gradient.png") repeat-x 0 0/1px 105%;
    border-bottom: 1px solid #d0d0d0;
    margin: 0;
    padding: 5px;
    font-weight: bold;
}

.settings_box span.label {
    display: block;
    padding: 3px 3px 1px 3px;
}

.settings_box div.options {
    display: block;
    padding-left: 15px;
    margin-bottom: 8px;
}

.settings_box td {
    padding: 2px;
}

.settings_box .hover_tr {
    background: url("../img/gradient_p2.png") repeat-x 0 0/1px 105%;
    background-color: #dfe0e5;
}

.settings_box ul {
    padding-left: 25px;
}

.settings_box textarea {
    width: 99%;
}

#settings input[type=text] {
    width: 50px;
}

.file_name {
    width: 250px;
    word-break: break-all;
}

.path {
    width: 300px;
    word-break: break-all;
}

#menu_box {
    border: 1px solid #DBDCDF;
}

#menu_box .title {
    font-weight: bold;
    background-color: #E8E8E8;
    padding: 5px;

}

#menu_box .title span {
    margin: 2px;
}

#menu_box span {
    display: inline-block;

}

.wid {
    width: 35px;
    text-align: center;
}

.naglowek {
    width: 80px;
}

.nazwa {
    width: 200px;
}

.jez {
    width: 200px;
    margin-left: 10px;
}

.sciezka {
    width: 280px;
}

.del {
    width: 20px;
}

#menu_box ul {
    margin: 0;
    padding: 0;
}

#menu_box li {
    display: block;
    padding: 5px;
    margin: 2px;
    background-color: #f3f4f7;
    border: 1px solid #e5e7ef;
}

span.label_lang {
    display: inline-block;
    width: 30px;
}

.form_box span.label {
    display: inline-block;
    width: 150px;
}

.form_item {
    display: table;
    margin: 2px;
}

.form_item span, .form_item div {
    display: table-cell;
    vertical-align: middle;
}

.form_item input[type=text], .form_item input[type=password] {
    width: 200px;
}

.del_tr, .del_li, #menu_box li.del_li, .settings_box .del_tr {
    background-color: #d0b6bb;
}

.new_tr, .new_li, #menu_box li.new_li, .settings_box .new_tr {
    background-color: #c8e8d7;
}

select {
    border: 1px solid #9e9e9e;
    border-radius: 2px;
    /*padding:4px;*/
    background-color: #ffffff;
    margin: 2px 0;
}

input[type=text], input[type=password] {
    border: 1px solid #9e9e9e;
    border-radius: 2px;
    padding: 4px;
    background-color: #ffffff;
    margin-bottom: 2px;
}

input[type=submit], input[type=button], #register a {
    border: 1px solid #9e9e9e;
    border-radius: 2px;
    padding: 4px 10px;
    background: #d9d9d9 url("../img/gradient.png") repeat-x 0 0/1px 105%;
}

input[type=submit]:hover, input[type=button]:hover {
    border: 1px solid #606060;
    background: url("../img/gradient_p2.png");
}

img.lista {
    vertical-align: middle;
    margin: -2px 4px 0 3px;
}

input.error, select.error {
    background-color: #FFABAE;
}

.clear {
    clear: both;
}

.news {
    padding: 15px 0;
    border-bottom: 1px solid grey;
}

.news:hover {
    cursor: pointer;
}

.news:last-of-type {
    border-bottom: none;
}

.news_title {
    font-weight: bold;
    font-size: 110%;
}

.news_data, .news_author {
    opacity: 0.6;
    font-size: 80%;
}

.news_text {
    text-align: justify;
    margin: 10px 0;
}

.news_full_text {
    margin: 10px 0;
}

.news_text p {
    margin: 0;
}

.news_photo_s img {
    width: 150px;
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
}

.news_photo_m img {
    width: 300px;
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
}


.news_more {
    display: block;
    float: right;
}

#news_grafika {
    margin-bottom: 15px;
}

#news_grafika img {
    width: 200px;
}

#sortable_gallery {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#sortable_gallery li {
    margin: 3px;
    display: inline-block;
}

#sortable_gallery li div.gallery_image {
    padding: 6px;
    background-color: #aaaaaa;
    border: 1px solid #666666;
    border-radius: 3px;
    text-align: center;
}

#sortable_gallery li div.gallery_image input[type="text"] {
    min-width: 100px;
    width: 89%;
    margin: 5px 0 0 0;
}

span.lang_label {
    display: inline-block;
    width: 20px;
    text-align: right;
}

div.gallery_image img {
    max-width: 500px;
    max-height: 200px;
    height: 150px;
}

#photos {
    display: block;
}

.delete_x {
    width: 20px;
    height: 20px;
    border: 1px solid #333333;
    border-radius: 10px;
    background-color: #cccccc;
    background-image: url('../img/del.png');
    background-repeat: no-repeat;
    background-position: center center;
    float: right;
    margin: -10px;
}

div.photo_gallery {
    font-size: 0;
    line-height: 0;
    max-width: 680px;
}

a.photo {
    display: inline-block;
    margin: 0 10px 10px 0;
}

a.photo img {
    display: block;
    height: 142px;
}


#content #blueimp-gallery a {
    color: #ffffff;
}


@media screen and (max-width: 930px) {
    #wrapper {
        max-width: 730px;
    }

    #content {
        max-width: 530px;
    }

    #content iframe[src*="youtube"], #content iframe[src*="youtu.be"] {
        height: 280px;
    }

    header {
        min-height: none;
        height: 166px;
    }

    #logo {
        height: 166px;
        width: 260px
    }

    #logo img {
        max-width: 260px;
        max-height: 130px;
    }

    #title {
        height: 166px;
        width: 470px;
    }

    #title span#page-title {
        font-size: 24px;
        line-height: 26px;
        width: 400px;
        margin: 20px 20px 20px 50px;
    }

    .news_photo_m img {
        width: 100%;
        margin-bottom: 20px;
    }

    a.photo img {
        height: 150px;
    }

    div.gallery_image img {
        max-width: 450px;
        max-height: 150px;
        height: 150px;
    }

    img.img_center2 {
        width: 350px;
    }
}


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

    header {
        height: 150px;
    }

    #title {
        height: 150px;
    }

    #title span#page-title {
        margin: 20px;
        font-size: 20px;
        line-height: 22px;
        width: 360px;
    }

    #logo {
        height: 150px;
        width: 200px;
    }

    #logo img {
        height: auto;
        max-height: 110px;
        max-width: 200px;
    }

    #title {
        height: 150px;
        width: 420px;
    }

    #title #page-title {
        margin: 20px 20px 20px 40px;
        width: 360px;
    }

    #wrapper {
        max-width: 620px;
        width: 100%;
    }

    #content {
        max-width: 450px;
    }

    #content iframe[src*="youtube"], #content iframe[src*="youtu.be"] {
        height: 240px;
    }

    nav {
        max-width: 170px;
    }

    nav ul {
        max-width: 170px;
    }

    a.photo img {
        height: 135px;
    }

    div.gallery_image img {
        max-width: 400px;
        max-height: 120px;
        height: 120px;
    }

}

@media screen and (max-width: 620px) {
    header {
        min-height: none;
        max-height: 130px;
        width: 100%;
        height: auto;
        background-size: auto 22vw;
        background-position: right bottom;
    }

    #header_left {
        height: auto;
        min-height: 50px;
        max-width: 620px;
        width: 100%;
        vertical-align: middle;
    }

    #header_right {
        position: relative;
        vertical-align: top;
        padding: 0;;
        text-align: center;
    }

    #logo {
        max-height: 100px;
        height: auto;
        width: 35vw;
        vertical-align: middle;
    }

    #logo img {
        max-height: 100px;
        height: auto;
        margin: 0;
        width: 35vw;
    }

    #title {
        max-width: 400px;
        min-height: 50px;
        max-height: 130px;
        text-align: left;
        width: auto;
        height: auto;
    }

    #title span#page-title {
        margin: 3px 3px 3px 30px;
        font-size: 16px;
        line-height: 18px;
        width: 43vw;
    }

    #hamburger {
        display: block;
    }

    #content {
        max-width: 620px;
    }

    #content iframe[src*="youtube"], #content iframe[src*="youtu.be"] {
        height: 240px;
        height: 56vw;
    }

    nav {
        display: none;
    }

    nav.mobile_nav {
        position: absolute;
        right: 0;
        top: 72px;
        display: block;
    }

    a.photo img {
        height: 27vw;
        width: auto;
    }

    div.gallery_image img {
        max-width: 400px;
        max-height: 140px;
        height: 140px;
    }

}

@media screen and (max-width: 500px) {
    #title span#page-title {
        font-size: 14px;
        width: 42vw;
    }
}

@media screen and (max-width: 450px) {
    header {
        background-size: auto 150%;
        background-position: 35vw bottom;
    }

    #title span#page-title {
        width: 39vw;
    }

    .news_photo_s img {
        width: 100%;
        margin-bottom: 20px;
    }

    img.img_left, img.img_right, img.img_center, img.img_center2 {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 20px;
        margin-top: 10px;
    }

    a.photo img {
        width: 100%;
        height: auto;
        max-height: none;
    }

    div.gallery_image img {
        max-width: none;
        max-height: none;
        width: 100%;
        height: auto;
    }

}


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

    #title span#page-title {
        font-size: 12px;
        width: 36vw;
    }

    .form_item {
        display: block;
        margin-top: 4px;
        margin-bottom:: 4px;
    }

    .form_item span.label {
        display: block;
    }

    .form_item input[type=text], .form_item input[type=password], .form_item select, form_item span.hidden_input {
        display: block;
        width: 95%;
        max-width: 340px;
    }


}
