* {
  box-sizing: border-box;
}

.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.container p {
  text-align: center;
}

.container h1 {
  padding-bottom: 9px;
  margin: 60px 0 20px;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
  font-size: 36px;
}

.base-first-navbar {
  background-color: #13355a;
}

.base-first-navbar > .container > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#navbar {
  border: none;
}

.navbar {
  display: block;
  position: fixed;
  min-height: 50px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1030;
  top: 0;
  border-width: 0 0 1px;
}

.navbar-default {
  border-color: rgb(231, 231, 231);
}

.navbar-contacts {
  color: white;
}

.navbar-contacts > span {
  padding-right: 10px;
}

.navbar-contacts > a {
  padding-right: 10px;
  padding-left: 10px;
  color: white;
}

a {
  color: #337ab7;
  text-decoration: none;
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

a:focus,
a:hover {
  text-decoration: underline;
}

img {
  vertical-align: middle;
  border: 0;
}

body {
  padding-top: 69px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background-color: #fff;
}

.navbar-brand {
  height: auto;
  float: left;
  padding: 5px 15px;
  font-size: 18px;
  line-height: 20px;
}

.navbar-brand > img {
  max-height: 60px;
  max-width: 400px;
  display: block;
}

#magiloop {
  margin-top: 30px;
}

html,
body {
  height: 100%;
  margin: 0;
}

@media (max-width: 767px) {
  .navbar-contacts {
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .navbar-contacts > a {
    font-size: 20px;
  }

  .container {
    width: 750px;
  }

  .navbar-brand {
    margin-left: -15px;
  }
}

@media (max-width: 991px) {
  .navbar-brand > img {
    max-width: 320px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* Bootstrap implementation */
.text-center {
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-inline .form-group {
  display: inline-block;
  margin-bottom: 0;
  vertical-align: middle;
}

.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.input-group {
  display: flex;
}

.input-group-addon {
  padding: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #555;
  text-align: center;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px
    rgba(102, 175, 233, 0.6);
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  user-select: none;
}

.btn-primary:hover {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
}

ol,
ul {
  margin-top: 0;
  margin-bottom: 10px;
}

hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
}

form .validationerror {
  color: red;
}

p {
  margin: 0 0 10px;
}

.row {
  display: flex;
  margin-right: -15px;
  margin-left: -15px;
}

.col .col-md-12,
.col-md-4,
.col-md-6 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col {
  width: 100%;
}

@media (min-width: 992px) {
  .col-md-12,
  .col-md-4,
  .col-md-6,
  .col-md-offset-3 {
    float: left;
  }

  .col-md-4 {
    width: 33.33333333%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-12 {
    width: 100%;
  }

  .col-md-offset-4 {
    margin-left: 33.33333333%;
  }

  .col-md-offset-3 {
    margin-left: 25%;
  }
}

.mt-3 {
  margin-top: 3rem;
}
