/**
Theme Name: Astra Child
Author: Kevin Bourke
Author URI: https://create.ie/
Description: A child theme for use with Astra parent theme. Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Toggles added with js */
body .sub-menu-toggle,
body button.sub-menu-toggle {
    background: transparent;
    color: #fff;
    display: block;
    font-family: 'Font Awesome 5 Free';
    font-weight:900;
    font-size: 17px;
    padding: 12px 18px;
    position: absolute;
    right: 0;
    top: 4px;
}
.sub-menu-toggle:hover {
    background: transparent;
    color: #fff;
}
.sub-menu-toggle:before {
    content: "\f067";
}
.sub-menu-toggle.activated:before {
    content: "\f068";
}

/*--------------- Elementor default adjustments */
/* Bullets */
.elementor-text-editor ul,
.elementor-text-editor ol,
.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol,
.elementor-widget-accordion .elementor-accordion .elementor-tab-content ul,
.elementor-widget-accordion .elementor-accordion .elementor-tab-content ol,
.elementor-widget-toggle .elementor-toggle .elementor-tab-content ul,
.elementor-widget-toggle .elementor-toggle .elementor-tab-content ol {
    margin: 15px;
}
.elementor-text-editor ul li,
.elementor-widget-theme-post-content ul li,
.elementor-widget-accordion .elementor-accordion .elementor-tab-content ul li,
.elementor-widget-toggle .elementor-toggle .elementor-tab-content ul li {
    list-style: disc;
    margin-left: 15px;
    margin-bottom: 5px;
}
.elementor-text-editor ol li,
.elementor-widget-theme-post-content ol li,
.elementor-widget-accordion .elementor-accordion .elementor-tab-content ol li,
.elementor-widget-toggle .elementor-toggle .elementor-tab-content ol li {
    list-style: decimal;
    margin-left: 15px;
    margin-bottom: 5px;
}
/* Bullet markers */
.elementor-text-editor ul li::marker,
.elementor-widget-theme-post-content ul li::marker,
.elementor-widget-accordion .elementor-accordion .elementor-tab-content ul li::marker,
.elementor-text-editor ol li::marker,
.elementor-widget-theme-post-content ol li::marker,
.elementor-widget-accordion .elementor-accordion .elementor-tab-content ol li::marker,
.elementor-widget-toggle .elementor-toggle .elementor-tab-content ol li::marker,
.elementor-widget-toggle .elementor-toggle .elementor-tab-content ul li::marker {
    color: var(--colour-2-darker);
    font-weight: 900;
}
/* CUSTOM CLASSES */

/* Sliding Column Up activated by hover (use on homepage) */
.sliding-col-up-hover {
    margin-top: 100px;
    height:370px;
    transition-duration: 0.5s;
    transition-property: all;
    overflow: hidden;
}
.sliding-col-up-hover:hover {
    margin-top: 0;
    height: 470px;
}
.sliding-col-up-hover .sliding-column-img {
    position: absolute;
    top:380px;
    transition-duration: 0.5s;
    width: calc(100% - 50px);
}
.sliding-col-up-hover:hover  .sliding-column-img {
    top:180px;
}
.sliding-col-up-hover .sliding-column-btn {
    position: absolute;
    top: 250px;
    transition-duration: 0.5s;
    z-index: 2;
}
.sliding-col-up-hover:hover .sliding-column-btn {
    top: 180px;
}
.sliding-col-up-hover:hover .sliding-column-btn .elementor-button {
    background-color: #F4991F;
    border-color: #F4991F;
}

/* Sliding up column for TEAM profile carousel activated by button */
.sliding-team-column {
    height: 244px;
    margin-top: 386px;
    transition-duration: 0.5s;
    transition-property: all;
    overflow: hidden;
}
.sliding-team-column.slide-up-active,
.elementor-editor-active .sliding-team-column {
    height: 630px;
    margin-top: 0;
}
.sliding-column-activate-btn .elementor-button {
    cursor: pointer;
} 
.sliding-column-activate-btn .elementor-button:focus {
    background-color: transparent;
}
/* Top left corner border only */
.corner-border-top-left {position:relative;}
.corner-border-top-left:before {
    position:absolute;
    width:80px; height: 80px;
    border-color: #3366F2;
    border-style: solid;
    content: ' ';
    opacity: 1;
}
.corner-border-top-left:before {
    background-color: transparent!important;
    top:-10px;
    left:-10px;
    border-width: 10px 0 0 10px;
    border-radius: 0;
}
/*----------- MEDIA QUERIES ----------*/
/* UNDER TABLET / max 767px */
@media only screen and (max-width: 767px) {
/* TABLES */
    /* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
    /* Hide table headers (but not display: none;, for accessibility) */
	th { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
    tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none!important;
		border-bottom: 1px solid #dedede!important; 
		position: relative!important;
		padding-left: 40%!important;
        min-height: 45px;
        font-size: 1.4rem;
	}
    td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 40%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
    /*
	Label the data for cookie table
	*/
	#cookies td:nth-of-type(1):before { content: "Cookie"; }
	#cookies td:nth-of-type(2):before { content: "Type"; }
	#cookies td:nth-of-type(3):before { content: "Description"; }
	
    /* END TABLES */

    /* Sliding column*/
    .sliding-team-column {
        height: auto;
        margin-top: 30px;
        transition-duration: 0.5s;
        transition-property: all;
        overflow: hidden;
    }
} /* END @media max-width 767 */

/*--------------------------------------------------------------*/
/*- EVERYTHING BIGGER THAN TABLETS -----------------------------*/
/*--------------------------------------------------------------*/
@media only screen and (min-width: 769px) and (max-width: 959px) {
    /* navigation */
    .header-site .nav-horizontal > ul > li > a {
        font-size: 14px;
        padding: 0 5px;
    }
    .nav-horizontal .sub-menu li a {
        font-size: 13px;
        padding: 20px 15px;
    }
    .nav > ul > li .sub-menu .sub-menu,
    .nav li:hover > .sub-menu .sub-menu,
    .nav > ul > li .children .children,
    .nav li:hover > .children .children {
        left:137px;
    }
    
}
/*--------------------------------------------------------------*/
/*- EVERYTHING BIGGER THAN 1400 -----------------------------*/
/*--------------------------------------------------------------*/
@media only screen and (min-width: 1400px) {
    
    .header-site .sub-menu li,
    .nav .children li {
	    width: 218px;
    }
    .nav > ul > li .sub-menu .sub-menu,
    .nav li:hover > .sub-menu .sub-menu,
    .nav > ul > li .children .children,
    .nav li:hover > .children .children {
        left:218px;
    }
}