@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

body {
  font-family: "Roboto", sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "roboto", sans-serif;
}

/* ============ refactorizando estilos bootstrap ============ */
.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
 justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.w-full {
  width: 100%;
}

.m-auto {
 margin: auto;
}

.mr {
  margin-right: 6px;
}

.container_panel {
  box-shadow: 0px 0px 3px 0px rgba(112,112,112,1);
}

.btn-blue {
  background-color: #0073b7 ;
  color: white;
}

.shadow {
  box-shadow: #091e4240 0 4px 8px -2px, #091e424f 0 0 1px !important;
}

.divider {
  border-bottom: 2px solidrgba(255, 255, 255, 0.466)f;
  background-color: #dadada;
  height: 2px;
  margin: 0.5em 0px 1.5em;
}

.small-box {
  border-radius: 7px;
}

.beat {
  display: inline-block;
  animation: beat 1.3s infinite;
  transform-origin: center;
}
.beat_2 {
  display: inline-block;
  animation: beat2 1.1s infinite;
  transform-origin: center;
}

@keyframes beat {
  from { transform: scale(1); }
  50% { transform: scale(1.03); }
  to { transform: scale(1); }
}
@keyframes beat2 {
  from { transform: scale(1); }
  50% { transform: scale(1.1); }
  to { transform: scale(1); }
}



.modal-content {
  border-radius: 8px !important;
}

.modal_form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal_form .modal-footer {
  width: 100%;
  justify-self: flex-end;
}

.modal_form .input-group-addon {
  border: none !important;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {

  vertical-align: middle;
}

table td input, table td select {
  display: block;
  width: fit-content !important;
  min-width: fit-content;
  height: 38px;
  padding: 3px 6px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc !important;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
       -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
          transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;

}

table td {
  padding: 0.75rem;
  font-size: 16px;
  font-weight: 600;
}

table td input:focus,  table td select:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

table td input[type="button"] ,table td button{
 background-color: #3c8dbc;
 opacity: 1;
 color: white;
 border: none !important;
}

table td input[type="button"]:hover, table td button:hover {
 opacity: .9;
}

.spacer {
  flex: 1 auto;
}

.fadeIn {
  animation-duration: 2s;
  animation-fill-mode: both;
  animation-name: fadeIn;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
/* ===================================================================== */

/* ============ Login ============ */
.login-box {
  background-image: url(/images/wave.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}

.login-logo {
  font-size: 35px;
  text-align: center;
  margin: 0;
  margin-top: 45px;
  font-weight: 300;
}
.login-logo .login_img {
  width: 235px;
  height: auto;
}
.login-logo h2 {
  font-size: 35px;
  text-align: center;
  color: white;
  display: flex;
  gap: 1rem;
}

.login-box-body {
  width: 350px;
  border-radius: 8px;
  min-height: 350px;
  text-align: center;
  box-shadow: #091e4240 0 4px 8px -2px, #091e424f 0 0 1px !important;
}
.login-box-body,
.form-control {
  border-radius: 8px;
  padding: 2.5rem;
  justify-content: space-around;
  display: flex;
  flex-direction: column;
}

.login-box-title {
  font-size: 28px;
  font-weight: 600;
}

.login-box-body .form-control-feedback {
  bottom: 0;
  top: 0;
  right: 5px;
  margin: auto;
}
.login-box-body .form-control-feedback i {
  font-size: large;
}

.form-control {
  padding-right: 42.5px;
  color: #002f23;
  font-size: 18px;
  font-weight: 600;
}

.login_btn {
  color: #ffffff;
  background-color: #b70f0c;
  font-size: 19px;
  border: 1px solid #8e0a08;
  border-radius: 5px;
  padding: 10px 50px;
  cursor: pointer;
  width: 100%;
  margin-top: 2rem;
}

.login_btn:hover {
  color: white;
  background-color: #540202;
}

@media only screen and (max-width: 769px) {
  .login-box {
    background-size: cover;
  }
}

/* ============ Metas del mes ============ */
.metas__container {
  background-color: white !important;
}

.metas__container .row {
  width: 100%;
  gap: 20px;
}

.metas_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.metas_title {
  font-size: 38px;
  font-weight: 600;
}
.metas_date {
  color: #6F6F72;
  font-size: 28px;
  font-weight: 600;
}

.content__icon-user {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: inherit;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.user__icon {
  font-size: 3rem;
  color: #b8c7ce;
}

.pull-left > .info {
  padding: 0 !important;
}

.inicio__icon {
  margin-right: 1rem;
}
.icon_user_menu {
  color: white;
  font-size: 3rem;
}

.sidebar-menu li a {
  display: flex;
  gap: 1rem !important;
  align-items: center;
}

.sidebar-menu li a span {
  font-size: 16px !important;
}

.container_goals {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.goals_table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  box-shadow: #091e4240 0 4px 8px -2px, #091e424f 0 0 1px !important;
}

.goals_table th {
  font-size: 14px;
  height: 50px;
  background-color: #00a65a;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  outline: 1px solid #00a65a;
}

.view__historial th {
  background-color: #999 !important;
  outline: 2px solid #999 !important;
}

.view__historial td {
  background-color: #d3d3d3;
  outline: 1px #a3a3a3 solid;
}

.goals_table th,
.goals_table td {
  padding: 10px;
  text-align: center;
}

.goals_table td {
  padding: 3px;
  border: 1px solid #a9a9a9;
  text-align: center;
  vertical-align: middle;
}
.goals_table td p {
  flex-wrap: nowrap;
  text-align: center;
  margin: 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: #4b4b4b;
}
.goals_table td .value::before,
.collection_table td .value::before {
  content: "$";
}
.goals_table td .percent::after,
.collection_table td .percent::after {
  content: "%";
}

.goals_table tr:hover {
  background-color: #1f183630;
}

.row_total {
  background-color: #3570b9;
  color: white !important;
}
.row_total:hover {
  background-color: #3570b9 !important;
}

.row_total td  {
  padding: 10px 0;
}
.row_total td p {
  color: white !important;
}

.row_total.view__historial_total td {
  background-color: #999;
}

.container_adviser_img {
  background-color: #ecf0f5;
  border-radius: 7px 7px 0 0;
  text-align: center;
}

.content_adviser_img {
  border: 2px solid;
  color: #fff;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  display: inline-block;
}
.adviser_img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.collection_table {
  width: 480px;
  justify-self: center;
}

.collection_table th {
  height: 50px;
  background-color: #00a65a;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  outline: 1px solid #00a65a;

}

.collection_table th,
.collection_table td {
  padding: 15px;
  text-align: center;
}
.collection_table td {
  padding: 10px;
  border: 1px solid #a9a9a9;
  text-align: center;
  vertical-align: middle;
}
.collection_table td p {
  flex-wrap: nowrap;
  text-align: center;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #4b4b4b;
}

/* ======== footer ========= */
.main-footer {
  display: flex;
  justify-content: space-around;
}




.sidebar-collapse .btn_edit_foto {
  display: none !important;
}

.sidebar-collapse .perfil_foto {
  width: 30px !important;
  height: 30px !important;
}


/*=========  timelines =========   */

.timeline_form{
  width: 100%;
  max-width: 800px;
  color:#1e1e1e;
  padding:20px 10px;
}
.timeline_form ul{
  list-style-type:none;
  border-left:2px solid #094a68;
  padding:10px 5px;
}
.timeline_form ul .container_timeline{
  padding: 15px 20px;
  position:relative;
  border-radius: 7px;
  margin-bottom: 5px;
  background: white;
  box-shadow: #091e4240 0 4px 8px -2px, #091e424f 0 0 1px !important;
  transition:.5s;
}
.container_time {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding-bottom: 6px;
  align-items: center;
}
.timeline_form ul li .date{
  display:inline-block;
  border-radius:7px;
  padding:2px 5px;
  font-size:15px;
  text-align:center;
  background-color: #222d32;
  color: white;
  padding: 5px 7px;
}

.timeline_form ul li .time{
  color: gray;
}
.timeline_form ul li .usuario{
  font-size:17px;
  padding-top:7px;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
}
.timeline_form ul li .content_timeline {
  padding-top: 12px;
}
.timeline_form ul li .content_timeline .obs{
  font-size:14px;
}
.timeline_form ul li:before{
  position:absolute;
  content:'';
  width:10px;
  height:10px;
  background-color:#34ace0;
  border-radius:50%;
  left:-11px;
  top:28px;
  transition:.5s;
}

@media (max-width:300px){
  .timeline_form{
    width:100%;
    padding:30px 5px 30px 10px;
  }
  .timeline_form ul li .content_timeline .usuario{
    color:#34ace0;
    font-size:15px;
  }

}


/* actualizacion de foto usuario */

.file-upload-wrapper {
  position: relative;
  width: 400px;
  height: 60px;
}
.file-upload-wrapper:after {
  content: attr(data-text);
  font-size: 18px;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  padding: 10px 15px;
  display: block;
  width: calc(100% - 40px);
  pointer-events: none;
  z-index: 20;
  height: 40px;
  line-height: 40px;
  color: #999;
  border-radius: 5px 10px 10px 5px;
  font-weight: 300;
}
.file-upload-wrapper:before {
  content: 'Subir';
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  height: 60px;
  background: #3c8dbc;
  color: #fff;
  font-weight: 700;
  z-index: 25;
  font-size: 16px;
  line-height: 60px;
  padding: 0 15px;
  text-transform: uppercase;
  pointer-events: none;
  border-radius: 0 5px 5px 0;
}
.file-upload-wrapper:hover:before {
  background: #327196;
}
.file-upload-wrapper input {
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  height: 40px;
  margin: 0;
  padding: 0;
  display: block;
  cursor: pointer;
  width: 100%;
}
.sprucecss {
  align-items: flex-start;
  background-color: #000;
  border-radius: 0.25rem;
  box-shadow: 0 0 0.5rem #000;
  color: #444;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  inset: auto auto 1rem 1rem;
  line-height: 1.5;
  max-width: 11rem;
  padding: 1.5rem;
  position: fixed;
  text-decoration: none;
}
.sprucecss img {
  height: 1.5rem;
  width: auto;
}
