html {
    height: 100%;
}
html body {
    height: 100%;
    overflow: hidden;
}
html body .container-fluid.body-content {
    position: absolute;
    top: 80px;
    bottom: 0px; /* 50px */
    right: 0;
    left: 0;
    overflow-y: auto;
    background: linear-gradient(165deg, #B3D3E8 0%, #ECFEF0 100%);
    filter:alpha(opacity=50);
}
header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background-color: #B3D3E8;
    border-bottom: 2px solid #ffffff;
    height: 80px;
}
footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background:  #01A4E5;
    height: 50px;
    display: none;
}

footer a {
    color: #ffffff;
}

a {
    text-decoration:none !important;
    font-weight: bold;
}

.link {
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.organizationName {
    display: inline-block;
    text-align: right;
    padding-right: 10px;
}

.box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #fff;
    /*background: linear-gradient(135deg, #1a7ba9 0%,#aee450 100%);*/
    /*background: linear-gradient(135deg, #feffff 0%,#ddf1f9 35%,#a0d8ef 100%);*/
    /*background: linear-gradient(175deg, #a1dbff 0%,#cbebff 15%, #f0f9ff 15%,#f0f9ff 85%,#cbebff 85%,#a1dbff 100%);*/
    border-radius: 1em;
    box-shadow:inset 0px 0px 0px 2px #B0D1E2; /*#EFFBD3;  #a0d8ef;*/
}

.box:hover {
    color: #ff9400;
    /*background-color: #dddddd;*/
}

.flex-item {
    flex: 1 1 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header-flex-item-left {
    flex: 1 1 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header-flex-item-right {
    flex: 5 1 auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.deviceIcon {
    font-size: 75px;
    padding-top: 20%;
}

.activeBox {
    display: inline-block;
    background-color: #24ca7d;
    border-radius: 10px;
    padding: 5px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.inactiveBox {
    display: inline-block;
    background-color: lightcoral;
    border-radius: 10px;
    padding: 5px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.circle {
    background: linear-gradient(145deg, #0fb8ad 0%, #1fc8db 51%, #2cb5e8 75%);
    height: 130px;
    width: 130px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-weight: bold;
    display: table;
    margin: auto;
    color: #ffffff;
}

.headerFlexbox {
    display: flex;
    height: 80px;
    flex-direction: row;
    justify-content: space-around;
}

.logo {
    height: 60px;
    width: 60px;

    /*background-color: #dddddd;*/
    background-size: cover;
    background-repeat: no-repeat;
}

/* pre desktop to natiahne device na vysku, pre mobilne zariadenia nic nerobi */
@media screen and (min-device-width: 1920px) {
    .box {
        min-height: 410px;
    }
}
@media screen and (min-device-width: 1024px) {
    .box {
        min-height: 310px;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
    h1 { font-size: 10px; }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    h1 { font-size: 14px; }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    h1 { font-size: 18px; }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    h1 { font-size: 26px; }
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    /*h1 { font-size: 26px; }*/
}

/*---------------------------------*/

.row-eq-height {
    display:   flex;
    flex-wrap: wrap;
}

.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.row .row {
    margin-top: 10px;
    margin-bottom: 0;
}

.container-fluid.body-content [class*="col-"] {
    background-clip: padding-box;
    border: 10px solid transparent;
}

noscript div {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;

    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ebccd1;
    border-radius: 4px;

    color: #a94442;
    background-color: #f2dede;
    text-align: center;
}

.alertBox {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
}

.hideAlert {
    display: none;
}