/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/


/* general designs */
p:last-child{
	margin: 0 !important;
}



/* header */
@media(min-width: 1025px){
	.header-menu .current-menu-item a{
		background: var(--e-global-color-primary);
		font-weight: 700 !important;
	}
	.header-menu li:not(.current-menu-item) a:before,
	.header-menu li:not(.current-menu-item) a:after{
		content: "";
		position: absolute;
		width: 100%;
		left: 0;
		height: 0;
		background: var(--e-global-color-primary);
		transition: ease-out 0.5s;
	}
	.header-menu li:not(.current-menu-item) a:before{
		top: 0
	}
	.header-menu li:not(.current-menu-item) a:after{
		bottom: 0;
	}
	.header-menu li:not(.current-menu-item) a:hover:before,
	.header-menu li:not(.current-menu-item) a:hover:after{
		height: 100%;
	}
	.header-menu a span{
		position: relative;
		z-index: 5;
	}
}



/* home */
.track-item{
    text-decoration: none !important;
}
.track-item img{
    transition: ease-out 0.3s;
}
.track-item:hover img{
    filter: grayscale(1);
}



/* stay up to date section */
.sutd-image *{
    height: 100% !important;
}
.sutd-image img{
    object-fit: cover;
}



/* about page */
.about-allan summary{
    background-color: var(--e-global-color-primary);
    border-radius: 10px !important;
    padding: 12px 25px !important;
    width: fit-content;
    transition: ease-out 0.3s;
}
.about-allan summary .e-n-accordion-item-title-text{
    font-size: 16px;
    font-weight: 700;
    color: var(--e-global-color-4f97a05);
    line-height: 1;
    transition: ease-out 0.3s;
}
.about-allan summary:hover{
    background-color: var(--e-global-color-4f97a05);
}
.about-allan summary:hover .e-n-accordion-item-title-text{
    color: #fff;
}
.about-video .elementor-shortcode{
    position: relative;
    padding-top: 56.5%;
}
.about-video iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.about-audio audio{
    display: block;
    width: 80%;
    margin: 0 auto;
}



/* partner page */
.trademark-item:before{
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    top: 0;
    left: 210px;
    border-radius: 0;
    background: #fff;
	pointer-events: none;
}
.trademark-label{
	transform: translatey(-50%);
}
.partner-audio audio{
    display: block;
    width: 80%;
}



/* contact page */
.page-social i{
    transition: ease-out 0.3s;
}
.page-contact .elementor-icon{
    background: var(--e-global-color-primary);
    width: 44px;
    height: 44px;
    border-radius: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.page-contact .elementor-icon-box-title{
    margin-top: 0;
}
.page-contact a{
    text-decoration: none;
    color: var(--e-global-color-text);
}
.page-contact a:hover{
    text-decoration: underline;
}



/* blog page */
.blog-list .elementor-post__thumbnail{
    border-radius: 10px;
}
.blog-list .elementor-post__title a{
    transition: ease-out 0.3s;
}
.blog-list .elementor-post__title a:hover{
    opacity: 0.75
}
.blog-list .elementor-post__read-more{
    color: var( --e-global-color-4f97a05 );
    text-decoration: none;
    font-size: 12px;
    background-color: var(--e-global-color-primary);
    border-radius: 10px 10px 10px 10px;
    padding: 10px 20px 10px 20px;
    line-height: 1;
    transition: ease-out 0.3s;
}
.blog-list .elementor-post__read-more:hover{
    color: #fff;
    background-color: var( --e-global-color-4f97a05 );
}
.blog-list .elementor-pagination a{
    text-decoration: none;
    transition: ease-out 0.3s;
}
/* blog content */
.post-content ul:not(:last-child){
    margin-bottom: 20px;
}
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6{
    margin-top: 0 !important;
}
.post-content h2{
    font-size: 32px;
}
.post-content h3{
    font-size: 26px;
}
.post-content h4{
    font-size: 22px;
}
.post-content h5{
    font-size: 18px;
    color: #121212;
    font-weight: bold
}
.post-content h6{
    font-size: 15px;
}



/* contact form */
.contact-form .gform_fields{
    grid-row-gap: 20px !important;
}
.contact-form .gfield input,
.contact-form .gfield textarea{
    border-radius: 10px;
    border: 1px solid #c3c3c3;
    padding: 10px 15px !important;
    line-height: 1.5 !important;
    outline: none !important;
    font-size: 16px !important;
    letter-spacing: 1px;
}
.contact-form .gfield input{
	height: auto !important;
}
.contact-form .gfield textarea{
	display: block;
}
.contact-form .gfield input:focus,
.contact-form .gfield textarea:focus{
    border-color: var( --e-global-color-text );
}
.contact-form .gform_footer{
    padding: 0 !important;
    margin-top: 20px !important;
}
.contact-form .gform_button{
    margin: 0 !important;
    border: none !important;
    line-height: 1 !important;
}
.contact-form .gform_validation_errors{
    margin: 0 0 20px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}
.contact-form .gform_validation_errors h2{
    font-weight: 600 !important;
    letter-spacing: 0;
}
.contact-form .validation_message{
    font-size: 12px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    line-height: 1 !important;
    margin-top: 5px !important;
}



/* footer */
.footer-menu .current-menu-item a{
    font-weight: 700 !important;
}
.footer-contact a:hover .elementor-icon-list-text{
    color: var(--e-global-color-text) !important;
}
.footer-social .elementor-grid-item{
    vertical-align: top;
}
.footer-social i,
.footer-social svg{
    transition: ease-out 0.3s !important;
}
.footer-social .elementor-grid-item:last-child{
	height: 30px !important;
}
.footer-social .elementor-grid-item:last-child .elementor-icon{
    width: 136px !important;
    height: 30px !important;
    overflow: hidden;
}
.footer-social .elementor-grid-item:last-child svg{
    font-size: 136px !important;
}
.footer-copyright a{
    color: inherit;
}
.scrollTop{
    opacity: 0;
    visibility: hidden;
    transition: ease-out 0.3s;
}
.scrollTop.show{
    opacity: 1;
    visibility: visible;
}



/* MOBILE RESPONSIVENESS */

@media(max-width: 1024px){
	.trademark-item:before{
		left: 185px;
	}
	.post-content h2{
        font-size: 28px;
    }
    .post-content h3{
        font-size: 22px;
    }
    .post-content h4{
        font-size: 18px;
    }
    .post-content h5{
        font-size: 16px;
    }
}

@media(max-width: 767px){
	.about-allan summary{
		padding: 10px 20px !important;
	}
	.about-allan summary .e-n-accordion-item-title-text{
		font-size: 14px;
	}
	.about-audio audio,
	.partner-audio audio{
		width: 100%;
	}
	.about-video .e-con-inner{
		display: block !important;
	}
	.trademark-item:before{
		display: none;
	}
	.trademark-label{
		transform: none;
	}
	.page-contact .elementor-icon{
		width: 36px;
		height: 36px;
		margin-top: 3px;
	}
	.blog-list .elementor-post__read-more{
		font-size: 10px;
		padding: 8px 16px 8px 16px;
	}
	.post-content h2{
        font-size: 21px;
    }
    .post-content h3{
        font-size: 18px;
    }
    .post-content h4{
        font-size: 16px;
    }
    .post-content h5{
        font-size: 15px;
    }
	.contact-form .gform_fields{
		grid-row-gap: 15px !important;
	}
	.contact-form .gfield input,
	.contact-form .gfield textarea{
		padding: 8px 12px !important;
		font-size: 14px !important;
	}
	.contact-form .gform_footer{
		margin-top: 20px !important;
	}
	.contact-form .gform_button{
		font-size: 14px !important;
		padding: 10px 20px !important;
	}
	.contact-form .gform_validation_errors h2{
		font-size: 12px !important;
	}
	.contact-form .validation_message{
		font-size: 11px !important;
	}
	.footer-social .elementor-grid-item:last-child{
		height: 24px !important;
	}
	.footer-social .elementor-grid-item:last-child .elementor-icon{
		width: 110px !important;
		height: 24px !important;
		margin-top: 1px;
	}
	.footer-social .elementor-grid-item:last-child svg{
		font-size: 110px !important;
	}
}