/* sonet change bg color of model to grey #767372
black is #000000
organge is #f79320
white is #ffffff
*/
.modal-content {
  background-color: #767372 !important;
}

.major_color-lighten-20 {
  color: #f79320;
}

.container{
  padding: 2%;
  /*text-align: center;*/
 
 } 
#map-canvas,#pano {
	float: left;
    width: 100%;
    height: 450px;
}

.dropdown-menu-end {
	background-color: #000;
}

/* sonet added thing that need fixing */

.form-label, label, h1, legend, .sa_labels, .preview-bodytext, .alert i {
	color: #ffffff;
}

/* sonet for selction box on creating a new advert */
#display_ad_on {
	height: auto;
}

#layout1 {
  height: auto;
}

/* overiding bootstrap 5 */
.alert {
color: #ffffff;
  background-color: #f79320;
  border: #f79320;
}
.alert-help-inline{
	color: inherit !important;
  text-shadow: none !important;
}
input[type="text"]{
	height: auto;
}
/* need to create overrides for buttons and add bootstrap code
button :not([class]) {
  background-color: #f79320; 
  border: none;
  color: white;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}
*/

.btn-light, .btn-light:hover {
	color: #f79320;
}

/* E-Ads custom css */
.panel-heading {
	color: white;
}

/* google maps sonet doing this so icon are in the correct place */
.form-validate img {
    display: inline-block;
    margin: 0;
}
/*all rsforms sonet */
#agreement_container :is(h1, h2, h3, h4, h5, h6) {  
    color: #fff;  
}

/* acymailing form */
.acym__users__creation__fields__title{
	color: #000000;
}

/*sonet test below */

/* Minimal CSS - Only AcyMailing specific overrides needed */

/* Fix AcyMailing button text being hidden by template */
.acym_form .acysubbuttons input.subbutton,
.acym_form .acysubbuttons button.subbutton,
.acymailing_form .acysubbuttons input.subbutton,
.acymailing_form .acysubbuttons button.subbutton {
    text-indent: 0 !important;
    background-image: none !important;
    width: auto !important;
    height: auto !important;
}

/* Remove any pseudo-elements that might interfere */
.acym_form .acysubbuttons .btn::before,
.acym_form .acysubbuttons .btn::after {
    display: none !important;
    content: none !important;
}

/* Ensure proper alignment in inline layout */
.acym_form .acysubbuttons {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Small responsive adjustment for mobile spacing */
@media (max-width: 767.98px) {
    .acym_form .acysubbuttons {
        margin-top: 1rem;
    }
}

/* sonet acymailing button form fixes */
/* Minimal CSS - Only AcyMailing specific overrides needed */

/* Fix AcyMailing button text being hidden by template */
.acym_form .acysubbuttons input.subbutton,
.acym_form .acysubbuttons button.subbutton,
.acymailing_form .acysubbuttons input.subbutton,
.acymailing_form .acysubbuttons button.subbutton {
    text-indent: 0 !important;
    background-image: none !important;
    width: auto !important;
    height: auto !important;
}

/* Override template's absolute positioning */
.acym_form .acysubbuttons,
.acymailing_form .acysubbuttons {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    overflow: visible !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

/* Remove any template pseudo-elements */
.acym_form .acysubbuttons::before,
.acym_form .acysubbuttons::after,
.acymailing_form .acysubbuttons::before,
.acymailing_form .acysubbuttons::after,
.acym_form .acysubbuttons .btn::before,
.acym_form .acysubbuttons .btn::after {
    display: none !important;
    content: none !important;
}

/* Font Awesome icon styling - fix the icon switching */
.acym_form .btn i,
.acymailing_form .btn i {
    margin-left: 8px !important;
    transition: all 0.2s ease !important;
}

/* Hide the open envelope by default, show closed envelope */
.acym_form .btn .fa-envelope {
    display: inline-block !important;
}

.acym_form .btn .fa-envelope-open {
    display: none !important;
}

/* On hover: hide closed envelope, show open envelope */
.acym_form .btn:hover .fa-envelope {
    display: none !important;
}

.acym_form .btn:hover .fa-envelope-open {
    display: inline-block !important;
    transform: translateX(3px) !important;
}

/* Error message styling - reserve space to prevent shifting */
.acym_form .acym__field__error__block {
    margin-top: 0.25rem !important;
    font-size: 0.875rem !important;
    color: #dc3545 !important;
    min-height: 1.2em !important; /* Reserve space for error message */
    display: block !important;
}

.acym_form .acym__message__invalid__field {
    margin-top: 0.25rem !important;
    font-size: 0.875rem !important;
    color: #dc3545 !important;
    min-height: 1.2em !important; /* Reserve space for error message */
    opacity: 0 !important; /* Hide but keep space */
    transition: opacity 0.2s ease !important;
}

/* Only show error messages for fields that are actually invalid */
.acym_form .acym__message__invalid__field {
    display: block !important; /* Always visible but transparent */
}

/* Show error message only when the specific input in the same container is invalid */
.acym_form div:has(input.acym_invalid_field) > .acym__message__invalid__field,
.acym_form input.acym_invalid_field ~ .acym__message__invalid__field {
    opacity: 1 !important; /* Make visible when needed */
}

/* Button positioning - inline on larger screens, below on mobile */
@media (min-width: 768px) {
    .acym_form .acysubbuttons {
        margin-top: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .acym_form .acysubbuttons {
        margin-top: 1rem !important;
        order: 999 !important; /* Ensure it comes last on mobile */
    }
}

/* Style invalid form fields */
.acym_form input.acym_invalid_field,
.acym_form input.acym__field__error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

/* Error icon styling */
.acym_form .acym__cross__invalid {
    margin-right: 0.25rem !important;
}

/* Captcha container styling */
.acym_form .captcha-container {
    margin-top: 1rem !important;
    text-align: center !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .acym_form .acysubbuttons {
        margin-top: 1rem !important;
        position: static !important;
    }
    
    .acym_form .btn i,
    .acymailing_form .btn i {
        margin-left: 6px !important;
        font-size: 0.9em !important;
    }
}

/*sonet tabs pta */
li.flex-fill.active > a {
    color: #0177B4;
}

/* sonet crm */
.iziModal * {
    color : #000000;
}
.m-0 {
    color: #000000;
}

.me-2 {
    color: #000000;
}
.pagination.m-0 {
    display: inherit;
}
.pagination.m-0 li>a {
    color: #0177B4;
}
