html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Open Sans';
    src:  url('/font/Open_Sans/OpenSans-Regular.woff') format('woff'),
          url('/font/Open_Sans/OpenSans-Regular.ttf') format('truetype');
  }

.page {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: #fff;
    font-family: "Open Sans", "Myriad Pro", Arial, sans-serif;
}

.page-header {
    padding: 5px 25px;
    margin: 0;
    -ms-align-items: center;
    align-items: center;
    border: none;
    height: 55px;
    position: relative;
    z-index: 3;
    background: #0077ad;
    border-radius: 0;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
}

.page-header:before {
    display: none;
}

.noscript {
	color: red;
	font-weight: 700;
}

.popover {
	width: 100%;
	font-size: 12px;
}

.navbar-collapse {
    padding: 0; 
}

.nav-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    text-transform: uppercase;
}

.nav-list li {
    margin-left: 35px;
}

#li-flag-de {
	margin-left: 5px;
}

.nav-list a {
    color: #c2e9ff;
}

#OV_help {
	margin-right: 20px;
}

.form-search {
    width: 160px;
    text-align: center;
    margin-right: auto;
    margin-left: 30px;
}

.header-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  margin-right: 15px;
}

@media screen and (min-width: 460px) {

.header-icons {
    margin: 0 15px;
    justify-content: center;
}

}

@media screen and (min-width: 570px) {

.header-icons {
    margin: 0 40px;
    justify-content: center;
}

}

@media screen and (min-width: 1300px) {

.header-icons {
    margin: 0 10px;
}

}

.header-icons a {
  margin: 0 5px;
  width: 34px;
  display: block;
  text-align: center
}

@media screen and (min-width: 460px) {

.header-icons a {
    margin: 0 10px;
    width: 44px;
}

}

.form-control {
    background: #daeefa;
    height: 30px;
    font-size: 14px;
    color: #909090;
    border-radius: 0;
    box-shadow: none;
    margin-left: 15px;
}

.form-search .form-control {
    margin: 0;
}

.form-group {
    position: relative;
    margin: 0;
}

.form-search button {
    position: absolute;
    right: 0;
    bottom: 0;
    background: none;
    border: none;
    text-indent: -9999px;
    overflow: hidden;
    padding: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url('../images/button.png') no-repeat;
    width: 13px;
    height: 12px;
}

.logo {
    width: 125px;
   }

.logo1 {
    float: left;
    width: 80px;
    cursor: pointer;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.page-content {
    flex-grow: 1;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: #009de0;
    background: linear-gradient(to bottom, #005784 0%,#009de0 100%);
}

.page-footer {
    flex-shrink: 0;
    height: 35px;
    background: #dadada;
    background: #0076ab;
    padding: 8px 25px;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
}

#link1, #link2, #link3 {

    color: #fff;
}

#error_div {
    background: #ff8c8c;
    color: #2f0000;
    font-weight: bolder;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
}

#err_msg {
     text-transform: uppercase;
}

.help-link {
    min-height: 40px;
    padding-left: 8px;
}

#headline_help{
    padding-bottom: 25px;
} 

#link1 {
    margin-top: 10px;
}

.flex-column {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
}
.flex-column.stretched {
    align-items: stretch;
}

.col {
    padding: 0 25px;
}

.col-op {
    width: 30%;
}

.main-info .value {
    margin: 0;
    font-size: 41px;
    line-height: 51px;
    font-weight: 300;
}
.main-info .value .units {
    font-size: 31px;
    line-height: 32px;
}

.name {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
}

.info-row {
    padding: 25px 0;
}

.info-row + .info-row {
    border-top: 1px solid transparent;
}

/* Type info */
.type-info .name {
    
}

.grade-info,
.type-info .values,
.info-row-details
.values {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.type-info .values.program-reduction, .values {
	display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.grade-info {
    justify-content: space-between;
}

.grade-info .grade-item,
.type-info .values .value {
    font-size: 28px;
    font-weight: 300;
    flex-shrink: 0; 
}

.type-info .values .value .units {
    font-size: 18px;
}

.type-info .info-row + .info-row {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#info-row-reduction {
	border-top: none;
}

.type-info .info-row .label {
    display: block;
    font-size: 12px;
    padding: 0;
    font-weight: normal;
    text-align: left;
    white-space: normal;
    border-radius: 0;
    vertical-align: top;
}

.type-info .info-row .label-details-2-3 {
    display: block;
    font-size: 12px;
    padding: 0;
    font-weight: normal;
    text-align: left;
    white-space: normal;
    border-radius: 0;
    horizontal-align: left;
    margin: 10px 0px 10px 0px;
}

.type-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.type-info.overview {
	justify-content: flex-end;
}

.main-col {
    display: flex;
    flex-direction: column;
}

/* Grade row */
@keyframes blinkGreen {
    0%   { background: #00c41c; }
    100% { background: rgba(255, 255, 255, 0.2); }
}
@keyframes blinkYellow {
    0%   { background: #f3e500; }
    100% { background: rgba(255, 255, 255, 0.2); }
}
@keyframes blinkOrange {
    0%   { background: #ffa800; }
    100% { background: rgba(255, 255, 255, 0.2); }
}
@keyframes blinkRed {
    0%   { background: #ef5253; }
    100% { background: rgba(255, 255, 255, 0.2); }
}

.grade-item .label {
    margin: 0 0 5px;
    padding: 0;
    font-size: 12px;
    line-height: 18px;
    font-weight: normal;
}

.grade-type {
    list-style: none;
    margin: 0;
    padding: 0 0 25px;
    font-size: 0;
}

.grade-type li {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background: rgba(255, 255, 255, 0.2);
}

.grade-type li + li {
    margin-left: 2px;
}

.grade-type .active:nth-child(1) {
    background: #00c41c;
}

.grade-type .active:nth-child(2) {
    background: #f3e500;
}

.grade-type .active:nth-child(3) {
    background: #ffa800;
}

.grade-type .active:nth-child(4) {
    background: #ef5253;
}

.grade-type .animated:nth-child(1) {
    animation: blinkGreen 300ms infinite;
}

.grade-type .animated:nth-child(2) {
    animation: blinkYellow 300ms infinite;
}

.grade-type .animated:nth-child(3) {
    animation: blinkOrange 300ms infinite;
}

.grade-type .animated:nth-child(4) {
    animation: blinkRed 300ms infinite;
}

.flag {
	vertical-align: center;
}

.text-supply {
    color: #5cc4fb;
}

.text-outdoor {
    color: #01db8b;
}

.text-extract {
    color: #f3e500;
}

.text-exhaust {
    color: #dfab62;
}

.nav-tabs {
    border: none;
}

.nav-tabs>li {
    margin-left: 35px;
}

.nav-tabs>li>a {
    padding: 0;
    border: none;
    margin-right: 0;
    display: inline;
    color: #c2e9ff;
}

.nav>li>a:focus,
.nav>li>a:hover,
.nav-tabs>li>a:hover {
    border: none;
    background: none;
    outline: none;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    color: #fff;
    text-decoration: underline;
    background: none;
    border: none;
}

.nav-footer, .timestamp-footer {
    margin: 0;
    font-size: 12px;
    font-weight: bold;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.timestamp-label {
    margin-right: 25px;
}

.nav-footer li {
    display: inline-block;
    vertical-align: top;
    margin: 0 25px 0 0;
}

.page-footer  a {
    color: #fff;
}

.no-touch .page-footer  a:hover {
    text-decoration: none;
    color: #c2e9ff;
}

.page-footer {
    padding:  5px 15px;
    justify-content: space-between;
}

#timestamp {
	font-weight: bold;
	font-size: 12px;
	padding-right:10px;
}

.warnings {
	margin-bottom:50px;
	text-align: center;
	color: red;
	font-size: 16px;
	font-weight: bold;
}

.popover-content {
    color: red;  
}

.overview-list .overview-item {
    padding: 0 25px;
}

.overview-list .freeair-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overview-list .freeair-logo {
    max-width: 100%;
}

.overview-list .overview-main .value {
    margin: 0;
    font-size: 28px;
    line-height: 51px;
    font-weight: 300;
}

.overview-list .overview-main .value .units {
    font-size: 18px;
    line-height: 32px;
}

.overview-list .overview-main,
.overview-list .overview-type,
.overview-list .overview-grade {
    padding: 25px 0;
    border-top: 1px solid transparent;
}

.overview-list .overview-type:not(:first-child),
.overview-list .overview-grade {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.overview-type .values {
    display: flex;
    margin: 0 -5px; 
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.overview-type .values .value {
    margin: 0;
	padding: 0 5px; 
    flex-shrink: 0;
    font-size: 28px;
    font-weight: 300;
}

.overview-type .values .value .label {
    display: block;
    font-size: 12px;
    padding: 0;
    font-weight: normal;
    text-align: left;
    white-space: normal;
    border-radius: 0;
    vertical-align: top;
}

.overview-type .values .value .units {
    font-size: 18px;
}

.btn-img {
    width: 73px;
    height: 73px;
    background: url('../images/Knopf_3D.png');
    background-size: contain;
    border-radius: 50%;
    border: 0;
    box-shadow: none;
    margin-bottom: 16px;
}

.btn-img:hover,
.btn-img:focus,
.btn-img:active {
    outline: none;
}

.lang-dropdown {
    cursor: pointer;
}

@media screen and (min-width: 1340px) {
.lang-dropdown {
    margin-left: 15px;
}
}

.lang-dropdown .dropdown-menu {
    left: -5px;
    padding: 0;
    border: 0;
    min-width: 0;
    background-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown .dropdown-menu > li > a {
    padding: 5px;
}

.lang-dropdown .dropdown-menu > li > a:hover {
    background: transparent;
}

.lang-dropdown .dropdown-menu .active {
    display: none;
}

#no_monthly_values, #no_daily_values {
	display: none;
}

.no-margin {
    margin: 0 !important;
}

.fixinput.form-group .form-control {
    height: 30px; 
    margin: 0;
    border-radius: 3px;
    border-color: #aaa;
    background-color: #eee;
    color: #354052;
    font-size: 12px;
    padding: 0px 12px;
}


.fixinput.form-group {
    margin: 0 0 10px;
}


.fixinput.form-group a {
    color: #5ec4ff;
}

.popup-dark {
    background: linear-gradient(to bottom, #005784 0%,#009de0 100%) !important;
}

.popup-dark p,
.popup-dark label,
.popup-dark span,
.popup-dark strong {
    color: #fff
}

.popup-dark .form-group .form-control{
margin-bottom: 3px !important;
}

.navbar-header {
    margin-top: 0;
    margin-bottom: 0;
}

.form-inline .form-control {
    width: 100%;
    max-width: 100%;
}

.rot {
    color: red;
    font-weight: 900;
}


/* Hover*/
/* Základní styl pro odkaz */
.hover-link {
    color: blue;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

/* Kontejner pro odkaz a text */
.hover-container {
    position: relative;
}

.hover-top-container {
    position: relative;
}

/* Skrytý text */
.hover-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 0px;
    top: calc(100% + 15px);
    background-color: #fafafa;
    padding: 5px 10px;
    border-radius: 5px;
    transition: visibility 0s, opacity 0.3s ease;
    color: #000 !important;
    z-index: 500;
    box-shadow: 0 0 10px rgba(0,0,0, 0.5);
}

.hover-text:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    bottom: 100%;
    left: 23px;   
 
    border-bottom: 7px solid #fafafa;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}

@media screen and (max-width: 480px) {
    .hover-text:before {
        left: 13px;  
    }
}

/* Zobrazení textu při hoveru */
.hover-container:hover .hover-text {
    visibility: visible;
    opacity: 1;
}

/* Zobrazení textu při vkliku */
.hover-top-container.hover .hover-text {
    visibility: visible;
    opacity: 1;
}


.hover-text.hover-text-top {
    top: auto;
    bottom: calc(100% + 10px);
    min-width: 230px; /* toto ovlivnuje sirku vsech bublin mirich nahoru */
}

.hover-text-top:before {
    bottom: auto;
    top: 100%;

    border-bottom: 0;
    border-top: 7px solid #fafafa;
}

@media screen and (max-width: 480px) {
    .hover-text-top:before {
        left: 23px;  
    }
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
        display: none;
}
