/*
 * Globals
 */


/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #1488ca;
}
body {
  color: #fff;
  text-align: center;
  /*text-shadow: 0 .05rem .1rem rgba(0,0,0,.5);*/
  font-family: 'Open Sans', sans-serif;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  not supported by any browser */
  cursor: default;
}
.nav-link{
  font-family: 'Roboto', sans-serif;
}
h1, h2, h3{
  font-family: 'Montserrat', sans-serif;
}
h1,h2,h3,h4,span,p{
  cursor: default;
}

a h1,a h2,a h3,a h4,a span, a p,
button h1,button h2,button h3,button h4,button span,button p{
  cursor: pointer;
  cursor: hand;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.2rem;
}

.text-right {
  text-align: right;
}

@media(min-width: 769px) {
  .desktopTopBottomPadding {
    padding-top: 20vh!important;
    padding-bottom: 20vh!important;
  }
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  /*-webkit-box-shadow: inset 0 0 5rem rgba(0,0,0,.5);
          box-shadow: inset 0 0 5rem rgba(0,0,0,.5);*/
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 2rem;
}


/*
 * Header
 */

.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
  font-size: 48px;
  margin-top: -16px;
}

.title{
    font-size: 64px;
    font-family: 'Montserrat';
}
.sub-title{
    font-size: 24px;
    font-family: 'Lora';
    color: #999;
}

@media(max-width: 979px){
    .title{
        font-size: 38px;
    }
    .sub-title{
        font-size: 16px;
    }
    .masthead{
      margin-bottom: 0;
    }
    .masthead-brand {
      margin-bottom: 12px;
    }
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: bold;
  color: rgba(255,255,255,.5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255,255,255,.25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

.masthead-brand{
  font-family: 'Montserrat';
  letter-spacing: -0.02em;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}

.footer{
    padding: 0.8rem
}


/*
 * Cover
 */

.cover {
  padding: 0 2.3rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: bold;
}

.cover.inner .row .one-col{
    height: 0;
    padding-bottom: 20%;
}
.cover.inner .row .one-col .col-inner{
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    color: #f9f9f9;
}

.cover.inner .row .one-col.first-col .col-inner{
    background:#f9f9f9;
    color: #333;
}
/** AB-TEST **/
.cover.inner .row .one-col.first-col.ab2{
    margin-top: -8px;
}
.cover.inner .row .one-col.first-col.ab2 .col-inner{
    box-shadow: 2px 6px 15px #333;
}
/** / AB-TEST **/

.col-container{
    position: relative;
    display: flex;
    align-items: center; /* ^ */
    justify-content: center; /* <->*/
    height: 100%;
    width: 100%;
    padding: 24px;
    border: 1px solid #f9f9f9;
}

.col-container.col-project{
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #111;
    cursor: pointer;
    cursor: hand;
}
.col-container.col-project.col-blank {
    border-color: transparent;
}
#project-pliris{
    background-image: url('/assets/img/projects/pliris.png');
}
#project-sallbergco {
    background-image: url('/assets/img/projects/sallbergco.png');
}
#project-universal{
    background: #071815;
}
#project-universal div{
    background-image: url('/assets/img/projects/universalavenue.svg');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}
#project-order{
    background: #DAEFFB;
    color: #111;
}


.sub-page-heading{
    margin-bottom: 24px;
}

@media(min-width: 48em){
    .col-container.col-project{
        filter: brightness(80%);
    }
    .col-container.col-project:hover{
        filter: brightness(100%);
    }
}



@media(max-width: 48em){
    .desktop-only{
        display: none;
    }
    .cover.inner .row .one-col{
        height: auto;
        padding: 0;
        margin-bottom: 36px;
        cursor: pointer;
    }
    .cover.inner .row .one-col .col-inner{
        position: initial;
    }
    .cover.inner .row .one-col{
        border: 1px solid #f9f9f9;
    }
    .cover.inner .row .one-col.first-col{
        background: #f9f9f9;
    }
    .col-container.col-project{
        height: 0;
        padding-bottom: 80%;
    }
    .col-container{
        border: 0;
    }
    #project-order > div{
        position: absolute;
        top: 24px;
        left: 0px;
    }
}


/*
 * Footer
 */

.mastfoot {
  color: rgba(255,255,255,.5)!important;
  text-align: right;
}
.mastfoot a {
  color: rgba(255,255,255,.5)!important;
  text-decoration: none;
  border-bottom: 1px solid #f9f9f9;
}
.mastfoot p:first{
    margin-bottom:0;
}


/*
 * Affix and center
 */

@media (min-width: 48em) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 62em) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 98%;
  }
}



/* MATERIAL INPUTS */

* { box-sizing:border-box; }

.form{
    margin: auto;
    width: 40%;
}
@media(max-width: 48em){
    .form{
        width: 90%;
    }
}

/* form starting stylings ------------------------------- */
.group        { 
  position:relative; 
  margin-bottom:45px; 
}
input, textarea         {
  font-size:18px;
  padding:10px 10px 10px 5px;
  display:block;
  width:100%;
  border:none;
  border-bottom:1px solid #f9f9f9;
  background: transparent;
  color: #f9f9f9;
}
input:focus     { outline:none; }

/* LABEL ======================================= */
label          {
  color:#DAEFFB; 
  font-size:18px;
  font-weight:normal;
  position:absolute;
  pointer-events:none;
  left:5px;
  top:10px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}

/* active state */
input:focus ~ label, input:valid ~ label, textarea:focus ~ label, textarea:valid ~ label    {
  top:-20px;
  font-size:14px;
  color:#dfdfdf;
}

/* BOTTOM BARS ================================= */
.bar  { position:relative; display:block; width:100%; }
.bar:before, .bar:after   {
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  /*background:#33A7EB; */
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%; 
}

/* active state */
input:focus ~ .bar:before, input:focus ~ .bar:after textarea:focus ~ .bar:before, textarea:focus ~ .bar:after{
  width:50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
  position:absolute;
  height:60%; 
  width:100px; 
  top:25%; 
  left:0;
  pointer-events:none;
  opacity:0.5;
}

/* active state */
input:focus ~ .highlight, textarea:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
/*
@-webkit-keyframes inputHighlighter {
  from { background:#33A7EB; }
  to  { width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
  from { background:#33A7EB; }
  to  { width:0; background:transparent; }
}
@keyframes inputHighlighter {
  from { background:#33A7EB; }
  to  { width:0; background:transparent; }
}*/


textarea {
    resize: none;
    height: 20vh;
}

.btn-outline-primary{
    border-color: #f9f9f9;
    color: #f9f9f9;
    font-size: 24px;
    border-radius: 0;
}
.btn-outline-primary:hover{
    background: #f9f9f9;
    color: #1488ca;
}



/* CONTACT */

#contact-thanks{
  display: none;
}



/* GDPR */
#gdpr-slider {
  position: relative;
  padding: 0;
  min-height: 148px;
}
#gdpr-slider li {
  display: none;

  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 32px;
  right: 32px;

  list-style: none;
}

.italic {
  font-style: italic;
}
