/*
Theme Name:   Astra Child
Theme URI:    https://orazerosrl.it
Description:  Tema child per Astra
Author:       Antonio Latronico
Author URI:   https://orazerosrl.it
Template:     astra
Version:      1.0.0
License:      Commercial
License URI:  
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  astrachild
*/

/* toglie gap sotto l'header */
.ast-plain-container.ast-no-sidebar #primary {
    margin-bottom: 0 !important;
		margin-top:0 !important;
}

/* menu header abbasso altezza testo */
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
    line-height: 50px;
}

/* link in pagine escono fuori finestra */
#ora0-post-container-inner a {
    line-break: anywhere;
}

/* elimina page title */
/*
.page header .entry-title{
	display:none !important;
}
*/

/* colore link sottomenu */
div#ast-desktop-header ul.sub-menu a{
	color:#636363;
}

div#ast-desktop-header ul.sub-menu a:hover{
	color:#74b83a;
}
/* eliminare bordino nel header */

.ast-primary-header-bar {
    border: none !important;
}

/* eliminare bordino nel footer */

.site-below-footer-wrap[data-section="section-below-footer-builder"]{
	border:none !important;
}

/* SISTEMA A SIDEBAR (SOLO per posts) */
#ora0-post-content-central{
	width:70%;
	float:left;
}

#ora0-post-content-central-inner{
	
}

#ora0-post-content-side{
	width:28%;
	float:right;
}

#ora0-post-content-side-inner{
	
}

.ora0-sidebar-box {
    background: #edf0f5;
    padding: 15px;
    border-radius: 5px;
}

.ora0-sidebar-box h4 {
    color: #446b17;
}

.ora0-related-post {
    border-bottom: solid 2px #80bc5278;
    margin: 0 0 17px 0;
}

.ora0-related-post-date {
    font-weight: 300;
    font-style: italic;
}

.ora0-related-post-title {
    font-weight: bold;
}


/* container depicter */
#depicter-1 {
    box-shadow: 10px 10px 10px 10px #0000005e;
}

/* welcome banner */
#ora0index-welcome-container {
    padding: 37px 34px;
    background: url("images/welcome-bg.png"),linear-gradient(90deg, rgba(117,185,59,0) 0%, rgba(117,185,59,1) 18%, rgba(117,185,59,1) 81%, rgba(117,185,59,0) 100%);
    color: #fff;
}

#ora0index-welcome-title {
    font-size: 40px;
    line-height: 47px;
    float: left;
    margin: 0 0 0 61px;
}

#ora0index-welcome-desc {
    width: 372px;
    font-size: 16px;
    float: right;
    margin: 0 82px 0 0;
}

/* INDEX SFALSATA - section 1 */

#ora0index-section1-container {
    display: block;
    width: 100%;
    margin: 15px auto;
}

.elementor-3279 .elementor-element.elementor-element-5821aef {
    padding: 300px 0px 20px 0px;
}
.elementor:not(.elementor-bc-flex-widget) .elementor-widget-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.elementor-widget-wrap {
    position: relative;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: start;
    align-content: flex-start;
}

.elementor-3279 .elementor-element.elementor-element-b5d0e10 .about-img {
    background: #002C75;
}

.about-focus {
    background: var(--theme-primary);
    color: #fff;
    padding: 42px 60px 34px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    display: inline-block;
    position: absolute;
    top: 60px;
    left: -130px;
    max-width: 220px;
}

.about-shape-1 {
    position: absolute;
    left: 0;
}

.about-shape-2 {
    position: absolute;
    right: 100px;
    z-index: 3;
    margin-top: -100px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.about-image-box {
    position: relative;
}

.about-img-2 {
    position: absolute;
    margin-bottom: -110px;
    max-width: calc(100% - 240px);
    width: calc(100% - 240px);
    bottom: 0;
    left: 60px;
    -webkit-border-radius: 7px !important;
    -moz-border-radius: 7px !important;
    border-radius: 7px !important;
}

#ora0index-section1-container .about-img {
    width: 500px;
}

#ora0index-section1-container .about-img-2 {
    width: 357px;
    background: #002C75;
	border-radius: 15px !important;
}

#ora0index-section1-container .about-img-2 img {
	mix-blend-mode: luminosity;
	border-radius:15px;
}

#ora0index-section1-container .about-content {
    background: #fff;
    max-width: 40%;
    margin-left: 450px;
    margin-top: -313px;
    padding: 97px 0px 100px 100px;
    position: relative;
    z-index: 1;
    -webkit-border-radius: 7px !important;
    -moz-border-radius: 7px !important;
    border-radius: 7px !important;
}

#ora0index-section1-container .d-md-flex.align-items-center.mt-50 {
    background: #74b83a;
    color: #fff;
    border-radius: 5px;
    border-color: #fff;
    padding: 10px;
    border-width: 2px;
    transition: all 0.3s ease 0s;
    box-shadow: 0 0 5px #ffee10;
    width: 200px;
    text-shadow: 0 0 5px #ffee10;
    text-align: center;
    margin: 10px 0 0 0;
}

#ora0index-section1-container a.theme-btn.mb-xs-30.ml-xs-20 {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}

/* INDEX SFALSATA - section 2 */

#ora0index-section2-container {
    width: 90%;
	margin: 30px auto;
}

#ora0index-section2-left{
	float:left;
	width:400px;
}

#ora0index-section2-left-title {
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 2px;
    color: #75b93b;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

#ora0index-section2-left-desc  {
    font-size: 50px;
    line-height: 1.1;
    color: #365b08;
    font-weight: 700;
    margin: 5px auto 45px;
    text-transform: uppercase;
}


#ora0index-section2-right{
	float:left;
}

#ora0index-section2-right img{
	width:770px;
}

#ora0_index_parallax_button{
    background: #74b83a;
    color: #fff;
    border-radius: 5px;
    border-color: #fff;
    padding: 10px;
    border-width: 2px;
    width: 200px;
    text-align: center;
    margin: 10px 0 0 0;
}

#ora0_index_parallax_button:hover{
    border-width: 2px;
    transition: all 0.3s ease 0s;
    box-shadow: 0 0 5px #ffee10;
    text-shadow: 0 0 5px #ffee10;
}

#ora0-customheader-pagetitle {
    font-size: 100px;
    text-align: center;
    padding: 52px 0 0 0;
    color: #ffffff;
    line-height: 96px;
    mix-blend-mode: difference;
}

/* MOBILE FIXES */
@media (max-width:500px){
	#iubenda-cs-banner {
		width: 300px !important;
	}
	#iubenda-cs-banner.iubenda-cs-visible {
		width: 300px !important;
	}
	
	#depicter-1{
		display:none;
	}
	
	#ora0index-welcome-title {
		font-size: 40px;
		line-height: 47px;
		margin: 0 auto;
		text-align: center;
	}
	
	#ora0index-welcome-container {
		padding: 37px 34px;
		background: #75b93b;
		color: #fff;
	}
	
	#ora0index-welcome-desc {
		font-size: 16px;
		float: right;
		margin: 0 auto;
	}
	
	#ora0news-main-container {
		
	}
	
	#ora0news-main-container-motto {
		width: 50%;
		margin: 50px auto;
		text-align: center;
	}
	
	.ora0news-container {
		width: 100%;
		height: auto;
		margin: 0 0 20px 0;
		border-bottom: solid 1px #ccc;
	}
	
	.ora0news-img {
		height: 250px;
		overflow: hidden;
		border-radius: 0px;
	}
	
	.ora0news-textcontainer {
		padding: 0 15px 20px 15px;
		position: inherit;
		width: 100%;
		border: none;
		margin: 0;
		border-radius: 0px;
		height: auto;
	}
	
	.ora0news-date {
		padding: 0;
		font-size: 12px;
		font-weight: 600;
		letter-spacing: 1.2px;
		color: #979994;
		text-transform: uppercase;
		display: block;
		border: none;
		border-radius: 0;
		transform: none;
		box-shadow: none;
		background:none;
	}
	
	.ora0infobox-container {
		background: #fff;
		border-radius: 10px;
		box-shadow: 3px 4px 40px #0000002e;
		margin: 0 auto 10px auto;
		padding: 20px;
		width: 100%;
		height: auto;
	}
	
	#ora0index-section1-container{}
	#ora0index-section1-container .about-img {
		width: 100%;
	}
	#ora0index-section1-container .about-img-2 {
		width: 40%;
		background: #002C75;
		border-radius: 15px !important;
	}
	#ora0index-section1-container,#ora0index-section2-container{display:none;}

	#ora0-post-container {
		width: 100%;
		margin: 0;
		border: none;
		border-radius: 0;
		box-shadow: none;
		font-size: 19px;
		line-height: 28px;
	}
    #ora0-related-posts{
		display:none;
	}
	#ora0-post-content-central{
		clear:both;
		width:90%;
	}
	#ora0-post-title {
		font-size: 26px;
	}
}