/*
- Document  : styles.less
- Version   : 1.1.0
- Client    : Coloplast campaign
- Authors   : Mads Stoumann, Nina Dobrunova
- Date edit : 2017-03-02
*/
/* Consts and mixins */
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font: 400 16px "Roboto", sans-serif;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}
body {
  -webkit-touch-callout: none;
  background-color: transparent;
}

section > div .l-bi-subsection,
.section-holder .xxl-cell {
	padding: 0;
}

.l-bi-subsection .l-cell:first-child {
	display: none;
}

.l-bi-subsection .l-cell:nth-of-type(2) {
	position: static;
	min-height: 100vh;
	padding-top: 5rem;
	width: 100%;
}

.l-bi-subsection .l-cell:nth-of-type(2) [type="submit"] {
	float: left;
	margin: 5% 0 2.5% 0;
}

@media (min-width: 768px) {
	.full-section {
		max-width: none;
		padding: 0 6rem;
	}

  .l-bi-subsection .l-cell:nth-of-type(2) {
    width: 75%;
	padding-top: 7rem;
	float: none;
	display: block;
	margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .l-bi-subsection .l-cell:nth-of-type(2) {
    width: 55%;
  }

  .full-section {
		padding: 0 6rem;
	}
}

@media (min-width: 1300px) {
  .l-bi-subsection .l-cell:nth-of-type(2) {
    width: 42%;
  }

  .full-section {
		padding: 0 8rem;
	}
}

.l-bi-subsection .l-cell:nth-of-type(2) .clear {
  clear: both;
}
.l-bi-subsection .l-cell:nth-of-type(2) .full {
  width: 97.5%;
}

.l-bi-subsection .l-cell:nth-of-type(2) input[type="text"],
.l-bi-subsection .l-cell:nth-of-type(2) input[type="password"],
.l-bi-subsection .l-cell:nth-of-type(2) input[type="email"],
.l-bi-subsection .l-cell:nth-of-type(2) select,
.l-bi-subsection .l-cell:nth-of-type(2) textarea {
  display: block;
  float: left;
  font-family: "Roboto", sans-serif;
  margin: 0 2.5% 3.5% 0;
  padding: 0.875rem 1rem;
  border: 0;
  border-radius: 0.5rem;
  outline: 0;
}
/*.l-bi-subsection .l-cell:nth-of-type(2) [type="submit"] {
  box-shadow: none; 
  clear: both;
  background-image: none;
  font-size: 1.25rem;
  margin: 5% 0 2.5% 0;
}*/
.l-bi-subsection .l-cell:nth-of-type(2) [type="submit"].right {
  float: right;
  margin-right: 2.5%;
}
.l-bi-subsection .l-cell:nth-of-type(2) fieldset {
  clear: both;
  border: 0;
}
.l-bi-subsection .l-cell:nth-of-type(2) fieldset > legend {
  padding: 2.5% 0 3.5% 0;
}
.l-bi-subsection .l-cell:nth-of-type(2) h1,
.l-bi-subsection .l-cell:nth-of-type(2) h2 {
  font-weight: 300;
  line-height: 1.1em;
}

.l-bi-subsection .l-cell:nth-of-type(2) .wysiwyg-block {
  padding: 2.5% 5% 0 5%;
}

.l-bi-subsection .l-cell:nth-of-type(2) h1 {
  font-size: 2rem;
}
@media (min-width: 768px) {
  .l-bi-subsection .l-cell:nth-of-type(2) h1 {
    font-size: 3rem;
  }
}
.l-bi-subsection .l-cell:nth-of-type(2) h1,
.l-bi-subsection .l-cell:nth-of-type(2) h2,
.l-bi-subsection .l-cell:nth-of-type(2) label,
.l-bi-subsection .l-cell:nth-of-type(2) p {
  opacity: 1;
}
.l-bi-subsection .l-cell:nth-of-type(2) input,
.l-bi-subsection .l-cell:nth-of-type(2) select,
.l-bi-subsection .l-cell:nth-of-type(2) textarea {
  font-size: 1rem;
}
.l-bi-subsection .l-cell:nth-of-type(2) input[type="text"],
.l-bi-subsection .l-cell:nth-of-type(2) input[type="password"],
.l-bi-subsection .l-cell:nth-of-type(2) input[type="email"] {
  width: 97.5%;
}
@media (min-width: 768px) {
	.l-bi-subsection .l-cell:nth-of-type(2) input[type="text"],
	.l-bi-subsection .l-cell:nth-of-type(2) input[type="password"],
	.l-bi-subsection .l-cell:nth-of-type(2) input[type="email"] {
		width: 67.5%;
	  }
}

.l-bi-subsection .l-cell:nth-of-type(2) input:focus {
  box-shadow: 0 0 0.25rem #aaa;
}
.l-bi-subsection .l-cell:nth-of-type(2) input[type="checkbox"],
.l-bi-subsection .l-cell:nth-of-type(2) input[type="radio"] {
  display: none;
}
.l-bi-subsection .l-cell:nth-of-type(2) input[type="checkbox"] + label,
.l-bi-subsection .l-cell:nth-of-type(2) input[type="radio"] + label {
  position: relative;
  left: 3rem;
  width: 80%;
  margin-bottom: 3.5%;
}
.l-bi-subsection .l-cell:nth-of-type(2) input[type="checkbox"] + label::after{
  position: absolute;
  display: block;
  top: 0;
  left: -3rem;
  height: 100%;
  width: 2rem;
  content: "";
  background: transparent;
}
.l-bi-subsection .l-cell:nth-of-type(2) input[type="radio"]:checked + label::after {
  position: absolute;
  display: block;
  top: 0.5rem;
  left: -2.5rem;
  height: 1rem;
  width: 1rem;
  content: "";
  background: rgb(0,176,202);
  border-radius: 100%;
}
.l-bi-subsection .l-cell:nth-of-type(2) input[type="checkbox"] + label::before,
.l-bi-subsection .l-cell:nth-of-type(2) input[type="radio"] + label::before {
  position: absolute;
  left: -3rem;
  display: inline-block;
  background-color: #fff;
  width: 2rem;
  height: 2rem;
  content: "\a0";
  text-align: center;
  vertical-align: middle;
  border-radius: .5rem;
}
.l-bi-subsection .l-cell:nth-of-type(2) input[type="radio"] + label::before {
    border-radius: 100%;
}
.l-bi-subsection .l-cell:nth-of-type(2) input[type="checkbox"]:checked + label::before{
  font-size: 1.3rem;
  color: rgb(0,176,202)!important;
  content: "\2713";
}
.l-bi-subsection .l-cell:nth-of-type(2) label {
  display: block;
  width: 100%;
  padding: 0 1rem 0 0;
  line-height: 2rem;
}
@media (min-width: 768px) {
  .l-bi-subsection .l-cell:nth-of-type(2) label {
    float: left;
    width: 30%;
  }
}
.l-bi-subsection .l-cell:nth-of-type(2) legend {
  max-width: 100%;
  width: auto;
  font-size: 1.5rem;
  line-height: 1.3em;
  font-weight: 300;
}
.l-bi-subsection .l-cell:nth-of-type(2) select {
  width: 97.5%;
}
@media (min-width: 768px) {
  .l-bi-subsection .l-cell:nth-of-type(2) select {
    width: 67.5%;
  }
}
.l-bi-subsection .l-cell:nth-of-type(2) table {
  width: 100%;
  border-collapse: separate;
  padding: 2.5% 2.5% 0 5%;
  margin: 5% 0;
  border: 0;
}
.l-bi-subsection .l-cell:nth-of-type(2) td,
.l-bi-subsection .l-cell:nth-of-type(2) tr {
  width: 100%;
}
.campaign-header {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background-color: #fff;
  max-width: none;
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
}

.xForm .xformvalidator {
	display: none;
}

@media (min-width: 768px) {
  .campaign-header {
    height: 6rem;
  }
}

.composer-edit .campaign-header {
	position: relative !important;
}

.composer-edit .l-bi-subsection .l-cell:first-child {
	visibility: hidden;
}
.composer-edit .l-bi-subsection .l-cell:nth-of-type(2) {
	top: 11rem;
}

.campaign-logo {
  height: 2rem;
  margin: 1rem;
}
@media (min-width: 768px) {
  .campaign-logo {
    height: 3rem;
    margin: 1.5rem;
  }
}
.xForm table td:first-child { padding: 0; }
.full-section .xForm table td>label { margin: 0; }
.xForm table td>label, .xForm table td legend { font: inherit; }

@media only screen and (max-width: 480px) {
	.xForm table tr td input.input-text,
	.xForm table tr td input[type="text"],
	.xForm table tr td input[type="password"],
	.xForm table tr td input[type="phone"],
	.xForm table tr td textarea,
	.xForm table tr td select {
		max-width: 290px;
	}
}