.modal {
  text-align: center;
}

.modal-backdrop {
   background-color: #000000;
}

.modal-backdrop.in {
    opacity: 0.8
}


@media screen and (min-width: 768px) { 
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

#restriction_modal .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

#restriction_modal .lock-img {
    display: flex;
    margin: 0 auto;
    width: 200px;
    margin-top: 10px;
    background-color: transparent;
}

#restriction_modal .lock-img img {
    width: 100%;
}

.restriction-modal-content {
    text-align: center;
    padding: 0 10px 10px;
}


.restriction-title {
    font-size: 28px;
    font-weight: 600;
    margin-top: 20px;
}

.restriction-desc {
    font-size: 18px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.restriction-button {
    margin-top: 20px;
}

.restriction-button button {

}

.restriction-button button {
    background-color: #249302;
    border: none;
    color: #ffffff;
    padding: 10px 20px;
    width: 150px;
    text-align: center;
    font-size: 16px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
}

.restriction-button button:hover {
    background-color: #1e6e06
}

/* The container */
.restriction-desc .custom-checkbox {
  display: block;
  position: relative;
  cursor: pointer;
  margin-bottom: 0;
  font-weight: normal;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.restriction-desc .custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.restriction-desc .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  border: 1px solid #249302;
}

.restriction-desc .custom-checkbox:hover input ~ .checkmark {
  background-color: #eeeeee;
}

.restriction-desc .custom-checkbox input:checked ~ .checkmark {
  background-color: #249302;
}

.restriction-desc .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.restriction-desc .custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.restriction-desc .custom-checkbox .checkmark:after {
  left: 8px;
   top: 3px;
  width: 7px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.restriction-desc .custom-checkbox .checkbox-label {
    margin-left: 40px
}

.restriction-desc .checkmark.check-error {
    border: 1px solid #ff0000;
}

.restriction-desc .check-required {
    text-align: left;
    margin-left: 40px;
    color: #ff0000;
    font-size: 90%;
    display: none;
}

.restriction-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.restriction-modal-close img {
    width: 20px;
}