/* VansSans-font */
@font-face {
  font-family: 'VansSans';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/VansSans-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* FannDorenCondensed Fonts */
@font-face {
  font-family: 'FannDorenCondensed';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/FannDorenCondensed-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'FannDorenCondensed';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/FannDorenCondensed-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'FannDorenCondensed';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/FannDorenCondensed-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'FannDorenCondensed';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/FannDorenCondensed-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'FannDorenCondensed';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/FannDorenCondensed-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'FannDorenCondensed';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/FannDorenCondensed-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

/* FannDorenGrotesque Fonts */
@font-face {
  font-family: 'FannDorenGrotesque';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/FannDorenGrotesque-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'FannDorenGrotesque';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/FannDorenGrotesque-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'FannDorenGrotesque';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/FannDorenGrotesque-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'FannDorenGrotesque';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/FannDorenGrotesque-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'FannDorenGrotesque';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/FannDorenGrotesque-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'FannDorenGrotesque';
  src: url('/wp-content/themes/oceanwp-child-theme-master/assets/fonts/FannDorenGrotesque-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

body *{
/*   font-family: FannDorenGrotesque; */
}

/* modal popup */
#global-popup-modal {
  display: none;
  position: fixed;
  top: calc(0px + var(--wp-admin--admin-bar--height, 0px));
  left: 0;
  bottom: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#global-popup-modal.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
}

.popup-modal-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background-color: #fff;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 999;
}

#global-popup-modal.is-open .popup-modal-container {
  right: 0;
}

.popup-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 20px;
}

.popup-modal-title {
  margin: 0;
  font-size: 22px;
}

#global-popup-modal .popup-modal-close-button {
	background-color: transparent;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0 5px;
	color: #555;
}

.popup-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex-grow: 1;
  position: relative;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
  z-index: 10;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.popup-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	cursor: pointer;
}

body.popup-open {
  /* overflow: hidden; */
}

@media (max-width: 767px) {
  .popup-modal-container {
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    top: auto;
    bottom: 0;
    height: 70%;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  #global-popup-modal.is-open .popup-modal-container {
    transform: translateY(0);
  }
}
