/* main style file */

@font-face {
  font-family: 'Open Sans';
  src: url('../font/OpenSans-Regular.ttf'),
       url('../font/OpenSans-Bold.ttf'),
       url('../font/OpenSans-SemiBold.ttf'),
       url('../font/OpenSans-ExtraBold.ttf'),
       url('../font/OpenSans-Italic.ttf'),
       url('../font/OpenSans-LightItalic.ttf'),
       url('../font/OpenSans-Light.ttf');
  font-display: swap;
}

* {
  font-family: 'Open Sans', sans-serif;
}

img{
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}
html,
body{
  height: 100%;
}
body{
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  box-sizing: border-box;
}
.parent-wrap{
  width: 100%;
  margin: 1rem 0;
}
h1{
  font-size: 26px;
}
h2{
 font-size: 20px;   
}
h3{
  font-size: 18px;
}
h4{
  font-size: 16px;
}
h5{
  font-size: 15px;
}
h6{
  font-size: 14px;
}
.main-block{
  flex: 1 0 auto;
}
.footer{
  flex-shrink: 0;
}
.header{
  background-color: #00a9e0;
  box-shadow: none;
  color: #fff;  
  margin-bottom: 0;
}
.navbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
}
a:hover{
  text-decoration: none;
}
.navbar a{
  color: #fff;
}
.navbar .dropdown-menu a{
  display: block;
  padding: 3px 20px;
  line-height: 20px;
  color: #333333;
  white-space: nowrap;
}
.navbar .dropdown-menu a:hover{
  color: #fff;
  text-decoration: none;
  background-color: #0081c2;
}
.navbar-left .nav li{
  margin-left: 25px;
}
.navbar .nav .dropdown-menu li{
  margin-left: 0;
}
.dropdown-menu-right{
  right: 0;
  left: auto;
}

/* style footer */
.footer{
  position: relative;
  text-align: center;
  color: #fff;
  background-color: #555;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.footer .footer-link span{
  color: #fff;
  text-decoration: underline;
}
.footer .footer-link span:hover{
  text-decoration: none;
}
/* end style footer */

.hide{
  display: none;
}
.active{
  display: block;
}
.user-icon-wrap img,
.user-icon-wrap .drop{
  display: none;
}

/* style title and logo desctop */
.wrapper-title-logo {
  min-height: 100px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #00a9e0;
}
.wrapper__logo {
  position: absolute;
  min-width: 100px;
  min-height: 100px;
  width: 125px;
  margin-right: 15px;
  pointer-events: none;
}
.wrapper__logo img {
  max-height: 100px;
}
.header-title{
  width: 100%;
  margin: 0;
  color: #00a9e0;
  font-size: 26px;
  line-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.8px;
  font-weight: 700;
  text-align: center;
  height: 100px;
}
/* end style title and logo desctop */

/* style for main tag global on all pages */
.main-container{
  margin-top: 0;
  display: flex;
  justify-content: center;
}
.sidebar-custom{
  max-width: 820px;
  color: #2276a0;
  font-size: 15px;
}
@media (min-width: 1400px){
  .main-container {
    max-width: 1215px;
    padding: 0;
  }
}
@media (max-width: 1250px){
  /* .parent-wrap {
    max-width: 1230px;
    width: 1230px;
  } */
  .main-container{
    padding: 0 30px;
  }

}
@media (max-width: 990px){
  .parent-wrap{
    width: 95%;
  }
}
@media (max-width: 470px){
  .main-container {
    padding: 0 10px;
  }
}
@media (max-width: 768px){
  select{
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
  }
  select,
  input,
  textarea{
    border: 1px solid #ccc;
  }
}
/* @media (max-width: 768px){
  .parent-wrap{
    width: 100%;
  }
} */
/* end style for main tag global */

/* style for styled-up-custom-table global */
.styled-up-custom-table{
  width: 100%;
  margin-top: 0;
}
.web2py_table td{
  text-align: center;
}
.table-wrapper {
  width: 100%;
  overflow: auto;
  max-height: 595px;
  margin-top: 10px;
}
.styled-up-custom-table > tbody > tr, 
.styled-up-custom-table th:last-child,
.web2py_htmltable td:last-child{
  border-right: 1px solid #00a9e0;
}
.styled-up-custom-table > tbody > tr > td{
  background: #f3f3f3;
  padding: 10px;
  text-align: center;
}
.styled-up-custom-table > tbody > tr.active-row{
  background: #009688;
}
.styled-up-custom-table > tbody > tr.active-row > td{
  background: transparent;
  color: white;
}
#for_razrah_pokazu, 
#for_razrah_pokazu td, 
#razrah_pokazu td, 
.styled-up-custom-table td,
.web2py_htmltable td{
  box-shadow: inset 1px -1px rgb(44 191 240);
}
.styled-up-custom-table th,
.web2py_grid thead th{
  background: #00a9e0;
  color: white;
  height: 60px;
  white-space: normal;
  text-align: center;
}
#for_razrah_pokazu th, 
#razrah_pokazu th, 
.styled-up-custom-table th,
.web2py_htmltable th{
  box-shadow: inset 1px -1px rgb(163 230 255), 0px 0px 0px 0px rgb(255 255 255);
}
#for_razrah_pokazu tr th, 
#razrah_pokazu tr th, 
.styled-up-custom-table tr th {
  position: sticky;
  top: 0;
  border-right: none;
  padding: 0 15px;
}
.web2py_grid thead th a{
  color: #ffffff;
}
/* end style for styled-up-custom-table global */

/* styles for btn projects */
.btn{
  border-radius: 4px;
  background: #00BCD4;
  color: #fff;
  border: none;
}
.btn_kep{
  border-radius: 4px;
  background: #f3f3f3;
  color: #fff;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: #00546f;
  color: #fff;
}
.btn-danger{
  background-color: #dc3545;
  border-color: #dc3545;
}
.btn-danger:hover {
  color: #fff;
  background-color: #c82333;
  border-color: #bd2130;
}
.btn-success {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}
.btn-success:hover{
  color: #fff;
  background-color: #1e7e34;
  border-color: #1c7430;
}
.uncorrect-data{
  border: 1px solid red;
}
.error-text{
  color: red;
}
.btn_like_link a{
  color: #fff;
}

button.close{
  padding: 5px;
}
.no_visibility_insert{
  width: 100%;
  text-align: right;
  margin-top: 10px;
}
.no_visibility_insert .button{
  color: #fff;
}

/* .web2py_grid .row_buttons a,
.btn-arrow-back,
.btn-secondary{
  padding: 10px;
  font-size: 14px;
} */
.web2py_grid .row_buttons a,
.btn-arrow-back,
.btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.table-wrapper .delete-button {
  background: #e68181;
  color: #fff;
  transition: ease-out .3s;
  padding: 5px;
  min-width: 25px;
}
.delete-button img{
  height: 25px;
  min-width: 25px;
}
.table-wrapper .delete-button:hover {
  background: #883f3f;
}
/* end styles for btn projects */

.custom-file-upload {
  border: 1px solid rgb(121, 118, 118);
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
  width: 100%;
  max-width: 250px;
  margin-bottom: 0;
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 15px;
}
.custom-file-upload .table-file[type="file"]{
  display: none;
}
@media(max-width: 998px){
  .custom-file-upload .download-file-text {
    display: none;
  }
}
.page-title{
  display: none;
}

.select-table{
  margin-bottom: 10px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}
input[type="button"]{
  cursor: pointer;
}

.web2py_console form{
  display: flex;
  margin: 0;
}
.web2py_console input{
  padding: 2px 5px 0 5px;
  height: 32px;
  margin: 0;
  margin-right: 5px;
}

.wrapper-table{
  overflow: auto;
}
/*input[type="text"]:focus,*/
/*input[type="number"]:focus,*/
/*input[type="password"]:focus,*/
/*textarea:focus,*/
/*select:focus{*/
/*  color: #495057;*/
/*  background-color: #fff;*/
/*  border: 2px solid #80bdff;*/
/*  outline: 0;*/
/*  box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);*/
/*}*/
/* style for form */
.form {
  display: flex;
  flex-direction: column;
  background: #dcf6ff;
  box-shadow: 0px 4px 11px 0px rgb(0 0 0 / 30%);
  -webkit-box-shadow: 0px 4px 11px 0px rgb(0 0 0 / 30%);
  -moz-box-shadow: 0px 4px 11px 0px rgba(0,0,0,0.3);
  border-radius: 15px;
}
.form input,
.form select{
  border: 1px solid #8ecee4;
  border-radius: 4px;
  color: #046788;
  height: 38px;
  padding: 0 5px;
  background-color: white;
}

.form input:disabled,
.form select:disabled{
  background-color: #daf1f9;
}

.form input:focus,
.form select:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}

.form .btn{
  border-radius: 4px;
  height: 38px;
  font-size: 16px;
  background: #2276a0;
}

.form .btn:hover{
  background: #3399cc;
}

.form label{
  color: #046788;
}

.form .row-phone .phone-input{
  border: none;
  width: 100%;
  outline: none;
  box-shadow: none;
}

.modal .modal-header{
  align-items: center;
}

.modal .close-modal {
  background: transparent;
  color: #909294;
  padding: 0;
}

.modal .close-modal .fa {
  font-size: 25px;
}

.modal .close-modal:hover {
  color: #595c5f;
}

/* setting-notification */
#settings-modal .checkbox-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-left: 5px;
}

#settings-modal .checkbox-row input[type="checkbox"] {
  transform: scale(1.1);
  -ms-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  height: 20px;
  width: 20px;
}

#settings-modal label{
  margin-bottom: 0;
  margin-left: 5px;
}
#settings-modal .modal-details__wrap select{
  height: 35px;
  margin-bottom: 10px;
}

.wrap-nav-tabs{
  width: 100%;
  overflow-x: auto;
}
.nav-tabs {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  width: 100%;
}
.phone-input.correct-data,
.row-phone .correct-data{
  border: none;
}

/* table-upload files */
.container-file-name{  
  word-break: break-word;
}
.container-file-name label {
  white-space: break-spaces;
  margin-bottom: 0;
}
.table-wrapper-upload .table-upload tr img {
  cursor: pointer;
}
.container-file-name label,
.date-adeded span {
  display: block;
}
.date-adeded{
  min-width: 160px;
}
.button-link{
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
}

.button-kep0::after{
  content: '';
  background: url('../images/kep/kep_img_0.png');
  background-size: contain;
  background-repeat: no-repeat;
  height: 20px;
  width: 35px;
  display: inline-flex;
}
.button-kep1::after{
  content: '';
  background: url('../images/kep/kep_img_1.png');
  background-size: contain;
  background-repeat: no-repeat;
  height: 20px;
  width: 35px;
  display: inline-flex;
}
.button-kep2::after{
  content: '';
  background: url('../images/kep/kep_img_2.png');
  background-size: contain;
  background-repeat: no-repeat;
  height: 20px;
  width: 35px;
  display: inline-flex;
}
.button-kep3::after{
  content: '';
  background: url('../images/kep/kep_img_3.png');
  background-size: contain;
  background-repeat: no-repeat;
  height: 20px;
  width: 35px;
  display: inline-flex;
}
.button-link::after{
  content: '';
  background: url('../images/icons/pdf-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  height: 30px;
  width: 25px;
  display: inline-flex;
}

@media(max-width: 768px){
  .web2py_counter{
    width: auto;
  }
}
.link-info{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.link-info .wrap-pdf-link{
  padding: 5px;
}
.link-info .wrap-pdf-link:hover .first-column{
  border-bottom: 1px solid;
}

.m-t-10{
  margin-top: 10px;
}
.m-b-10{
  margin-bottom: 10px;
}
.m-r-10{
  margin-right: 10px;
}
.m-l-10{
  margin-left: 10px;
}
.btn-setting img {
  width: 30px;
  min-width: 30px;
}
.wraper_disconnection{
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.btn-important {
  cursor: pointer;
  margin: 0 auto;
  border: 1px solid #0b87b3;
  background: #f5feff;
  color: #05242f;
  font-size: 16px;
  font-weight: 700;
  height: 38px;
  width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-important:hover{
  border: 1px solid transparent;
  background: #007fbf;
  color: #f5feff;
  transition: ease-out 0.3s;
}
.current-event-modal .modal-dialog,
.planned-event-modal .modal-dialog{
  max-width: 1090px;
}
.wraper_disconnection{
  margin-top: 20px;
}
.wraper_disconnection th{
  min-width: 160px;
  max-width: 160px;
  white-space: normal;
}
.modall{
  z-index: 3;
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.modall-close-btn {
  position: absolute;
  right: -45px;
  top: -30px;
  color: #fff;
  font-size: 50px;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}
.modall-content{
  max-width: 750px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.modal{
  z-index: 1071;
}

.button-row-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media(max-width: 768px) {
  .button-row-group {
    margin: 0;
    justify-content: center;
  }
  .button-row-group .btn {
    min-width: 230px;
    white-space: initial;
  }
}

@media(min-height: 650px){
  #current-event-modal .modal-body,
  #planned-event-modal .modal-body{
    max-height: initial;
  }
}
@media(max-width: 650px){
  #current-event-modal .pagination,
  #planned-event-modal .pagination {
    flex-wrap: wrap;
    gap: 10px;
  }
  #current-event-modal .modal-body,
  #planned-event-modal .modal-body{
    padding-bottom: 0;
  }
}
.tool-tip [disabled] {
  pointer-events: none;
}
.modal-table{
  padding: 0px;
  margin: 0px;
}
.modal-table tr th,
.modal-table tr td{
  padding: 0px;
  overflow-wrap: anywhere;
}

/*e_premiya*/

.premiya-banner {
    display: flex;
    border-radius: 1em;
    background: linear-gradient(90deg, #0091ac, #74d54b);
    padding: 1em;
    color: white;
    padding: 0.5em;
    font-size: 14px;
}

.premiya-banner:hover {
    cursor: pointer;
}

.premiya-div {
    display: flex;
    border-radius: 2em;
    background: linear-gradient(90deg, #c8ffdb, #99b7fa);
    padding: 1em;
}
@media (max-width: 576px) {
    .premiya-div {
        background: linear-gradient(180deg, #c8ffdb, #99b7fa);
    }
}
.premiya-btn {
    border-radius: 0.5em;
    padding: 0.7em;
    color: white;
    border: 2px solid #ee9933;
    transition: background-color 0.3s cubic-bezier(.22,.61,.36,1),
                border 0.3s cubic-bezier(.22,.61,.36,1);
    display: block;
    text-align: center;
    margin-bottom: 1em;
}

.premiya-orange {
    background: #f3b654;
}

.premiya-login {
    background: #0b6ba1;
}

.premiya-orange:hover {
    background: #f5bd64;
    border: 2px solid white;
    color: white;
}

.premiya-login:hover {
    background: #0b6ba1;
    border: 2px solid white;
    color: white;
}
