/* 
Theme Name:		Eco Balance Theme
Theme URI:		https://eco-balance.com.au/
Description:	Theme for Eco Balance website
Author:			Alan Quirk
Author URI:		https://alanquirk.com/
Template:		hello-elementor
Version:		1.0.0
Text Domain:	hello-elementor-child
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
*/


/* Default */

a:link {
    color: #8dc63f;
}

.elementor-text-editor {
    font-size: 13px;
    font-family: "Open Sans", sans-serif;
    line-height: 20px;
}

h2.elementor-heading-title.elementor-size-default {
    font-size: 30px !important;
    font-weight: 700;
}

.elementor-text-editor ul, 
.elementor-text-editor ol,
.elementor-widget-theme-post-content ul, 
.elementor-widget-theme-post-content ol {
    margin-bottom: .9rem;
}


/* Homepage */


.home-projects .elementor-post__card {
    position: relative;
}

.home-projects .elementor-post__text h3 a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.1);
    width: 100%;
    transition: 0.2s;
    text-shadow: 0 0 4px rgba(0,0,0,0.8);
}

.home-projects .elementor-post__thumbnail__link {
    margin-bottom: 0;
}

.home-projects .elementor-post__card .elementor-post__text:hover ~ .elementor-posts .elementor-post__card .elementor-post__thumbnail img {
    transform: scale(1.1);
}

.home-projects  .elementor-post__text h3 a:hover {
    background: rgba(0,0,0,0.6);
}


/* Projects */


.project-exp-grid .elementor-post__card,
.project-archive-block .elementor-post__card {
    position: relative;
}

.project-exp-grid .elementor-post__text h3 a,
.project-archive-block .elementor-post__text h3 a {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.1);
    width: 100%;
    transition: 0.2s;
    text-shadow: 0 0 4px rgba(0,0,0,0.8);
}

.elementor-posts--thumbnail-top.elementor-posts--align-center .elementor-post__thumbnail__link,
.project-archive-block .elementor-post__thumbnail__link {
    margin-bottom: 0;
}

.elementor-posts .elementor-post__card .elementor-post__text:hover ~ .elementor-posts .elementor-post__card .elementor-post__thumbnail img {
    transform: scale(1.1);
}

.project-exp-grid .elementor-post__text h3 a:hover,
.project-archive-block .elementor-post__text h3 a:hover {
    background: rgba(0,0,0,0.6);
}


.project-tags h5 {
    display: none;
}

.project-tags span.elementor-post-info__terms-list {
    color: transparent !important;
    display: flex !important;
    flex-flow: row;
    flex-wrap: wrap;
}

.project-tags span.elementor-post-info__terms-list a {
    background: #236477;
    padding: 5px 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 0.75em !important;
    margin: 0 4px 7px 0;
    transition: 0.3s;
    width: auto;
}

.project-tags span.elementor-icon-list-icon {
    display: none;
}

.project-tags span.elementor-post-info__terms-list a:hover {
    background-color: rgba(35,100,119,0.6);
}


/* Standard page */

.standard-template-content .elementor-widget-container {
    column-count: 2;
}


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

    h2.elementor-heading-title.elementor-size-default {
        font-size: 22px !important;
        line-height: 28px !important;
    }

    .elementor-nav-menu__align-left .elementor-nav-menu--layout-vertical>ul>li>a {
        justify-content: center !important;
    }    

}
