﻿body {
    overflow-x: auto;
    min-width:1000px;
}

#top-menu {
    background:#dddddd;
    margin-top: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index:100;
}
#body-content {
    margin-top: 55px;
}

#control-center {
    border-right: 2px solid rgba(34,36,38,.15);
    border-left: 2px solid rgba(34,36,38,.15);
    padding: 0 20px;
    white-space: nowrap;
}

.right-align {
    text-align: right !important;
}

.center-align {
    text-align: center !important;
}

h4.attached.header {
    background-color: #2185d0 !important;
    color: white !important;
}

label {
    font-weight: bold;
    padding-right: 10px;
}

/*.disabled {
	background-color: rgba(34,36,38,.15);
}*/

.disabled-column {
    background-color: lightgray !important;
}

.entry-cell {
    background-color: yellow !important;
}

#tooltip-templates {
    display:none;
}

/* 
    MVC errors
*/
.input-validation-error, .field-validation-error {
    border-color: #e0b4b4 !important;
    color: #9f3a38 !important;
}

.input-validation-error {
    background: #fff6f6 !important;
}

/*
    Override Semantic Colors
*/
.ui.message {
    color:rgba(0,0,0,1) !important;
}

.ui.table thead th,
.ui.striped.table tbody tr:nth-child(2n), 
.ui.striped.table>tr:nth-child(2n) {
    background-color:#E6F1F6;
}

/*
    Override semantic media width
*/
/*@media only screen and (max-width:991px) and (min-width: 768px;) {
    .ui.container {
        width: auto !important;
        margin-left: 1em !important;
        margin-right: 1em !important;
    }
}*/

/* 
    Login 
*/
#login_form {
    margin-bottom:0px;
}
#loginForm {
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;

  border-color: black;
  border-style: solid;
  border-width: 2px;
}

.form-box {
  width: 360px;
  margin: 10% auto 0 auto;
}
.form-box .header {
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 0;
  -moz-border-radius-bottomleft: 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  background: #3498db;
  box-shadow: inset 0px -3px 0px rgba(0, 0, 0, 0.2);
  padding: 20px 10px;
  text-align: center;
  /*font-size: 26px;*/
  font-size: 20px;
  font-weight: 300;
  color: #fff;
}
.form-box .body,
.form-box .footer {
  padding: 10px 20px;
  background: #fff;
  color: #444;
}
.form-box .body > .form-group,
.form-box .footer > .form-group {
  margin-top: 20px;
}
.form-box .body > .btn,
.form-box .footer > .btn {
  margin-bottom: 10px;
}
.form-box .footer {
  -webkit-border-top-left-radius: 0;
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-topleft: 0;
  -moz-border-radius-topright: 0;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
    text-align: center;
}
@media (max-width: 767px) {
  .form-box {
    width: 90%;
    margin: 30px auto 0 auto;
  }
}

.form-control {
    display: block;
    clear:both;
    width: 100%;
}

#mtd-container {
    margin-left: auto;
    margin-right: auto;
}

#allocations-container div.ui.fluid.input > input,
#allowable-hours-container div.ui.fluid.input > input {
    padding: 4px;
}

#allocations-container #allocation-table .attention.icon,
#allowable-hours-container #allocation-table .attention.icon {
    float:left;
}

#allocations-root .accordion .title:not(.active),
#allowable-hours-root .accordion .title:not(.active) {
	border-radius: .28571429rem !important;
}
#allocations-root .accordion .content,
#allowable-hours-root .accordion .content {
	padding-top:0 !important;
}
#allocations-root .accordion .content .attached.segment,
#allowable-hours-root .accordion .content .attached.segment {
	border-top:none !important;
}

#allocation-table thead th.day-column,
#allowable-hours-table thead th.day-column {
    width: 120px;;
}

#allocation-table thead th.total-column,
#allowable-hours-table thead th.total-column {
    width: 101px;
}

#allocation-table thead th.label-column,
#allowable-hours-table thead th.label-column {
    width: 185px;
}

.data-url {
    display: none;
}

.header-column {
    background-color: #2185d0;
    color: #ffffff;
    font-weight: bold;
}

.header-column-grey {
    background-color: #888888 !important;
}

.header-highlight {
    background-color: #e5f9e7 !important;
}

.changed-highlight {
    border-color: #FF7043 !important;
    box-shadow: 0 0 8px #FF7043 !important;
}

.debug-row > td {
    background-color: rgb(180, 100, 100) !important;
    color: #FFFFFF !important;
}

.debug-row.debug-row-alt > td {
    background-color: rgb(180, 60, 60) !important;
    color: #FFFFFF !important;
}

.debug-header-row > td {
    background-color: #DD2222 !important;
    color: #FFFFFF !important;
}

.tfoot-bold th {
    font-weight: 700 !important;
}

#scroll-headers {
    display: none;
    position: fixed;
    z-index: 1;
    border: 1px solid rgba(34,36,38,.15);
}

.positive-cell {
    background-color: #2c662d !important;
    color: white;
}

.negative-cell {
    background-color: #9f3a38 !important;
    color: white;
}

.flash {
    animation-name: flash;
     animation-duration: 0.5s;
     animation-timing-function: linear;
     animation-iteration-count: infinite;
     animation-direction: alternate;
     animation-play-state: running;
 }
 
 @keyframes flash {
     from {color: red;}
     to {color: black;}
 }

 #profitCenterContainer .text {
    width: 200px !important;
    /*cursor: pointer;*/
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease 0s;
    white-space: nowrap;
    width: 100px;
}

#profitCenterContainer div.item {
    width: 250px !important;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease 0s;
    white-space: nowrap;
    width: 100px;
}

#settingsMenu a {
    width: 100%;
    /*text-align: right;*/
}