/* Estilos para o formulário de envio */
.ess-upload-form {
    max-width: 500px;
    margin: 0;
}

.ess-upload-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.ess-upload-form input[type="file"] {
    margin-bottom: 20px;
}

.upload-message {
    text-align: center;
    margin-top: 15px;
    padding: 8px 12px 5px;
    border-radius: 7px;
    margin-bottom: 3px;
    font-size: 14px;
    color: rgba(0,0,0,.55);
    font-weight: 400;
    background: #fafafa;
    max-width: 500px;
}

.ess-no-account {
    margin-top: 15px;
    background: #fafafa;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    color: rgba(0,0,0,.55);
}

/* Estilos para o grid de imagens */
.ess-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 25px;
}

/* Estilos para cada imagem no grid */
.ess-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ess-image {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    cursor: pointer;
}

.ess-image img {
    width: 100%;
    height: auto;
}

/* Estilos para ordenação */

.ess-orderby-select {
    text-align: right;
    margin-bottom: 15px;
}

.ess-orderby-select label {
    margin-right: 5px;
}

/* Estilos para o botão "Quero" e bloco de botão */

.ess-button-block {
    position: absolute;
    bottom: 10px;
    right: 10px;
    border: 2px solid #000;
    border-radius: 5px;
    background-color: #c53737;
}

.ess-button-block:hover {
    background: #DFDFDF;
    border-color: #DFDFDF;    
}

.ess-button-block a {
    color: #fff;
}

.ess-button-block a:focus {
    color: #fff;
}

.ess-button-block:hover a {
    color: #000;
}

.ess-button {
    padding: 8px;
    text-decoration: none;
    border-radius: 0px 3px 3px 0px;
    cursor: pointer;
}

/* Votos */
.ess-vote-count {
    color: #000;
    font-size: 12px;
    background: #fff;
    padding: 11px 10px 7px;
    border-radius: 3px 0px 0px 3px;
    display: inline-block;
}

/* Modal */
.ess-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.ess-modal-content {
  margin: auto;
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.ess-close-modal {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
