/*
Theme Name: WGC
Author: Cappers.ca
Author URI: https://cappers.ca/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.07
Requires at least: 4.7
Requires PHP: 5.6
Description: 
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, theme-options, block-styles, wide-blocks, accessibility-ready
Text Domain: wgc
*/

/**
 * Table of Contents:
 * 1.0 GENERAL
 * 2.0 HEADER
 *   2.1 MAIN MENU
 *   2.2 MOBILE MENU
 * 3.0 CONTENT
 *  3.1 SLIDER
	3.2 FORM
 * 4.0 FOOTER
 * 6.0 PORTFOLIO AREA
 * 7.0 MEDIA QUERIES
 * --------------------------------------
*/

/*----------------------
1.0 GENERAL
-----------------------*/
html, body {
	padding: 0;
	margin: 0;
	color: #3c3c3c;
	font: 400 18px/27px 'Open Sans', sans-serif;
}
*, *:after, *:before  {
	box-sizing: border-box;
}
*, *:after, *:before, a:focus, button:focus  {
	outline: none;
}
div, article, section, header, footer {
	position: relative;
}
a {
	color: #001F37;
	-ms-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
a,
a:hover {
	text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Abril Fatface", serif;
	font-weight: 400;
	margin-bottom: 32px;
	color: #3C3C3C;
}
h1 {
	font-size: 48px;
	line-height: 52px;
}
h2 {
	font-size: 32px;
	line-height: 36px;
}
h3 {
	font-size: 45px;
}
h4 {
	font-size: 40px;
}
h5 {
	font-size: 27px;
	margin-bottom: 0;
}
h6 {
	font-size: 16px;
	margin-bottom: 0;
}
img {
	max-width: 100%;
	height: auto;
}
p {
	margin-bottom: 24px;
}
small {
	font-size: 0.875;
}
ol, ul {
	padding-left: 24px;
}
/*----------------------
2.0 HEADER
-----------------------*/
#main-header {
    position: absolute;	
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1001;
}
body.home #main-header {
	background-color: transparent;
}
body.home.menu-open #main-header {
	background-color: #001F37;
}
body.admin-bar #main-header {
    position: absolute;
	top: 32px;
}
body:not(.home) #main-header {
	background-image: url('/wp-content/themes/wgc/images/swirl-background-red.png');
	background-repeat: repeat;
    background-position: bottom;
}
#main-header .wrapper {
	height: 100%;
    padding: 32px 64px;
    align-items: center;
    max-width: 1366px;
    margin: 0px auto;
}
body:not(.home) #header-border {
	height: 211px;
	background-image: url(/wp-content/themes/wgc/images/border-red-bottom-white.png);
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: 100% 211px;
}
body.home:not(.menu-open) .site-logo {
	display: none;
}
.site-logo {
	height: 91px;
}
body.menu-open .site-logo{
	left: 50%;
	transform: translateX(-50%);
}
.site-logo a {
	display: block;
}
.link-ln {
	margin: 5px 8px 12px 7px;
}
.lets-talk {
	font-family: "Open Sans", serif;
	font-size: 18px;
	line-height: 24px;
  	font-weight: 500;
	color: #2190D1;
	background: #ffffff;
    border-radius: 32px;
    padding: 16px 24px;
	margin-left: 32px;
}
/*
 * 2.1 MAIN MENU
*/
.main-menu {
	max-width: 1124px;
	width: calc(100vw - 610px);
	justify-content: space-between;
}
.main-menu a {
	font: 700 20px/1.3 'Gelasio', serif;
	color: #fff;
}
/*
 * 2.2 MOBILE MENU
*/
.icon-menu {
	position: absolute;
	right: 64px;
	cursor: pointer;
}
body.menu-open .mobile-menu {
	display: flex;
}
body.home.menu-open .mobile-menu {
	margin-top: 78px;
}
.mobile-menu {
	flex-direction: column;
	align-items: center;
	width: 100vw;
	padding: 50px 0 40px;
	background: #001F37;
	border-top: 1px solid #fff;
}
.mobile-menu .main-menu {
	flex-direction: column;
	align-items: center;
	gap: 41px;
	margin-bottom: 48px;
}
/*----------------------
3.0 CONTENT
-----------------------*/
.main {
	max-width: 100vw;
	padding-top: 366px;
	overflow: hidden;
}
body.home .main {
	padding-top: 0;
}
.wp-block-cover {
	padding: 0px 64px;
	overflow: hidden;
}

.wp-block-group {
	
}

.wrapper {
	padding: 0 65px;
}
.c-primary {
	color: #006F8A;
}
.d-mobile {
	display: none;
}
.video-bg {
	background: #000000b3;
}
.video-bg video {
	opacity: 0.8 !important;

}
.video-bg .wp-block-cover__background {
    background-image: url(/wp-content/themes/wgc/images/border-red-bottom-white.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 211px;
    background-color: transparent !important;
    opacity: 1 !important;
}
.video-bg-title {
	font-family: "Abril Fatface", serif;
	font-size: 64px;
	line-height: 72px;
  	font-weight: 400;
}
.video-bg-text {
	max-width: 525px;
	font-family: "Open Sans", serif;
	font-size: 18px;
	line-height: 27px;
  	font-weight: 400;
}
.video-bg .wp-block-cover__inner-container {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1366px;
    padding: 0px 64px;
	margin-top: -90px;
}
.wp-block-group__inner-container {
	max-width: 1228px;
	margin: 0px auto;
	padding: 0px;
}


.page-title,
.wp-block-group p {

}
.page-title {
	position: relative;
	overflow: hidden;
}
.page-title::after {
	position: absolute;
	content: '';
	bottom: 20px;
	width: 80%;
	height: 5px;
	background: #001F37;
}

.fit-content {
	width: fit-content;
	block-size: fit-content;
}
.mb-16 {
	margin-bottom: 16px;
}
.mb-32 {
	margin-bottom: 32px;
}
.wp-block-media-text {
	margin-top: 200px;
}
.wp-block-media-text:not(.has-media-on-the-right) .wp-block-media-text__content {
	padding-right: 138px;
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
	padding-left: 138px;
}
.wp-block-media-text p {
	padding-top: 72px;
}
.wp-block-media-text.is-vertically-aligned-top p {
	padding-top: 0;
	padding-bottom: 72px;
}
.wp-block-media-text p:before {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	content: '';
	width: 140px;
	height: 8px;
	background: #001F37;
}
.wp-block-media-text p.has-text-align-right:before {
	left: auto;
	right: 0;
}
.wp-block-media-text.is-vertically-aligned-top p:before {
	bottom: 0;
	top: auto;
}
.full-height {
	min-height: calc(100vh - 104px);
}
h1.blog-title {
	max-width: 808px;
}
.single-portfolio .wrapper {
	max-width: 1228px;
	margin: 0px auto;
	padding: 0px 0px;
}
.single-cats {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.single-cats .portfolio-title {
    min-height: 49px;
    padding-left: 67px;
    margin-top: 16px;
    background-size: 49px;
    background-repeat: no-repeat;
    background-position: left top;
}
.portfolio-item-cats {
	display: flex;
	gap: 20px;
	align-items: center;
	margin-top: 16px;
}
.portfolio-item-cat-item {
	display: flex;
	align-items: center;
}
.portfolio-item-cat-icon{
    width:16px;
    height:16px;
	margin-right: 8px;
    border-radius:50px;
    font-size:20px;
    line-height:100px;
    text-align:center;
}
.portfolio-item-cat-name{
    font-family: "Open Sans", serif;
	font-size: 14px;
	line-height: 21px;
  	font-weight: 400; 
	color: #3C3C3C;
}
.single-portfolio  .portfolio-image {
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
	margin: 47px 0px 64px;
	width: 100%;
	min-height: 600px;
}
.single-portfolio .wp-block-image img {
    border-radius: 20px;
}
.single-portfolio iframe.rsfv-video {
    border-radius: 20px;
}
.single-portfolio  p {
    max-width: 808px;
}
.recent-portfolio {
    width: 100%;
	background-image:  url('/wp-content/themes/wgc/images/border_top_blue_white.png'),  url('/wp-content/themes/wgc/images/border_bottom_blue_grey.png'), url('/wp-content/themes/wgc/images/swirl-background-blue-light.png');
	background-repeat: no-repeat, no-repeat, repeat;
	background-position: top, bottom, center;
	background-size: contain, contain;
	padding: 311px 0px;
	margin-top: 64px;
}
.recent-portfolio-inner {
	display: flex;
    flex-wrap: wrap;
	max-width: 1228px;
	margin: 0px auto;
}
.recent-title {
	font-family: "Abril Fatface", serif;
	font-size: 32px;
	line-height: 36px;
  	font-weight: 400;
	color: #3C3C3C;
	text-align: left;
	max-width: 1228px;
	margin: 24px auto;
}
.recent-portfolio .portfolio-item {
    width:calc(100% / 3);
    margin: 20px auto;
}
.recent-portfolio .portfolio-image {
    width: 380px;
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
	margin: 16px 0px 32px;
	min-height: auto;
}
.recent-portfolio .portfolio-title {
    width: 100%;
    min-height: 49px;
    padding-left: 67px;
    margin-top: 16px;
    background-size: 49px;
    background-repeat: no-repeat;
    background-position: left top;
}
.recent-portfolio .portfolio-title a {
    font-family: "Open Sans", serif;
	font-size: 18px;
	line-height: 24px;
  	font-weight: 600; 
}
.recent-portfolio iframe.rsfv-video {
    width: 380px !important;
    height: 250px !important;
    border-radius: 20px;
}
/*
 * 3.2 FORM
*/
.wp-block-contact-form-7-contact-form-selector,
.wpcf7-form-control-wrap {
	display: flex;
	justify-content: center;
}
.wpcf7 {
	width: 100%;
}
.wpcf7-form {
	display: flex;
    gap: 24px;
	justify-content: center;
}
.wpcf7-form p {
	margin-bottom: 16px;
}
.wpcf7-form .col-left, .wpcf7-form .col-right {
	width: 50%;
} 
.wpcf7-form label {
	width: 100%;
}
.wpcf7-form .small {
	font-size: 20px;
}
.wpcf7-form input,
.wpcf7-form textarea {
	max-width: 100%;
	width: 100%;
	height: 56px;
	padding: 5px 5px 5px 15px;
	background-color: #D2E9F6;
	border: 0;
	border-radius: 12px;
	text-align: left;
	font-weight: 300;
	color: #001F37;
}
.wpcf7-form textarea {
	padding: 8px 16px;
    min-height: 210px;
}
.wpcf7-form hr {
	margin-top: 57px;
	margin-bottom: 20px;
	border-top: 1px solid #001F37;
	opacity: 1;
}
::-webkit-input-placeholder{
	color: #001F37;
}
::placeholder {
	opacity: 1;
}
.wpcf7-form input.wpcf7-submit {
	width: 150px;
    height: 56px;
    line-height: 20px;
    color: #fff;
    background: #2190D1;
    border: 0;
    text-align: center;
    letter-spacing: 0.1em;
    margin-top: 24px;
	padding: 16px 24px;
	border-radius: 32px;
    font-weight: 400;
}
.wpcf7-not-valid-tip {
	position: absolute;
	top: 47px;
	right: 0;
	font-size: 16px;
}
.cf_maxchar {
	font-size: 14px;
	line-height: 21px;
	margin-top: 16px;
	display: block;
}
/*----------------------
4.0 FOOTER
-----------------------*/
#main-footer {
	background: #EDEDED;
	font-family: "Open Sans", sans-serif;
	font-size: 18px;
	line-height: 27px;
	font-weight: 400;
	color: #3C3C3C;
}
#main-footer .wrapper {
	padding: 63px 237px 63px 64px;
	justify-content: space-between;
}
.footer-logo img {
	height: 96px;
}
#main-footer .address-title, #main-footer .contact-title {
	font-family: "Open Sans", sans-serif;
	font-size: 18px;
	line-height: 24px;
	font-weight: 700;
	color: #3C3C3C;
	margin-bottom: 16px;
}
#main-footer .address, #main-footer .contact {
	font-family: "Open Sans", sans-serif;
	font-size: 18px;
	line-height: 34px;
	font-weight: 400;
	color: #3C3C3C;
}
#main-footer .address a, #main-footer .contact a {
	font-family: "Open Sans", sans-serif;
	font-size: 18px;
	line-height: 34px;
	font-weight: 400;
	color: #3C3C3C;
}
#bottom-footer {
	background: #ffffff;
	font-family: "Open Sans", sans-serif;
	font-size: 18px;
	line-height: 27px;
	font-weight: 400;
	color: #3C3C3C;
}
#bottom-footer .wrapper {
	padding: 24px 64px;
}
.asset {
	font-size: 20px;
	color: #fff;
	white-space: nowrap;
	font-weight: 400;
}
.asset span {
	font-weight: 300;
}
.back-to-top-link {
    position: fixed;
    outline: none;
    pointer-events: all;
    bottom: 60px;
    right: 32px;
    display: inline-block;
    transition: transform 80ms ease-in;
}
.back-to-top-link img {
    width: 64px;
	height: 64px;
}

/*----------------------
7.0 MEDIA QUERIES
-----------------------*/
@media only screen and (max-width: 1400px) {
	.wp-block-media-text[style="grid-template-columns:auto 63%"] { grid-template-columns: auto 50% !important; }
	.wp-block-media-text[style="grid-template-columns:63% auto"] { grid-template-columns: 50% auto !important; }
}
@media only screen and (max-width: 1200px) {
	#main-header .wrapper,
	.wp-block-cover,
	.wp-block-group,
	.wrapper,
	#main-footer .wrapper { padding-left: 16px; padding-right: 16px; }
		body:not(.home) #header-border {
		height: 160px;
		background-size: 100% 120px;
	}
	.main {
		padding-top: 100px;
	}
	.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { padding-left: 64px; }
	.wp-block-media-text:not(.has-media-on-the-right) .wp-block-media-text__content { padding-right: 64px; }
	.site-logo { left: 64px;}
	.link-ln { right: 64px; }
	.main-menu { width: calc(100vw - 400px);}
	.wp-block-cover { padding-top: 100px; padding-bottom: 100px; }
	.single-portfolio .wrapper {
		max-width: 100%;
		padding: 0px 16px !important;
	}
	.single-portfolio .portfolio-image {
		min-height: 250px;
	}	
	.recent-portfolio {
		padding: 180px 16px;
	}
	.recent-portfolio .portfolio-item {
		width: calc(100% / 2);
		margin: 20px auto;
	}
	
}
@media only screen and (max-width: 1080px) {
	body:not(.home) #main-header { position: relative; top: 0; }


	
}
@media only screen and (max-width: 820px) {


}
@media only screen and (max-width: 768px) {
	html, body { font-size: 18px; }
	#main-header { height: 78px; }
	.main { padding-top: 48px; }
	.site-logo {
		width: 114px;
        top: 15px;
	}
	.wp-block-group {
        padding-left: 0px;
        padding-right: 0px;
    }
	.wp-block-group.contact {
        padding-left: 16px;
        padding-right: 16px;
    }
	h1, h2, h3, h4, h5, h6 { margin-bottom: 12px; }
	h1 { 
		font-size: 32px !important;
		line-height: 35px !important;
	}
	h2 { 
		font-size: 27px !important;
		line-height: 29px !important;
	}
	.ourwork h2 { 
		margin-bottom: 16px;
	}
	h3 { font-size: 25px; }
	h4 { font-size: 27px; }
	p { margin-bottom: 38px; }
	.d-mobile { display: block; }
	
	#main-header .wrapper { 
		padding-left: 8px;
		padding-right: 8px;
		padding: 52px 8px;
	}
	.lets-talk {
		font-size: 0px;
		background: #fff;
        border-radius: 25px;
        padding: 12px 24px;
		margin-left: 8px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.02c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm0 12.55l-5.992-4.57h11.983l-5.991 4.57zm0 1.288l-6-4.629v6.771h12v-6.771l-6 4.629z ' fill='%232190d1'/%3E%3C/svg%3E");		background-repeat: no-repeat;
		background-size: 50px;
		background-position: center;
	}
	body:not(.home) #main-header {
		background-image: url('/wp-content/themes/wgc/images/swirl-background-red.png');
        background-repeat: repeat-x;
        background-position: bottom;
        height: 180px;
        padding-bottom: 80px;
	}
	body:not(.home) #header-border {
		height: 80px;
        background-image: url('/wp-content/themes/wgc/images/border_bottom_red_mobile.png');
        background-size: 100% 80px;
        background-position: bottom;
	}
	.video-bg {
		min-height: 90vh !important;
		margin-bottom: 48px;
		padding: 16px;
	}
	.video-bg .wp-block-cover__inner-container {
		padding: 0px;
		margin-top: unset;
	}
	.video-bg .wp-block-cover__background {
		background-image: url('/wp-content/themes/wgc/images/border_bottom_red_mobile.png');
		background-size: 100% 120px;
	}
	.video-bg-title {
		font-size: 48px !important;
		line-height: 52px !important;
		margin-bottom: 32px;
	}


	.wpcf7 { width: 100%; }
	.wpcf7-form {
		display: flex;
		flex-direction: column;
		gap: unset;
        justify-content: flex-start;
		margin-bottom: 48px;
	}
	.wpcf7-form .col-left, .wpcf7-form .col-right {
		width: 100%;
	}
	.contact p{
		font-size: 16px !important;
		line-height: 24px !important;
	}
	.cf_maxchar {
		font-size: 12px;
		line-height: 18px;
	}
	footer .wrapper {
		flex-direction: column;
	}
	#main-footer .wrapper {
		padding: 24px 16px;
	}
	#main-footer .address, #main-footer .contact, #main-footer .links {
		margin-top: 32px;
	}
	#bottom-footer .wrapper {
		padding: 24px 16px;
	}
	.back-to-top-link {
		bottom: 30px;
		right: 17px;
	}
	.single-portfolio .wrapper {
		max-width: 100%;
		padding: 0px 16px !important;
	}
	.single-portfolio .portfolio-image {
		margin: 32px 0px 48px;
		width: 100%;
		min-height: 200px;
	}
	.portfolio-item-cat-name {
		font-size: 12px;
		line-height: 18px;
	}
	.single-portfolio p {
		font-size: 16px;
		line-height: 24px;
	}
	.single-portfolio iframe.rsfv-video {
		border-radius: 10px;
	}
	.recent-portfolio {
		width: 100%;
		background-image:  url('/wp-content/themes/wgc/images/blue_top_mobile.png'),  url('/wp-content/themes/wgc/images/blue_bottom_grey_mobile.png'), url('/wp-content/themes/wgc/images/swirl-background-blue-light.png');
		background-repeat: no-repeat, no-repeat, repeat;
		background-position: top, bottom, center;
		background-size: contain, contain;
		padding: 120px 16px 180px;
		margin-top: 64px;
	}
	.recent-portfolio-inner {
		flex-direction: column;
	}
	.recent-portfolio .portfolio-item {
		width: 100%;
	}
	.recent-portfolio .portfolio-image {
		width: 100%;
		height: fit-content;
	}
	.recent-portfolio iframe.rsfv-video {
		width: 100% !important;
		height: fit-content !important;
	}
}
@media only screen and (max-width: 600px) {
	.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { padding-left: 24px; }
	.wp-block-media-text:not(.has-media-on-the-right) .wp-block-media-text__content { padding-right: 24px; }
	.site-logo { left: 24px;}
	.wp-block-media-text { display: flex; flex-direction: column; margin-top: 34px; }
	.wp-block-media-text__content { order: 1; }
	.wp-block-media-text__media { order: 2; }
	.wp-block-media-text p { padding-top: 20px; padding-bottom: 34px; }
	.wp-block-media-text p.has-text-align-right { padding-top: 20px; padding-bottom: 54px; }
	.wp-block-media-text p.has-text-align-right::before { display: none; }
	.wp-block-media-text.is-vertically-aligned-top p::before { bottom: auto; top: 0;  }
	.wp-block-media-text.is-vertically-aligned-top p { padding-top: 20px; padding-bottom: 32px; }

	#main-footer { padding: 10px 0; }
	.asset { font-size: 8.22px; }
	.slick-track { gap: 27px; }
	.mb-6 { margin-bottom: 50px; }

}
@media only screen and (max-width: 480px) {

}