/*
Theme Name: Grathicks
Theme URI: https://stratagemonline.com
Author: Reece Carter
Author URI: https://stratagemonline.com
Description: Custom theme ffrom Grathicks.com
Tags: Custom
Version: 2025
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: grathicks
*/

/********** IMPORTS **********/

@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/********** RESET ALL **********/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
    margin:0;
    padding:0;
    border:0;
    font-size:100%;
    font:inherit;
    vertical-align:baseline;
}

/********** SKELETON **********/
html {
    scroll-behavior:smooth
}
body {
    line-height:1;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
	background: linear-gradient(180deg,rgba(174, 183, 164, 1) 0%, rgba(239, 241, 237, 1) 100%);
	color: #5C6F4A;
}

.container {
    width: calc(100% - 70px);
    max-width: 1200px;
    margin: auto;
}

#content {
	margin-top: 250px; /* Fixed header height */
}

/********** MAIN ELEMENTS **********/

/* header */

header {
	background: #5C6F4A;
    position: fixed;
    width: 100%;
    padding: 20px 0px;
    z-index: 20;
    top: 0px;
}

header:after {
    content:"";
    display: block;
    clear: both;
}

#branding {
    width: 300px;
	text-align: center;
	margin: auto;
}
#branding a, #branding a img {
    width: 100%;
	max-width: 350px;
	margin: auto;
	transition: all(0.2s);
}

/* Initially hide the scroll logo */
.scroll-logo {
  	display: none;
	max-width: 270px !important;
}

/* --- Triggered on Scroll --- */

/* Hide the default logo when scrolled */
.navbar.scrolled .default-logo {
	display: none;
}

/* Show the scroll logo when scrolled */
.navbar.scrolled .scroll-logo {
	display: block;
	max-width: 150px !important;
	transition: all(0.2s);
}

#menu {
    margin-top: 10px;
}

#menu-left {
	text-align: right;
	width: 100%;
	margin-top: 5px;
}

#menu-right {
	float: left;
	width: calc(50% - 125px);
	margin-top: 24px;
}

#menu-main-menu, #menu-main-menu li, #menu-main-menu-left, #menu-main-menu-left li, #menu-main-menu-right, #menu-main-menu-right li {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    text-align: center;
}

#menu-main-menu li, #menu-main-menu-left li, #menu-main-menu-right li {
    display: inline-block;
}

#menu-main-menu li a, #menu-main-menu-left li a, #menu-main-menu-right li a {
    display: block;
    color: #EFF1ED;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 10px;
    transition: all 0.2s;
	font-family: "Montserrat", sans-serif;
}

#menu-main-menu li a:hover, #menu-main-menu-left li a:hover, #menu-main-menu-right li a:hover {
    color: #AEB7A4;
}

.sub-menu {
	display: none;
	width: 250px;
	background: #EFF1ED;
	border-radius: 15px;
	box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.2);
	opacity: 0;
	position: absolute;
	transition: all (0.2s);
	padding: 10px 0px;
}

.sub-menu li {
	display: block !important;
}

.sub-menu li a {
	display: block !important;
	color: #5C6F4A  !important;
	padding: 10px 20px !important;
	text-align: left;
}
.sub-menu li a:hover {
	color: #AEB7A4 !important;
}

.menu-item-has-children:hover > .sub-menu, .sub-menu:hover {
	display: block;
	opacity: 1;
}

footer ul li {
	margin-left: 0px;
}
footer ul li a {
	color: #FFFFFF;
}


/* body */

.img-border-radius img {
	border-radius: 15px;
}

.session-price {
	background: #EEE9DF;
	border-radius: 15px;
	border: solid 1px 7a9b7e;
	padding: 35px 15px;
	box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.05);
}

.margins-def-both {
	margin-top: 75px;
	margin-bottom: 75px;
}

.margins-def {
	margin-top: 75px;
}

.margins-def-bottom {
	margin-bottom: 75px;
}

.margins-def-large {
	margin-top: 150px;
}

.add-shadow .vc_column-inner {
	box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.1);
}

.clear {
	clear: both;
}

/* footer */

footer {
    background: #5C6F4A;
    padding-top: 35px;
}

footer h4, footer b, footer strong {
    color: #EFF1ED;
}

footer p {
    color: #EFF1ED;
}

.footer-column {
    float: left;
    box-sizing: border-box;
    width: 33.33%;
    padding: 20px 30px 50px 0px;
}

.footer-logo {
    display: block;
    margin: auto;
    max-width: 80%;
    width: 450px;
}

.footer-icon {
    width: 24px;
    margin-right: 10px;
    height: 24px;
    float: left;
    margin-top: -2px;
}

#text-2 p {
    line-height: 2.2em;
}

footer a {
    color: #463823;
    text-decoration: none;
    transition: all 0.2s;
}
footer a:hover {
    color: #b08d57;
    text-decoration: none;
}

#copyright {
    clear: both;
    text-align: center;
    color: #AEB7A4;
    padding: 25px;
    background: #D7DBD2;
}

ol {
	margin-left: 18px;
}
ol li {
	margin-bottom: 15px;
	line-height: 1.4em;
}

/********** TEXT & FONTS **********/

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
	font-family: "Merriweather", serif;
	margin-bottom: 25px;
}

h1 { font-size: 67px; line-height: 100px; }
h2 { font-size: 35px; }
h3 { font-size: 26px; }
h4 { font-size: 20px; }
h5 { font-size: 20px; }
h6 { font-size: 20px; }

p { 
    line-height: 1.4em;
    margin-bottom: 15px;
}

.text-large h1 {
    font-size: 50px;
}

.project-desc {
    font-size: 26px;
    font-weight: 700;
}

ul li {
    margin-left: 15px;
    line-height: 1.4em;
}

b, strong {
    font-weight: 700;
}

.alt-font {
	font-family: "Nunito", sans-serif !important;
	font-weight: 700;
}

.min-height-box {
	min-height: 165px;
}

/********** GENERIC **********/

.text-white, p.text-white, h1.text-white, h2.text-white, h3.text-white, h4.text-white, h5.text-white, h6.text-white, span.text-white {
    color: #FFFFFF;
}

.margin-top {
	margin-top: 75px;
}

.margin-both {
	margin-top: 35px;
	margin-bottom: 35px;
}

small {
	font-size: 0.8em;
}

/********** MISC / ONE OFF **********/

.grad-bg {
	background: linear-gradient(180deg,rgba(92, 111, 74, 1) 0%, rgba(239, 241, 237, 1) 100%);
}

/********** INPUT FORMS & BUTTONS **********/

.wpcf7-text, .wpcf7-email, .wpcf7-textarea, .wpcf7-select {
    font-size: 20px;
    padding: 8px 25px;
    border: 0px;
    border: solid 1px #b08d57;
    margin-bottom: 25px;
    box-sizing: border-box;
    width: 100%;
	border-radius: 20px;
}

.wpcf7-submit {
    width: 100%;
    font-size: 22px;
    box-sizing: border-box;
    border: 0px;
    background: #5C6F4A;
    margin-top: 0px;
    padding: 12px 25px 10px 20px;
    color: #EFF1ED;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
	border-radius: 20px;
}
.wpcf7-submit:hover {
	background: #AEB7A4;
}

.vc_btn3-size-lg {
    font-size: 22px;
    font-weight: 700;
}
.vc_btn3-size-md {
    font-size: 18px;
    font-weight: 700;
}

.nav-next a, .nav-previous a {
    background: #5a7b5e;
    color: #FFFFFF;
    text-decoration: none;
    padding: 16px 30px 10px 30px;
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    float: left;
}


/********** RESPONSIVE **********/

/* Styles for mobile devices */
@media only screen and (max-width: 480px) {
    .footer-column {
        float: none;
        width: 100%;
        padding: 20px 30px 50px 0px;
    }
}

/* Styles for tablets */
@media only screen and (max-width: 768px) {
    .footer-column {
        float: none;
        width: 100%;
        padding: 20px 30px 50px 0px;
    }

    .vc_do_custom_heading {
        display: block;
        font-size: 22px;
    }
    #content {
        margin-top: 0px; /* Remove Fixed header height */
    }
	h1 { font-size: 30px; line-height: 40px; }
	h2 { font-size: 22px; line-height: 30px; }
	h3 { font-size: 20px; line-height: 25px; }
	
	.margin-top {
		margin-top: 35px;
	}
	.margin-both {
		margin-top: 25px;
		margin-bottom: 25px;
	}
	
	.margins-def-both {
		margin-top: 35px;
		margin-bottom: 35px;
	}

	.margins-def {
		margin-top: 35px;
	}

	.margins-def-bottom {
		margin-bottom: 35px;
	}

	.margins-def-large {
		margin-top: 70px;
	}
}

/* Styles for small laptops */
@media only screen and (max-width: 1024px) {
	
	#content {
        margin-top: 20px; /* Remove Fixed header height */
    }
	
	h1 { font-size: 30px; }
	h2 { font-size: 25px; }
	h3 { font-size: 20px; }
}