﻿body {
    /*overflow: hidden;*/
}

.body-content {
    overflow: hidden;
}

    .body-content .row-content {
        overflow-y: hidden;
    }

    .body-content .col-main-left{
        /*width: 26%;*/
    }
    
    .body-content .col-center {
        /*width: 54%;*/
    }

    .body-content .col-main-right {
         /*width: 20%;*/
    }

/*date range picker hidden behind modal*/
.comiseo-daterangepicker-mask {
    z-index: 9999 !important;
}

.ui-datepicker,
.comiseo-daterangepicker {
    z-index: 10000 !important;
}

.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 60.25%;
}
.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

h6 {
    margin: 2px;
}

h3 {
    margin: 0px;
}

.font-9 {
    font-size: 9px;
}

.invalid {
    border:1px solid red;
}

/*#region headerView*/


.banner {
    min-height: 80px;
    background: url('/assets/img/header.png') no-repeat;
    background-size: 100% 100%;
    _background-color: #215386;
}

    .banner a {
        width: 100%;
    }

        .banner a img {
            height: 60px;
            width: 60px;
        }

        .banner a small.h6 {
            margin-left: 4px;
        }

    .banner .logout {
        padding-right: 8px;
    }

    .banner .user-profile {
        padding-right: 8px;
        margin-top: 6px;
    }

        .banner .user-profile span {
            margin: 0 3%;
        }

        .banner .user-profile select {
            width: 40%;
            color: black;
        }

/*#endregion headerView*/


/*#region loginView*/
#divLogin fieldset {
    max-width: 440px;
    margin: 20px auto;
    padding: 30px 50px;
}

    #divLogin fieldset .input-group {
        width: 100%;
        margin: 20px 0;
    }

#divLogin img {
    margin: auto;
}

#divLogin .row {
    background-color: teal;
    border: 2px solid yellow;
}

#divLogin .appVersion {
    margin-top: -18px;
    margin-left: 76%;
}

/*#endregion loginView*/


/*BOOTSTRAP SELECTORS
  --------------------------------------------------------------------------------------------- */
.row [class^="col-"] {
    padding: 1px;
    /*border: solid 2px yellow;*/
}

.hidden {
    visibility: hidden;
}

#divSharedAssetPath .row {
    margin-left: 15px;
    margin-right: 0;
}

.align-right {
    float: right;
}

.center-block {
    float: none;
}

.well {
    color: black;
    margin: 0;
    padding: 0px;
}

.panel-header, .panel-body {
    margin: 0;
    padding: 0;
}

.list-group-item {
    padding: 0;
}

.text-warning {
    color: yellow;
}

.text-green {
    color: green;
}

.text-orange {
    color: orange;
}

.text-lightgrey {
    color: #b2b2b2;
}

.text-bold {
    font-weight: bold;
}

.blink {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-name: blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    animation-name: blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@-webkit-keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

.text-white {
    color: white;
}

    .text-white a {
        color: white;
    }

.text-strong {
    font-weight: bold;
}

.has-error {
    color: red;
}

/*--------------------------------------------------------------------------------------------- */
html {
    min-height: 100%;
    width: 100%;
    background: linear-gradient(180deg, #235d9c 0%, #20a0c5 51%, #1fd3e4 75%);
    background: -webkit-linear-gradient(#235d9c, #235d9c, #20a0c5, #20a0c5, #1fd3e4, #1fd3e4 );
    color: white;
    opacity: 0.95;
}

body {
    margin: 0;
    padding: 0;
    background-color: transparent !important;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}



/* BACKGROUND COLOR STYLES
 --------------------------------------------------------------------------*/
.bg-blue-gradient {
    background: linear-gradient(180deg, #235d9c 0%, #20a0c5 51%, #1fd3e4 75%);
    background: -webkit-linear-gradient(#235d9c, #235d9c, #20a0c5, #20a0c5, #1fd3e4, #1fd3e4 );
}

.container-shadow {
    border: 2px solid #ddd;
    border-radius: 7px;
    box-shadow: 2px 2px 40px 10px #333;
}

.main_canvas {
    margin: 1px;
    padding: 1px;
    width: 99%;
    background-color: white;
    box-shadow: 5px 1px 30px 3px gray;
    border: 2px solid #aaa;
}

#divImageCanvas .card-body {
    max-width: 924px;
    margin: auto;
}

/* Div drawing canvas
 ================================================================== */
canvas {
    margin: 1px;
    padding: 1px;
    background-color: white;
    box-shadow: 5px 1px 30px 3px gray;
    border: 2px solid #aaa;
}



#divPainttool .container-fluid {
    padding: 0px !important;
         
}
#divPainttool .classSharedAssetPath {
    height:26px;
}
    #divPainttool .container-fluid .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

#divPainttool .thecanvas {
    position: relative;
    height: 756px;
}

#divPaintCanvas {
    margin: auto !important;
}

#divPainttool .mCSB_container_wrapper {
    margin: auto 0px !important;
}

    #divPainttool .mCSB_container_wrapper > .mCSB_container {
        margin: 0px !important;
        padding: 0 !important;
    }

.thecanvas .tracker {
    position: absolute;
    margin-left: -15px;
    margin-top: 5px;
    background-color: transparent;
}

.img-live {
    position: relative;
}

    .img-live .tracker {
        position: absolute;
        /*margin-left: -15px;
        margin-top: -85px;*/
        background-color: transparent;
    }

.vertical-middle {
    display: flex;
    align-items: center;
}

.vertical-center-block {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    min-height: 100%;
    min-height: 100vh;
    height: 100%;
    height: 100vh;
}

.align-items-center {
    display: flex;
    align-items: center;
}

/* Div Stream Select panel
 ================================================================== */
.col-main-left .bin {
    _margin: 0 1%;
}

.col-main-left .card-body select {
    height: 30px;
}


/* Div Paint tool
 ================================================================== */
.divPainttool .card-header {
    padding: 0;
}

.divPainttool .btn-group {
    margin: 0;
}

.divPainttool .card-body {
    margin: 20px 0;
}

#divPainttool .selected {
    background-color: #428bca;
}

input.color {
    width: 42px;
    height: 20px;
    margin: 6px 2px;
    padding: 1px 0;
    font-size: 9px;
}

/* Div USERS
 ==================================================================== */
.col-main-right .well {
    padding: 0 10px;
}

    .col-main-right .well img {
        margin: auto;
        padding: 0;
        width: 40%;
    }

#divUsers fieldset.user-border {
    border: 1px solid #aaa;
    padding: 0 0 0 0.6em;
    margin: 3px;
}

#divUsers legend.user-border {
    font-size: 1.0em !important;
    width: auto;
    margin: 0;
    padding: 0;
    border-bottom: none;
}

#divUsers .scroll {
    width: 98%;
    height: 370px;
    margin: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

#divUsers .list-group {
    border: none;
    padding: 0;
}

    #divUsers .list-group img {
        border: none;
        width: 16%;
        margin: 1px 5px 0 15px;
    }

#divUsers .list-group-item {
    background-color: transparent;
    border: none;
}

    #divUsers .list-group-item:hover {
        background-color: #eee;
    }

#vidyoConnector {
    width: 100% !important;
}

/* Div NOTES
 ==================================================================== */
#divNotes {
    margin: 2px;
    padding: 0;
}

    #divNotes div {
        position: relative;
        padding: 2px;
        background: linear-gradient(180deg, #f7f7c5 0%, #faf38b 51%, #fbf056 75%);
        background: -webkit-linear-gradient(#f7f7c5, #f7f7c5, #faf38b, #faf38b, #fbf056, #fbf056 );
    }

    #divNotes .notesPin {
        position: absolute;
        top: -20px;
        width: 45px;
        margin-left: 32%;
    }

    #divNotes img ::after {
        clear: both;
    }

    #divNotes textarea {
        width: 99%;
        background-color: transparent;
        outline: none;
        border: none;
    }

/* Div ClipBin
 ==================================================================== */

#divClipBin {
    overflow-y: scroll;
    overflow-x: hidden;
    clear: both;
}

    #divClipBin ul li {
        margin-bottom: 4px;
    }
    #divClipBin .clipBinItems {
        float: left;
        clear: both;
        padding-right: 20px;
    }

#breadcrumb a:hover {
    cursor: pointer;
    font-weight: bold;
}

#contextMenu {
    position: fixed;
    display: none;
}
    #assetContextMenu a.disabled-link,
    #assetContextMenu a.disabled-link:visited,
    #assetContextMenu a.disabled-link:active,
    #assetContextMenu a.disabled-link:hover
    #contextMenu a.disabled-link,
    #contextMenu a.disabled-link:visited,
    #contextMenu a.disabled-link:active,
    #contextMenu a.disabled-link:hover {
        background-color: #c9c9c9 !important;
        color: #aaa !important;
    }


fieldset {
    width: auto !important;
}

/* Div Carousel
 ==================================================================== */
#viewCarousel {
    position: absolute;
    width: 1000px;
    bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

    #viewCarousel:after {
        clear: both;
    }

.carouselBottomCntrl {
    position: absolute;
    bottom: 5px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

    .carouselBottomCntrl div.toggle {
        width: 80px !important;
        height: 34px !important;
    }

.chatcontainer .ui-widget-content {
    border: none !important;
    background: none !important;
}

.btn.toggle-off {
    padding-left: 14px !important;
}

.btn.toggle-on {
    padding-left: 10px !important;
}


.btn-tracker img {
    margin-top: -1px;
    margin-left: -3px;
}

#docImages .active {
    border: 2px solid #337ab7 !important;
}

#main-left-container fieldset.user-border {
    border: 1px solid #aaa;
    padding: 0 0 0 0.6em;
    margin: 3px;
}

#main-left-container legend.user-border {
    font-size: 1.0em !important;
    width: auto;
    margin: 0;
    padding: 0;
    border-bottom: none;
}

/*REPLAY and PLAYER view*/
.custom-modal {
    border: 1px solid #aaa;
    background: #eee;
    text-align: center;
    padding: 6px 3px;
}

    .custom-modal .row-header {
        text-align: left;
        padding-left: 15px;
    }

        .custom-modal .row-header img {
            width: 15px;
        }

        .custom-modal .row-header .text-right {
            padding-right: 20px;
        }

    .custom-modal .imgReplay {
        width: 490px;
    }

    .custom-modal #scrubber {
        margin-left: 20px !important;
    }

    .custom-modal .arrowmark {
        margin-left: 23px;
        margin-top: -20px;
        width: 400px;
        height: 25px;
    }

        .custom-modal .arrowmark img {
            position: absolute;
            height: 15px;
        }

    .custom-modal .row-controls {
        margin-top: 5px;
    }

        .custom-modal .row-controls .col-right {
            text-align: right;
            padding-right: 15px;
        }

            .custom-modal .row-controls .col-right a {
                margin-right: 15px;
            }

            .custom-modal .row-controls .col-right img {
                width: 25px;
            }


    .custom-modal .glyphicon.spinning {
        animation: spin 1s infinite linear;
        -webkit-animation: spin2 1s infinite linear;
    }

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

.custom-modal .row-header, .custom-modal .row-controls {
    cursor: move;
}

.custom-modal .row-footer img {
    width: 22px;
}

.custom-modal .row-footer .btn-code {
    width: 15%;
    height: 22px;
}

/*End REPLAY and PLAYER view*/

.btn-fill {
    width: 100%;
}

/* loggedInUser view */

#divLoginUser .row-parent {
    display: table;
}

    #divLoginUser .row-parent .col-child {
        float: none;
        display: table-cell;
        vertical-align: middle;
        padding: 10px;
    }

        #divLoginUser .row-parent .col-child .thumbnail {
            height: 60px;
            width: 60px;
        }

#divLoginUser .row-grid {
    margin-left: 0;
}

#divLoginUser h6 {
    font-weight: bold;
    text-transform: uppercase;
}

/* End loggedInUser view */




/* Div channel & channel template
 ================================================================== */
#divChannel {
    background: #fff;
    max-width: 1260px;
    height: auto;
    position: relative;
}

    #divChannel .btn-close:after {
        clear: both;
    }

    #divChannel .row {
        margin-left: 1px;
    }

.row .scrollChannel {
    overflow-y: auto;
    overflow-x: hidden;
    margin-right: 0px;
}

#divChannelTemplate {
    display: inline-block;
    float: left;
    margin-left: 8px;
}

    #divChannelTemplate .table-responsive {
        background: #eaeef1;
        border: 2px solid #aeaeae;
        border-radius: 1px;
        margin: 3px 0;
        width: 400px;
       /* height: auto; */
        height: 240px;
        display: inline-block;
    }

    #divChannelTemplate table, #divChannelTemplate table td {
        border: none;
        font-size: 11px;
    }

        #divChannelTemplate table tr {
            height: 25px;
        }

    #divChannelTemplate table, tr, td {
        border: none; /*1px solid red;*/
    }

        #divChannelTemplate   table td {
            padding: 2px 10px;
            text-align: left !important;
        }

            #divChannelTemplate table td:nth-child(1) {
                width: 30%;
                color: #333;
            }

            #divChannelTemplate table td:nth-child(2) {
                color: #000;
            }

            #divChannelTemplate table td.text-recording {
                width: 40%;
                color: red;
                font-size: 1.2em;
                font-weight: bold;
                text-align: right !important;
            }

            #divChannelTemplate table td span.clock-time {
                color: black;
                font-size: 1.6em;
                vertical-align: middle;
            }


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

.btn-default:focus, .btn-default:hover {
    background-position-y: -32px !important;
}

.ng-invalid {
    border: 1px solid red;
}


#divPlayer .row {
    padding-top: 10px;
}



.ptz-control {
    position : relative;
    float : right;
    border-radius: 10px;
    margin-top : -60px;
    background-color: white;
    padding: 4px 10px 3px 0px;
}
.ptz-control  table td {
    padding: 0px 6px !important;
   
}

 .button_ptz_cam_hor, .button_ptz_cam_ver,  .button_ptz_cam_middle {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    color: #ffffff;
    background: #374D82;
    padding: 5px 20px 5px 20px;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    border: none;
   /* margin-left: 5px;*/
    margin-right: -10px;
}
 .button_ptz_cam_middle{
  padding: 2px 20px 2px 20px;
  margin-top : 1px;
}
.button_ptz_cam_ver{
      padding: 15px 9px 15px 9px;
 }

.button_ptz_cam_hor:hover,.button_ptz_cam_ver:hover,  .button_ptz_cam_middle:hover {
    background-color: #2B3C64
}

.button_ptz_cam_hor:active, .button_ptz_cam_ver:active, .button_ptz_cam_middle:active{
  background-color: #2B3C64;
  box-shadow: 0 1px #666;
  transform: translateY(1px);
}


.red {
    color:red;
    font-weight:bold;
}

.green{
  color:green;
      font-weight:bold;
}
.blue{
  color:blue;
      font-weight:bold;
}

.custom-modal-left{
    float: left;
    width: 10px;
}

.custom-modal-right{
    float: right;
    width: 330px;
}

.warning-icon-alert {
    background-image: url('/assets/img/icon/warning-icon.jpg');
    height: 25px;
    width: 25px;
   /* margin-top: 7px;*/
    margin-left: -2px;
    background-size: 100% 100%;        
}

.serach-expand-width{
    width: 445px;
}

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

.progress-bar{
	color: #e6a021;
    text-align: left;
}
.progress{    
	margin: 5px;
}

.imageButton {
    height: 18px;
    margin: auto;
}

.startMapCapture
{
    color: red !important;
}

.stopMapCapture
{
    color: blue;
}

.orgSelectBox{
    background-color: #2D86B9;
    border: none;
    padding: 3px;
}

.headerViewText {
    font-size: 16px;
}

.chat-attachments {    
    display: flex;
    flex-wrap: wrap;
}

    .chat-attachments > div {
        border: 1px solid #bbb;
        border-radius: 5px;
        padding: 3px;
        margin: 5px 5px 0 0;
    }

    .chat-attachments img {
        height: 30px;
    }

    .chat-attachments .attachment-remove-btn {
        width: 17px;
        height: 17px;
        transform: scale(0.8);
        vertical-align: middle;
        opacity: 60%;
        cursor: pointer;
    }
        .chat-attachments .attachment-remove-btn:hover {
            opacity: 100%;
        }

.messages .chat-attachments > div:hover {
    cursor: pointer;
    background: #D0E7EF;
}

/* auto-growing textarea alternative */
.div-textarea {
    /* enable new lines */
    white-space: pre-wrap;
    display: inline-block;
    height: 100%;
    min-height: 74px;
    resize: vertical;
    overflow: auto;
}
    .div-textarea[contenteditable="false"] {
        background-color: #e9ecef;
        opacity: 1;
    }

#media-container {
    position: relative;
    min-height: 250px;
}

.hud-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 1.1rem;
    box-sizing: border-box;
}

    .hud-area .hud-panel {
        width: 95px;
        color: #fff;
        background-color: rgba(0,0,0,0.6);
        padding: 8px;
        cursor: move;
        box-sizing: border-box;
        height: 80px;
        display: flex;
        align-items: center;
    }

    .hud-area .start-right {
        right: 0;
    }

    .hud-area .draggable {
        cursor: move;
        position: absolute;
        bottom: 0;
    }

#hud-north-arrow{
    height: fit-content;
    width: fit-content;
    top: 5px;
}

#hud-north-arrow img {
    height: 30px;
}

#hudContextMenu li input[type=checkbox] {
    margin: 0 7px;
}

#hudContextMenu li label {
    font-weight: normal;
}

#hudContextMenu {
    position: fixed;
    display: none;
}

/*videojs custom css*/
.video-js .vjs-picture-in-picture-control .vjs-icon-placeholder, .vjs-icon-picture-in-picture-enter {
    display: none !important;
}

/*subtaskit table input taskit viewer*/
#tblViewSubTasksContainer {
    max-height: 90vh;
    overflow-y: auto;
}

/*taskit details task description cke styling*/
/*#cke_taskit-task-description .cke_top {
    display: none;
}*/

#cke_taskit-task-description .cke_bottom {
    border: none;
}

.cke-taskit-task-description-container body {
    margin: 0;
    padding: 0 6px;
}

.cke-readonly {
    background-color: #e9ecef;
}

.form-viewmode > div {
    display: flex;
}

.form-viewmode label {
    padding-top: 5px;
    font-weight: bold;
}

.form-viewmode .form-control {
    background: none;
    border: none;
    font-size: 1em;
}

.form-viewmode select {
    appearance: none;
    padding-top: 4px;
}
/* For IE10 */
.form-viewmode select::-ms-expand {
    display: none;
}

.d-flex-column {
    display: flex;
    flex-flow: column
}

.flex-grow-1 {
    flex-grow: 1;
}

textarea[ckeditor] {
    width: 100% !important;
    min-height: 100px;
    box-sizing: border-box;
    resize: vertical;
}
