/*
Theme Name: Infield
Theme URI: https://wordpress.com/themes/infield/
Description: A passionate sports fan blog celebrating your favorite game.
Version: 1.0.1
Author: Automattic
Author URI: https://automattic.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infield
*/

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--background);
	border-color: var(--wp--preset--color--secondary);
}

.wp-block-table figcaption {
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: .0625em !important;
	text-underline-offset: .15em;
}

/*
 * Navigation Block
 * Reset the padding from List block
 * https://github.com/WordPress/gutenberg/issues/50486
 */
.wp-block-navigation ul {
	padding: unset;
}

#contact_modal.visible {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}
.popup.visible {
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
}
.popup-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background-color: transparent;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  top: 12px;
  right: 25px;
  width: 32px;
  height: 32px;
  opacity: 0.3;
}
.custom-popup-area.popup-container .popup-close:after,
.custom-popup-area.popup-container .popup-close:before {
  content: "";
  position: absolute;
  left: 15px;
  height: 20px;
  width: 2px;
  background-color: #333;
}
.custom-popup-area.popup-container .popup-close:after {
  transform: rotate(-45deg);
}
.custom-popup-area.popup-container .popup-close:before {
  transform: rotate(45deg);
}
.custom-popup-area.popup-container .popup-close:hover {
  opacity: 1;
}
div#contact_modal .popup-container.custom-popup-area .form-request-call  {
    padding: 20px 20px 30px;
    background-color: #fff;
    border-radius: 16px;
}


.ks-AutoCaptureForm-main-container p:has(button) {
    display: block;
}
.ks-AutoCaptureForm-main-container p {
    display: none;
}
.ks-AutoCaptureForm-main-container .ks-form-sub-btn:disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.4;
    display: flex;
    align-items: center;
    line-height: 0;
}

/* hide Leave reply - website input field */
.comment-form-url {
  display: none !important;
}
/* end leave reply */
/* 
.erp-updates .form-request-call .ks-AutoCaptureForm-main-container form br {
    display: none;
}


.ks-AutoCaptureForm-main-container .ks-form-sub-btn:disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.4;
    display: flex;
    align-items: center;
    line-height: 0;
    justify-content: center;
}
*/
.erp-updates .form-request-call {
    padding: 24px;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    border-radius: var(--bs-border-radius) !important;
} 