/*
* === HTML Elements ===
*/


#main {
  padding-bottom: 100px;
}

section {
  margin: 3rem 0;
}

*:focus {
  outline: 0 !important;
}

#back-to-top {
  margin: 0;
  position: fixed;
  bottom: 50px;
  right: 0;
  width: 50px;
  height: 50px;
  z-index: 100;
  display: none;
  text-decoration: none;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.1);
}

#back-to-top:hover {
  cursor: pointer;
}

#back-to-top::before {
  content: url('../images/chevron-up.png');
  left: 13px;
  top: 13px;
  position: absolute;
}


/*
* === Typography ===
*/

body {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 300;
}

h1, h2, h3, h4, h5 {
  font-weight: 400;
  letter-spacing: 3px;
}

.font-weight-bold {
  font-weight: 400 !important;
}

/*
* === Header ===
*/


#title {
  padding: 20px 0;
}

#title a {
  color: #000;
  text-transform: uppercase;
}

#title a:hover {
  text-decoration: none;
}

#title .description {
  font-size: 24px;
}


/*
* === Navigation ===
*/


#language-switcher a {
  color: #000;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}

.navbar .nav-link {
  text-transform: uppercase;
  color: rgba(0,0,0,1) !important;
}

.navbar .nav-link:hover {
  color: rgba(0,0,0,.5) !important;
}

@media (max-width: 575px) {
  .navbar {
    padding-left: 0;
  }
  .navbar-nav {
    margin-top: 20px;
  }
}

@media (min-width: 576px) {
  .navbar-nav {
    margin: auto;
  }
}


/*
* === Section ===
*/


section header {
  margin-bottom: 20px;
}

.floater img {
  width: 100%;
}

.floater p {
  margin-bottom: 10px;
}

.floater img.float-right {
  margin: 0 0 10px 10px;
}

.floater img.float-left {
  margin: 0 10px 10px 0;
}

.card {
  overflow: hidden;
}

.card .text-muted {
  color: #cd2b30 !important;
}

@media (max-width: 767px) {
  .col.order {
    display: flex;
    flex-direction: column;
  }

  .col.order img {
    float: none !important;
    margin: 0 0 20px
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 100%;
  }
}

@media (min-width: 768px) {

  .floater img {
    width: 50%;
  }

  .floater img.float-right {
    margin: 0 0 20px 20px;
  }
  
  .floater img.float-left {
    margin: 0 20px 20px 0;
  }

  .floater img.vertical {
    width: 25%;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  .floater img {
    width: 30%;
  }
}

@media (min-width: 1200px) {
  .container {
      max-width: 1140px;
  }
}

@media (max-width: 767px) {
  .floater img.vertical {
    width: 30%;
  }
}


/*
* === Card ===
*/


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

.card .text-muted {
  color: #cd2b30 !important;
}

.card-text:last-child {
  margin-top: auto;
}


/*
* === Flags ===
*/


.flag {
  display: inline-block;
  vertical-align: baseline;
  width: 14px;
  height: 10px;
  margin-right: 3px;
  background: url('../images/flags.png') no-repeat;
}

.flag.flag-es {
  background-position: 0 -11px;
}

.flag.flag-au {
  background-position: 0 0;
}

.flag.flag-catalonia {
  background-position: -16px 0;
}