/*!
 * Start Bootstrap - Shop Homepage (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,700');

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  background-color: #47555e;
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  position: relative;
}

h1 {
  font-size: 1.3em;
  color: #1762a7;
}

h2,
h3 {
  font-size: 1em;
  color: #5e83a5;
  line-height: 1.6em;
}

h2::before {
  border-style: solid;
  border-width: 0.15em 0.15em 0 0;
  content: '';
  display: inline-block;
  height: 0.5em;
  left: 0.15em;
  position: relative;
  top: 0.5em;
  transform: rotate(45deg);
  vertical-align: top;
  width: 0.5em;
  margin-right: 1em;
}

li {
  font-size: 0.8em;
}

thead {
  color: #1762a7;
  font-size: 12px;
}

table tr td {
  font-size: 0.8em;
}

.table thead th {
  font-weight: 500;
}

i {
  margin: 5px;
}

td:last-child {
  min-width: 100px;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #7aa7e40d;
}

.dropdown-menu {
  background-color: #47555e;
  border: none;
  padding: 0;
}

.dropdown-item {
  font-size: 0.8rem;
  color: #f9fcff;
  border: none;
}

.dropdown-item::before {
  border-style: solid;
  border-width: 0.15em 0.15em 0 0;
  content: '';
  display: inline-block;
  height: 0.45em;
  left: -5px;
  position: relative;
  top: 6px;
  transform: rotate(45deg);
  vertical-align: top;
  width: 0.45em;
}

.header-title {
  width: 100%;
  background-color: #f6f8f9;
  margin: 0 0 1.5em 0;
  padding: 2em 2em 1em 2em;
  overflow: hidden;
}

.header-title h1,
.header-title h2,
.header-title span {
  float: left;
  margin-right: 5px;
}

.header-title img {
  margin-top: -20px;
}

.btn-logout,
.btn-action {
  color: white;
  background-color: #1762a7;
  padding: 0.55rem 1.3rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  outline: none;
  border: none;
  cursor: pointer;
}

.btn-action {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

main {
  min-height: 90vh;
  background-color: #fff;
  padding-bottom: 3em;
}

.login-content {
  max-width: 320px;
  margin: auto;
}

.login-content .rounded {
  border: 1px solid #d7dbde;
}

.main-section {
  align-items: center;
  justify-content: space-around;
  flex-grow: 1;
  clear: both;
  padding-bottom: 3em;
}

.main-section .covers-image {
  width: 60vw;
  height: auto;
}

a {
  color: #0889c6;
}

a:hover {
  color: #1c698c;
}

.text-small {
  font-size: 0.7em;
}

.card {
  border-color: #e8ecee;
  box-shadow: 0 1px 4px 0 #151b2614;
  min-height: 230px;
}

.card:hover {
  border-color: #cbd4db;
  box-shadow: 0 1px 4px 0 #151b261a;
}

.card-header,
.card-footer {
  background-color: transparent;
  border: 0;
}

.card h5 {
  font-size: 1rem;
  min-height: 2.8em;
}

.btn-logout:hover {
  color: white;
  background-color: #0f5474;
}

.bg-night {
  background-color: #2d6497;
  border: 2px solid #0f5474;
}

.bg-success {
  background-color: #1bbc9b !important;
}

.bg-warning {
  background-color: #f4d03f !important;
}

.text-purple {
  color: #4b1064;
}

.btn-success {
  background-color: #0e6662;
  border-color: #0e6662;
}

.btn-success:hover {
  background-color: #0bb7af;
  border-color: #0bb7af;
}

.badge-warning {
  color: #603b06;
}

footer {
  height: 70px;
  background-color: #202027;
  font-size: 0.7rem;
  position: absolute;
  bottom: 0;
  color: white;
}

footer .container {
  display: flex;
  justify-content: space-between;
}

@media only screen and (max-width: 768px) {

  .main-section .covers-image {
    margin-top: 2rem;
    height: 30vh;
    width: auto;
  }

  .navbar-toggler {
    position: absolute;
    right: 0;
    top: 17px;
  }

  h1 {
    font-size: 1em;
  }

  h2 {
    font-size: 0.75em;
  }

  .header-title img {
    margin-top: 0;
    margin-right: -10px;
  }

  .float-sm-none {
    float: none !important;
  }

}
