/*
Theme Name: OnePress Child Schools
Theme URI: https://www.famethemes.com/themes/onepress/
Author: FameThemes
Author URI: http://www.famethemes.com
Description: OnePress is an outstanding creative and flexible WordPress one page theme well suited for business website, portfolio, digital agency, product showcase, freelancers and everyone else who appreciate good design. The theme overall is an elegant and classic one, a fine example of Bootstrap 4 WordPress theme which compatibility with latest version of WooCommerce. (Live preview : https://demos.famethemes.com/onepress)
Version: 2.2.0
Template:     onepress
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onepress
*/

:root {
	--font-body: 'Nunito', sans-serif;
	--font-heading: 'Barlow Condensed', sans-serif;
}

body {
	font-family: var(--font-body);
	font-weight: 400;
}

a:not(.wp-block-button__link):not(.custom-logo-link) {
    position: relative;
    text-decoration: none;
}

a:not(.wp-block-button__link):not(.custom-logo-link)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width .3s ease;
}

a:not(.wp-block-button__link):not(.custom-logo-link):hover::after {
    width: 100%;
}
.no-link-btn a {
    cursor: default !important;
}
.site-footer .site-info a {
	color: #3E3E3E;
}

.eyebrow {
	font-family: var(--font-heading);
	font-size: 1.5625rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 1px;
}


.home h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.325rem, 4vw, 5.625rem);
    font-weight: 500;
    line-height: 1.2;
}


h1 {
	font-family: var(--font-heading);
	font-size: clamp(2.8rem, 5vw, 3.75rem);
	font-weight: 500; 
	margin-bottom: 1.9rem;
}


h2 {
	font-family: var(--font-heading);
	font-size: 3.125rem; /* 50px */
	font-weight: 500; /* Medium */
	margin-bottom: 1.9rem;
}


h3 {
	font-family: var(--font-heading);
	font-size: 1.5625rem; /* 25px */
	font-weight: 500; /* Medium */
}

h4 {
	font-family: var(--font-heading);
	font-size: 1.25rem; /* 20px */
	font-weight: 500; /* Medium */
}

h1, h2, h3, h4 {
	line-height: 1.1;
}

.fa6, .fa6b, .fa6l{
  font-family: 'Font Awesome 6 Pro' !important;
}
.fa6b{
  font-weight: bold !important;
}
.fa6l{
  font-weight: 300 !important
}
.fa-twitter:before {
  content: "\e61b"  !important;
  font-family: 'Font Awesome 6 Brands';
}
a:focus, a:hover {
	color: #007c8a;
	text-decoration: unset !important;
}
.breadcrumbs{
  display: none;
}
.no-sidebar .entry-content > .alignfull{
max-width: 100vw;
max-width: calc(var(--vw, 1vw) * 100);
width: 100vw;
width: calc(var(--vw, 1vw) * 100);
transform: translateX(-50%);
left: 50%;
position: relative;
}
.kt-inner-column-height-full.kt-tab-layout-inherit:not(.kt-row-layout-row)>.wp-block-kadence-column>.kt-inside-inner-col, .kt-inner-column-height-full.kt-tab-layout-row>.wp-block-kadence-column>.kt-inside-inner-col{
  height: 100% !important;
}
.no-sidebar .entry-content > .alignfull{
  transform: unset;
  width: 100%;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50%;
  margin-left: -50vw;
}
.entry-content li {
	margin-left: 0;
}
#page{
  overflow-x: hidden;
}
.onepress-menu a{
  letter-spacing: 0;
  text-transform: none;
}
#primary{
	padding-top: 0; padding-bottom: 0;
}
.entry-content{
	margin-bottom: 0;
}
.no-sidebar .entry-content > .alignfull{
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-media-text:not(.has-media-on-the-right) .wp-block-media-text__content{
  padding-right: 0;
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{
  padding-left: 0;
}
#masthead{
  padding: 15px 0
}
.site-branding .no-logo-img.has-desc, .site-branding .has-logo-img, .site-header{
  line-height: unset;
}
#masthead > .container{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#masthead > .container > div{
  flex: 1;
}
#masthead > .container > div.site-branding{
  max-width: 250px;
  float: none;
}
.header-right-wrapper{
  text-align: right;
}
.onepress-menu{
  float: none;
  text-align: right;
  display: inline-block;
}
.onepress-menu ul, .onepress-menu li{
  text-align: left
}
.onepress-menu > li{
  float: none;
  display: inline-block;
}

.wp-block-columns{
  margin-bottom: 0;
}
p:empty{
  display: none;
}
#back-to-top{
  position: fixed;
  bottom: 0;
  right: 10px;
  background: gray;
  padding: 5px 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  color: #fff;
  border: 0;
}
.tab-slider .kt-tabs-title-list{
  display: none !important;
}
.tab-slider .kt-tabs-content-wrap .wp-block-kadence-tab{
  padding: 0 !important;
  outline: none !important;
  border: 0 !important
}
.tab-slider .kt-tabs-content-wrap .ab-block-container{
  position: relative;
}
.tab-slider .kt-tabs-content-wrap .ab-block-container:before{
  content: '';
  padding-bottom: 30%;
  display: block;
  position: relative;
}
.tab-slider .kt-tabs-content-wrap .ab-block-container .ab-container-content{
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  width: 100%;
  z-index: 20
}
.thumbnail.square, .thumbnail.rectangular{
  position: relative;
}
.thumbnail.square:before, .thumbnail.rectangular:before{
  content: '';
  padding-bottom: 100%;
  position: relative;
  display: block;
}
.thumbnail.rectangular:before{
  padding-bottom: 56%;
}
.thumbnail.square img, .thumbnail.rectangular img{
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  height: 100%; width: 100%; object-fit: cover;
}
#page .pagination{
  display: block;
  margin: 20px 0;
}
#page .pagination .page-numbers{
  padding: 3px 12px 5px;
  border: 1px solid;
  margin-right: 5px;
  border-radius: 2px;
  text-decoration: none !important
}
#page .pagination .page-numbers.current, #page .pagination .page-numbers:hover{
  background: #ddd;
  text-decoration: none;
}
#page .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), #page .gform_wrapper select, #page .gform_wrapper textarea{
  width: 100%;
  padding: 10px;
  border: 1px solid #707070 !important;
  line-height: unset;
  box-shadow: none;
  background: #fff;
  min-height: unset;
  outline: none;
}
#page .gform_wrapper .gform_footer{
  margin-top: 20px;
}
.kb-blocks-bg-video-container .fluid-width-video-wrapper{
  padding-top: 0 !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.offset-to-left, .offset-to-right{
  width: calc(100% +((100vw - 1140px) / 2));
}
.offset-to-left{
  margin-left: calc(((100vw - 1140px) / 2)* -1);
}

#menu-item-59 > a {
	background-color: #007C8A;
	padding: 10px 20px;
	border-radius: 50px;
	color: #fff;
	text-decoration: none;
}
#menu-item-59 > a:hover {
	color: #fff !important;
}
#menu-item-59 {
	margin-left: 15px;
}

.home-gallery-wrapper img {
	border-radius: 20px;
}


#footer-widgets .widget-title {
	text-transform: uppercase;
	font-size: 1.5625rem;
	color: #000000 !important;
	font-weight: 500;
	font-family: var(--font-heading);
	text-align: center;
}

.site-info > .container {
    display: flex;
    justify-content: space-between;	
	border-top: 1px solid #CCCCCC;
	padding-top: 30px;
	padding-bottom: 30px;
}
.studio-different strong em {
	color: #919191;
	font-weight: 500;
	font-size: 50px;
	font-style: normal !important;
	
}
.studio-different .wp-block-heading {
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 20px;	
}
.studio-different .wp-block-heading strong {
	min-width: 50px;
}
.our-approach-items .wp-block-kadence-infobox:not(:last-child) {
	border-bottom: 1px solid #C1C1C1;
}
.our-approach-items .wp-block-kadence-infobox {
	padding: 20px 0;
}
.our-approach-items img {
	width: 49px;
	height: 51px;
}
.testimonials-section ul li .kt-testimonial-item-wrap {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-height: 350px;
	overflow: hidden;
	margin-top: 20px;
	margin-bottom: 20px;
}
.testimonials-section .kt-testimonial-content {
	padding-right: 0;
	max-height: 230px;
	overflow: auto;
	padding-top: 0;
}
.testimonials-section .kb-gallery-pause-button {
	bottom: -20px !important;
	right: 0 !important;	
}

.testimonials-section .kt-testimonial-name {
	margin-bottom: 0 !important;
}
#footer-widgets {
	padding-top: 60px;
}
#text-5 > .textwidget > ul > li {
    text-transform: uppercase;
    color: #000000;
    flex: 1;
    line-height: 1;
    padding-left: 60px;
    font-size: 25px;
    font-family: var(--font-heading);
    font-weight: 500;
}
#text-5 > .textwidget > ul {
	display: flex;
}
#text-5 li a {
	color: #3E3E3E;
	text-transform: capitalize;
	font-size: 16px;
	font-family: var(--font-body);
}
#text-5 li ul {
	margin-top: 20px;
}
#colophon .site-info {
	padding: 0;
}
.site-info p {
	margin-bottom: 0;
	color: #3E3E3E;
	font-size: 16px;
}
#masthead .onepress-menu > li > a {
    font-size: 16px;
    font-weight: 400;
    font-family: var(--font-body);	
	text-decoration: none;
}

.entry-content blockquote {
	background: inherit;
	font-style: normal;
	padding-left: 30px;
}

.eyebrow {
	opacity: 0;
	filter: blur(4px);
	transform: translateY(20px);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease,
		filter 0.7s ease;
}

.eyebrow.in-view {
	opacity: 1;
	filter: blur(0);
	transform: translateY(0);
}

.icon-boxes > .kt-row-column-wrap {
	display: flex;
	justify-content: center;
    flex-wrap: wrap;
	gap: 30px;
}
.icon-boxes > .kt-row-column-wrap > div {
	flex-basis: calc(33.33% - 20px);
}
.icon-boxes img {
	width: 50px !important;
	height: 50px !important;
}
.with-side-line { 
	display: flex; 
	align-items: center; 
	gap: 16px; 
} 
.with-side-line::after { 
	content: ""; 
	flex: 1; 
	height: 1px; 
	background: #EFEFEF;
	opacity: 0.4; 
}
.wp-block-button > a {
    padding: 8px 30px;
    border-width: 1px;
    font-weight: 700;
    font-size: 16px;
}
.wp-block-button .wp-block-button__link {
	border-radius: 50px;
}
.our-approach-items > .kt-row-column-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.our-approach-items > .kt-row-column-wrap > div {
	flex-basis: calc(20% - 24px);
}
.designed-your-school-items img {
	width: 100%;
	height: 51px;
}
.onepress-menu li.current-menu-item > a{
	color: #007C8A !important;
	font-weight: 700 !important;
}
.onepress-menu li a:hover {
	color: #007C8A !important;	
}


.testimonials-section .splide__slide {
    transform: scale(0.9);
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Make the second (middle) slide larger */
.testimonials-section .splide__slide.is-next {
    transform: scale(1.1);
    opacity: 1;
    z-index: 2;
}
.testimonials-section .kt-testimonial-name {
    margin-bottom: 22px;	
}
.testimonials-section .kb-gallery-carousel {
    padding-right: 59px !important;	
}
#page .our-approach-wrapper .wp-block-kadence-infobox:not(:last-child) {
	border-bottom: 1px solid #ddd;
}
#page .our-approach-wrapper .wp-block-kadence-infobox img {
	width :54px;
	height: 54px;
	min-width: 54px;
}
.gform-field-label--type-sub:has(+ input[aria-required="true"])::after,
.gform-field-label--type-sub:has(+ select[aria-required="true"])::after {
    content: " *";
    color: #c02b0a;
}
.gform_required_legend {
	display: none !important;
}
.gform-field-label--type-sub {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #112337 !important;	
}
.gform_button.button {
	border-radius: 50px !important;
	margin: 30px auto 0 !important;
}

.wp-block-kadence-testimonials .kb-gallery-pause-button {
	padding: 3px 6px !important;
}

.bottom-strip img {
	width: 27px !important;
	height: 27px !important;
}

section[data-custom-class="body_text"] {
	margin: 0 0 10px 0 !important;
}

#page :focus {
    outline: none;
    box-shadow: none;
}
a {
    color: #007C8A;
}

#text-4 p {
	font-size: 16px;
	color: #3E3E3E;
}

@media (min-width: 1200px) {
    .container {
        width: 1250px;
        max-width: 100%;
    }
}

@media (max-width: 1200px){
  .offset-to-left, .offset-to-right{
    width: 100%;
  }
  .offset-to-left{
    margin-left:0
  }
  #nav_menu-2 ul, #nav_menu-2 ul li{
    padding: 0;
  }
  .container{
    width: 100%;
  }
  #nav-toggle span, #nav-toggle span:before, #nav-toggle span:after{
    background: #000000;
  }
  #nav-toggle{
    position: relative;
    top: 0;
    display: block
  }
  .onepress-menu{
    top: 0 !important;
    height: 100% !important;
    position: fixed !important;
    bottom: 0;
    right: 0;
    max-width: 400px;
    padding-top: 70px;
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 0 !important;
	background: #000000db !important;
  }
  .onepress-menu.onepress-menu-mobile a{
    color: #fff ;
  }
  .onepress-menu.onepress-menu-mobile li{
    background: transparent;
  }
  .onepress-menu.onepress-menu-mobile li a{
    padding-left: 0; padding-right: 0;
    text-transform:normal;
  }
  .onepress-menu ul, .onepress-menu ul li a{
    background: transparent;
  }
  .onepress-menu a{
    font-size: 20px;
  }

  .onepress-menu .nav-toggle-subarrow{
    left: unset !important;
    right: 0;
  }
  .onepress-menu .nav-toggle-subarrow{
    border-left: 0 !important;
  }
  .onepress-menu.onepress-menu-mobile li{
	  border-top: 1px solid #ffffff36;
  }

  .onepress-menu.onepress-menu-mobile > li > a, .onepress-menu.onepress-menu-mobile .nav-toggle-subarrow{
    padding: 20px;
  }
  .onepress-menu{
    transition: right .2s;
    right: -100%;
  }
  .onepress-menu.onepress-menu-mobile{
    right: 0;
    box-shadow: 2px -5px 9px #a6a6a6
  }
  .onepress-menu.onepress-menu-mobile ul li a{
    padding: 12px 20px;
  }
  .onepress-menu{
    transform: none;
  }
  #nav-toggle.nav-is-visible {
    position: fixed;
    top: 30px;
    z-index: 10000000;
    right: 30px;
  }
  #nav-toggle.nav-is-visible span:before, #nav-toggle.nav-is-visible span:after{
    background: #fff;
  }
  .onepress-menu li ul:before{
    display: none;
  }
  .onepress-menu > li >ul{
    padding: 0 0px 0 20px !important;
  }
  #nav-toggle span{
    width: 36px;
  }
  #nav-toggle span:before, #nav-toggle span:after{
    width: 30px;
  }
  #nav-toggle.nav-is-visible span:after{
    top: 10px;
  }
  #nav-toggle.nav-is-visible span:before{
    top: -10px;
  }
  #content-inside {
    padding: 0 25px;
  }
  .entry-content > .alignfull.gb-block-container:not(.full-width-content) > div > .gb-container-content,
  .entry-content > .alignfull:not(.full-width-content) > div > .kt-row-column-wrap,
  .entry-content > .alignfull:not(.full-width-content) > .kt-row-column-wrap{
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
  #masthead .overlay{
    position: fixed;
    top: 0; left: 0; bottom: 0;
    background: #000;
    opacity: 0;
    right: -100%;
    transition: opacity .5s;
    z-index: 100;
    width: 0;
  }
  #masthead .nav-is-visible + .overlay{
    right: 0;
    width: 100%;
    opacity: 0.6;
  }
	#menu-item-59 {
		margin-left: 0;
		padding-top: 25px;
		text-align: center;
	}
}

@media (max-width: 991px) {
	.testimonials-section .splide__slide {
		opacity: 1 !important;
		transform: unset !important;
	}
	.testimonials-section .kb-gallery-carousel {
		padding-right: 35px !important;
	}
}

@media (max-width: 925px) {
	#footer-widgets > .container > .row {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	#text-5 > .textwidget > ul > li {
		padding-left: 0;
	}
	#footer-widgets * {
		text-align: center;
	}
	#footer-widgets .footer-column {
		max-width: 100%;
	}

}

@media (max-width: 925px) and (min-width: 768px) {
    .studio-different .wp-block-heading {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
}

@media (max-width: 820px) {
	.our-approach-items > .kt-row-column-wrap > div {
		flex-basis: 47%;
	} 
	.full-width-vw {
		width: calc(100vw - 50px);
	}
}

@media (max-width: 767px){
	.hide-mobile {
		display: none;
	}
	.wp-block-spacer[style="height:40px"] {
		height: 20px !important;
	}
	.wp-block-spacer[style="height:60px"] {
		height: 30px !important;
	}
	.wp-block-spacer[style="height:100px"] {
		height: 50px !important;
	}

	.site-info > .container {
		display: flex;
		flex-direction: column-reverse;
		gap: 10px;
	}
	#text-5 {
		margin-bottom: 0;
	}
	#text-5 .textwidget > ul {
		flex-direction: column;
	}
	#text-5 > .textwidget > ul > li {
		padding-left: 0;
	}
	.icon-boxes > .kt-row-column-wrap > div {
		flex-basis: 100%;
	}
	.designed-your-school-items .wp-block-media-text {
		grid-template-columns: 7% auto !important;
	}
	.designed-your-school-items .wp-block-media-text__content {
	    padding-left: 25px;	
	}
	.center-content-mobile * {
		text-align: center !important;
	}
	.center-content-mobile {
		justify-content: center;
	}
	.reverse-column-mobile > .kt-row-column-wrap {
		display: flex;
		flex-direction: column-reverse !important;
	}
	.photography-students-items > .kt-row-column-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.photography-students-items .wp-block-media-text img {
		width: 51px;
		height: 53px;
	}
	.photography-students-items .wp-block-media-text__media {
		margin-bottom: 0 !important;
	}
	.photography-students-items .wp-block-media-text__content {
		padding-left: 25px !important;
	}
	.hide-mobile {
		display: none !important;
	}
	.no-gap-mobile > .kt-row-column-wrap {
		gap: 0 !important;
	}
	.mid-strip > .kt-row-column-wrap {
		gap: 15px;
	}
	.stacked-buttons-mobile {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 600px){
  .wp-block-media-text.is-stacked-on-mobile{
    display: block;
  }
  .wp-block-media-text .wp-block-media-text__media{
    margin-bottom: 20px;
  }
  .wp-block-media-text .wp-block-media-text__content{
    padding-left: 0;
    padding-right: 0;
  }
	.photography-students-items .wp-block-media-text img {
        width: 34px;
        height: 35px;
    }

}
