/* ******************************************** */
/* Errors form, user id:
      views/shared/_flash.html.erb
*/
.alert-danger,
.alert-notice {
  padding: 16px;
  color: white;
  width: 88%;
  border: var(--grey);
  border-radius: 15px;
  margin: auto;
  text-align: center;
  font-size: 18px;
}

.danger-color {
  background-color: var(--danger);
}

.notice-color {
  background-color: var(--success);
}

.closebtn {
  margin-left: 15px;
  color: var(--white);
  ;
  font-weight: bold;
  float: right;
  font-size: 20px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: var(--black);
  ;
}

/* ******************************************** */
/* Errors form, user id:
      views/shared/_form_errors.html.erb
*/
.errors-area {
  background-color: #ffe6e6;
  border: 1px solid red;
  padding: 12px 8px;
}

/* ******************************************** */
/* Side section:
        views/shared/_left.html.erb
*/
.side-int {
  position: -webkit-sticky;
  position: sticky;
  top: 70px;
}

/* ******************************************** */
/* Navegación usando flexbox:
      views/layouts/shared/_navbar.html.erb
*/
.fc-main-navbar {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary);
}

.item {
  text-align: center;
  height: 70px;
  line-height: 70px;
  padding: 0px 24px;
}

.item2 {
  flex-grow: 2;
}

.fc-nowrap-v-center {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.form-input {
  width: 100%;
  padding: 8px;
  display: inline-block;
  border: none;
  background: var(--lightgrey);
}

@media screen and (max-width: 820px) {
  .fc-main-navbar {
    flex-direction: column;
    height: 210px;
  }

  .item {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--black);
  }
}

/* Navigation links */
.item a {
  color: var(--white);
}

/* Make button_to inline */
.button_to {
  display: inline;
}

.button_to div {
  display: inline;
}