/*
Theme Name: Thryve School
Theme URI: https://thryvewp.com/themes/thryve-school/
Author: thryvewp
Author URI: https://thryvewp.com/
Description: Thryve School is a modern and lightweight Full Site Editing (FSE) WordPress theme designed for schools, colleges, educational institutes, and business organizations. It offers a clean and professional layout with easy customization using the WordPress block editor. The theme is fast, responsive, SEO-friendly, and built for performance, making it suitable for educational websites, training centers, academies, and corporate firms. Thryve School provides flexible design options, customizable templates, and fast, dedicated support to ensure a smooth website-building experience.
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.0
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thryve-school
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations,  blog, portfolio, education
*/

.has-highlited > * {
    padding: 10px 7px;
    border-radius: 5px;
}

.sticky-header {
    position: sticky;
    z-index: 9;
    top: 0;
}

.about-us-section > img,
.about-us-section .has-black-background-color {
    border-radius: 8px;
}

.about-us-section {
    overflow: visible;
}

.wp-block-button__link {
    transition: all 0.3s;
}

.wp-block-button__link:hover {
    background-color: var(--wp--preset--color--button-hover-bg) !important;
    color: var(--wp--preset--color--button-hover-text-color) !important;
}

.faq-section details {
    border-radius: 5px;
}

.news-article-box .wp-block-post-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

footer.wp-block-template-part {
    margin-top: 0;
}

/* contact us section */

.contact-us form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.contact-us form textarea {
    width: 100%;
    max-height: 150px;
    background: #eee;
    padding: 10px;
    border: 1px solid #eee;
    max-width: 360px;
}
.contact-us form input.wpcf7-form-control {
    width: 100%;
    height: 30px;
    background: #eee;
    padding: 10px;
    border: 1px solid #eee;
    max-width: 360px;
}

.contact-us input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #000;
    color: #fff;
    height: 50px;
    border-radius: 6px;
    cursor: pointer;
    width: 150px;
}

.sticky-wrapper.is-sticky .main-header {
    z-index: 9 !important;
}


.thryvewp-mark-has-border mark {
    border: 1px solid #00570e6b;
    padding: 8px 20px;
    border-radius: 50px;
}

.thryve-featured-banner a,
.thryve-school-courses a {
    text-decoration: none;
}

.thryve-school-hover-effect {
   
    transition: all 0.3s;
  
}

.thryve-school-hover-effect:hover {
    transform: translate(0, -10px);
    box-shadow: 0px 7px 10px #c3b0b08c;
}

.suscribe-us-form input.wpcf7-form-control {
    height: 45px;
    border: 1px solid #eee;
    line-height: 1;
    border-radius: 10px 0 0 10px;
    padding: 0 20px;
}

.suscribe-us-form input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: var(--wp--preset--color--primary) !important;
    color: #fff;
    min-width: 110px;
    border-radius: 0 10px 10px 0;
    border: 1px solid var(--wp--preset--color--primary) !important;
}

.suscribe-us-form span.wpcf7-spinner {
    position: absolute;
    right: 0;
}

.suscribe-us-form p {
    margin-top: 0;
}

.suscribe-us-form span.wpcf7-not-valid-tip {
    position: absolute;
    font-size: 12px;
}

.thryvewp-go-to-top {
    position: fixed;
    bottom: 30px;
    display: none;
}

.thryvewp-go-to-top a {
    position: fixed;
    bottom: 30px;
    background: var(--wp--preset--color--secondary);
    cursor: pointer;
    z-index: 999;
    right: 20px;
    height: 40px;
    width: 40px;
    border-radius: 3px;
    display: block;    
    text-align: center;
    line-height: 2.5;
    color: transparent;
    overflow: hidden;
}

.thryvewp-go-to-top a:hover {
    background: var(--wp--preset--color--button-hover-bg);
}

.thryvewp-go-to-top a:before {
    content: '';
    border: solid #fff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);

}


/* sidebar*/

ul.wp-block-latest-posts__list.wp-block-latest-posts li {
    margin-bottom: 20px;
}
ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-title {
    font-weight: 600;
}

@media (max-width: 720px) {
    #main-header .wp-block-social-links,
    #main-header .header-button {
        display: none;
    }
}


/* sub menu style for desktop */

@media (min-width: 920px) {

    .main-header ul.wp-block-navigation__submenu-container li {
        border-bottom: 1px solid #eee;
    }

    .main-header ul.wp-block-navigation__submenu-container {
        border-radius: 5px !important;
        border: 0 !important;
        overflow: hidden !important;
    }


}