:root {
    --main-hue: 224;
    --bg-clr: hsl(224.1, 40.5%, 16.5%);
    --border-clr: hsl(223.7, 28.5%, 40.6%);
    --border-params: var(--border-clr) solid 1px;
}

body {
  font-family: 'Lora', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  position: relative;
  width: 100%;
  height: 100%;
  color: white;
  background-color: black;
}

html {
  width: 100%;
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Julius Sans One', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  margin: 0 0 35px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 13px;
}

@media (min-width: 768px) {
  p {
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 10px;
  }
}

a {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #6290C3;
}

a:focus, a:hover {
  text-decoration: none;
  /* color: #355d8a; */
  color: #86bff2;
}

#mainNav {
  font-family: 'Julius Sans One', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin-bottom: 0;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background-color: black;
}

#mainNav .navbar-toggler {
  font-size: 14px;
  padding: 11px;
  color: white;
  border: 1px solid white;
}

#mainNav .navbar-brand {
  font-weight: 700;
}

#mainNav a {
  color: white;
}

#mainNav .navbar-nav .nav-item {
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
}

#mainNav .navbar-nav .nav-item:hover {
  color: fade(white, 80%);
  outline: none;
  background-color: transparent;
}

#mainNav .navbar-nav .nav-item:active, #mainNav .navbar-nav .nav-item:focus {
  outline: none;
  background-color: transparent;
}

#service-tabs .nav-link {
  font-family: 'Julius Sans One';
  font-weight: 600;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: background 0.3s ease-in-out, padding-top 0.3s ease-in-out, padding-bottom 0.3s;
    -moz-transition: background 0.3s ease-in-out, padding-top 0.3s ease-in-out, padding-bottom 0.3s;
    transition: background 0.3s ease-in-out, padding-top 0.3s ease-in-out, padding-bottom 0.3s;
    letter-spacing: 1px;
    border-bottom: none;
    background: transparent;
  }
  #mainNav.navbar-shrink {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: black;
  }
  #mainNav .nav-link.active {
    outline: none;
    background-color: rgba(98, 144, 195, 0.7);
  }
  #mainNav .nav-link.active:hover {
    color: white;
  }
}

.masthead {
  display: table;
  width: 100%;
  height: auto;
  padding: 200px 0;
  text-align: center;
  color: white;
  background: url("../img/intro-bg.jpg") no-repeat bottom center scroll;
  background-color: black;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.masthead .intro-body {
  display: table-cell;
  vertical-align: middle;
}

.masthead .intro-body .brand-heading {
  font-size: 72px;
}

.masthead .intro-body .intro-text {
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  .masthead {
    height: 100%;
    padding: 0;
  }
  .masthead .intro-body .brand-heading {
    font-size: 100px;
  }
  .masthead .intro-body .intro-text {
    font-size: 22px;
  }
}

.btn-circle {
  font-size: 26px;
  width: 55px;
  height: 55px;
  margin-top: 15px;
  line-height: 45px;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
  color: white;
  border: 2px solid white;
  border-radius: 100% !important;
  background: transparent;
}

.btn-circle:focus, .btn-circle:hover {
  color: white;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.content-section {
  padding-top: 150px;
  padding-bottom: 150px;
}

#downloads {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, hsl(var(--main-hue), 54.6%, 23.3%) 300%);
}

#code-img {
  border-top: var(--border-params);
  width: 100%;
  height: 50%;
  color: white;
  background: url("../img/code-bg.jpg") no-repeat bottom center scroll;
  background-color: black;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.btn {
  font-family: 'Julius Sans One', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  border-radius: 0;
}

.btn-default {
  color: #6290C3;
  border: 1px solid #6290C3;
  background-color: transparent;
}

.btn-default:focus, .btn-default:hover {
  color: black;
  border: 1px solid #6290C3;
  outline: none;
  background-color: #6290C3;
}

ul.banner-social-buttons {
  margin-top: 0;
}

@media (max-width: 1199px) {
  ul.banner-social-buttons {
    margin-top: 15px;
  }
}

@media (max-width: 767px) {
  ul.banner-social-buttons li {
    display: block;
    margin-bottom: 20px;
    padding: 0;
  }
  ul.banner-social-buttons li:last-child {
    margin-bottom: 0;
  }
}

footer {
  border-top: var(--border-params);
  width: 100%;
}

footer > .row {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

footer p {
  font-size: 1.1em;
  margin: 0;
  height: fit-content;
}

section.alternative {
  background: var(--bg-clr);
  background: linear-gradient(180deg, var(--bg-clr) 0%, rgba(70,87,134,1) 300%);
  border-top: var(--border-params);
  border-bottom: var(--border-params);
}

.light-sect {
    color: hsl(var(--main-hue), 10%, 20%);
    background: hsl(0, 0%, 86.7%);
    background: linear-gradient(180deg, hsl(0, 0%, 86.7%) 0%, hsl(223.4, 34.3%, 73.1%) 300%);
}

.light-hr {
  border-color: hsl(0, 0%, 86.7%);
}

.blue-hr {
  border-color: #6290C3;
}

.small-hr {
  width: 20em;
}

::-moz-selection {
  background: #fcfcfc;
  background: rgba(255, 255, 255, 0.2);
  text-shadow: none;
}

::selection {
  background: #fcfcfc;
  background: rgba(255, 255, 255, 0.2);
  text-shadow: none;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

.modal-dialog {
  margin-top: 62px;
}

.modal-dialog .modal-content, .modal-dialog .modal-header, .modal-dialog .modal-footer {
  background-color: rgba(0, 0, 0, 0.5);
}

.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
}

.modal.show .modal-dialog {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.modal-header .close {
  color: white;
}

.modal-footer {
  border-top: 1px solid rgba(98, 144, 195, 0.8);
}

.modal-header {
  border-bottom: 1px solid rgba(98, 144, 195, 0.8);
}

.modal-body form div.form-group span.input-group-text {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
}

.modal-body form div.form-group input, .modal-body form div.form-group textarea {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border: 1px solid rgba(98, 144, 195, 0.8);
}

.modal-body form div.form-group input.danger, .modal-body form div.form-group textarea.danger {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border: 1px solid rgba(220, 53, 69, 0.8);
}

#sending-mail {
  margin: 100px auto;
  margin-right: 10px;
  width: 50px;
  height: 50px;
  position: relative;
  padding: 10px;
}

.cube1, .cube2 {
  background-color: #6290C3;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
  animation: sk-cubemove 1.8s infinite ease-in-out;
}

.cube2 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

@-webkit-keyframes sk-cubemove {
  25% {
    -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
  }
  50% {
    -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
  }
  75% {
    -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
  }
  100% {
    -webkit-transform: rotate(-360deg);
  }
}

@keyframes sk-cubemove {
  25% {
    transform: translateX(42px) rotate(-90deg) scale(0.5);
    -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
  }
  50% {
    transform: translateX(42px) translateY(42px) rotate(-179deg);
    -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
  }
  50.1% {
    transform: translateX(42px) translateY(42px) rotate(-180deg);
    -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
  }
  75% {
    transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
  }
  100% {
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
  }
}

#ajax-error p {
  margin: auto;
  padding: 0.25em;
}

#navbarResponsive a:hover {
  background-color: #6290C3;
  transition: background-color 0.3s ease-in-out;
}

.navbar-spacer {
  margin: 8px 4px;
  border-left: 1px solid #6290C3;
}

#background-black-bar{
  background-color: rgba(0, 0, 0, 0.6);
  width:100%;
  height: 100%;
  position: absolute;
  top: 0%;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

#header-logos-container{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top:5%;
  width:100%;
  overflow: hidden;
  margin-bottom: 5vh;
}
.header-cloudship-logo{
  width:auto;
  height:45vh;
}

.header-brspx-logo{
  width: 100%;
  height: 100%;
}

.header-br-logo{
  width:auto;
  height:15vh
}

#download-section-content{
  width: 60vw;
}

.download-button-container{
  width: 33%;
  height: auto;
}

.download-button{
  font-size: clamp(1.5rem,1.5vw, 4rem);
}

.download-button-filename h4{
  margin-top: 10px;
  color: #EFEFEF;
  font-size: clamp(1.25rem, 0.8vw, 2.25rem);
}

@media (max-width: 1199px){
  .header-cloudship-logo{
    width:70vw;
    height:auto;
  }

  .download-button-filename h4{
    color: #EFEFEF;
    font-size: clamp(0.75rem, 5vw, 1.5rem);
  }
}

@media (max-width: 767px){

  #background-black-bar{
    visibility: hidden;
  }

  #header-logos-container{
    margin-top:-5%;
    margin-bottom: 0px;
    background-color: rgba(0, 0, 0, 0.7);
    padding-bottom: 5%;
    width:100%;
  }

  .header-cloudship-logo{
    width:80vw;
    height:auto;
  }

  #masthead-content{
    padding:0%;
    margin-bottom: 3vw;
  }

  .header-br-logo{
    width:20vw;
    height:auto;
  }

  .download-button-container{
    margin-left: auto;
    width: 30vw;
    height: auto;
  }
  
  .download-button{
    font-size: 10vw;
  }

  .download-button-filename h4{
    color: #EFEFEF;
    font-size: clamp(0.75rem, 5vw, 1.5rem);
  }

  #files-to-download{
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column !important;
  }
}

.pdf-modal .modal-body {
    align-self: center;
    width: 80vw;
    height: 75vh;
}

.pdf-modal .modal-header,
.pdf-modal .modal-footer {
    align-self: center;
    width: 80vw;
}

.pdf-modal .modal-body,
.pdf-modal .modal-header,
.pdf-modal .modal-footer {
    background-color: rgba(0, 0, 0, 0.5);
}