.body {
  user-select: none !important;
  img {
    user-select: none !important;
  }
}

.cp-main {
  border: 1px solid red;
}

/* TEXT ------------------------------------------------------------------------*/
.txt-small {
  font-size: 10px !important;
}

/* PROPRIEDADES ----------------------------------------------------------------*/
.flexCenter {
  display: flex;
  justify-content: center;
  align-items: center;
}
.borderRadius {
  border-radius: 5px;
}
.boxShadow {
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}
.cp-aviso {
  padding: 12px;
  background: #539fda;
  border-radius: 6px;
  margin: 40px 0 -40px 0;
  i {
    display: none;
    margin-right: 10px;
    color: white;
    font-size: 30px;
    animation: pulseAviso 1s infinite both;
  }
  p {
    text-align: center;
    color: #fff !important;
  }
}

/* MAIN ------------------------------------------------------------------------*/
#cp-main {
  p {
    font-size: 14px;
  }
}

/* LOGIN -----------------------------------------------------------------------*/
.log-footer-logo {
  padding: 15px 60px;
}
.cp-logoProf {
  margin-top: 70px;
}

/* USER INFO--------------------------------------------------------------------*/
#cp-userInfo {
  display: grid;
  grid-template-columns: 120px auto;
  grid-gap: 5px;
  .foto {
    width: 120px;
    height: 120px;
    border: 1px solid red;
    img {
      width: 120px;
      height: 120px;
      border-radius: 120px;
      &[src=""] {
        display: none;
      }
    }
    &:empty:after {
      font-family: "ava-icons";
      color: #999;
      font-size: 80px;
      content: "\e84c";
    }
  }
  .text {
    font-size: 14px;
    margin-left: 15px;
  }
}

/* ACESSO ----------------------------------------------------------------------*/
#cp-boxAcess {
  display: grid;
  grid-template-rows: 50px auto;
  margin-top: 55px;
  background: white;
  .boxShadow;
  padding: 30px;
  padding-bottom: 60px;
  box-sizing: border-box;
  .borderRadius;
  margin-bottom: 20px;
  #cp-boxLinks {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width: auto;
    grid-column: span 3;
  }
  .cp-box,
  .cp-box-biblioteca,
  .cp-box-nearpod,
  .cp-box-voxy,
  .cp-box-aapa {
    width: 200px;
    margin: 0 2% 0 2%;
    cursor: pointer;
    transition: all 0.2s;
    &:hover {
      filter: brightness(115%);
      .logoBox {
        background: rgba(56, 95, 116, 0.2);
        border-bottom: 3px solid rgba(56, 95, 116, 0.5);
      }
    }
  }
  .logoBox {
    .flexCenter;
    width: 150px;
    height: 180px;
    margin: 0 auto 10px auto;
    background: rgba(56, 95, 116, 0.1);
    transition: all 0.2s;
    .borderRadius;
  }
  .text {
    text-align: center;
  }
}

/* AVISOS ----------------------------------------------------------------------*/
#avisomanutencao {
  position: absolute;
  bottom: 0px;
  background-color: #c93535;
  width: 100%;
  font-size: 14px;
  box-shadow: 0px 1px 6.5px 0px rgba(0, 0, 0, 0.35);
}
#avisomanutencao p {
  color: white;
}
.cp-notfy {
  text-align: center;
  width: 100%;
  grid-column: span 3;
}

/* GINASTICA LABOLRA ----------------------------------------------------------*/
.img-ginasticas-laboral {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 2rem 0;
  color: white;
  width: 100%;
  min-height: 150px;
  background: url("../img/ginastica_laboral.jpg");
  background-size: cover;
  background-position: 30% center;
  border-radius: 6px;
  box-shadow: 0px 1px 6.5px 0px rgba(0, 0, 0, 0.35);
  transition: 1s all;
  cursor: pointer;
  h5 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
    transition: 1s all;
  }
  &:hover {
    filter: brightness(110%);
  }
}

/* MEDIA QUERY -----------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  body {
    background: none !important;
  }
  .cp-aviso {
    margin: 0 0 -10px 0;
  }
  .log-footer-logo {
    padding: 10px 20px;
  }
  .img-responsive {
    margin-top: 30px;

    width: 90%;
  }
  .log-Padding-div-bigger {
    display: none;
  }
  #cp-boxAcess {
    grid-template-rows: auto;
    box-shadow: none;
    margin-top: 10px;
    background: none;
    padding: 15px;
  }
  #cp-boxLinks {
    flex-direction: column !important;
  }
  .cp-logoProf {
    .flexCenter;
    width: 100%;
    margin-top: 0px;
    img {
      width: 90%;
    }
  }
  .cp-box,
  .cp-box-biblioteca,
  .cp-box-nearpod,
  .cp-box-voxy,
  .cp-box-aapa {
    display: grid;
    grid-template-columns: auto !important;
    grid-template-rows: auto !important;
    width: 100% !important;
    margin: 0 0% 20px 0% !important;
    background: rgba(56, 95, 116, 0.2);
    padding: 10px;
    box-sizing: border-box;
    .borderRadius;
    transition: all 0.2s;
    &:active {
      transform: scale(0.95, 0.95);
    }
    &:hover {
      .logoBox {
        border-bottom: none !important;
      }
    }
    .logoBox {
      height: 150px !important;
      background: none !important;
    }
    .text {
      .flexCenter;
      flex-direction: column;
      color: white !important;
      p {
        font-size: 1.8em !important;
      }
      .txt-small {
        font-size: 1em !important;
      }
    }
  }
  .cp-notfy {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .img-ginasticas-laboral {
    width: auto;
    margin: 14px;
  }
}

/* ANIMATION ----------------------------------------------------------------*/
@keyframes pulseAviso {
  0% {
    color: #fff;
  }
  50% {
    color: #539fda + 30;
  }
  to {
    color: #fff;
  }
}
