/*
Theme Name: AIO Sede Provinciale
Theme URI: https://aio.it
Author: Aitema S.r.l.
Author URI: https://aitema.it/
Description: Tema generico per il sito AIO Provinciale.
Version: 1.0
Text Domain: aio_sede_provinciale
*/

*/

.logo-footer {
	margin: 30px 0;
}

.logo-footer img {
    max-width: 100%;
    width: 150px;
    margin: 0 auto;
    display: block;
}

#pass-strength-result {
	display: none !important
}

.wppb-description-delimiter {
    display: block;
    /* font-size: 14px; */
    font-size: 0.8rem;
}

.wppb-checkboxes {
	width: 20px;
    display: block;
    float: left;
}
ul.wppb-radios {
	margin: 0;
}
.wppb-radios li {
	width: 50%;
	display: inline-block;
    margin: 0;
    padding: 0 !important;
}

.wppb-radios label {
	font-weight: normal;
}

.wppb-user-forms li {
	padding-bottom: 20px;
}	

.custom_field_radio {
	float: left;
    display: block;
    width: 25px !important;
    margin-top: 5px;
}

.container {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
}

.col-margin {
	margin-bottom: 20px;
}

a.btn {
	display: inline-block;
    padding: 12px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: .8rem;
	color: #fff !important;

	-moz-border-radius: 20px 0;
	-webkit-border-radius: 20px 0;
	border-radius: 20px 0;

    background: #0d5f56 linear-gradient(180deg, #30766d, #0d5f56) repeat-x;
    border: 1px solid #0d5f56;
    white-space: nowrap;

    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
a.btn:hover {
    color: #fff;
    background: #083d38 linear-gradient(180deg, #2c5954, #083d38) repeat-x;
    border-color: #07322d;
}
a.btn:hover:before {
    visibility: hidden;
}

a.btn.red {
	background: #ee465a linear-gradient(180deg, #f06171, #ee465a) repeat-x;
    border: 1px solid #ee465a;
}
a.btn.red:hover {
	background: #eb233b linear-gradient(180deg, #ed4356, #eb233b) repeat-x;
    border-color: #ea1730;
}

a.btn.green {
	color: #212529;
    background: #7dbaaa linear-gradient(180deg, #8fc3b5, #609c8c) repeat-x;
    border: 1px solid #609c8c;
}
a.btn.green:hover {
    color: #fff;
    background: #64ad9a linear-gradient(180deg, #7ab8a7, #64ad9a) repeat-x;
    border-color: #5ca894;
}
a.btn.single{
	display: inline-block;
    margin: 20px 0 40px 0;
    font-size: 0.8rem;
}

a.btn.btn-home1 {

	border-radius: 20px 0 0 0;
}
a.btn.btn-home2 {

	border-radius: 0 0 20px 0;
}

.btn-group{
	margin-bottom: 2rem;
}




.bg-margin {
    padding: 40px;
}
.aio-round {
	border-radius: 0 0 15rem 0;
	padding: 40px;
}
.bg-white {
	margin-top: 20px;
	background-color: #fff;
}

.text-center{
	text-align: center;
}

.img-fluid{
	width: 100% !important;
}


/* TITLE */
.section-title {
	font-size: 1.3rem;
	font-weight: 600;
	color: #0b5b54;
	margin: 40px 0 10px 0;
}
.section-title a {
	float: right;
}

/* Tribe events */

table.tribe-events-tickets {
	width: 100%;
}

.tribe-tickets-order_status-row {
	display: none;
}

.tribe-events-tickets-title.tribe--rsvp {
	font-size: 1.5rem;
    line-height: 1.3;
    margin: 0 0 .75em 0 !important;
}
.tribe-rsvp-message-success {
    background-color: #388077 !important;
    border-color: #7dbbaa !important;
    font-size: 16px !important;
    text-align: center;
    color: white !important;
    padding: 20px !important;
 }

.tribe-event-subscription {
 	width: 100%;
 }

.tribe-ticket-quantity {
 	display: none;
 }

.tribe-events-tickets .tribe-tickets-remaining {
	font-size: 15px !important;
	color: black !important;
}


/*.big-home {
	position: relative;
	background-color: #fff;
	background-position: center;
	background-size: cover;
	margin-bottom: 20px;
	height: calc(100vw - 300px) ;
	border-radius: 50% 0% 0% 50%;
	overflow: hidden;
	margin-top: -200px;

	-webkit-box-shadow: 0px 0px 0px 160px #f2efe6;
	-moz-box-shadow: 0px 0px 0px 160px #f2efe6;
	box-shadow: 0px 0px 0px 160px #f2efe6;
}
.big-home:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url(images/home/a.svg), url(images/home/red.svg);
	background-position: center left, center left;
	background-size: cover;
}*/
.big-home {
    position: absolute;
    width: 40rem;
    height: 40rem;
    background-position: center;
    border-radius: 50% 0 0 50%;
    overflow: hidden;
    top: 0;
    right: 50%;
    transform: translateY(-5%) translateX(50%);
}

.big-home, .big-home:after, .list-img {
    background-size: cover;
}

@media (min-width: 576px){
	.big-home {
	    width: 100vw;
	    height: 100vw;
	    top: 0;
	    right: 50%;
	    transform: translateY(-15%) translateX(50%);
	}
}

@media (min-width: 992px){
	.big-home {
	    height: 80vw;
	    width: 80vw;
	    transform: translateY(-15%) translateX(0);
	    top: 0;
	    right: 0;
	    margin-right: 0;
	    margin-top: 0;
	    -webkit-box-shadow: 0 0 0 6rem #f2efe6;
	    -moz-box-shadow: 0 0 0 6rem #f2efe6;
	    box-shadow: 0 0 0 6rem #f2efe6;
	    display: block;
	}
}
@media (min-width: 1200px){
	.big-home {
	    -webkit-box-shadow: 0 0 0 9rem #f2efe6;
	    -moz-box-shadow: 0 0 0 9rem #f2efe6;
	    box-shadow: 0 0 0 9rem #f2efe6;
	    height: 80vw;
	    width: 80vw;
	    transform: translateY(-15%);
	}
}

.big-home:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/home/a.svg),url(images/home/red.svg);
    background-position: center left,center left;
}



.scroll-home {
	position: absolute;
	bottom: -200px;
    background-color: #fff;
    background-image: url(images/icon/menu-toggle-desktop.svg);
    background-position: center;
    background-repeat: no-repeat;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    z-index: 2;
	cursor: pointer;
}
.claim-home {
position: absolute;
    right: 5%;
    max-width: 550px;
    top: 50%;
    z-index: 4;
    color: #fff;
    font-size: 1.8rem;
    line-height: 140%;
    font-weight: 400;
    text-align: right;
}
.claim-home h1 {
	font-size: 2.4rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}





/* ARTICOLO */
.page-header {
    position: relative;
    padding-left: 400px;
    width: 100%;
    min-height: 300px;
    margin-top: 40px;
    background-color: #7cbaaa;
    background-size: 320px;
    background-position: 60px center;
    background-repeat: no-repeat;
    color: #fff;
}
.page-single-header {
    background-position: right 50px center;
    padding-right: 300px;
    padding-left: inherit;
    background-size: 240px;
}
.header-notizie-share span {
    /* float: left; */
    display: inline-block;
    line-height: 25px;
    padding-right: 5px;
}
.header-txt {
    padding: 40px;
    color: #105e56;
}
.header-title {
	color: #fff;
	font-weight: bold;
	/*margin: 0;*/
}
.header-notizie-date {
	margin: 20px 0 0 0;
}
.header-notizie-date a {
	color: #fff;
}
@media (max-width: 991px) {
	.page-header {
		background-image: none !important;
	    padding: 0;
		text-align: center;
		min-height: auto;
		margin-top: 10px;
	}
}


.header-share {
	position: absolute;
	bottom: 20px;
	right: 50px;
	z-index: 1;
}
.header-share a {
	background-color: transparent !important;
}
.header-share a:hover {
	background-color: rgba(255,255,255,0.2) !important;
}

/* SINGLE TAGS */
.post-tags-title {
	text-transform: uppercase;
	color: #7dbaaa;
	font-weight: bold;
	font-size: 0.9em;
}
.post-tags li {
	display: inline-block;
	margin: 0 5px 5px 0;
	font-size: 0.9em;
}
.post-tags li a {
	display: block;
	text-decoration: underline;
}
.post-tags li a:hover {
}

.change-article span {
	display: block;
	text-transform: uppercase;
	color: #7dbaaa;
	font-weight: bold;
	font-size: 0.9em;
	margin-bottom: 20px;
}
.change-article a {
    font-size: 22px;
    line-height: 120%;
    font-weight: bold;
}




/* TITOLI SEZIONI */
.link-title {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
	letter-spacing: 1px;
	padding-top: 15px;
	padding-bottom: 15px;
	color: #7dbaaa;
}
.link-title a {
	color: #ee465a;
}




.notizie-wrap-img {
	width: 35%;
    min-height: 250px;
    display: block;
    background-size: cover;
    background-position: center;
    background-color: #eae9e1;
    background-image: url(images/placeholder.svg);
}
.notizie-wrap-img:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(238, 70, 90, 0);

	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	-o-transition: 0.5s ease-in-out;
	-ms-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}
.notizie-wrap-img:hover:after {
	background-color: rgba(16, 94, 86, 0.4);
}

.notizie-wrap-txt {
	width: 65%;
    background-color: #fff;
    padding: 30px;
}
.notizie-title a {
	font-size: 1.5rem;
	font-weight: 900;
    line-height: 1.4;
    color: #7dbaaa;
}
.notizie-title a:hover {
	color: #ee465a;
}
.notizie-date {
	font-size: 0.8em;
}

@media (max-width: 767px) {
	.notizie-wrap-img,
	.notizie-wrap-txt {
		width: 100%;
	}
	.notizie-wrap-txt {
		padding: 15px;
	}
}




/* SECTION */
.section-top {
    background-color: #0d5f56;
    width: 100%;
	padding: 30px 20px;
    margin-bottom: 20px;
    color: #fff;
}
.section-top-cosa {
	width: 50%;
    font-size: 1.4rem;
    font-weight: 600;
    color: #7dbaaa;
}
.section-top-link li a {
	color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.col-section {
	margin-bottom: 20px;
}
.section-txt {
    width: 70%;
    background-color: #fff;
    padding: 30px;
}
.section-img {
    width: 30%;
    min-height: 300px;
    background-color: #7dbaaa;
    padding: 30px;
}

@media (max-width: 767px) {
	.section-top-cosa,
	.section-top-link ul {
		width: 100%;
		text-align: center;
	}
	.section-txt,
	.section-img {
		width: 100%;
		min-height: 100px;
	}
}

@media (min-width: 767px) {
	.row-even .col-section:nth-child(even) {
	    -webkit-box-orient: horizontal !important;
	    -webkit-box-direction: reverse !important;
	    -ms-flex-direction: row-reverse !important;
	    flex-direction: row-reverse !important;
	}
}





/* ISCRIVITI */
.iscriviti-servizio {
	background-color: #7cbaaa;
	padding: 20px;
	width: 100%;
}
.iscriviti-servizio-img {
    width: 50%;
    min-height: 250px;
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.iscriviti-servizio-txt {

    color: #fff;
}
@media (min-width: 767px) {
  .iscriviti-servizio-txt {
      width: 40%;
  }
}
.iscriviti-servizio-txt h2{
	color: #fff;
	font-size: 2rem;
	text-transform: none;
}







/* SEDI */
.col-sede {
    position: relative;
    margin-bottom: 20px;
    padding: 30px;
}
.col-sede:before {
	content: '';
	position: absolute;
	height: 100%;
	background-color: #ffffff;
	top: 0;
	left: 10px;
	right: 10px;
	z-index: -1;
}
.col-sede p {
	font-size: 0.8em;
	margin-bottom: 10px;
}
.col-sede strong {
	text-transform: uppercase;
	color: #6b6a69;
}
.sede-title,
.sede-title a {
	color: #075c54;
    font-weight: bold;
    font-size: 24px !important;
    line-height: 120%;
}
.sede-title a:after {
	content: '';
    background-image: url(images/external-link.svg);
    background-size: contain;
    height: 18px;
    width: 18px;
    display: inline-block;
    margin-left: 10px;
}
a.external:after {
	content: '';
    background-image: url(images/external-link.svg);
    background-size: contain;
    height: 18px;
    width: 18px;
    display: inline-block;
    margin-left: 10px;
}




/* STORIA TIMELINE */
.row-timeline {}
.timeline-anno {
	position: relative;
	font-weight: bold;
	color: #17655b;
	text-align: center;
	padding-top: 5px;
}

.timeline-anno-end {
    height: 60px;
    border-right: 3px dotted #18665b;
}
.timeline-cosa {
	padding-bottom: 20px;
}
@media (min-width: 768px){
	.timeline-cosa {
	padding-left: 30px;
	}
	.timeline-anno:before {
		content: '';
		position: absolute;
		z-index: 4;
		top: 12px;
		right: -2px;
		width: 7px;
		height: 7px;
		border-radius: 50%;
		background-color: #70baab;

		-webkit-box-shadow: 0px 0px 0px 2px #fff;
	    -moz-box-shadow: 0px 0px 0px 2px #fff;
	    box-shadow: 0px 0px 0px 2px #fff;
	}
	.timeline-anno:after {
		content: '';
		position: absolute;
		top: 12px;
		right: 0;
	    bottom: -12px;
		width: 3px;
		background-color: #18665b;
	}
}




/* SINGLE */
.single-article {
    width: 70%;
    font-weight: 500;
}
.single-aside {
    width: 30%;
	   margin-left: 40px;
}
.single-aside div {
	margin-bottom: 24px;
}
.single-aside .side-title {
	color: #0d5f56;
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: bold;
  margin-top: 0;
}
.single-aside small {
	font-size: 0.9rem;
	color: #0d5f56;
}
.single-aside h3{
  margin-bottom: 6px;
}
.single-aside h3 a {
	color: #7dbaaa;
    font-weight: bold;
    display: block;
    font-size: 1.1rem;
    line-height: 140%;
}
.notizie-featured-img {
	width: 100%;
	height: 400px;
	background-size: cover;
	background-position: center;
    margin-bottom: 40px;
}
.aside-menu a{
  margin-bottom: 10px;
  display: block;
}
.aside-menu a.active{
  font-weight: bold;
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}



/* MAGAZINE */
.col-magazine {
	text-align: center;
	margin-bottom: 40px;
}
.magazine-img {
	background-color: #fff;
    height: 271px;
    width: 100%;
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #aaa;

    -webkit-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.4);
}
.magazine-title {
	margin: 10px 0 0 0;
}
.magazine-title a {
	font-weight: bold;
	color: #15635b;
}
.magazine-date {
	font-size: 13px;
    margin: 0;
}


/* DIRETTIVO */
.col-direttivo-title h2 {
	text-align: center;
	color: #666;
	text-transform: uppercase;
	margin: 0 0 20px 0;
}
.direttivo-box {
	text-align: center;
	margin-bottom: 30px;
}
.direttivo-img {
    margin: 20px auto;
    max-width: 240px;
    max-height: 240px;
    background-size: cover;
    border-radius: 50%;
    background-color: #f7f6f2;
}
.direttivo-nome {
	font-weight: bold;
	color: #075953;
}
.direttivo-ruolo {
	font-size: 0.9em;
}

.col-direttivo-title-left h2,
.direttivo-box-left {
	text-align: left;
}

.direttivo-box-left .direttivo-nome,
.direttivo-box-left .direttivo-ruolo {
	display: inline-block;
}


/* FOOTER */
.footer {
    /* position: absolute;
    bottom: 0; */
    font-size: 14px;
    margin-left: 50px;
}

.footer-right{
	margin-top: 20px;
}

.footer-right a,
.footer a {
	color: #999;
}
.footer-social {
	height: 25px;
}

.footer-right p {
	font-size: 87.5%;
}

.align-left {
	text-align: left;
}
.align-right {
	text-align: right;
}


/* 404 */
.page404 {
	text-align: center;
	font-size: 160px;
	line-height: 120%;
	font-weight: bold;
}
.page404 span {
	display: block;
	font-weight: bold;
	font-size: 40px;
	line-height: 140%;
}
.page404 small {
	font-size: 18px;
}


/* MD - meno di 1200px - tablet landscape */
@media (max-width: 1199px) {

}

/* SM - meno di 992px - tablet portrait */
@media (max-width: 991px) {
	.scroll-home {
		right: 0;
	}
}

/* XS - meno di 768px - smartphone */
@media (max-width: 767px) {

	.header-txt {
		padding: 15px;
	}
	.header-title {
		font-size: 2rem;
	}

	.aio-round,
	.bg-margin {
	    padding: 15px;
	}

	.single-aside,
	.single-article {
		width: 100%;
		margin: 0;
	}

}
