.checkbox input[type=checkbox]{
  height: 0;
  width: 0;
  visibility: hidden;
  margin-top: -25px;
}
.checkbox label {
  cursor: pointer;
  text-indent: -9999px;
  width: 48px;
  height: 25px;
  background: #c7c7c7;
  display: inline-block;
  border-radius: 30px;
  position: relative;
}

.checkbox label:after {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
}

.checkbox input:checked + label {
  background: #00a6ff;
}

.checkbox input:checked + label:after {
  left: calc(100% - 4px);
  transform: translateX(-100%);
}

.checkbox label:active:after {
  width: 30px;
}

.checkbox p{
  display:inline;
  margin-right: 5px;
  vertical-align: middle;
}

.chkmain { 
  margin-bottom:-15px; 
    position: relative; 
    cursor: pointer; 
    font-size: 20px; 
} 

.chkmain input[type=checkbox] { 
    visibility: hidden; 
} 
  
/* Creating a custom checkbox 
based on demand */ 
.geekmark { 
    border-radius:3px;
    position: absolute; 
    top: 0; 
    left: 0; 
    height: 15px; 
    width: 15px; 
    background-color: #ebebeb; border: 1px solid #cccc
} 
  
/* Specify the background color to be 
shown when hovering over checkbox */ 
.chkmain:hover input ~ .geekmark { 
    background-color: #959595; 
} 
  
/* Specify the background color to be 
shown when checkbox is active */ 
.chkmain input:active ~ .geekmark { 
    background-color: #349eeb; 
} 
  
/* Specify the background color to be 
shown when checkbox is checked */ 
.chkmain input:checked ~ .geekmark { 
    background-color: #349eeb; 
} 
  
/* Checkmark to be shown in checkbox */ 
/* It is not be shown when not checked */ 
.geekmark:after { 
    content: ""; 
    position: absolute; 
    display: none; 
} 
  
/* Display checkmark when checked */ 
.chkmain input:checked ~ .geekmark:after { 
    display: block; 
} 
  
/* Styling the checkmark using webkit */ 
/* Rotated the rectangle by 45 degree and  
showing only two border to make it look 
like a tickmark */ 
.chkmain .geekmark:after { 
    left: 5px; 
    bottom: 3px; 
    width: 4px; 
    height: 10px; 
    border: solid white; 
    border-width: 0 2px 2px 0; 
    -webkit-transform: rotate(45deg); 
    -ms-transform: rotate(45deg); 
    transform: rotate(45deg); 
} 

/*custom*/
.searchIcon { 
    background-image: url('../icons/search-icon-png-3.png');background-size: 30px 30px;
    text-indent:20px;
    background-repeat: no-repeat;
    background-position: left;transition: all 0.2s ease;
}
.searchIcon:focus { 
    text-indent:0px;background-image: none;
}
.ellipsis {  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.3); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}

/*image preview*/
#image-preview , .image-previews{
  max-width: 180px;
  max-height: 180px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
}
.image-previews{ max-width: 115px;
  max-height: 115px;
}

#image-preview input ,  .image-previews input{
  line-height: 200px;
  font-size: 200px;
  position: absolute;
  opacity: 0;
  z-index: 0;
}
[type='file']::-webkit-file-upload-button {
-webkit-appearance: button;
cursor: pointer;
}
#image-preview label , .image-previews label{
  position: absolute;
  z-index: 1;
  opacity: 0;
  background-color: #bdc3c7;
  width: 140px;
  height: 40px;
  font-size: 18px;
  line-height: 42px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  text-align: center;
  color:white;
  transition-duration: .1s;
  transition-timing-function: linear;
  border-radius:.5rem;
  cursor:pointer;
}
.image-previews label{ display: none;}

#image-preview:hover label , .image-previews:hover label{
  opacity:0.8;
}

/*icon preview*/
.icon-preview {
  max-width: 90px;
  max-height: 90px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
}
.icon-preview input {
  line-height: 100px;
  opacity: 0;
  position: absolute;
  z-index: 0;
}

.disabled *,.disabled{ pointer-events:none;color: #828282 !important;}
.disabled .btn,
.disabled input,
.disabled select,
.disabled textarea{ background:#ebebeb !important;pointer-events:none; }
.disabled input[type='radio']:checked:after{  background-color: #959595; }
.disabled .checkbox input:checked + label { background: #c7c7c7;}


.error{ background:#ffeded !important; border: 1px solid #ffa8a8 !important;}
:disabled {
  background-color: #ebebeb !important;;
  pointer-events: none;
  color: #828282 !important;
}
.shadow {
  -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
  -moz-box-shadow:    5px 5px 5px rgba(0, 0, 0, 0.3);  /* Firefox 3.5 - 3.6 */
  box-shadow:         5px 5px 5px rgba(0, 0, 0, 0.3);  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}
.shadow-top{
  box-shadow:         0px -1.0px 1.5px .02px rgba(0,0,0,0.08);
  border:0; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}
.shadow-full{-webkit-box-shadow:0px 1.35px 2px .04px rgba(0,0,0,0.15);-moz-box-shadow:0 0 10px #000;-o-box-shadow:0px 1.35px 2px .04px rgba(0,0,0,0.15);-ms-box-shadow:0px 1.35px 2px .04px rgba(0,0,0,0.15);box-shadow:0px 1.35px 2px .04px rgba(0,0,0,0.15);}

/*end image preview*/