/** misc css */
button > i {
  margin-right: .5rem;
}

/**
    animated popup for apk buttons
*/

.bg-pattern-green{
  background-color: rgb(177 201 89)!important;
}

.popup {
  position: absolute;
  top: 40px;
  left: 50%;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  transform: translateX(-100%);
  opacity: 0%;
  pointer-events: none;
}

.popup.active {
  animation: popup 1s ease-in-out forwards;
}

@keyframes popup {
  0% {
    opacity: 0;
    pointer-events: none;
    transform: translate(-100%, 60px);
  }

  40% {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-100%, 0px);
  }

  80% {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-100%, 0px);
  }

  100% {
    opacity: 0;
    pointer-events: none;
    transform: translate(-100%, 60px);
  }
}



/**
    Slider
*/

.switch {
  position: relative;
  display: inline-block;
  width: 49px;
  height: 22px;
}

.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;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #03b221d6;
}

input:focus+.slider {
  box-shadow: 0 0 1px #03b221d6;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.my-modal {
  display: none;
  position: fixed;
  z-index: 1099;
  padding-top: 40px;
  left: 0;
  top: 0;
  min-width: 100vw;
  min-height: 100vh;
  align-items:center;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}
/* My Modal */

/* Modal Content */
.my-modal-content {
  position:fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: interstate, sans-serif !important;
  background-color: #fefefe;
  margin-top: 80px;
  margin: auto;
  padding: 0px;
  border: 1px solid #888;
  border-radius: 10px;
}

.my-modal-body {
  padding: .25rem 1rem;
  min-height: 6rem;
  overflow: auto;
}

/* The Close Button */
.my-modal-close {
  /*position: absolute;
  top: -5px;
  right: 0px;*/
  color: #6d6c6c;
  font-size: 28px;
  font-weight: bold;
  line-height: 18px;
  margin-right: -10px;
}
.my-modal-header {
  padding: .25rem .75rem;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width:100%;
  color: #000;
  /*font-size: 1.25rem;
  font-weight: bold;
  margin-top: 1rem;*/
  border-top-right-radius:  10px;
  border-top-left-radius:  10px;
  background-color: #d3d3d3;
}

/* my modal footer */
.my-modal-footer{
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  width:100%;
  padding: .5rem .75rem;
  color: #000;
  font-size: 1rem;
  font-weight: bold;
  border-bottom-left-radius:10px ;
  border-bottom-right-radius:10px ;
  background-color: #e1dfdf;
  
}

.my-modal-title {
  position: relative;
  color: #000;
  font-size: 1.25rem;
  font-weight: bold;
  padding-left: .25rem;
  margin-top: .25rem;
}

.my-modal-close:hover,
.my-modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}



@media (min-width: 1024px) {
  .my-modal-content {
    width: 30%;
  }

  .my-modal-sm {
    width: 40%;
  }

  .my-modal-lg {
    width: 50%;
  }

  .my-modal-xlg {
    width: 70%;
  }
}

@media (min-width: 768px) {
  .my-modal-content {
    width: 40%;
  }

  .my-modal-sm {
    width: 50%;
  }

  .my-modal-lg {
    width: 65%;
  }

  .my-modal-xlg {
    width: 80%;
  }
}

@media (max-width: 782px) {
  .my-modal-content {
    width: 50%;
  }

  .my-modal-sm {
    width: 60%
  }

  .my-modal-lg {
    width: 80%
  }

  .my-modal-xlg {
    width: 90%
  }
}

/**
  end My-Modal
*/

/** 
  No bootstrap dropdown
*/

.nobs-dropdown {
  display: inline-block;
  position: relative;
  font-size: .9rem;
  line-height: 2.5rem;
  padding-left: 5px;
  padding-right: 5px;
}
.nobs-dropdown-content {
  display: none;
  position: absolute;
  width: 300px;
  overflow:visible;
  padding: 5px;
  box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.4);
  background-color: #FFFFFF;
  z-index:1099;
}

.nobs-dropdown-right{
  left:-250px;
}
.nobs-dropdown-label:after{
  content: '';
  border: 6px solid transparent;
  border-left: 6px solid black;
  margin-left: 8px;
  margin-bottom: -2px;
  display: inline-block;
  vertical-align: center;
}

.nobs-dropdown-label:hover:after{
 content: '';
 border: 6px solid transparent;
 border-top: 6px solid black;
 margin-left: 8px;
 margin-bottom: -3px;
 display: inline-block;
 vertical-align: center;
}
.nobs-dropdown:hover .nobs-dropdown-content {
  display: block;
}
.nobs-dropdown-content span {
  display: block;
  color: #000000;
  text-decoration: none;
}
.nobs-dropdown-content span:hover {
  color: #FFFFFF;
  background-color: #00A4BD;
}

/* for use with js hide , show , toggle js functions */
.toggle-content {
	display: none;
}

.toggle-content.is-visible {
	display: block;
}

tr.toggle-content.is-visible {
	display: table-row;
}