﻿#contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact input[type="select"], #contact textarea, #contact button[type="submit"] {
  font: 400 12px/16px "Comfortaa", Helvetica, Arial, sans-serif; }

#contact {
  background: #0f2a40;
  padding-top: 10px; }

#contact h3 {
  color: #45ff30;
  display: block;
  font-size: 22px;
  font-weight: 400; }

#contact h4 {
  margin: 5px 0 15px;
  display: block;
  font-size: 18px; }

fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%; }

#contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact input[type="select"], #contact textarea {
  width: 100%;
  border: 1px solid #545454;
  border-radius: 6px;
  background: #314e66;
  margin: 0 0 5px;
  padding: 10px; }

#contact select {
  width: 100%;
  border: 1px solid #545454;
  background: #314e66;
  margin: 0 0 5px;
  padding: 10px;
  font-family: "Comfortaa", Helvetica, Arial, sans-serif; }

#contact select:hover {
  -webkit-transition: border-color 0.3s ease-in-out;
  -moz-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
  border: 1px solid #AAA; }

#contact input[type="text"]:hover, #contact input[type="email"]:hover, #contact input[type="tel"]:hover, #contact input[type="url"]:hover, #contact input[type="select"]:hover, #contact textarea:hover {
  -webkit-transition: border-color 0.3s ease-in-out;
  -moz-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
  border: 1px solid #AAA; }

#contact textarea {
  height: 150px;
  max-width: 100%;
  resize: none; }

#contact button[type="submit"] {
  cursor: pointer;
  width: 100%;
  border: none;
  background: #6d9abf;
  color: #FFF;
  margin: 0 0 5px;
  padding: 10px;
  font-size: 15px; }

#contact button[type="submit"]:hover {
  background: #3183c4;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out; }

#contact button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5); }

#contact input:focus, #contact textarea:focus {
  outline: 0;
  border: 1px solid #999; }

#contact select:focus {
  outline: 0;
  border: 1px solid #999; }

::-webkit-input-placeholder {
  color: #888; }

:-moz-placeholder {
  color: #888; }

::-moz-placeholder {
  color: #888; }

:-ms-input-placeholder {
  color: #888; }

#display-success {
  width: 500px;
  border: 1px solid #D8D8D8;
  padding: 10px;
  border-radius: 5px;
  font-family: 'Comfortaa';
  font-size: 11px;
  text-transform: uppercase;
  background-color: #ecffd8;
  color: green;
  height: 60px;
  position: inherit; }

#display-success img {
  position: relative;
  bottom: 5px; }

#display-error {
  width: 400px;
  border: 1px solid #D8D8D8;
  padding: 5px;
  border-radius: 5px;
  font-family: Arial;
  font-size: 11px;
  text-transform: uppercase;
  background-color: #fff9f2;
  color: #d30000;
  text-align: center; }

img {
  float: left; }

.contactformrow {
  width: 150%;
  text-align: center;
  z-index: -1; }

.grid-container {
  display: grid;
  grid-template-columns: 80%;
  grid-gap: 10px;
  background-color: #0f2a40;
  padding: 10px; }

.grid-container > div {
  background-color: #0f2a40;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  width: 600px;
  border: 0; }

.item1 {
  grid-row-start: 1;
  grid-row-end: 3; }

.contactmessagecontainer {
  background-color: #163a57;
  border-radius: 6px;
  position: absolute;
  vertical-align: middle;
  width: 50%;
  z-index: -1; }

.contactmessagerow {
  position: relative;
  width: 100%;
  padding-left: 25px;
  padding-top: 2px;
  margin: 2px;
  vertical-align: middle; }

.contactmessage--message {
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
  width: 400px; }

.contactmessage--label {
  text-align: right;
  vertical-align: middle;
  font-size: 14px;
  width: 100px; }

.contactmessage--req {
  text-align: left;
  vertical-align: middle;
  color: #45ff30;
  font-size: 14px; }

.contactmessage--header {
  text-align: left;
  vertical-align: middle;
  color: #45ff30;
  font-size: 14px;
  padding-top: 5px; }

.contactmessage--footer {
  text-align: left;
  vertical-align: middle;
  color: #45ff30;
  font-size: 12px;
  column-span: all; }

.login-box {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 400px;
  padding: 40px;
  transform: translate(-50%, -50%);
  background: #0f2a40;
  /*rgba(0,0,0,.5);*/
  box-sizing: border-box;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
  border-radius: 10px solid #45ff30; }

.login-box h2 {
  margin: 0 0 30px;
  padding: 0;
  color: #31dde0;
  text-align: center; }

.login-box .user-box {
  position: relative; }

.login-box .user-box input {
  width: 100%;
  padding-left: 10px;
  padding-bottom: 5px;
  font-size: 14px;
  height: 3em;
  color: #fff;
  margin-bottom: 30px;
  border: 1px solid #545454;
  border-radius: 16px;
  outline: none;
  background: transparent; }

.login-box .user-box label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 0;
  padding-left: 10px;
  font-size: 14px;
  color: #31dde0;
  pointer-events: none;
  transition: .5s; }

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
  top: -27px;
  left: 0;
  color: #45ff30;
  font-size: 12px; }

.login-box form a {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: #03e9f4;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: .5s;
  margin-top: 40px;
  letter-spacing: 4px; }

.login-box a:hover {
  background: #03e9f4;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px #03e9f4, 0 0 25px #03e9f4, 0 0 50px #03e9f4, 0 0 100px #03e9f4; }

.login-box a span {
  position: absolute;
  display: block; }

.login-box a span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #03e9f4);
  animation: btn-anim1 4s linear infinite; }

@keyframes btn-anim1 {
  0% {
    left: -100%; }
  50%, 100% {
    left: 100%; } }

.login-box a span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #03e9f4);
  animation: btn-anim2 4s linear infinite;
  animation-delay: 1s; }

@keyframes btn-anim2 {
  0% {
    top: -100%; }
  50%, 100% {
    top: 100%; } }

.login-box a span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #03e9f4);
  animation: btn-anim3 4s linear infinite;
  animation-delay: 2s; }

@keyframes btn-anim3 {
  0% {
    right: -100%; }
  50%, 100% {
    right: 100%; } }

.login-box a span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #03e9f4);
  animation: btn-anim4 3s linear infinite;
  animation-delay: 3s; }

@keyframes btn-anim4 {
  0% {
    bottom: -100%; }
  50%, 100% {
    bottom: 100%; } }
