/**
 * Gridpress Common Styles CSS
 */
:root {
  --gridpress-primary-color: #935069;
  --gridpress-primary-textcolor: #f3eff1;
  --gridpress-secondary-color: #dbd4d7;
  --gridpress-secondary-textcolor: #3f3f3f;
  --gridpress-green-color: #008b20;
  --gridpress-red-color: #d50015;
  --gridpress-orange-color: #cb9800;
  --gridpress-blue-color: #0061c9;
  --gridpress-lightgreen-color: #d8ffe1;
  --gridpress-lightred-color: #ffe4e7;
  --gridpress-lightorange-color: #fff4d5;
  --gridpress-lightblue-color: #d3e8ff;
}

/**
 * Global styles
 */
.gridpress-btn {
  background-color: var(--gridpress-primary-color);
  color: var(--gridpress-primary-textcolor);
  border-radius: 10px;
}
.gridpress-btn:hover {
  background-color: var(--gridpress-secondary-color);
  color: var(--gridpress-secondary-textcolor);
}

.gridpress-hide {
  display: none !important;
}

/**
 * Popup styles
 */
.gridpress-modal-popup {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 98;
}

body.gridpress-popup-active {
  overflow: hidden;
}

.gridpress-modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}
.gridpress-modal-container .gridpress-modal-inner-area {
  display: flex;
  width: 450px;
  height: 100%;
  margin: 0 auto;
  align-items: center;
}
.gridpress-modal-container .gridpress-modal-content-area {
  display: inline-block;
  position: relative;
  width: 100%;
  max-height: 90%;
  border-radius: 10px;
  padding: 20px;
  background-color: #fff;
}
.gridpress-modal-container .gridpress-modal-content-area .gridpress-modalinit-con {
  display: inline-block;
  position: relative;
  width: 100%;
}
.gridpress-videocard-modal .gridpress-modalinit-con {
  min-height: 150px;
  display: flex;
  align-items: center;
}
.gridpress-videocard-modal .gridpress-modal-inner-area {
  width: 640px;
}

.gridpress-popup-hide {
  display: none;
}

.gridpress-popup-closebtn {
  position: absolute;
  top: -20px;
  right: -18px;
  color: #fff;
  padding: 0 6px;
  background-color: var(--gridpress-red-color);
  border-radius: 20px;
}
.gridpress-popup-closebtn:hover, .gridpress-popup-closebtn:focus, .gridpress-popup-closebtn:active {
  color: #fff;
}

/**
 * Loader styles
 */
.gridpress-loder-con {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.768627451);
  z-index: 9;
}
.gridpress-loder-con .gridpress-loder-iner {
  display: flex;
  width: 40px;
  height: 100%;
  margin: 0 auto;
  align-items: center;
}
.gridpress-loder-con .gridpress-loder-iner .gridpress-loader {
  border: 7px solid #f3f3f3;
  border-radius: 50%;
  border-top: 7px solid var(--gridpress-primary-color);
  width: 40px;
  height: 40px;
  box-sizing: border-box; /* Safari */
  animation: gridpress-spin 1s linear infinite;
}
@keyframes gridpress-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*
 * Popover styles
 */
.gridpress-popover-domelem .gridpress-popover-holder {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
  max-width: 250px;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  transition: opacity 0.6s;
}
.gridpress-popover-domelem .gridpress-popover-holder.gridpress-bottom-popover {
  flex-direction: column-reverse;
}
.gridpress-popover-domelem .gridpress-popover-holder .gridpress-popover-content {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 5px;
  pointer-events: none;
}
.gridpress-popover-domelem .gridpress-popover-holder .gridpress-popover-arrow {
  border-width: 8px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}
.gridpress-popover-domelem .gridpress-popover-holder.gridpress-bottom-popover .gridpress-popover-arrow {
  border-color: transparent transparent #333 transparent;
}

.gridpress-popover-domelem.gridpress-popover-hovered .gridpress-popover-holder {
  visibility: visible;
  opacity: 1;
}

/*
 * Input Calendar styles
 */
.gridpress-calendarinput-wrap {
  position: relative;
}
.gridpress-calendarinput-wrap .gridpress-calendar-popup {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.gridpress-calendarinput-wrap .gridpress-calendar-popup .gridpress-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gridpress-calendarinput-wrap .gridpress-calendar-popup .gridpress-calendar-header select {
  display: inline-block;
  width: 55px;
  padding: 2px;
  margin: 0;
}
.gridpress-calendarinput-wrap .gridpress-calendar-popup .gridpress-calendar-header .gridpress-monthchnger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 4px;
  background-color: var(--gridpress-secondary-color);
  color: var(--gridpress-secondary-textcolor);
}
.gridpress-calendarinput-wrap .gridpress-calendar-popup .gridpress-calendar-header .gridpress-monthchnger-btn i {
  font-size: 12px;
}
.gridpress-calendarinput-wrap .gridpress-calendar-popup .gridpress-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 10px;
}
.gridpress-calendarinput-wrap .gridpress-calendar-popup .gridpress-calendar-day {
  font-size: 12px;
  line-height: 12px;
  padding: 7px;
  text-align: center;
  cursor: pointer;
}
.gridpress-calendarinput-wrap .gridpress-calendar-popup .gridpress-calendar-day.gridpress-disabled {
  visibility: hidden;
}
.gridpress-calendarinput-wrap .gridpress-calendar-popup .gridpress-calendar-day.gridpress-selected {
  background: var(--gridpress-blue-color);
  color: #fff;
  border-radius: 50%;
}

.gridpress-confirmsg-con {
  font-size: 15px;
}
/*
 * Confirm Popup Buttons
 */
.confirm-popup-btns {
  display: flex;
  padding: 20px 0 0;
  width: 100%;
  justify-content: center;
  -moz-column-gap: 10px;
       column-gap: 10px;
}
.confirm-popup-btns button {
  padding: 5px 20px;
  font-size: 80%;
  border: none;
  cursor: pointer;
}
.confirm-popup-btns .gridpress-cancel-act {
  background-color: #d2d2d2;
  color: #222;
  border-radius: 2px;
}
.confirm-popup-btns .gridpress-delitm-btn {
  background-color: var(--gridpress-red-color);
  color: #fff;
  border-radius: 2px;
}

/*
 * Action message
 */
.gridpress-alert-msg {
  position: fixed;
  top: 20px;
  right: 30px;
  width: 220px;
  padding: 10px 15px;
  font-size: 85%;
  border: 1px solid;
  border-radius: 4px;
  background-color: var(--gridpress-lightorange-color);
  border-color: var(--gridpress-orange-color);
  color: var(--gridpress-orange-color);
  z-index: 100;
}
.gridpress-alert-msg.gridpress-alert-success {
  background-color: var(--gridpress-lightgreen-color);
  border-color: var(--gridpress-green-color);
  color: var(--gridpress-green-color);
}
.gridpress-alert-msg.gridpress-alert-danger {
  background-color: var(--gridpress-lightred-color);
  border-color: var(--gridpress-red-color);
  color: var(--gridpress-red-color);
}

/*
 * Advance Form Fields
 */
.gridpress-form-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}
.gridpress-form-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.gridpress-btn-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 30px;
  transition: 0.4s;
}
.gridpress-btn-slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .gridpress-btn-slider {
  background-color: var(--gridpress-blue-color);
}
input:checked + .gridpress-btn-slider::before {
  transform: translateX(26px);
}

.gridpress-form-imgfield {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.gridpress-form-imgfield .gridpress-field-imgcon img {
  max-width: 100%;
  max-height: 250px;
}
.gridpress-form-imgfield .gridpress-field-inputcon input {
  margin: 0;
  min-width: 350px;
}
.gridpress-form-imgfield .gridpress-field-btnscon {
  display: flex;
  gap: 10px;
}

.gridpress-formfields-con {
  position: relative;
}
.gridpress-formfields-con .gridpress-formseting-field {
  display: inline-block;
  position: relative;
  width: 100%;
  margin: 0 0 15px;
}
.gridpress-formfields-con .gridpress-formseting-field > label {
  display: inline-block;
  width: 100%;
  margin: 0 0 5px;
}
.gridpress-formfields-con .gridpress-formseting-field input[type="text"],
.gridpress-formfields-con .gridpress-formseting-field input[type="password"],
.gridpress-formfields-con .gridpress-formseting-field input[type="number"],
.gridpress-formfields-con .gridpress-formseting-field input[type="email"],
.gridpress-formfields-con .gridpress-formseting-field input[type="tel"] {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 5px 10px;
  height: 42px;
}
.gridpress-formfields-con .gridpress-formseting-field input[type="text"]:focus,
.gridpress-formfields-con .gridpress-formseting-field input[type="password"]:focus,
.gridpress-formfields-con .gridpress-formseting-field input[type="number"]:focus,
.gridpress-formfields-con .gridpress-formseting-field input[type="email"]:focus,
.gridpress-formfields-con .gridpress-formseting-field input[type="tel"]:focus {
  box-shadow: 0 0 3px 0 #e1e1e1;
  --formfieldbordercolor: #e1e1e1;
}
.gridpress-formfields-con .gridpress-select-field select {
  background: none;
  padding: 5px 7px;
  width: 100%;
}
.gridpress-formfields-con .gridpress-formseting-field textarea {
  display: inline-block;
  width: 100%;
  height: 130px;
  margin: 0;
  padding: 5px 10px;
}
.gridpress-formfields-con .gridpress-formseting-field textarea:focus {
  box-shadow: 0 0 3px 0 #e1e1e1;
  --formfieldbordercolor: #e1e1e1;
}
.gridpress-formfields-con .gridpress-formseting-field label small {
  margin: 0 2px;
  font-size: 16px;
  color: var(--gridpress-red-color);
}
.gridpress-formfields-con .gridpress-formseting-field.gridpress-itmprice-field input {
  padding-left: 46px;
  font-size: 15px;
}
.gridpress-formseting-field.gridpress-itmprice-field .gridpress-curency-con {
  position: absolute;
  width: 50px;
  height: 42px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gridpress-formseting-field.gridpress-itmprice-field .gridpress-curency-con span {
  line-height: 0;
  font-size: 15px;
}
.gridpress-formfields-con .gridpress-formseting-field .select2-container .select2-selection--single {
  height: 40px;
  border: 2px solid #dddddd;
  border-radius: 3px;
}
.gridpress-formfields-con .gridpress-formseting-field .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
}
.gridpress-formfields-con .gridpress-formseting-field .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 6px;
}
.select2-container--default .select2-selection--single {
  border-color: #e1e1e1;
}
.gridpress-passfield-holdr {
  display: inline-block;
  width: 100%;
  position: relative;
}
.gridpress-formfields-con .gridpress-passfield-holdr input {
  width: 100%;
  margin: 0;
  padding: 5px 40px 5px 10px;
}
.gridpress-formfields-con .gridpress-passfield-holdr input:focus {
  box-shadow: 0 0 3px 0 #e1e1e1;
  --formfieldbordercolor: #e1e1e1;
}
.gridpress-formfields-con .gridpress-passfield-holdr > span {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.gridpress-formfields-con .gridpress-passfield-holdr > span i {
  font-size: 22px;
  color: #949494;
}
.gridpress-formfields-con .select2-container--default .select2-search--inline .select2-search__field {
  width: auto !important;
}
.gridpress-dynm-cards-section {
  position: relative;
}
.gridpress-items-paginatcon {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 40px 0 0;
}
.gridpress-carditms-pagelinks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
body .gridpress-carditms-pagelinks a, .gridpress-carditms-pagelinks span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  line-height: 1px;
  font-size: 14px;
  color: #fff;
  background-color: #949494;
  border-radius: 20px;
  text-decoration: none;
}
.gridpress-carditms-pagelinks span {
  background-color: #000;
}
body .gridpress-cardslodmore-btncon a {
  display: inline-block;
  padding: 6px 12px;
  color: #fff;
  background-color: #000;
  border-radius: 4px;
  text-decoration: none;
}
body .gridpress-cardslodmore-btncon a:hover {
  opacity: 0.8;
}
.gridpress-items-paginatcon .gridpress-cardsinfint-lodcon {
  opacity: 0;
  visibility: hidden;
}
.gridpress-responsive-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  padding-top: 10px;
  height: 0;
  overflow: hidden;
}
.gridpress-responsive-video iframe,
.gridpress-responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 680px) {
  .gridpress-videocard-modal .gridpress-modal-inner-area {
    width: calc(100% - 40px);
  }
}