﻿html {
    width: 100%;
    height: 100%;
}


body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: Open Sans, sans-serif;
    font-size: 0.8vw;
    background-color: #E8E8E8;
}
@media (max-width: 1010px) {
    body {
        font-size: 8px;
    }
}
/*@media (max-width: 960px) and (max-height: 480px)  {
    body {
        font-size: 0.8vw;
    }
}*/

table {
    border-collapse: collapse;
    border-spacing: 0px;
    margin: 0px;
}
th, td {
    padding: 0px;
    text-align: left;
    vertical-align: top;
}









/*CONT*/
#cont {
    display: block;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    min-width: 1000px;
    min-height: 46vw; /*EDIT*/
    height: 100%;
    max-height: 76vw;
    overflow: hidden;
}
    #cont .left {
        background-color: #262626;
    }
    #cont .header {
        background-color: white;
    }
@media (max-width: 1000px)  {
    #cont {
        min-height: 750px;
        height: 750px;
    }
}



/*No data*/
.no-data {
    position: absolute;
    top: 50%;
    left: 0px;
    width: 100%;
    height: 50px;
    margin-top: -25px;
    line-height: 50px;
    text-align: center;
    font-size: 100%;
}

/*Warning*/
.warning {
    z-index: 999;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-position: right center;
    background-size: 40px;
    background-repeat: no-repeat;
}
    .warning.yellow {
        background-image: url(../Graphics/warning-yellow.svg?051120-1);
    }
    .warning.red {
        background-image: url(../Graphics/warning-red.svg?051120-1);
    }


/*POMOCNI (iznad loga)*/
#cont-1 {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 18%;
    height: 1vw;
}





/*LOGO*/
#cont-logo {
    position: absolute;
    top: 1vw;
    left: 0px;
    width: 18%;
    height: 15%;
}
#logo {
    display: block;
    height: 100%;
    margin-left: 1vw;
    margin-right: 1vw;
    background-color: white;
    background-image: url(../Graphics/logo.svg?051120-1);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 70% auto;
}





/*POMOCNI (title - left padding)*/
#cont-2 {
    position: absolute;
    top: 1vw;
    left: 19%;
    width: 1%;
    height: 15%;
}
/*TITLE*/
#cont-title {
    position: absolute;
    top: 1vw;
    left: 20%;
    width: 64%;
    height: 15%;
    overflow: hidden;
    font-size: 300%;
}
    #cont-title table {
        width: 100%;
        height: 100%;
    }
    #cont-title td {
        vertical-align: middle;
        line-height: 0px;
    }





/*POMOCNI (ico - left padding)*/
#cont-3 {
    position: absolute;
    top: 1vw;
    left: 85%;
    width: 1%;
    height: 15%;
}
/*ICO*/
#cont-ico {
    position: absolute;
    top: 1vw;
    left: 86%;
    width: 12%;
    height: 15%;
}
    #cont-ico table {
        width: 100%;
        height: 100%;
    }
    #cont-ico td {
        text-align: center;
        vertical-align: middle;
        line-height: 0px;
        white-space: nowrap;
    }
    #cont-ico img {
        float: left;
        vertical-align: middle;
        margin: 0px 0px 0px 14%;
        border: none;
        height: auto;
    }
        #cont-ico img.disabled {
            cursor: default;
        }
        #cont-ico img.disabled, #cont-ico img.disabled:hover {
            opacity: 0.1;
        }
        #cont-ico img:hover {
            opacity: 0.5;
        }
        #cont-ico img.menu {
            width: 15.35%;
            margin-left: 0px;
        }
        #cont-ico img.filter {
            width: 13.65%;
        }
        #cont-ico img.export {
            width: 13.22%;
        }
        #cont-ico img.logout {
            width: 15.78%;
        }
/*POMOCNI (ico - right padding)*/
#cont-4 {
    position: absolute;
    top: 1vw;
    left: 98%;
    width: 1%;
    height: 15%;
}





/*POMOCNI (ispod loga)*/
#cont-5 {
    position: absolute;
    top: 15%;
    margin-top: 1vw;
    left: 0px;
    width: 18%;
    height: 1vw;
}





/*LEFT CONT (OPTIONS + TIPS)*/
#cont-options {
    position: absolute;
    top: 15%;
    margin-top: 2vw;
    left: 0px;
    width: 18%;
    /*height: 85%;*/ /* korekcije js: calc(85% - 2vw)*/
}





/*CHARTS*/
#cont-charts {
    position: absolute;
    top: 15%;
    margin-top: 2vw;
    left: 19%;
    width: 80%;
    /*height: 77%;*/ /*korekcije js: calc(85% - 8% - 3vw);*/
}
#cont-charts-1 {
    position: relative;
    width: 100%;
    height: 100%;
    /*max-height: 56vw;*/ /*EDIT*/
}
/*dropdown*/
#cont-charts-1 .dropdown {
    width: 100%;
    height: 100%;
    background-color: #E8E8E8;
    color: black;
}
    #cont-charts-1 .dropdown .text {
        left: 5%;
        width: 80%;
    }
    #cont-charts-1 .dropdown .arrow {
        right: 5%;
        width: 10%;
        background-image: url(../Graphics/dd-arr-c.svg?051120-1);
        background-size: 80% auto;
    }
    #cont-charts-1 .dropdown .list {
        background-color: #E8E8E8;
        color: black;
        min-height: 120px;
    }





/*FOOTER*/
#cont-footer {
    position: absolute;
    bottom: 0px;
    left: 19%;
    width: 80%;
    height: 10%;
}
    #cont-footer table {
        width: 100%;
        height: 100%;
        table-layout: fixed;
    }
#footer-desc {
    position: relative;
    width: 90%;
    text-align: left;
    vertical-align: middle;
    font-size: 100%;
    line-height: 140%;
    overflow: visible;
}
#footer-help {
    position: absolute;
    top: 18%;
    left: 35%;
    width: 30%;
    white-space: nowrap;
    text-align: center;
}
    #footer-ALI {
        cursor: help;
        /*color: #DC2D27;*/ 
        color: black;
        font-weight: bold;
        text-decoration: underline;
    }
    #footer-impact {
        cursor: help;
        margin-left: 2%;
        /*color: #DC2D27;*/ 
        color: black;
        font-weight: bold;
        text-decoration: underline;
    }
    #footer-GAP {
        cursor: help;
        margin-left: 2%;
        /*color: #DC2D27;*/ 
        color: black;
        font-weight: bold;
        text-decoration: underline;
    }
    #footer-note {
        cursor: help;
        margin-left: 2%;
        /*color: #DC2D27;*/ 
        color: black;
        font-weight: bold;
        text-decoration: underline;
    }
#footer-warning img {
    width: auto;
    height: 20px;
    vertical-align: middle;
    margin-right: 10px;
}
#footer-psa {
    width: 10%;
    text-align: right;
    vertical-align: middle;
    line-height: 160%;
}
    #footer-psa a {
        color: black;
        text-decoration: none;
    }
        #footer-psa a:hover {
            text-decoration: underline;
        }




#msg-portrait {
    z-index: 9999;
    display: none;
    border-collapse: collapse;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    font-size: 200%;
}
    #msg-portrait div {
        display: table-cell;
        width: 100%;
        height: 100%;
        text-align: center;
        vertical-align: middle;
    }
@media screen and (orientation : portrait) {
    #msg-portrait {
        display: table;
    }
}


/* tooltip */
#ToolTipDiv {
  z-index: 9999;
  position: absolute;
  left: 100px;
  top: 100px;
  border: 0px solid black; 
  border-radius: 5px;
  background-color: rgba(0,0,0,0.85);

-webkit-box-shadow: 0px 0px 50px -6px rgba(0,0,0,0.6); 
box-shadow: 0px 0px 50px -6px rgba(0,0,0,0.6);

  display: none;
  padding: 10px;
  margin: 10px;
  color: white;
}