html,
body {
    height: 100%;
    /* background:url('../img/white_carbon.png'); */
}

.toggle {
    cursor: pointer;
    display: inline-block;
  }

  .block {
	display: block;
	width: 100%;
	border: none;
	/* background-color: #04AA6D; */
	padding: 5px 20px;
	font-size: 28px;
	cursor: pointer;
	text-align: center;
    }
  
  .toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 58px;
    height: 32px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
  }
  .toggle-switch:before, .toggle-switch:after {
    content: "";
  }
  .toggle-switch:before {
    display: block;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    width: 24px;
    height: 24px;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: left 0.25s;
  }
  .toggle:hover .toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
  }
  .toggle-checkbox:checked + .toggle-switch {
    background: #56c080;
  }
  .toggle-checkbox:checked + .toggle-switch:before {
    left: 30px;
  }
  
  .toggle-checkbox {
    position: absolute;
    visibility: hidden;
  }
  
  .toggle-label {
    margin-left: 5px;
    position: relative;
    top: 2px;
  }

.dark-mode {
    background-color: #31373D;
    /* background-color: #1c1f22; */
    /* color: #225FAA; */
    color: rgb(255, 255, 255);
    transition: 0.3s;
}

.btn-dark{
    background-color: #494E53;
    color: rgb(255, 255, 255);
    transition: 0.3s;
}
.hatch-btn.dark-mode{
    background-color: #494E53;
    color: rgb(255, 255, 255);
    transition: 0.3s;
}

.hatch-btn.active, .hatch-btn:hover{
        /* background-color: #3C8DBC; */
        background: #3C8DBC linear-gradient(180deg,#0f9cee,#3C8DBC) repeat-x ;
        color:white;
        
}

.badge{
    padding:10px;
    /* transform: rotate(45deg); */
    /* background-color: #3C8DBC; */
    background: #3C8DBC linear-gradient(180deg,#0f9cee,#3C8DBC) repeat-x !important;
    text-transform: uppercase;
}

.selected{
    /* background: #3C8DBC linear-gradient(180deg,#0f9cee,#3C8DBC) repeat-x ; */
    background-color: #3C8DBC !important;
    color:white !important;
    transition: 0.3s;
}

input[type='time']#start_time_first{
    font-size: 8em;
    padding-top: 2em;
    padding-bottom: 2em;
    text-align: center;
    /* transform: scale(1.1); */
}

table.bigger-text-table tr td{ 
    font-size: 1.3em;
}

label.larger {
    top: 10px;
    margin-bottom: 5px;
}

.modal-dialog {
    width: 75%;
    margin: 0 auto;
  }

a.remove-row.dark-mode{
    background-color: #db0c0c00;
    color: #fff;
}

a.remove-row{
    color: #000;
}

tr.text-red a.remove-row{
    color: #fff;
}

.label-success, .label-danger, .label-warning{
    text-transform: uppercase;
    font-size: 21px;
    padding: 4px;
    /* transform: scale(2.5) ; */
}

.btn-dark.btn-success, .label-success{
    background: #00BC8C linear-gradient(180deg,#2ccfa6,#00BC8C) repeat-x !important;
    color:white;
}

.btn-dark.btn-success:hover{
    background: #06916e linear-gradient(180deg,#2ccfa6,#06916e) repeat-x !important;
    color:white;
    transition: 0.3s;
}

#submitBtn.btn-dark.btn-danger{
    background: #e74c3c linear-gradient(180deg,#eb6759,#e74c3c) repeat-x;
    color: #fff;
}

#submitBtn.btn-danger{
    background: #dc3545 linear-gradient(180deg,#e15361,#dc3545) repeat-x;
    color:white !important;
}

tr.text-red.table-dark.clash{
    background: #e74c3c linear-gradient(180deg,#eb6759,#e74c3c) repeat-x;
    color: #fff;
    animation: blinkingBackground 0.8s infinite;
}
@keyframes blinkingBackground{
    0%		{ background: #e74c3c;}
    100%	        { background: #ce1500;}
}
tr.text-red.clash{
    background: #dc3545 linear-gradient(180deg,#e15361,#dc3545) repeat-x;
    color:white !important;
    animation: blinkingBackgroundLite 0.8s infinite;
}
@keyframes blinkingBackgroundLite{
    0%		{ background: #dc3545;}
    100%	        { background: #ad2a37;}
}
tr.text-red.table-dark{
    background: #e74c3c linear-gradient(180deg,#eb6759,#e74c3c) repeat-x;
    color: #fff;
}
tr.text-red{
    background: #dc3545 linear-gradient(180deg,#e15361,#dc3545) repeat-x;
    color:white !important;
}
tr.text-red:hover{
    /* color:#cf3726 !important; */
    background: #c52938 linear-gradient(180deg,#e42538,#dc3545) repeat-x;
    color:white;
}
tr.text-red.table-dark:hover{
    /* color:#cf3726 !important; */
    background: #c44133 linear-gradient(180deg,#cc5a4e,#c44133) repeat-x;
    color:white;
}

#submitBtn.btn-dark.btn-danger:hover{
    background-color: #9c1e10;
    color:white;
    transition: 0.3s;
}

input.larger,input[type='radio'].larger {
    /* width: 25px;
    height: 25px; */
    transform: scale(5);
    margin: 30px;
  }

#completeBtn:hover,#saveBtn:hover,#startBtn:hover,#nowBtn:hover{
    background: #3C8DBC linear-gradient(180deg,#0f9cee,#3C8DBC) repeat-x ;
    /* background-color: #3C8DBC !important; */
    color:white;
    transition: 0.3s;
}

/* .dark-mode tr:hover {background: #3C8DBC linear-gradient(180deg,#0f9cee,#3C8DBC) repeat-x !important;color:white;} */
.dark-mode tr:hover {background-color: #2d3136 !important;color:white;}
tr.text-red:hover {background-color: #c52a19 !important;color:white !important;}


.light-mode {
    background-color: white;
    color: black;
    transition: 0.3s;
}

.hatch-dark{
    background-color: #1c1f22;
    color: #2274aa;
}

.table-dark{
    border-top: 1px solid #6c757d !important;
    /* color: white; */
    /* border-color: #1c1f22; */
}

.table-light{
    border-color: black;
    /* color: white; */
    /* border-color: #1c1f22; */
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
    background-color: white;
    min-height:93vh;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.status-P{	background:#FAF3EB; }
.status-A{	background:#C6E1CF; }
.status-E{	background:#F7B7D2; }
.status-C{	background:#CAE9EB; }
.status-D{	background:#E0E0E2; }
.status-R{	background:#EEE0DD; }
.status-X{	background:rgb(203, 176, 255); }