/* --- GENERAL --- */

html {
  scroll-behavior: smooth;
}

.footer {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  height: 30px;
  margin-top: 10px !important;
  bottom: 0;
  left: 0;
  width: 100%;
  position: relative;
}

#my-nav {
  background: white;
  transition: top 0.3s;
  top: 0;
  z-index: 2;
  position: fixed;
  width: 100vw;
  height: 70px;
  left: 50%;
  right: 50%;
  padding-right: 30px;
  margin-left: -50vw;
  margin-right: -50vw;
  border-bottom: 1px #c7c7c7 solid;
  -webkit-box-shadow: 0 8px 6px -6px black;
  -moz-box-shadow: 0 8px 6px -6px black;
  box-shadow: 0 2px 1px -1px #e3e3e3;
}

a:hover {
  text-decoration: none;
}

.title {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 20pt;
  padding: 40px;
  color: #5e5e5e;
}

/*  --- HOMEPAGE --- */

#company-logo {
  vertical-align: middle;
  height: 350px;
  width: 100%;
  margin-top: -70px;
  z-index: 1;
  background-image: url('assets/banner.jpg');
  background-repeat: no-repeat;
  background-position-y: 70px;
  background-size: 100%;
}

#background-logo {
  z-index: 0;
  position: static;
  top: 100px;
  left: 0;
}

#mobile-menu {
  display: none;
}

#content, #footer {
  z-index: 1;
  width: 100vw;
  position: relative;
  margin-top: 70px;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.page {
  height: auto;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 50px;
}

.page-header {
  text-transform: uppercase;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  font-size: 20pt;
  color: #5e5e5e;
  padding: 10px;
  font-weight: 300;
}

.name {
  font-family: 'Arial', sans-serif;
  font-size: 20pt;
  padding: 20px;
  margin-top: -3px;
  margin-left: -5px;
  float: left;
  font-weight: 300;
}

.my-nav-item {
  display: flex;
  box-sizing: unset;
  width: 110px;
  float: right;
  text-align: center;
  font-size: 14.5pt;
  text-transform: uppercase;
  padding: 20px;
  margin-top: 5px;
  font-weight: 300;
  font-family: 'Open Sans', sans-serif;
}

.my-nav-link {
  color: #5e5e5e;
  text-decoration: none;
}

.personal-info {
  align-items: center;
  width: 50%;
  justify-content: center;
  padding-bottom: 50px;
  margin: -20px auto 0;
}

.my-nav-link:hover, a:hover {
  transition: color 0.2s;
  color: #b5b8cc;
}

.inner-content {
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 2%;
}

.rock-logo {
  margin-top: 11pt;
  width: 40pt;
  float: left;
  margin-left: 10pt;
}

/*  --- SERVICE SECTION --- */

#service-container {
  width: 100%;
}

.service {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  background: rgba(0, 52, 90, 0.21);
  padding: 20px;
  border-radius: 0;
  color: #5e5e5e;
  border: 2px solid rgba(0, 14, 28, 0.21);
  height: auto;
  margin-bottom: 35px;
}

.service-container-long {
  height: 680px;
}

.service-subtext {
  color: rgba(159, 159, 161, 0.71);
}

.service-item-header {
  text-align: left;
  padding-left: 10px;
}

.service-more-info {
  color: #7b7b7b;
  text-decoration: none
}

.service-more-info:hover {
  text-decoration: none;
  color: #9092a3;
}

.service-items {
  margin-top: 15px;
  text-align: left;
}

.service-items li {
  padding: 10px;
}

.service-description {
  padding-top: 15px;
  padding-bottom: 15px;
}

.service-image {
  width: 75px;
  margin-top: 10px;
}


/*  --- END OF SERVICE SECTION --- */

/*  --- CONTACT SECTION --- */
.contact-form {
  width: 70%;
  margin: 0 auto;
}

.form-group.required .control-label:before {
  color: #d00;
  content: "*";
  position: absolute;
  margin-left: -15px;
}

.content-submit-button {
  width: 40%;
  background: rgba(0, 126, 214, 0.71);
  border: rgba(0, 126, 214, 0.71);
  color: white;
}

.content-submit-button:hover {
  background: rgba(0, 126, 214, 0.81);
  border: rgba(0, 126, 214, 0.81);
  color: white;
}

#contact-message {
  max-height: 350px;
}

#message-alert {
  display: none;
  padding: 15px;
  position: fixed;
  bottom: 40px;
  right: 20px;
  border-radius: 5px;
  color: white;
  z-index: 50;
}

.error {
  color: red;
  font-family: 'Open Sans', sans-serif;
}

.error:not(.form-control) {
  margin-left: 10%;
}

.error.form-control {
  border: 1px solid red;
}

@media (max-width: 1050px) {
  .personal-info {
    width: 75%;
  }
}

@media (max-width: 850px) {
  #mobile-menu {
    display: block;
    text-align: center;
    position: fixed;
    top: 0;
    z-index: 2;
    background: white;
    width: 100%;
    height: 60px;
    transition: 0.4s top;
  }

  #mobile-header-container {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    text-align: center;
    background: white;
    top: -6px;
  }

  .rock-logo {
    width: 40px;
    float: none;
    padding: 5px;
  }

  #mobile-name {
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    top: 11px;
    position: relative;
  }

  #my-nav {
    display: none;
  }

  .my-nav-item {
    width: 100%;
    text-align: left;
    float: none;
    font-size: 15pt;
  }

  #menu {
    cursor: pointer;
    transition: top 0.3s;
    background: white;
    padding: 10px;
    width: 15%;
    position: absolute;
  }

  .bar1, .bar2, .bar3 {
    width: 30px;
    height: 3px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
  }

  #mobile-nav {
    display: none;
    width: 35%;
    text-align: left;
    position: fixed;
    background: white;
    left: 0;
    top: 50px;
    transition: 0.3s top;
  }

  #content, #footer {
    width: 100vw;
    position: relative;
    margin-top: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  #company-logo {
    background-position-y: 100px;
    background-position-x: -150px;
    height: 350px;
    vertical-align: middle;
    width: 100%;
    margin-top: -20px;
    margin-bottom: 5px;
    z-index: 1;
    background-image: url('assets/banner.jpg');
    background-repeat: no-repeat;
    background-size: 150%;
  }

  .change .bar1 {
    width: 30px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg) translate(-4.5px, 5px);
  }

  .change .bar2 {
    opacity: 0;
  }

  .change .bar3 {
    width: 30px;
    -webkit-transform: rotate(45deg) translate(-10px, -10px);
    transform: rotate(45deg) translate(-7.5px, -8px);
  }

  .service {
    padding: 10px;
    height: auto;
    margin-bottom: 35px;
  }

  .inner-content {
    margin-left: 2%;
    margin-right: 2%;
    margin-top: 2%;
  }

  .contact-form {
    width: 85%;
  }

  .footer {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    height: auto;
    /*margin-top: 1px !important;*/
    bottom: 0;
    left: 0;
    width: 100%;
    position: relative;
  }

  #message-submit-button {
    width: 200px
  }

  .service-container-long {
    height: auto;
  }

  .page-header {
    margin-bottom: 5px;
  }


}


@media (max-width: 412px) {
  #company-logo {
    height: 200px
  }

  #mobile-nav {
    width: 45%;
  }

  .rock-logo {
    width: 35px;
    float: none;
    padding: 5px;
  }

  .personal-info {
    width: 90%;
  }
}

