/*
Theme Name: Tema Betlemite Andria
Template: generatepress
Author: Child Theme Configurator
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 1.1652687172
Updated: 2022-05-16 07:46:12

*/




body {
--wp--preset--color--black: #263d85;
}


.wp-block-cover-image.is-light .wp-block-cover__inner-container,
.wp-block-cover.is-light .wp-block-cover__inner-container p {
	color: var(--wp--preset--color--black);}

 
.sidebar p span i,
body .entry-content p span i {
    margin-right: 10px;
}

/**************
COLORI
**************/

body H2,
body H3,
body H4 {
	COLOR: #496BA5
}


/**************
COLONNE CON DOCUMENTI
**************/

.wp-block-columns.colonne__con__documenti .wp-block-column {border: 1px solid lightgray;padding: 1%;}
.wp-block-columns.colonne__con__documenti .wp-block-file {background:white;}
.wp-block-columns.colonne__con__documenti .wp-block-file a {display: none;}
.wp-block-columns.colonne__con__documenti .wp-block-file a:first-child {display: none;}
.wp-block-columns.colonne__con__documenti .wp-block-file a.wp-block-file__button {display: inline-flex;}
.wp-block-columns.colonne__con__documenti h2 {font-size: 1.44rem;}
.wp-block-columns.colonne__con__documenti h2:before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background-image: url(https://istitutobetlemiteandria.it/gestione/wp-content/uploads/2022/05/allegato.svg);
    background-repeat: no-repeat;
    background-size: cover;
}


/**************
HOME
**************/

body.home.one-container .site-content {
    padding-top: 0;
}

div#home__banner a {color: white; text-decoration:none;}
div#home__banner h2 {
	FONT-SIZE: 1.7REM;margin: 0;
	 display: flex;
    flex-flow: column wrap;
    justify-content: center;
	min-height: 70px;
}

div#home__banner p.has-text-align-center {
    color: white;
    border-radius: 20px;
    max-width: 203px;
    margin: 0 auto 23px;
}
div#home__banner > .wp-block-cover__inner-container .wp-block-cover {
    border: 6px solid white;
    border-radius: 20px;
    box-shadow: 0px 0px 25px rgb(0 0 0 / 50%);
}
div#home__banner > .wp-block-cover__inner-container .wp-block-cover img.wp-block-cover__image-background {border-radius: 10px;}
div#home__banner > .wp-block-cover__inner-container .has-background-dim {border-radius: 20px;}

div#home__banner {min-height: 230px !important;}

div#home__banner > .wp-block-cover__inner-container .wp-block-cover {margin-bottom:0;}

@media (min-width:768px) {
	div#home__banner > .wp-block-cover__inner-container {top: -26px;position: absolute;}

}

.colonne__attivita .wp-block-image .aligncenter {width: 100%;margin: 0 auto;text-align: center;}
.colonne__attivita .wp-block-image .aligncenter figcaption {font-size: 1rem;text-align: center;font-weight: bold;}

/**************
COLLEGAMENTI TRA LE PAGINE
**************/
 
.no-sidebar .entry-content > .wp-block-columns.collegamenti__container {margin: 29px auto 0px;}

.page-id-120 .banner__page_id_120,  /* ISTITUTO */
.page-id-154 .banner__page_id_154, /* SCUOLA INFANZIA */
.page-id-122 .banner__page_id_122, /* ASILO */
.page-id-124 .banner__page_id_124  /* CENTRO DIURNO */  {display:none}

/**************
TABELLE
**************/

.wp-block-image.is-style-rounded figure img {
    border-radius: 33px;
    box-shadow: 0px 8px 11px #c1c1c1;
    margin-bottom: 25px;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {background-color: #e9f9ff;}

.wp-block-table.is-style-stripes tbody tr td:last-child {font-weight: bold;text-align: right;}

.wp-block-table.is-style-stripes tbody tr td {padding: 2% 3%;}

/**************
ELEMENTI
**************/

@media(max-width:768px) {
	.wp-block-file a {width:100%; margin-bottom: 8px;}
	.wp-block-file a.wp-block-file__button {max-width: 120px;}
	
}

.wp-block-file {BACKGROUND: #e9f9ff;PADDING: 3%;DISPLAY: FLEX;FLEX-FLOW: row WRAP;JUSTIFY-CONTENT: space-between;}
.wp-block-file a {
    max-width: 300px;
    align-items: center;
    line-height: 1;
	display: flex;
}

a.wp-block-file__button {BORDER-RADIUS: 0 !IMPORTANT;FONT-WEIGHT: BOLD;}
a.wp-block-file__button:BEFORE,
.wp-block-button.scarica__ora a.wp-block-button__link:before {CONTENT: "";BACKGROUND-IMAGE: URL('https://istitutobetlemiteandria.it/gestione/wp-content/uploads/2022/05/download.svg');WIDTH: 16PX;HEIGHT: 13PX;BACKGROUND-REPEAT: no-repeat;BACKGROUND-SIZE: CONTAIN;}

.wp-block-button.scarica__ora a.wp-block-button__link:before {
	DISPLAY: inline-block;
}
.wp-block-button.scarica__ora a,
.wp-block-file a {
    color: #496ba5;
    font-weight: bold;
    text-decoration: none;
}
.wp-block-file .wp-block-file__button, 
body .wp-block-button.scarica__ora a {
	DISPLAY: FLEX;BACKGROUND: WHITE;COLOR: #00124e;
	border: 2px solid #adadad;
    border-radius: 5px !important;
	padding: 3% 5%;
}

.wp-block-button.scarica__ora a {
    min-width: 130px;
    justify-content: center;
    align-items: center;
}

.wp-block-file a.wp-block-file__button {margin-left: 0;}

.wp-block-button.scarica__ora a:hover,
.wp-block-file a.wp-block-file__button:HOVER {color: #ff7a3d; background-color:white;	border: 2px solid #ff7a3d;}


.wp-block-file a.wp-block-button__link.has-accent-background-color.has-background {color: white;}

.wp-block-button .wp-block-button__link:hover {
    background: #ff5000; color:white;
}

.collegamenti__container .wp-block-button__link:active,
.collegamenti__container .wp-block-button__link:focus,
.collegamenti__container .wp-block-button__link:hover,
.collegamenti__container .wp-block-button__link:visited {
    color: #496ba5;
}

.wp-block-file a.wp-block-file__button:active,
.wp-block-file a.wp-block-file__button:focus,
.wp-block-file a.wp-block-file__button:visited{color: #00124e;}

/**************
LAYOUT
**************/

.wp-container-4.wp-block-column.is-vertically-aligned-top.has-base-background-color.has-background {
    padding: 3%;
}

.entry-content > *:not(.wp-block-cover) {
    max-width: 800px;
    margin: 20px auto;
}


.page-id-132 .entry-content > .wp-block-query {max-width: 100%;}


/*
.entry-content > .wp-block-query {max-width: 100%;}
*/
.single-progetti div#primary {width: 100% !important;}

.entry-content > figure.wp-block-gallery.has-nested-images {max-width: 100%;}


figure.alignleft.size-full {
    margin: 0.5em 3em 0.5em 0;
}
.page-hero .inside-page-hero {
    max-width: 645px;
}

.page .featured-image.page-header-image {
    display: none;
}

BODY * {BOX-SIZING: border-box;}
a:hover {opacity: .8;text-decoration: none;}

.no-sidebar .entry-content .alignfull {max-width: 99.3vw;}
.no-sidebar .entry-content > .wp-block-columns {max-width: 1074px;margin: 0 auto 15px;}
.no-sidebar .entry-content .alignfull .wp-block-columns { margin: 0 auto 15px;}

.no-sidebar .entry-content .alignfull .wp-block-columns,
.no-sidebar .entry-content .alignfull .wp-block-cover__inner-container {max-width: 1180px;}


body .wp-block-cover-image.is-light .wp-block-cover__inner-container,
body .wp-block-cover.is-light .wp-block-cover__inner-container {
    color: #263d95;
}

.no-sidebar .entry-content .alignfull .wp-block-columns.alignfull {max-width: 100%;}

.no-sidebar .entry-content .alignfull .wp-block-columns .wp-block-column {PADDING: 16PX;}


/**************
FONT E TESTI
**************/

@media (min-width:1440px) {
	
	body p,
	body ul li,
	body .wp-block-file .wp-block-file__button,
	body .wp-block-button.scarica__ora a,
	body .wp-block-file a {font-size:17.5px}
	
}


H1, h2, H3  {
    font-family: 'Akshar', sans-serif;
    font-weight: 600;
}

.main-navigation .main-nav ul li a {
    font-weight: bold;
    text-transform: uppercase;
}
i.fa-regular {
    font-family: 'Font Awesome 5 Free';
    color: #1d2327;
    font-style: normal;
}




/**************
CTA - BOTTONE LINK INTERNI
**************/

a.wp-block-button__link.has-global-color-9-background-color.has-background {
    font-family: 'Akshar', sans-serif;
    font-weight: bold;
    min-width: 60%;
    padding: 2%;
}


/**************
FOOTER CTA
**************/

.prefooter__iscrizioni h2 {
    margin: 0 auto 10px;
    max-width: 600px;
}

.prefooter__iscrizioni {
    max-width: 820px;
    margin: 20px auto;
}

.prefooter__iscrizioni .wp-block-button.is-style-fill a {
    background: #ff7a3d;
}

/**************
FOOTER
**************/

@media(min-width:768px) {

	body .inside-footer-widgets {padding: 25px;}
}

div#footer-widgets {z-index: 2;position: relative;background: transparent;}

#footer-widgets ul li A {
    TEXT-DECORATION: NONE;
}

#footer-widgets ul li A:hover {
    text-decoration: underline;
}
.inside-footer-widgets {color: white;}


.site-footer {background: #496ba5;}

.site-footer:before {
    content: "";
    width: 100%;
    height: 65px;
    background: #496ba5;
	background-size: cover;
    background-image: url(https://istitutobetlemiteandria.it/gestione/wp-content/uploads/2022/05/footer__top.svg);
    display: block;
	background-position: bottom center;
}

 
.copyright-bar {
    position: relative;
    height: 37px;
    border-top: 2px solid #ededed;
}

.loghi__footer__container {
	display: flex;max-width: 804px;flex-flow: row nowrap;float: right;position: absolute;right: 0;
	top: -120px;
    z-index: 3;
}

/***************
FOOTER DESKTOP
*****************/

@media(min-width:768px) {

	footer.site-info:before {
		content: "";
		width: 100%;
		height: 110px;
		background-size: cover;
		background-position: top center;
		background-image: url(https://istitutobetlemiteandria.it/gestione/wp-content/uploads/2022/05/footer__bottom.svg);
		display: block;
		position: relative;
		top: -75px;
	}
	
	.site-footer .footer-widgets-container .inside-footer-widgets {padding-bottom: 3vh;}
	body .prefooter__iscrizioni__button__container {justify-content: end;}	
	body .prefooter__iscrizioni__button__container .wp-block-buttons {float: right;}
	
}

/***************
FOOTER MOBILE
*****************/

@media(max-width:768px) {
	
	body .prefooter__iscrizioni,
	.prefooter__iscrizioni div {
		text-align: center;
		justify-content: center;
		align-items: center;
		display: flex;
	}
		
	body footer.site-info {padding: 0;}
	body footer.site-info .inside-site-info {padding: 0 15px;}

	body .loghi__footer__container {top:0;width: 100%;display: flex;float: none;position: relative;flex-flow: row wrap;}
	body .loghi__footer__container a.loghi__footer {width: 50%;}
	body .loghi__footer__container a.loghi__footer:last-child {width: 100%;}
	body .copyright-bar span {display: block;background: #eff1f5;}

	.site-footer .footer-widgets-container .inside-footer-widgets {PADDING: 10PX 25PX 30PX;}
	
}

/**************
LOOP GENERICO
**************/

.wp-block-post-date {font-size: .8rem;}
li.wp-block-post.progetti .wp-block-post-date,
li.wp-block-post.galleria .wp-block-post-date {
    display: none;
}

/**************
LOOP sidebar
**************/

.inside-right-sidebar a.wp-block-latest-posts__post-title {color: #0376c3;}

.inside-right-sidebar H2 {FONT-SIZE: 1.5REM;}

.inside-right-sidebar .wp-block-latest-posts__featured-image.alignleft a {
    width: 70px;
    display: block;
    font-weight: bold;
}

.inside-right-sidebar a.wp-block-latest-posts__post-title {
    font-weight: bold;
    text-decoration: none;
    display: block;
}

.inside-right-sidebar .wp-block-latest-posts.wp-block-latest-posts__list li {display: flex;margin-bottom: 20px;border-bottom: 2px solid #cfe2e9;margin-top: 13px;align-items: center;/* flex-flow: row wrap; */}

.inside-right-sidebar a.wp-block-latest-posts__post-title {width: 70%;}

/*
.inside-right-sidebar .wp-block-latest-posts__featured-image.alignleft {margin-right: .3em;}
*/
/**************
POST  - LOOP
**************/

.wp-block-post.type-post .wp-block-post-date {display: none;}
.comments-area {
    DISPLAY: NONE;
}

/**************
ARTICOLO  - SINGLE
**************/

.single-post footer.entry-meta {
    BACKGROUND: #e9f9ff;
    DISPLAY: block;
    PADDING: 1.5EM;
    TEXT-DECORATION: NONE;
}

.single-post span.cat-links {
    MARGIN-BOTTOM: 20PX;
}

.single-post nav#nav-below {
    DISPLAY: FLEX;
    FLEX-FLOW: row WRAP;
    JUSTIFY-CONTENT: space-between;
}

.single-post footer.entry-meta A {
    TEXT-DECORATION: NONE;
}

.single-post footer.entry-meta A {
    DISPLAY: inline-block;
}

.single-post span.cat-links a {
    color: #496ba5;
}



.single-post h1.entry-title {
    max-width: 500px;
}

.single-post header.entry-header {
    BACKGROUND: #496ba5;
    COLOR: WHITE;
    PADDING: 1EM;
    DISPLAY: FLEX;
    FLEX-FLOW: ROW WRAP;
    ALIGN-ITEMS: flex-end;
    JUSTIFY-CONTENT: space-between;
}

.single-post .entry-meta {
    BACKGROUND: #e9f9ff;
    COLOR: #496ba5;
    PADDING: 7PX;
    FONT-WEIGHT: BOLD;
}
.sidebar .widget:not(:last-child) {
    margin-bottom: 0;
}

/**************
PROGETTI  - LOOP
**************/

.wp-block-post.progetti a.wp-block-read-more {
    background: transparent;
    width: 100%;
    height: 197px;
    font-size: 0;
	transition: .4s;
}

.wp-block-post.progetti:hover span {
	background: #0099ff !important;
    opacity: .3 !important;
    transition: .7s;
}

li.wp-block-post.progetti .wp-block-post-date,
li.wp-block-post.galleria .wp-block-post-date {
    position: absolute;
    background: white;
    bottom: 111px;
    z-index: 9;
    padding: 0px 12px;
    font-weight: bold;
}

li.wp-block-post.progetti,
li.wp-block-post.galleria {
    position: relative;
}

li.wp-block-post.progetti H2 a {
    COLOR: WHITE !IMPORTANT;
    text-shadow: 1px 1px black;
}

.tag-attivita .wp-container-4.wp-block-query {
    width: 100%;
    max-width: unset;
}

/**************
PROGETTI  - SINGLE
**************/


.single-progetti .page-hero {
    background: #e9f7f6;
    padding-top: 24px;
}
.single-progetti .featured-image {display: none;}

.single-progetti .inside-right-sidebar {
    display: none;
}

.single-progetti div#primary {
    margin: 0 auto;
    float: none;
}

.single-progetti .page-hero .inside-page-hero h1 {
    width: 65%;
    MAX-WIDTH: UNSET;
    margin: 0 auto 20px;
}

/**************
PAGINE - LOOP
**************/

.wp-block-post-template H2 a {
   font-size: 1.4rem;
}

li.wp-block-post.page {
    BACKGROUND: #ccefff;
    PADDING: 20PX;border-radius: 20px;
	    min-height: 200px;
    justify-content: center;
    display: flex;
    flex-flow: column wrap;
}

li.wp-block-post.page .wp-block-read-more {
    display: block;
    background: #496ba5;
    color: white;
    border-radius: 17px;
    padding: 10px 17px;
    font-size: .9rem;
}

/**************
POST - LOOP
**************/

.wp-block-post-featured-image img {object-fit: cover;height: 140px;width: 100%;background-color: #ff7a3d;}
.wp-block-post-featured-image {background-color: #ff7a3d; margin-bottom: 17px; }

.wp-block-post-template a {color: #213566;text-decoration: none;font-size: 1.2rem;line-height: 1.3;}
.wp-block-post-template a:hover {color: #ff7a3d;}

a.read-more {display: block;color: #ff7a3d;text-decoration: underline;font-size: 1rem;padding: 8px 8px 0px 0;}
a.read-more:after {content: " >";}

p.wp-block-post-excerpt__excerpt {font-size: .9rem;}


/*** BORDI ARROTONDATI ***/

body .container__rotondo,
.wp-block-post-featured-image {border-radius: 20px;}

body .container__rotondo {min-height: 275px;}
.container__rotondo span.has-background-dim {border-radius: 24px;}
.wp-block-post-featured-image img {text-align: center; border-radius: 15px;}

/**************
POST - SINGLE
**************/


nav.rank-math-breadcrumb > p  > a {
    font-weight: bold;
    text-decoration: none;
}


/**************
FORM - MODULI DI CONTATTO
**************/


input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="tel"],input[type="number"],textarea, select
{background: #e9f9ff; border: 2px solid #dde7ef;}

input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="number"]:focus,textarea:focus, select:focus
{background: #e9f9ff;border: 2px solid #0099ff;}