/*.btn-extra-small{
  width: 8px;
  height: 10px;
}*/

.form-group.required label:after {
  content: " * ";
  color: red;
}

.help-block {
  color: red !important;
}

/*.foto-dokumen{
  min-width: 300px;
  max-width: 300px;
  max-height: 300px;
}
*/
/*.table-responsive {
  overflow-y:hidden !important;
}

.kv-checkbox-list{
  padding-left: 20px !important;
}

.kv-checkbox-list label{
  padding-left: 10px !important;
}

.header-custom table{
	margin-bottom: 20px;
}
.header-custom table th {
    color: white !important;
    background-color: teal;
    text-align: center;
}

.header-custom table th a{
    color: white !important;
    text-align: center;
}

.btn{
	padding: 7px 12px !important;
}

.table-custom{
	border-collapse: collapse;
	width: 100%;
}

.table-custom input{
	padding: 0px !important;
	height: 25px !important;
}

.header-custom .hasDatepicker {
	width: 100%;
	border: 0px solid #ccc;
    border-radius: 0px;
    border-bottom: 1px solid #ccc;
    background: transparent;
}

.has-error .select2-selection--single{
  border-color: red !important;
}

.table-custom .select2{
	margin-top: -12px;
}

.table-custom td, th{
	border: 1px solid #ddd;
	padding: 8px
}

.table-custom tr:hover {
	background-color: #F0F0F0;
}

.pagination li a{
	padding: 5px;
}

.table-custom .btn-xs {
	padding: 2px !important;
}

.panel-heading{
	padding: 10px;
}

.teal-panel{
    background-color: teal !important; color: white;
  }

.form-group{
	margin-bottom: 10px;
}

.form-control {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

td .form-control{
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.select2-selection {
    padding-left: 5px !important;
}

td .select2-selection {
  height: 26px !important;
  padding-top : 3px !important;
  vertical-align: middle !important;
  margin-top: 12px;
}*/

/*td ..select2-selection__rendered {*/
/*padding: 5px !important; */
/*padding-top: 5px !important*/
/*}*/

form div.required label.control-label:after {
  content: " * ";
  color: red;
}

/*.alert-bordered{
	padding: 8px
}*/


/*SWITCH CHECKBOX*/
.switch {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 34px;
  text-align: center;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  height: 26px;
  width: 30px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  vertical-align: 50%;
  content: "OFF";
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
  content: "ON"
}

/*END SWITCH CHECKBOX*/

input:read-only {
  background-color: #F0F0F0 !important;
  cursor: not-allowed;
}

input[type="text"]:disabled {
  background: #F0F0F0 !important;
  color: black;
}

textarea:read-only {
  background: #F0F0F0 !important;
  color: black;
}

.select2-container--disabled {
  background: #F0F0F0 !important;
}

.select2-selection__rendered {
  color: black;
}


/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #000;
  background: #d3d3d3;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(42, 42, 42, 0.7);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(42, 42, 42, 0.7);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #8ed851;
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.2);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}


/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us .box {
  padding: 30px 30px;
  /*box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);*/
  border-top: 1px solid #d3d3d3;
  border-left: 1px solid #d3d3d3;
  border-right: 1px solid #d3d3d3;
  border-bottom: 1px solid #d3d3d3;
  transition: all ease-in-out 0.3s;
}

.why-us .box span {
  display: block;
  font-size: 28px;
  font-weight: 700;
  /*color: #8ed851;*/
}

.why-us .box h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
  color: #2a2a2a;
}

.why-us .box p {
  /*color: #aaaaaa;*/
  font-size: 15px;
  margin: 0;
  padding: 0;
}

.why-us .box:hover {
  /*background: #5c9f24;*/
  background: #343434;
  /*padding: 30px 30px 70px 30px;*/
  box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.18);
}

.why-us .box:hover span,
.why-us .box:hover h4,
.why-us .box:hover p {
  color: #fff;
}

.box .active span {
  color: red !important;
}

/* ---------------------------------------------------

Project : CSS Checkbox Switch
Author : Partha Kar (https://www.facebook.com/partha.creativemind)
Version : 1.0
Release Dtae : 15 November, 2017

---------------------------------------------------- */


.checkbox.checbox-switch {
  padding-left: 0;
}

.checkbox.checbox-switch label,
.checkbox-inline.checbox-switch {
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.checkbox.checbox-switch label input,
.checkbox-inline.checbox-switch input {
  display: none;
}

.checkbox.checbox-switch label span,
.checkbox-inline.checbox-switch span {
  width: 35px;
  border-radius: 20px;
  height: 18px;
  border: 1px solid #dbdbdb;
  background-color: rgb(255, 255, 255);
  border-color: rgb(223, 223, 223);
  box-shadow: rgb(223, 223, 223) 0px 0px 0px 0px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.checkbox.checbox-switch label span:before,
.checkbox-inline.checbox-switch span:before {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  content: " ";
  top: 0;
  position: relative;
  left: 0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.checkbox.checbox-switch label>input:checked+span:before,
.checkbox-inline.checbox-switch>input:checked+span:before {
  left: 17px;
}


/* Switch Default */
.checkbox.checbox-switch label>input:checked+span,
.checkbox-inline.checbox-switch>input:checked+span {
  background-color: rgb(180, 182, 183);
  border-color: rgb(180, 182, 183);
  box-shadow: rgb(180, 182, 183) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

.checkbox.checbox-switch label>input:checked:disabled+span,
.checkbox-inline.checbox-switch>input:checked:disabled+span {
  background-color: rgb(220, 220, 220);
  border-color: rgb(220, 220, 220);
  box-shadow: rgb(220, 220, 220) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

.checkbox.checbox-switch label>input:disabled+span,
.checkbox-inline.checbox-switch>input:disabled+span {
  background-color: rgb(232, 235, 238);
  border-color: rgb(255, 255, 255);
}

.checkbox.checbox-switch label>input:disabled+span:before,
.checkbox-inline.checbox-switch>input:disabled+span:before {
  background-color: rgb(248, 249, 250);
  border-color: rgb(243, 243, 243);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Switch Light */
.checkbox.checbox-switch.switch-light label>input:checked+span,
.checkbox-inline.checbox-switch.switch-light>input:checked+span {
  background-color: rgb(248, 249, 250);
  border-color: rgb(248, 249, 250);
  box-shadow: rgb(248, 249, 250) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Dark */
.checkbox.checbox-switch.switch-dark label>input:checked+span,
.checkbox-inline.checbox-switch.switch-dark>input:checked+span {
  background-color: rgb(52, 58, 64);
  border-color: rgb(52, 58, 64);
  box-shadow: rgb(52, 58, 64) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

.checkbox.checbox-switch.switch-dark label>input:checked:disabled+span,
.checkbox-inline.checbox-switch.switch-dark>input:checked:disabled+span {
  background-color: rgb(100, 102, 104);
  border-color: rgb(100, 102, 104);
  box-shadow: rgb(100, 102, 104) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Success */
.checkbox.checbox-switch.switch-success label>input:checked+span,
.checkbox-inline.checbox-switch.switch-success>input:checked+span {
  background-color: rgb(40, 167, 69);
  border-color: rgb(40, 167, 69);
  box-shadow: rgb(40, 167, 69) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

.checkbox.checbox-switch.switch-success label>input:checked:disabled+span,
.checkbox-inline.checbox-switch.switch-success>input:checked:disabled+span {
  background-color: rgb(153, 217, 168);
  border-color: rgb(153, 217, 168);
  box-shadow: rgb(153, 217, 168) 0px 0px 0px 8px inset;
}

/* Switch Danger */
.checkbox.checbox-switch.switch-danger label>input:checked+span,
.checkbox-inline.checbox-switch.switch-danger>input:checked+span {
  background-color: rgb(200, 35, 51);
  border-color: rgb(200, 35, 51);
  box-shadow: rgb(200, 35, 51) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

.checkbox.checbox-switch.switch-danger label>input:checked:disabled+span,
.checkbox-inline.checbox-switch.switch-danger>input:checked:disabled+span {
  background-color: rgb(216, 119, 129);
  border-color: rgb(216, 119, 129);
  box-shadow: rgb(216, 119, 129) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Primary */
.checkbox.checbox-switch.switch-primary label>input:checked+span,
.checkbox-inline.checbox-switch.switch-primary>input:checked+span {
  background-color: rgb(0, 105, 217);
  border-color: rgb(0, 105, 217);
  box-shadow: rgb(0, 105, 217) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

.checkbox.checbox-switch.switch-primary label>input:checked:disabled+span,
.checkbox-inline.checbox-switch.switch-primary>input:checked:disabled+span {
  background-color: rgb(109, 163, 221);
  border-color: rgb(109, 163, 221);
  box-shadow: rgb(109, 163, 221) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Info */
.checkbox.checbox-switch.switch-info label>input:checked+span,
.checkbox-inline.checbox-switch.switch-info>input:checked+span {
  background-color: rgb(23, 162, 184);
  border-color: rgb(23, 162, 184);
  box-shadow: rgb(23, 162, 184) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

.checkbox.checbox-switch.switch-info label>input:checked:disabled+span,
.checkbox-inline.checbox-switch.switch-info>input:checked:disabled+span {
  background-color: rgb(102, 192, 206);
  border-color: rgb(102, 192, 206);
  box-shadow: rgb(102, 192, 206) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Warning */
.checkbox.checbox-switch.switch-warning label>input:checked+span,
.checkbox-inline.checbox-switch.switch-warning>input:checked+span {
  background-color: rgb(255, 193, 7);
  border-color: rgb(255, 193, 7);
  box-shadow: rgb(255, 193, 7) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

.checkbox.checbox-switch.switch-warning label>input:checked:disabled+span,
.checkbox-inline.checbox-switch.switch-warning>input:checked:disabled+span {
  background-color: rgb(226, 195, 102);
  border-color: rgb(226, 195, 102);
  box-shadow: rgb(226, 195, 102) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Disabled pagination when first and last */
.first.disabled {
  display: none !important;
}

.prev.disabled {
  display: none !important;
}

.next.disabled {
  display: none !important;
}

.last.disabled {
  display: none !important;
}