// out: wizard.css, sourcemap: false, compress: false
@brand-primary: #29b6f6;
@brand-secondary: #61ce70;
@brand-tertiary: #61ce70;
@border-radius: 25px;
@input-background-color: #F1F1F1;
@input-border-color: #dadada;
@gray-light: #dadada;
@gray: #c6c6c6;
@gray-dark: #888;
@red-gap: 15px;
@green-gap: 20px;

/**
* class to add a triangle pointer to each div
*/
.cmplz-pointer {
  position:relative;
  &:after {
	content: " ";
	position: absolute;
	left: -15px;
	top: calc( 50% - 15px );
	border-top: 15px solid transparent;
	border-right: 15px solid black;
	border-left: none;
	border-bottom: 15px solid transparent;
  }
}

#cmplz-content-area {
  display: grid;
  grid-template-columns: 20% auto;

  h1 {
    padding: 0;
  }

  .cmplz-wizard-title {
    padding: @green-gap;
    border-bottom: 1px solid #eeeeee;
    display: flex;
	h1 {
	  font-size:18px;
	  font-weight:bold;
	}
    justify-content: space-between;
    align-content: center;
	&.cmplz-section-content-notifications-header {
	  border-bottom: 1px solid #e6e6e6;
	  h1{
		font-weight:normal;
	  }
	}
  }

  .cmplz-wizard-subtitle h2 {
    margin: @green-gap @green-gap 0 @green-gap;
    font-size: 14px;
  }

  .cmplz-wizard-menu {
    background-color: white;
	  margin: 0.5 * @green-gap;
	  margin-bottom:0;
    padding-bottom: @green-gap;
    box-shadow: 0 0 5px 5px rgba(222, 222, 222, 0.2);

    .cmplz-wizard-progress-bar {
      background: #eeeeee;
      height: 15px;
      margin: @green-gap @green-gap 0 @green-gap;
      .cmplz-wizard-progress-bar-value {
        height: 100%;
        background: @brand-tertiary;
		border-radius: 4px;
      }
    }

    .cmplz-step {
      .cmplz-step-header {
		&.incomplete a h2 {
		  color:@gray;
		}
        text-decoration: none;
        a {
          display: inline-block;
          padding: 5px @green-gap;
          text-decoration: none;
          width: calc(100% - (@green-gap + @green-gap));
          h2 {
            font-size: 14px;
            margin: 0;
          }
        }
        &.active a h2 {
          //color: @brand-primary !important;
        }
        &:hover a {
          h2 {
			text-decoration:underline;
          }
        }
        &.active:hover a {
          background: white;
          pointer-events: none;
        }
      }

      .cmplz-section {
        display: grid;
        grid-template-columns: @green-gap 1fr;

        span {
          align-self: center;
          justify-self: center;
        }

        margin: 0 @green-gap;
        a {
		  h3{
			color:@gray ;
		  }
		  &:visited h3{
			color:initial ;
		  }
          display: inline-block;
          text-decoration: none;
          padding: 3px 5px;
          h3 {
            font-size: 12px;
            font-weight: normal;
            margin: 0;
          }
        }
        &.active a h3 {
          color: @brand-primary !important;
        }
        &:hover a {
          h3 {
			text-decoration:underline;
          }
        }
        &.active:hover a {
          background: white;
          pointer-events: none;
        }
      }
    }

  }

  .cmplz-section-content {
	margin: 0.5 * @green-gap;
	p {
	  margin: 0;
	}
	p:not(:first-child) {
	  margin-top: 1em;
	}
    form {
      display: grid;
      grid-template-columns: auto 325px;
      grid-column-gap: @red-gap;

      .cmplz-section-content-title-header {
        background-color: white;
      }

      .cmplz-wizard-intro,
      .cmplz-master-label {
        grid-column-start: 1;
        background-color: white;
		padding:@green-gap @green-gap 0 @green-gap;
      }
		//if an intro is nested in a field, we don't need the padding, as the field already has padding
	  .cmplz-field .cmplz-wizard-intro {
		padding:0 0 @green-gap 0;
	  }

      .cmplz-button {
        background-color: white;
        grid-column-start: 1;
        padding: @green-gap @green-gap 0 @green-gap;
      }

      .field-group {
        grid-column: span 2;
        display: grid;
        grid-template-columns: auto 325px;
        grid-column-gap: @red-gap;

        .cmplz-field {
          grid-column-start: 1;
        }

        //.cmplz-help-warning-wrap {
        //  grid-column-start: 2;
        //}
      }

      .cmplz-section-footer {
        grid-column-start: 1;
        background-color: white;
        padding: @green-gap;
        display: grid;
        align-items: center;
        grid-template-columns: 1fr auto;

        .cmplz-buttons-container {
          grid-column-start: 2;
          input {
            margin-right: @green-gap;
          }
        }

      }
    }
  }

  .cmplz-add-pages-table {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 5px;
    align-items: center;
    margin-bottom: @green-gap;

    span {
      text-align: justify;
    }
  }

  .cmplz-link-to-menu-table {
    display: grid;
    grid-template-columns: 30% 30%;
    grid-gap: 5px;
    align-items: center;
    h3 {
      grid-column: span 2;
      margin-top: @green-gap;
      margin-bottom: 5px;
      &:first-child {
        margin-top: 0;
      }
    }
    select {
      grid-column-start: 2;
    }
  }

  .cmplz-cookies-table {
    h2 {
      font-weight: normal;
      font-size: 15px;
    }
    .cmplz-cookies-table-body {
      border-radius: 5px;
      display: grid;
      grid-template-columns: 1fr;
      padding: 10px;
      background-color: #f0f2f8;
    }
  }


}

#cmplz-terms-conditions {

  /* ----------- Icons ----------- */

  .cmplz-icon {
	border-radius: 50%;
	&.cmplz-empty {
	  visibility:hidden;
	}
    &.cmplz-success {
      color: @brand-primary;
      svg {
        fill: @brand-primary;
        stroke: @brand-primary;
      }
    }

    &.cmplz-green {
      color: #61ce70;
      svg {
        fill: #61ce70;
        stroke: #61ce70;
      }
    }

    &.cmplz-disabled {
      color: #ababab;
      svg {
        fill: #ababab;
        stroke: #ababab;
      }
    }

    &.cmplz-error {
      color: #d7263d;
      svg {
        fill: #d7263d;
        stroke: #d7263d;
      }
    }

    &.arrow-right-alt2::before {
      font-size: 17px;
    }
  }

  .cmplz-circle-green {
    height: 12px;
    width: 12px;
    border-radius: 12px;
    background-color: #61ce70;
  }
  .cmplz-circle-red {
    height: 12px;
    width: 12px;
    border-radius: 12px;
    background-color: #d7263d;
  }

  /* ----------- Fields ----------- */

  /* Checkbox */

  /* Disabled option */
  .cmplz-not-allowed {
    cursor: not-allowed;
  }

  /* Customize the label (the container) */
  .cmplz-checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;

    /* Hide the browser's default checkbox */
    input {
      position: absolute;
      opacity: 0;
      cursor: pointer;
      height: 0;
      width: 0;
    }

    /* Create a custom checkbox */
    .checkmark {
      position: absolute;
      top: -2px;
      left: 0;
      height: 20px;
      width: 20px;
      border-radius: 5px;
      border: 1px solid @gray-light;
    }

    /* Checkmark (hidden when not checked) */
    .checkmark svg {
      content: "";
      position: absolute;
      display: none;
    }

    /* Show the checkmark when checked */
    input:checked ~ .checkmark svg {
      display: block;
      fill: @brand-primary;
      stroke: @brand-primary;
    }

    /* Style the checkmark/indicator */
    .checkmark svg {
      left: 2.5px;
      top: 2px;
      width: 15px;
      height: 15px;
    }

    /* Show the default checkmark when default */
    .checkmark.cmplz-default svg {
      display: block;
      fill: #eee;
      stroke: #eee;
    }

    /* Disabled option */
    &.cmplz-disabled {
      pointer-events: none;
      .checkmark {
        background-color: #eee;
        svg {
          stroke: #eee !important;
          fill: #eee !important;
        }
      }
    }
  }


  /* Radio */

  /* Customize the label (the container) */
  .cmplz-radio-container {
    display: block;
    position: relative;
    padding-left: 35px;

    /* Hide the browser's default checkbox */
    input {
      position: absolute;
      opacity: 0;
      cursor: pointer;
      height: 0;
      width: 0;
    }

    /* Create a custom radio */
    .radiobtn {
      position: absolute;
      top: -2px;
      left: 0;
      height: 20px;
      width: 20px;
      border-radius: 20px;
      border: 1px solid @input-border-color;
    }

    /* Check icon (hidden when not checked) */
    .radiobtn div {
      content: "";
      position: absolute;
      display: none;
    }

    /* Show check icon when checked */
    input:checked ~ .radiobtn .cmplz-icon {
      display: block;
      background-color: @brand-primary;
    }

    /* Style the check icon */
    .radiobtn .cmplz-icon {
      left: 5px;
      top: 3px;
      width: 10px;
      height: 10px;
    }

    /* Show the default checkmark when default */
    .radiobtn.cmplz-default .cmplz-icon {
      display: block;
      background-color: #eee;
    }

    /* Disabled option */
    &.cmplz-disabled {
      pointer-events: none;
      .radiobtn {
        background-color: #eee;
        .cmplz-icon {
          background-color: #eee !important;
        }
      }
    }
  }

  /* Text & Email Validation */
  textarea.validation,
  input[type="text"].validation,
  input[type="email"].validation,
  input[type="text"].cmplz-valid-page,
  input[type="text"].cmplz-deleted-page {
    position: relative;
    padding-left: 25px;
    ~ span .cmplz-icon {
      display: block;
      position: absolute;
      padding-left: 7px;
      margin-top: -25px;
      z-index: 1;
      svg {
        width: 15px;
        height: 15px;
      }
    }
  }

  textarea.validation {
	&:invalid ~ span .cmplz-icon,
	&:valid ~ span .cmplz-icon {
	  margin-top:-143px;
	}
  }

  textarea.validation,
  input[type="text"].validation,
  input[type="email"].validation {
    &:valid ~ span .cmplz-failed {
      display: none;
    }
    &:invalid ~ span .cmplz-success {
      display: none;
    }
  }

  /* Text, Email, Select(2), Textarea Style */

  input[type="text"], input[type="email"], select, .select2, textarea, input[type="number"] {
    // box-shadow:
    //   0 1px 1px rgba(0,0,0,0.06),
    //   0 2px 2px rgba(0,0,0,0.06);
    margin-bottom: 2px;
  }
  textarea {
	padding:10px;
  }

  /* Placeholders */

  ::placeholder {
	color: @gray-light;
  }
  ::placeholder/* Chrome/Opera/Safari */ {
	color: @gray-light;
  }

  ::-moz-placeholder /* Firefox 19+ */ {
	color: @gray-light;
  }

  :-ms-input-placeholder  /* IE 10+ */ {
	color: @gray-light;
  }
  :-moz-placeholder /* Firefox 18- */ {
	color: @gray-light;
  }

}

.cmplz-multiple-field-button-footer {
  display: flex;
  align-items: center;
  .cmplz-edit-item {
    margin-right: 5px;
  }
}

.cmplz-hidden {
  display: none !important;
}

/* START TOOLTIP STYLES */
[cmplz-tooltip] {
  position: relative; /* opinion 1 */
}

/* Applies to all tooltips */
[cmplz-tooltip]::before,
[cmplz-tooltip]::after {
  text-transform: none; /* opinion 2 */
  font-size: 1em; /* opinion 3 */
  line-height: 1;
  user-select: none;
  pointer-events: none;
  position: absolute;
  display: none;
  opacity: 0;
}

[cmplz-tooltip]::before {
  content: '';
  border: 5px solid transparent; /* opinion 4 */
  z-index: 1001; /* absurdity 1 */
}

[cmplz-tooltip]::after {
  content: attr(cmplz-tooltip); /* magic! */
  min-width: 3em;
  font-weight:normal;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1ch 1.5ch;
  border-radius: .3ch;
  box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
  background: #333;
  color: #fff;
  z-index: 1000; /* absurdity 2 */
}

/* Make the tooltips respond to hover */
[cmplz-tooltip]:hover::before,
[cmplz-tooltip]:hover::after {
  display: block;
}

/* don't show empty tooltips */
[cmplz-tooltip='']::before,
[cmplz-tooltip='']::after {
  display: none !important;
}

/* FLOW: UP */
[cmplz-tooltip]:not([flow])::before,
[cmplz-tooltip][flow^="up"]::before {
  bottom: 100%;
  border-bottom-width: 0;
  border-top-color: #333;
}

[cmplz-tooltip]:not([flow])::after,
[cmplz-tooltip][flow^="up"]::after {
  bottom: calc(100% + 5px);
}

[cmplz-tooltip]:not([flow])::before,
[cmplz-tooltip]:not([flow])::after,
[cmplz-tooltip][flow^="up"]::before,
[cmplz-tooltip][flow^="up"]::after {
  left: 50%;
  transform: translate(-50%, -.5em);
}

/* FLOW: DOWN */
[cmplz-tooltip][flow^="down"]::before {
  top: 100%;
  border-top-width: 0;
  border-bottom-color: #333;
}

[cmplz-tooltip][flow^="down"]::after {
  top: calc(100% + 5px);
}

[cmplz-tooltip][flow^="down"]::before,
[cmplz-tooltip][flow^="down"]::after {
  left: 50%;
  transform: translate(-50%, .5em);
}

/* FLOW: LEFT */
[cmplz-tooltip][flow^="left"]::before {
  top: 50%;
  border-right-width: 0;
  border-left-color: #333;
  left: calc(0em - 5px);
  transform: translate(-.5em, -50%);
}

[cmplz-tooltip][flow^="left"]::after {
  top: 50%;
  right: calc(100% + 5px);
  transform: translate(-.5em, -50%);
}

/* FLOW: RIGHT */
[cmplz-tooltip][flow^="right"]::before {
  top: 50%;
  border-left-width: 0;
  border-right-color: #333;
  right: calc(0em - 19px);
  transform: translate(.5em, -50%);
}

[cmplz-tooltip][flow^="right"]::after {
  top: 50%;
  left: calc(100% + 19px);
  transform: translate(.5em, -50%);
  min-width:300px;
}

/* KEYFRAMES */
@keyframes tooltips-vert {
  to {
	opacity: .9;
	transform: translate(-50%, 0);
  }
}

@keyframes tooltips-horz {
  to {
	opacity: .9;
	transform: translate(0, -50%);
  }
}

/* FX All The Things */
[cmplz-tooltip]:not([flow]):hover::before,
[cmplz-tooltip]:not([flow]):hover::after,
[cmplz-tooltip][flow^="up"]:hover::before,
[cmplz-tooltip][flow^="up"]:hover::after,
[cmplz-tooltip][flow^="down"]:hover::before,
[cmplz-tooltip][flow^="down"]:hover::after {
  animation: tooltips-vert 300ms ease-out forwards;
}

[cmplz-tooltip][flow^="left"]:hover::before,
[cmplz-tooltip][flow^="left"]:hover::after,
[cmplz-tooltip][flow^="right"]:hover::before,
[cmplz-tooltip][flow^="right"]:hover::after {
  animation: tooltips-horz 300ms ease-out forwards;
}

#cmplz-header {
  font-size:16px;
  .button-black {
    background-color: black;
    color: white;
    border-color: black;
    padding: 0 25px;
  }
  .link-black {
    color: black;
    padding: 5px 5px;
  }
}

.wp-editor-wrap iframe {
  height: initial !important;
}

.cmplz-help-warning-wrap {
  .cmplz-help-modal {
	.cmplz-pointer;

	&.cmplz-notice {
	  background-color: @brand-primary;
	  &:after {
		border-right: 15px solid @brand-primary;
	  }
	  color: #fff;
	  padding: @green-gap;
	}

	&.cmplz-success {
	  background-color: white;
	  color: #61ce70;
	  border: none;
	  padding: 0;
	}

	&.cmplz-warning {
	  &:after {
		border-right: 15px solid #f8be2e;
	  }
	  color: #333333;
	  background-color: #f8be2e;
	  border-color: #f8be2e;
	}

	margin: 0 0 0 @green-gap;
	padding: 10px 15px;
	color: #fff;
	background-color: @brand-primary;
	text-align: left;

	&:empty {
	  background-color: #f1f1f1;
	}

	a {
	  color: #333;
	}
  }
}

a:active, a:hover {
  color: #333;
}

a.button.cmplz-open-modal {
  font-size: 9px;
  line-height: 13px;
  height: 15px;
  min-height: 15px;
  padding: 1px 3px;
  margin-left: 10px;
}

.cmplz-panel-link {
  text-decoration: none;
  display: inline-block;
  width: 80%;
}

#cmplz_language {
  font-size: 15px;

  &.cmplz_cookie_language_selector {
	margin-bottom: 0;

  }
}


.multiple-field {
  div {
    margin-top: 8px;
    &:last-child {
      margin-bottom: 8px;
    }
  }
}

.cmplz-list-container {

  margin-bottom: 25px;

  .cmplz-cookie-field > div,
  .cmplz-service-field > div {
	margin-top: 8px;
    &:last-child {
      margin-bottom: 8px;
    }
  }

  .cmplz-disabled label,
  .cmplz-disabled span {
	color: #ababab !important;
  }

  .cmplz-service-cookie-list {
    margin-bottom: @green-gap;
    &:last-child {
      margin-bottom: 0px;
    }
  }

  .cmplz-service-divider {
	font-size: 14px;
	margin-bottom: 10px;
  }

}

.cmplz-legenda {
  padding: 10px 10px 0 10px;
  display: grid;
  grid-template-columns: 25px 200px 25px 300px;
  grid-column-gap: 10px;
  align-items: center;
}

.cmplz-panel {
  &.cmplz-toggle-disabled {
	color: #aca5a5;
  }

  &.cmplz-deleted {
	background-color: #FFa5aa;
  }

  .cmplz-panel-title {
	cursor: pointer;
  }

  .cmplz-field > div {
	margin: 10px 0;
  }

  .cmplz-multiple-field-validation {
	float: right;
  }

  &.cmplz-slide-panel,
  &.cmplz-link-panel {
	padding: 0;

	.cmplz-panel-toggle {
      display: flex;
      align-items: center;
      span {
        padding-left: 10px;
      }
	}

	.cmplz-panel-title {
      display: grid;
      grid-template-columns: 50% 10% 40%;
      align-items: center;

      span {
        &.cmplz-panel-toggle {
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
        &:last-of-type {
          display: flex;
          align-content: center;
          justify-content: flex-end;
          svg {
            width: 18px;
            height: 18px;
            padding-top: 1px;
          }
        }
      }

	  padding: 10px 15px 8px 0;
	}

    .cmplz-add-to-policy {
      text-decoration: underline;
    }

  }

  &.cmplz-link-panel {
	&.selected, &:hover {
	  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2), 0 3px 5px rgba(0, 0, 0, 0.13);
	}
  }

  .cmplz-panel-content {
	display: none;
	background-color: #fff;
	border: 1px solid #d6d8db;
	border-top: 0;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	padding: 10px 15px;
  }

  h1 {
	font-size: 22px;
  }

  font-size: 13px !important;

  p {
	font-size: 13px !important;
  }

  color: #383d41;
  background-color: #F2F2F2;
  border: 1px solid #d6d8db;
  padding: 10px 15px;
  border-radius: 0px;
  margin: 0;

  &.cmplz-notice {
	background-color: #fff;
	border: 0;
	color: black;
	padding: @green-gap @green-gap 0 @green-gap;
  }

  &.cmplz-success {
    background-color: white;
	color: #61ce70;
    border: none;
    padding: 0;
  }

  &.cmplz-warning {
	.cmplz-pointer;
	&:after {
	  border-right: 15px solid #f8be2e;
	}
	color: #333333;
	background-color: #f8be2e;
	border-color: #f8be2e;
	margin: 10px 0 10px 0;
  }

  ul {
	list-style-type: disc;
	margin-left: 22px;
  }

}


input[type="text"], input[type="email"], input[type="number"] {
  width: 100%;
}

/*
    cool checkbox sliders
*/

.cmplz-switch {
  input {
	display: none !important;
  }

  position: relative;
  display: inline-block;
  width: 40px;
  height: 21px;
}

.cmplz-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;

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

  &.cmplz-round {
	border-radius: 20px;
  }

  &.cmplz-round:before {
	border-radius: 50%;
  }
}

.cmplz-slider-na {
  padding: 2px 8px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;

  &:before {
	position: absolute;
	content: "N/A";
	color: white;
  }

  &.cmplz-round {
	border-radius: 20px;
  }
}


input:checked + .cmplz-slider {
  background-color: @brand-primary;

  &:before {
	-webkit-transform: translateX(17px);
	-ms-transform: translateX(17px);
	transform: translateX(17px);
  }
}

//input:disabled + .cmplz-slider {
//  background-color: lighten(#ccc, 40%);
//  &:before{
//    //background-color:#c6c6c6;
//  }
//}

input:checked:disabled + .cmplz-slider {
  background-color: lighten(@brand-primary, 40%);

  &:before {
	//background-color:#c6c6c6;
  }
}


input:focus + .cmplz-slider {
  box-shadow: 0 0 1px @brand-primary;
}


#complete_wizard_first_notice {
  position: fixed; /* Sit on top of the page content */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Black background with opacity */
  z-index: 99;

  p {
	border-radius: 0px;
	font-size: 16px;
	background-color: @brand-primary;
	color: white;
	position: relative;
	/* height: 100px; */
	top: 150px;
	padding: 30px;
	width: 300px;
	text-align: center;
	margin: auto;
  }

}

//prevent a too small editor width
html .mceContentBody {
  max-width: 100% !important;
}

.cookie-warning {
  textarea {
	width: 100%;
	height: 100px;
  }
}

.cmplz-comment {
	font-size:11px;
  	margin-top: 10px;
}

.cmplz-cookie-field {
  .cmplz-cookie-header {
	border-bottom: 1px solid #b6b7b8;
	margin-bottom: 25px;
  }

}

#cmplz-send-data {
  input[type=text] {
	width: 60%;
  }
}

#cmplz-start-mail, #cmplz_close_tb_window {
  margin-right: 15px;
  margin-top: 15px;
}


/*progress bar */
#cmplz-scan-progress, #cmplz-sync-progress {
  background-color: #F1F1F1;
  border-radius: 5px;

  .cmplz-progress-bar, .cmplz-sync-progress-bar {
	height: 15px;
	background-color: @brand-primary;
	transition: width 0.5s;
	-webkit-transition: width 0.5s;
	font-weight: bold;
	padding: 2px;
  }
}

#cmplz-terms-conditions, #cookie-policy-snapshots, #cmplz-cookie-settings {
  h1, h2, h3, h4, .cmplz-menu-item, .cmplz-step-title, .cmplz-button {
	font-variant: normal;
  }

  label {
    font-size: 13px;
  }

  .field-group {
	position: relative;

	.cmplz-field {
	  padding: @green-gap @green-gap 0 @green-gap;
      background-color: white;
	}

	.cmplz-label {
      margin-bottom: 10px;
      label {
        display:flex;
        font-size:15px;
        font-weight: 600;
		cursor: default;
      }
	}

	//less margin when it's the editor
	&.cmplz-editor .cmplz-label {
	  margin-bottom:0;
	}

	.cmplz-field {
	  .field-group {
		grid-column:1;
		display:block;
	  }
	  .cmplz-field {
		  padding:0;
	  }
	}

  }
  //
  //.cmplz-header {
	//background-color: #F1F1F1;
  //
	//.cmplz-wizard-title {
	//  font-size: 26px;
	//  padding-bottom: 20px;
	//  &.cmplz-section-content-notifications-header h1{
	//	color:@gray-dark;
	//  }
	//}
  //
	//.cmplz-wizard-steps {
	//  display: flex;
	//  @media screen and (max-width: 640px) {
	//	flex-direction: column;
	//  }
  //
	//  .cmplz-step-time {
	//	float: left;
	//	padding: 9px 5px;
	//	color: #fff;
	//	font-size: 11px;
	//  }
  //
	//  .cmplz-step-count {
	//	span {
	//	  top: 9px;
	//	  position: relative;
	//	}
  //
	//	color: #fff;
	//	background-color: @brand-primary;
	//	border-radius: 50%;
	//	text-align: center;
	//	vertical-align: middle;
	//	width: 35px;
	//	height: 35px;
	//	display: inline-block;
	//  }
  //
	//  .cmplz-step-title {
	//	color: #333333;
	//	top: 2px;
	//	position: relative;
	//  }
  //
  //
	//  .cmplz-step {
  //
	//	color: @brand-primary;
	//	font-size: 16px;
	//	font-weight: bold;
	//	border-radius: @border-radius;
	//	margin-bottom: 30px;
	//	flex-grow: 1;
  //
	//	.cmplz-step-count {
	//	  font-size: 18px;
	//	}
  //
	//	&.active {
	//	  .cmplz-step-title {
	//		color: white;
	//	  }
  //
	//	  .cmplz-step-count {
	//		color: #fff;
	//		background-color: @brand-primary;
	//		border-radius: 50%;
	//	  }
  //
	//	  background-color: #000;
	//	  text-decoration: none;
	//	  margin-right: 80px;
	//	  @media screen and (min-width: 641px) {
	//		flex: 0 0 260px;
	//	  }
	//	  @media screen and (max-width: 640px) {
	//		width: 260px;
	//	  }
  //
	//	  .cmplz-step-wrap {
	//		background-color: @brand-primary;
	//		border: 0;
	//		border-radius: @border-radius;
	//		height: 36px;
	//	  }
	//	}
  //
	//	&.not-active {
	//	  .cmplz-step-wrap a:hover .cmplz-step-count {
	//		background-color: lighten(@brand-primary, 5%)
	//	  }
	//	}
  //
	//	.cmplz-step-wrap {
	//	  float: left;
	//	  width: 200px;
  //
	//	  a {
	//		text-decoration: none;
	//	  }
	//	}
  //
	//	&.incomplete {
	//	  .cmplz-step-count {
	//		background-color: @brand-primary;
	//		color: #fff;
	//	  }
	//	}
	//  }
	//}
  //}

  /*body */
  .cmplz-body, #cmplz-content-area {
	input[type="text"].cmplz-document-custom-url {
	  width: 250px;
	}

	.cmplz-document-custom-url, .cmplz-document-custom-page {
	  margin-top: 5px;
	}

    input.button {
      min-width: 100px;
      &.button-red {
        background-color: red;
        color: white;
        border-color: red;
      }
      &.button-black {
        background-color: black;
        color: white;
        border-color: black;
      }
      &.button-link {
        text-align: center;
		min-width:initial;
		&:hover {
		  background-color:initial;
		  text-decoration: none;
		}

      }
    }

    button {
      &.button-red {
        background-color: red;
        color: white;
        border-color: red;
      }
    }

	/* Styling for the previous and next buttons */
	.cmplz-master-label h2 {
      margin: 0;
	  padding: @green-gap @green-gap 0 0;
	  font-size: 18px;
      background-color: white;
	}

	//Add some styling to the remove, rescan and add new cookie buttons to override the default WordPress button styling
	.cmplz-remove {
	  margin-bottom: 12px;
	}

	.cmplz-rescan {
	  padding: 0 10px 0 10px;
	}

	.cmplz-add-new-cookie {
	  padding: 0;
	}

	/* CSS for the sections menu */

	.cmplz-menu-item.active {
	  i {
		color: black;
		font-size: 1.35em;
		float: left;
	  }

	  a {
		color: #000;
		font-weight: 900;
		padding-left: 7px;
		text-decoration: underline;
	  }
	}

	.cmplz-done a {
	  text-decoration: none;
	  color: white;
	  font-size: 14px;
	}

	.cmplz-to-do a {
	  color: white;
	  font-size: 14px;
	  text-decoration: none;
	  opacity: 0.6;
	}

	//Reset the vertical-align: middle that WordPress applies. The vertical-align middle presses the next and previous icons downwards
	@media screen and (max-width: 782px) {
	  input {
		vertical-align: top !important;
	  }
	}
  }


}

//Dashboard

.cmplz-field {
  /* Define the styling of the text input fields */

  label {
	font-weight: normal;
	margin: 10px 0 2px;
  }
  .cmplz-color-picker.wp-color-picker {
	margin-top: -11px !important;
  }
  input[type="text"], input[type="email"], input[type="number"] {
	max-width: 500px;
	border-color: @input-border-color;
  }

  select {
	border-color: @input-background-color;
    vertical-align: initial;
  }

  textarea.validation:invalid, textarea.validation:valid {
	background-position: 0.5% 1.5%;
	border-color: @input-border-color;
  }

  textarea {
	min-height: 150px;
	min-width: 100%;
  }

  input[type=radio]:checked:before {
	content: "\2022";
	text-indent: -9999px;
	border-radius: 50px;
	font-size: 24px;
	width: 6px;
	height: 6px;
	margin: 4px;
	line-height: 16px;
	background-color: #1e8cbe;
  }

  .cmplz-panel {
    &.cmplz-notice {
      padding: 0 0 10px 0;
    }
  }

  .cmplz-buttons-row-left {
    display: flex;
    align-items: center;
    height: auto;
    input, select, div {
      margin-right: 20px;
    }
    margin-bottom: 10px;
  }

  button[name=cmplz_add_multiple] {
    margin-top: @green-gap;
  }

}

//Button styling
a.cmplz.button, button.cmplz.button, input.cmplz.button {
  //smargin-left:15px;
  box-shadow: 0 0 0 #fff;
  background-color: @brand-primary;
  color: #fff;
  padding-right: 20px;
  border: 0;
  border-radius: 50px;
  padding-top: 2px;

  &:hover {
	background-color: lighten(@brand-primary, 10%);
	color: white;
  }

  .fa-angle-right {
	font-weight: 900;
	position: absolute;
	font-size: 1.8em;
	margin-top: 1px;
	margin-left: 5px;
  }
}

//Icon override
#complianz .dashboard .fa-times {
  color: black;
}

#complianz .dashboard .fa-check {
  color: @brand-primary;
}

/* building our new structured css here */

.cmplz-dashboard-container {
  .cmplz-dashboard-title {
	padding-top: 22px;
	font-weight: 600;
	font-size: 24px;
	line-height: 30px;
	margin-bottom: 20px;
	@media screen and (max-width: 720px) {
	  padding-bottom: 0px;
	}

  }
}

.cmplz-dashboard-header .cmplz-header-top {
  min-height: 60px;
}

.cmplz-header-top {
  grid-area: header-top;
  background-color: #F2F2F2;
  min-height: 30px;
  padding-top: 25px;

  .cmplz-premium-cta {
	width: 150px;
	float: right;
	border-color: @brand-primary;
	color: @brand-primary;
	text-transform: uppercase;
	display: flex;
  }
}

.cmplz-dashboard-container {
  background-color: white;
  display: flex;
  flex-wrap: wrap;

  .cmplz-dashboard-header {
	margin-bottom: -270px;
	width: 100%;
	min-height: 220px;
	background-color: @brand-primary;
	background-repeat: no-repeat;
	background-image: url(../images/complianz-header.png);
	background-attachment: scroll;
	background-position: bottom center;

	.cmplz-header-text {
	  display: flex;
	  align-items: center;
	}
  }

  .cmplz-dashboard-item {
	background-color: #fff;
	width: 450px;
	margin-top: 10px;
	border: 2px solid;
	flex: 0 0 450px;
	flex-shrink: 1;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 0px;
	border-color: #f2f2f2;
	overflow: hidden;
  }

  .cmplz-dashboard-item .cmplz-top h1 {
	font-weight: 600;
	font-size: 2.5em;
	padding: 25px;
  }

  .cmplz-dashboard-content-container {
	margin: 0 auto;
	display: grid;
	grid-template-areas: 'header-top header-top header-top header-top' 'text-completed text-completed text-completed text-completed' 'progress progress support support' 'progress progress documents documents' 'footer footer footer footer';
	@media screen and (max-width: 1210px) {
	  grid-template-areas: 'header-top header-top' 'text-completed text-completed' 'progress progress' 'support support' 'documents documents' 'footer footer' 'footer footer';
	}

	.cmplz-logo {
	  display: flex;
	  align-items: center;
	  font-size: 1.5em;
	  font-weight: 600;
	}

	.cmplz-header-text {
	  display: flex;
	  align-items: center;
	}

	.cmplz-completed-text {
	  display: flex;
	  align-items: center;
	  margin-top: 35px;
	  grid-area: text-completed;
	  font-size: 24px;
	  color: white;
	  @media screen and (max-width: 720px) {
		button {
		  width: 100px;
		}
	  }
	}

	grid-gap: 10px;
	padding: 10px;

	.cmplz-dashboard-info {
	  font-size: 19px;
	  font-weight: bold;
	  padding-top: 20px;
	  padding-bottom: 10px;
	}

	.cmplz-dashboard-text {
	  color: black;
	  font-weight: 400;
	  padding: 15px;

	  li {
		border-bottom: 1px solid;
	  }

	  .fa-plus {
		margin-right: 8px;
	  }

	  &.free {
		background-color: #000;
		color: #fff;
		min-height: 40px;
	  }
	}

	.cmplz-dashboard-progress {
	  @media screen and (max-width: 1210px) {
		margin: 0 auto;
	  }
	  grid-area: progress;

	  .cmplz-dashboard-progress-top {
		background-color: #F2F2F2;
		min-height: 170px;

		.cmplz-dashboard-top-text {
		  display: inline-grid;
		  font-size: 18px;
		  line-height: 22px;
		  max-width: 60%;
		  float: left;

		  .cmplz-dashboard-top-text-subtitle {
			color: @brand-primary;
		  }
		}
	  }

	  .cmplz-continue-wizard-btn {
		padding-top: 125px;

		button {
		  text-align: -webkit-left;
		  border-radius: 50px;
		}
	  }

	  .cmplz-percentage-complete {
		margin-top: 20px;
		float: right;
	  }

	  .cmplz-steps-table {
		padding-top: 10px;

		.i.fa.fa-check {
		  color: black;
		}

		.cmplz-success,
		.cmplz-error {
		  color: black;
		}
	  }
	}

	.cmplz-dashboard-support {

	  width: 450px;
	  @media screen and (max-width: 1210px) {
		margin: 0 auto;
	  }

	  input[type=text], input[type=email], textarea, input[type=submit] {
		width: 425px;
		margin-bottom: 5px;
		margin-top: 5px;
	  }

	  textarea {
		min-height: 100px;
	  }

	  input[type=submit] {
		margin: auto;
	  }

	  grid-area: support;
	}

	.cmplz-dashboard-documents {
	  @media screen and (max-width: 1210px) {
		margin: 0 auto;
	  }
	  grid-area: documents;
	  margin-top: 10px;

	  .cmplz-upgrade-table {
		padding-bottom: 15px;

		.fas {
		  margin-right: 8px;
		}

		ul {
		  margin: 5px;
		}

		li {
		  border-bottom: 2px solid;
		  margin-bottom: 5px;
		  text-indent: 5px;
		  display: flex;
		  vertical-align: middle;
		  margin-left: 8px;
		}

		.fa-plus {
		  color: @brand-primary;
		  font-size: 1.5em;
		}
	  }

	  .cmplz-documents-bottom {
		color: white;
		background-color: black;
		min-height: 70px;
		font-size: 14px;

		div {
		  margin-bottom: 10px;
		}

		//display: flex;
	  }
	}

	.cmplz-dashboard-footer {
	  grid-area: footer;
	  display: flex;
	  flex-shrink: 1;
	  flex-grow: 1;
	  margin-top: 20px;
	  flex-wrap: wrap;
	  justify-content: center;
	  padding-bottom: 20px;

	  .cmplz-footer-block {
		position: relative;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		border-radius: 0px;
		background-color: #F2F2F2;
		width: 205px;
		min-height: 70px;
		//margin-top: 10px;
		margin: 5px auto;

		a {
		  position: absolute;
		  top: 5px;
		  right: 5px;
		}

		.cmplz-footer-title {
		  margin-top: 9px;
		  margin-left: 9px;
		  font-weight: 900;
		  font-size: 1.2em;
		  margin-right: 35px;
		}

		.cmplz-footer-description {
		  width: 70%;
		  margin-left: 9px;
		  font-size: 0.8em;
		  display: flex;
		}

		.cmplz-external-btn {
		  text-align: center;
		  border-radius: 7px;
		  color: @brand-primary;
		  width: 25px;
		  height: 20px;
		  float: right;

		  .fa-angle-right {
			font-size: 1.5em;
			vertical-align: middle;
			margin-left: 2px;
		  }
		}
	  }
	}
  }
}



/*skeleton*/
@panelheight : 38px;
@panelborder : 1px;
@paneloffset : 3*(@panelborder+@panelheight);
@rows : 6;
.cmplz-skeleton:empty {
  margin: auto;
  margin-bottom: 25px;
  width: 100%;
  height: (@rows*@panelheight)+(@rows+1)*@panelborder; /* change height to see repeat-y behavior */

  background-image:
          linear-gradient( 100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 0.5) 15% ),
          linear-gradient( #f2f2f2 @panelheight, transparent 0 ),
          linear-gradient( #f2f2f2 @panelheight, transparent 0 ),
          linear-gradient( #f2f2f2 @panelheight, transparent 0 ),
          linear-gradient( #f2f2f2 @panelheight, transparent 0 );

  background-repeat: repeat-y;

  background-size:
          50px 200px, /* highlight */
          100% @paneloffset,
          100% @paneloffset,
          100% @paneloffset,
          100% @paneloffset;

  background-position:
          0 0, /* highlight */
          @panelborder @panelborder,
          @panelborder @panelheight+(2*@panelborder),
          @panelborder (2*@panelheight)+(3*@panelborder),
          @panelborder (3*@panelheight)+(4*@panelborder);

  background-color:#d6d8db;
  animation: shine 2.5s infinite;
}
@keyframes shine {
  to {
    background-position:
            100% 0, /* move highlight to right */
            @panelborder @panelborder,
            @panelborder @panelheight+(2*@panelborder),
            @panelborder (2*@panelheight)+(3*@panelborder),
            @panelborder (3*@panelheight)+(4*@panelborder);
  }
}

/*loader*/
.cmplz-loader {
  margin: 0;
  width: 50px;
  height: 15px;
  text-align: center;
  font-size: 10px;
   > div {
	margin:1px;
	background-color: #333;
	height: 100%;
	width: 3px;
	display: inline-block;
	-webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
	animation: sk-stretchdelay 1.2s infinite ease-in-out;
  }
  &.cmplz-loader-white >div {
	background-color: #fff;
  }

  .rect2 {
	-webkit-animation-delay: -1.1s;
	animation-delay: -1.1s;
  }

  .rect3 {
	-webkit-animation-delay: -1.0s;
	animation-delay: -1.0s;
  }

  .rect4 {
	-webkit-animation-delay: -0.9s;
	animation-delay: -0.9s;
  }

  .rect5 {
	-webkit-animation-delay: -0.8s;
	animation-delay: -0.8s;
  }
}



@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% {
       transform: scaleY(1.0);
       -webkit-transform: scaleY(1.0);
     }
}


.cmplz-wizard-menu-menus {
  padding-top: 10px;
}

.cmplz-cookie-settings-content {
  padding-top: 10px;
  display: grid;
  grid-template-columns: 815px 1fr;
  grid-template-rows: calc(100vh - 160px);
}

.cmplz-scroll {
  overflow: scroll;
  scroll-behavior: smooth;
  overflow-x: hidden;
}


#wpbody-content {
  padding-bottom: 0;
}

#cmplz-cookie-settings {

  .cmplz-master-label h2 {
    padding: @green-gap @green-gap 0 @green-gap !important;
  }

  .cmplz-footer-contents {
    border-top: none;
  }

  .cmplz-grid.cmplz-gridless {
    display: flex;
    flex-wrap: wrap;
    height: inherit !important;
    .cmplz-grid-item {
      position: relative;
      //padding: 0 20px 20px 0;

      .cmplz-help-warning-wrap {
        display: none;
      }
      .cmplz-comment {
        display: none;
      }

      .cmplz-grid-header {
        height: initial;
      }

      .cmplz-grid-header-container {
        display: flex;
        justify-content: space-between;
        align-content: center;

        .cmplz-grid-controls {
          margin: auto 0;
        }
      }

      .item-container {
        height: calc(100% - 20px);
        width: calc(100% - 20px);
		margin-left: 10px;
		//margin-top: 10px;
        display: grid;
        grid-template-rows: auto 1fr auto;
        background-color: white;
      }

      .item-container .item-content {
        padding: 10px 0 0 0;
        margin: 0;
        clear: none;
      }

      .item-footer {
        background-color: white;
        height: initial;
      }

      .cmplz-checkbox .cmplz-field {
        display: flex;
        justify-content: space-between;
        align-content: center;
        padding: @green-gap @green-gap 0 @green-gap;
      }
    }

    .cmplz-grid-item.big {
       .item-container .item-content {
        display: grid;
        grid-auto-flow: row dense;
        grid-template-columns: 50% 50%;
        grid-auto-rows: minmax(min-content, max-content);
       }

      &.cmplz-customization .item-container .item-content {
        grid-auto-flow: row;
      }

    }


    .cmplz-cols-2 .cmplz-field {
      grid-column: span 2;
      display: grid;
      grid-template-columns: 100px 100px;
      grid-column-gap: 20px;

      .cmplz-label {
        grid-column: span 2;
      }
    }

    .cmplz-cols-3 .cmplz-field {
      grid-column: span 2;
      display: grid;
      grid-template-columns: 100px 100px 100px;
      grid-column-gap: 20px;

      .cmplz-label {
        grid-column: span 3;
      }
    }

    .cmplz-borderradius.cmplz-cols-5 .cmplz-field, .cmplz-borderwidth.cmplz-cols-5 .cmplz-field {
      display: grid;
      grid-template-columns: 50px 50px 50px 50px 50px;
      grid-column-gap: 10px;

      .cmplz-label {
        grid-column: span 5;
      }
    }

    .cmplz-border-input-type-wrap {
      display: grid;
      grid-template-rows: 16px 16px;
      padding-top: 16px;

      .cmplz-grey {
        color: darkgrey;
      }
      span {
        cursor: pointer;
      }
    }

    select {
      width: 100%;
    }

    .field-group {
      grid-column: span 2;
    }

    .cmplz-field {
      padding: 10px @green-gap 0 @green-gap;
    }

    .cmplz-borderradius,
    .cmplz-borderwidth {
      grid-column: span 1;
    }

    .field-group.cmplz-colspan-1 {
      grid-column: span 1;
    }

    .field-group.cmplz-colspan-2 {
      grid-column: span 2;
    }

    .field-group.cmplz-col-1 {
      grid-column-start: 1;
    }

    .field-group.cmplz-col-2 {
      grid-column-start: 2;
    }

    .cmplz-master-label h2 {
      grid-column: span 2;
      margin: 0;
      padding: @green-gap @green-gap 0 @green-gap;
      font-size: 18px;
    }

    .cmplz-sublabel label {
      color: darkgrey;
      font-size: 13px;
    }

    label .cmplz-icon {
      display: inline;
    }

    .cmplz-switch {
      margin-top: 0;
    }

    .wp-picker-input-wrap:not(.hidden) {
      display: block;
      position: absolute;
      z-index: 10;
    }

    .wp-picker-holder {
      position: absolute;
      top: 132px;
      z-index: 10;
    }

    .wp-picker-clear {
      position: absolute;
    }

    .cmplz-grid-controls .cmplz-field {
      padding: 0;
      .cmplz-label {
        margin: 0;
      }
    }

  }

  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  /* Firefox */
  input[type=number] {
    -moz-appearance: textfield;
  }

}

// This will make color pickers overlap
#customization {
  z-index: 10;
}

.cc-window {
  right: 1em;
}

.cc-window.cc-center {
  transform: translate(0%, -50%);
  left: initial;
}

.cc-window.cc-left {
  left: initial;
}

// At cookie settings, banner center is to the right
@keyframes slideInUpCenter {
  from {
    -webkit-transform: translate3d(0, 150%, 0);
    transform: translate3d(0, 150%, 0);
  }
  to {
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
  }
}
@keyframes slideOutUpCenter {
  to {
    -webkit-transform: translate3d(0, 150%, 0);
    transform: translate3d(0, 150%, 0);
    opacity: 1;
  }
  from {
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    opacity: 1;
  }
}

.wrap {
  margin: 0;
}

#cmplz-proof-of-consent,
#cmplz-cookie-banner {

  #cmplz-content-area {
    display: block;

    h1 {
      background-color: white;
      padding: @green-gap;
      //margin: @red-gap;
      border-bottom: 1px solid #eeeeee;
    }

    .cmplz-panel {
      padding: @green-gap;
      margin-bottom: @green-gap;
    }

    .cmplz-notice {
      background-color: white;
    }

    input[name=cmplz_generate_snapshot] {
      width: 120px;
    }

    .cmplz-month-select,
    .cmplz-year-select,
    #post-query-submit {
      float: right;
      margin-top: -50px;
      width: 120px;
    }

    #post-query-submit {
      margin-right: 0;
    }

    .cmplz-month-select {
      margin-right: 290px;
    }

    .cmplz-year-select {
      margin-right: 145px;
    }

    .tablenav {
      display: none;
    }

    #cmplz-cookiestatement-snapshot-filter {
      padding-top: @green-gap;
    }

    .wp-list-table {
      font-weight: bold;
      th {
        font-weight: bold;
        a {
          padding: @red-gap;
        }
      }
    }
  }
}

#wpbody-content {
  .update-nag {
    display: none;
  }
  .subsubsub {
    display: none;
  }

  .wp-heading-inline {
    padding: @green-gap 0;
  }

  .cmplz-document-button {
    margin-top: 22px;
    margin-left: 15px;
  }
  .cookie-warning .cmplz-document-button{
	margin-top: 0;
  }

  #cmplz-region-select {
    margin-top: -6px;
    margin-left: 15px;
    width: 100px;
  }
}

#posts-filter {
  .bulkactions,
  .tablenav-pages,
  .search-box {
    display: none;
  }

  .tablenav.top {
    margin-top: 0;
    padding-top: 0;
  }

  .wp-list-table {
    font-weight: bold;
    th {
      font-weight: bold;
      a {
        padding: @red-gap;
      }
    }
  }
}
