/*Custom*/
.bgTriangle {
  background-image: linear-gradient(120deg, #f7fafc 70%, #f0f5f9 0%) !important;
}

/*Enscroll*/
.enscroll {
  min-width: 100%;
}
.vertical-track {width: 0px;background-color:#cccccc; right: 2px;}
.vertical-handle {width: 4px;background-color: #cccccc;;border-radius:20px; right: 2px;}

/*Custom Switch*/
.custom-switch .custom-control-label {
    width: 56px;
    height: 30px;
}
.custom-switch .custom-control-label:before {
    margin: 0;
    left: 0;
    top: 0;
    border-radius: 100px;
    width: 56px;
    height: 30px;
    border-color: #c4cfde !important;
    background: #D4DCE7;
}
.custom-switch .custom-control-label:after {
    width: 24px;
    height: 24px;
    border-radius: 100px;
    margin-top: -1px;
    margin-left: 1px;
    left: 3px;
    top: 4px;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15), 0 2px 1px 0 rgba(0, 0, 0, 0.05);
}
.custom-switch .custom-control-label:active:before {
    background: rgba(212, 220, 231, 0.5) !important;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label:before {
    border-radius: 100px;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label:after {
    width: 24px;
    height: 24px;
    border-radius: 100px;
    left: 16px;
}
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #7ed320;
}


/*CheckBox, Radio*/
.ui-checkbox, .ui-radio {
  z-index: 0;
  position: relative;
  display: inline-block;
  color: rgba(0,0,0, 0.87);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.ui-checkbox > input, .ui-radio > input {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  z-index: -1;
  position: absolute;
  left: -10px;
  top: -8px;
  display: block;
  margin: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-color: rgba(0,0,0, 0.6);
  box-shadow: none;
  outline: none;
  opacity: 0;
  transform: scale(1);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
}
.ui-checkbox > span, .ui-radio > span {
  display: inline-block;
  width: 100%;
  cursor: pointer;
}
.ui-checkbox > span::before {
  content: "";
  display: inline-block;
  box-sizing: border-box;
  margin: 3px 11px 3px 1px;
  border: solid 2px; /* Safari */
  border-color: rgba(0,0,0, 0.6);
  border-radius: 2px;
  width: 18px;
  height: 18px;
  vertical-align: top;
  transition: border-color 0.2s, background-color 0.2s;
}
.ui-radio > span::before {
  content: "";
  display: inline-block;
  box-sizing: border-box;
  margin: 3px 11px 3px 1px;
  border: solid 2px; /* Safari */
  border-color: rgba(0,0,0, 0.6);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  vertical-align: top;
  transition: border-color 0.2s, background-color 0.2s;
}
.ui-checkbox > span::after {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 2px;
  width: 10px;
  height: 5px;
  border: solid 2px transparent;
  border-right: none;
  border-top: none;
  transform: translate(3px, 4px) rotate(-45deg);
}
.ui-radio > span::after {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  left: 5px;
  width: 10px;
  height: 10px;
  border: solid 5px transparent;
  border-radius: 50%;
}
.ui-control-label {
  width: 100%;
  padding: 10px 20px 10px 4rem;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.1s all;
}
.ui-checkbox > input:checked {
  background-color: rgb(126, 211, 32);
}
.ui-checkbox > input:checked, .ui-radio > input:checked {
  background-color: rgb(126, 211, 32);
}

.ui-checkbox > input:checked + span::before {
  border-color: rgb(126, 211, 32);
  background-color: rgb(126, 211, 32);
}
.ui-radio > input:checked + span::before {
  border-color: rgb(126, 211, 32);
  background-color: rgb(126, 211, 32);
}

.ui-checkbox > input:checked + span::after {
  border-color: rgb(255, 255, 255);
}
.ui-radio > input:checked + span::after {
  border-color: rgb(255, 255, 255);
}
.ui-checkbox:hover > input, .ui-radio:hover > input {
    opacity: 0.04;
}

.ui-checkbox > input:focus, .ui-radio > input:focus {
    opacity: 0.12;
}

.ui-checkbox:hover > input:focus, .ui-radio:hover > input:focus {
    opacity: 0.16;
}
.ui-checkbox > input:active, .ui-radio > input:active {
    opacity: 1;
    transform: scale(0);
    transition: transform 0s, opacity 0s;
}

.ui-checkbox > input:active + span::before, .ui-radio > input:active + span::before {
    border-color: rgb(126, 211, 32);
}

.ui-checkbox > input:checked:active + span::before, .ui-radio > input:checked:active + span::before {
    border-color: transparent;
    background-color: rgba(0,0,0, 0.6);
}
.ui-checkbox > input:disabled, .ui-radio > input:disabled {
    opacity: 0;
}

.ui-checkbox > input:disabled + span, .ui-radio > input:disabled + span {
    color: rgba(0,0,0, 0.38);
    cursor: initial;
}

.ui-checkbox > input:disabled + span::before, .ui-radio > input:disabled + span::before {
    border-color: currentColor;
}



/*--------------------------------------
    Action Sheet Style
---------------------------------------*/
.modal {
    overflow: hidden !important ;
}
.modal.action-sheet {
    z-index: 200000;
}
.modal.action-sheet .modal-dialog {
    margin-left: 0;
    padding: 0;
    position: fixed;
    width: 100%;
    min-width: 100%;
    z-index: 12000;
    transform: translate(0, 50%) scale(.9);
    transition: transform .2s cubic-bezier(.22,.61,.36,1),-webkit-transform .2s cubic-bezier(.22,.61,.36,1);
}
.modal-backdrop.show {
  opacity: .25;
}
.modal.action-sheet.show .modal-dialog {
    transform: translate(0, 0) scale(1);
}
.modal.action-sheet .close-button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    position: absolute;
    right: 10px;
    top: 3px;
    color: #B7C0CD;
}
.modal.action-sheet .close-button:hover, .modal.action-sheet .close-button:active {
      color: #50565D;
}
.modal.action-sheet .modal-content {
    box-shadow: 0 24px 24px 0 rgba(32,33,37,0.24),0 0 24px 0 rgba(32,33,37,0.12);
    border: 0;
    border-radius: 18px;
}
.modal.action-sheet .modal-content .action-sheet-content {
    padding: 20px 16px;
    max-height: 460px;
    overflow: auto;
}
.modal.action-sheet .modal-content .modal-header {
  display: block;
  padding: 10px 20px;
  text-align: center;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0, .1);
}
.modal.action-sheet .modal-content .modal-header .close {
  border-radius: 50px;
  align-items: center;
  display: flex;
  width: 40px;
  height: 40px;
  margin-right: 5px;
  background: #e6e9ef;
  text-shadow: none;
  opacity: 1;
  justify-content: center;
  font-size: 35px;
  position: absolute;
  right: 15px;
  top: 35px;
  outline: 0;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  transition: 350ms ease;
}
.modal.action-sheet .modal-content .modal-header .close:hover {
  background: #a3b1bf;
}
.modal.action-sheet .modal-content .modal-header .close:active {
  transform: scale(.90);
}
.modal.action-sheet .modal-content .modal-header .modal-title {
    padding: 0;
    margin: 0;
    text-align: center;
    display: block;
    font-size: 1.75rem;
    padding: 30px 0 0 0;
    color: #1E252E;
    font-weight: 700;
    display: block;
    text-align: center;
}
.modal.action-sheet .modal-content .modal-body {
      padding: 0;
      border-radius: 0 0 12px 12px;
}
@media(min-width: 768px) {
    .modal.action-sheet .modal-content {
        width: 480px;
        margin: auto;
    }
}
@media(max-width: 992px) {
    .modal.action-sheet .modal-content {
        border-radius: 0;
    }
    .modal.action-sheet.show .modal-dialog {
      height: 100%;
      margin: 0;
    }
}