@charset "UTF-8";

#modal-dialog .modal {
  display: none;
}

#modal-dialog  .modal:target {
  display: flex;
}

/* --- Required CSS (customizable) --- */

#modal-dialog .modal {
  text-align: left;
  /*backdrop-filter: blur(1px);*/
  z-index: 99999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

#modal-dialog .modal:target {
  justify-content: space-around;
  align-items: center;
}

#modal-dialog.alert .modal:target{
  align-items: flex-start;
}

.modal__overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  cursor: default;
}

.modal__content {
  width: 100%;
  position: relative;
  background-color: #f5f5f5;
  height: 100vh;
}

.alert .modal__content{
  max-width: 600px;
  height: auto;
  min-height: 200px;
  margin-top: 100px;
  margin-bottom: 30px;
  margin-left: 15px;
  margin-right: 15px;
}

.modal__header{
  width: 100%;
  padding: 0 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #2196F3;
  color: #fff;
}

.modal__header p{
  font-weight: bold;
}

.modal__close {
  font-size: 48px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

.modal__close:hover{
  color: #fff;
  opacity: 1.0;
  display: inline-block;
}

.modal__footer{
   position:fixed;
   bottom: 0;
   left: 0;
   right: 0;
   width:100%;
   padding:15px 30px;
   background-color: #9E9E9E;
}

.alert .modal__footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 15px 30px;
    background-color: transparent;
    text-align: center;
}

.alert .modal__footer .flex a{
  margin-left: 1em;
  margin-right: 0;
}

.modal__footer .flex{
  display: flex;
  width: 100%;
  justify-content: center;
}

.modal__footer .flex .btn{
  margin-right: 1em;
}

.category-group{
  display: block;
  width: 100%;
  padding:15px;
}


.alert-group{
  display: block;
  width: 100%;
  padding:20px;
  padding-bottom: 60px;
  font-size: 14px;
}
.alert-group p{
  margin-bottom: 1em;
}

.category-group:after{
  content: '';
  display: block;
  clear: both;
  visibility: none;
  height:0;
}

.category-group .label-box{
  float: left;
  display: block;
  width: 50%;
  padding: 0.3em;
}

.category-group .label-box .inner{
  padding: 0;
  border: 1px solid #ccc;
}

.category-group .label-box .inner label{
  width: 100%;
  display: block;
  padding: 15px;
  position: relative;
  padding-left: 2em;
}



.category-group .label-box .inner input[type="checkbox"]{
  margin-left: 32px;
  display: none;
}

.category-group .label-box .inner input[type="checkbox"]:checked + label{
  background-color: #e6e3e3;
}


.category-group .label-box .inner input[type="checkbox"] + label:before {
    content: ' ';
    display: inline-block;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    height: 14px;
    left: 5px;
    margin-top: -10px;
    top: 50%;
    width: 14px;
    position:absolute;
}

.category-group .label-box .inner input[type="checkbox"]:checked + label:after {
    content: ' ';
    display: inline-block;
    border-color: #2196F3;
    border-style: solid;
    border-width: 0 0 3px 3px;
    height: 8px;
    left: 5px;
    margin-top: -10px;
    top: 50%;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 13px;
    position:absolute;
}


@media screen and(min-width: 750px){

  #modal-dialog .modal{
    padding: 2rem;
  }


  .modal__content{
      padding: 1rem;
  }
  .category-group .label-box .inner label span{
    font-size:14px;
  }


}


@media screen and(max-width: 749px){

  #modal-dialog .modal{
    padding: 0;
  }

  .modal__content{
      padding: 0;
  }
  .category-group .label-box .inner label span{
    font-size:12px;
  }


}




