/** {margin: 0; padding: 0;}*/

:root{
  --background: #f6f9fd;
  --unique: #e74a3b;
}
html, body {
  width: 100%;
  height: 100%;
}
html {
  position: relative;
  min-height: 100%;
}
body {
  background-color: var(--background);
}
#body_container{
  display: flex;
  padding-top: 60px;
  min-height: 100%;
  flex-direction: column;
  align-items: stretch;
}
#body_container > * {
  /*flex: 1 100%;*/
}
#body_container > main{
  flex-grow: 1;
  margin-top: 100px;
}
#body_container > footer {
  width: 100%;
  padding: 20px 0;
  background-color: var(--light);
  /*border-top:1px solid #dee2e6!important;*/
}
.color-dark{
  color: #333;
}
a.color-dark:hover{color: #000!important;}
#body_container > footer .row > div:first-child{
  margin-bottom: 15px;
}
.form-select-date select{
  margin-right: 3px;
}
.form-control-line{
  display: inline-block;
  width: auto;
}
/* Custom page CSS
-------------------------------------------------- */
.page-item.active .page-link{
  background-color: var(--main);
  border-color: var(--main);
}
.nav-divider{
  display: inline-block;
  border-left: solid thin #dee2e6;
  height: 100%;
  margin: 0 16px;
  vertical-align: middle;
}

.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: var(--main);
}

.dropdown .dropdown-menu .dropdown-header{
  color: #888;
}
.navbar-dark .navbar-nav .nav-link
{
  color: rgba(255,255,255);
}
.nav-pills .nav-link{
  color: var(--main);
  border: solid thin transparent;
  margin-bottom: 2px;
}
.nav-pills .nav-link:hover{
  border: solid thin var(--main);
}

/* CUSTOM CSS */
.b{border:solid thin #ddd;}
a:hover{cursor: pointer;}
table thead tr th{vertical-align: text-top!important;}
.main-container{
  padding-top: 20px;
  padding-bottom: 20px;
}

.errorlist{
  color: #c30f0f;
  margin-left: 14px;
  list-style: none;
  margin-bottom: 0;
  margin-top: 30px;
}
.errorlist:empty{margin: 0}

.simple-box{
  max-width: 470px;
  border: solid thin #ddd;
  padding: 25px;
  padding-top: 20px;
  margin: auto;
  margin-bottom: 20px;
  background-color: #fff;
  transition: color .15s;
  border-radius: 30px;
  box-shadow: 0px 9px 12px 3px rgb(0, 0, 0, .16), 0 2px 10px 0 rgb(255, 255, 255, 0.12)!important;
}
.simple-box-left{
  margin: inherit;
}
.simple-big-box{
  max-width: 1000px;
  margin: auto;
}
.simple-box h4{
  margin-bottom: 18px;
}
.block-title{
  margin-bottom: 30px;
  padding-bottom: 20px;
  text-align: center;
  border-bottom: 4px solid #eee;
}
.block-title.private{
  display: flex;
  justify-content: space-between!important;
  text-align: left;
  margin-bottom: 15px;
  padding-bottom: 10px;
}
.block-title h4{margin-bottom: 0;}
.bg-transparent{background-color: transparent!important}

.slogan{
  /*max-width: 360px;*/
  min-height: 60px;
  margin: auto;
  font-size: 16pt;
  color: #333;
}
.table-full{width: 100%;}
.table.table-nbt tr:first-child td,
.table.table-nbt tr:first-child th{
  border-top: none;
}
.table thead th{border-bottom: 3px solid #e3e6f0;}
input[type='file'].form-control{
  padding-bottom: 36px;
}
.font-bold{font-weight: 500}
form ul.list{
  margin-left:30px;
}

form table th{
  padding-right: 5px;
}
form table td input{
  padding: 3px;
  margin-bottom: 7px;
}
.navbar .dropdown-menu a{
  padding: 8px 10px;
}
.navbar .dropdown-menu {
  padding-bottom: 0;
}
.btn-no-shadow{
  box-shadow:none!important;
}
.list-sm{
  font-size:14px;
}
.list{
  margin-left: 30px;
}
.helptext{
  font-size:12px;
  color: #8e8e8e;
  display: block;
}
.select2-container .select2-selection--single{
    height: calc(1.5em + .75rem + 2px)!important;
    padding-top: 5px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 35px!important;
}

.btn{
  /*padding: .5rem 1rem!important;*/
  border-radius: 10px;
}
.form-group label{cursor: pointer;}
.form-control-inline{display: inline-block;width: auto;}
.form-control-checkbox{
  list-style: none;
  padding-left: 0px;
  margin-top: -15px;
}
.form-control-checkbox label{
  width: 100%;
  cursor: pointer;
}
.form-control-checkbox .icheck-item{
  margin: 0!important;
}
.form-control-checkbox li > div{
  border-radius: 3px;
  margin: 0;
  padding: 4px 6px;
  padding-left: 5px;
}
.form-control-checkbox  li > div:hover{
  background-color: #eee;
}

/*<Toasts>*/
#toast-container>div{
  box-shadow: none!important;
  opacity: .9;
}
/*</Toasts>*/

.text-sm{
  font-size: .6rem;
}
.text-md{
  font-size: .8rem;
}
.text-lg{
  font-size: 1rem;
}
.text-xl{
  font-size: 1.2rem;
}

.real-image{
    max-width: 100%;
}

.table-responsive-background{
  background-color: #fff;
  border: solid thin #ddd;
  /*border-radius: 5px;*/
  padding: 0;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(255, 255, 255, 0.12);
  transition: color .15s;
}
.table-responsive-background table{
  margin-bottom: 0;
}

.table-responsive-background table.table-sm tr td:first-child,
.table-responsive-background table.table-sm tr th:first-child{
  padding-left: 15px;
}

.box-white{
  display: inline-block;
  background-color: #FFF;
  border: solid thin #ddd;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(255, 255, 255, 0.12)!important;
  padding: 10px 15px;
}

.background{
  padding: 35px 40px;
  background-color: #fff;
  border-radius: 30px;
  border: solid thin #ddd;
  margin-bottom: 20px;
  box-shadow: 0px 9px 12px 3px rgb(0, 0, 0, .16), 0 2px 10px 0 rgb(255, 255, 255, 0.12)!important;
  transition: color .15s;
}
.background-fluid{
  width: 100%!important;
  max-width: 100%!important;
}
.bg-transparent-center{max-width: 480px;margin: auto;}
.box{max-width: 480px;}
.pagination-container{margin-top: 10px;}

.shadow{
  box-shadow: 0px 9px 12px 3px rgb(0, 0, 0, .16), 0 2px 10px 0 rgb(255, 255, 255, 0.12)!important;
  transition: color .15s;
}
.badge-color-theme{width: 20px;height: 18px;border-radius: 5px;display: inline-flex;vertical-align: text-bottom;}
.bg-main{
  background-color: var(--main);
  color: #fff;
}

#main_logo_text{max-width: 210px;}

.iti{width: 100%}

.django-ckeditor-widget, .django-ckeditor-widget .cke{width: 100%!important;}

main .container-fluid,
main .container
{
  padding-left: 0.5rem!important;
  padding-right: 0.5rem!important;
}

.winning-number{letter-spacing: 4px; color: var(--complementary);}
.winning-serie{letter-spacing: 2px; color: var(--main);}

.lineheight-1{line-height: 1!important;}

.btn-pulse-main{
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
  -webkit-box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  --color: var(--main);
}
.btn-pulse-primary{
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
  -webkit-box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  --color: var(--primary);
}
.btn-pulse-secondary{
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
  -webkit-box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  --color: var(--secondary);
}
.btn-pulse-default{
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
  -webkit-box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  --color: var(--default);
}
.btn-pulse-info{
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
  -webkit-box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  --color: var(--info);
}
.btn-pulse-success{
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
  -webkit-box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  --color: var(--success);
}
.btn-pulse-warning{
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
  -webkit-box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  --color: var(--warning);
}
.btn-pulse-danger{
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
  -webkit-box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
  --color: var(--danger);
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 var(--color);
            box-shadow: 0 0 0 0 var(--color);
  }
}

@keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 var(--color);
            box-shadow: 0 0 0 0 var(--color);
  }
}

@media (min-width: 360px){#main_logo_text{max-width: 260px;}}
@media (min-width: 480px){#main_logo_text{max-width: inherit;}}
@media (min-width: 768px){
  .text-right-md{text-align: right;}
  #body_container > footer {
    /*padding: 50px 0;*/
  }
  #body_container > footer .row > div:first-child{
    margin-bottom: 0;
  }
  main .container-fluid{
    padding-left: 1.5rem!important;
    padding-right: 1.5rem!important;
  }
  .slogan{
    font-size: 18pt;;
  }
}
@media (max-width: 992px) {
  .d-lg{display: none;}
}

@media (min-width: 992px) {
  .slogan{
    font-size: 28pt;;
  }
}
