body{
    color: #707070;
}


button, textarea{
    outline-color: #D2D2D2;
}

.bodyBackgroundLogin{
    background-color: #222222;
}

.bodyBackgroundLoggedIn{
    background-color: #FFFFFF;
}

#content {
    width: 100%;
    top: 50px;
    margin-bottom: 35px;
}

.bodybkblk {
  background-color: #141313;
}
.loginPanel {
  background-color: #eeeeee;
  margin-top: 40px;
  position: relative;
  border-radius: 5px;
  padding: 15px 20px 10px;
}
.loginBranding {
  padding-top: 40px;
}
.footerText {
  color: #ada8a8;
  text-align: center;
}

.helpText {
    color: #666666;
    font-weight: normal;
}

.version {
  padding-top: 10px;
}
.loginbtn {
  background-color: #D90000;
  color: #fbf9f9;
  border: 0px;
}
.loginFail {
  margin-top: 10px;
}
.navBk {
  background-color: #342e2e;
  border: 0px;
  border-radius: 0px;
}
.navBarHt {
  max-height: 50px;
}
.navActive {
  background-color: #321616;
}
.unselNav {
  color: #f9f3f3;
}
.navbar-nav > li > a {
  color: #fff !important;
}
a:hover,
a:focus {
  /* color: #eb3370 !important; Removed JC - mucking up bootstrap list styling */
  text-decoration: underline;
}
.headBrand {
  padding-right: 20px;
  padding-top: 5px;
}
.navbar-default .navbar-nav > li > a {
  color: #efefef !important;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #FFF !important;
  background-color: rgba(217, 0, 0, 0.5) !important;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #fff !important;
  background-color: #D90000 !important;
}

.flex-container {
    display: -webkit-inline-flex; /* Safari */
    display: inline-flex;
    -webkit-flex-wrap: wrap; /* Safari */
    flex-wrap:         wrap;
    /*-webkit-justify-content: space-around;
    justify-content:         space-around;*/
}

.floatingLeft
{
    float: left;
}

.wellStyleBlue{
    background-color: aliceblue;
    border: 1px solid #CCCCCC;
}

/**
 * Schedule Styling. Display a pointer and style the selected table cells.
 */
.schedule {
  width: 100%;
}

.scheduleListDate {
    margin-left: 30px;
    font-size: smaller;
}

[drag-select] {
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

[drag-select] .eng-selected-item {
  background: blue;
  color: white;
}

[drag-select] .eng-drag-item {
  background: #808080;
  filter:alpha(opacity=20); /* IE */
  -moz-opacity:0.2; /* Mozilla */
  opacity: 0.2;
}

.schedule > thead {
  background: #C0C0C0;
  padding-left: 5px;
  padding-right: 5px;
}

colgroup col.times{
  text-align: right;
}

.schedule > thead > tr > th,
.schedule > tbody > tr > th,
.schedule > tfoot > tr > th,
.schedule > thead > tr > td,
.schedule > tbody > tr > td,
.schedule > tfoot > tr > td {
  width: 12.5%;
  border: 1px solid #ddd;
}

.schedule > tbody > tr:nth-of-type(odd) {
  background: #f9f9f9;
}

.schedule-box {
  float: right;
  width: 30px;
  height: 30px;
  background-color: blue;
  border-radius: 3px;
}

/*
 *  <hr> style
 */
hr {
    width: 98%;
    height: 1px;
    background-color:#999999;
    color:#999999;
    border: 0 none;
    margin: 3px auto;
}


/*
    Datagrid Styles
    Note: Greg we have got basic styles for datgrid. Change it here if need be.
*/

.datagrid table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
    margin-bottom: 0px;
}
.datagrid {
    overflow: hidden;
    border: 1px solid #CCCCCC;
    width: 100%;
}
.datagrid table thead th {
    background: -webkit-linear-gradient(#f8f9fa, #e8edf0, #dee4e7, #eff2f4); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#f8f9fa, #e8edf0, #dee4e7, #eff2f4); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#f8f9fa, #e8edf0, #dee4e7, #eff2f4); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#f8f9fa, #e8edf0, #dee4e7, #eff2f4); /* Standard syntax */
    color: #FFFFFF;
    font-size: 15px;
    font-weight: bold;
    border-left: 1px solid #CCCCCC;
}

.datagrid table thead th a {
    color: #444444;
    font-size: 12px;
    font-style: normal;
}

.datagrid table thead th a i{
    color: #444444;
    font-size: 12px;
    font-style: normal;
}

.datagrid table tbody td {
    color: #00496B;
    border-left: 1px solid #CCCCCC;
    font-size: 12px;
    font-weight: normal;
}
.datagrid table tbody .alt td {
    background: #E1EEF4;
    color: #00496B;
}

.table > thead > tr > th {
    border-bottom: 1px solid #ddd !important;
    line-height: 0.8;
}

/* Override active (selection) colour in tables */
.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
    background-color: #FCE5EC;
    color: #00496B;
}

.imageCountRed{
    color: #BC2525 !important;
}


/* MODAL STYLE */

.cyclopsDialog .modal-dialog{
    width: 98%;
}

.cyclopsDialog .modal-content{
    width: 98%;
}


.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: black;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop,.modal-backdrop.fade.in {
    opacity: .8;
    filter: alpha(opacity=80);
}



/* GRADIENT BARS */

.gradientBar{
    position: relative;
    min-height: 50px !important;
    border: 1px solid #D9D9D9;
    background-image: -moz-linear-gradient(top , #ffffff ,#d9d9d9 );
    background-image: -webkit-linear-gradient(top , #ffffff ,#d9d9d9 );
    background-image: -o-linear-gradient(top ,  #ffffff ,#d9d9d9 );
    background-image: -ms-linear-gradient(top , #ffffff ,#d9d9d9 );
    background-image: linear-gradient(top , #ffffff ,#d9d9d9 );

}
.gradientBarBrand {
    float: left;
    height: 32px;
    padding: 5px 5px;
    font-size: 18px;
    line-height: 20px;
}
.gradientBarBrand:hover,
.gradientBarBrand:focus {
    text-decoration: none;
}
.gradientBarBrand > img {
    display: block;
}

.gradientBarText {
    margin-top: 6px;
    margin-bottom: 4px;
}
@media (min-width: 768px) {
    .gradientBarText {
        float: left;
        margin-right: 15px;
        margin-left: 15px;
    }
}

/* General */

.alignRight{
    text-align: right;
}


/* Scroll bars */
::-webkit-scrollbar
{
    width: 8px;  /* for vertical scrollbars */
    height: 6px; /* for horizontal scrollbars */
}

::-webkit-scrollbar-thumb
{
    background: rgba(178, 178, 178, 1);
    border: 1px solid #B2B2B2;
}

/* Printing */

.hide-in-print
{
    display: block !important;
}

.show-only-in-print
{
    display: none !important;
}

@media print {
    .hide-in-print
    {
        display: none !important;
    }
    .show-only-in-print
    {
        display: block !important;
    }
}

/* Drag and Drop */

/**
 * For the correct positioning of the placeholder element, the dnd-list and
 * it's children must have position: relative
 */
.dnd ul[dnd-list],
.dnd ul[dnd-list] > li {
    position: relative;
}

/**
 * The dnd-list should always have a min-height,
 * otherwise you can't drop to it once it's empty
 */
.dnd ul[dnd-list] {
    min-height: 42px;
    padding-left: 0px;
}

/**
 * The dndDraggingSource class will be applied to
 * the source element of a drag operation. It makes
 * sense to hide it to give the user the feeling
 * that he's actually moving it.
 */
.dnd ul[dnd-list] .dndDraggingSource {
    display: none;
}

/**
 * An element with .dndPlaceholder class will be
 * added to the dnd-list while the user is dragging
 * over it.
 */
.dnd ul[dnd-list] .dndPlaceholder {
    display: block;
    background-color: #ddd;
    min-height: 42px;
}

/**
 * The dnd-lists's child elements currently MUST have
 * position: relative. Otherwise we can not determine
 * whether the mouse pointer is in the upper or lower
 * half of the element we are dragging over. In other
 * browsers we can use event.offsetY for this.
 */
.dnd ul[dnd-list] li {
    background-color: #fff;
    border: 1px solid #ddd;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
}

/**
 * Show selected elements in same colour as Backbone?
 */
.dnd ul[dnd-list] li.selected {
    background-color: #337ab7;
    color: #ffffff;
}




/*LOADER*/
/* Inspirated from  http://www.alessioatzeni.com/wp-content/tutorials/html-css/CSS3-loading-animation-loop/index.html */
.ouro {
    position: relative;
    display:inline-block;
    height: 46px;
    width: 46px;
    border-radius: 50%;
    background: none repeat scroll 0 0 #DDDDDD;
    overflow:hidden;
    margin-right: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,.1) inset, 0 0 25px rgba(0,0,255,0.075);
}

.ouro:after {
    content: "";
    position: absolute;
    top: 9px; left: 9px;
    display: block;
    height: 28px; width: 28px;
    background: none repeat scroll 0 0 #F2F2F2;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}

.ouroSmall {
    position: relative;
    display:inline-block;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: none repeat scroll 0 0 #DDDDDD;
    overflow:hidden;
    margin-right: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,.1) inset, 0 0 25px rgba(0,0,255,0.075);
}

.ouroSmall:after {
    content: "";
    position: absolute;
    top: 9px; left: 9px;
    display: block;
    height: 10px; width: 10px;
    background: none repeat scroll 0 0 #F2F2F2;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}


.ouro > span {
    position: absolute;
    height: 100%; width: 50%;
    overflow: hidden;
}
.left  { left:0   }
.right { left:50% }

.anim {
    position: absolute;
    left: 100%; top: 0;
    height: 100%; width: 100%;
    border-radius: 999px;
    background: none repeat scroll 0 0 #D90000;
    opacity: 0.8;
    -webkit-animation: ui-spinner-rotate-left 3s infinite;
    animation: ui-spinner-rotate-left 3s infinite;
    -webkit-transform-origin: 0 50% 0;
    transform-origin: 0 50% 0;
}
.left .anim {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.right .anim {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    left: -100%;
    -webkit-transform-origin: 100% 50% 0;
    transform-origin: 100% 50% 0;
}



/* v3 */
.ouro3 .anim {
    -webkit-animation-delay: 0s;
    -webkit-animation-duration:3s;
    -webkit-animation-timing-function: linear;
    animation-delay: 0s;
    animation-duration:3s;
    animation-timing-function: linear;
}
.ouro3 .right .anim{
    -webkit-animation-name: ui-spinner-rotate-right;
    -webkit-animation-delay:0s;
    -webkit-animation-delay: 1.5s;
    animation-name: ui-spinner-rotate-right;
    animation-delay:0s;
    animation-delay: 1.5s;
}



@keyframes ui-spinner-rotate-right{
    0%{transform:rotate(0deg)}
    25%{transform:rotate(180deg)}
    50%{transform:rotate(180deg)}
    75%{transform:rotate(360deg)}
    100%{transform:rotate(360deg)}
}
@keyframes ui-spinner-rotate-left{
    0%{transform:rotate(0deg)}
    25%{transform:rotate(0deg)}
    50%{transform:rotate(180deg)}
    75%{transform:rotate(180deg)}
    100%{transform:rotate(360deg)}
}

@-webkit-keyframes ui-spinner-rotate-right{
    0%{-webkit-transform:rotate(0deg)}
    25%{-webkit-transform:rotate(180deg)}
    50%{-webkit-transform:rotate(180deg)}
    75%{-webkit-transform:rotate(360deg)}
    100%{-webkit-transform:rotate(360deg)}
}
@-webkit-keyframes ui-spinner-rotate-left{
    0%{-webkit-transform:rotate(0deg)}
    25%{-webkit-transform:rotate(0deg)}
    50%{-webkit-transform:rotate(180deg)}
    75%{-webkit-transform:rotate(180deg)}
    100%{-webkit-transform:rotate(360deg)}
}

.horizDisplay{
    display: inline-flex;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-align-self: auto;
}

.modalHeaderText{
    font-size: 24px;
}






/* FOOTER */
.versionText{
    color: #CCCCCC !important;
    padding-top: 8px;
    /*padding-left: 10px;*/
}

.copyrightText{
    padding-top: 8px;
}

.footer {
    width: 100%;
    height: 30px;
    z-index: 1 !important;
    font-size: 12px;
    background: #342E2E;
    color:#CCCCCC;
    position: fixed;
    bottom: 0;
}

.soundIcon{
    padding-top: 8px;
}

.filterLogIcon{
    padding-top: 8px;
}

.connectedIcon{
    padding-top: 8px;
    padding-right: 1em;
}

.disconnectedIcon{
    padding-top: 8px;
    padding-right: 1em;
    color: #FF0000 !important;
}

.footer div i{
    margin-top: 3px;
}

.flexDisplay{
    display:flex;
}


/*TOOLTIP*/

.cameraGrid .tooltip{
    top:20px !important;
}

.tooltip-inner {
    color: #333333;
    border: 1px solid #ccc;
    background-color: #FFFFFF !important;
}

.tooltip.in {
    filter: alpha(opacity=100);
    opacity: 1;
}

.tooltip.top .tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-top-color: #FFFFFF;

}
.tooltip.top-left .tooltip-arrow {
    right: 5px;
    bottom: 0;
    margin-bottom: -5px;
    border-width: 5px 5px 0;
    border-top-color: #FFFFFF;
}

.tooltip.bottom .tooltip-arrow {
    top: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #FFFFFF;
}

.tooltip.bottom-left .tooltip-arrow {
    top: 0;
    right: 5px;
    margin-top: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #FFFFFF;
}
.tooltip.bottom-right .tooltip-arrow {
    top: 0;
    left: 5px;
    margin-top: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #FFFFFF;
}

.btn-primary {
    color: #fff;
    background-color: #EB3370;
    border-color: #BF134B;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
 color: #fff;
 background-color: #BF134B;
 border-color: #B31145;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    z-index: 2;
    color: #fff;
    background-color: #EB3370;
    border-color: #BF134B;
}

.schedule-box {
    float: right;
    width: 30px;
    height: 30px;
    background-color: #F497B6;
    border-color: #BF134B;
    border-radius: 3px;
}

[drag-select] .eng-selected-item  {
    background: #F497B6;
    color: white;
}

.dnd ul[dnd-list] li.selected {
    background-color: #EB3370;
    color: #ffffff;
}


.btn-transparent {
    background: transparent;
    border-style: none;
    padding: 0px;

    /* CSS Transition */
    -webkit-transition: background .2s ease-in-out, border .2s ease-in-out;
    -moz-transition: background .2s ease-in-out, border .2s ease-in-out;
    -ms-transition: background .2s ease-in-out, border .2s ease-in-out;
    -o-transition: background .2s ease-in-out, border .2s ease-in-out;
    transition: background .2s ease-in-out, border .2s ease-in-out;
}

/**
 * End
 */




/**
CAMERA THUMBNAIL STYLES
**/

.cameraSlot{
    overflow: hidden;
    padding: 0px;
    height: 140px;
}

.cameraThumbnail{
    position: relative;
    width: 225px;
    left: 0px;
}

.cameraTitleSpan{
    padding: 0.25em;
}

.favorite-camera-wrapper {
    position: relative;
    display: block;
    float: left;
    background-color: rgba(235, 235, 235, 0);
    height: 224px;
    width: 225px;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 5px dashed #d1d1d1;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

.favorite-camera-accept-drop {
    border: 5px dashed #D71920;
}

.favorite-camera-wrapper-hascamera
{
    border: 5px solid #d1d1d1;
    background-color: #FFFFFF;
}

.favorite-camera-received-lbl {
    position: absolute;
    bottom: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
    color: #FFFFFF;
    font-size: 14px;
    margin-left: 0px;
    padding: 3px;
}

.favorite-camera-title-div {
    border-top: 1px solid #D1D1D1;
    background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#FFFFFF),color-stop(100%,#EBEBEB));
    background-image:-webkit-linear-gradient(top,#FFFFFF,#EBEBEB);
    background-image:-moz-linear-gradient(top,#FFFFFF,#EBEBEB);
    background-image:-o-linear-gradient(top,#FFFFFF,#EBEBEB);
    background-image:linear-gradient(top,#FFFFFF,#EBEBEB);
    height: 48px;
    margin-top: -10px;
}

.favorite-camera-info-div {
    padding: 4px 0px;
    border-top: 1px solid #D1D1D1;
    background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#FFFFFF),color-stop(100%,#EBEBEB));
    background-image:-webkit-linear-gradient(top,#FFFFFF,#EBEBEB);
    background-image:-moz-linear-gradient(top,#FFFFFF,#EBEBEB);
    background-image:-o-linear-gradient(top,#FFFFFF,#EBEBEB);
    background-image:linear-gradient(top,#FFFFFF,#EBEBEB);
}

.favorite-camera-info-div > span {
    font-size: 12px;
}

.dragCameraHolder{
    display: inline-block;
    vertical-align: middle;
    padding-top: 60px;
}

.pagination-centered {
    text-align: center;
}

.nav-tabs > li > a {
    margin: -1px;
    border-radius: 0px;
}

.newButtonStyle{
    padding: 10px;
    color: #656B72;
    text-shadow: none;
    border: 1px solid #B2B2B2;
    border-bottom-color: transparent;
    border-top-color: transparent;
    border-left-color: transparent;
}

.btnGroupStyle{
    padding-top: 6px;
}

.mainContent
{
    height: 85%;
    top: 100px;
    bottom: 110px;
    right: 10px;
    left: 10px;
    right: 10px;
    position: page !important;
    outline: none;
}


.headerbar{
    color: #342e2e;
    padding-top: 10px;
}

.boxPadding4{
    padding: 4px;
}

.displayedImage {
    height: 60%;
}

.bottomTabBar{
    height: 42px !important;
}

.headerbar {
    height: 50px;
    padding-left: 14px;
    padding-top: 10px;
}

.negativeMargin{
    margin-top: -26px !important;
}
.element-to-stretch {
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cameraFilterTitle{
    padding-top: .5em;
    font-size: medium;
}

.cameraHolder{
    margin-top: 4em;
}