/* 
Theme Name:		 Eternal Memento
Theme URI:		 http://childtheme-generator.com/
Description:	 Eternal Memento is a child theme of Hello Elementor, created by ChildTheme-Generator.com
Author:			 Mahim Zaman
Author URI:		 http://childtheme-generator.com/
Template:		 hello-elementor
Version:		 1.0.0
Text Domain:	 eternal-memento
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--family);
}

:root {
  --primary: #e8c229;
  --secondary: #000000;
  --card-shadow: 0px 0px 15px 0px #00000026;
  --footer-icon-shadow: 0px 0px 11.46px 0px #00000026;
  --border: 1px solid #d9d9d9;
  --btn-icon-gap: 8px;
  --btn-icon-size: 23px;
  --family: "Poppins", sans-serif;
}

button[type="button"].em-btn {
  background: transparent;
  padding: 17px 30px;
  color: var(--secondary);
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  border-radius: 60px;
  line-height: 1.3em;
  border: var(--border);
  outline: none;
  display: flex;
  align-items: center;
  gap: var(--btn-icon-gap);
}

button[type="button"].em-btn-primary {
  background: var(--primary);
  color: var(--secondary);
  border: none;
}

.em-btn-icon > img,
.em-btn-icon > svg {
  width: var(--btn-icon-size);
}

.em-required {
  color: red;
}

button[type="submit"].em-full-btn {
  background: var(--primary);
  padding: 12px;
  border-radius: 50px;
  color: var(--secondary);
  width: 100%;
  display: block;
  text-align: center;
  line-height: 1.5em;
  font-size: 16px;
  font-family: var(--family);
  font-weight: 400;
  border: none;
  outline: none;
}

body {
  font-family: "Poppins", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Poppins", sans-serif;
}

a {
  text-decoration: none;
  cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="datetime-local"],
input[type="date"] {
  font-family: "Poppins", sans-serif;
  outline: none;
  height: auto;
  border: 1px solid var(--border);
  line-height: 1.5em;
  border-radius: 5px;
}

input[type="file"] {
  font-family: var(--family);
}

input[type="file"]::file-selector-button {
  background: var(--primary);
  color: var(--secondary);
  font-family: var(--family);
  font-size: 14px;
  font-weight: 400;
  border: none;
  outline: none !important;
  border-radius: 50px;
  padding: 10px 20px;
  text-align: center;
  cursor: pointer;
  margin-right: 10px;
}

.em-logo {
  text-align: center;
}

/* Header CSS */

.main-navigation {
  display: flex;
  align-items: center;
  gap: 20px;
}

button[type="button"].em-menu-cart {
  padding-block: 0px;
  border: none;
}

.site-title img {
  width: 140px;
}

/* Header CSS Ends*/

/* Footer CSS */

.site-footer {
  background: #fff;
  text-align: center;
  padding: 40px 20px;
}

.footer-content {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-logo img {
  max-width: 180px;
  width: 180px;
}

.footer-logo h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
}

.footer-social {
  margin: 30px 0 40px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 61px;
  height: 61px;
  background: #fff;
  box-shadow: var(--footer-icon-shadow);
  border-radius: 50%;
  margin: 0 10px;
  font-size: 24px;
  color: #000;
  transition: 0.3s;
}

.footer-social a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-social a:hover {
  color: #555;
}

.footer-bottom p {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid #00000099;
  padding: 20px 0;
}

#site-footer {
  padding: 0;
}

/* Footer CSS Ends */

/* Sign UP page */

.em-form-group input {
  box-shadow: 0px 0px 15px 0px #00000026 !important;
  padding: 24.5px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  font-size: 16px !important;
  font-family: "Poppins", sans-serif !important;
  color: var(--secondary) !important;
  border: none !important;
  outline: none !important;
  line-height: 1.5em !important;
}

.em-form-group input::placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}

.em-form-group label,
.em-editor-group > label,
.em-label {
  font-family: "Poppins", sans-serif !important;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5em;
  margin: 15px 0;
  display: block;
  color: var(--secondary);
  text-transform: capitalize;
}

.em-form-group br {
  display: none !important ;
}

.em-signup-form {
  max-width: 520px;
  margin: 0 auto !important;
  border: none !important;
  padding: 0 !important;
}

.em-signup-form br {
  display: none !important;
}

.em-form-title {
  font-size: 30px;
  line-height: 1em;
  color: var(--secondary);
  font-weight: 700;
  font-family: var(--family);
}

.em-form-subtitle {
  font-size: 16px;
  line-height: 1.5em;
  color: #000000b2;
  font-weight: 400;
  font-family: var(--family);
  padding-bottom: 15px !important;
}

.em-signup-form .em-logo {
  text-align: center;
  margin-bottom: 30px;
}

.em-signup-form .em-logo img {
  width: 130px;
}

button[type="submit"].em-signup-submit {
  background: var(--primary) !important;
  padding: 12px;
  border-radius: 50px;
  color: var(--secondary);
  width: 100%;
  display: block;
  text-align: center;
  line-height: 1.5em;
  font-size: 16px;
  font-family: var(--family);
  font-weight: 400;
  border: none;
  outline: none;
}

.em-form-group .small-text {
  font-size: 12px;
  line-height: 1em;
  color: #00000080;
  font-family: var(--family);
}

.em-form-group .password-field {
  position: relative;
}

.em-form-group .toggle-password {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: var(--secondary);
  cursor: pointer;
}

.em-login-link {
  font-size: 16px;
  color: #000000b2;
  line-height: 1.5em;
  margin-top: 10px;
  text-align: center;
}

.em-login-link > a {
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline !important;
}

.em-login-link > a:hover {
  color: var(--primary);
}

.em-success-message {
  font-size: 16px;
  color: var(--secondary);
  line-height: 1em;
}

.em-forgot-password {
  font-family: var(--family);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5em;
  margin: 15px 0;
  display: block;
  color: var(--secondary) !important;
  text-decoration: underline !important;
}

.em-editor-group .wp-editor-tabs {
  display: flex !important;
}

.em-editor-group #wp-biography-editor-container > p {
  margin-bottom: 0px !important;
}
/* Sign UP page Ends */

/* Edit Profile page */

.em-photo-uploader {
  display: none;
}

.em-photo-uploader.active {
  display: block;
}

.em-photo-preview {
  display: none;
  align-items: flex-start;
  gap: 10px;
}

.em-preview {
  width: 80px;
  height: 80px !important;
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.em-preview-detail > h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
  font-family: var(--family);
  margin: 0;
}

p.em-preview-type {
  font-size: 12px;
  line-height: 1.5em;
  color: #7a7a7a;
  font-family: var(--family);
  margin: 2px 0;
}

span.em-remove-preview {
  color: red;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  cursor: pointer;
  user-select: none;
  display: block;
}

.em-gallery-group {
  position: relative;
  padding: 20px;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  padding-bottom: 40px;
  margin: 30px 0;
}

.em-gallery-group .em-gallery-items-add {
  border: none;
  outline: none;
  position: absolute;
  bottom: 0;
  right: 20px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 14px;
  color: var(--secondary);
  padding: 10px 15px;
  border-radius: 0;
  display: block;
  z-index: 5;
  cursor: pointer;
  user-select: none;
}

.em-gallery-group .em-gallery-items-add:hover {
  background: var(--primary);
  color: var(--secondary);
}

.em-gallery-item {
  position: relative;
  background: #f1f1f1;
  padding: 20px;
  margin-bottom: 20px;
}

.em-gallery-item-remove {
  color: red;
  border: 1px solid #d9d9d9;
  padding: 5px;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}

.em-gallery-item-remove br {
  display: none;
}

.em-gallery-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Edit Profile page Ends */

/* Dashboard CSS */

.em_cover_photo {
  width: 100%;
  min-height: 600px;
  overflow: hidden;
}

.em_cover_photo > img {
  width: 100%;
  height: auto !important;
  object-fit: cover;
}

.em_profile_photo {
  width: 267px;
  height: 267px;
  border-radius: 50%;
  border: 1px solid #e8c229;
  overflow: hidden;
  position: relative;
  margin-top: -134.5px;
  z-index: 1;
}

.em_profile_photo img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.em_container {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.em_title {
  font-family: var(--family);
  font-size: 25px;
  font-weight: 500;
  color: #666;
  margin-bottom: 15px !important;
  margin-top: 20px;
}

.em_name {
  font-size: 30px;
  color: #000000;
  font-weight: 500;
  line-height: 1em;
  margin-bottom: 20px;
  font-family: var(--family);
}

.em_fecha {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2em;
  color: rgba(0, 0, 0, 0.7);
}

.em_tab_content {
  display: none;
  padding: 20px 0;
  font-size: 17px;
  color: #666;
  line-height: 1.5em;
  font-weight: 400;
  font-family: var(--family);
}

.em_tab_content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.em_personal {
  margin-bottom: 40px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.em_tab_titles {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 11.5px 30px;
  box-shadow: 0px 0px 15px 0px #00000026;
  border-radius: 50px;
  background: #ffffff;
  margin-bottom: 20px;
}

.em_tab_title {
  font-size: 18px;
  color: #000;
  line-height: 1em;
  font-weight: 400;
  font-family: var(--family);
  padding: 17px 30px;
  user-select: none;
  cursor: pointer;
  border-radius: 50px;
}

.em_tab_title.active {
  background: #e8c229;
}

.em_info_cards {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.em-info-card {
  box-shadow: 0px 0px 15px 0px #00000026;
  padding: 30px 30px;
  border-radius: 20px;
}

.em-info-title {
  font-family: var(--family);
  font-weight: 600;
  font-size: 25px;
  line-height: 1em;
  margin-bottom: 30px;
  color: #000;
}

.em-info-detail {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.em-info-detail strong {
  font-size: 20px;
  color: #000;
}

.em-info-detail span {
  font-size: 18px;
  color: #666;
}

.em_visitor_btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000;
  background: var(--primary);
  padding: 15px;
  max-width: 439px;
  width: 100%;
  margin-top: 25px;
  text-align: center;
  justify-content: center;
  border-radius: 50px;
}

.em_media_gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px 20px;
}

.em_media_card {
  position: relative;
  border-radius: 20px;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}

.em_media_card > img,
.em_video_media > img {
  width: 100%;
  min-height: 400px;
  object-fit: cover;
}

.em_media_card > p {
  display: none;
}

.em_media_info {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  color: #fff;
  z-index: 5;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.em_media_card:hover .em_media_info {
  transform: translateY(0);
}

.em_posts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.em_post_card {
  box-shadow: 0px 0px 15px 0px #00000026;
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.em_post_card:hover {
  box-shadow: 0px 0px 15px 0px #e8c22966;
  border: 1px solid #e8c229;
}

.em_post_author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.em_post_author > p {
  display: none;
}

.em_post_author > img {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
}

.em_author_data {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  color: #000000;
  font-weight: 400;
}

.em_author_data a {
  font-size: 18px !important;
  color: #000000 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.em_author_data a:hover{
  text-decoration: underline !important ;
  color: var(--primary) !important;
}

.em_author_data > span {
  color: #666666;
}

.em_post_content {
  padding: 25px 0;
  margin: 0 !important;
  font-family: var(--family);
  font-weight: 400;
  font-size: 18px;
  color: #666666;
}

.em_post_engagements {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.em_post_engagements img {
  width: 21px;
  height: 21px;
  cursor: pointer;
  user-select: none;
}

.em_post_engagements i {
  font-size: 21px;
  cursor: pointer;
  user-select: none;
}

.em_post_engagements div span {
  font-size: 12px;
  color: #000000;
  font-weight: 400;
  line-height: 1.5em;
}

.em_post_engagements > div {
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}

.em_single_comment > p {
  display: none;
}

.em_post_comments_list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.em_single_comment {
  padding: 13px 15px;
  border-radius: 15px;
  box-shadow: 0px 0px 15px 0px #00000026;
  display: flex;
  align-items: center;
  gap: 15px;
}

.em_single_comment > img {
  width: 55px !important;
  height: 55px !important;
  border-radius: 50% !important;
}

.em_comment_author {
  margin: 0 !important;
  font-family: var(--family);
  font-weight: 600;
  font-size: 18px;
  color: #000000;
}

.em_comment_author a{
  font-weight: 600 !important;
  font-size: 18px !important;
  color: #000000 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.em_comment_author a:hover{
  color: var(--primary) !important;
  text-decoration: underline !important;
}

.em_comment_content {
  margin: 0 !important;
  font-family: var(--family);
  font-weight: 400;
  font-size: 16px;
  color: #000000e5;
}

.em_commenter > p {
  margin: 0 !important;
}

.em_comment_author > span {
  font-weight: 400;
  font-size: 16px;
  color: #666;
}

.em_post_comments_list > p {
  margin: 0 !important;
  display: none;
}

.em_play_btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 74px !important;
  height: 74px !important;
}

.em_play_btn br {
  display: none;
}

.em_play_btn img {
  width: 74px !important;
  height: 74px !important;
  object-fit: contain;
}
/* Dashboard CSS Ends */

.em_add_post,
.em_add_comment {
  position: fixed;
  z-index: 10;
  left: 50%;
  top: 50%;
  background: #fff;
  max-width: 600px;
  padding: 50px 30px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transform: translate(-50%, -50%);
  width: 90%;
  overflow: hidden;
  display: none;
}

.em_label {
  color: #000;
  font-weight: 500;
  font-family: var(--family);
  display: block;
  margin-bottom: 8px;
}

.em_field,
.em_textarea {
  border: none !important;
  outline: none !important;
  box-shadow: 0px 0px 15px 0px #00000026 !important;
  padding: 16px !important;
  font-size: 16px;
  color: #000000;
  line-height: 1.5em;
  height: auto !important;
  border-radius: 8px;
  margin-bottom: 20px !important;
}

.em_add_post {
  display: none;
}

.em_close_add_post {
  background: #d9d9d950;
  position: absolute;
  right: 0;
  top: 0;
  padding: 5px 10px;
  color: red;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
}

button.em_primary_btn,
.em_primary_btn {
  background: var(--primary) !important;
  color: #000 !important;
  border: none;
  outline: none !important;
  font-size: 16px;
  line-height: 1.5em;
  padding: 10px 25px;
  border-radius: 50px;
  cursor: pointer;
}

.em_tribute_form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 25px;
}

div.em_gallery_modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 25px;
}

.em_media_lightbox {
  display: none;
}

.em_media_lightbox img {
  height: 80vh;
  object-fit: contain;
  max-width: 1100px;
}

.em_media_lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.em_slider_nav {
  position: absolute;
  z-index: 1;
  color: #fff !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 24px !important;
  top: 50%;
  border: none !important;
  outline: none !important;
  transform: translateY(-50%);
}

.em_prev {
  left: 15px;
}

.em_next {
  right: 15px;
}

.em_slider_close {
  position: absolute;
  z-index: 1;
  right: 20px;
  top: 30px;
  color: #fff !important;
  background: transparent !important;
  border: none !important;
  font-size: 30px !important;
}

.em_container {
  position: relative;
}

.em_edit_profile {
  position: absolute;
  right: 0;
  top: 150px;
  z-index: 10;
}

button.show-password-input {
  display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
}

.woocommerce-account .woocommerce-MyAccount-content a {
  color: var(--primary) !important;
}

.em-error-message {
  max-width: 1200px;
  padding: 0 25px;
  margin: 20px auto !important;
  text-align: center;
}

.em_delete_comment {
  font-size: 12px;
  font-weight: 400;
  display: inline-block;
  color: red;
  line-height: 1;
  margin-top: 5px;
  user-select: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.em_delete_comment:hover {
  text-decoration: underline;
}

a.em_reset_pass {
  position: absolute;
  right: 150px;
  top: 150px;
  z-index: 20;
}

form#em-edit-profile-form .em-logo img {
  width: 200px;
}

.em_post_card {
  position: relative;
}

.em_delete_post {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 18px;
  color: red;
  user-select: none;
  cursor: pointer;
  display: inline-block;
}
