:root {
  --background-url: {{ url_for('static', filename='logo/iau_wb.jpg') }}
}

/*
    DEMO STYLE
*/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";


body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    overflow: auto;
    /*position: fixed; moved text to menu bar*/
}

/*
footer{
  position:static;
}
*/

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #000000;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    /*box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);*/
    box-shadow: none;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 80%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 10px 0;
}

.container_shw_tab {
    /*max-width:1500px;*/
    /*width: 90%;*/
    margin: 0 auto;/*make it centered*/
    padding-left: 50px !important;
    padding-right: 50px !important;
}

.manual{
        display: flex;
        justify-content: space-between;
}

/* when a missing element was calculated prior */
.ma {
  color: Tomato;
}
.mq {
  color: DodgerBlue;
}
.me {
  color: MediumSeaGreen;
}

/* pb status */
.pb1 {
  color: Tomato;
}
.pb2 {
  color: DodgerBlue;
}
.pb3 {
  color: MediumSeaGreen;
}

.pb4 {
  color: #f0bb3f;
}

.pb5 {
  color: #50a9a7;
}

.pb6 {
  color: #0b2f40;
}

font.established{
    color: #4aabe4;
}
font.to-be-established{
    color: MediumSeaGreen;
}
.shower_rm{
    color:  #50a9a7;
    font-style: oblique;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    perspective: 1500px;
    height: 100vh;
    top:0;
    /*position: fixed;*/
    /*z-index:99;*/
    z-index: 1;
    position: absolute;
}


#sidebar {
    margin-bottom: -101%; /*test for whole page manu*/
    padding-bottom: 101%; /*test for whole page manu*/
    min-width: 250px;
    max-width: 250px;
    background: #2C3E50;
    color: #fff;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
}

#sidebar.active {
    margin-left: -250px;
    transform: rotateY(100deg);
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #2C3E50;
}

#sidebar ul.components {
    padding: 20px 0;
    /*border-bottom: 1px solid #47748b;*/
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #2C3E50;
}


a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #2C3E50;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

ul li {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
}

ol {
    counter-reset: item;
}

ol li {
    display: block;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #000000;
}

ol li:before {
    content: counters(item, ".") ". ";
    counter-increment: item
}

ol[style*="list-style-type: lower-alpha;"] li:before {
    content: counters(item, ".", lower-alpha) ". ";
    counter-increment: item
}


a.download {
    color: #0d6efd;
}

a.article, a.article:hover {
    /*background: #6d7fcc !important;*/
    color: #0d6efd !important;
}

a.manual, a.manual:hover {
    color: #2C3E50;
}

mark.blue {
    color:#0d6efd;
    background: none;
}
mark.orange {
    color:#fe8104;
    background: none;
}

.contact {
    color: #fe8104;
    background: none;
}

/* Buttons, e.g. search */
.btn-primary {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
  border-radius: var(--border-radius);
}


.btn-primary:hover {
  color: #343a40;
  background-color: #ddd;
  border-color: #ddd;
  box-shadow: inset 0 0 0 20rem var(--darken-1);
}

.btn-primary:active {
  box-shadow: inset 0 0 0 20rem var(--darken-2),
    inset 0 3px 4px 0 var(--darken-3),
    0 0 1px var(--darken-2);
}

.btn-primary:disabled,
.btn-primary.is-disabled {
  opacity: .5;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    cursor: pointer;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    transition-delay: 0.2s;
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}


#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}

.split {
  position: absolute;
  width: 50%;
  /*height: 100%;*/
  overflow: hidden;
}

.split.left {
  left:10;
  /*background: url('img/Leonids_1998_over_Slovakije.jpg') center center no-repeat;
  background-size: cover;*/
}

.split.right {
  right:0;
  /*background: url('img/Leonids_1998_over_Slovakije.jpg') center center no-repeat;
  background-size: cover;*/
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 80%;
}

table_adv_search {
    font-family: arial, sans-serif;
    font-size: small;
    border-collapse: collapse;
    width: 20%;
}

table_all {
    width: auto;
}

th {
    background-color: #dddddd
}

td, th {
    border: 1px solid #dddddd;
    text-align: center;
    padding: 5px;
}

tr:nth-child(even) {
    background-color: #F8F8F8;
}

tr:hover {
 background: #DCDCDC;
}

td.established{
    color: #4aabe4;
}
td.to-be-established{
    color: MediumSeaGreen;
}

.bg-established{
    background-color: black; color: white; display:inline;
    /* apply background only for text*/
    -webkit-background-clip: content-box;
    background-clip: content-box;
}

thead input {
        width: 80%;
}

.dataTables_filter {
        position: relative;
    }

.dataTables_filter input {
  position: relative;
  text-align: center;
}

.dt-search {
  text-align: center;
  margin-bottom: 0.5em;
}

.dt-body-center {
  text-align: center;
}

.dt-head-center{
  text-align: center;
}

table.dataTable span.highlight {
  background-color: MediumSeaGreen;
  border-radius: 0.28571429rem;
}

.highlight {
  background-color: MediumSeaGreen;
  border-radius: 0.28571429rem;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

/* Cards styling */
.card {
    height: 140px;
    width: 165px;
    /*background: #ddd;*/
    text-align: center;
}
.card-title {
    color: #044754; /*#fe8104;*/
}
.card-text {
    color: #fe8104; /*#0a58ca;*/
}
.card-link {
  color: #797979; /*#b3b0b0; #ddd*/
  font-size: small;
  text-decoration: none;
}

/* pagination position styling */
.pagination {
    top: 500px;
    /*right: 430px;*/
}

/* pagination styling */
.pagination a {
    color: black;
    padding: 10px 18px;
    text-decoration: none;
}
.pagination a.active {
  background-color: #2C3E50;
}
/* pagination hover effect on non-active */
.pagination a:hover:not(.active) {
    background-color: #ddd;
    color: white;
}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #2C3E50;
    border-color: #2C3E50;
}

img {
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
}

.logoIAU {
    /*background-image: url("var(--background-url)");*/
    background-image: url("../logo/iau_wb.jpg");
    background-repeat: no-repeat;
    background-size: 100px auto;
    height: 122px;
    width: 100%;
    display: block;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    border: 0px solid;
    background-position: center center;
}
.logoSL {
    /*background-image: url("var(--background-url)");*/
    background-image: url("../logo/logoSAV.jpeg");
    background-repeat: no-repeat;
    background-size: 100px auto;
    height: 122px;
    width: 100%;
    display: block;
    margin-top: 1px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    border: 0px solid;
    background-position: center center;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
        transform: rotateY(90deg);
    }
    #sidebar.active {
        margin-left: 0;
        transform: none;
    }
    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }
    #sidebarCollapse.active span {
        margin: 0 auto;
    }
    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }
    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }
    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }
}

/* ---------------------------------------------------
    FORMS
----------------------------------------------------- */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

input::placeholder {
    text-align: right;
    color: #ddd;
}

/* form elements */
form {
  margin: 15px;
  padding: 15px 5px;
  border: 1px solid #EFEFEF;
  background: #F8F8F8;
  display: table;
}
div.form {
    display: table-row;
}

label {
  display:block;
  font-weight:bold;
  margin:5px 0;
}
input {
  padding: 2px;
  border: 1px solid #EFEFEF;
  font: normal 1em; /*  Verdana, 'Trebuchet MS', Tahoma, sans-serif;*/
  color: #666666;
  text-align: center;
}
textarea {
  width: 280px;
  padding:2px;
  border: 1px solid #EFEFEF;
  font: normal 1em; /* Verdana, 'Trebuchet MS', Tahoma, sans-serif;*/
  height:100px;
  display:block;
  color: #666666;
}
input.button {
  margin: 0;
  font: bold 1em; /*  Arial, Sans-serif;*/
  border: 0px solid #EFEFEF;
  padding: 2px 3px;
  background: #F1F0E4;
}

.tab_type {
  /*font: normal 1em;*/
  font-style: normal!important;
  font-weight: normal!important;
}