/*
Theme Name:   Learnify Child Theme
Theme URI:    http://learnify.axiomthemes.com
Description:  Learnify Child Theme
Author:       AncoraThemes
Author URI:   http://axiomthemes.com
Template:     learnify
Version:      1.0 > Modified 0.1
Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
Text Domain:  learnify
*/

/* Font-Face Declaration for Poppins Regular */
@font-face {
	font-family: 'Poppins';
	src: url('fonts/Poppins-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
  }
  
/* Font-Face Declaration for Poppins SemiBold */
@font-face {
font-family: 'Poppins';
src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
font-weight: 600; /* 600 is the font weight for SemiBold */
font-style: normal;
}

/* =Theme customization starts here
------------------------------------------------------------ */
body {
	font-family: "Poppins", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, .blogger-cards h3.post_title.entry-title {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
h4 {
	margin-top: 0.63em;
}
.blogger-cards .post_layout_excerpt .post_title {
    word-break: inherit;
}

/* Force reset line heights */

h1 {
	line-height: 1.35em !important;
}

h2 {
	line-height: 1.28em !important;
}

h3 {
	line-height: 1.3em !important;
}

h4 {
	line-height: 1.2em !important;
}

h5 {
	line-height: 1.27em !important;
}

h6 {
	line-height: 1.5em !important;
}

p {
	line-height: 1.7em !important;
}

button {
	line-height: 21px !important;
}

#footer,
#footer a {
    color: white !important;
}
#footer .menu_hover_zoom_line .sc_layouts_menu_nav > li:not(.menu-collapse) > a::after {
  background-color: white;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap select {
    padding: 12px;
}
.wpcf7-form-control-wrap input[type="text"]:focus {
    background-color: white;
}
.post_footer.post_footer_single.entry-footer {
    display: none;
}

/* FORM Contact form 7 override */

.wpcf7-form {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.wpcf7-form > .container {
	margin: 0 !important;
}

.field.acceptance .wpcf7-form-control-wrap {
	width: auto !important;
	display: inline-block;
}
.wpcf7-acceptance input[type="checkbox"] {
	visibility: hidden;
	clip: unset;
	position: relative !important;
	width: auto;
}

.wpcf7-list-item-label:before {
	left: -15px !important;
}

.wpcf7 .wpcf7-submit-style {
	margin: 1em 0;
}
.cf7-smart-grid.has-grid .field > label {
  display: block;
  margin-bottom: 0.5em;
}

/* Standard elementor sections Force override */ 
header .elementor-section>.elementor-container  { /* applies to the header first container in the section not children */
	padding:0 5% 0 5% !important;
}
.page_content_wrap .elementor-section>.elementor-container  { /* applies to the first container in the section not children */
	padding: 5% !important;
}


.page_content_wrap .elementor-section>.elementor-container  .elementor-container { /* applies to the children secitons */
	padding: 0 5% 0 5% !important;
}

@media screen and (max-width: 768px) {
	.page_content_wrap .elementor-section>.elementor-container  { /* applies to the first container in the section not children */
	padding: 10% !important;
}
}

@media screen and (min-width: 1280px) {
	.elementor-section>.elementor-container .elementor-col-50:first-of-type {
		padding: 0 2% 0 0;
	}

	.elementor-section>.elementor-container .elementor-col-50:last-of-type {
		padding: 0 0 0 2%;
	}
}

@media screen and (min-width: 1440px) {
	.elementor-section>.elementor-container .elementor-col-50:first-of-type {
		padding: 0 3% 0 0;
	}

	.elementor-section>.elementor-container .elementor-col-50:last-of-type {
		padding: 0 0 0 3%;
	}
}

@media screen and (min-width: 1600px) {
	.elementor-section>.elementor-container .elementor-col-50:first-of-type {
		padding: 0 5% 0 0;
	}

	.elementor-section>.elementor-container .elementor-col-50:last-of-type {
		padding: 0 0 0 5%;
	}
}

/* Blog sections, blog single override */

.post_header_wrap_style_style-4 {
	margin-top: 4em;
}

.blogger-cards .post_item {
    background-color: white;
    height: 100%;
}
.blogger-cards .sc_blogger.sc_blogger_excerpt .post_featured {
    width: 100%;
    overflow: visible;
}
.blogger-cards .post_layout_excerpt .post_featured.with_thumb .categories-extra-wrap {
    top: 24px;
    right: -6px;
    left: auto;
}
.blogger-cards .post_inner_excerpt_content {
    padding: 0 var(--theme-var-grid_gap);
}
.blogger-cards .post_item .post-more-link {
    margin: 2em 0;
}

.page_content_wrap .post_header_wrap .content_wrap {
	display: flex;
	flex-direction: column-reverse;
}

/* Main nav edits */

.lang-selector .menu-item a:hover,
.lang-selector .menu-item a:active,
.lang-selector .menu-item a:visited,
.lang-selector .menu-item a:focus,
.lang-selector .current-menu-item a,
.lang-selector .sc_layouts_menu_nav .current-menu-item a
{
	color: var(--theme-color-text_link2) !important;
}

[rel="alternate"][hreflang="es"] {
	display: none !important;
}

@media screen and (max-width: 1080px) {
	.menu_main_nav_area, #menu-main, .search_wrap, .top_panel_title {
		display: none !important;
	}
	
	.sc_layouts_row_delimiter {
		border: none;
	}
}



@media screen and (max-width: 1023px) {
	body.mobile_layout.menu_mobile_opened {
	height: auto !important;
    overflow: visible !important;
	}
}


.main-logo {
	display: block !important;
}

.main-logo-scrolled {
	display: none !important;
}

.sc_layouts_row_fixed_on .main-logo-scrolled {
	display: block !important;
	max-width: 170px !important;
	padding: 0.25em 0;
}

.sc_layouts_row_fixed_on .main-logo {
	display: none !important;
}

.main-logo .elementor-widget-container {
	position: relative;
}
.main-logo .elementor-widget-container .sc_layouts_logo {
	position: absolute;
	width: 200px;
	top: -1.75rem;
}

.main-logo .elementor-widget-container .sc_layouts_logo .logo_image {
	max-height: 3.5em;
}

@media screen and (max-width: 768px) {
	.main-nav .elementor-container .elementor-row{
		justify-content: space-between;
	}
}

.main-nav-center {
	margin-bottom: 0;
}

.main-nav-center .menu_main_nav .menu-item a {
	padding: 0.9em 0.9em 0.45em 0.9em;
}

.main-nav-center .menu_main_nav .menu-item a:after, .main-nav-center .menu_main_nav .menu-item a:hover:after {
	width: 0% !important;
}

.sc_layouts_menu .sc_layouts_menu_nav > li li.current-menu-item > a,
.sc_layouts_menu .sc_layouts_menu_nav > li.current-menu-parent > a,
.sc_layouts_menu .sc_layouts_menu_nav > li.current-menu-ancestor > a,
.sc_layouts_menu_nav > li li.current-menu-item.sfHover,
.sc_layouts_menu_popup .sc_layouts_menu_nav > li > a:hover,
.sc_layouts_menu_popup .sc_layouts_menu_nav > li.sfHover > a,
.sc_layouts_menu_nav > li li > a:hover,
.sc_layouts_menu_nav > li li.sfHover > a
{
	color: var(--theme-color-text_link2) !important;
}

.menu_hover_zoom_line .sc_layouts_menu_nav li li:not(.menu-collapse) > a > span:after {
	background-color: color: var(--theme-color-text_link2) !important;
}

.main-nav-right .elementor-widget-wrap {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end !important;
}

.main-nav-right .elementor-widget-wrap .search-button {
	margin-bottom: 0 !important;
}

.main-nav-right .elementor-widget-wrap .lang-selector {
	margin: 0 0 0 1.2rem !important;
}

@media screen and (min-width: 768px) {
	.main-nav-right .elementor-widget-wrap {
		justify-content: space-between;
	}
	.main-nav-right .elementor-widget-wrap .lang-selector {
		margin: 0 0 0 0;
	}
}

@media screen and (min-width: 1024px) {
	.main-nav-right .elementor-widget-wrap {
		justify-content: flex-end;
	}
	.main-nav-right .elementor-widget-wrap .lang-selector {
		margin: 0 0 0 1.2rem;
	}
}

.menu_mobile .menu_mobile_nav_area .open_child_menu {
	position: relative;
	display: inline-block;
}

.menu_mobile .menu_mobile_nav_area li a {
	text-align: center !important;
}

.menu_mobile .menu_mobile_nav_area li > .open_child_menu:before {

		font-size: 16px;
		font-family: "fontello";
		content:'\E9A4';
		position: relative;
		right: -11px;
		transition: right 0.3s ease-out, color 0.3s ease, opacity 0.3s ease;
}

.education-section h3 {
	font-size: 1.5em;
}

.sc_button {
	border-color: var(--theme-color-text_link2) !important;
	background-color: var(--theme-color-text_link2) !important;
}

.sc_button_title {
	color: var(--theme-color-inverse_link);
}

.sc_button:hover {
	border-color: var(--theme-color-text_hover2) !important;
	background-color: var(--theme-color-text_hover2) !important;
}

.sc_button.color_style_link3, .sc_button.color_style_link3:hover {
  background-color: var(--theme-color-inverse_link) !important;
  border-color: var(--theme-color-inverse_link) !important;
}

.sc_button.color_style_link3 .sc_button_title, .color_style_link3.sc_button_hover::before {
	color: var(--theme-color-text_link2) !important;
}

.is-starred .sc_item_title_text, .starred {
	position:relative;
}

.is-starred .sc_item_title_text:after, .starred:after {
	content: "";
	background: url('images/svg/star-element-fit4eu.svg');
	background-size:cover;
	background-repeat: no-repeat;
	position: absolute;
	top: -10px;
	width: 35px;
	height: 35px;
	transform: rotate(45deg);
}

.is-starred-left.is-starred .sc_item_title_text:after, .starred-left.starred:after {
	left: -20px;
}

.is-starred-right.is-starred .sc_item_title_text:after, .starred-right.starred:after {
	right: -20px;
}

.post_layout_excerpt .categories-extra-wrap {
	background-color: var(--theme-color-text_link2);
}
.post_layout_excerpt .categories-extra-wrap:after {
	border-left: 5px solid var(--theme-color-text_link2);
}

.page_info .go_home {
	color: var(--theme-color-text_link2) !important;
}

/* Timeline edits */

#story-b68e2c6 .twae-content,
#story-0d92f17 .twae-content,
#story-8b32302 .twae-content,
#story-b68e2c6 .twae-arrow,
#story-0d92f17 .twae-arrow,
#story-8b32302 .twae-arrow
{
	background: var(--theme-color-text_hover);
}

#twea-timeline-646b88e .twae-story-right .twae-content,
#twea-timeline-646b88e .twae-story-right .twae-arrow,
#twea-timeline-598d06d4 .twae-story-right .twae-content,
#twea-timeline-598d06d4 .twae-story-right .twae-arrow
{
  	transition: all 0.3s ease; 
}

#twea-timeline-646b88e .twae-story-right:hover .twae-content,
#twea-timeline-598d06d4 .twae-story-right:hover .twae-content{
	transform: translateX(3%);
}

#twea-timeline-646b88e .twae-story-right:hover .twae-arrow,
#twea-timeline-598d06d4 .twae-story-right:hover .twae-arrow{
	left: 15px;
	transform: translateX(3%) rotate(45deg);
}

#twea-timeline-646b88e .twae-story-left .twae-content,
#twea-timeline-646b88e .twae-story-left .twae-arrow,
#twea-timeline-598d06d4 .twae-story-left .twae-content,
#twea-timeline-598d06d4 .twae-story-left .twae-arrow {
  	transition: all 0.3s ease; 
}

#twea-timeline-646b88e .twae-story-left:hover .twae-content,
#twea-timeline-598d06d4 .twae-story-left:hover .twae-content{
	transform: translateX(-3%);
}

#twea-timeline-646b88e .twae-story-left:hover .twae-arrow,
#twea-timeline-598d06d4 .twae-story-left:hover .twae-arrow{
	right: 15px;
	transform: translateX(-3%) rotate(45deg);
}
