:root {
  --blue: #00516B;
  --yellow: #FDBB1D;
  --dark-blue: #003347;
}

/* {{{ Tags */
body {
  margin: 0;
  padding: 0;
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: var(--blue);
}

h1, h2, h3, h4, h5, h6 { margin-bottom: 18px;}

.center {text-align: center;}
.no-margin {margin:0;}
.large-font { font-size:large; }
.content-block { padding:50px 0; }

a, a:visited { color: var(--blue); text-decoration: underline; }
a:hover, a:focus { color: var(--dark-blue); }

p { margin: 1em 0; }

.background-blue { background-color: var(--blue);color:white; }
.background-white { background-color: white;color:var(--dark-blue); }
.background-yellow { background-color: var(--yellow);color:var(--dark-blue); }
.background-dark-blue { background-color: var(--dark-blue);color:white; }
.background-grey { background-color: #FAFAFA;color:black; }
/* }}} Tags */

/* {{{ Content / Snap Points */
.content {
  width:100%;
  max-width:1200px;
  margin:0 auto;
}
@media screen and (max-width: 1200px) {
  .content { max-width:880px; padding:10px;}
}

@media screen and (max-width: 880px) {
  .content { max-width:600px;}
}
/* }}} Snap Points */

/* {{{ Header */
header {
  background-color: var(--dark-blue);
}
#header-logo {
  width: 50%;
  padding: 25px;
}
#header-logo img {
  width: 100%;
  display:block;
}
header .content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
#menu {
  width: 25%;
  display: flex;
  flex-direction: row;
  gap: 1em;
  justify-content: flex-end;
}
/* }}} */

/* {{{ Login Page */
.loginHeader {
  color:white;
  padding: 2em 10px;
  margin-bottom: 2em;
}
.loginHeader h1 {
  background-image: none;
  text-align: center;
  margin: 0;
  padding: 0;
}
.loginWrap {
  max-width: 600px;
  margin: 0 auto;
}

.loginBox {
  border: 1px solid var(--separator);
  background-color:  var(--light-fill);
  margin-bottom: 20px;
}


/* }}} */

/* {{{ Footer */
footer {
  background-color: var(--blue);
  padding: 1em;
  color: white;
  padding-top:30px;
}

footer .footlinks {
  text-align:  center;
  font-size: 14px;
}
footer a, footer a:visited { color: white; text-decoration: underline; }
footer a:hover { color: black; }
/* }}}  Footer */

/* {{{ Form Alert - Borrowed From Bootstap */
.alert {
  padding: 15px;
  margin: 20px auto;
  border: 1px solid transparent;
  border-radius: 4px;
  width:100%;
  max-width:1200px;
}
.alert h4 {
  margin-top: 0;
  color: inherit;
}
.alert .alert-link {
  font-weight: bold;
}
.alert > p,
.alert > ul {
  margin-bottom: 0;
}
.alert > p + p {
  margin-top: 5px;
}
.alert-dismissable,
.alert-dismissible {
  padding-right: 35px;
}
.alert-dismissable .close,
.alert-dismissible .close {
  position: relative;
  top: -2px;
  right: -21px;
  color: inherit;
}
.alert-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #418342;
}
.alert-success hr {
  border-top-color: #c9e2b3;
}
.alert-success .alert-link {
  color: #356635;
}
.alert-info {
  background-color: #d9edf7;
  border-color: #bce8f1;
  color: #3a87ad;
}
.alert-info hr {
  border-top-color: #a6e1ec;
}
.alert-info .alert-link {
  color: #2d6987;
}
.alert-warning {
  background-color: #fcf8e3;
  border-color: #fbeed5;
  color: #c09853;
}
.alert-warning hr {
  border-top-color: #f8e5be;
}
.alert-warning .alert-link {
  color: #a47e3c;
}
.alert-danger {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
}
.alert-danger hr {
  border-top-color: #e6c1c7;
}
.alert-danger .alert-link {
  color: #953b39;
}

.close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.2;
  filter: alpha(opacity=20);
}
.close:hover,
.close:focus {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.5;
  filter: alpha(opacity=50);
}
button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
}
/* }}} Form Alert - Borrowed From Bootstap */

/* {{{ Text Colors - Borrowed From Bootstap*/
.help-block { color: #646469; }
.text-muted { color: #767676; }
.text-primary { color: #446e9b; }
a.text-primary:hover,
a.text-primary:focus { color: #345578; }

.text-success { color: #418342; }
a.text-success:hover,
a.text-success:focus { color: #356635; }
.text-info { color: #3a87ad; }
a.text-info:hover,
a.text-info:focus { color: #2d6987; }
.text-warning { color: #c09853; }
a.text-warning:hover,
a.text-warning:focus { color: #a47e3c; }
.text-danger { color: #b94a48; }
a.text-danger:hover,
a.text-danger:focus { color: #953b39; }
/* }}} Text Colors - Borrowed From Bootstap*/

/* {{{ Buttons */
a.btn, .btn {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 10px;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  text-decoration:none;
  text-transform:uppercase;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none!important;
  border: 3px solid transparent;
  border-width: 3px!important;

  /* white-space: nowrap; */
  border-radius: 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.btn:focus,
.btn:active:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn:hover,
.btn:focus {
  color: #ffffff;
  text-decoration: none;
}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
}
a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}

.btn-default, a.btn-default:visited  {
    color:var(--blue);
    background-color:var(--yellow);
    border-color:var(--yellow);
}
.btn-default:focus,
.btn-default:hover,
a.btn-default:hover,
.btn.hover-default,
.btn-default:active {
  color:var(--yellow);
  background-color:var(--blue);
  border-color:var(--yellow);
}

.btn-secondary, a.btn-secondary:visited  {
    color:var(--yellow);
    background-color:var(--blue);
    border-color:var(--blue);
}
.btn-secondary:focus,
.btn-secondary:hover,
a.btn-secondary:hover,
.btn.hover-secondary,
.btn-secondary:active {
  color:var(--blue);
  background-color:var(--yellow);
  border-color:var(--yellow);
}

.btn-black, a.btn-black:visited  {
  color:white;
  background-color:black;;
  border-color:black;
}
.btn-black:focus,
.btn-black:hover,
a.btn-black:hover,
.btn.hover-black,
.btn-black:active {
color:black;
background-color:#ffffff;
border-color:black;
}

/* }}} Buttons */

/* {{{ Forms */
p.form-text { margin: 9px 0 0 0; }

label {
  max-width: 95%;
  vertical-align: top;

}
.control-label {
  text-align: right;
  margin-bottom: 0;
  padding-top: 9px;
  font-weight:700;
}
.form-group {
  margin-bottom: 10px;
  display: inline-block;
  width: 100%;
}
.formField {
  position: relative;
}
.form-control {
  display: block;

  width: 100%;
  height: 38px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #666666;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  background-image: none;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.form-control::-moz-placeholder {
  color: #999999;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #999999;
}
.form-control::-webkit-input-placeholder {
  color: #999999;
}
.form-control::-ms-expand {
  border: 0;
  background-color: transparent;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  background-color: #eeeeee;
  opacity: 1;
}
.form-control[disabled],
fieldset[disabled] .form-control {
  cursor: not-allowed;
}
textarea.form-control {
  height: 150px;
}
.help-block {
  display: block;
  margin-top: 5px;
  margin-bottom: 10px;
}
.help-block:empty { display: none; }

.help-block.description {font-size:12px;}
.help-block.description p {margin-bottom: 0;}

.styled-select p { display: inline; }


@media (max-width: 800px) {
  .text-area-label {display:block;}
}

.radio-inline { display: flex; flex-direction: row; gap: 1em; margin-top: 8px; }
/* }}} Forms */

/* {{{ Home */
.home {
  border-bottom:10px solid white;
  border-top:10px solid white;
}
.home h1 {
  text-align:center;
  font-weight: 400;
}
.home p {
  font-size:20px;
  line-height: 25px;
  font-weight: 300;
}
.home .brand-assets h1 {
  color:white;
}

.home .push-container {
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap:30px;
  justify-content: center;
  align-items: flex-start;
}

.home .push-container .push {
  width:23%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap:20px;
}

.home .brand-assets .push-container .push img {
  display:block;
  width:100%;
  border:1px solid white;
  aspect-ratio: 113 / 87;
  object-fit: cover;
}

.home .push-container .push img {
  display:block;
  width:100%;
  border:1px solid black;
}

.home .push-container .push a {
  display:block;
  width:70%;
  margin:0 auto;
}
/* }}} */

/* {{{ Downloads */
.downloads h1 {
  text-align:center;
  font-weight: 400;
}

.downloads p.link {
  text-align:left;
  font-weight: 400;
  font-size:18px;
}

.downloads .download-container {
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content:space-between;
  align-items: flex-start;
  gap:50px 0;
}

.downloads .download-container .download {
  width:47%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap:10px;
  border:1px solid black;
  background-color:#F0F0F0;
  padding:20px;
}

.downloads .download-container .download .title {
  font-weight:500;
  font-size:20px;
}

.downloads .download-container .download .desc {
  margin-bottom:20px;
}


.downloads .download-container .download img {
  display:block;
  width:100%;
  max-height:300px;
  width:auto;
  object-fit: contain;
}

/* }}} */

/* {{{ Login */
.loginWrap {
  max-width: 600px;
  margin: 0 auto;
  margin-top:60px;
}

.loginBox {
  background-color:  white;
  margin-bottom: 20px;
  padding:20px;
}
/* }}} */

/* {{{ lined-heading */
.lined-heading { text-align:center; position:relative;overflow:hidden;padding:0 5%; text-transform:uppercase; }
.lined-heading:before,
.lined-heading:after {
    overflow:hidden;
    position: absolute;
    top: 45%;
    width: 50%;
    height: 2px;
    content: '';
}
.lined-heading:before { margin-left: -50%; }

.lined-heading:before,
.lined-heading:after,
.lined-heading-v1:before,
.lined-heading-v1:after { background-color: black; }

.lined-heading h1, .lined-heading h2,
.lined-heading h3, .lined-heading h4,
.lined-heading h5, .lined-heading h6 {
  display:inline-block;
  width:auto;
  vertical-align:middle;
  padding:0 3%;
  font-weight:400;
  font-family: "Rubik", sans-serif;
  font-size:125%;
  text-transform:uppercase;
}
.lined-heading h1,
.lined-heading h2,
.lined-heading h3,
.lined-heading h4,
.lined-heading h5,
.lined-heading h6 { margin: .67em 0 }
/* }}} */

/* {{{ Snap Points */
@media screen and (max-width: 1200px) {
  .home .push-container .push { width:30%; }
}

@media screen and (max-width: 880px) {
  .home .push-container .push { width:47%; }
  header .content { flex-direction: column; }
  #header-logo { width: 50%;padding: 20px 5px; }
  #menu { width: 100%;justify-content:center;margin-bottom:30px; }
  .downloads .download-container { flex-direction:column;align-items: center; }
  .downloads .download-container .download { width:80%; }
}

@media screen and (max-width: 540px) {
  .home .push-container .push { width:90%; }
  .home .push-container { flex-direction: column;align-items: center; }
  #header-logo { width: 70%;padding: 20px 5px; }
  .downloads .download-container .download { width:90%; }
}


/* }}} Snap Points */