@font-face {
  font-family: 'Averox';
  src: url('/fonts/averox.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ZonaPro';
  src: url('/fonts/ZonaPro-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}



main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}


#page{
    width: 80%;
    margin: 0 auto;
    font-family: 'ZonaPro', sans-serif;
}

nav{
    display: flex;
}
nav div{
    display: flex;
}
ul.navbar-nav{
    display: flex;
}
ul.navbar-nav li{
    list-style: none;
    margin: 10px 20px;
}
ul.navbar-nav li a{
    font-size: 20px;
    text-decoration: none;
    color: black;
}
img.logo{
    width: 200px;
}

div.content{
    min-height: 87vh;
}
.site-index{
    display: flex;
    justify-content: center; /* горизонтальное выравнивание */
    align-items: center;     /* вертикальное выравнивание */
    height: 87vh;           /* обязательно должна быть высота */
}
.site-index-main-link{
    background-image: url(/images/arrow_to_right.png);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    min-width: 210px;
    font-size: 24px;
    text-decoration: none;
    color: black;
    transition: color 0.3s ease, min-width 0.5s ease;
}
.site-index-main-link:hover{
    min-width: 230px;
    color: #F7941D;
}
.index-p-links{
    display: flex;
    position: relative;
    top: -40px;
}
.index-links-div{
    margin: 40px;
    padding: 50px 20px;
    background-color: white;
    border-radius: 10px;
    display: inline-block;
    color: #000;
    font-size: 22px;
    box-shadow: white 0px 0px 5px 0px;
    transition: padding 0.3s ease, font-size 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.index-links-div:hover{
    padding: 50px 20px;
    font-size: 24px;
    box-shadow: white 0px 0px 7px 0px;
    color: #F7941D;
}


footer{
    min-height: 35px;
    text-align: right;
}

.moving-circle {
  position: fixed;
  width: 60px;
  height: 60px;
  background-color: #F7941D;
  color: #F7941D;
  text-overflow: hidden;
  border-radius: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: width 0s ease-in, height 0s ease;
  
}

/* При раскрытии */
.moving-circle.active {
  position: relative;
  margin: 0 auto;
  border-radius: 0;
  width: 800px;
  height: 600px;
  left: 0 !important;
  top: 0 !important;
  font-size: 14px;
  transition: width 0.3s ease-in, height 0.3s ease;
}

/* Контент внутри */
.popup-content {
  color: white;
  text-align: center;
  opacity: 0;
  /*transition: opacity 0.3s ease 0.4s;*/
  pointer-events: none;
}

.moving-circle.active .popup-content {
  opacity: 1;
  pointer-events: auto;
}

.close-btn {
  background: white;
  border: none;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  color: #F7941D;
  font-family: 'ZonaPro', sans-serif;
  font-size: 12px;
  position: relative;
  top: -160px;
  right: -350px;
}


.form-group{
    margin: 40px 0;
}

div.order-phys-form input{
    font-family: 'ZonaPro', sans-serif;
    font-size: 20px;
}
.help-block{
    display: none;
    color: red;
}
button.cell-button{
    width: 140px;
}
#load-cells{
    margin-top: 10px;
}
.topay-index{
    text-align: center;
    margin-top: 50px;
}
.topay-text{
    width: 80%;
    margin: 0 auto;
}

.userqr{
    text-align: center;
}
.logo_userqr img{
    width: 400px;
}
.logo_userqr{
    text-align: center;
}
.qr-instruct div > a > img, .qr-instruct div > img{
    width: 100%;
    max-width: 400px;
    padding: 10px;
}
.maps-link{
    margin: 20px 0;
}
.maps-link button{
    margin: 20px 0;
}
.site-userqr>div{
    margin-bottom: 20px;
}

@media(max-width:767px) {
    #page {
        width: 95%;
    }
    div.content {
        min-height: 85vh;
    }
    h1, .h1 {
        font-size: 26px;
    }
    h3, .h3 {
        font-size: 24px;
    }
    img.logo {
        width: 150px;
    }
    .navbar {
        padding: 10px 0 20px 0;
    }
    .index-p-links {
        flex-direction: column;
        top: 0;
    }
    .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    .service-btn{
        margin: 10px 0;
    }
    .setpkg-map-block{
        margin: 20px 40px 10px 0;
    }
    .maps-link {
         margin: 0; 
    }
    .maps-link button {
        margin: 10px 0;
    }
    footer{
        font-size: 12px;
    }
}