/* 
Theme Name: CoachPress Child
Theme URI: https://blossomthemes.com/wordpress-themes/coachpress-lite/
Description: CoachPress Child is a child theme of CoachPress
Author: Blossom Themes & B-online
Author URI: https://blossomthemes.com/
Template: coachpress-lite
Version: 2.0.0
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Global */
.hidden {
    display: none;
}

/* Header */
.site-header .header-top {
    background: rgba(var(--primary-color-rgb), 0.1)!important;
}
.header-search .header-search-wrap {
    background: rgba(var(--white-color-rgb), 0.9);
}
.header-search .header-search-wrap .close {
    background: var(--black-color);
}
@media(max-width:768px) {
.custom-logo-link img {
    width: 50px!important;
}
.site-title {
    font-size: 24px!important;
}
}

/* Menu */
@media(min-width:1025px) {
.nav-menu {
    font-size: 1em;
}

.nav-menu > .menu-item:after {
    content: '';
    display: block;
    width: 0;
    height: 1em;
	box-sizing: border-box;
    background-color: #e4f3f4; /*#e4f3f4 || #b4dfe1 || #31b0b7*/
    transition: width .3s ease-in-out 0s;
    position: absolute;
    left: 0;
    bottom: 1.5em;
    z-index: -1;
}
.nav-menu > .menu-item:hover:after {
	width: calc(100% + 10px);
}
}

/* Forms */
input:not([type="submit"]), textarea {
    outline-width: 0;
}
.search-form .search-field {
    outline: 1px solid var(--black-color);
}

.wpcf7-form div {
  position: relative; /*  make label relate to parent  */
  padding-top: 10px;  /*  make space for label text  */
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder{
    color: transparent;
}
.wpcf7-form label {
  position: absolute;
  pointer-events: none;
  left: 15px;
  top: 1.5em;
  transition: 0.2s ease all;
  z-index: 99;
  
  font-family: var(--secondary-font); /* "Crimson Text", Sans-serif */
  font-style: italic;
  font-size: 1em;
}
.wpcf7-form input[type=button], 
.wpcf7-form input[type=submit], 
.wpcf7-form input[type=reset] {
    font-size: .8em;
    text-transform: uppercase;
    letter-spacing: .2em;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-bottom-color: var(--primary-color);
}

.wpcf7-form input:-webkit-autofill,
.wpcf7-form input:-webkit-autofill:hover, 
.wpcf7-form input:-webkit-autofill:focus, 
.wpcf7-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.wpcf7-form-control-wrap:has(input:focus) ~ label,
.wpcf7-form-control-wrap:has(input:not(:placeholder-shown)) ~ label,
.wpcf7-form-control-wrap:has(textarea:focus) ~ label,
.wpcf7-form-control-wrap:has(textarea:not(:placeholder-shown)) ~ label {
  top: 0;
  font-size: .7em;
  color: var(--primary-color);
}
.wpcf7-not-valid-tip {
  font-size: .7em;
}

/* Footer */
.footer-top {
    background-color: var(--primary-color);
    background-size: auto 80%;
    background-repeat: no-repeat;
    background-position: center;
}
.footer-top::before {
    background: rgba(var(--white-color-rgb), 0.9);
}
.site-info {
    background: rgba(var(--primary-color-rgb), 0.1);
}


/* Copyright */
.site-info a {
    font-family: var(--primary-font);
}
.site-info .container {
    font-size:0;
}
.site-info .container .copyright {
    font-size:1rem;
}

