/*
  Theme Name:   Formia AI Courses
  Theme URI:    
  Description:  Formia AI Courses Theme 
  Author:       blogwp
  Author URI:   https://blogwpthemes.com/
  Template:     xpand-blog
  Version:      1.0.0
  Requires at least: 5.5
  Tested up to: 6.2
  Requires PHP: 5.6
  License:      GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
  Tags:         left-sidebar, right-sidebar, left+right-sidebar, custom-logo, custom-menu, featured-images, footer-widgets, custom-colors, custom-header, theme-options, threaded-comments, blog
  Text Domain:  formia-ai-courses
 */

html {
	background-color: #f9f9f9;
}

body section#primary {
	min-height: 100vh;
	font-family: 'Libre Baskerville', sans-serif;
}

h1, h2, h3, h4 {
	font-family: 'Lato', serif;
}

.content .h2, .content h2 {
    font-size: 1.5em;
}

 .topbar {
     background: #f70d28 none repeat scroll 0 0;
     border-bottom: 1px solid #eeeeee;
     overflow: hidden;
     padding: 8px 0;
 }

 .social_section ul.social-icon-list li a {
     margin-left: 20px;
     color: #ffffff;
 }

 .ptb-20{
     padding-top: 50px!important;
 }

 .site-branding .site-title a {
     font-family: 'Slabo 13px', serif;
     font-size: 45px;
     letter-spacing: 3px;
     color: #424243;
     font-weight: 400;
 }

 .site-branding .site-description {
    
     font-family: 'Slabo 13px', serif;
     font-size: 12px;
     font-weight: lighter;
     letter-spacing: 2.5px;
     color: #bdbdbd;
     padding-top: 5px;
     font-style: italic;
 }

 .header-search > .search-btn {
     color: #ffffff;
 }

 .site-header {
     padding: 0px 0;
 }

 #site-name {
     padding-bottom: 20px;
     padding-top: 20px;
     text-align: center;
 }

 .grid-item img:hover{
     transform: none;
 }

 .md-xpand-blog-menu{
         align-items: center;
         justify-content: center;
         display: flex;
         background: #d9d8d8 none repeat scroll 0 0;
         border-bottom: 1px solid #eeeeee;
         border-top: 1px solid #eeeeee;
         margin-bottom: 0;
         position: relative;
     }


.page-id-14 .col-lg-8 {
  width: 100%;
 }

 .primary-menu-list.main-menu-modal.cover-modal.show-modal {
    background-color: #0f1c12;
    font-size: 2em;
}

 .xpand-blog-main-navigation .close {
        color: #ccc;
        background: #424243;
 }
 
.site-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.5em;
}

.site-info a {
  font-size: inherit;
  color: #efddc1;
}

.site-info a:hover {
  color: #f8c169;
}

.site-info .footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.site-info .footer-nav li {
  display: inline-block;
}

.footer-nav {
  list-style: none;
  margin-top: 1em;
  padding: 0;
  text-align: center;
}

.footer-nav li {
  display: inline-block;
  margin: 0 10px;
}

div#site-name .custom-logo {
    height: auto;
    width: 7rem;
}

 @media screen and (max-width: 1024px){
     .xpand-blog-main-navigation .toggle-button {
         display: block;
         background: none;
         padding: 0 0 60px;
         width: auto;
         left: 0;
         height: 30px;
         position: relative;
         border: none;
         color: #000;
         text-align: left;
     }
     .xpand-blog-main-navigation .close:before, 
     .xpand-blog-main-navigation .close:after {
        background: #fff !important;
    }
 }

 @media (max-width: 768px){
     .xpand-blog-main-navigation .toggle-button {
         left: 0px !important;
     }
      .site-branding {
         flex: 0 0 auto;
         width: 100% !important;
      }
      .social-icon-list {
         display: flex !important;
      }
 }
 @media (max-width: 500px){
     .topbar {
         display: none;
     }

     .site-branding .site-title a {
         font-size: 40px !important;
     }
	 div#site-name .custom-logo {
		height: auto;
		width: 5rem;
	}
 }

 @media (max-width: 425px){
     .xpand-blog-main-navigation .toggle-button {
         left: 0px !important;
     }
     .topbar {
         display: none;
     }
     .site-branding .site-title a {
         font-size: 40px !important;
     }
 }

 .site-branding {
     text-align: center;
     background-color: #ffffff;
 }

 .xpand-blog-main-navigation ul ul li {
     background: #ffffff;
 }

 .xpand-blog-main-navigation ul ul li:hover > a, .xpand-blog-main-navigation ul ul li.current-menu-item > a, .xpand-blog-main-navigation ul ul li.current_page_item > a {
     color: #000;
 }

 .xpand-blog-main-navigation .nav-menu ul > li > a {
     color: #000000;
     font-family: 'Slabo 13px', serif;
 }

 .xpand-blog-main-navigation .nav-menu ul > li > .submenu-toggle {
     color: #000000;
 }
 .xpand-blog-main-navigation ul.nav-menu li ul:before, .xpand-blog-main-navigation ul.nav-menu li ul:after {
     display: none;
 }

 .xpand-blog-main-navigation ul.nav-menu > li > a {
     font-family: 'Slabo 13px', serif;
 }

 .carousel-item img {
     width: 100% !important;
     height: auto !important;
 }

 .carousel-item .overlay {
     height: auto;
 }

 .carousel-control-prev {
     top: 72% !important;
     left: 5% !important;
 }

 .carousel-control-next {
     top: 72% !important;
     left: 87% !important;
 }

 .carousel-caption {
     top: 50%;
     transform: translate(-50%, 30%);
 }

 .carousel-caption .post-date {
     border-left: none;
 }

 .carousel-caption .feat-cats{
     font-family: 'Slabo 13px', serif;
 }
 .carousel-caption h5 a {
     
     font-family: 'Slabo 13px', serif;
     font-size: 3rem;
 }

 .carousel-caption .posted-on a {
     font-family: 'Slabo 13px', serif;
 }

 #content {
     margin-top: 0px;
 }

 #content {
     width: 85%;
     margin: 0px auto;
     background: #f9f9f9;
     padding:0;
     box-shadow:none;
     margin-top:none;
     position: relative;
     border-left:none;
     border-right:none;
     border-top:none;
 }

 #page{
     background: #f9f9f9;
 }

 .post-meta .post-date {
     display: inline-block;
     margin-left: 0px;
     padding-left: 0px;    
     border-left:none;
     white-space: nowrap;
     font-family: 'Slabo 13px', serif;
 }

 .post .post-title a {
     font-family: 'Slabo 13px', serif;
     font-weight: 100;
     font-size: 22px;
 }

 .post-meta {
     display: block;
     margin: 0rem 0 0;
 }

 .wrapgriditem {
     text-align: center;
 }

 body:not(.post-template) .post-title {
     margin-bottom: 0 !important;
 }

 .post-excerpt{
     margin-bottom: 9px;
     font-family: 'Slabo 13px', serif;
 }

 .show-more {
     background: #f70d28;
 }

 .xpand-blog-main-navigation ul li a:before {
     background: #424243;
 }

 .post {
     border-radius: 0;
     box-shadow:none;
 }

 .carousel-caption h5 a:focus {
     color: #ffffff;
     text-decoration: underline;
 }

 .carousel-caption h5 a:hover {
     color: #ffffff;
 }

 .carousel-caption .posted-on a:hover {
     color: #ffffff;
 }

 .carousel-caption .posted-on a:focus {
     color: #ffffff;
     text-decoration: underline;
 }

 footer.site-footer:after {
     display: none;
 }

 .post .post-title a:hover {
     color: #000000;
 }

 .post .post-title a:focus {
     color: #000000;
     text-decoration: underline;
 }

 .post-meta a:hover {
     text-decoration: underline;
     color: #0000;
 }

 .post-meta a:focus {
     text-decoration: underline;
     color: #000000;
 }

 .main-header {
     background: #424243 no-repeat center center;
     margin-bottom: 60px;
 }

 .main-header-content h1,.main-header-content h3 {
      font-family: 'Libre Baskerville', serif;
 }

 .xpand-blog-wp-blog-section .xpand-blog-blog-wrap .content-part .category-name a {
     background-color: #424243;
 }

 .wp-block-search .wp-block-search__button {
     background-color: #f70d28;
     border-radius: 10px;  
 }

 .xpand-blog-wp-blog-section .content-part .block:before {
     background-color: #424243;
 }

 .widget-area .widget {
     background: #ffffff;
     border-radius: 20px;
 }

 .wp-block-group__inner-container h2:before,.wp-block-group .wp-block-group__inner-container h2:after{
     display: none;
 }

 .comments-area .reply a {
     color: #424243;
 }
 .comments-area .comment-metadata .edit-link a {
     color: #424243;
 }

 .comments-area .comment-content a {
     color: #424243;
     text-decoration: underline;
 }

 .form-submit .submit:hover {
     background-color: #424243;
     color: #fff;
 }
 .form-submit .submit:focus {
     background-color: #424243;
     color: #fff;
     text-decoration: underline;
 }

 .wp-block-latest-comments__comment-meta {
     font-size: 18px;
     color: #424243;
 }

 .wp-block-group .wp-block-archives li a:before {
     color: #424243;
 }

 .wp-block-group .wp-block-categories li a:before {
     color: #424243;
 }

 .xpand-blog-wp-blog-section .xpand-blog-blog-wrap .content-part .category-name a {
     background-color: #424243;
      font-family: 'Slabo 13px', serif;
 }

.single-course .xpand-blog-blog-wrap h1 {     
     font-size: 1.5em;
 }

 .widget-area .widget ul li a {
     font-family: 'Slabo 13px', serif;
 }

 .wp-block-latest-comments__comment-meta a {
     color: #000;
     font-family: 'Slabo 13px', serif;
     text-decoration: none;
 }

 .wp-block-group .wp-block-group__inner-container h2{
     font-family: 'Slabo 13px', serif;
     font-size: 23px;     
 }

 .footer-top .wp-block-group__inner-container h2,.footer-section .footer-top .widget-title{
     margin-bottom: 0px !important;
     padding-top: 20px;
     font-family: 'Slabo 13px', serif;
     font-size: 35px !important;
 }

 .xpand-blog-wp-blog-section .xpand-blog-blog-wrap ul li a {
     color: #424243;
 }

 .xpand-blog-wp-blog-section .xpand-blog-blog-wrap a {
     color: #424243;
 }

 .xpand-blog-wp-blog-section .page-lnk a {
     color: #424243;
 }

 .search-form .search-submit {
     background-color: #4a4242;
 }

 .xpand-blog-wp-blog-section blockquote:before {
     color: #424243;
 }

 span.jet-form-builder__required {
    color: red;
 }


 @media screen and (max-width: 1024px){
 .xpand-blog-main-navigation .close::before, .xpand-blog-main-navigation .close::after {
     background: #424243;
     }

 .xpand-blog-main-navigation .close:hover {
     background: #424243;
 }
 }

 @media screen and (max-width: 425px){
     .carousel-caption {
         top: 45%;
     }
     .carousel-control-next {
         top: 45% !important;
         left: 76% !important;
     }
 }

 .site-footer .site-info{
      font-family: Helvetica, Arial, sans-serif;
      color: #efddc1;
 }

 .site-footer {
    margin-top: auto;
    background: #0f1c12;
    padding: 0 15px;
    width: 100%;
 }

.site-footer a {
	font-weight: 400;
}

 .xpand-blog-main-navigation .nav-menu ul li ul:before, .xpand-blog-main-navigation .nav-menu ul li ul:after {
     display: none;
 }

 @media only screen and (min-width: 1400px)
 {
 .carousel-item {
     height: 730px !important;
 }
 }

 #content {
     padding-bottom: 40px;
     padding-top: 35px;
 }

 .xpand-blog-main-navigation ul li.current_page_item:before {
     background: #424243;
 }

 .header-search > .search-btn:hover {
     color: #424243;
 }

 .header-search {
     float: left;
     margin-left: 25%;
 }
 .social_section{
     margin-left: 33%;
 }

 .footer-section .footer-top {
     padding-top: 40px;
 }

 .widget_text p a{
     color: #000;
 }
 .footer-section .widget
 {
 	background:none;
 }
 .footer-section .widget
 {
 	background:transparent;
 }
  .widget-area .widget ul li a:hover{
      color: #000;
  }
 .xpand-blog-wp-blog-section .xpand-blog-blog-wrap{
     padding: 0px 0px;
 }
  .xpand-blog-wp-blog-section .xpand-blog-blog-wrap .content-part .title a:hover{
      color: #000000;
  }
  .wp-block-group .wp-block-latest-comments a:hover{
      color: #000000;
  }
  .xpand-blog-main-navigation ul li a{
      color: #000000;
  }
  .xpand-blog-main-navigation ul li a:hover{
      color: #000000;
  }
  .pagination a{
      color: #000000;
  }
  .pagination a:hover{
      color: #f70d28;
  } 
   
/* FORM - REQUEST QUOTE */

.jet-form-builder {
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Libre Baskerville', sans-serif;
  color: #222;
}

.jet-form-builder-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.jet-form-builder__label-text {
  font-weight: 600;
  margin: 6px 0;
  display: block;
  font-size: 14px;
}

.jet-form-builder__field-wrap {
  box-shadow: 1px 1px 3px 0px rgb(0 0 0 / 20%);   
}

.jet-form-builder__field {
  width: 100%;
  padding: 12px 14px; 
  font-size: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.jet-form-builder__field:focus {
  border-color: #000;  
  outline: none;
}

.layout-column .jet-form-builder__field {
  border: unset;
  height: 40px;
}

/* Submit button */
.jet-form-builder__submit {
  margin: 0 auto;
/*   background: #2a5033; */
/*   background-color: #32863a; */
  background-color: #0f1c12;
  color: #fff;
  padding: 5px 5em;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.single .jet-form-builder__submit {
  background: #0f1c12;
}

.single .jet-form-builder__submit:hover {
  background: #437f51;
}

.jet-form-builder__submit:focus {
  outline: unset;
  border: unset;
}

.jet-form-builder__submit:hover {
  background: #437f51;
}

.wp-block-group.is-horizontal .jet-form-builder-row {
  flex: 1;
  margin-right: 15px;
}

.wp-block-group.is-horizontal .jet-form-builder-row:last-child {
  margin-right: 0;
}

.jet-form-builder-messages-wrap {
  margin-top: 20px;
  font-size: 14px;
}

.jet-form-builder__field::placeholder {
  font-size: 12px;
  color: #888;
}


.jet-form-builder__field input,
.jet-form-builder__field textarea,
.jet-form-builder__field select {
    border-radius: unset;
    padding: 10px 15px;
    width: 100%;
    height: 50px;
    font-size: 0.8888em;
}
.jet-form-builder__field-wrap select {
    height: 50px;
}

.jet-form-builder__field-wrap textarea#comments, .jet-form-builder .field-type-textarea-field .jet-form-builder__field-wrap {
    min-height: 100px;
    margin-bottom: -7px;
}

.jet-form-builder__submit-wrap {
    margin-top: 2.5em;
}

section#primary {
  min-height: 60vh;/
}

.site-branding,
.md-xpand-blog-menu {
  background-color: #0f1c12;
  position: relative;
}

#site-name {
	padding-top: unset;
  padding-bottom: unset;
}

.topbar,
header.main-header.post-head {
  display: none;
}

.home.wp-singular header {
	position: absolute;
	width: 100%;
	z-index: 1;
}

.home.wp-singular .ptb-20 {
  padding-top: 0px !important;
	padding-bottom: 0 !important;
}
.home.wp-singular .ptb-20 .container {
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.home.wp-singular div#page {
    background-color: #0f1c12;
}

.home.wp-singular header .site-branding, 
.home.wp-singular header .md-xpand-blog-menu {
	background-color: unset;
}

.home.wp-singular .home-block-1 {
    width: 70%;
    margin: 0 auto;
}

.home.wp-singular .courses-list div,
.home.wp-singular .courses-list h3 {
    background-color: unset;
    color: #efddc1;
    border: unset;
}

.xpand-blog-main-navigation {    
  margin: unset;
  width: 90%;
}
body.page-id-14 .xpand-blog-wp-blog-section .container {
   max-width: 50%;
}

body.page-id-14 form h3{
	margin: unset;
}

body.page-id-14 h3.wp-block-heading.heading-input-label-gutena {
    margin-bottom: 0 !important;
    margin-top: 20px;
}

li.request-quote.menu-item {
	display: inline-block;
	margin-right: 3vw;
}

.inst.social.menu-item {
	display: inline-block;
	margin-left: 3vw;
}

#site-name .site-title a,
#site-name p.site-description,
#primary-menu li.menu-item  a {
    font-size: .9em;
    color: #efddc1;
	font-family: 'Montserrat', Roboto Tahoma, Arial, sans-serif;
	font-weight: 400;
	font-style:  unset;
    letter-spacing: unset;
    padding-bottom: 11px;
}

#site-name h1.site-title a {
	font-size: 0.8em;
	letter-spacing: -0.8px;
}
#site-name p.site-description {
    font-size: 0.7em;
    letter-spacing: 0px;
    padding: unset;
}

#primary-menu .xpand-blog-main-navigation ul li a:hover {
    color: #d5c4aa; 
}

.xpand-blog-main-navigation ul li a:before,
.xpand-blog-main-navigation ul li.current_page_item:before{
    background: #d5c4aa;
}

.md-xpand-blog-menu {
	border: none;
}


.main-header {
    background: none;
		margin-top: 3em;
    margin-bottom: unset;
}

header.main-header.post-head .main-header-content h1{
		display: inline-block;
    color: #000;
    font-size: 24px;
    font-family: 'Montserrat', Roboto Tahoma, Arial, sans-serif;
		width: 80%;
		text-align: center;
}

.xpand-blog-main-navigation ul.nav-menu > li > a {
    padding-top: 10px;
}

.xpand-blog-main-navigation ul li a:before {
    width: 15%;
    height: 1px;
    top: 70%;
}

.wp-block-button .wp-block-button__link {
  border-radius: unset;  
	padding: calc(.667em + 2px) calc(10.333em + 2px)
}

.wp-theme-xpand-blog .error-page-section {
    min-height: 100vh;
}

/* BLOG */

ul.dash-list {
  list-style-type: none;
  padding-left: 1.2em;
}

ul.dash-list li::before {
  content: "- ";
  margin-right: 0.5em;
  color: inherit;
}

body.blog section.xpand-blog-wp-blog-section, 
body.blog section.xpand-blog-wp-blog-section main#main {
    margin: 0 auto;
}

.single-post .xpand-blog-wp-blog-section .blog-post {
    box-shadow: unset;
}

.single-post .xpand-blog-wp-blog-section .xpand-blog-blog-wrap {
	padding: 0 20px;
	border-right: 1px solid #b6b9b7;
}

.single-post .xpand-blog-wp-blog-section .xpand-blog-blog-wrap h1.title {
    margin-top: 5px;
    border-bottom: 1px solid #b6b9b7;
}
.single-post .xpand-blog-wp-blog-section .widget-area .widget h2 {
    padding: 0;    
	margin: 0 !important;
    font-size: 1.2em;
}

#secondary-left ul li {
	border-bottom: 1px solid #b6b9b7;
	margin-bottom: 10px;
}

#secondary-left ul li:last-child {
	border-bottom: unset;
}

.shop-list {
  display: flex;
  flex-direction: column;
}

.shop-item:first-child {
	border-top: 1px solid #b6b9b7;
}

.shop-item {
  display: grid;
  grid-template-columns: 1fr 100px;
  align-items: center;  
	border-bottom: 1px solid #b6b9b7;
  padding: 10px 0;
}

.item-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
	margin-right: 5px;
}

.item-meta {
  font-size: 0.8rem;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.item-title {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
  color: #222;
}

.item-title a {
  color: inherit;
  text-decoration: none;
}

.item-title a:hover {
  text-decoration: underline;
}

.item-thumb a,
.item-thumb img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

 .single-post .xpand-blog-wp-blog-section .jet-fb-form-block {
     margin: 40px 0;
 }

 .single-post .xpand-blog-wp-blog-section .jet-fb-form-block .jet-form-builder__submit-wrap {
     margin: 0;
 }

 .single-post .xpand-blog-wp-blog-section .jet-fb-form-block .jet-form-builder__submit {
     padding: 13px 3em;
     text-transform: uppercase;
     font-size: 0.8em;
     height: 41px;
	 box-shadow: 1px 1px 3px 0px rgb(0 0 0 / 20%);
 }

  .single-post .xpand-blog-wp-blog-section .jet-fb-form-block h2.wp-block-heading {
    font-size: 1em;
    text-align: center;
}

 .single-post .xpand-blog-wp-blog-section .wp-block-columns.is-layout-flex {
  display: flex;
  justify-content: center;
  gap: 0;
}

 .single-post .xpand-blog-wp-blog-section .wp-block-columns.is-layout-flex .wp-block-column {
  flex: unset;
}

 .single-post .jet-fb-form-block {
    border-top: 1px solid #b6b9b7;
    padding-top: 20px;
}

.single-post .jet-form-builder-row {
    padding: 0;
}

.single-post .site-main .content-part {
    font-size: .8em;
}

/* SIDEBAR */
.widget-area .widget {
    background: unset;
    border-radius: unset;
	padding: unset;
	font-size: 0.8rem;
    font-weight: 300;
    box-shadow: unset;
}

aside.widget-area {
    padding: 0 7px;
}

.widget-area .widget h3 {
	padding: 0;
    font-size: 0.8rem;	
}

.widget-area .widget .item-body {
    gap: 4px;
    margin: unset;
}

.widget-area .item-thumb a, .item-thumb img {
    display: block;
    width: 100%;
    height: 100px;
    object-fit: cover;
}

aside#secondary-left img {
    width: 100%;
}

.widget-area .widget_recent_entries ul li {
	  padding: 0px;
	border-bottom: 1px solid #b6b9b7;
}


/* COURSES */
body.tax-course_category.term-courses .post-thumbnail img {
	width: 100%;
}

.single-course section#primary.xpand-blog-wp-blog-section .col-lg-8 {
    margin: 0;
}

.single-course .wp-block-separator {    
    border-top: 1px solid #efddc17a;
    opacity: unset;
    background: unset;
}

.single-course main#main {
    padding-right: 15px;
}

.single-course .description {
    border-right: 1px solid #efddc17a;
    padding-right: 15px;
    max-height: 500px;	
}

.single-course .description p {
    padding-top: 10px;
}

.single-course .content-course {
    border-right: 1px solid #efddc17a;
    padding-right: 15px;
}

.single-course main#main ol.wp-block-list li {
    margin-bottom: 20px;
}

.single-course hr {
    width: 98%;
	height: 0.5px !important;
    color: #efddc17a;;
    opacity: unset;
}

.single-course h1.title {
    margin-bottom: -8px !important;
}

.single-course aside#sidebar {
    flex: 0 0 25%;
}

.single-course aside#sidebar {
    position: relative;
    max-height: 430px;
    padding-left: 2px;
    font-size: 0.8em;
}

.single-course aside#sidebar h2.lesson-price {
    text-align: center;
    font-size: 1.5em;
    border-bottom: 1px solid #efddc17a;
	padding-top: 7px;
    padding-bottom: 7px;
}

aside#sidebar:after {
	content: '';
	display: inline-block;
	border-bottom: 1px solid #efddc17a;
	width: 100%;		
}

.single-course .site section#primary {
    padding-top: 20px !important;
}

.single-course .wp-block-list li::first-line {
  font-weight: bold;
}

.single-course div#primary {
    padding-right: 0;
}

.start-learning-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: rgb(253, 209, 110);
  color: #000;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 3em;
  margin-top: 10px;
  border: none;  
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.start-learning-btn:hover {
  background-color: #FFC300;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.start-learning-btn:active {
  transform: translateY(0);
  background-color: #FFC300;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);	
}

/* Home page: 4 courses */
.courses-list {
    display: flex;
    gap: 6vw;
	width: 80%;
	margin: 0 auto;
}

.course-item {	
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.course-item h3 {
  font-size: 1.1rem;
  margin: 16px 0;
  color: #efddc1;
}

.course-item h3 a {
  text-decoration: none;
  color: inherit;
}

.course-item h3 a:hover {
  color: #fceacc;
}

#secondary .shop-list .item-body h3.item-title {
    font-size: .9em;
    margin-bottom: unset !important;
}

#secondary .shop-list .item-body .item-excerpt {
    font-size: .9em;
    line-height: 1.2;
	font-weight: 400;
}
.course-template-default.single .image-part img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

.xpand-blog-main-navigation ul li.current_page_item:before {
    height: 1px;
    top: 70%;
}


.home .wp-block-group.home-block0 {
    position: relative;
    margin: 0;
    overflow: hidden;
}
.home .wp-block-group.home-block0 figure {
    margin: 0;
}

.home .container p {
    margin: 0;
}

.home .wp-block-group.home-block0 h2.wp-block-heading {
    text-shadow: 4px 2px 6px #000;
	font-family: sans-serif;
}
.home .wp-block-group.home-block0 h2.wp-block-heading,
.home .wp-block-group.home-block0 p {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
}
.home .wp-block-group.home-block0 p {
    bottom: 25px;
}

.home .container hr {
    margin: 0;
    padding: 0;
    height: 0;
    border: unset;
}

.home div.courses-list {
      margin: 30px auto;
}

.home .wp-block-group.home-block1{
    position: relative;
    padding-top: 18px;
    box-sizing: unset;
    margin-bottom: -12px;
    width: 100%;
    overflow: hidden;
}

.home .wp-block-group.home-block1 p,
.home .wp-block-group.home-block1 div {
    position: relative;
}

.home .wp-block-group.home-block1 p.bg-text-formia {
    position: absolute;
    top: 5vw;
    left: 50%;
    transform: translate(-50%, -50%);    
    font-size: 26vw !important;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    width: 100% !important;
    overflow: hidden;
}

.home .wp-block-group.home-block1 .course-item a {
    text-decoration: unset;
}

.home .wp-block-group.home-block1 p.mission {
    width: 67vw;
    margin: 0 auto;
}

.home .wp-block-group.home-block1 .course-item:hover p,
.home .wp-block-group.home-block1 .course-item:hover h3 {
    color: #ffcf81;
}

.single-course .course-sidebar .meta-course {
    height: 100%;
}


@media (max-width: 1400px) {
    .inst.social.menu-item,
    li.request-quote.menu-item {
        margin-left: 4vw;
    }
    .single-course .container {
        width: 100%;
        max-width: 100%;
    }
}
/*@media (max-width: 1400px) {*/


@media (max-width: 1200px) {
    .single-post .xpand-blog-wp-blog-section .container {
        max-width: 96%;
    }
}

@media screen and (max-width: 1024px) {    
    body.admin-bar.home .md-xpand-blog-menu {
        top: 15px;
    }
    .xpand-blog-main-navigation .toggle-button {
        padding: 0 30px;
    }
    .site-branding, .md-xpand-blog-menu {
        padding-bottom: 5px;
    }
    .home.wp-singular p {
        font-size: .8em;
    }
    .md-xpand-blog-menu {
        position: absolute;
        top: 5px;
    }
    body.admin-bar .md-xpand-blog-menu {
        position: absolute;
        top: 38px;
        left: 0;
    }
     .single-course .description {
        max-height: unset;
        border-right: unset;
    }
    .single-course .content-course {
        border-right: unset;
        padding: 0;
    }
    .single-course aside#sidebar .start-learning-btn {
        position: unset;
    }
    .single-course aside#sidebar {
        max-height: unset;
		width: 80%;
        border-bottom: unset;
        padding-left: unset;
		padding-right: unset;
        margin: 0 auto;
        font-size: 1em;
        text-align: center;
    }
    .single-course .row {
        flex-direction: column;c
    }
	.single-course div#primary {
		width: 80%;
		margin: 0 auto;
	}
	.start-learning-btn {
		width: 250px;
	}
}


@media (max-width: 991px) {
    .single-post .xpand-blog-wp-blog-section .xpand-blog-blog-wrap {
        border-right: unset;
    }
     .single-post .xpand-blog-wp-blog-section aside#secondary {
        margin: 0 auto;
    }
	.start-learning-btn {
		width: 250px;
	}
}

@media (max-width: 900px) {
    .home .courses-list {
        width: 70%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
	.home .wp-block-group.home-block0 p {
		font-size: 2vw !important;
	}
}

@media (max-width: 780px) {
        .single-post .xpand-blog-wp-blog-section .wp-block-columns.is-layout-flex {
        width: 70%;
        margin: 0 auto;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .home.wp-singular .home-block-1 {
        text-align: center;
    }
    .home.wp-singular p {
        text-align: center;
        font-size: 3vw;
    }

    .home .md-xpand-blog-menu {
        left: unset;
    }
  .courses-list {
    grid-template-columns: 1fr;
    width: 90%;
  }
  .shop-item {
    grid-template-columns: 1fr;
  }
  .item-thumb img {
    height: 180px;
  }
  #site-name p.site-description {
        padding-top: 0;
        padding-bottom: unset;
   }
  .md-xpand-blog-menu {  
    position: absolute;
    left: 20px;
    top: 6px;
  }
    body.admin-bar .md-xpand-blog-menu {
    position: absolute;
    top: 52px;
    left: 0;
}
  body.page-id-14 .container {
        max-width: 90%;
  }

  .widget-area .item-thumb a, .item-thumb img {
    height: auto;
    max-height: 250px;
  }
      .home .courses-list {
        width: 80%;
        grid-template-columns: 1fr;
    }
    .home.wp-singular .courses-list h3 {
        text-align: center;
    }
    .home .wp-block-group.home-block0 h2.wp-block-heading, 
    .home .wp-block-group.home-block0 p {
        font-size: 2vw !important;
    }

    .home .wp-block-group.home-block0 h2.wp-block-heading {
        bottom: 8vw;
    }
    .home .wp-block-group.home-block0 p {
        bottom: 2vw;
    }
    .home .wp-block-group.home-block1 p.mission {
        font-size: 3vw !important;
    }
    .site-footer .site-info {
        flex-direction: column;
    }
}

@media only screen and (max-width: 500px) {
    #site-name .site-title a {
        font-size: .9em !important;
    }
     body.page-id-14 .container {
        max-width: 99%;
    }
    body.page-id-14 .wp-block-group.is-horizontal .jet-form-builder-row {
        margin-right: unset;
    }
    body .is-layout-flex {
/*         display: unset; */
    }
    .widget-area .widget {
        width: 70%;
        margin: 0 auto;
    }
	.single-course .xpand-blog-blog-wrap h1 {
		font-size: 1.2em;
	}
}


 .xpand-blog-main-navigation .toggle-button {
    left: unset !important;
}

.primary-menu-list.main-menu-modal.cover-modal.show-modal.active .inst.social.menu-item, li.request-quote.menu-item {
    margin-left: unset;
}

.xpand-blog-main-navigation ul li a:focus {
    outline: unset;
}

body.wp-singular.course-template-default.single.single-course section {
    background-color: #0f1c12;
    color: #efddc1;
}


/* Course Card */
.course-card {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #253220;
  color: #efddc1;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.course-image-wrap {
  height: 100%;
}

.course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 2px 10px;
    font-size: 0.85rem;
    background: rgba(21,37,26,0.85);
}

.course-level {
   color: #efddc1;
}

.course-lessons {
   color: #efddc1;
   float: right;
}

.course-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(21,37,26,0.85);   
}

.course-title {
  font-size: 0.8em;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #efddc1;
  text-decoration: none;
  letter-spacing: 0;
}

.course-title a:hover {
  text-decoration: underline;
  color: #ffdaa4;
}

.course-description {
    font-size: 0.8rem;
    font-weight: 200;
    color: #efddc1;
    line-height: 1.2;
    letter-spacing: 0px;
}
.course-description p {
    margin: 0;
}

.course-price {
  margin-top: 1rem;
  font-size: 1rem;
  color: #ffcc00;
  font-weight: 600;
}

.course-card-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #ffcc00;
  color: #111;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.course-card-button:hover {
  background-color: #e6b800;
}

.simple-translate-system-theme  {
     display: none; 
}

.back-top {
    top: -65px;
    left: 93%;
	background: unset;
	align-items: center;
    width: 40px;
    height: 40px;
    line-height: 1.3;
    background-color: #0a120c;
    color: #efddc1;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-top svg {
    vertical-align: bottom;
	color: #efddc1;
}

.back-top svg:hover {
	color: #f3dcb9;
}