﻿.op-view {
    height: 88vh;
    width: 100%;
    position: relative;
}

/**
    HEADER SECTION
**/

.op-view__header {
    /*background-color: rebeccapurple;*/
    display: flex;
    justify-content: flex-start;
    max-height: 45px;
    flex-direction: row;
    margin: 4px;
}

.row-reverse-ar {
    flex-direction: row-reverse;
}

.direction-ar {
    direction: rtl;
}

.op-view__header-filters-component {
    /*background-color: palevioletred;*/
    display: flex;
    max-width: 30vw;
}

.op-view__header-select {
    width: 10vw;
    margin: 5px;
}

.op-view__header-select-large {
    width: 18vw;
    margin: 5px;
}

.op-view__header-title-component {
    flex: 1;
    /*background-color: red;*/
}

.op-view__header-title-component-metric-name {
    margin: auto;
    color: white;
    align-self: center;
    text-align: center;
    font-size: 18px;
    font-family: 'Open Sans';
    display: block;
}

.op-view__header-date-searh-component {
    /*background-color: lawngreen;*/
}

    .op-view__header-date-searh-component > input {
        width: 200px;
        text-align: center;
        margin: 4px;
        align-self: center;
    }

.op-view__header-auto-refresh-component {
    /*background-color: indigo;*/
    display: flex;
    align-items: center;
    color: white;
}

.op-view__header-reset-component {
    /*background-color: yellow;*/
    display: flex;
}

.label-description {
    color: white;
    padding: 2px;
    margin-top: 2px;
    margin-right: 2px;
}

.btn-image {
    background-color: transparent;
    border: none;
}

    .btn-image img {
        width: 30px;
        height: 30px;
    }

/**
    CHART SECTION
**/

.op-view__chart {
    width: 92vw;
    height: 50vh;
    display: flex;
    align-content: center;
    flex-direction: column;
    flex-basis: auto;
}

.op-view__chart-ar {
    flex-direction: column-reverse
}

.op-view__chart-graph {
    height: 50vh;
}

.op-view__chart-title-counter {
    height: 5vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}


.small-red-box {
    background-color: #C11015;
    width: 20px;
    height: 20px;
    border-radius: 15%;
    margin: 5px;
}

.small-green-box {
    background-color: #13B74D;
    width: 20px;
    height: 20px;
    border-radius: 15%;
    margin: 5px;
}

.op-view__chart-title-timer {
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.row-reverse-ar {
    flex-direction: row-reverse;
}

.text-upperCase {
    text-transform: uppercase;
}

.result-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
}

.small-yellow-circle {
    background-color: #FFF532;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 5px;
}

.small-green-circle {
    background-color: #13B74D;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 5px;
}

.small-blue-circle {
    background-color: #0E6AED;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 5px;
}

.small-orange-circle {
    background-color: #F79425;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 5px;
}

.small-red-circle {
    background-color: #C11015;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 5px;
}

.small-purpure-circle {
    background-color: #683DAE;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 5px;
}

.result-selector {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 300px;
}

.font-white {
    color: white;
}

input[name="resultType"] {
    accent-color: #2BBAFC;
}

.op-view__messages {
    width: 92vw;
    height: 21vh;
    display: flex;
    align-content: center;
    flex-direction: column;
    flex-basis: auto;
}

.flex-table-contents-operation {
    overflow-y: auto;
    height: 24vh;
    font-family: Montserrat;
}

.monitor-table-arabic-ar {
    direction: rtl;
}

.text-position-ar {
    text-align:right !important; 
}

.flex-table-text-float-ar {
    float: right;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.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: 17px;
        width: 17px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }


/*******************************************************/

.op-raw-message-section {
    display: flex;
    margin: auto;    
    justify-content: center;
    align-items: center;
    width: inherit;
}

.op-raw-message-section-ar {
    direction: rtl;
}
