html, body{
  width: 100%;
  height: 100%;
}

.collapsed > .glyphicon-menu-up {
  transform: rotate(180deg);
}

form.custom{
  flex-wrap: wrap;
}

form.two-columns .form-group {
   width: calc(50% - 10px);
   padding: 0px 10px;
}

form.two-columns .form-group > input, form.two-columns .form-group > select, form.two-columns .form-group > textarea{
  max-width: 100%;
  width: 100%;
}

form.two-columns .form-group > label, form.two-columns .form-group > input[type='checkbox'] {
  width: auto;
}

 form.two-columns .form-group > input[type='checkbox'] {
  margin-left: 10px;
 }

 form.two-columns .form-group > label {
  min-width: 400px;
 }

form .form-group *[readonly] {
  pointer-events: none;
}

.required:after {
  content:"*";
  color:red;
  margin-left: 5px;
  height: 20px;
  font-size: 22px;
  position: absolute;
  right: 0;
  top: 30px;
}

.form-group {
  position: relative;
}

.help {
  color: #737373;
}

.has-error label{
  color: red;
}

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

.errorlist {
  color: red;
}

textarea.form-control {
  height: 100px;
}

.z-1000 {
  z-index: 1000;
}

.badge-info {
  background-color: #3a87ad;
}

.badge-success {
  background-color: #468847;
}

.badge-warning {
  background-color: #f89406;
}

.badge-danger {
  background-color: #b94a48;
}

.badge-medium {
  width: 90px;
  padding: 4px;
}

#app {
  min-height: 100%;
}

.bold {
  font-weight: bold;
}

.container {
  max-width: 1600px;
  width: 100%;
}

.grow {
  flex-grow: 1;
}

.bg-red{
  background-color: #c33;
}

.bg-green{
  background-color: #CCFFCC;
}

.bg-blue{
  background-color: #CCFFFF;
}

.bg-yellow{
  background-color: #FFFFCC;
}

.bg-gray{
  background-color: #DDD;
}

.pagination>li>span {
  min-height: 37px;
}

.column {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-around {
  justify-content: space-around;
}

#js-alert {
  display: none;
}

.captcha {
  border-radius: 4px;
 }

.h-100 {
  height: 100%;
}

.w-100 {
  width: 100%!important;
}

.w-60 {
  width: 60%!important;
}

.w-40 {
  width: 40%!important;
}

.w-50 {
  width: 50%!important;
}

.ml-1 {
  margin-left: 10px;
}

.ml-auto {
  margin-left: auto;
}

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-45 {
  margin-top: 45px;
}

.mt-auto {
  margin-top: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.mb-0{
  margin-bottom: 0px!important;
}

.mb-1{
  margin-bottom: 10px!important;
}

.mb-2{
  margin-bottom: 20px!important;
}

.mw-200{
  min-width: 200px;
}

.mw-150{
  min-width: 150px;
}

.pt-2{
  padding-top: 20px;
}

.pt-1{
  padding-top: 10px;
}

.py-1{
  padding-top: 10px;
  padding-bottom: 10px;
}

.br-5{
  border-radius: 5px;
}

.mr-1 {
  margin-right: 10px;
}

.d-block {
  display: block;
}

#main .alert, #message-modal {
  margin-top: 20px;
}

#message-modal{
  display: none;
  position:fixed;
  left:calc(50% - 200px);
  top: 35%;
  width: 400px;
  min-height: 100px;
  font-size: 25px;
  background-color: white;
  border-radius: 5px;
  border: solid 4px #eee;
  padding: 20px;
  text-align: center;
}

.alert {
  transition: opacity 1s ease-out;
}

.captcha {
  margin-left: 20px;
}

input[type="checkbox"] {
  box-shadow: none;
}

#registrations_table tr td{
  height: 48px;
  word-wrap: break-word;
}

#registrations_table .similar-count.collapsed .glyphicon-menu-up {
  transform: rotate(180deg);
}

#main-nav {
  height: 50px;
  min-height: 50px;
  border-bottom: solid green 4px;
  position: fixed;
  width: 100%;
  right: 0;
  z-index: 150;
}

#main-nav .dropdown-menu {
  right: 0;
  left: initial;
}

.dropdown, .dropdown-menu {
  background: #222;
}


@media (min-width: 767px){
  .dropdown.open .right-menu, .dropdown:hover .right-menu{
    border: none;
    left: calc(100% + 4px);
    top: 0;
    margin-top: 0;
    padding: 0;
    display: table;
  }
  .dropdown.open:after, .dropdown:hover:after {
    border-right: none!important;
  }
  .mw-md-600{
    max-width: 600px;
  }
}


@media (max-width: 768px){
  #app header {
    position: inherit;
    margin-top: 50px;
    z-index: 200;
  }

  form.two-columns .form-group {
    width: calc(100% - 10px);
    padding: 0px 10px;
  }

  .mw-sm-400{
    max-width: 400px;
  }

  #main {
    width: 100%;
    position: absolute;
    padding-top: 30px;
  }

  #main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .navbar-header {
    margin-top: -52px;
  }

  .dropdown-menu {
    margin-right: -9px;
  }
  .dropdown.open:after {
    border-right: none!important;
  }

  .sm-overflow-scroll {
    overflow-x: scroll;
  }
}

.right-menu, .nav-item {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.right-menu, .right-menu .nav-item:first-child {
  border-top-right-radius: 5px!important;
}

.right-menu, .right-menu .nav-item:last-child {
    border-bottom-right-radius: 5px!important;
}

.right-menu .nav-item:first-child{
  margin-top: 0px;
}

.dropdown-menu > li > a {
  color: #999;
}

.dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav > .open > a{
  background-color: transparent!important;
}

.inline-block{
  display: inline-block;
}

.navbar-top {
  z-index: 200;
}

.nav-title{
  height: 50px;
  min-height: 50px;
  font-size: 20px;
  color: #FFF;
  padding-top: 10px;
  text-align: center;
  border-bottom: solid 4px green;
  position: fixed;
  width: 160px;
  z-index: 900;
  background: #222;
}

.btn-link.text-danger {
  color: #a94442;
}

@media (max-width: 767px) {
  .opacity-0-xs {
    opacity: 0;
  }
  #navbar.collapse.in{
    display: none!important;
  }
}

@media (min-width: 767px) and (min-height: 770px) {
  ul.navbar-nav{
    position: fixed;
    background: #222;
    margin-top: 50px;
    width: 160px;
  }
  #navbar {
    width: 160px;
  }
}

#navbar {
  padding: 0px;
  display: flex!important;
  z-index: 3;
}

#navbar ul {
  text-align: right;
  height: 100%;
}

#navbar > ul {
  padding-top: 15px;
}

.navbar-nav > li > a {
  line-height: 100%;
  display: inline-block;
  padding: 5px;
}

.navbar-nav {
  margin: auto;
  margin-top: 50px
}

.navbar-toggle{
  position: absolute;
  z-index: 200;
  left: 10px;
}

.nav-item.active > a {
  color: white;
  background-color: transparent!important;
}

.nav-item {
  border-right: transparent solid 4px;
  position: relative;
  font-size: 14px;
  padding: 7px 5px;
  background-color: #222;
}

.navbar-nav li a{
    padding-right: 11px;
    white-space: nowrap;
}

.nav-item.active:after {
  display: block;
  content: '';
  position: absolute;
  border-right: blue solid 4px;
  width: 4px;
  right: -2px;
  height: 39px;
  top: 0;
}



.dropdown-menu {
  min-width: 100px;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus{
  color: #FFF;
}


.nav-item:hover{
  background-color: #333;
}

select {
  -webkit-appearance: none;
}

/* PAGINATION */
.paginator_form input {
    border: none;
    background: none;
}

.form-control[type='checkbox']{
  width: 20px;
  display: inline;
  vertical-align: middle;
}

.opacity-0{
  opacity: 0;
}

.box-shadow-drop {
  box-shadow: 0 1px 1px #999;
}

form:not(.custom) .form-control{
  width: 100%;
}

.form-spacer {
  display: none;
}

.previously-spoken {
  background-color: #FF2222!important;
  color: #FFF;
}

.panel-default > .panel-heading .badge-success {
  color: #fff;
  background-color: #468847;
}

.panel-default > .panel-heading .badge-danger {
  color: #fff;
  background-color: #b94a48;
}

.panel-default > .panel-heading .badge-info {
  color: #fff;
  background-color: #3a87ad;
}


div.merge-field {
  padding-top: 10px;
  padding-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
}