div.form {
  background: url(form_bkg.jpg);
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  padding: 7px;
}

div.form input, div.form textarea, div.form select {
  display: block;
  /*width: 100%;*/
  padding: .375rem 2px;
  font-size: 1rem;
  line-height: 1.5;
  color: black;
  /*background-color: #fff;*/
  background-image: none;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  /*border-radius: .25rem;*/
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  min-width: 30px;
}

div.form fieldset {
  border: 1px solid #DDD;
  padding: 10px;
  margin: 0 0 10px 0;
  -moz-border-radius: 7px;
  border-radius: 7px;
}

div.form label {
  font-weight: bold;
  font-size: 11px;
  display: block;
  color: black;
  margin-bottom: 0;
}
.timesheet-duration-section .form-group>.duration-input{
  margin-bottom: 8px;
}
div.form .row {
  margin: 0px;
}

div.form .hint {
  color: #999;
  margin: 0;
  padding: 0;
  font-size: .8em;
}

div.form .note {
  font-style: normal;
  font-size: 11px;
}

div.form span.required {
  color: red;
}

div.form div.error label, div.form label.error, div.form span.error {
  color: #C00;
}

div.form div.error input, div.form div.error textarea, div.form div.error select, div.form input.error, div.form textarea.error, div.form select.error {
  background: #FEE;
  border-color: #C00;
}

div.form div.success input, div.form div.success textarea, div.form div.success select, div.form input.success, div.form textarea.success, div.form select.success {
  background: #E6EFC2;
  border-color: #C6D880;
}

div.form .errorSummary {
  border: 2px solid #C00;
  background: #FEE;
  font-size: .9em;
  margin: 0 0 20px;
  padding: 7px 7px 12px;
}

div.form .errorMessage {
  color: red;
  font-size: .9em;
}

div.form .errorSummary p {
  margin: 0;
  padding: 5px;
}

div.form .errorSummary ul {
  margin: 0;
  padding: 0 0 0 20px;
}

div.wide.form label {
  float: left;
  margin-right: 10px;
  position: relative;
  text-align: right;
  width: 100px;
}

div.wide.form .row {
  clear: left;
}

div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage {
  clear: left;
  padding-left: 110px;
}

div.form div.buttons input {
  margin-right: 10px;
}

input[type=checkbox] {
  -ms-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -o-transform: scale(1.5);
  padding: 10px;
}

/*.button.save,
.button.reset,
.button.save-and-cont{

}

.button.save:active,
.button.reset:active,
.button.save-and-cont:active{

}*/

.button.create {
  border: 1px solid #df0909;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-size: 12px;
  font-family: arial, helvetica, sans-serif;
  padding: 10px 10px 10px 10px;
  text-decoration: none;
  display: inline-block;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
  font-weight: bold;
  color: #FFFFFF;
  background-color: #f62b2b;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f62b2b), to(#d20202));
  background-image: -webkit-linear-gradient(top, #f62b2b, #d20202);
  background-image: -moz-linear-gradient(top, #f62b2b, #d20202);
  background-image: -ms-linear-gradient(top, #f62b2b, #d20202);
  background-image: -o-linear-gradient(top, #f62b2b, #d20202);
  background-image: linear-gradient(to bottom, #f62b2b, #d20202);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#f62b2b, endColorstr=#d20202);
}

.button.create:active {
  border: 1px solid #b30808;
  background-color: #e40a0a;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#e40a0a), to(#9f0202));
  background-image: -webkit-linear-gradient(top, #e40a0a, #9f0202);
  background-image: -moz-linear-gradient(top, #e40a0a, #9f0202);
  background-image: -ms-linear-gradient(top, #e40a0a, #9f0202);
  background-image: -o-linear-gradient(top, #e40a0a, #9f0202);
  background-image: linear-gradient(to bottom, #e40a0a, #9f0202);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#e40a0a, endColorstr=#9f0202);
}

.button.save {
  font-family: arial, helvetica, sans-serif;
  padding: 0 !important;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#4ba614, endColorstr=#008c00);
  /* background-image: url(images/create.png); */
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: center 0px;
  border: 2px solid #494949;
  margin-right: 0 !important;
  font-size: 10px;
  background-color: #00c7ff;
  height: 35px !important;
  width: 80px;
}

.button.save:active {
  border: 1px solid #224b09;
  background-color: #36780f;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#36780f), to(#005900));
  background-image: -webkit-linear-gradient(top, #36780f, #005900);
  background-image: -moz-linear-gradient(top, #36780f, #005900);
  background-image: -ms-linear-gradient(top, #36780f, #005900);
  background-image: -o-linear-gradient(top, #36780f, #005900);
  background-image: linear-gradient(to bottom, #36780f, #005900);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#36780f, endColorstr=#005900);
}

.button.reset {
  border: 1px solid #616261;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-size: 12px;
  font-family: arial, helvetica, sans-serif;
  padding: 10px 10px 10px 10px;
  text-decoration: none;
  display: inline-block;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
  font-weight: bold;
  color: #FFFFFF;
  background-color: #7d7e7d;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#7d7e7d), to(#0e0e0e));
  background-image: -webkit-linear-gradient(top, #7d7e7d, #0e0e0e);
  background-image: -moz-linear-gradient(top, #7d7e7d, #0e0e0e);
  background-image: -ms-linear-gradient(top, #7d7e7d, #0e0e0e);
  background-image: -o-linear-gradient(top, #7d7e7d, #0e0e0e);
  background-image: linear-gradient(to bottom, #7d7e7d, #0e0e0e);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#7d7e7d, endColorstr=#0e0e0e);
}

.button.reset:active {
  border: 1px solid #4a4b4a;
  background-color: #646464;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#646464), to(#282828));
  background-image: -webkit-linear-gradient(top, #646464, #282828);
  background-image: -moz-linear-gradient(top, #646464, #282828);
  background-image: -ms-linear-gradient(top, #646464, #282828);
  background-image: -o-linear-gradient(top, #646464, #282828);
  background-image: linear-gradient(to bottom, #646464, #282828);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#646464, endColorstr=#282828);
}

.button.save-and-cont {
  font-family: arial, helvetica, sans-serif;
  padding: 0 !important;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#4ba614, endColorstr=#008c00);
  /** background-image: url(images/create.png); */
  /** background-size: 30px; */
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center 1px;
  border: 2px solid #494949;
  width: 122px;
  margin-right: 0 !important;
  font-size: 10px;
  background-color: #38ca38;
  height: 35px !important;
}
/*
.save-and-cont[name="savenedit"] {
  background-image: url(images/createandedit.png);
}

.save-and-cont[name="savencreate"] {
  background-image: url(images/createandcreate.png);
}
*/
.button.save-and-cont:active {
  border: 1px solid #1c5675;
  background-color: #26759e;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#26759e), to(#133d5b));
  background-image: -webkit-linear-gradient(top, #26759e, #133d5b);
  background-image: -moz-linear-gradient(top, #26759e, #133d5b);
  background-image: -ms-linear-gradient(top, #26759e, #133d5b);
  background-image: -o-linear-gradient(top, #26759e, #133d5b);
  background-image: linear-gradient(to bottom, #26759e, #133d5b);
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#26759e, endColorstr=#133d5b);
}

option.select-hr {
  border-bottom: 1px solid #ccc;
}

select.select-group optgroup[label="Inactive Project"] option, select.select-group optgroup[label="Old Client Users"] option, select.select-group optgroup[label="Old Staff"] option {
  color: #777;
}

#task-grid .state select, #task-grid .state select option {}

.editableField {
  background: yellowgreen !important;
  border: 1px solid green !important;
}

.readonlyField {
  background: #ffbf00 !important;
  border: 1px solid #FF9800 !important;
}

@media only screen and (max-width: 768px) {
  div.form input[type="text"], 
  div.form input[type="password"]{
    width: 100%;
  }
  div.form select {
    max-width: 200px;
  }
  div.form div.buttons input[type="text"], 
  div.form div.buttons input[type="password"] {
    max-width: 125px;
  }
}

@media only screen and (max-width: 640px) {
  div.form input[type="text"], 
  div.form input[type="password"], 
  div.form textarea, 
  div.form select {
    width: 95%;
  }
  #myDescriptionEditor {
    min-height: 80px;
  }
  .cleditorMain {
    min-height: 163px;
  }
}

label {
  margin-bottom: 0;
}


#Task_name {
  /*margin-top: 17px;
  margin-left: -67px;*/
  width: 100%;
  margin-bottom: 15px;
}

#Task_pageUrl {
  width: calc(100% - 73px);
  height: 30px !important;
  max-width: 640px;
}

.duration-input {
  margin-top: -20px;
}

input {
  border-radius: 0 !important;
}
