
#custom_tooltip{
    margin-top:5px !important;
    background-color: #c6c6c6;
    width: 100%;
    height: auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    color: white;
    text-align: center;
    opacity: 0.2;

}

.overlayBase{
    position:relative;
    z-index:20;
    margin-top:6px;
    width:100%;
}

.overlayTooltip{
    top:0 !important;
    left:0 !important;
    position:absolute !important;
    padding-top:10% !important;
    display:inline-block;
    padding-left:15px !important;
    padding-right:10px !important;
    margin-left:5px;
}


/*--Mini chart--*/
#chart_mini{
    width:84%;
    margin:auto;

}
.miniChart{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    margin:auto;
    padding-bottom:30px;
    z-index:0;
}


.tooltip_p{
    margin-bottom: 5px !important ;
}

.yAxis{
    padding-top:250px;

    writing-mode: tb-rl;
    transform: rotate(-180deg);
    font-size:15px;
    /*width:30px;

    -webkit-transform: rotate(-90deg);


    -moz-transform: rotate(-90deg);


    -ms-transform: rotate(-90deg);


    -o-transform: rotate(-90deg);


    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);*/
}
#canvas{

}
.xAxis{
    font-size:15px;
    margin-top:15px;
    padding-left:47%;
}
.inl{
    display:flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
#noData{
    background-color:red;
    visibility:hidden;
}
#item1{
display: inline-block;

}
#item2{
    margin-top:20px;
}
#item3{
display:none;
}
.legendText{
    padding-left:40px;
    display:flex;
    flex-direction: row;
   justify-content: space-between; 
}
.layout {
    width:100%;
}
.legend{
    padding-left:40px !important;
    padding-top:30px;
    width:80%;
}
.legend_h{
   //padding-left:20px;
    font-weight: bold;
}
.grad {
    height: 350px;
    width: 30px;
    background: #6FBF00; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(0deg,#efefef, #6FBF00,#fbfe00, #ff0000); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient( 0deg,#efefef,#6FBF00,#fbfe00, #ff0000); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(0deg,#efefef, #6FBF00,#fbfe00, #ff0000); /* For Firefox 3.6 to 15 */
    background: linear-gradient(0deg,#efefef, #6FBF00,#fbfe00, #ff0000); /* Standard syntax */
}

.key{
    display:flex;
    flex-direction: row;
    justify-content:space-between;
    width:90%;
    flex-wrap:wrap;
}
.key_leg{
    display:flex;
    flex-direction: row;

}

.square {
    width: 15px;
    height: 15px;
    background: #e74d43;
    margin-top:5px;
}
.arrow-up {
    width: 0; 
    height: 0; 
    border-left: 18px solid transparent;
    border-right: 18px solid transparent; 
    border-bottom: 18px solid #77bf59;
}
.arrow-up:hover {  
    border-bottom: 18px solid black;
}
.arrow-down {
    width: 0; 
    height: 0; 
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 18px solid #77bf59;
}
.arrow-down:hover {
    border-top: 18px solid black;
}

table, td, th {    
    border: 1px solid #ddd;
}

table {
    border-collapse: collapse;
    width:100%;
}

th, td {
    padding: 15px;
}
th{
    background-color: #77bf59;
    color: white;
    text-align: center;
    vertical-align:middle;
}
.center{
    text-align: center;
}
h1 {
    margin-bottom:15px;
}
.select2-container--default .select2-selection--multiple:before {
    content: ' ';
    display: block;
    position: absolute;
    border-color: #77bf59 transparent transparent transparent;
    border-style: solid;
    border-width: 9px 9px 0 9px;
    height: 0;
    right: 6px;
    margin-left: 30px;
    margin-bottom: 0px;
    bottom: 10%;
    width: 0;
    cursor: pointer
}

.select2-container--default .select2-selection--multiple:hover,
.select2-selection__rendered,
.select2-search__field:hover {
    cursor: pointer;
}

.select2-selection__rendered{
    word-wrap: break-word !important;
    text-overflow: inherit !important;
    white-space: normal !important;
}

.select2-selection__choice{
    background-color: #77bf59 !important;
    color: white !important;
    border:none !important;
    width:95%;
}
.select2-selection--multiple .select2-selection__choice__remove{
    color: white !important;
    font-size: 30px;
}
.select2-selection--multiple .select2-selection__choice__remove:hover{
    color: grey !important;
}
.select2-dropdown{
    width:100px !important;
}

.select2-results__options {
    max-height: 300px;
    overflow-y: auto;}

.select2-results__option--highlighted[aria-selected]{
    background-color:#77bf59 !important;
    color:black !important;
}
.select2-results__option[aria-disabled=true]{
    background-color:#77bf59 !important;
    color:white !important;
}

#myselect,#myselect3,#myselect2,#myselect4{
    width: 400px;
}
.filter2 {
    margin-top:60px;
}
#chart_div2{
    padding-top:25px;
    width:1000px;
    max-width: 90%;
    margin-bottom:100px;
}
#chart_div2 svg{
    height:800px !important;
}


.tooltip-small{
    font-size:0.8em;
    padding-top:2px;
}
.tooltip-big{
    font-size:0.8em;
    font-weight: bold;
    border-bottom: 1px solid #bababa;
    padding-bottom:2px;
}.tooltip-big-l{
    font-size:0.8em;
    font-weight: bold;
}

#dashboard_div {
    margin-top: 15px;
}

#dashboard_div >div {
    padding:0;
}

#filtr >div {
    display: inline-block;
    margin-right: 15px;
}

.checkb >div,.check{
    display: inline-block;
}

.switch {
    position: relative;
    display: inline-block;
    width: 37px;
    height: 20px;
    margin-left: 10px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #77bf59;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(12px);
    -ms-transform: translateX(12px);
    transform: translateX(12px);
}

.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 60%;
}


.filter_label {
    font-weight: bold;
    letter-spacing: 1px;
    padding-top: 3px;
    padding-right: 5px;
    padding-bottom: 20px;
    color:#77bf59;
}

.filter div {
    padding-top: 20px;
}


/* výpis technologií */
.technology {
    display:inline-block;
}
.technology_name {
    display: inline;
    /*line-height: 26px;*/
    font-size: 14px;
}
.technology_number {
    display: inline;
    /*width: 26px;*/
    /*height: 26px;*/
    /*line-height: 26px;*/
    color: #77bf59;
    /*border-radius: 13px;*/
    /*font-size: 15px;*/
    /*font-weight: 500;*/
    /*color:white;*/
    /*text-align: center;*/
}
.wing{
    margin-top:20px;
}
#filtr >div {
    display: inline-block;
    margin-right: 15px;
}


@media (max-width: 1280px){

    .overlayTooltip{
        padding-left:20% !important;
    }

    #chart_div, .canvas{
        white-space: nowrap;
        width: 100%;
        overflow-x: hidden;
    }

    #chart_div2{
        padding-top:25px;
        padding-bottom:100px;
        overflow-x: auto;
        width:100%;
        white-space: nowrap;

    }
    #dashboard_div {
    }
    #custom_tooltip{
        margin-bottom:10px !important;
    }
    .scroll{
        overflow-x: scroll;
        width:100%;
    }

    
}
@media (max-width: 991px){
    .overlayTooltip{
        width:90%;
        margin:auto;
    }
    #custom_tooltip{
        margin-bottom:10px !important;
    }

    #chart_mini{
        width:50%;
        margin:auto;

    }
    .miniChart{
        top:250px !important;

    }
    .chartTabX{
        margin-top:350px !important;
    }
    .grad {
        height: 50px;
        width: 100%;
        background: #6FBF00; /* For browsers that do not support gradients */
        background: -webkit-linear-gradient(-90deg,#efefef, #6FBF00,#fbfe00, #ff0000); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient( -90deg,#efefef,#6FBF00,#fbfe00, #ff0000); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(-90deg,#efefef, #6FBF00,#fbfe00, #ff0000); /* For Firefox 3.6 to 15 */
        background: linear-gradient(-90deg,#efefef, #6FBF00,#fbfe00, #ff0000); /* Standard syntax */
    }
    #item2{

        display:none;
    }
    #item3 {
    display:inline-block;
        float: left;

    }
    #item1{
        display:inline-block;
        float: right;

    }
}



@media (max-width: 768px) {
    #chart_mini{
        width:75%;
        margin:auto;

    }
    .xAxis{
        margin-top:15px;
        padding-left:23%;
    }
    .yAxis {
        padding-top:0;
        padding-right: 15px;
    }


    .grad {
        margin-left:20px;
        height: 50px;
        width: 100%;
        background: #6FBF00; /* For browsers that do not support gradients */
        background: -webkit-linear-gradient(-90deg,#efefef, #6FBF00,#fbfe00, #ff0000); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient( -90deg,#efefef,#6FBF00,#fbfe00, #ff0000); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(-90deg,#efefef, #6FBF00,#fbfe00, #ff0000); /* For Firefox 3.6 to 15 */
        background: linear-gradient(-90deg,#efefef, #6FBF00,#fbfe00, #ff0000); /* Standard syntax */
    }

    #custom_tooltip{
        margin-top:20px !important;
        margin-bottom: 30px;
        width:100%;
    }
    #chart_div, .canvas{
        width: 90%;
        height:20em;
        overflow-x: auto;
        white-space: nowrap;
        order:2;
        margin-left:20px;
        margin-right:20px;
    }
    .scroll{
        overflow-x: scroll;
        width:100%;
    }
     
    #myselect,#myselect3,#myselect2{
        width: 100%;
        overflow:hidden  !important;
    }

    #chart_div2{
        padding-top:25px;
        padding-bottom:100px;
        overflow-x: auto;
        width:100%;
        white-space: nowrap;
    }
    .filter2{
        margin-top:50px;
    }
    #chartTab{
        width:100%;
        border-collapse: collapse;
    }
    #detailTable{
        width:100%;
    }
    .select2-selection__rendered{
        font-size: 1em;
    }
    .key{
        display:flex;
        flex-direction: column;
        justify-content:flex-start;
        flex-wrap:nowrap;
        width:100%;
    }
}

/**
 * Checkbox Five
 */
.checkboxFive {
    width: 30px;
    margin: 20px 20px;
    position: relative;
}
/**
 * Create the box for the checkbox
 */
.checkboxFive label {
    cursor: pointer;
    position: absolute;
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
    background: #efefef;
    border:1px solid #77bf59;
}
/**
 * Display the tick inside the checkbox
 */
.checkboxFive label:after {
    opacity: 0.2;
    content: '';
    position: absolute;
    width: 10px;
    height: 6px;
    background: transparent;
    top: 11px;
    left: 9px;
    border: 3px solid #333;
    border-top: none;
    border-right: none;

    transform: rotate(-45deg);
}

/**
 * Create the hover event of the tick
 */
.checkboxFive label:hover::after {
    opacity: 0.5;
}

/**
 * Create the checkbox state for the tick
 */
.checkboxFive input[type=checkbox]:checked + label:after {
    opacity: 1;
}

.loader,.loader2 {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #77bf59; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

.loader {
    margin:100px auto;  

}
.loader2 {
    margin:100px auto;   

}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hide-loader{
    display:none;
}