/*!
Theme Name: training contractor state license
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: training-contractor-state-license
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

training contractor state license is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/


:root {
  --color-primary: #0D1D41;
  --color-primary-light: #ced0d5; 
  --color-primary-dark: #3A3B3A;

  --color-secondary: #C4143C;
  --color-tertiary: #2b1e16;

  --color-text: #212529;
  --color-text-two:  #3A3B3A; 

  --fs-title-hero: 54px;
  --fs-title: 55px;
  --fs-title-small: 35px;

  --fs-subtitle-large: 25px;
  --fs-subtitle: 22px;
  --fs-subtitle-small: 20px;

  --fs-content-larger: 19px;
  --fs-content: 17px;
  --fs-content-small: 14px;

  --fs-button: 16px;

  --ff-roboto: "Roboto", sans-serif;
  --ff-roboto-con: "Roboto Condensed", sans-serif;
  --ff-poppins: "Poppins", sans-serif;

  --vertical-padding: 3rem;
  --header-size: 132.5px;

  --color-link: #ffa3b8d4;
}

@media (width<768px) {
  :root {
    --fs-title-hero: 22px;
    --fs-title: 30px;
    --fs-title-small: 20px;

    --fs-subtitle-large: 18px;
    --fs-subtitle: 18px;
    --fs-subtitle-small: 18px;

    --fs-content-larger: 16px;
    --fs-content: 16px;
    --fs-content-small: 15px;

    --vertical-padding: 2rem;
    --header-size: 130.59px;
  }
}

.fs-content,
.fs-content-large,
.fs-content-extra-large {
  line-height: 1.5;
}

* {
  scrollbar-width: thin;
  box-sizing: border-box;
  scrollbar-color: var(--color-primary) #fff;
}

html,
body {
  overflow-x: hidden;
  font-family: var(--ff-poppins);

}

a {
  text-decoration: none !important;
  transition: 400ms;
}

a:hover {
  color: #000;
  transition: 400ms;
}

p,
ul li, ol li {
  color: var(--color-text);
  font-size: var(--fs-content);
  font-family: var(--ff-poppins);
  line-height: 1.7;
}

div {
  line-height: 1.7;
}

.row{
  margin-left: 0px !important;
  margin-right: 0px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text);
  font-family: var(--ff-roboto-con);
  text-transform: capitalize !important;
}

.page-width {
  margin-inline: auto;
  max-width: 1600px;
  padding-inline: 1rem;

  @media (width>=768px) {
    padding-inline: 4rem;
  }
}

.vertical-padding {
  padding-top: var(--vertical-padding);
  padding-bottom: var(--vertical-padding);
}

.text-title {
  font-size: var(--fs-title);
  font-family: var(--ff-roboto-con);
  font-weight: 700;
  margin-bottom: 20px;
}

/* Font Families */

.ff-roboto {
  font-family: var(--ff-roboto);
}

.ff-poppins {
  font-family: var(--ff-poppins);
}

.ff-roboto-con {
  font-family: var(--ff-roboto-con);
}

/* Font sizes */

.fs-hero {
  font-size: var(--fs-title-hero);
}

.fs-title {
  font-size: var(--fs-title);
}

.fs-title-small {
  font-size: var(--fs-title-small);
}

.fs-subtitle {
  font-size: var(--fs-subtitle);
}

.fs-subtitle-small {
  font-size: var(--fs-subtitle-small);
}

.fs-subtitle-large {
  font-size: var(--fs-subtitle-large);
}

.fs-content {
  font-size: var(--fs-content);
}

.fs-content-small {
  font-size: var(--fs-content-small);
}

.fs-content-large {
  font-size: var(--fs-subtitle-large);
}

/* Colors */

.color-primary {
  color: var(--color-primary);
}

.color-secondary {
  color: var(--color-secondary);
}

.color-text {
  color: var(--color-text);
}

.dbg-primary {
  background: var(--color-primary);
}

.dbg-secondary {
  background: var(--color-secondary);
}

/* Buttons  */

.btn-primary {
}

/* Contact Form 7 */

.wpcf7-list-item {
  margin: 0;
}
input {
  outline: none;
}

.contact-form {
  input,
  textarea,
  select {
    box-shadow: none !important;
    outline: none !important;
    width: 100%;
    border: 1px solid #ddd !important;
    border-radius: 50rem;
    padding: 10px 15px;
    overflow: hidden;
  }

  .btn-primary {
    br {
      display: none !important;
    }
  }

  .btn-close:focus,
  .btn-menu-offcanvas:focus {
    box-shadow: none;
  }

  textarea {
    border-radius: 15px;
    height: 130px;
  }

  .check-policies {
    p {
      width: 100%;
    }

    a {
      position: absolute;
      transition: 0.4s;
      width: fit-content;
      color: var(--color-text);
      font-weight: 600 !important;

      &:hover {
        color: var(--color-primary);
      }
    }

    .wpcf7-not-valid-tip {
      position: absolute;
      width: 220px;
      left: 15px;
      top: 17px;
    }
  }

  .check-policies input {
    width: auto;
  }
}

/* tooltip */
.tooltip-inner {
  background-color: var(--color-secondary);
  color: #fff;

  /* Mobile */
  @media (width<=768px) {
    display: none;
  }
}

.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  border-top-color: var(--color-secondary);

  /* Mobile */
  @media (width<=768px) {
    display: none;
  }
}

.bs-tooltip-bottom .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
  border-bottom-color: var(--color-secondary);

  /* Mobile */
  @media (width<=768px) {
    display: none;
  }
}

.bs-tooltip-start .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
  border-left-color: var(--color-secondary);

  /* Mobile */
  @media (width<=768px) {
    display: none;
  }
}

.bs-tooltip-end .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
  border-right-color: var(--color-secondary);

  /* Mobile */
  @media (width<=768px) {
    display: none;
  }
}

/* New Styles */
.btn-nwc {
        background: var(--color-secondary);
        color: #fff;
        padding: 5px 25px;
        border-radius: 5px;
        transition: 400ms;
        font-weight: 600;
        width: fit-content;
        min-width: 125px;
        overflow: hidden;
        position: relative;
        display: flex;
      }

      @media (min-width: 768px ) {

  
      .btn-nwc::before, .btn-nwc::after {
        position: absolute;
        top: 0;
        display: block;
        height: 100%;
        width: 0;
        background-color: #fff;
        content: "";
        border-radius: 5px;
      }

      .btn-nwc::before {
        left: 0;
      }
      .btn-nwc::after {
        right: 0;
        transition: width 0.3s;
      }
      .btn-nwc:hover::after {
        background-color: transparent;
        width: 100%;
      }
      .btn-nwc:hover::before {
        width: 100%;
        transition: width 0.3s;
      }
      .btn-nwc:hover span{
        color: var(--color-primary);
      }


      }
       .btn-nwc span{
        z-index: 1;
        position: relative;
        color: #fff;
      }

   



      .btn-nwc-2 {
        min-width: 120px;
        color: #fff;
        padding: 5px 25px;
        border-radius: 5px;
        transition: 400ms;
        font-weight: 600;
        width: fit-content;
        background: var(--color-primary);
      }


      .btn-nwc-3 {
        background: #fff;
      }
      .btn-nwc-3 span {
        color: var(--color-primary);
      }


      @media (min-width: 768px ) {

      .btn-nwc-3::before, .btn-nwc-3::after {
        background-color: var(--color-secondary);

      }
      .btn-nwc-3:hover span {
        color: #fff;
      }

      }
      
      @media (max-width: 768px) {
        a.btn-nwc.btn-nwc-2.btn-modal:hover span {
          color: #fff!important;
      }
      }

      @media (max-width: 390px) {
        .btn-pay-invoice {
          display: none !important;
        }

      }

      @keyframes titilar {
        0% {
          transform: scale(1);
        }

        50% {
          transform: scale(1.05);
        }

        100% {
          transform: scale(1);
        }
      }


      @media(min-width: 575px) {
        .lateral-menu .btn:after {
          background: none !important;
        }
      }



      .header-modal {
        background: var(--color-primary) !important;
        border-radius: 15px 15px 0 0;
        display: flex;
        justify-content: space-between;
        padding: 5px 10px;
    }
      .header-modal img {
        filter: brightness(0) invert(1);
      }
      .header-modal button {
        filter: brightness(0) invert();
      }
      .container-modal-form {
        z-index: 9999!important;
      }
      .modal-form {
          border-radius: 0 0 8px 8px;
          overflow: hidden;
      }

/* ============================================
   Global FAQ / Accordion Section
   Recycled from content-faqs.php
   ============================================ */
.accordion-item {
    background-color: transparent !important;
    margin: 5px 0 !important;
    border: none !important;
}

.accordion-button {
    border-radius: 25px !important;
    font-size: var(--fs-content);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
}

.accordion-button:focus {
    border-color: transparent !important;
    box-shadow: none !important;
}

.accordion-button[aria-expanded="true"]::after,
.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed),
.accordion-button[aria-expanded="true"] {
    background: var(--color-secondary) !important;
    color: #fff !important;
}

.accordion-body{
  margin: 5px 0px;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.9px);
    -webkit-backdrop-filter: blur(8.9px);

    p,ul,li{
        color: white;
        a{
            color: white;
            font-weight: 600;

            &:hover{
                color: var(--color-secondary);
            }
        }
    }
}

.accordion-button::after{
  filter: brightness(0) invert(1);
}

.background-strong{
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 47.12%, var(--color-primary) 96.15%);
}