/*
tr {
  padding: 8px !important;
}

td, th {
  padding: 4px !important;
}
*/

.linked {
  cursor: pointer;
}

.linked:hover {
  background-color: rgba(200, 200, 200, 0.75);
}

.d-flex {
  display: flex;
  flex-direction: row !important;
}

.fa-button, .fa-button > i {
  position: relative;
  width: 24px !important;
  height: 24px !important;
  padding: 0px !important;
}

.flex-fill {
  flex-grow: 1 !important;
}

.flex-row {
  flex-direction: row !important;
}

.flex-row-reverse {
  flex-direction: row-reverse !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.align-items-center {
  align-items: center;
}

.profile_profile_picture {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 100px;
  transition-property: all;
  transition-duration: 0.7s;
}

.profile_profile_picture:hover {
  border-top: 0.1px solid gray;
  border-bottom: 0.1px solid gray;
  cursor: pointer;
}

.reserved-area-page-grid {
  --unit-width: calc(100% / 3);
  display: grid;
  grid-template-columns: var(--unit-width) calc(var(--unit-width) * 2);
  grid-template-rows: 75vh;
}

.reserved-area-page-grid > .nav {
  grid-area: 1/1/-1/2;
}

.reserved-area-page-grid > .content {
  grid-area: 1/2/-1/-1;
}

.messaging-container > .chat{
  z-index: -1;
}

.messaging-container > .compose {
  z-index: 1;
}

.bottom-0 {
  bottom: 0;
  z-index: 1;
}

#events {
  width: 100%;
}

#modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(200, 200, 200, 0.75);
  z-index: 10000;
}

.modal {
  z-index: 999999 !important;
}

.assofacile_event_modal {
    margin: auto;
    max-height: 90vh;
    max-width: fit-content;
    overflow: scroll;
    z-index: 100;
    opacity: 1 !important;
    padding: 20px;
    margin-top: 50px;
}

#modalClose {
  position: fixed;
  max-width: 36px;
  max-height: 36px;
  top: 24px;
  right: 24px;
  cursor: pointer;
}

/* chat container */
.chat {
  display: flex;
  flex-direction: column;
}

/* chat elements */
.bubble {
  position: relative;
  font-size: 18px;
  line-height: 24px;
  width: 45%;
  border-radius: 40px;
  margin-bottom: 30px;
}

.bubble-sent {
  background-color: #0d6efd;
  color: white;
  align-self: flex-start;
}

.bubble-received {
  background-color: #0dcaf0;
  color: black;
  align-self: flex-end;
}

.bubble-sent:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-right: 24px solid #0d6efd;
  border-left: 12px solid transparent;
  border-top: 12px solid #0d6efd;
  border-bottom: 20px solid transparent;
  right: 10%;
  bottom: -24px;
  transform: rotate(-10deg);
}

.bubble-received:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 24px solid #0dcaf0;
  border-right: 12px solid transparent;
  border-top: 12px solid #0dcaf0;
  border-bottom: 20px solid transparent;
  left: 10%;
  bottom: -24px;
  transform: rotate(10deg);
}

.text-decoration-none {
  text-decoration: none;
}

@media (max-width: 576px) {
  .reserved-area-page-grid {
    --unit-width: calc(100% / 3);
    grid-template-columns: 100%;
    grid-template-rows: auto;
  }

  .reserved-area-page-grid > .nav {
    grid-area: unset;
    margin-bottom: 20px;
  }

  .reserved-area-page-grid > .content {
    border-top: 2px solid gray;
    grid-area: unset;
  }

  .messaging-container {
    height: 75vh;
    overflow: auto;
  }

  .assofacile_event_modal {
    max-width: 90vw !important;
    width: 90vw !important;
    left: 5vw !important;
  }
}


/* New Layout  */


.assofacile-box {
  width: 100%;
  max-width: 1200px;
  padding: 0px 15px;
  background: white;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 1px 1px 12px 2px #c3c3c3;
}

/* Navbar */ 
@media (min-width: 768px) {
  .sidebar-nav .navbar .navbar-collapse {
    padding: 0;
    max-height: none;
  }
  .sidebar-nav .navbar ul {
    float: none;
    display: block;
  }
  .sidebar-nav .navbar li {
    float: none;
    display: block;
  }
  .sidebar-nav .navbar li a {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* Chat */

img{ max-width:100%;}

.incoming_msg_img {
  display: inline-block;
  width: 6%;
}
.received_msg {
  display: inline-block;
  padding: 0 0 0 10px;
  vertical-align: top;
  width: 92%;
 }
 .received_withd_msg p {
  background: #ebebeb none repeat scroll 0 0;
  border-radius: 3px;
  color: #646464;
  font-size: 14px;
  margin: 0;
  padding: 5px 10px 5px 12px;
  width: 100%;
}
.time_date {
  color: #747474;
  display: block;
  font-size: 12px;
  margin: 8px 0 0;
}
.received_withd_msg { width: 80%;}
.mesgs {
  float: left;
  padding: 30px 15px 0 25px;
  width: 100%;
  margin-bottom: 20px;
}

 .sent_msg p {
  background: #05728f none repeat scroll 0 0;
  border-radius: 3px;
  font-size: 14px;
  margin: 0; color:#fff;
  padding: 5px 10px 5px 12px;
  width:100%;
}
.outgoing_msg{ overflow:hidden; margin:26px 0 26px;}
.sent_msg {
  float: right;
  width: 80%;
}
.input_msg_write input {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  color: #4c4c4c;
  font-size: 15px;
  min-height: 48px;
  width: 100%;
}

.messaging { padding: 0 0 50px 0;}
.msg_history {
  max-height: 516px;
  overflow-y: auto;
}

/* Forms */

.bootstrap-iso label {
  font-size: 0.8em;
  font-weight: 400 !important;
}

.bootstrap-iso .tab-profile .form-control {
  max-width: 350px;
}

.bootstrap-iso .navbar-default .navbar-nav > li > a {
  font-size: 0.9em !important;
}

#threads {
  max-height: 300px !important;
  overflow-y: auto;
}

/* General */

.align-right {
  float: right;
}

.space-10 {
  height: 10px;
}

/*  Tables */
.bootstrap-iso table td, .bootstrap-iso table th {
  border: 0;
    border-top: 1px solid #bdbdbd;
    padding: 10px;
}

.bootstrap-iso table {
  font-size: 14px;
}

.bootstrap-iso .badge {
  line-height: unset;
  border-radius: 15px;
}


/* Communications */
.communication-row {
  padding: 5px;
  align-items: top;
  font-size: 14px;
  border-bottom: 1px solid #e6e6e6;
}

#events_events {
  max-width: 80%;
}

#events_errorContainer {
  width: 80%;
  margin: auto;
  margin-bottom: 10px;
}