/*
Theme Name: DM Technology
Theme URI: 
Author: Michał Buchar
Author URI: 
Description: DM Technology Theme
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dm-technology
Tags: 
*/

mark {
  padding: 0.25rem 2rem;
  border-radius: 4rem;
}

.wp-block-cb-carousel .slick-next:before, .wp-block-cb-carousel .slick-prev:before {
  color: var(--wp--preset--color--dmt-accent-darker);
}

/* Hide elements on mobile devices (below tablet breakpoint) */
@media (max-width: 781px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* Tablet menu styling - for tablet and down */
@media (max-width: 1024px) {
  .tablet-menu {
    justify-content: flex-end !important;
  }
}

/* Contact Form 7 - Field-focused styles */

/* Form fields */
.dmt-contact-field {
  margin-bottom: 1.25rem;
  position: relative;
  box-sizing: border-box;
}

/* Label color */
.dmt-contact-form label {
  color: var(--wp--preset--color--dmt-accent-darker);
}

/* Input fields */
.dmt-contact-form input[type="text"],
.dmt-contact-form input[type="email"],
.dmt-contact-form input[type="tel"],
.dmt-contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0.0625rem solid #e0e0e0;
  border-radius: 0.375rem;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Textarea specific */
.dmt-contact-form textarea {
  min-height: 6.25rem;
  resize: vertical;
}

/* Focus state for inputs */
.dmt-contact-form input:focus,
.dmt-contact-form textarea:focus {
  outline: none;
  border-color: var(--wp--preset--color--dmt-accent-darker);
  background-color: #ffffff;
  box-shadow: 0 0 0 0.1875rem rgba(0, 0, 0, 0.1);
}

/* Custom submit button styling for CF7 */
.dmt-button-cf7 {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
}

/* Make sure the button behaves normally within the form */
.dmt-contact-form .dmt-button-cf7 {
  width: auto;
}

/* Validation styling - only for fields */
.dmt-contact-form input.wpcf7-not-valid,
.dmt-contact-form textarea.wpcf7-not-valid {
  border-color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.05);
}

/* Responsive adjustments for fields */
@media (max-width: 48rem) {
  .dmt-contact-field {
      margin-bottom: 1rem;
  }
}

/* Checkbox List Style */
.wp-block-list.is-style-checkbox {
  list-style: none;
  padding-left: 0;
}

.wp-block-list.is-style-checkbox li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.wp-block-list.is-style-checkbox li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='0.2' d='M14.5 8C14.5 8.78188 13.3863 9.37188 13.0825 10.1056C12.79 10.8131 13.1712 12.0212 12.5962 12.5962C12.0212 13.1712 10.8131 12.79 10.1056 13.0825C9.375 13.3863 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3863 5.89437 13.0825C5.18687 12.79 3.97875 13.1712 3.40375 12.5962C2.82875 12.0212 3.21 10.8131 2.9175 10.1056C2.61375 9.375 1.5 8.78125 1.5 8C1.5 7.21875 2.61375 6.625 2.9175 5.89437C3.21 5.1875 2.82875 3.97875 3.40375 3.40375C3.97875 2.82875 5.1875 3.21 5.89437 2.9175C6.62812 2.61375 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.61375 10.1056 2.9175C10.8131 3.21 12.0212 2.82875 12.5962 3.40375C13.1712 3.97875 12.79 5.18687 13.0825 5.89437C13.3863 6.62812 14.5 7.21875 14.5 8Z' fill='%234694B5'/%3E%3Cpath d='M14.1163 6.42625C13.8806 6.18 13.6369 5.92625 13.545 5.70312C13.46 5.49875 13.455 5.16 13.45 4.83187C13.4406 4.22187 13.4306 3.53062 12.95 3.05C12.4694 2.56937 11.7781 2.55937 11.1681 2.55C10.84 2.545 10.5012 2.54 10.2969 2.455C10.0744 2.36312 9.82 2.11937 9.57375 1.88375C9.1425 1.46937 8.6525 1 8 1C7.3475 1 6.85812 1.46937 6.42625 1.88375C6.18 2.11937 5.92625 2.36312 5.70312 2.455C5.5 2.54 5.16 2.545 4.83187 2.55C4.22187 2.55937 3.53062 2.56937 3.05 3.05C2.56937 3.53062 2.5625 4.22187 2.55 4.83187C2.545 5.16 2.54 5.49875 2.455 5.70312C2.36312 5.92562 2.11937 6.18 1.88375 6.42625C1.46937 6.8575 1 7.3475 1 8C1 8.6525 1.46937 9.14187 1.88375 9.57375C2.11937 9.82 2.36312 10.0738 2.455 10.2969C2.54 10.5012 2.545 10.84 2.55 11.1681C2.55937 11.7781 2.56937 12.4694 3.05 12.95C3.53062 13.4306 4.22187 13.4406 4.83187 13.45C5.16 13.455 5.49875 13.46 5.70312 13.545C5.92562 13.6369 6.18 13.8806 6.42625 14.1163C6.8575 14.5306 7.3475 15 8 15C8.6525 15 9.14187 14.5306 9.57375 14.1163C9.82 13.8806 10.0738 13.6369 10.2969 13.545C10.5012 13.46 10.84 13.455 11.1681 13.45C11.7781 13.4406 12.4694 13.4306 12.95 12.95C13.4306 12.4694 13.4406 11.7781 13.45 11.1681C13.455 10.84 13.46 10.5012 13.545 10.2969C13.6369 10.0744 13.8806 9.82 14.1163 9.57375C14.5306 9.1425 15 8.6525 15 8C15 7.3475 14.5306 6.85812 14.1163 6.42625ZM13.3944 8.88188C13.095 9.19438 12.785 9.5175 12.6206 9.91438C12.4631 10.2956 12.4562 10.7312 12.45 11.1531C12.4437 11.5906 12.4369 12.0488 12.2425 12.2425C12.0481 12.4363 11.5931 12.4437 11.1531 12.45C10.7312 12.4562 10.2956 12.4631 9.91438 12.6206C9.5175 12.785 9.19438 13.095 8.88188 13.3944C8.56938 13.6937 8.25 14 8 14C7.75 14 7.42812 13.6925 7.11812 13.3944C6.80812 13.0962 6.4825 12.785 6.08563 12.6206C5.70438 12.4631 5.26875 12.4562 4.84688 12.45C4.40938 12.4437 3.95125 12.4369 3.7575 12.2425C3.56375 12.0481 3.55625 11.5931 3.55 11.1531C3.54375 10.7312 3.53687 10.2956 3.37937 9.91438C3.215 9.5175 2.905 9.19438 2.60562 8.88188C2.30625 8.56938 2 8.25 2 8C2 7.75 2.3075 7.42812 2.60562 7.11812C2.90375 6.80812 3.215 6.4825 3.37937 6.08563C3.53687 5.70438 3.54375 5.26875 3.55 4.84688C3.55625 4.40938 3.56312 3.95125 3.7575 3.7575C3.95187 3.56375 4.40688 3.55625 4.84688 3.55C5.26875 3.54375 5.70438 3.53687 6.08563 3.37937C6.4825 3.215 6.80562 2.905 7.11812 2.60562C7.43062 2.30625 7.75 2 8 2C8.25 2 8.57188 2.3075 8.88188 2.60562C9.19188 2.90375 9.5175 3.215 9.91438 3.37937C10.2956 3.53687 10.7312 3.54375 11.1531 3.55C11.5906 3.55625 12.0488 3.56312 12.2425 3.7575C12.4363 3.95187 12.4437 4.40688 12.45 4.84688C12.4562 5.26875 12.4631 5.70438 12.6206 6.08563C12.785 6.4825 13.095 6.80562 13.3944 7.11812C13.6937 7.43062 14 7.75 14 8C14 8.25 13.6925 8.57188 13.3944 8.88188ZM10.8538 6.14625C10.9002 6.19269 10.9371 6.24783 10.9623 6.30853C10.9874 6.36923 11.0004 6.43429 11.0004 6.5C11.0004 6.56571 10.9874 6.63077 10.9623 6.69147C10.9371 6.75217 10.9002 6.80731 10.8538 6.85375L7.35375 10.3538C7.30731 10.4002 7.25217 10.4371 7.19147 10.4623C7.13077 10.4874 7.06571 10.5004 7 10.5004C6.93429 10.5004 6.86923 10.4874 6.80853 10.4623C6.74783 10.4371 6.69269 10.4002 6.64625 10.3538L5.14625 8.85375C5.05243 8.75993 4.99972 8.63268 4.99972 8.5C4.99972 8.36732 5.05243 8.24007 5.14625 8.14625C5.24007 8.05243 5.36732 7.99972 5.5 7.99972C5.63268 7.99972 5.75993 8.05243 5.85375 8.14625L7 9.29313L10.1462 6.14625C10.1927 6.09976 10.2478 6.06288 10.3085 6.03772C10.3692 6.01256 10.4343 5.99961 10.5 5.99961C10.5657 5.99961 10.6308 6.01256 10.6915 6.03772C10.7522 6.06288 10.8073 6.09976 10.8538 6.14625Z' fill='%234694B5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.wp-block-list.is-style-checkbox li::after {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 781px) {
  .wp-block-list.is-style-checkbox li {
    padding-left: 1.75rem;
  }
  
  .wp-block-list.is-style-checkbox li::before {
    width: 1.1rem;
    height: 1.1rem;
  }
}

.wp-block-create-block-clickable-cover-block.clickable-cover-content {
  height:100%;
  cursor: pointer;
}