@import url("bootstrap.min.css");
@import url("materialdesignicons.min.css");

/* ==========================================================================
// Variables
========================================================================== */

:root {
  --font-size: 1rem;
  --line-height: 1.5;
  --font-family: "Poppins", Arial, sans-serif;

  --primary: #004a6d;
  --primary-light: #008fd1;
  --primary-dark: #001925;
  --contrast-color: #ed1834;
  --deactive-color: #848484;
  --white: #fff;
  --text-color: #222;

  --label-color: #222;
  --input-border: #bfbfc0;

  --bg-transparent: rgba(255, 255, 255, 0.9);
  --bg-form-block: rgba(234, 234, 234, 0.8);

  --base-space: 15px;
  --base-radius: 0.5rem;
  --form-item-radius: 0.25rem;

  --bs-primary: #004a6d;

  font-size: calc(var(--font-size) * 0.875);
}

/* ==========================================================================
// Font 
========================================================================== */

/* poppins-300 - latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  src: local("Poppins Light"), local("Poppins-Light"),
    url("../fonts/poppins-v9-latin-300.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/poppins-v9-latin-300.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* poppins-regular - latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: local("Poppins Regular"), local("Poppins-Regular"),
    url("../fonts/poppins-v9-latin-regular.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/poppins-v9-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* poppins-600 - latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  src: local("Poppins SemiBold"), local("Poppins-SemiBold"),
    url("../fonts/poppins-v9-latin-600.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/poppins-v9-latin-600.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* poppins-700 - latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: local("Poppins Bold"), local("Poppins-Bold"),
    url("../fonts/poppins-v9-latin-700.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("../fonts/poppins-v9-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* ==========================================================================
// Base 
========================================================================== */

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.sr {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ==========================================================================
// Base Typography
========================================================================== */
body {
  background-color: transparent;
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: var(--line-height);
  color: var(--text-color);
  font-weight: normal;
}

p {
  margin: 0 0 1.25rem 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

a:hover {
  color: var(--primary-dark);
  outline-width: 0;
  text-decoration: none;
}

a:active {
  color: var(--primary-dark);
}

.h1,
.h2 {
  font-family: var(--font-family);
  margin: 0 0 0.5em 0;
}

h1,
.h1,
h2,
.h2 {
  font-size: 1rem;
  line-height: 1.4;
}

table {
  border-collapse: collapse;
}

/* ==========================================================================
// Typography
========================================================================== */

.h1 {
  font-weight: 600;
  color: #004a6d;
  text-align: center;
}

.h1::before {
  content: "";
  display: inline-block;
  margin-right: 0.5rem;
  height: 6px;
  width: 24px;
  background-image: url("../img/title-ormanent.svg");
  background-size: cover;

  vertical-align: middle;
}

.primary-light {
  color: var(--primary-light);
}

/* ==========================================================================
// Buttons 
========================================================================== */
.cah-btn {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--primary-light);
  border-radius: var(--form-item-radius);
  background-color: var(--primary-light);
  line-height: normal;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s;
}

.cah-btn:hover {
  background-color: #eee;
  color: #000;
  text-decoration: none;
}

.cah-btn:active {
  background-color: #000;
  background-color: #ccc;
  text-decoration: none;
}

.cah-btn-link {
  color: #000;
  text-decoration: underline;
  border: 0;
  background: transparent;
  padding: 0;
}
.cah-btn-link:hover {
  color: #000;
  text-decoration: none;
}
.cah-btn-link:active {
  color: #000;
  outline: 0;
}

.cah-btn--full {
  width: 100%;
}

.cah-btn--dark {
  border-color: var(--primary-dark);
  background-color: var(--primary-dark);
}

.cah-btn--contrast {
  border-color: var(--contrast-color);
  background-color: var(--contrast-color);
}

.cah-btn--secondary {
    color: var(--primary);
    border-color: var(--primary-light);
    background-color: var(--white);
}

/* ==========================================================================
// Layout
========================================================================== */
html {
  background: linear-gradient(
      rgba(255, 255, 255, 0.527),
      rgba(255, 255, 255, 0.5)
    ),
    url("../img/bg-full.jpg") no-repeat bottom center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.main {
  padding-top: var(--base-space);
  padding-bottom: var(--base-space);
  background-color: var(--bg-transparent);
  border-radius: var(--base-radius);
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
}

.header {
  margin-bottom: calc(var(--base-space) * 2);
  padding: calc(var(--base-space) * 0.5) 0 0;
  background-color: var(--bg-transparent);
}

.header-up {
  margin-bottom: var(--base-space);
  color: var(--primary-light);
  text-align: right;
}

/* ==========================================================================
// Form
========================================================================== */
label {
  margin-bottom: 0.3em;
  padding-left: 0.5rem;
}

.form-control {
  border-radius: var(--form-item-radius);
}

/* ==========================================================================
// Components
========================================================================== */
.logo {
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
}

.block-group {
  border-radius: var(--base-radius);
  margin-bottom: var(--base-space);
  padding: var(--base-space) var(--base-space) 0;
  background-color: var(--bg-transparent);
}

.block-group--bg {
  background-color: var(--bg-form-block);
}

.block-group__title {
  display: block;
  margin-bottom: var(--base-space);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}

.table {
  width: 100%;
  margin-bottom: 1rem;
  border: none;
  border-radius: calc(var(--base-radius) * 0.5);
  color: var(--text-color);
  overflow: hidden;
}

.table td,
.table th {
  padding: 0.375rem 0.75rem;
  vertical-align: middle;
}

.table td {
  border-bottom: 1px solid var(--input-border);
}

.table .thead-light th {
  padding: 0.375rem 0.75rem;
  border: none;
  background-color: var(--primary-light);
  font-weight: 400;
  color: #fff;
}

.table .thead-deactive th {
  padding: 0.375rem 0.75rem;
  border: none;
  background-color: var(--primary-light);
  font-weight: 400;
  color: #fff;
}

.menu {
}

.menu li {
  display: inline-block;
  padding: 0 var(--base-space);
}

.menu li:first-child {
  padding-left: 0;
}

.menu li:last-child {
  padding-right: 0;
}

.menu a {
  position: relative;
  display: block;
  padding-bottom: 15px;
  font-weight: 600;
  color: var(--primary);
}

.menu a:hover,
.menu:active {
  color: var(--primary-dark);
}

.menu a.active::after {
}

@media (min-width: 768px) {
  .menu a.active::after {
    position: absolute;
    bottom: -8px;
    left: 50%;
    content: "";
    width: 14px;
    height: 14px;
    transform: translateX(-50%) rotate(-135deg);
    box-shadow: 1px 1px 0 var(--primary-light);
    background-color: #fff;
  }

  .menu a.active::before {
    position: absolute;
    content: "";
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-light);
    background: radial-gradient(
      circle,
      rgba(0, 143, 209, 0.5) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .submenu a.active::after {
    position: absolute;
    bottom: -8px;
    left: 50%;
    content: '';
    width: 14px;
    height: 14px;
    transform: translateX(-50%) rotate(-135deg);
    box-shadow: none;
    background-color: transparent;
  }
}

.submenu-content {
  padding: var(--base-space);
  background-color: var(--white);
  text-align: right;
}

.submenu a {
  padding-bottom: 0;
  font-weight: 400;
}

.container-login {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 390px;
  margin: 0 auto;
  padding: var(--base-space);
}

.login {
  border-radius: var(--base-radius);
  background-color: var(--bg-transparent);
  padding: var(--base-space);
}

.container-login--big {
  width: 100%;
}

@media (min-width: 992px) {
  .container-login--big {
    max-width: 960px;
  }
}

.login-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
}

.login-subtitle {
  font-size: 1.15rem;
  color: var(--primary);
}

.primary-light {
  color: var(--primary-light) !important;
}
