html{
    min-height: 100%;
    display: flex;
    font-family: 'PT Sans', sans-serif;
}

nav{
    position: fixed;
    display: flex;
    flex-direction: row;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    background-color: rgb(12,67,84);
    height: 85px;
    font-size: 0.85em;
    left: 0;
    right: 0;
    z-index: 999;
}

nav div{
    display: flex;
}

#nav-container{
    flex: 1;
    justify-content: space-between;
    margin: 0 10px;
}

body{
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 1200px;
    min-height: 100vh;
}

main{
    align-self: stretch;
    width: 100%;
    margin-top: 85px;
    display:flex;
    flex: 1 1 auto;
    padding-top: 15px;
    padding-bottom: 15px;
}

main div{
    overflow: hidden;
}

nav a{
    color: white;
    text-decoration: none;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 10px;
    border-bottom: 10px solid rgba(0,0,0,0);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    white-space: nowrap;
    align-items: center;
}

nav #pages {
    flex-grow: 1;
    font-size: 1.5em;
}

nav #pages a:hover{
    color:transparent;
    border-bottom: 10px solid rgb(90,167,192);
}

nav #pages .active{
    color:transparent;
    border-bottom: 10px solid rgb(90,167,192);
}

nav #pages .active:before {
    position:absolute;
    color: white;
    font-weight: bold;
    content: attr(data-text);
}

nav #pages a:hover:before {
    position:absolute;
    color: white;
    font-weight: bold;
    content: attr(data-text);
}

#changeLang{
    cursor: pointer;
    margin-left:30px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

#changeLang a{
    flex: 1;
    border: 0;
    padding: 2px 5px;
}

#changeLang a:first-child{
    align-items: flex-end;
    justify-content: flex-end;
}

#changeLang a:last-child{
    align-items: flex-start;
    justify-content: flex-start;
}

.active-lang{
    background-color: rgb(38, 107, 130);
    font-weight: bold;
}

#changeLang a:hover{
    background-color: rgb(47, 125, 150);
}


#muzeumstat-logo-container{
    margin-right:30px;
}

.ui-front {
	z-index: 1000 !important;
}

.ui-dialog {
	z-index: 1001 !important;
}

#toTop{
    position: fixed;
    bottom: 50px;
    right: 15px;
    background-color: rgb(12,67,84);
    color:white;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    text-transform: none;
    display: none;
}

body{
    margin: 0;
}

.lang{
    text-transform: uppercase;
    /*box-shadow: 0 0 0 4px rgb(58,118,138);
    background-color: rgb(58,118,138);
    border-radius: 1px;*/
}

/*#changeLang:hover #lang{
    transition: all 0.5s ease;
    background-color: rgb(78,138,158);
    box-shadow: 0 0 0 4px rgb(78,138,158);
}*/

footer{
    background-color: rgb(236,234,232);
    display:flex;
    flex-direction: column;
    align-items: center;
    color: rgb(134,132,130);
    z-index: 2;
}


#footer-logos-container{
    display: flex;
    width: 100%;
    height: 75px;
    background-color: rgb(12,67,84);
    align-items: center;
    justify-content: center;
}

#footer-logos{
    display: flex;
    flex-direction: row;
    flex:1;
    justify-content: space-around;
}

#footer-logos div{
    display: flex;
    align-items: center;
    margin-left: 40px;
    margin-right: 40px;
}

#footer-logos div:first-child{
    justify-content: flex-end;
    flex:1;
}


#footer-logos div:last-child{
    justify-content: flex-start;
    flex:1;
}

#footer-logos a{
    display:flex;
    align-items: center;
}

#footer-logos img{
}

#footer-contacts-container{
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    justify-content: space-around;
}

#footer-contacts{
    display: flex;
}

#footer-contacts{
    margin-left: 50px;
    margin-right: 50px;
}

#footer-contacts .footer-column{
    padding-left: 10px;
    padding-right: 10px;
}

#footer-contacts .footer-column div{
    padding: 5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

#footer-contacts .footer-column div span{
    margin-left: 35px;
}

#footer-contacts .footer-column div span a { color: inherit; text-decoration: none}

#footer-contacts .footer-column div span a:hover {
    text-decoration: underline;
}


#footer-contacts .footer-column div img{
    position: absolute;
}


.footer-contacts-logo{
    display: flex;
    flex: 1;
    align-items: center;
}

.info{
    background-color: rgb(195, 52, 77);
    border-bottom: 5px solid rgb(12, 67, 84);
    color: rgb(254, 254, 254);
    display: flex;
    margin-bottom: 10px;
}

.info{
    background-color: rgb(195, 52, 77);
    border-bottom: 5px solid rgb(12, 67, 84);
    color: rgb(254, 254, 254);
    display: flex;
    margin-bottom: 10px;
    padding: 5px;
}

.info-icon{
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon img{
    width: 66%;
}

.info-text{
    flex: 1;
    margin-left : 10px;
    font-size: 1.05em;
}

.content {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    max-width: 1170px;
    padding: 20px;
    color: #757473;
}

.content a {
    color: #0E3445;
    text-decoration: none;
}

.content a:hover {
    color: #615F5E;
}

.newsTitle {
    font-size: 30px;
}

.leftColumn {
    flex: 0 0 300px;
    width: 300px;
    margin-top: 20px;
}

.leftColumn > div > div {
    margin-left: 10px;
    margin-bottom: 10px;
}

.leftColumn > div > hr {
    margin-top: 20px;
    margin-bottom: 20px;
}

.newsList {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.newsList>* {
    flex: 0 0 33.3333%;
}

.searchNewsResult {
    flex-wrap: wrap;
}

.newsBoxWrapper {
    display: flex;
    flex-direction: column;
    max-width: 350px;
    height: 550px;
    margin: 20px;
    position: relative;
    background-color: #ECEAE8;
}

.newsBoxTitle {
    font-size: 25px;
}

.newsBoxContentWrapper {
    padding: 0px 10px 0px 10px;
    flex: 1;
    overflow: hidden;
    background: -webkit-linear-gradient(#757473 75%, #fbfbfb);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-color: #ECEAE8;
    color: #757473;
}

.newsBoxWrapper:hover .newsBoxContentWrapper {
    color: #333;
    background: -webkit-linear-gradient(#333 75%, #fbfbfb);
    -webkit-background-clip: text;
}

.newsBoxPublicationDate {
    color: white;
    background-color: #868482;
    padding: 5px 15px 5px 15px;
}

.newsBoxTitle, .newsBoxSubTitle {
    padding-bottom: 10px;
}

.newsBoxTitle {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 20px;
}

.newsDisplayLinkWrapper {
    height:20px;
    width: 100%;
    background-color: #0C4354;
}

.newsDisplayLink {
    color: #FFFFFF;
    text-align: right;
    padding-right: 10px;
}

.additionalNewsList {
    max-height: 1000px;
    overflow-y: auto;
}

.additionalNews {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #757473;
}

.additionalNews:hover {
    color: #615F5E;
}

#left-panel {
    padding: 10px;
    flex: 0 0 260px;
    width: 260px;
}

#left-panel-content {
    position: fixed;
    top: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 260px;
}

#left-panel hr {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

#filter-container label {
    font-weight: bold;
    padding-bottom: 8px;
}

#filter-container .filter {
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

 #filter-container .filter input {
    height: 20px;
    padding-right: 5px;
    padding-left: 10px;
}

#filter-container .filter select {
    height: 26px;
    background-color: white;
    text-align-last: left;
 }

.button-container {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.button-container button {
    font-weight: bold;
    color: white;
    height: 30px;
    min-width: 100px;
    border: none;
    font-size: 0.9em;
    background-color: rgb(12, 67, 84);
    cursor: pointer;
}

.button-container button:disabled {
    background-color: #C4C2C0 !important;
    color: #868482;
    cursor: default;
}

.button-container button.form-clear-button {
    background-color: rgb(195, 52, 77);
}

#right-panel {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    max-width: 1170px;
    min-width: 800px;
}

.table-container {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.download div.dt-buttons button.dt-button{
    background:none;
    border:none;
    margin:0;
    padding:0;
    cursor: pointer;
}

.download div.dt-buttons button.dt-button:hover{
    text-decoration: underline;
}

.download{
    display: flex;
    flex:1;
    align-items: center;
    padding: 10px;
    margin-top: 10px;
    background-color: rgb(236, 234, 232);
}

.download-text{
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.2em;
}

#classification-filter{
    direction: rtl;
}

.download-text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
}

.select2-container--default .select2-selection--multiple:before {
    content: ' ';
    display: block;
    position: absolute;
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 6px;
    margin-right: 4px;
    margin-top: -2px;
    top: 50%;
    width: 0;
    cursor: pointer
}

.select2-container--open .select2-selection--multiple:before {
    content: ' ';
    display: block;
    position: absolute;
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px;
    height: 0;
    left: 6px;
    margin-right: 4px;
    margin-top: -2px;
    top: 50%;
    width: 0;
    cursor: pointer
}

.select2-selection__rendered {
    padding-left: 17px !important;
}

.select2-selection__arrow {
    left: 1px !important;
    right: auto !important;
}

.select2-selection--single, .select2-selection--multiple {
    border-radius: 0px !important;
}

.select2-container .select2-selection--single {
    height: 32px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px !important;
}

input.filterInput {
    border: 1px solid #aaa;
    border-radius: 0px;
    height: 28px !important;
}

input.filterInput.with-value {
    background-color: #0C4354;
    color: white;
}

#select2-amount-filter-results {
    white-space: nowrap;
    max-height: 300px;
}

.select2-container--default.with-value .select2-selection--single {
    background-color: #0C4354;
}

.select2-container--default.with-value .select2-selection--single .select2-selection__rendered
    {
    color: white;
}

.select2-container--default.with-value .select2-selection--single .select2-selection__arrow b
    {
    border-top-color: white;
}

.select2-container--default.with-value.select2-container--open .select2-selection--single .select2-selection__arrow b
    {
    border-bottom-color: white;
}

.select2-container--default.with-value .select2-selection--multiple .select2-selection__choice
    {
    background-color: #0C4354;
    color: white;
}

.select2-container--default.with-value .select2-selection--multiple .select2-selection__choice__remove
    {
    color: white;
}

.project-extra {
    color: rgb(12, 67, 84) !important;
    padding: 10px;
}

.project-extra > h2 {
    color: rgb(12, 67, 84) !important;
    font-weight: bold;
}
