/*!
Theme Name: Woodcraft School
Theme URI: https://them.es/starter
Author: Topfive Designs
Author URI: https://topfive.com.au
Description: John Rhyder Woodcraft School
Version: 3.6.0
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: woodcraft-school-2025
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.raleway-<uniquifier> {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* ADDED CH */
body { background-color: #faf7f1 !important; }

body, p, li, span {
	font-family: "Open Sans", sans-serif;
}

h1, h2, h3, h4, h5, h6  { text-transform: uppercase; font-family: "Oswald", sans-serif; margin-top: 40px !important; color: #4F6B55 !important; font-weight: 300 !important;}

/* HOMEPAGE */
body.home .entry-title { display: none;}
body.home #main { margin-top: 0 !important;}

/* HEADER */
nav.bg-light { background-color: #bdc8b4 !important; }
.nav-link { text-transform: uppercase; font-weight: 600 !important; font-size: 15px !important; margin-right: 10px; font-family: "Raleway", sans-serif; }
.menu-social .nav-link { margin-left: 0; font-size: 20px !important; padding: 3px 3px 0 3px !important; }
.dropdown-item { text-transform: uppercase; font-size: 14px !important; font-weight: 600 !important; font-family: "Raleway", sans-serif; }
.dropdown-item.active, .dropdown-item:active { background-color: #6dab3c !important;}
.navbar-brand img { height: 80px !important;}

/* FOOTER */
#footer { background-color: #555 !important; color: #fff; margin-top: 50px; }
#footer a { color: #dbe4dd;}
#footer a:hover { text-decoration: underline;}
.post-footer { text-align: center; font-size: 12px; }
footer .footer-area nav ul { list-style-type: none; padding-left: 0; }
#footer .menu-item a[aria-current="page"] {color: #dbe4dd !important; text-decoration: underline;}

/* TYPOGRAPHY */
.white-text p, .white-text h2, .white-text h3, .white-text h4 { color: #fff !important; }
.feature-box h4, .booking-box h4 { margin-top: 0 !important;}
article a, #sidebar li a, #main li a { color: #6dab3c !important;}
p a, td a { color: #6dab3c;}
p a:hover { text-decoration: underline;}
#footer h5 { color: #fff !important;}
input[type="submit"] { background-color: initial; border: 2px solid #6dab3c; color: #6dab3c; padding: 13px 19px; font-size: 14px; font-weight: 600; font-family: "Open Sans", sans-serif;}
input[type="submit"]:hover { background-color: #6dab3c; color: #fff;}
.gallery-caption { font-size: 12px; font-style: italic; }
.vc_btn3:hover { color: #fff !important;}
#sidebar li { list-style-type: disc; margin: 10px 0 0 15px;}

/* TESTIMONIAL */
.lvca-testimonials-slider .lvca-testimonial-text { color: #fff !important; line-height: 1.5; font-size: 16px; display: block; margin-bottom: 0 !important;}
.lvca-testimonials-slider .lvca-testimonial-user .lvca-text .lvca-author-name { color: #dbe4dd !important; margin-bottom: 30px !important;}
.lvca-testimonials-slider .lvca-testimonial-text i {color: #dbe4dd !important; }

/* ARTICLES */
.vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_title { min-height: 70px;}
.vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_excerpt { min-height: 140px;}

/* COURSES */

.course-grid .vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_title { min-height: 50px; }
.course-grid .vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_excerpt { min-height: 140px; }

body.single-course footer.entry-meta, body.single-course .post-thumbnail { display: none;}
.course-grid .vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_title,
.course-grid .vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_excerpt { min-height: auto;}
.course-grid .vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_excerpt { font-size: 14px; }
body.courses-template-default footer.entry-meta { display: none; }
body.courses-template-default .post-thumbnail { display: none;}

.bk-course-details__label { font-weight: 700; }
.quantity__input { width: 40px; }
.booking-closed { font-weight: 700; text-transform: uppercase; text-align: center; background-color: #333; color: #fff; padding: 5px; }

.payPal { margin: 0 20px; border: 1px solid #ccc; padding: 20px 20px 0 20px; background-color: #eee; border: 1px solid #999;}
.payPal .quantity { float: left;}
.payPal .options { float: left; margin-left: 20px;}
.payPal .bookOnline { clear: both; padding-top: 20px; }

#booking-terms { border: 2px solid #fdebc3; padding: 20px 15px; background-color: #f9f6ef; }
#booking-terms h3 { margin-top: 0 !important; }
#booking-terms p, #booking-terms li { font-size: 13px; }

#course-booking-box { border: 2px solid #bdc8b4; padding: 20px 15px; background-color: #e8f1e0; }
#course-booking-box h3 { margin-top: 0 !important; }

.bk-course-details ul { list-style-type: none; }
.bk-course-details li { border-bottom: 1px solid #ccc; margin-right: 30px;}

.course-details-block { border: 1px solid #bdc8b4; border-top: 10px solid #bdc8b4; margin-bottom: 20px; padding: 20px 0;}

.places-left { background-color: #fdebc3; padding: 5px; color: #ff6600; border: 1px solid #ff6600; text-transform: uppercase; font-weight: 600; font-size: 12px; float: right; }

#certification-box { border: 2px solid #4F6B55; padding: 20px 15px;}
#certification-box h4 { margin-top: 0 !important; }
#certification-box p { font-size: 13px; }

.bk-course-dates-table { width: 100%; }
.bk-course-dates-table thead { background-color: #e8f1e0; color: #4F6B55;}
.bk-course-dates-table th, .bk-course-dates-table td { padding: 3px; border: 1px solid #bdc8b4; }


/* VIDEO */
.video-grid .vc_custom_heading.vc_gitem-post-data.vc_gitem-post-data-source-post_title { min-height: auto;}

/* CONTACT */
.wpcf7-form input, .wpcf7-form textarea { width: 80%; }
.wpcf7-form input[type="checkbox"] { width: 30px; }



/* RESPONSIVE */
@media screen and (max-width: 468px) {
	.desktop-only { display: none;}
	}
}


