/* Content Variables */
/* Header Variables */
/* Button Variables */
/* Border Variables */
* {
  box-sizing: border-box;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
}

html {
  height: 100%;
}

body {
  position: relative;
  background-color: #ffffff;
  margin: 0;
  padding-bottom: 130px;
  min-height: 100%;
}

.header {
  position: relative;
  background-color: #362f2f;
  height: 60px;
  width: 100%;
  max-width: 100%;
  z-index: 9999;
}
.header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  padding: 0 15px;
}
.header .wrapper h1, .header .wrapper a, .header .wrapper label {
  display: inline-flex;
  align-items: center;
}
.header .wrapper h1 {
  font-size: 18px;
  padding: 0;
  margin: 0;
  color: #fff;
  font-weight: 500;
}
.header .wrapper h1 span {
  background-color: #816c6c;
  border-radius: 5px;
  padding: 2px 6px;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
}
.header .wrapper label, .header .wrapper input[type=checkbox] {
  display: none;
}
.header .wrapper label {
  cursor: pointer;
  position: relative;
  height: 40px;
  width: 50px;
  text-decoration: none;
  margin-right: 5px;
  border-radius: 5px;
}
.header .wrapper label::before, .header .wrapper label::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 20px;
  height: 2px;
  background-color: #928383;
}
.header .wrapper label::after {
  top: 26px;
}
.header .wrapper label:hover, .header .wrapper label:active, .header .wrapper input[type=checkbox]:checked ~ label {
  background-color: #2b2626;
}
.header .wrapper label:hover::before, .header .wrapper label:hover::after, .header .wrapper label:active::before, .header .wrapper label:active::after, .header .wrapper input[type=checkbox]:checked ~ label::before, .header .wrapper input[type=checkbox]:checked ~ label::after {
  background-color: #aa9e9e;
}
.header .wrapper .menu {
  display: flex;
  align-items: center;
}
.header .wrapper .menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 15px;
  padding: 0 14px;
  margin: 0 3px;
  text-decoration: none;
  color: #b6acac;
  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
}
.header .wrapper .menu a svg {
  fill: #b6acac;
  margin: 2px 8px 0 0;
}
.header .wrapper .menu a.alt {
  color: #b6acac;
}
.header .wrapper .menu a.alt svg {
  fill: #b6acac;
}
.header .wrapper .menu a:hover, .header .wrapper .menu a:active, .header .wrapper .menu a.active {
  color: #ebeaea;
  background-color: #2b2626;
}
.header .wrapper .menu a:hover svg, .header .wrapper .menu a:active svg, .header .wrapper .menu a.active svg {
  fill: #ebeaea;
}
.header .wrapper .menu a:last-child {
  margin-right: 0;
}

.page-content {
  padding: 0 15px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.page-content p {
  padding: 25px 0;
  margin: 0;
}
.page-content .pagination {
  display: flex;
  justify-content: flex-end;
  padding: 45px 0;
}
.page-content .pagination a {
  display: inline-block;
  text-decoration: none;
  background-color: #4e4141;
  box-shadow: 0px 0px 6px 1px rgba(68, 45, 45, 0.1);
  font-weight: 500;
  color: #FFFFFF;
  padding: 7px 14px;
  border-radius: 5px;
  font-size: 14px;
}
.page-content .pagination a:hover {
  background-color: #403535;
}
.page-content .pagination div {
  display: inline-block;
  font-size: 14px;
  color: #6e6969;
  font-weight: 600;
  padding: 7px 18px;
}

.page-title h2 {
  display: inline-block;
  margin: 35px 0 25px 0;
  padding: 0;
  font-size: 22px;
  font-weight: 500;
  color: #575353;
}

.page-top {
  background-color: #fff;
  border-bottom: 1px solid #edeaea;
}
.page-top .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.page-top .container .title {
  margin: 0;
  padding: 45px 0 20px 0;
  font-size: 28px;
  font-weight: 400;
  color: #575353;
}
.page-top .container .title svg {
  margin-left: 4px;
  fill: #cfcbcb;
}
.page-top .container .title svg:hover {
  fill: #c3bebe;
}
.page-top .container .description {
  margin: 0;
  padding: 0 0 25px 0;
  color: #928989;
}
.page-top .navigation-links {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow-x: auto;
}
.page-top .navigation-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #aaa3a3;
  font-size: 16px;
  font-weight: 500;
  padding: 20px 7px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.page-top .navigation-links a svg {
  margin-right: 7px;
  fill: #aaa3a3;
}
.page-top .navigation-links a.active, .page-top .navigation-links a:hover {
  color: #726969;
  border-bottom: 3px solid #726969;
}
.page-top .navigation-links a.active svg, .page-top .navigation-links a:hover svg {
  fill: #726969;
}

.media-list-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  gap: 15px;
  flex-wrap: wrap;
}
.media-list-filters .media-list-filters-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.media-list-filters .media-list-filters-form label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background-color: whitesmoke;
  color: #9e9696;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 15px;
  border-radius: 5px;
}
.media-list-filters .media-list-filters-form label svg {
  margin-right: 7px;
  fill: #9e9696;
}
.media-list-filters .media-list-filters-form label input, .media-list-filters .media-list-filters-form label select {
  appearance: none;
  background-color: transparent;
  border: none;
  outline: none;
  color: #6e6969;
  font-size: 14px;
  font-weight: 500;
  height: 30px;
}
.media-list-filters .media-list-filters-form label select {
  padding: 5px 25px 5px 10px;
  cursor: pointer;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%239e9696"><path d="M8 11.414l-4.707-4.707a1 1 0 0 1 1.414-1.414L8 8.586l3.293-3.293a1 1 0 1 1 1.414 1.414L8 11.414z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0px center;
  background-size: 16px 16px;
  max-width: 150px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.media-list-filters .media-list-filters-form label input {
  max-width: 130px;
}
.media-list-filters .media-list-filters-form label input::placeholder {
  color: #9e9696;
}
.media-list-filters .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.media-list {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.media-list .masonry-column {
  display: flex;
  flex-flow: column;
  gap: 25px;
  width: calc(33.3333333333% - 17px);
}
.media-list .masonry-column a img {
  width: 100%;
  height: auto;
  max-height: 800px;
  object-fit: contain;
}
.media-list .flexible-column {
  width: 30%;
}
.media-list a {
  display: flex;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
  width: 100%;
}
.media-list a img {
  width: 100%;
  height: auto;
  max-height: 800px;
  object-fit: contain;
}
.media-list a:hover .description {
  opacity: 1;
  transition: opacity 1s;
}
.media-list a video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ece7e7;
  z-index: 1;
}
.media-list .placeholder {
  display: flex;
  flex-flow: column;
  width: 100%;
  height: 100%;
  min-height: 220px;
  justify-content: center;
  align-items: center;
  background-color: #f3f0f0;
  color: #c0bcbc;
  font-weight: 500;
  padding: 0 30px;
  word-break: break-word;
}
.media-list .placeholder svg {
  fill: #d3d0d0;
  margin-bottom: 25px;
}
.media-list .description {
  display: flex;
  align-items: flex-end;
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  color: #fff;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.4) 100%);
  padding: 25px;
  font-weight: 500;
  font-size: 14px;
  transition: opacity 1s;
  z-index: 2;
  word-break: break-word;
}
.media-list .description svg {
  position: absolute;
  top: 20px;
  right: 20px;
  fill: #fff;
}
.media-list.layout-grid a {
  width: calc(33.3333333333% - 17px);
  min-width: 300px;
  height: 250px;
}
.media-list.layout-grid a img {
  height: 100%;
  object-fit: cover;
}
.media-list .no-media {
  color: #9e9696;
}

.media-popup {
  display: none;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999999;
}
.media-popup .con {
  position: relative;
  display: flex;
  flex-flow: column;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 4px;
  max-width: 80vw;
  max-height: 80vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.media-popup .con h3 {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  font-size: 18px;
  color: #575353;
  word-break: break-word;
}
.media-popup .con p {
  color: #6e6969;
  word-break: break-word;
  font-size: 14px;
  margin: 0;
  padding: 6px 0;
}
.media-popup .con p.media-author {
  color: #888282;
}
.media-popup .con p.media-description {
  margin-top: 0;
}
.media-popup .con .media-preview {
  display: flex;
  justify-content: center;
  flex: 1;
  min-height: 0;
  padding: 5px 0;
}
.media-popup .con img {
  display: block;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}
.media-popup .con video {
  display: block;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}
.media-popup .con audio {
  display: block;
  min-height: 50px;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: 400px;
}
.media-popup .con .like-con {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  padding-top: 15px;
}
.media-popup .con .like-con a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: #f5f5f5;
  border-radius: 50px;
  width: 40px;
  height: 40px;
}
.media-popup .con .like-con a svg {
  fill: #afafaf;
}
.media-popup .con .like-con a svg.solid-heart {
  display: none;
}
.media-popup .con .like-con a.like.active, .media-popup .con .like-con a.like:hover {
  background-color: #e23e4b;
}
.media-popup .con .like-con a.like.active svg, .media-popup .con .like-con a.like:hover svg {
  fill: #fff;
}
.media-popup .con .like-con a.like.active svg.solid-heart, .media-popup .con .like-con a.like:hover svg.solid-heart {
  display: block;
}
.media-popup .con .like-con a.like.active svg.outline-heart, .media-popup .con .like-con a.like:hover svg.outline-heart {
  display: none;
}
.media-popup .con .like-con span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 10px;
  color: #999494;
  font-weight: 500;
  font-size: 14px;
}
.media-popup .con .like-con .action-btns {
  display: flex;
  justify-content: center;
  align-self: flex-end;
  margin-left: auto;
  gap: 10px;
}
.media-popup .con .like-con .action-btns a.active, .media-popup .con .like-con .action-btns a:hover {
  background-color: #be5151;
}
.media-popup .con .like-con .action-btns a.active svg, .media-popup .con .like-con .action-btns a:hover svg {
  fill: #fff;
}
.media-popup .next, .media-popup .prev {
  padding: 0 25px;
  text-decoration: none;
}
.media-popup .next svg, .media-popup .prev svg {
  fill: rgba(255, 255, 255, 0.3);
}
.media-popup .next:hover svg, .media-popup .prev:hover svg {
  fill: rgba(255, 255, 255, 0.4);
}
.media-popup .next.hidden, .media-popup .prev.hidden {
  visibility: hidden;
}
.media-popup .close {
  position: absolute;
  top: 25px;
  right: 25px;
}
.media-popup .close svg {
  fill: rgba(255, 255, 255, 0.3);
}
.media-popup .close:hover svg {
  fill: rgba(255, 255, 255, 0.4);
}

.media-view img, .media-view video {
  max-width: 800px;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.media-view audio {
  max-width: 400px;
  width: 100%;
  height: 50px;
}
.media-view .media-description {
  color: #6e6969;
  margin-top: 0;
  padding: 0 0 25px 0;
}

.gallery-form, .auth-form {
  padding: 15px 0;
  display: flex;
  flex-flow: column;
  max-width: 700px;
  width: 100%;
}
.gallery-form label, .auth-form label {
  display: inline-flex;
  width: 100%;
  padding: 10px 0;
  margin-right: 25px;
  font-weight: 500;
  color: #9e9696;
  font-size: 14px;
}
.gallery-form select, .gallery-form input, .gallery-form textarea, .auth-form select, .auth-form input, .auth-form textarea {
  padding: 8px;
  width: 100%;
  border-radius: 4px;
  margin-right: 25px;
  margin-bottom: 10px;
  outline: 0;
  border: 1px solid #e6e2e2;
  color: #474444;
}
.gallery-form select:focus, .gallery-form input:focus, .gallery-form textarea:focus, .auth-form select:focus, .auth-form input:focus, .auth-form textarea:focus {
  border: 1px solid #c3b9b9;
}
.gallery-form select::placeholder, .gallery-form input::placeholder, .gallery-form textarea::placeholder, .auth-form select::placeholder, .auth-form input::placeholder, .auth-form textarea::placeholder {
  color: #9f9090;
}
.gallery-form textarea, .auth-form textarea {
  height: 150px;
}
.gallery-form #media, .auth-form #media {
  display: none;
}
.gallery-form #media-upload-drop-zone, .auth-form #media-upload-drop-zone {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 3px dashed #c5daee;
  background-color: #eff6ff;
  padding: 25px;
  margin: 0 0 25px 0;
  border-radius: 10px;
}
.gallery-form #media-upload-drop-zone p, .auth-form #media-upload-drop-zone p {
  font-size: 20px;
  font-weight: 600;
  color: #8c9ab1;
  text-align: center;
  padding: 10px 5px;
}
.gallery-form #media-upload-drop-zone p.drop-zone-filesize, .auth-form #media-upload-drop-zone p.drop-zone-filesize {
  font-size: 12px;
  font-weight: 500;
  color: #a3b0c5;
  text-align: center;
  padding: 0 5px 10px 5px;
}
.gallery-form #media-upload-drop-zone svg, .auth-form #media-upload-drop-zone svg {
  fill: #c5daee;
  margin: 5px;
}
.gallery-form #media-upload-drop-zone.dragover, .gallery-form #media-upload-drop-zone:hover, .auth-form #media-upload-drop-zone.dragover, .auth-form #media-upload-drop-zone:hover {
  border: 3px dashed #bdd5ec;
  background-color: #e5f0ff;
}
.gallery-form .media-list, .auth-form .media-list {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding-bottom: 25px;
}
.gallery-form .media, .auth-form .media {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #e6e2e2;
  width: 100%;
}
.gallery-form .media video, .gallery-form .media img, .gallery-form .media audio, .auth-form .media video, .auth-form .media img, .auth-form .media audio {
  width: 100%;
  max-width: 150px;
  max-height: 150px;
  height: auto;
  object-fit: contain;
}
.gallery-form .media audio, .auth-form .media audio {
  width: 150px;
  height: 50px;
}
.gallery-form .media .media-preview-info, .auth-form .media .media-preview-info {
  flex: 1;
}
.gallery-form .media .media-preview-info h3, .auth-form .media .media-preview-info h3 {
  margin: 0;
  padding: 0 0 5px 0;
  font-size: 16px;
  font-weight: 500;
  display: block;
  max-width: 300px;
  word-break: break-word;
  color: #575353;
}
.gallery-form .media .media-preview-info p, .auth-form .media .media-preview-info p {
  margin: 0;
  padding: 0 0 4px 0;
  font-size: 14px;
  color: #9e9696;
}
.gallery-form .media .media-options, .auth-form .media .media-options {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.gallery-form .media .media-options a, .auth-form .media .media-options a {
  text-decoration: none;
}
.gallery-form .media .media-options a svg, .auth-form .media .media-options a svg {
  fill: #c3bebe;
  margin: 0 5px;
}
.gallery-form .media .media-options a:hover svg, .auth-form .media .media-options a:hover svg {
  fill: #be5151;
}
.gallery-form .media .media-options a.media-remove-btn, .auth-form .media .media-options a.media-remove-btn {
  margin-right: 3px;
}
.gallery-form .media .media-dropdown-options, .auth-form .media .media-dropdown-options {
  display: none;
  width: 100%;
}
.gallery-form .media .media-dropdown-options.active, .auth-form .media .media-dropdown-options.active {
  display: flex;
  flex-flow: column;
}
.gallery-form .media-collection, .auth-form .media-collection {
  display: flex;
  flex-flow: column;
  gap: 15px;
  padding: 15px 0;
  margin-bottom: 10px;
  border: 1px solid #e6e2e2;
  border-radius: 5px;
  max-height: 250px;
  overflow-y: auto;
  width: 100%;
}
.gallery-form .media-collection .media-item, .auth-form .media-collection .media-item {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 0 15px;
}
.gallery-form .media-collection .media-item input, .auth-form .media-collection .media-item input {
  margin-right: 0;
  margin-bottom: 0;
  max-width: 15px;
}
.gallery-form .media-collection .media-item .media-error, .auth-form .media-collection .media-item .media-error {
  display: flex;
  background-color: #f3f0f0;
  justify-content: center;
  align-items: center;
}
.gallery-form .media-collection .media-item .media-error svg, .auth-form .media-collection .media-item .media-error svg {
  fill: #d3d0d0;
  margin: 5px;
}
.gallery-form .media-collection .media-item .media-error, .gallery-form .media-collection .media-item img, .gallery-form .media-collection .media-item video, .gallery-form .media-collection .media-item audio, .auth-form .media-collection .media-item .media-error, .auth-form .media-collection .media-item img, .auth-form .media-collection .media-item video, .auth-form .media-collection .media-item audio {
  width: 50px;
  height: 50px;
  max-width: 50px;
  max-height: 50px;
  min-height: 50px;
  min-width: 50px;
  border-radius: 5px;
  object-fit: contain;
}
.gallery-form .media-collection .media-item h3, .auth-form .media-collection .media-item h3 {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: #575353;
  word-break: break-word;
}
.gallery-form .media-collection p, .auth-form .media-collection p {
  margin: 0;
  padding: 0 15px;
  font-size: 14px;
  color: #6e6969;
}
.gallery-form .btn-wrapper, .auth-form .btn-wrapper {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}
.gallery-form .upload-result, .gallery-form .result, .auth-form .upload-result, .auth-form .result {
  font-size: 14px;
  font-weight: 500;
  color: #575353;
}
.gallery-form .form-link, .auth-form .form-link {
  text-decoration: none;
  color: #be5151;
  font-size: 14px;
  font-weight: 500;
  padding: 0 0 10px 0;
}
.gallery-form .form-link:hover, .auth-form .form-link:hover {
  color: #a03c3c;
}

.login-register {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  padding-top: 50px;
}
.login-register .page-title h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.auth-form {
  max-width: 300px;
}
.auth-form .btn-wrapper {
  display: flex;
  padding-top: 20px;
}

.alt-form {
  padding-top: 0;
  max-width: 400px;
}
.alt-form .btn-wrapper {
  display: flex;
  padding-top: 20px;
  gap: 10px;
}

.collections .actions {
  padding-top: 30px;
}
.collections .collection-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 30px 0;
}
.collections .collection-list a {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: 1px solid #e6e2e2;
  background-color: #f9f8f8;
  color: #a19e9e;
  width: 219px;
  min-height: 200px;
  padding: 15px;
}
.collections .collection-list a svg {
  margin-bottom: 15px;
  transition: all 0.3s;
  fill: #e6e2e2;
}
.collections .collection-list a span {
  font-weight: 500;
  padding: 3px;
  word-break: break-word;
}
.collections .collection-list a .num {
  font-size: 14px;
  color: #b8b5b5;
}
.collections .collection-list a .description {
  display: none;
}
.collections .collection-list a:hover {
  border: 1px solid #dfdada;
  background-color: #f2f0f0;
  color: #575353;
}
.collections .collection-list a:hover .num {
  color: #645f5f;
}
.collections .collection-list a:hover svg {
  fill: #575353;
  transform: scale(1.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  border: 0;
  background: #be5151;
  color: #FFFFFF;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  height: 38px;
  box-shadow: 0px 0px 6px 1px rgba(68, 45, 45, 0.1);
}
.btn:has(svg) {
  padding: 0 18px 0 14px;
}
.btn svg {
  margin-right: 7px;
  fill: #e5b9b9;
}
.btn:hover {
  background-color: #b34343;
}
.btn:disabled {
  background-color: #b6acac;
}
.btn.alt {
  background-color: #383838;
}
.btn.alt:hover {
  background-color: #2b2b2b;
}
.btn.alt:disabled {
  background-color: #b9b9b9;
}

.media-save, .media-select-frame {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999999;
}
.media-save h2, .media-select-frame h2 {
  font-weight: 500;
  font-size: 18px;
  color: #575353;
  margin: 0;
  padding: 15px 0 0 0;
}
.media-save .con, .media-select-frame .con {
  padding: 15px 25px;
  width: 100%;
  max-width: 300px;
  background-color: #fff;
  border-radius: 4px;
}
.media-save .btn-wrapper, .media-select-frame .btn-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 0;
  gap: 10px;
}
.media-save video, .media-select-frame video {
  margin-top: 15px;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}
.media-save input[type=range], .media-select-frame input[type=range] {
  margin: 20px 0;
  width: 100%;
}
.media-save input[type=submit], .media-select-frame input[type=submit] {
  margin: 15px 10px 0 0;
}
.media-save p, .media-select-frame p {
  margin: 0;
  padding: 5px 0 0 0;
}

.media-select-frame .con {
  max-width: 400px;
}

p.error-msg {
  color: #be5151;
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  margin: 25px 0;
}

footer {
  position: absolute;
  bottom: 0;
  border-top: 1px solid #edeaea;
  padding: 20px 0;
  width: 100%;
}
footer .content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}
footer a {
  text-decoration: none;
  color: #6e6969;
}
footer a:hover {
  text-decoration: underline;
}

/* Responsive design code below */
@media screen and (max-width: 1200px) {
  .header .wrapper {
    width: 100%;
  }
  .header .wrapper h1 {
    font-size: 18px;
    padding: 15px;
  }
  .header .wrapper label {
    display: inline-flex;
  }
  .header .wrapper .menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    flex-flow: column;
    background-color: #312a2a;
    justify-items: flex-start;
    align-items: flex-start;
    padding: 10px;
  }
  .header .wrapper input[type=checkbox]:checked ~ .menu {
    display: flex;
  }
  .header .wrapper input[type=checkbox]:checked ~ .menu a {
    justify-content: flex-start;
    width: 100%;
    padding: 25px;
  }
  .media-popup .con {
    padding: 10px;
  }
  .media-popup .con h3 {
    font-size: 16px;
  }
  .media-popup .next, .media-popup .prev {
    padding: 0;
  }
  .media-popup .next svg, .media-popup .prev svg {
    width: 30px;
    height: 30px;
  }
  .media-popup .close {
    right: 10px;
    top: 10px;
  }
}