/* Styles go here */

.forms {
  margin-top: 10px;
  padding-top: 10px;
  background-color: #fff;
  color: #333;
  min-height: 100px;
}

.forms .tab-content {
  border: 1px solid rgba(221, 221, 221, 0.4);
  border-top: none;
  min-height: inherit;
}

.forms .panel {
  background-color: transparent;
  border-radius: 0px !important;
  border: 1px solid transparent;
}

.forms .panel-primary {
  border-color: #428bca;
}

.forms .panel-primary>.panel-heading {
  border-radius: 0px !important;
}

.forms .tab-pane {
  /*margin-top:10px;*/
  padding-top: 10px;
  margin-left: 5px;
  margin-right: 5px;
}

.forms .gallery {
  margin-top: 10px;
  margin-right: -15px;
  margin-left: -15px;
}

.forms .error {
  border: 1px solid #a94442 !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.alerts {
  position: fixed;
  top: 0;
  left: 25%;
  width: 50%;
  z-index: 9999;
}

.inner-alerts {
  margin: 0 auto;
  text-align: center;
}

.large-preview {
  background-color: rgba(0, 0, 0, 0.4) !important;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  display: none;
  position: fixed;
  padding: 5px;
  z-index: 2000;
}

.large-preview img {
  width: 50%;
  max-height: 98%;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.forms .panel-body button {
  margin-bottom: 10px;
  margin-right: 5px;
}

.forms .table-bordered {
  border: 1px solid #ddd;
}

.forms .table-responsive {
  color: #000000;
}

.forms .table-bordered > thead > tr > td,
.forms .table-bordered > tbody > tr > td {
  border: 1px solid #ddd;
  border-top: 1px solid #ddd !important;
}

.forms thead tr th:nth-last-child(2) {
  border-right: none;
  width: 100px;
}

.forms thead tr th:last-child {
  border-left: none;
  max-width: 35px !important;
  width: 35px !important;
}

.forms tbody tr td:nth-last-child(2) {
  border-right: none;
}

.forms tbody tr td:last-child {
  /*border-left: none;*/
  vertical-align: middle;
  text-align: center;
  max-width: 35px !important;
  width: 35px !important;
}

.forms .table-responsive tfoot tr td:last-child {
  /*border-left: none;*/
  text-align: center;
  max-width: 35px !important;
  width: 35px !important;
}

.forms .form-control {
  color: #555;
  border-radius: 0px;
  border: 1px solid #ccc;
}

.forms .input-group-addon {
  color: #555;
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 4.5px 14px;
}

.forms select {
  -webkit-appearance: menulist !important;
  -moz-appearance: menulist !important;
}

.forms input[type="file"] {
  color: #fff !important;
}

.forms .form-horizontal .control-label {
  padding: 6px 12px;
}

.forms .form-control[disabled]{
  background-color: #e5e5e6;
}

.forms canvas {
  border: 1px solid #ddd;
  /*left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;*/
}

/*.select2-container {
  width: 100% !important;
}*/

.select2-container--default .select2-results__option[aria-disabled=true] {
  display: none;
}

.forms .select2-selection__clear {
    position: absolute !important;
    right: 20px !important;
}

.forms .select2-selection {
  border-radius: 0px !important;
  height: 34px !important;
}



.forms .select2-selection__arrow {
  height: 34px !important;
}

.forms span {
  font-size: 14px;
}

.forms .btn-default {
  color: #333 !important;
  background-color: #fff !important;
  border-color: #ccc !important;
}

.select2-results__options,
.select2-container--default .select2-search--dropdown .select2-search__field {
  font-size: 14px;
  color: #444 !important;
}

.forms span:focus {
  border-color: rgb(104, 154, 58) !important;
  outline: 0 !important;
}

.setFocus:focus{
  background-color: rgb(104, 154, 58) !important;
  border-color: rgb(104, 154, 58) !important;
}

.forms .form-group .form-control:focus{
  border-color: rgb(104, 154, 58) !important;
  outline: 0 !important;
}

.forms input[type="file"]:focus, .forms input[type="radio"]:focus, .forms input[type="checkbox"]:focus. .forms div:focus{
  border: 1px solid rgb(104, 154, 58) !important;
  border-color: rgb(104, 154, 58) !important;
  outline: 0 !important;
}

.forms input[type="file"]:focus{
  border: 1px solid rgb(104, 154, 58) !important;
}

.forms input[type="radio"]:focus, .forms input[type="checkbox"]:focus, .forms div:focus {
  outline: 1px solid rgb(104, 154, 58) !important;
}

.forms .form-horizontal .form-group {
  margin-left: 0px;
  margin-right: 0px;
}

.forms .nav>li.active > a{
  /*border-color: rgb(104, 154, 58) !important;*/
}

.forms .nav>li>a:focus {
  border-color: rgb(104, 154, 58) !important;
}

.forms .btn-default:focus {
  background-color: rgb(104, 154, 58) !important;
  color: #fff !important;
}

.forms .table .btn-primary:focus{
  background-color: rgb(104, 154, 58) !important;
  color: #fff !important;  
}

.forms .m-signature-pad--body {
  width: auto;
  min-height: 8px;
}

.forms .m-signature-pad {
  width: auto;
  min-height: 8px;
}

.forms .table td > .form-group {
  margin-right: 0px !important;
  margin-left: 0px !important;
  margin-bottom: 0px !important;
}

.forms .table td > .form-group > .col-sm-10 {
  padding: 0px !important;
  padding-right: 0px !important;
  padding-left: 0px !important;
  /*max-width: 200px;*/
  /*width: 100%;*/
}

@media screen and (min-width: 768px){
  .forms .table.table-bordered td {
/*    min-width: 100px !important;
    width: 200px;*/
    /*max-width: 100px;
    width: 100px;*/
  }
}

.forms .table.table-bordered th {
/*  min-width: 100px !important;
  width: 200px;*/
  /*max-width: 100px;
  width: 100px;*/
}

.forms input[type="text"],.forms input[type="number"],.forms textarea {
 padding-left: 7px;
}

.forms .select2-selection__rendered {
  line-height: 34px !important;
}

.forms .table-responsive .table > tfoot > tr > td{
  text-align: center;
  vertical-align: middle;
}

.forms .table button {
  border-radius: 0px;
  padding: 1px 9px;
  margin-bottom: 0;
  margin-right: 0;
}

.forms .table .btn-primary:focus{
  background-color: #25436F;  
}

.forms .thumb:hover{
  border: 1px solid transparent; 
}

#imageModal .progress{
  height: 2px !important;
  margin-bottom: 2px;
  margin-top: 2px;
}
#imageModal .progress-text{
  max-width: 40px;
  width: 40px;
}

#imageModal .glyphicon{
  color: #8bc34a;
} 

.forms div[data-type="checkbox"], .forms div[data-type="radio"]{
  display: table;
}
.forms div[data-type="checkbox"] > p, .forms div[data-type="radio"] > p{
  display: table-cell;
  vertical-align: middle;
  padding: 6px 0px !important;
}

.glyphicon-refresh-animate {
    -webkit-animation-name: spin;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 2s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 2s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    
    animation-name: spin;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@-ms-keyframes spin {
    from { -ms-transform: rotate(0deg); }
    to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

body{
  padding-right: 0px !important;
}

.bootstrap-datetimepicker-widget{
   z-index: 8000000 !important;
}

.table td{
    /*position: relative;*/
}

.forms .table td{
    
}

.table-forms > .table > thead > tr > th,
  .table-forms > .table > tbody > tr > th,
  .table-forms > .table > tfoot > tr > th,
  .table-forms > .table > thead > tr > td,
  .table-forms > .table > tbody > tr > td,
  .table-forms > .table > tfoot > tr > td {
    white-space: nowrap;
  }
  
  .table-forms {
  min-height: .01%;
}

@media screen and (max-width: 767px) {
  .table-forms {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
  }
  .table-forms > .table {
    margin-bottom: 0;
  }
  .table-forms > .table > thead > tr > th,
  .table-forms > .table > tbody > tr > th,
  .table-forms > .table > tfoot > tr > th,
  .table-forms > .table > thead > tr > td,
  .table-forms > .table > tbody > tr > td,
  .table-forms > .table > tfoot > tr > td {
    white-space: nowrap;
  }
  .table-forms > .table-bordered {
    border: 0;
  }
  .table-forms > .table-bordered > thead > tr > th:first-child,
  .table-forms > .table-bordered > tbody > tr > th:first-child,
  .table-forms > .table-bordered > tfoot > tr > th:first-child,
  .table-forms > .table-bordered > thead > tr > td:first-child,
  .table-forms > .table-bordered > tbody > tr > td:first-child,
  .table-forms > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
  }
  .table-forms > .table-bordered > thead > tr > th:last-child,
  .table-forms > .table-bordered > tbody > tr > th:last-child,
  .table-forms > .table-bordered > tfoot > tr > th:last-child,
  .table-forms > .table-bordered > thead > tr > td:last-child,
  .table-forms > .table-bordered > tbody > tr > td:last-child,
  .table-forms > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
  }
  .table-forms > .table-bordered > tbody > tr:last-child > th,
  .table-forms > .table-bordered > tfoot > tr:last-child > th,
  .table-forms > .table-bordered > tbody > tr:last-child > td,
  .table-forms > .table-bordered > tfoot > tr:last-child > td {
    border-bottom: 0;
  }
}

@media screen and (min-width: 480px) {
   div.table-forms .select2-selection__rendered{
        min-width: 250px;
    }
}

div.table-forms button[type="submit"]{
 margin-top: 3px;   
}

