@font-face {
    font-family: 'Sharp Sans No1';
    src: url("../fonts/font_normal_woff2.woff2") format("woff2"), url("../fonts/font_normal_woff.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Sharp Sans No1';
    src: url("../fonts/font_medium_woff2.woff2") format("woff2"), url("../fonts/font_medium_woff.woff") format("woff");
    font-weight: medium;
    font-style: normal;
}
@font-face {
    font-family: 'Sharp Sans No1';
    src: url("../fonts/font_bold_woff2.woff2") format("woff2"), url("../fonts/font_bold_woff.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}

* {
    font-family: 'Sharp Sans No1';
}

body {
    padding-top: 16px;
}

section.page {
    display: none;
}

section.page.show {
    display: block;
}

section.page.page-login {
    padding: 40px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #fff;
}
svg{
    width: 50px;
    fill: white;
}

svg path {
    fill: #041B4A;
}

svg.wifi-icon {
    width: 25px;
    position: absolute;
    right: 40px;
    top: 40px;
}

.file-count {
    width: 40px;
    position: absolute;
    left: 40px;
    bottom: 40px;
}

.download-csv {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
}

.db-fill {
    position: absolute;
    right: 40px;
    bottom: 40px;
}

.db-fill .space {
    position: absolute;
    bottom: -25px;
    right: -33px;
    color: #041B4A;
    font-size: 12px;
    width: 100px;
    height: 18px;
    border-radius: 12px;

}

.db-fill .space span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    width: 80%;
    height: 14px;
    margin: auto;
}

section.page-login img {
    height: 80px;
}

section.page-login .form-group {
    background-color: transparent !important;
    border-color: #041B4A !important;
    width: 50%;
    min-width: 300px;
    max-width: 600px;
    margin: auto;
}

section.page-login input {
    background-color: transparent !important;
    border-color: #041B4A !important;
    width: 100%;
    margin: 100px auto 0 auto;

}

section.page-login button#to-form {
    display: block;
    background-color: #041B4A;
    color: white;
    width: 100%;
    margin: 20px auto 0 auto;
}
section.page-login label {
    position: absolute;
    top: -25px;
}
label {
    color: #041B4A;
}

input, textarea {
    border-color: #CCCCCC !important;
    transition: background-color .3s ease-in-out;
}

input + label {
    font-weight: 400;
}

textarea {
    resize: none;
}

a, button {
    background-color: #24FF87;
    color: #041B4A;
}

a.link {
    text-decoration: underline;
    transition: color .3s ease-in-out;
}

a.link:hover {
    color: #24FF87;
}

header {
    margin-bottom: 32px;
}

header .btn-cluster {
    float: right;
    margin-right: 40px;
}

header .btn-cluster a {
    margin-left: 10px;
}
button.btn.btn-primary, a.btn.btn-primary {
    background-color: #24FF87;
    color: #041B4A;
    border: none;
}
a.btn.btn-primary {
    width: 110px;
    font-weight: 500;
}

label a {
    background-color: unset;
}

img.logo {
    height: 80px;
}

label {
    font-weight: 500;
}

label.form-group-label {
    display: block;
}


.custom-control {
    padding-left: 1.9rem;
}
.custom-checkbox .custom-control-label::before, .custom-checkbox .custom-control-label::after, .custom-radio .custom-control-label::before, .custom-radio .custom-control-label::after {
    height: 26px;
    width: 26px;
    top: -.1rem;
    left: -1.9rem;
}

.custom-checkbox.inline {
    margin-left: 16px
}

.custom-checkbox.inline:nth-child(2) {
    margin-left: 0
}

.custom-radio .custom-control-label::before {
    border-color: #24FF87;
}

.custom-radio .custom-control-input:checked~.custom-control-label::after {
    background-image: none;
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: #24FF87;
    border-color: #24FF87;
}

.form-group {
    position: relative;
}

.form-group.no-w {
    white-space: nowrap;
}

.form-group.no-w .inline {
    padding-right: 28px;
}

.form-group.no-w .inline:last-child {
    padding-right: 0;
}

.inline {
    display: inline-block;
    vertical-align: top;
    position: relative;
}

.inline.one-fifth {
    width: 20%;
}

.inline.two-fifth {
    width: 39.6%;
}

.inline.fourty {
    width: 40.0%;
}

.inline.sixty {
    width: 59.5%;
}

.inline:first-child {
    padding-right: 28px;
}

.centered {
    text-align: center;
}

button.send{
    width: 280px;
    text-align: center;
    padding: 10px 0;
}

small {
    transition: color .3s ease-in-out;
}

small.error-message {
    color: red;
    position: absolute;
    bottom: -18px;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

input.has-error, textarea.has-error {
    border-color: red !important;

}

input + small {
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

input.has-error + small {
    opacity: 1;
}

input[type="checkbox"].has-error + label::before {
    border-color: red !important;
}

section.popup-conditions, section.thanks {
    position: fixed;
    top: 100vh;
    width: 100vw;
    height: 100vh;
    transition: top 1.5s ease-in-out;
    background-color: white;
    padding: 40px;
}

section.popup-conditions.show, section.thanks.show {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
}

section.popup-conditions.show .close {
    position: fixed;
    opacity: 1;
    transition: opacity 1s ease-in-out 1.2s;
}

section.popup-conditions .content-lang {
    display: none;
}

section.popup-conditions .content-lang.show {
    display: block;
}

.close {
    position: absolute;
    top: 40px;
    width: 30px;
    height: 30px;
    right: 40px;
    top: 40px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.close .bar {
    position: absolute;
    width: 30px;
    height: 4px;
    background-color: #041B4A;
    top: 50%;
    border-radius: 2px;
}

.close .bar:first-child {
    transform: translateY(-50%) rotate(45deg);
}

.close .bar:last-child {
    bottom: 0;
    transform: translateY(-50%) rotate(-45deg);
}

.custom-control a {
    background-color: transparent;
    padding-left: 2px;
    color: #041B4A;
}

section.thanks h2 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

section.page-form svg.wifi-icon {
    top: 23px;
}
section.page-form svg.wifi-icon path {
    fill: #24FF87;
}
section.page-form  .settings svg path {
    fill: #CCC;
}

section.page-form .settings svg {
    width: 25px;
    position: absolute;
    top: 23px;
    right: 8px;
}

section.page-form svg.wifi-icon.offline path, section.page-login svg.wifi-icon.offline path {
    fill: #e74c3c;
}

@media only screen and (max-width: 600px) {
 .custom-control.custom-checkbox.inline {
    display: block;
    margin: 10px 0;
  }

  header .btn-cluster {
    text-align: left;
    float: none;
    margin-top: 20px;
  }
  header .btn-cluster a {
      margin-left: 0;
  }

  .inline.one-fifth {
      width: 100%;
      margin: 10px 0;
  }
  .inline.two-fifth {
      width: 100%;
      margin: 10px 0;
  }
  .inline.fourty {
      margin: 10px 0;
      width: 100%;
  }
  .inline.sixty {
      margin: 10px 0;
      width: 100%;
  }

  .form-group.no-w {
      white-space: normal;
  }
}
