// wrapper

.site-wrapper {
  position: relative;
  max-width: 1024px;
  .mxauto;
}

// reveal

.browser .reveal {
  opacity: 0;
  transition: opacity 1s ease;
  transition-delay: 0.2s;

  &.revealed {
    opacity: 1;
  }
}

// margin

.mxauto {
  margin-left: auto;
  margin-right: auto;
}

// container

.container {
  max-width: 20px + 780px + 20px;
  padding-left: 20px;
  padding-right: 20px;
  .mxauto;
}

// flex

.flex {
  display: flex;
}
.flexinl {
  display: inline-flex;
}
.flexbart {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.flexbarc {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flexcenter {
  display: flex;
  justify-content: center;
  align-items: center;
}

// headings

.h1,
.h1s,
.h2,
.h3 {
  font-weight: 800;
  color: @color-accent1;

  i {
    font-style: normal;
    color: @color-gray;
  }
}
.h1 {
  font-size: 50px;
}
.h1s {
  font-size: 40px;
}
.h2 {
  font-size: 30px;
}
.h3 {
  font-size: 26px;
}

// align

.tac {
  text-align: center;
}

// responsive

@media (max-width: @screen-md) {
  .h1 {
    font-size: 36px;
  }
  .h1s {
    font-size: 32px;
  }
  .h2 {
    font-size: 24px;
  }
  .h3 {
    font-size: 18px;
  }
}

// text

.txt15 {
  font-size: 15px;
  font-weight: 300;
  line-height: (26/15);
}
.txt14 {
  font-size: 14px;
  font-weight: 300;
  line-height: (24/14);
}
.txt13 {
  font-size: 13px;
  font-weight: 300;
  line-height: (22/13);
}
.txt12 {
  font-size: 12px;
  font-weight: 300;
  line-height: (22/12);
}
.txt10 {
  font-size: 10px;
  font-weight: 300;
  line-height: (22/10);
}

// img

.imgfluid {
  display: block;
  max-width: 100%;
}

// gradient

.gradientx(@color-start, @color-end) {
  background: linear-gradient(to right, @color-start 0%, @color-end 100%);
}
.gradienty(@color-start, @color-end) {
  background: linear-gradient(to bottom, @color-start 0%, @color-end 100%);
}

// transitions

.trxopa {
  transition: opacity 0.2s ease;
}
.trxclr {
  transition: color 0.2s ease;
}
.trxbgc {
  transition: background-color 0.2s ease;
}
.trxbrd {
  transition: border-color 0.2s ease;
}

// embed

.embed {
  position: relative;
  padding-bottom: 56.25%;

  > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

// visibility

.invisible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.hidden {
  display: none;
}

// cookies

#xt-cookies-policy {
  top: auto !important;
  bottom: 0;
}
.xt-cookies-policy-container {
  .txt14;

  a:not(#xt-cookies-policy-accept) {
    .trxclr;
  }
  a:not(#xt-cookies-policy-accept):hover {
    color: @color-accent3;
  }
  #xt-cookies-policy-accept {
    .btn;
    margin-top: 5px;
  }
}
