/* CSS STYLES FOR GDPR COOKIE MANAGER */

/* BUTTONS */
.btn-widget-gcm-allow-all {
  background-color: #0010E4;
  color: #fff;
}

#btn-widget-gcm-options, #btn-widget-gcm-dismiss-all {
  background-color: #EAEFF2;
  color: #000;
}

#btn-widget-gcm-save {
  background-color: #EAEFF2;
  color: #0010E4;
}

#btn-widget-gcm-save {
  float: right;
  margin-right: 0 !important;
}

.btn-widget-gcm-dark:hover {
  background: #1221F7;
}

.btn-widget-gcm-light:hover {
  background: #ddd !important;
}

#btn-widget-gcm-save:hover {
  background: #1221F7;
  color: #fff;
}

/* WIDGET */

#widget-gcm-mini {
	bottom: 20px;
  cursor: pointer;
	left: 20px;
  position: fixed;
}

#widget-gcm-mini img {
  transition: width 1s, height 1s, transform 1s;
  width: 32px;
}

#widget-gcm-mini img:hover {
  transform: rotate(25deg);
}

#widget-gcm {
	background-color: #fff;
  box-shadow: 0 .625em 1.875em rgba(2,2,3,.28);
  bottom: 20px;
  border-radius: 4px;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  left: 20px;
  opacity: 1;
  padding: 20px 20px;
	position: fixed;
  transform: scale(1);
  transition: visibility .25s linear,opacity .25s ease,transform .25s ease !important;
  visibility: visible !important;
  width: 400px;
  z-index: 100000;
}	

#widget-gcm button, #widget-gcm-modal button {
	border-style: none;
	padding: 1em 1.5em;
	cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  margin-right: 10px;  
  text-align: center;
  text-transform: uppercase;
}

#widget-gcm a {
	color: #0010E4;
  text-decoration: underline;
}

#widget-gcm-modal {
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
  border-radius: 4px;  
  display: none;
  height: 100%;
  left: 0;
  overflow: auto;
  position: fixed;
  top: 0;  
  z-index: 1000001;
  width: 100%;
}

#widget-gcm-modal-wrapper {
  background-color: #fefefe;
  border: 1px solid #888;
  color: #000;
  font-size: 14px;
  margin: 15% auto;
  max-width: 800px;
  padding: 20px;
  width: 80%;
}

#widget-gcm-modal-header {
	border-bottom: 1px solid #F0F4F7;
	padding-bottom: 18px;
}

#widget-gcm-modal-content {
	padding-top: 15px;
}

#widget-gcm-modal-footer {
	border-top: 1px solid #F0F4F7;
  overflow: hidden;
	padding-top: 15px;
}

#widget-gcm-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
}

#widget-gcm-modal-close:hover,
#widget-gcm-modal-close:focus {
  color: black;
  cursor: pointer;
  text-decoration: none;
}

#widget-gcm-modal-header h3 {
	color: #000;
	display: inline-block;
  font-size: 17px;
	margin-bottom: 0;
	padding-top: 8px;
}

.widget-gcm-modal-panel {
	background-color: #F0F4F7;
  border-radius: 4px;
	display: block;
	margin-bottom: 15px;
	padding: 15px 15px;
}

.widget-gcm-modal-panel-title {
	cursor: pointer;
	display: block;
	height: 25px;
  width: 100%;
}

.widget-gcm-modal-panel h4 {
	color: #000;
	display: inline-block;
	float: left;
  font-size: 1rem;
	margin-bottom: 0;
  margin-top: 3px;
}

.widget-gcm-modal-panel label {
	display: inline-block;
  float: right;
	text-align: right;
}

.widget-gcm-modal-panel-content {
	display: none;
	padding-top: 15px;
	width: 100%;
}

.widget-gcm-modal-panel-content p {
	margin-bottom: 0;
}

.widget-gcm-label-slider {
  display: inline-block;
  height: 25px;
  position: relative;
  width: 50px;
}

.widget-gcm-label-slider input { 
  height: 0;
  opacity: 0;
  width: 0;
}

.widget-gcm-slider {
  background-color: #ccc;
  border-radius: 19px;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
  -webkit-transition: .4s;
}

.widget-gcm-slider:before {
  bottom: 3px;
  background-color: white;  
  content: "";
  height: 19px;
  left: 3px;
  position: absolute;
  transition: .4s;
  -webkit-transition: .4s;
  width: 19px;
}

.widget-gcm-label-slider input:checked + .widget-gcm-slider {
  background-color: #34A753;
}

.widget-gcm-label-slider input:focus + .widget-gcm-slider {
  box-shadow: 0 0 1px #34A753;
}

.widget-gcm-label-slider input:checked + .widget-gcm-slider:before {
  -ms-transform: translateX(25px);
  transform: translateX(25px);
  -webkit-transform: translateX(25px);
}

.widget-gcm-slider:before {
  border-radius: 50%;
}

/* OTHERS */

.arrow {
  border: solid #000;
  border-width: 0 2px 2px 0;
  display: inline-block;
  margin-right: 7px;
  padding-bottom: 3px;
  padding-left: 3px;
  padding-right: 3px;
  padding-top: 4px;
}

.arrow.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.arrow.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

#dismiss-text {
  font-size: 13px;
  margin-bottom: 0;
  margin-top: 10px;
}

/* RESPONSIVE */

@media (max-width: 767px) {
  #widget-gcm-modal-footer button {
    display: block;
    margin-bottom: 10px;
    width: 100%;
  }
}

@media (max-width: 480px) {

  #widget-gcm {
    width: 320px;
  }

  #widget-gcm button, #widget-gcm-modal button {
    font-size: 0.8rem;
    padding: 1rem 1.5rem;
  }

  .widget-gcm-modal-panel h4 {
    font-size: 0.75rem;
  }
}