/* Add custom CSS to load on the frontend of the site */


/*------------------------------------------*\
  Cookie Banner Styles - Responsive
\*------------------------------------------*/

.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  padding: 1.25em;
  font-family: inherit;
  font-size: 14px;
  line-height: 18px;
  color: var(--banner-forecolor); 
  background: var(--banner-backcolor); 
  box-sizing: border-box;
  width: 100%;
  z-index: 9999;
  visibility: hidden;
}

.cookie-banner-container {
  margin: 0 auto;
  max-width: 1120px;
  display: -webkit-flex;
  display:-ms-flexbox;
  display:flex;
  flex-direction: column;
  justify-content: center;
}

.cookie-title {
  font-weight: bold;
  font-family: inherit;
  color: var(--banner-forecolor);
}

.cookie-text {
  font-family: inherit;
  color: var(--banner-forecolor);
}

.cookie-text a {
  text-decoration: underline;
  color: var(--banner-forecolor);
  font-size: inherit;
}

.cookie-text a:hover {
  opacity: .85;
}

.cookie-actions {
  padding-top: .25em;
  text-align: right;
}

.cookie-actions .btn-cookie {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  line-height: 25px;
  text-align: center;
  color: var(--banner-backcolor);
  text-decoration: none;
  background: var(--banner-forecolor); 
  border: none;
  cursor: pointer;
  width: 70px;
  height: 25px;
}

@media screen and (min-width: 685px) {
  
  .cookie-banner-container {
    flex-direction: row;
  }  

}

@media screen and (min-width: 768px) {
  .cookie-banner {
    padding-left: 2em;
    padding-right: 2em;
  }
  
  .cookie-actions .btn-cookie {
    line-height: 32px;
    width: 100px;
    height: 32px;
  }
  
  .cookie-actions .btn-cookie:hover {
    opacity: .80;
  }
}



/*------------------------------------------*\
  Cookie Settings Page Styles - Responsive
\*------------------------------------------*/


.cs-page-container {
  margin: 0 auto;
  padding: 1em .5em;
  max-width: 900px;
}

.cs-disclaimer {
  margin: 0 0 2em 0;
  font-size: inherit;
  font-family: inherit;
}


.cs-table {
  margin: 2em 0;
  border-top: 1px solid #ddd;
  border-collapse: collapse;
  width: 100%;
}

.cs-table td {
  padding: 1em .5em;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.cs-type {
  display: block;
  font-weight: bold;
}

.cs-desc {
  display: block;
  font-size: 14px;
}

.cs-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}

.cs-switch input {
  display: none;
}

.cs-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--option-disabled-color);  
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.cs-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cs-slider {
  background-color: var(--option-enabled-color); 
}

input:focus + .cs-slider {
  box-shadow: 0 0 1px #000;
}

input:checked + .cs-slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

.cs-option-hidden {
  border: 0;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.cs-actions {
  margin: 0 0 2em 0;
}

.btn-cs-submit {
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  line-height: 40px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  background: #000; 
  border: none;
  cursor: pointer;
  width: 150px;
  height: 40px;
}

.btn-cs-submit:hover {
  opacity: .80;
}


/* dim required necessary cookies row */
.cookie-necessary .cs-type,
.cookie-necessary .cs-desc,
.cookie-necessary .cs-slider {
  opacity: .60;
}



@media screen and (min-width: 685px) {
  .cs-table {
    width: 90%;
  }
}