.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 { 
    position: relative; 
    cursor: pointer; 
    font-size: 10px;     
    margin:0;
} 

.chkmain input[type=checkbox] { 
    visibility: hidden;     margin:0;
    vertical-align: middle;
} 
  .onoffswitch {
    position: relative; width: 65px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #FFFFFF; border-radius: 19px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "%";
    padding-left: 16px;
    background-color: #00a6ff; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "0.00";
    padding-right: 5px;
    background-color: #00a6ff; color: #FFFFFF;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 20px; margin: 5px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 31px;
    border: 2px solid #FFFFFF; border-radius: 19px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}
/* 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, #navoverlay {
  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: 3; /* 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, #image-preview2{
  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.large,#image-preview2.large{
  max-width: 500px;
  max-height: 500px;
}

#image-preview input ,  .image-previews input,  #image-preview2 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, #image-preview2 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: #888888 !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;}
.disabled .btn{color: #888888 !important;}
.disabled.wjs{ pointer-events:auto !important; }

.disabled.foc{ color:white  !important;}


.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);}
.shadow-full2{
  -webkit-box-shadow:0px 1.35px 2px .04px rgba(0,0,0,0.5);
  -moz-box-shadow:0 0 10px #000;
  -o-box-shadow:0px 1.35px 2px .04px rgba(0,0,0,0.5);
  -ms-box-shadow:0px 1.35px 2px .04px rgba(0,0,0,0.5);
  box-shadow:0px 1.35px 2px .04px rgba(0,0,0,0.5);}

/*end image preview*/
.overlay{
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(255,255,255,0.8) url('../icons/img_loading.gif')  center no-repeat;
}


.nav-toggle { position: absolute; top:-100px; right:0; max-height:45px;margin-top:7px;}
#nav-toggle span, 
#nav-toggle span:before,
#nav-toggle span:after {
  padding:0;
  margin-top: -2px; 
  margin-left:-15px;
  cursor: pointer;
  border-radius: 5px;
  height: 3px;
  width: 30px;
  background: #027df0;
  position: absolute;
  display: block;
  content: '';
  border: 1px solid #3d64c7;
}
#nav-toggle span:before {
  top: -7px;  margin-left:-1px;
}
#nav-toggle span:after {
  bottom: -9px;   margin-left:-1px;
}
/* Turn off scrollbar when body element has the loading class */
body.loading{
  overflow: hidden;   
}
/* Make spinner image visible when body element has the loading class */
body.loading .overlay{
  display: block;
}
body{

  overflow-y: scroll;
}
.stop-scrolling {
  height: 100%;
}