/* 
Theme Name: Vita & Lavoro - Elementor child
Theme URI: https://github.com/elementor/hello-theme/
Description: Tema per Vita & Lavoro - consultati SA
Author: Consultati - AF
Author URI: https://consultati.ch/
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
*/


/* colori principali 

blu: #6599cc
verde: #99c43a;
verde testo: #85b51d;	
	
	
*/

html, body{
  min-height: 100vh;
  overflow: auto;
}
body {
	position: relative;
	padding-bottom: 90px;
}


/* PAGINA LOGIN */

body.login {
	background-color: #365888; /* blu */
	background: linear-gradient(135deg, #99c43a, #6599cc, #99c43a);
	background-size: 400% 400%;
	animation: gradientBG 50s ease infinite;
	
	padding-top: 7%;
    box-sizing: border-box;
}

@keyframes gradientBG {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}


#backtoblog {
	display: none;
}
#login {
	background-color: white;
	padding-top:50px;
	padding-bottom: 30px;
	box-shadow: 0 0 15px rgba(0,0,0,0.4);
	border-radius: 5px;
}
#loginform {
	box-shadow: none;
}
.login h1{
	text-align: left;
}
.login h1 a {
    background-image: url(/wp-content/uploads/logo-vita-lavoro@2x.png);
    /*background-image: none,url(../img/logo-base-v1.svg?ver=17);*/
	background-size: 120px;
    width: 120px;
    height: 110px;
    margin: 0 0 50px 24px;
}

.login h1:after {
	content: "Accesso riservato";
	font-size: 25px;
	font-weight: 300;
	display: block;
    margin: 0 24px 10px 24px;
    color:#b1b1b1;
}
.login form {
    margin-top: 0px;
}
.login form .forgetmenot {
    float: none;
}
.wp-core-ui #login .button-primary {
    height: auto;
    line-height: 14px;
    padding: 13px;
    float: none;
    width: 100%;
	box-sizing: border-box;
    margin: 7px 0 7px;
    background: #3b6b9a;   
    border-color: #3b6b9a;
	box-shadow: none;
	text-shadow: none;
}
.login #nav a {
    text-decoration: none;
    color: #aaa;
}
.login #nav {
    margin-top:0;
}


/* stili base */
.site-main {
	margin-left:20px;
	margin-right:20px;
}
a { 
	color: #22569b; /* blu più scuro */
}


#vl-logo .elementor-image a {
	position:absolute;
	left:0;
	top:-30px;
	width:100px;
}
.home #vl-logo img {
	width:100%;
}
#vl-logo img {
	width:70%;
}
@media (min-width: 768px) {
	#vl-logo .elementor-image a {
		position:absolute;
		left:0;
		top:-30px;
		width:150px;
	}
}
@media (min-width: 1025px) {
	#vl-logo .elementor-image a {
		position:absolute;
		left:0;
		top:-30px;
		width:250px;
	}
}

.elementor-location-header > .elementor-inner:first-child {
	padding-top:20px;
	background: linear-gradient(90deg, #6599cc, #99c43a); /* blu > verde */
}
@media (min-width: 768px) {
	.elementor-location-header > .elementor-inner:first-child {
		padding-top:40px;
	}
}

.elementor-location-header > .elementor-inner:first-child > .elementor-section-wrap {
	background-color: white;
	padding-top:30px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2 !important;
	color: #6599cc; /* blu */
}

.elementor-search-form__toggle {
    color: #99c43a !important;
    border-color: #99c43a !important;
}
.elementor-search-form--skin-full_screen .elementor-search-form__container {
    background-color: #99c43a !important;
	background: linear-gradient(0deg, #6599cc, #99c43a);
}

.vl-indice-sez-temi {
	
}

.titolo-pagina {
	background-image: url("/wp-content/uploads/titolo-pag-angolo.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 85px;
	padding: 50px 50px 50px 60px;
}
@media (max-width: 767px) {
	.elementor-section-stretched .titolo-pagina {
		background-position-x: 10px;
	}
}

.titolo-pagina h2,
h2.titolo {
	font-size: 22px;
	color: #85b51d !important; /* verde testo */
	font-weight: 300;
}
@media (min-width: 1024px) {
	.titolo-pagina h1 {
		font-size: 48px;
	}
	.titolo-pagina h2,
	h2.titolo {
		font-size: 25px;
	}

}
.txt-blu {
	color: #6599cc; /* blu */
}
.txt-verde {
	color: #85b51d; /* verde testo */
}

/* immagini procedura homepage: small = large * 0.65 */
.elementor img.home-proc-1 { max-width: 127px; }
.elementor img.home-proc-2 { max-width: 164px; }
.elementor img.home-proc-3 { max-width: 205px; }
.elementor img.home-proc-4 { max-width: 219px; }


@media (min-width: 1024px) {
	.elementor img.home-proc-1 { max-width: 195px; }
	.elementor img.home-proc-2 { max-width: 253px; }
	.elementor img.home-proc-3 { max-width: 315px; }
	.elementor img.home-proc-4 { max-width: 337px; }
}

@media (max-width: 480px) {
	.elementor img[class^="home-proc-"] { display: block; }
}

.slideshow-top-align .swiper-slide-bg {
	background-position-y: top;
}



@media (min-width: 992px) {
	body:not([class*=elementor-page-]) .site-main {
	    margin-top: 130px;
	}
}

.elementor-location-footer {
	position: absolute;
    width: 100%;
    bottom: 0;
}

.elementor-nav-menu a, .elementor-nav-menu a:focus, .elementor-nav-menu a:hover {
    padding: 10px 40px;
}

.elementor-widget-archive-posts .elementor-post__title a {
	font-size: 1.25rem;
	font-weight: 500;
}

.vl-elenco-cat ul,
.vl-elenco-tag ul,
.vl-elenco-archivi ul {
	border-top: 1px solid #e3e3e3;
    list-style-type: none;
    padding:0;
    font-size:14px;
}
.vl-elenco-cat h5,
.vl-elenco-tag h5,
.vl-elenco-archivi h5 {
	color: #85B51D; /* verde */
	font-size:14px;
	margin:24px 0 12px;
	text-transform: uppercase;
}


.vl-elenco-cat ul li,
.vl-elenco-tag ul li,
.vl-elenco-archivi ul li {
	padding: 12px 1px;
	border-bottom: 1px solid #e3e3e3;
}

/* contatore da includere in span */
.contatore {
    float: right;
    font-weight: 700;
    background-color: #f3f3f3;
    color: #9a9a9a;
    border-radius: 50px;
    padding: 0 8px;
    line-height: 1.4;
    cursor: default;
}

.vl-elenco-cat a,
.vl-elenco-tag a {
	color: #6599CC; /* blu */
}

.vl-elenco-archivi h5,
.vl-elenco-archivi a {
	margin-top: 72px;
	color: #a0a0a0;
}
