#rg-iif-div {
  top: 50%;
  position: fixed;
  left: 10px;
  right: 10px;
}

#rg-iif-div-1 {
  background: white;
  background: repeating-linear-gradient(to bottom,rgb(255, 255, 255), rgb(255, 255, 255) 70% ,rgb(252, 252, 252) 100%);
  border-radius: 8px;
  box-shadow: 0px 0px 30px 5px rgba(0,0,0,0.3);
  position: relative;
  max-width: 750px;  
  padding: 10px;
  transform: translateY(-50%);
  margin: 0 auto;
}

#rg-iif-div-2 {
  overflow:auto;
  scrollbar-width: thin;
  scrollbar-color: #747474 #ededed;
}

#rg-iif-body {
  background: rgba(255,255,255,0.8);
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: black;
  user-select: none; 
}

#rg-iif-body hr {
  border: 1px solid #ddd; 
}

#rg-iif-body strong {
  font-weight: 600;
}

#rg-iif-body h1,
#rg-iif-body h2,
#rg-iif-body h3,
#rg-iif-body p,
#rg-iif-body ul,
#rg-iif-body li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

#rg-iif-body h1,
#rg-iif-body h2,
#rg-iif-body h3 {
  font-weight: 600;
  font-size: 1.7em;
  text-align: left;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  color: #333;
}

#rg-iif-body ul,
#rg-iif-body p {
  margin: 20px 0;
  color: #333;
}

#rg-iif-body ul {
  color: #777;
}

#rg-iif-body ul li:hover {
  color: black;
}

#rg-iif-body ul {text-align: center;}
#rg-iif-body li {
  display: inline-block;
  margin: 0 5px;
  padding: 0 5px;
}

#rg-iif-body .rg-iif-bf {
  overflow: hidden;
  padding-top: 10px;
  padding-bottom: 10px;
}

#rg-iif-body .rg-iif-bf-1 {
  text-align: center;
  margin: 0 -5px;
}

#rg-iif-body button {
  border: 2px solid black;
  background: white;
  border-radius: 0;
  line-height: 1.5;
  font-size: 1.0em;
  font-weight: 300;
  padding: 5px 10px;
  margin: 10px 5px;
  transition: all .2s ease-in-out;
}

#rg-iif-body button:hover {
  background: black;
  color: white;
}

#rg-iif-body .cap1,
#rg-iif-body .cap2,
#rg-iif-body .cap3,
#rg-iif-body .cap4 {
  padding: 20px;
  display: none;
}

#rg-iif-body.sec1 .cap1 {display: block;}
#rg-iif-body.sec2 .cap2 {display: block;}
#rg-iif-body.sec3 .cap3 {display: block;}
#rg-iif-body.sec4 .cap4 {display: block;}

#rg-iif-body .menu1:after,
#rg-iif-body .menu2:after,
#rg-iif-body .menu3:after {
  content: '';
  display: block;
  bottom: -2px;
  height: 1px;
  background: black;
  width: 0%;
  margin: 0 auto;
  transition: all .2s ease-in-out;
  position: relative;
}

#rg-iif-body.sec1 .menu1:after,
#rg-iif-body.sec2 .menu2:after,
#rg-iif-body.sec3 .menu3:after {
  width: 80%;
}

#rg-iif-body .rg-iif-bf-1 button {
  display: block;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
  
@media only screen and (min-width: 550px) {
  #rg-iif-body .rg-iif-bf-1 button {
    display: inline-block;
    width: auto;
    margin-left: 5px;
    margin-right: 5px;
  }
}

#rg-iif-body .rg-iif-bf-1 button,
#rg-iif-body .menu1,
#rg-iif-body .menu2,
#rg-iif-body .menu3 {
  cursor: pointer;
}

#rg-iif-body .input-ch-div {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 30px;
}

#rg-iif-body .input-ch-div:after {
  content: ' ';
  display: block;
  clear: both;
}

#rg-iif-body .input-ch-div input {display:none;}

#rg-iif-body .input-ch-div .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e29c9c;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 20px;
  box-shadow: inset 1px 1px 8px rgba(0,0,0,0.5);
}

#rg-iif-body .input-ch-div .switch-disabled .slider {
  background-color: #eeeeee;
}

#rg-iif-body .input-ch-div .slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 20px;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

#rg-iif-body .input-ch-div input:checked + .slider {
  background-color: #43e59f;
}

#rg-iif-body .input-ch-div input:checked + .slider:before {
  -webkit-transform: translateX(22px);
  -ms-transform: translateX(22px);
  transform: translateX(22px);
}

#rg-iif-body .checkbox {
  text-align: right;
}

#rg-iif-body .checkbox.disabled {
  opacity: 0.5;
}

#rg-iif-body .checkbox a {
  font-size: 0.8em;
  margin: 0 10px;
  line-height: 30px;
  top: -10px;
  display: inline-block;
  position: relative;
  color: #555;
  text-decoration: none;
}

#rg-iif-body .checkbox a:hover {
  color: black;
}

#rg-iif-body .checkbox.disabled a:hover {
  color: #555;
}

#rg-cookies-iframe {transition: all .4s ease-in-out;}
#rg-cookies-iframe.rg-cookies-ifr-hide {opacity: 0;}


#rg-iif-body .clear {
  clear: both;
}

#rg-cookies-iframe {
  width: 100%!important;
  transition: opacity 0.3s!important;
}

/*INLINE SEC1 FORMAT*/
/* 
#rg-cookies-iframe.sec4 {
  top: auto!important;
  height: 50%!important;
  max-height: 500px!important;
}

#rg-iif-body.sec4 {
  background: none;
}
*/
#rg-iif-body.sec4 #rg-iif-div-1 {
  max-width: 1500px;
  transform: translateY(0);
}

#rg-iif-body.sec4 #rg-iif-div {
  left: 10px;
  right: 10px;
  top: auto;
  bottom: 10px;
}

#rg-iif-body.sec4 .header{
  display: none;
}

#rg-iif-body .left-block {
  margin: 0 0 40px;
}

#rg-iif-body.sec4 #rg-iif-div button {width: 80%;max-width: 400px;margin-left: auto;margin-right: auto;display: block;}

@media only screen and (min-width: 700px) {
  #rg-iif-body .left-block {
    width: 70%;
    float: left;  
    margin: 10px 0 0;
  }

  #rg-iif-body .rg-iig-bf-inline {
    float: left;
    width: 30%;
    margin: 0;
  }
  
  #rg-iif-body .rg-iig-bf-inline-1 {
    padding-left: 30px;
  }
  
  #rg-iif-body.sec4 #rg-iif-div button {
    width: 100%;
  }
  
}