﻿.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5 {
  color: white;
  font-weight: 400;
}

h1 {
  font-size: 2em;
  font-weight: 500;
}

h2 {
  font-size: 1.3em;
  font-weight: 500;
}

h3 {
  font-size: 1.2em;
  font-weight: 500;
}

h4 {
  font-size: 1.0em;
}

h5 {
  font-size: 1.0em;
}

.card-header h1 {
  font-size: 1.1em;
  margin-bottom: 0px;
  line-height: 1.3em;
}

.card-header h2, .card-header h3 {
  font-size: 1.0em;
  margin-bottom: 0px;
}

.card-body h2, .card-body h3, .card-body h4 {
  font-size: 1.0em;
  font-weight: 700;
}

select {
  -webkit-appearance: none;
}

/* COMPONENTS */
.section {
  border-bottom: 1px solid #EAEAEA;
}

#placesContent .row, .placesContent .row {
  border-bottom: 1px solid #EFEFEF;
}

  #placesContent .row:last-of-type, .placesContent .row:last-of-type {
    border-bottom: 0px !important;
  }

.form-control-xlg {
  font-size: 2.8rem;
  padding: 2px 10px;
  text-align: center;
}

.costCommands {
  position: absolute;
  width: 90%;
  margin-top: -48px;
}

.shadowed-box {
  box-shadow: 0 2px 4px rgba(0,0,0,0.2),0 -1px 0px rgba(0,0,0,0.02) !important;
  border-radius: .3rem;
}

.input-group-vertical {
  box-sizing: inherit;
}

  .input-group-vertical .form-control {
    border-radius: 0;
  }

  .input-group-vertical .form-group {
    margin-bottom: 0;
  }

    .input-group-vertical .form-group:not(:last-child) .form-control:not(:focus) {
      border-bottom-color: transparent;
      margin-bottom: -1px;
    }

    .input-group-vertical .form-group:first-child .form-control {
      border-top-left-radius: 3px;
      border-top-right-radius: 3px;
    }

    .input-group-vertical .form-group:last-child .form-control {
      border-bottom-right-radius: 3px;
      border-bottom-left-radius: 3px;
      top: -2px;
    }


/* enable absolute positioning */
.inner-addon {
  position: relative;
}

  /* style icon */
  .inner-addon .fa {
    position: absolute;
    padding: 12px 15px;
    height: 100%;
    font-size: 1.2rem;
  }

    .inner-addon .fa:hover {
      text-decoration: none;
    }

/* align icon */
.left-addon .fa {
  left: 0px;
}

.right-addon .fa {
  right: 0px;
}

/* add padding  */
.left-addon input {
  padding-left: 40px;
}

.right-addon input {
  padding-right: 40px;
}

.modal-dialog {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: auto;
}

@media(max-width: 768px) {
  /*.modal-dialog {
    min-height: calc(100vh - 20px);
  }*/
}

/* HELPERS */
.no-paddding {
  padding: 0px;
}

.vertically-aligned {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

/* PRIMARY COLOR #0097A9/#008999 */
a {
  color: #0097A9;
}

  a:hover {
    color: #008999;
  }

.text-primary {
  color: #0097A9 !important;
}

a.text-primary:focus, a.text-primary:hover {
  color: #008999 !important;
}

.bg-primary {
  background-color: #0097A9 !important;
}

  .bg-primary .btn-outline-light:hover {
    background-color: #008999;
  }

input[type=text]:active, input[type=text]:focus {
  border-color: #0097A9;
}

.btn-outline-primary {
  border-color: #0097A9 !important;
  color: #0097A9;
}

  .btn-outline-primary:hover {
    background-color: #0097A9 !important;
  }

  .btn-outline-primary:focus, .btn-outline-primary:active {
    box-shadow: 0 0 0 3px rgba(0, 151, 169, .5) !important;
    border-color: #0097A9 !important;
  }

a.btn-outline-primary:hover {
  color: white !important;
}

.btn-primary {
  background-color: #0097A9 !important;
  border-color: #008999 !important;
}

  .btn-primary:hover {
    background-color: #008999 !important;
    border-color: #008999 !important;
  }

  .btn-primary:focus, .btn-primary:active {
    box-shadow: 0 0 0 3px rgba(0, 151, 169, .5) !important;
    border-color: #008999 !important;
  }

a.btn-primary:hover {
  color: white !important;
}

.btn-outline-secondary {
  border-color: rgba(0,0,0,.15);
}

  .btn-outline-secondary:hover {
    background-color: inherit;
    color: inherit;
  }

.alert-primary {
  background-color: #0097A9 !important;
  border-color: #008999 !important;
  color: white !important;
}

.bg-primary .card-header-tabs .nav-link:hover {
  background-color: #008999;
}

.bg-primary .card-header-tabs .nav-link {
  color: white;
}

  .bg-primary .card-header-tabs .nav-link.active {
    color: #0097A9;
    font-weight: bold;
  }

    .bg-primary .card-header-tabs .nav-link.active:hover {
      background-color: white;
    }

.dropdown-item.active, .dropdown-item:active {
  background-color: #0097A9;
  color: white !important;
}

  .dropdown-item.active a, .dropdown-item:active a {
    color: white !important;
  }

.popover {
  background-color: #0097A9;
}

  .popover .popover-body {
    color: white;
  }

  .popover .arrow::after {
    border-bottom-color: #0097A9 !important;
  }

.text-green {
  color: #0097A9 !important;
}

.text-orange {
  color: #6FD7E2 !important;
}

.text-red {
  color: #C0C0C0 !important;
}


/* DARK color */
/*.bg-dark {
  background-color: #808080 !important;
}*/
.bg-secondary {
  background-color: #808080 !important;
}

/* LINE HEIGHT */

.text-lh-10 {
  line-height: 1;
}

.text-lh-11 {
  line-height: 1.1;
}

.text-lh-12 {
  line-height: 1.2;
}

.text-lh-13 {
  line-height: 1.3;
}

.text-lh-14 {
  line-height: 1.4;
}

.text-lh-15 {
  line-height: 1.5;
}

.text-lh-19 {
  line-height: 1.97;
}

.text-lh-20 {
  line-height: 2.0;
}

/* FONT SIZE */
.font-s-07r {
  font-size: 0.7rem;
}

.font-s-08r {
  font-size: 0.8rem;
}

.font-s-09r {
  font-size: 0.9rem;
}

.font-s-10r {
  font-size: 1rem;
}

.font-s-11r {
  font-size: 1.1rem;
}

.font-s-12r {
  font-size: 1.2rem;
}

.font-s-13r {
  font-size: 1.3rem;
}

.font-s-14r {
  font-size: 1.4rem;
}

.font-s-15r {
  font-size: 1.5rem;
}

.font-s-16r {
  font-size: 1.6rem;
}

.font-s-17r {
  font-size: 1.7rem;
}

.font-s-18r {
  font-size: 1.8rem;
}

.font-s-19r {
  font-size: 1.9rem;
}

.font-s-20r {
  font-size: 2rem;
}
