a.navbar-brand, .panel-title {
    font-weight: bolder;
}

body, html {
  background: #f3f3f3;
  height: 100%;
}

nav {
  font-size: large;
  font-weight: 600;
}

.nav-link {
  color: #306c98;
}

.nav-link.active{
  color: #1c4464;
  font-weight: bolder;
}

body > .container{
  background: white;
  border-radius: 20px;
  height: calc(100% - 100px);
  min-height: 350px;
  box-shadow: rgb(100 100 111 / 20%) 8px 7px 25px 10px;
}

a.navbar-brand{
  color: #1c4464;
  font-size: x-large;
  text-transform: uppercase;
}

.filterContainer{
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  overflow: hidden;
  color: #306c98;
  font-weight: 500;
}

.companyListContainer{
  margin-left: auto;
  margin-top: 0;
  background: #306c98;
  border-radius: 0 20px 20px 0px;
  padding: 20px 40px 0 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.card-list{
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  border-radius: .25rem;
  overflow-y: auto;
  height: 100%;
  margin-right: -25px;
  padding-right: 25px;
  scrollbar-color: #1c4464 transparent;
}

.mh-grid-list{
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  border: 2px #306c98 solid;
  border-radius: 20px;
  overflow-y: auto;
  overflow-y: overlay;
  flex-grow: 1;
  scrollbar-color: #1c4464 transparent;
}

.mh-grid-list > div{
  border-bottom: 2px #306c98 solid;
}

.mh-grid-list > div:last-child{
  border-bottom: none;
}

.mh-grid-row{
  padding: 10px 20px 10px 20px;
  user-select: none;
  transition: all .1s linear;
}

.mh-grid-row:hover{
  background: #306c9810;
  cursor: pointer;
}

.mh-grid-list::-webkit-scrollbar-button:end:decrement {
  height: 10px;
  display: block;
  background: transparent;
}

.mh-grid-list::-webkit-scrollbar-button:start:increment {
  height: 10px;
  display: block;
  background: transparent;
}


.card{
  background: #1c4464;
  border-radius: 15px;
  padding: 5px 20px 10px 20px;
  margin-bottom: 10px;
  cursor: pointer;
  user-select: none;
  transition: all .1s linear;
}

.card:hover{
  background: hsl(207, 56%, 22%);
}

.card-alt{
  background: 	hsl(205, 52%, 39%)!important;
  transition: all .1s linear;
}

.card-alt:hover{
  background: 	hsl(205, 52%, 34%)!important;
}

.card-disabled{
  background: #306c98!important;
  cursor: default!important;
}

.card-disabled:hover{
  background: #306c98!important;
}

.panel-title{
  color: white;
  margin-bottom: 15px;
  font-weight: 700;
}

.card-el-value-pill{
  background: white;
  color: #306c98;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: normal;
  border-radius: 5px;
  padding: 1px 8px;
  margin-bottom: 5px;
  margin-right: 5px;
  width: min-content;
  max-width: 100%;
}

.card-el-value-pill.accent{
  background: #306c98;
  color: white;
}

.card-el-more-container{
  display: flex;
  margin-right: -25px;
  max-width: 100%;
}

.card-el-more{
  width: min-content;
  /* margin-left: 5px; */
}

.more-btn{
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: #ffffffce;
  font-size: normal;
  transition: all .1s linear;
}

.more-btn:hover{
  color: #ffffff8e;
}



.editBtn, .deleteBtn, .editBtn > i, .deleteBtn > i{
  color: white;
  text-decoration: none;
}

.editBtn:hover, .deleteBtn:hover, .editBtn:hover > i, .deleteBtn:hover > i{
  color: #ffffffce;
  transition: all .1s linear;
}

.editBtn.accent, .deleteBtn.accent, .editBtn.accent > i, .deleteBtn.accent > i{
  color: #306c98;
  text-decoration: none;
}

.editBtn.accent:hover, .deleteBtn.accent:hover, .editBtn.accent:hover > i, .deleteBtn.accent:hover > i{
  color: #1c4464;
  text-decoration: none;
}

.accent{
  color: #306c98;
}

.bg-accent{
  background: #306c98;
}

.bi-x{
  color: #306c98;
}

.bi-x:hover{
  color: #1c4464;
}


.bi-arrow-left-short{
  color: #306c98;
}

.bi-arrow-left-short:hover{
  color: #1c4464;
}

/* ScrollBar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #1c4464;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #15344d;
}
/* End scrollBar */

.card-el{
  margin-bottom:5px;
}

.card-el-title{
  font-weight: lighter;
  font-size: 14px;
  color: #ffffffce;
}

.card-el-title.accent{
  color: #306c98;
}

.card-el-value{
  margin-top: -5px;
  font-size: 16px;
}

.bottom-pagination{
  display: flex;
  justify-content: end;
  margin: 5px 0px;
  color: white;
  font-size: small;
  align-items: center;
}

.bottom-pagination.accent{
  color: #306c98;
}

.bottom-pagination > a.pagEnabled{
  color: white!important;
}


.bottom-pagination.accent > a.pagEnabled{
  color: #306c98!important;
}

.bottom-pagination > a{
  font-size: smaller;
  width: auto;
  padding: 0px 4px;
  color: #ffffff5e!important;
}

.bottom-pagination.accent > a{
  color: #306c985e!important;
}

.break-line{
  border-top: 1px solid #ca302c;
  margin-top: 0px;
  margin-bottom: 0px;
}
.break-line-fill{
  position:absolute;
  left: -35px;
  right: 0;
  margin: 0 auto;
  border-top: 2px solid #ca302c;
  margin-top: 0px;
  margin-bottom: 0px;
}
.poll-title{
  font-family: Patrick Hand, sans-serif;
  font-weight: bolder;
  font-size: 14px;
}

  /* Style the tab */
  .tab {
  overflow: hidden;
  border-bottom: 1px solid #f0b700;
  background-color: #ffd756;
  margin-top: 10px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 2px 7px;
  transition: 0.3s;
}

.tab button:not(:last-child){
  border-right: 1px solid #f0b700;
  border-radius: 0;    
}

/* Change background color of buttons on hover */
.tab button:hover:not([disabled]) {
  background-color: #f0b700;
}

/* Create an active/current tablink class */
.tab button.active:not([disabled]) {
  background-color: #f0b700;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid  #f0b700;
  border-top: none;
  animation: fadeEffect 0.5s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

.quiz_modif_button{
  border-color: #ca302c;
  background-color: #ca302c;
  font-family: Patrick Hand, sans-serif;
  font-size: 10px;
  outline: none !important;
  border-width: 0px !important;
}


.btn-menu-option{
  background-color: #fff;
  border-color: #ddd;
  }
  
.btn-menu-option:hover {
color: black;
background-color:#ebebeb;
border-color: #ddd;
}
  
.btn-menu-option.active, .btn-menu-option:active, .open>.dropdown-toggle.btn-menu-option {
color: black;
background-color: #ebebeb;
border-color: #ddd;
}
.btn-menu-option.active.focus, .btn-menu-option.active:focus, .option-info.active:hover, .btn-menu-option:active.focus, .btn-menu-option:active:focus, .btn-menu-option:active:hover, .open>.dropdown-toggle.btn-menu-option.focus, .open>.dropdown-toggle.option-info:focus, .open>.dropdown-toggle.btn-menu-option:hover {
color: black;
background-color: #ebebeb;
border-color: #ddd;
}
.btn-menu-option.disabled.focus, .btn-menu-option.disabled:focus, .btn-menu-option.disabled:hover, .btn-menu-option[disabled].focus, .btn-menu-option[disabled]:focus, .btn-menu-option[disabled]:hover, fieldset[disabled] .btn-menu-option.focus, fieldset[disabled] .btn-menu-option:focus, fieldset[disabled] .btn-menu-option:hover {
background-color: #ebebeb;
border-color: #ddd;
}
.btn-menu-option.focus, .option-info:focus {
color: black;
background-color: #ebebeb;
border-color: #ddd;
}



.noHover{
  pointer-events: none;
  background-color: #ca302c;
}

/* The alert message box */
.alert {
  padding: 10px;
  background-color: #f44336; /* Red */
  color: white;
  margin-bottom: 5px;
  opacity: 1;
  transition: opacity 2s;
}

.alert-success {
  padding: 10px;
  display: none;
  background-color: #4CAF50; /* Red */
  color: white;
  margin-bottom: 5px;
}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: black;
}

.navbar-default .navbar-nav>li>a, .navbar-default .navbar-brand {
  color: white;
}

.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-brand:hover{
  color: #dadada;
}  

.navbar-default, .btn, .form-control, .panel {
    border-radius: 0;
}
.navbar-default {
    background-color: rgb(13 110 253);
    border-color: rgba(245, 245, 220, .6);
    box-shadow: 0px 3px 3px 0px #ddd;
}
.navbar-default .navbar-nav>.active>a, 
.navbar-default .navbar-nav>.active>a:focus, 
.navbar-default .navbar-nav>.active>a:hover {
    background-color: rgba(245, 245, 220, .9);
    border-bottom: 4px solid #ddd;
}
.panel-default > .panel-heading {
    color: #333;
    /* background-color: rgba(245, 245, 220, .7); */
    background-color:  #ffd756;
    /* border-color: rgba(245, 245, 220, .6);*/
    border-color: #ca302c;
    border-width: 2px;
    border-top-left-radius: 0;
    border-top-right-radius: 0; 
}
.panel-footer {
    background-color: rgba(245, 245, 220, .5);
    border-color: rgba(245, 245, 220, .4);
}
.panel {
    box-shadow: 0px 3px 3px 0px #ddd;
}

.site-header .navbar-nav .nav-link {
    color: #cbd5db;
}
  
.site-header .navbar-nav .nav-link:hover {
    color: #ffffff;
}
  
.site-header .navbar-nav .nav-link.active {
    font-weight: 500;
}

.poll_textbox{
  background-color: #ffd756;
  resize: vertical;
  outline: none;
  width: -webkit-fill-available;
  border-color: #ca302c;
  border-width: 0px;
}

.poll_longbox{
  border-width: 1px !important;
}

#message {
  left: 0;
  right: 0;
  background: #5bc0de;
  color: white;
  text-align: center;
  line-height: 2.5;
  overflow: hidden;
  -webkit-box-shadow: 0 0 5px #5bc0de;
  -moz-box-shadow:    0 0 5px #5bc0de;
  box-shadow:         0 0 5px #5bc0de;
  }
  
.bi-lightbulb-fill::before{
  margin-bottom:2px;
}

.theme-switcher{
  text-align: right;
  flex-basis: 100%;
}

.card:hover{
  background: hsl(207, 56%, 22%);
}


.addCompanyBtn{
  background: #1c4464;
  color: white;
  border-radius: .25rem;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-left: auto;
  height: 30px;
  font-size: smaller;
  border: none!important;
  transition: all .1s linear;
}

.addCompanyBtn:hover{
  color: white;
  background: hsl(207, 56%, 20%);
}

.popupContainer{
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  top:0;
  left:0;
}

.textInputMh{
  width: 100%;
  background-color: white;
  cursor: text;
  display: block;
  height: 38px;
  /* user-select: none;
  -webkit-user-select: none; */
  width: auto;
  border: 2px #1d4463 solid;
  border-radius: 7px;
  padding: 7px;
  transition: border,color .1s linear;
  outline: none!important;
}

.textInputMh.disabled-white{
  pointer-events: none;
  user-select: none;
  border-color: white;
  background: transparent;
}

.textInputMh:focus-visible{
  border: 2px #306c98 solid;
  border-radius: 7px;
}

label{
  color: #306c98;
}

label.white{
  color: white;
}

.page-cont-padding{
  padding: 20px 40px;
}

.page-menu{
  font-size: larger;
  font-weight: 500;
}

.company-edit-pjax-cont{
  flex: 1 0 auto;
  flex-basis: 0;
  overflow: hidden;
}

.company-edit-fields-cont{
  height: 100%;
  position: relative;
  /* display: flex;
  flex-direction: row; */
  /* flex-direction: column;
  flex-wrap: wrap; */
}

.company-edit-fields-col{
  flex-grow: 1;
  max-width: 30%;
  min-width: 200px;
}

.contact-edit-fields-cont{
  height: 100%;
  position: relative;
  /* border: 2px #306c98 solid; */
  outline-offset: -2px;
  outline: 2px solid #306c98;
  border-radius: 20px;
  padding: 30px;
}

.contact-edit-fields-cont.disabled{
  pointer-events: none;
  cursor: default;
  opacity: 70%;
  user-select: none;
}

.select2.select2-container{
  width: 100%!important;
  margin-top: 5px;
  margin-bottom: 10px;
}

.select2-search__field {
  outline: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  outline: 0;
  border: 2px #1d4463 solid!important;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{
  border-top-left-radius: 7px!important;
  border-top-right-radius: 7px!important;
  border-bottom-left-radius: 0px!important;
  border-bottom-right-radius: 0px!important;
}


.select2-container--default .select2-selection--multiple {
  background-color: white;
  outline: 0;
  cursor: text;
  border: 2px #1d4463 solid!important;
  border-radius: 7px!important;
}

.select2-container--default .select2-selection--single {
  background-color: white;
  outline: 0;
  cursor: text;
  border: 2px #1d4463 solid!important;
  border-radius: 7px!important;
}

.select2-dropdown{
  border: 2px #1d4463 solid!important;
  border-bottom-right-radius: 7px!important;
  border-bottom-left-radius: 7px!important;
}

.btn-accent{
  background: #1c4464;
  color: white;
  border-radius: .25rem;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-right: auto;
  margin-bottom: 15px;
  height: 30px;
  font-size: smaller;
  transition: all .1s linear;
  text-align: center;
  line-height: 26px;
}

.btn-accent:hover{
  color: white;
  background: hsl(207, 56%, 20%);
}

.select2-selection{
  outline: 0!important;
}
.select2-container--default .select2-selection--single {
  height: 38px!important;
  /* border: 1px solid #ced4da!important; */
  /* border-radius: 4px!important; */
  display: flex!important;
  flex-direction: column!important;
  justify-content: center;
}

.select2-container--focus{
  box-shadow: none;
  outline: 0!important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px!important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  height: auto;
}

.text-elipsis{
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

@media only screen and (max-width: 991px) {
  .d-none-md{
    display: none;
  }
}

@media only screen and (max-width: 769px) {
  .navbar-brand{
    font-size: medium!important;
  }
  nav{
    font-size: medium!important;
  }
}

.report-section-title{
  /* justify-content: center; */
  font-size:large;
  font-weight: bold;
  color: #1c4464;
}


.roundedButton {
  border-radius: 30px;
  border: 2px solid #0b092b;
  width: 50px;
  padding: 13px;
  margin-top: -7px;
  cursor: pointer;
}

.roundedButton:hover {
  cursor: default;
}

.roundedButton.download {
  font-size: 40px;
  padding: 0;
  margin: 10px;
  width: 45px;
  height: 45px;
  border: 2px solid #306c98;
  color: white;
  background: #306c98;
  transition: all .3s, opacity .1s linear;
}

.roundedButton.download:hover {
  border: 2px solid hsl(207, 56%, 30%);
  background: hsl(207, 56%, 30%);
  transition: all .3s, opacity .1s linear;
  cursor: pointer;
}

.roundedButton.download::before {
  padding-bottom: 15px;
  padding-left: 1px;
}

.roundedButton.download.disabled {
  opacity: 0.1;
  background: transparent;
  transition: opacity .1s linear;
  cursor: default;
}

#downloadForm{
  height: 100%;
  overflow-y: auto;
}

#downloadForm::-webkit-scrollbar-button:end:decrement {
  height: 20px;
  display: block;
  background: transparent;
}

#downloadForm::-webkit-scrollbar-button:start:increment {
  height: 20px;
  display: block;
  background: transparent;
}

#AdminMenu{
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #306c98;
  color: white;
  border-radius: 10px;
  padding: 20px 15px 20px 15px;
  user-select: none;
  transition: all .1s linear;
}

.AdminMenuItem{
  color: white;
  background: #306c98;
  padding: 3px 10px 3px 10px;
  margin: 2px 0 2px 0;
  border-radius: 5px;
  transition: all .1s linear;
  text-decoration: none;
}

.AdminMenuItem:hover{
  color: #306c98;
}

.AdminMenuItem.active{
  color: #306c98;
}


@media only screen and (min-width: 961px) {
  .admin-container{
    display: flex;
    height: inherit;
    flex-direction: row;
    width: 100%;
  }
  .admin-container > *:nth-child(1){
    width: auto;
  }
  
  .admin-container > *:nth-child(2){
    margin-left: 20px;
    flex: 1;
  }

  .mh-grid-list.admin{
    max-height: calc(100% - 43px);
  }
  
}

@media only screen and (max-width: 960px) {
  .admin-container{
    display: flex;
    height: inherit;
    flex-direction: column;
    width: 100%;
  }
  .admin-container > #pjax-container{
    height: inherit;
  }
  .admin-container > *:nth-child(1){
    width: 100%;
  }
  
  .admin-container > *:nth-child(2){
    margin-top: 20px;
    width: 100%;
  }
  #AdminMenu{
    flex-direction: row;
  }

  .mh-grid-list.admin{
    max-height: calc(100% - 41px);
  }
}

.mouse-disabled{
  pointer-events: none;
}

.saveBtn{
  position: absolute;
  background: #1c4464;
  border-radius: 5px;
  color: white;
  border: none;
  width: auto;
  right: 60px;
  bottom: 30px;
  transition: all .1s linear;
}

.saveBtn:hover{
  background: hsl(207, 56%, 30%);
}

/* Fix select2 multiple with clear all wrap */
.select2-selection__clear ~ .select2-selection__choice:nth-child(2){
  max-width: calc(100% - 30px);
}

#filterForm{
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  margin-right: -40px;
  padding-right: 40px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
  color: white!important;
  background: #1c4464!important;
  border-color: #1c4464!important;
  font-weight: 400!important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
  color: white!important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{
  color: #cecece!important;
}

.copyright-notice{
  padding-top: 7px;
  font-weight: lighter;
  font-size: 11px;
  color: gray;
  font-size:smaller;
  font-weight: 100; 
  display:flex; 
  flex-direction: row; 
  justify-content: center;
}

.copyright-notice > a{
  margin-left: 3px;
  color: gray;
  text-decoration: none;
}

.copyright-notice > a:hover{
  color: darkgray;
}

.modal .modal-header{
  color:hsl(207, 56%, 30%);
}

.modal-header .btn-close{
  color: hsl(207, 56%, 30%);
}

.modal-header .btn-close:hover{
  color:hsl(207, 56%, 22%)
}

.modal .modal-body{
  color: #306c98;
}

.modal .btn-secondary{
  padding: 2px 10px;
  border-radius: 5px;
  border: 0px transparent;
  background: #aeaeae;
  transition: all .1s linear;
}

.modal .btn-secondary:hover{
  background: #bebebe;
}

.modal .btn-primary{
  padding: 2px 10px;
  border-radius: 5px;
  border: 0px transparent;
  background: #306c98;
  transition: all .1s linear;
}

.modal .btn-primary:hover{
  background: #306c98dd;
}