body.show_popup {
  overflow: hidden;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-footer {
  display: flex;
  justify-content: space-between !important;
  padding: 10px;
  background-color: rgba(255, 255, 255, 1);
  border-top: 1px solid #ddd !important;
  padding: 15px 30px 0 30px !important;
  margin: 5px -30px 0 -30px;
}

.modal-footer button {
  padding: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  background-color: #48a548;
  color: #fff;
  border: 1px solid #48a548;
}

.modal-footer button:hover {
  background-color: #fff;
  color: #48a548;
  border: 1px solid #48a548;
}

.modal-footer .accept-btn {
  background-color: #72a646;
  color: #fff;
}

.modal-footer .reject-btn {
  background-color: #d9534f;
  color: #fff;
}
.cookiePolicy {
  padding: 20px;
  border-radius: 5px;
  bottom: 0;
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.39);
  background-color: rgba(255, 255, 255, 1);
  margin: 1rem;
  display: inline-block;
}
.cookiePolicy button {
  padding: 6px 12px;
}

.cookiePolicy p {
  font-size: 14px;
  margin: 0;
  padding-bottom: 10px;
}

.cookiePolicy button {
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid #72a646;
  background-color: #fff;
  color: #72a646;
  cursor: pointer;
  float: left;
}

.cookiePolicy button:hover {
  background-color: #72a646;
  color: white;
}

/* Buttons in Modal */
.arrow-toggle {
  background-color: #fff;
  color: #72a646;
  border: none;
  cursor: pointer;
  padding: 10px 0;
  font-size: 16px;
  position: relative;
  line-height: 1;
  transition: all 200ms ease-in-out 0s;
}
.arrow-toggle:hover {
  background-color: #fff;
}
/* .arrow-toggle:before {
  content: '';
  left: 0;
  top: 13px;
  position: absolute;
  border: solid #48a648;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}
.arrow-toggle:hover:before {
  border: solid #404040;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
} */

input[type="checkbox"]:checked + label .onoffswitch-inner {
  transform: translateX(-50%);
}

input[type="checkbox"]:checked + label .onoffswitch-switch {
  transform: translateX(26px);
}

/* Table styles */
.table {
  width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 8px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #ddd;
  line-height: 25px;
}
.table thead tr th {
  font-weight: 400;
}
.table th {
  background-color: #f8f9fa;
}

/* Add fade-in and fade-out transitions */
.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);

  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border: 1px solid #888;
  overflow: scroll;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 1198px !important;
  width: 100%;
  height: 462px !important;
}
.cookiemanager .modal-header {
  padding: 10px 15px;
}
.modal-header {
  display: block !important;
  border-bottom: 1px solid #e5e5e5;
  padding: 0 30px 15px 30px;
  margin: 0 -30px;
}
.body,
body .skipLink:focus span,
.outershell div.styled .close,
.body .outershell .cookiePolicy,
.body .outershell #cookieManagerModal h2,
.body .outershell #cookieManagerModal h3 {
  color: rgb(0, 0, 0) !important;
}
#cookieManagerModal .close:focus,
#cookieManagerModal .close:hover,
#cookieManagerModal .close {
  opacity: 1;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  background-color: #fff;
  padding: 1px !important;
  float: right;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: rgb(0, 0, 0) !important;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity = 20);
  border: none;
  margin: 0 !important;
}
.close:hover {
  background-color: #fff;
}
.text-center {
  text-align: center;
}
.main_content {
  padding-top: 15px !important;
}

#cookiemanageracceptselected {
  border-width: 1px;
  padding: 6px 12px;
  outline: 0;
  border-radius: 100px;
  border: 1px solid #48a648;
  color: #48a648 !important;
  background-color: #fff !important;
}
#cookiemanageracceptselected:hover {
  background-color: #48a648 !important;
  color: #fff !important;
}
.cookiemanageracceptall{
    margin-top:10px;
}
.cookiemanagerrejectall{
    margin-top:10px;
    margin-right: 10px;
}
.cookieManagerModal{
    margin-top: 10px;
}
.youtube_video, .vimeo_video{
  display: none !important;
}
.youtube_video.show, .vimeo_video.show {
  display: block !important;
}
/********/

.toggle-group {
  position: relative;
  float: right;
  height: 27px;
}

.toggle-group.cookietoggle input[type=checkbox] {
  position: absolute;
  left: 10px;
  height: 0;
  border-color: transparent;
}
.toggle-group label {
  position: absolute;
  cursor: pointer;
  padding-left: 48px;
  display: inline-block;
  text-align: left;
  line-height: 24px;
  z-index: 1;
  height: 24px;
  font-weight: 200;
}
.onoffswitch {
  position: relative;
  width: 55px;
  display: inline-block;
  font-size: 80%;
  border-radius: 20px;
}
.onoffswitch .onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  margin: 0;
}
.toggle-group.cookietoggle input[type=checkbox]:checked~.onoffswitch .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}
.onoffswitch .onoffswitch-inner {
  width: 200%;
  transition: margin .15s ease-in-out;;
  margin-left: -100%;
}
.onoffswitch .onoffswitch-inner:before, 
.onoffswitch .onoffswitch-inner:after {
  float: left;
  width: 50%;
  height: 24px;
  padding: 0;
  line-height: 24px;
  font-size: 80%;
  font-weight: normal;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.onoffswitch .onoffswitch-inner:before {
  content: "Yes";
  padding-left: 10px;
  background-color: #707070;
  color: white;
}
.onoffswitch .onoffswitch-inner:after {
  content: "No";
  padding-right: 10px;
  text-align: right;
  background-color: #ddd;
  color: hsl(0, 0%, 24%);
}
.toggle-group input[type=checkbox]:checked~.onoffswitch .onoffswitch-label .onoffswitch-switch {
  right: 3px;
}
.onoffswitch .onoffswitch-switch {
  position: absolute;
  top: 3px;
  right: 33px;
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 50%;
  transition: right .15s ease-in-out;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
.outershell .cookiemanageracceptall, 
.outershell .cookiemanagerrejectall, 
body .onoffswitch .onoffswitch-inner:before {
  background: #48a648;
}
.onoffswitch, .cookiemanageracceptall, .cookiemanagerrejectall {
  border-color: transparent;
  border-style: dashed;
}

/* Media Queries for responsiveness */
@media (max-width: 767px) {
  .modal-content {
    width: 90%;
  }

  .cookiePolicy {
    padding: 15px;
  }

  .modal-footer {
    flex-direction: column;
    text-align: center;
  }

  .modal-footer button {
    margin-top: 10px;
  }
}