/*
* Roll Innovation
*/


/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  position: relative; 
  width: 100%; 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px;
  box-sizing: border-box; 
}

/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
html { 
  font-size: 62.5%; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
} 

body {
  font-size: 18px; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 32px;
  font-weight: 400;
  font-family: 'Rubik', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #202833;
}


/* Images
–––––––––––––––––––––––––––––––––––––––––––––––––– */
img {
  width: 100%;
  max-width: 100%;
  height: auto;
}



/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 { 
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 500; }
h1 { font-size: 44px; line-height: 58px; }
h2 { font-size: 38px; line-height: 48px; }
h3 { font-size: 30px; line-height: 40px;  }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

p {
  margin-top: 0; 
}

p.section-title {
  font-family: 'Roboto Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a { 
  color: #1EAEDB; 
}

a:hover { 
  color: #0FA0CE; 
}


/* Buttons 
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height:48px;
  padding: 0 24px;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 47px;
  letter-spacing: .1rem;
  text-transform: uppercase; 
  text-decoration: none;
  white-space: nowrap;
  background-color: #F1533A;
  border-radius: 3px;
  border: 1px solid #F1533A;
  cursor: pointer;
  box-sizing: border-box; 
  -webkit-transition: .2s 0s ease-in-out,color .2s 0s ease-in-out;
  -moz-transition: .2s 0s ease-in-out,color .2s 0s ease-in-out;
  -ms-transition: .2s 0s ease-in-out,color .2s 0s ease-in-out;
  -o-transition: .2s 0s ease-in-out,color .2s 0s ease-in-out;
  transition: .2s 0s ease-in-out,color .2s 0s ease-in-out;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #fff;
  background: #7DDBD9;
  border-color: #7DDBD9;
  outline: 0; 
  text-decoration: none;
}

/* Nav
–––––––––––––––––––––––––––––––––––––––––––––––––– */
header{
  padding-top: 15px;
  padding-bottom: 15px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1;
  background: #202833f2;
}

.logo { 
  float: left;
}

.logo img {
  width: 60px;
}

header .button {
  margin-bottom: 0px;
  margin-top: 0px;
  position: absolute;
  right: 20px;
  top: 12px;
}

#nav-trigger {
  display: none;
  text-align: center; 
}

#nav-trigger span {
  display: inline-block;
  cursor: pointer;
}

nav#nav-main {
  float: right;
}

nav#nav-main ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center; 
}

nav#nav-main li {
  display: inline-block;
}

nav#nav-main li:last-child {
  border-right: none; 
}

nav#nav-main a {
  display: block;
  text-decoration: none;
}

/*nav#nav-main a:hover {
  color: black; 
  text-decoration: underline;
}*/

nav#nav-mobile {
  position: relative;
  display: none; 
}

nav#nav-mobile ul {
  display: none;
  list-style-type: none;
  /*position: absolute; code in to expand over content*/
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background-color: black; 
  z-index: 999;
}

nav#nav-mobile li {
  display: block;
  padding: 5px 0;
  margin: 0 5px;
  border-bottom: solid 1px #fff; 
}

nav#nav-mobile li:last-child {
  border-bottom: none; 
}

nav#nav-mobile a {
  display: block;
  color: white;
  padding: 10px 30px; 
}

nav#nav-mobile a:hover {
  background-color: #1EAEDB;
  color: #fff; 
}

/* Navigation Mobile ----------- */
@media all and (max-width: 769px) {
  #nav-trigger {
    display: block; 
    float: right;
  }

  #nav-trigger i{
    color: black;
    font-size: 20px;
  }

/*  nav#nav-main {
    display: none; 
  }*/

  nav#nav-mobile {
  display: block; 
  clear: both;
  } 
}

/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; 
}

/* Removes awkard default styles on some inputs for iOS */
input[type="email"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;    
  appearance: none;
}

textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; 
}

input[type="email"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0; 
}

label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; 
}

fieldset {
  padding: 0;
  border-width: 0; 
}

input[type="checkbox"],
input[type="radio"] {
  display: inline; 
}

label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; 
}


/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul { 
  list-style: circle inside; 
}

ol { 
  list-style: decimal inside; 
}

ol, ul {
  padding-left: 0;
  margin-top: 0; 
}

ul ul, 
ul ol,
ol ol, 
ol ul { 
  margin: 1.5rem 0 1.5rem 3rem; 
  font-size: 90%; 
}

li {
  margin-bottom: 20px; 
}


/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 20px; 
}

input,
textarea,
select,
fieldset {
  margin-bottom: 20px; 
}

pre,
blockquote,
form,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 20px; 
}

p {
  margin-top: 0; 
}


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 20px;
  margin-bottom: 40px;
  border-width: 0;
  border-top: 1px solid #E1E1E1;
}

/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf { 
  content: "";
  display: table;
  clear: both; 
}

/* Main Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.hero-image {
  background: url(../images/roll-innovation-hero-image.jpg);
  background-size: cover;
  background-position: center center;
  padding-top: 230px;
  padding-bottom: 190px;
  color: #fff;
  text-align: center;
}

.hero-image .container {
      max-width: 990px;
    background: #202833eb;
    padding: 60px;
    padding-top: 54px;
    box-sizing: border-box;
    border-radius: 8px;
}

.hero-image .container p {
  max-width: 700px;
  margin: auto;
  margin-bottom: 20px
}

.hero-image p:last-of-type {
  margin-bottom: 0px;
}

.services {
  padding-top: 100px;
  padding-bottom: 100px;
}

.services .container.title {
  max-width: 800px;
}

.services .title {
  max-width: 750px;
  margin-bottom: 20px;
  padding: 20px;
  padding-top: 0px;
  box-sizing: border-box;
}

.services.title p:last-of-type {
  margin-bottom: 0px;
}

.services .service {
  display: inline-block;
  vertical-align: top;
  padding: 30px;
  box-sizing: border-box;
  width: 49%;
  font-size: 16px;
  line-height: 30px;
}

.services .service img {
  width: 80px;
  margin-bottom: 20px; 
}

.contact-banner {
  background: linear-gradient( rgba(32, 40, 51, 0.88), rgba(32, 40, 51, 0.88) ), url(../images/roll-innovation-hero-image-2.jpg);
  background-size: cover;
  background-position: center center;
  padding-top: 150px;
  padding-bottom: 150px;
  color: #fff;
  text-align: center;
}

.contact-banner a {
  margin-bottom: 0px;
}

.contact-banner .container {
  max-width: 600px;
}

footer {
  padding-top: 40px;
  padding-bottom: 40px;
}

footer .left {
  float: left;
}

footer .left img {
  width: 60px;
}

footer .right {
  position: absolute;
  right: 20px;
  top: 17px;
}

footer .right a {
  color: #F1533A;
  margin-bottom: 0px;
}

footer .right a:hover {
  text-decoration: none;
}

/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media only screen and (min-width : 320px) and (max-width : 900px) {
  body {
    font-size: 16px;
    line-height: 28px;
  }

  h1 {
      font-size: 32px;
      line-height: 42px;
  }

  h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .logo img {
    width: 46px;
  }

  .button, button, input[type="submit"], input[type="reset"], input[type="button"] {
    padding: 0 18px;
  }

  header .button {
    top: 5px;
  }

  .hero-image {
    padding-top: 160px;
    padding-bottom: 90px;
  }

  .services {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .services .title {
    padding: 0px;
    margin-bottom: 40px; 
  }

  .services .service img {
    width: 60px;
    margin-bottom: 10px;
  }

  .services .service {
    display: block;
    width: 100%;
    padding: 0px;
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 40px;
  }

  .contact-banner {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  footer {
    padding-top: 30px;
    padding-bottom: 30px;
  }


  footer .left img {
    width: 40px;
  }

  footer .right {
    top: 10px;
  }

}
