/*
Theme Name: Start 2021 Child Theme
Description: This is a custom child theme for Start Digital
Theme URI:   https://startdigital.com.au
Author: Start Digital
Author URI:  https://startdigital.com.au
Template: startdigital
Version: 3.0
*/

/* Blog styling */
.single :is(h2, h3, h4, h5) {
	margin-bottom: 1.5rem !important;
}

.single #top {
	background-color: #F8DD48;
}

.single .menu-item:not(.menu-button) .menu-title-text {
	color: black !important;
}

.single .main-content :is(ul, ol) {
	display: flex;
    flex-direction: column;
    gap: 1rem;
    line-height: 1.5;
    font-size: 20px;
    color: black;
}

/* POPUP */
.pum-container {
    background: #8b3cf4 !important;
    border-radius: 12px !important;
    padding: 10% !important;
}

.pum-container .wpb_text_column .wpb_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.pum-container .pum-content + .pum-close {
	font-size: 40px !important;
	height: 40px !important;
}

.pum-container.pum-responsive img {
    max-width: min(250px, 70%) !important;
    transform: rotate(352deg);
	margin-bottom: 20px;
}

.pum-container .wpb_text_column .wpb_wrapper p {
    max-width: min(100%, 600px);
    margin: 0 auto;
    text-align: center;
	padding-bottom: 0;
}

.pum-container .wpb_text_column .wpb_wrapper p,
.pum-container .wpb_text_column .wpb_wrapper strong,
.pum-container .wpb_text_column .wpb_wrapper h3 {
    color: white !important;
}

.pum-container .wpb_text_column .wpb_wrapper h3 {
	font-size: 24px !important;
	line-height: 1.5;
	text-align: center;
}

.gform_required_legend,
.pum-container .gform_footer {
    display: none !important;
}

.pum-container .gform_wrapper {
	width: min(100%, 600px);
}

.pum-container .gform_body.gform-body {
	margin-top: 0 !important;
}

.pum-container .gform_fields {
	grid-template-columns: 1fr !important;
}

.pum-container .gform_fields .gfield {
	grid-column: initial !important;
}

.pum-container .gform_wrapper input[type="submit"] {
    background: black !important;
    padding-left: 0 !important;
	height: 100% !important;
	border-radius: 12px !important;
	-webkit-border-radius: 12px !important;
}

.pum-container .gform_confirmation_wrapper {
	padding: 20px;
	border: 1px solid #7c21f5;
	background-color: #ffffff;
	color: #8b3cf4;
	font-weight: bold;
	border-radius: 5px;
	line-height: 1.25;
}

@media screen and (min-width: 1000px) {
	.pum-container {
		padding: 5% !important;
	}
	
	.pum-container .wpb_text_column .wpb_wrapper h3 {
		font-size: 40px !important;
		line-height: 1.5;
	}
	
	.pum-container .gform_fields {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
/* END POPUP */

/* Crazy override */
body #slide-out-widget-area.fullscreen-split .off-canvas-menu-container > ul > li > a {
	font-size: 30px !important;
	line-height: 2 !important;
}

#slide-out-widget-area.fullscreen-split .off-canvas-menu-container > ul > li.menu-button > a::after {
	display: none !important;
}

.container-wrap {
	padding-bottom: 0 !important;
}

#logo {
	margin-bottom: 0 !important;
}

#logo > svg {
	height: 75px;
	width: 100%;
	transition: height 0.3s ease;
}

.scrolled-down #logo > svg {
	height: 60px;
}

/* Logo animation */
#logo-symbol {
	width: 100%;
	height: auto;
	transition: transform 1s cubic-bezier(.77,0,.21,.98);
	transform-box: fill-box;
	transform-origin: 50% 50% !important;
}

#logo-symbol:hover {
	transform: rotate(360deg);
}

@media screen and (min-width: 690px) {
    #header-outer {
        margin-top: 20px !important;
        background-color: transparent !important;
    }
}

p {
    color: #000 !important;
    font-size: 20px !important;
    line-height: 1.6 !important;
}

h1, h2, h3, h4, strong {
	color: #000 !important;
}

.menu-button a {
	border-bottom: 3px solid #E13661;
}

#slide-out-widget-area.fullscreen-split .off-canvas-menu-container > ul > li > a {
	font-size: 36px !important;
	line-height: 1.5 !important;
} 

@media screen and (min-width: 1000px) {
	.menu-button a {
		padding: 16px 32px !important;
		background-color: #000000;
		border-radius: 999px;
		border-bottom: none;
	}
}

.menu-button a:hover, a.nectar-button:hover {
    background-color: #f4145f !important;
    color: #ffffff !important;
}

.menu-button a span.menu-title-text {
    color: #ffffff;
}

.menu-button a:hover span::after {
	display: none !important;
}

/* Internal Page Template */
.column-wrapper {
	position: relative !important;
	overflow: hidden !important;
}

.overflow-hidden {
    overflow: hidden;
}

/* FOOTER */
#footer-widgets {
	overflow: hidden;
	position: relative;
}

#footer-widgets::before {
	width: 100%;
	height: 700px;
	content: '';
	background-image: url(/wp-content/uploads/2022/03/cathal-newsletter.webp);
	position: absolute;
	bottom: 0;
	opacity: 0.7;
	left: -20px;
	background-size: contain;
	background-repeat: no-repeat;
}
	
#footer-widgets .container {
	position: relative;
}

#footer-widgets .col {
	position: static;
	padding: 80px 0;
}

.footer-image-container {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.footer-image-container > img {
	max-width: 250px !important;
}

.footer-image-container .envelope {
	position: absolute;
    top: 30px;
    right: 0;
	left: 0;
	margin: 0 auto;
    transform: scale(0.8) rotate(342deg);
}

.footer-image-container .comment {
	position: absolute;
    top: -10px;
    right: 0;
    transform: rotate(19deg);
}

#footer-outer .widget_text {
	max-width: 700px;
	margin: 0 auto;
}

#footer-widgets .gform_footer {
	justify-content: center;
}

@media screen and (max-width: 1000px) {	
	.footer-image-container .comment {
		display: none
	}
}

.gform_body.gform-body {
	margin-top: 60px;
}

.gform_body.gform-body input,
.gform_body.gform-body textarea {
    background-color: #fff;
    padding: 20px 0 20px 20px !important;
    border-radius: 12px;
    font-size: 18px !important;
    font-weight: bold;
}

/* Crazy overrides */
#footer-outer #footer-widgets .col .gform_footer input[type="submit"].gform_button { 
    font-size: 18px;
    background-color: #000000 !important;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 999px !important;
}

#footer-outer #footer-widgets .col .gform_footer input[type="submit"].gform_button:hover {
    background-color: #f4145f !important;
    color: #ffffff !important;
}

#footer-outer .row:not(#copyright) {
	padding: 130px 0 0px !important;
}

#copyright {
	padding: 0 !important;
}

.footer-text-primary {
	font-weight: 400;
	line-height: 1.25 !important;
}

#copyright-content {
	display: flex;
	gap: 1rem;
    flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 50px 0;
	font-weight: bold;
}

.social-icons {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.social-icons img {
	width: 20px !important;
	height: 20px !important;
	margin-bottom: 0 !important;
}

@media screen and (min-width: 1000px) {
	.header-image {    
		transform: translateY(15%);
	}

	.header-image.rotated {
		transform: rotate(-22deg) translateY(15%);
		max-width: 450px !important;
	}

	.header-image {
		max-width: 450px !important;
		transform: rotate(-22deg) translateY(17%);;
		margin: 0 auto;
	}
	
	#copyright-content {
		flex-direction: row;
		gap: 0;
	}
	
	#logo > svg {
		height: 100px;
	}
	
	.footer-image-container .envelope {
	    bottom: 30px;
		top: initial;
		left: initial;
    	transform: rotate(342deg);
	}
	
	#footer-outer .row:not(#copyright) {
		padding: 100px 0 !important;
	}
	
	#footer-widgets::before {
		height: 100%;
		bottom: initial;
		top: 0;
		left: 0;
		opacity: 1;
	}
}

/* Blog page */
.blog-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-article--image {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.blog-article--title > a {
	color: black;
}

.blog-article--excerpt {
	line-height: 1.5;
}


/* New Form */

.centered-form {
	width: max-content;
	left: 50%;
    transform: translateX(-50%);
	width: 65%;
}

@media only screen and (max-width: 1080px) {
	.centered-form {
		width: 100%;
	}
}

.contact-form-header .wpb_column {
	left: 50%;
    transform: translateX(-50%);
}

.contact-form-header p {
	font-size: 18px !important;
}

@media only screen and (max-width: 1080px) {
	.contact-form-header p {
	font-size: 16px !important;
}
}

.centered-form textarea {
	background: white !important;
	max-height: 200px !important;
}


.centered-form .gform_footer {
	display: flex;
	justify-content: center;
	padding-top: 30px !important;
}


.contact-form-wrapper h2 {
	font-size: 42px !important;
}

@media only screen and (max-width: 1080px) {
	.contact-form-wrapper .contact-us-content {
		margin-bottom: 8px !important;
		padding-right: 0 !important;
	}
	.contact-form-wrapper h2 {
		font-size: 32px !important;
	}
}


/* Image Grid */

.l-image-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 18px;
	place-items: center;
	padding-top: 20px;
}

.l-image-grid img {
	max-width: 65% !important;
	height: auto;
	margin: 0 !important;
}

/*. Video Cards */

.l-video-grid {

}

.l-video-grid .span_12,
.l-video-grid .wpb_text_column{
	margin-left: 0 !important;
    margin-right: 0 !important;
	margin: 0 !important;
}

.l-video-grid .child_column {
	padding: 0 !important;
}


.l-video-grid > .vc_column-inner > .wpb_wrapper {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	grid-gap: 30px;
	width: 100% !important;
}

@media only screen and (max-width: 1080px) {
	.l-video-grid > .vc_column-inner > .wpb_wrapper {
		grid-template-columns: 1fr !important;
	}
}


/*  CARD WRAPPER */
.l-video-grid .wpb_row .row_col_wrap_12_inner {
	display: flex;
	flex-direction: column-reverse;
	padding: 34px;
	position: relative;
}

@media only screen and (max-width: 1080px) {
	.l-video-grid .wpb_row .row_col_wrap_12_inner {
		padding: 16px;
	}
}


.l-video-grid .c-video-text .vc_column-inner > .wpb_wrapper {
	width: 100% !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	grid-gap: 32px;
	height: 100% !important;
}

.l-video-grid .vc_col-sm-9 {
	width: 100% !important;
}

.l-video-grid .vc_row-fluid {
	margin-bottom: 0 !important;
}

.l-video-grid .vc_row-fluid::after {
	clear: '';
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #8b3bf4;
	border-radius: 20px;
}

@media only screen and (max-width: 768px) {
	.l-video-grid .vc_row-fluid::after {
		height: 75%;
	}
}

.l-video-grid .c-video-text {
	width: 100% !important;
	margin-top: 20px;
}

.l-video-grid .wpb_text_column span,
.l-video-grid .wpb_text_column b {
	color: white !important;
}

.l-video-grid .wpb_text_column span {
	line-height: 145%;
}

.l-video-grid .img-with-aniamtion-wrap {
	margin-bottom: 0 !important;
	width: 90px;
	height: 90px;
}

.l-video-grid .img-with-aniamtion-wrap .inner {
	display: flex;
	align-items: center;
	justify-content: center;
}

.l-video-grid .vc_column-inner .inner-wrap {
	border-radius: 15px;
}

.l-video-grid .img-with-aniamtion-wrap .hover-wrap {
	margin-bottom: 0 !important;
}

.l-video-grid .img-with-aniamtion-wrap.custom-width-35pct .inner {
	max-width: 100% !important;
	width: 90px !important;
}

.l-image-full img {
	width: 100% !important;
}

.center-content-wrapper,
.center-content-wrapper .vc_column-inner,
.center-content-wrapper .vc_column-inner .wpb_wrapper {
	height: 100% !important;
	display: flex !important;
	justify-content: center !important;
	flex-direction: column !important;
	flex-grow: 1 !important;
}

.center-content .wpb_wrapper  {
	display: flex !important;
	justify-content: center !importantl;
	flex-direction: column !important;
	height: 100% !important;
}

/* .square-image {
	aspect-ratio: 1 / 1 !important;
	border: 1px solid red;
} */

.square-image img {
/* 	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important; */
}