/*
Theme Name: School
Theme URI: https://wordpress.org/themes/school/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: School is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. School will make your WordPress look beautiful everywhere.
Version: 2.8
Tested up to: 6.1
Requires at least: 4.4
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog, block-patterns
Text Domain: school

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/**
 * Table of Contents
 *
 * 1.0 - Normalize
 * 2.0 - Genericons
 * 3.0 - Typography
 * 4.0 - Elements
 * 5.0 - Forms
 * 6.0 - Navigation
 *   6.1 - Links
 *   6.2 - Menus
 * 7.0 - Accessibility
 * 8.0 - Alignments
 * 9.0 - Clearings
 * 10.0 - Widgets
 * 11.0 - Content
 *    11.1 - Header
 *    11.2 - Posts and pages
 *    11.3 - Post Formats
 *    11.4 - Comments
 *    11.5 - Sidebar
 *    11.6 - Footer
 * 12.0 - Media
 *    12.1 - Captions
 *    12.2 - Galleries
 * 13.0 - Multisite
 * 14.0 - Media Queries
 *    14.1 - >= 710px
 *    14.2 - >= 783px
 *    14.3 - >= 910px
 *    14.4 - >= 985px
 *    14.5 - >= 1200px
 * 15.0 - Print
 */


/**
 * 1.0 - Normalize
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 */

/********** Template CSS **********/
:root {
    --primary: #37a2fe;
    --light: #e2f1ff;
    --dark: #17609f;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

body{
	background-color: #fff !important;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: 600px;
}

@media (max-width:920px){
    .mob-disp{
        display: none !important;
    }
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

h2.widget-title {
    color: white;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'HomelandItalic', Lobster Two !important;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'HomelandItalic', Lobster Two !important;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
	.navbar-nav a {
        padding: 10px 15px !important;
    }
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0px;
    background: url(img/bg-header-bottom.png) center center repeat-x;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
	background: linear-gradient(rgb(0 0 0 / 70%), rgb(0 0 0 / 70%)), url(img/carousel-1.jpg) center center no-repeat;
	background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 150px;
    padding: 30px;
    border-radius: 150px;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item .min-high{
    min-height: 420px;
}

.classes-item:hover {
    margin-top: -10px;
}

@media (max-width:425px){
    .classes-item .min-high{
        min-height: 320px;
    }
}

@media (max-width:820px) and (min-width:426px){
    .classes-item .min-high{
        min-height: 395px;
    }
}

/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 200px;
    height: 100px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 8px solid var(--light);
    border-radius: 30px;
    transition: .5s;
    text-align: center;
}

.team-text h5{
    font-family: 'HomelandItalic', Lobster Two !important;
    margin-bottom: 0;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-item p{
    min-height: 120px;
}

@media (max-width : 520px){
    .testimonial-item p{
        min-height: 230px;
    }
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .menu-footer-container ul {
	padding-left:0;
}

.footer .menu-footer-container ul li {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .menu-footer-container ul li a {
    color:rgba(255,255,255,0.5);
}

.footer .menu-footer-container ul li a:hover {
	color:#37a2fe;
}

.footer .menu-footer-container ul li::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .menu-footer-container ul li:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


.navbar-nav a{
	padding:30px 15px;
    font-size: 1.2rem;
}

.tnp-widget form{
	position:relative;
	margin-top:20px;
}

.tnp-widget .tnp-field-button{
	position: absolute;
    right: 10px;
    top: 0;
    width: 83px;
}

.tnp-widget .tnp-email{
	width: 100%;
    padding: 10px;
    display: block;
    border: 2px solid #ddd !important;
    border-color: #ddd;
    background-color: #0000 !important;
    background-image: none;
    text-shadow: none;
    color: #fff !important;
    font-size: 14px;
    line-height: normal;
    box-sizing: border-box;
    height: 56px !important;
    border-radius: 13px !important;
}

.tnp-widget .tnp-submit{
	margin: 8px 0 !important;
    height: 40px !important;
    padding: 10px !important;
    border-radius: 5px;
    background-color: #37a2fe !important;
	border: 0 !important;
}

.navbar [aria-current="page"]{
  	color: #17609f !important;
    font-weight: 500;
}

.wpcf7-not-valid-tip:not(:nth-child(1)):not(:nth-child(2)) {display:none;}

@media (max-width: 559px) {
	.mar-t{
		margin-top:0px
	}
	
	.mar-b{
		margin-bottom:0px;
	}
	
	.pad-t{
		padding-top:0 !important;
	}
	
	.mar-t-25{
		margin-top:25px;
	}
	
	.footer ul, p {
		margin-bottom:0 !important;
	}
}
.baloon{
    position: relative;
}
.baloon::before{
    background-image: url(https://school.dev4.workpoint001.info/wp-content/uploads/2023/03/MicrosoftTeams-image-198.png);
    position: absolute;
    content: "";
    width: 14%;
    height: 175px;
    bottom: 0;
    background-repeat: no-repeat;
    left: -85%;
    z-index: 1;
    background-size: contain;
}
.school-logo {
    height: 65px;
}
@media (max-width:520px){
}
@media (max-width:767px) and (min-width:521px){
    .baloon::before {
        background-image: url(https://school.dev4.workpoint001.info/wp-content/uploads/2023/03/MicrosoftTeams-image-198.png);
        position: absolute;
        content: "";
        width: 20%;
        height: 100%;
        top: 275px;
        background-repeat: no-repeat;
        left: 500px;
        z-index: 0;
        background-size: contain;
    }
}

@media (max-width:1024px) and (min-width:768px){
    .baloon::before {
        background-image: url(https://school.dev4.workpoint001.info/wp-content/uploads/2023/03/MicrosoftTeams-image-198.png);
        position: absolute;
        content: "";
        width: 15%;
        height: 200px;
        bottom: 0;
        background-repeat: no-repeat;
        left: 30px;
        z-index: 0;
        background-size: contain;
    }
}

@media (max-width:1540px) and (min-width:1025px){
    .baloon::before {
        background-image: url(https://school.dev4.workpoint001.info/wp-content/uploads/2023/03/MicrosoftTeams-image-198.png);
        position: absolute;
        content: "";
        width: 10%;
        height: 200px;
        bottom: 0;
        background-repeat: no-repeat;
        left: 60px;
        z-index: 0;
        background-size: contain;
    }
}

@media (max-width : 1024px) and (min-width : 769px) {.team-item .team-text {position: absolute;
width: 165px;height: 150px;bottom: 0;
right: 0;
display: flex;align-items: center;
justify-content: center;
flex-direction: column;
background: #FFFFFF;
border: 8px solid var(--light);
border-radius:30px;transition: .5s;}.btn-square {width: 25px;height: 25px;}}

@media (max-width: 767px) {
    .school-logo {
        height: 50px;
    }
    .header-carousel .baloon .button-section {
        order: 1;
        margin-bottom: 20px;
        text-align: left !important;
    }
    .header-carousel .baloon .banner-image {
        order: 2;
    }
    .baloon::before {
        background-image: url(https://school.dev4.workpoint001.info/wp-content/uploads/2023/03/MicrosoftTeams-image-198.png);
        position: absolute;
        content: "";
        width: 31%;
        height: 130px;
        bottom: 0;
        background-repeat: no-repeat;
        left: 10px;
        z-index: 0;
        background-size: contain;
        top: auto;
    }
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }

    .team-item .team-text {
        width: 210px !important;
        height: 120px !important;
    }
}

.school-logo1 {
    height: 50px;
}