/*
CTC Separate Stylesheet
Updated: 2023-03-02 09:45:29
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/**** GENERAL STYLES ****/
.white{
    color:white!important;
}
.white-bg{
    background-color:white!important;
}
.black{
    color:black!important;
}
.black-bg{
    background-color:black!important;
}
.red-bg {
    background-color: #cc0000 !important;
}
.red {
    color: #cc0000 !important;
}
.light{
    font-weight: 300!important;
}
.bold{
    font-weight: 700!important;
}

.video-container {
    width: 100%;
    height: 100vh;
    position: relative;
	display: flex;
	justify-content: center;
  	flex-direction: column;
}

.video-container video {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 0;
}

.overlay{
	opacity: 0.25;
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
	left: 0;
	background: #212121;
}
.overlay-gradient{
    opacity: 0.4;
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
	left: 0;
	background: linear-gradient(0deg, #232323 30%, transparent 100%);
}
.av-center{
	display: flex!important;
    justify-content: center;
    flex-direction: column;
}
.av-bottom{
	display: flex!important;
    justify-content: end;
    flex-direction: column;
}
.photo-bg{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.imgborderrounded, .borderrounded{
    border-radius: 15px;
}
.borderrounded-left{
    border-radius: 15px 0 0 15px;
}
.borderrounded-right{
    border-radius: 0 15px 15px 0;
}

.copertina{
	background-size:cover; 
	background-position:center; 
	background-repeat:no-repeat; 
	height:400px;
}

.splide__arrow--next{
    background: rgba(0,0,0,0.3) url('/wp-content/plugins/slide-anything/images/icon_next.png') no-repeat center center !important;
    width: 30px!important;
    height: 40px!important;
    border-radius: 0!important;
}
.splide__arrow--prev{
    background: rgba(0,0,0,0.3) url('/wp-content/plugins/slide-anything/images/icon_prev.png') no-repeat center center !important;
    width: 30px!important;
    height: 40px!important;
    border-radius: 0!important;
}
.splide__arrow svg{
    display: none;
}




/**** SPECIFIC STYLES ****/

body,
html {
    font-family: "Roboto", sans-serif;
    color: #383838;
    font-size: 18px;
}
.negative *{
    color:white!important;
}



a{
    color: #CC0000;
    text-decoration: none;
}

.sa_hover_container a:hover{
    text-decoration: underline;
}

#navigation .logotype{
    content: url("/wp-content/themes/EGPbs5-child/images/helpaids.svg");
    width: 140px;
}
#navigation{
	background: white;
	height: 100px;
}
#main-content{
    margin-top: 140px;
    min-height: 300px;
    padding-bottom: 50px;
}

.navbar-nav li{
	padding: 6px 12px;
    font-size: 16px;
}
#mega-menu-wrap-header #mega-menu-header > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link{
    line-height: 22px;
}
/*
.navbar-nav li:not(:last-child):after{
    content:"|";
    color: #CC0000;
    position: relative;
    left: 12px;
}
*/
#navigation .navbar-nav li a{
    font-family: 'Roboto', sans-serif;
	color: #333333;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
#navigation .navbar-nav li.current_page_item a{
	color: #CC0000;
}
#mg-wprm-wrap li.menu-item a {
    padding: 13px 40px 13px 14px;
}

.intestazione h1, .intestazione .title{
    font-size: 48px;
    line-height: 54px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
}
.sliderimg{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 600px;
    border-radius: 300px 0 0 300px;
}
.sottotitolo{
    font-family: Roboto;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

h1, .tpl-title{
    font-size: 50px;
    margin-bottom: 30px;
    line-height: 56px;
    font-weight: 700;
}
h2{
    font-size: 38px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #CC0000;
}
h3{
    font-size: 28px;
    font-weight: 700;
}
h4{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.mds-icon{
    position: relative;
    margin-top: -15px;
}

.maincolor, .blu{
    color: #CC0000!important;
}
.maincolor-bg, .blu-bg{
    background-color: #CC0000!important;
}
.pink-bg{
    background-color: #FAD4D4!important;
}
.grey-bg{
    background-color: #F6F6F7!important;
}

.main-button{
    font-family: 'Roboto', sans-serif;
    border-radius: 100px;
    border: solid 1px #CC0000!important;
    background-color: white!important;
    color: #CC0000!important;
    padding: 7px 21px;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    min-width: 220px;
    display: inline-table;
    text-align: center;
}
.main-button.red-bg.white {
    background-color: #cc0000 !important;
    color: #fff !important;
}
.main-button.small{
    font-size: 1rem;
    padding: 5px 20px;
}
.main-button:hover, .main-button:active{
    border: solid 1px #CC0000!important;
    background-color: #CC0000!important;
    color: white!important;
}
.main-button.red-bg.white:hover, .main-button.red-bg.white:active {
    background-color: #fff !important;
    color: #cc0000 !important;
    border: solid 1px #CC0000!important;
}

.text-bottom-over{
    position: absolute;
    bottom: 0;
}

.small p{
    margin-bottom:0;
}

.colonna_title{}
.colonna_text{}

.colonna_title h2.number{
    font-size: 3.5rem;
    font-weight: 900;
}

.colonna_title span{
    position: relative;
    text-transform: uppercase;
    min-height: 5px;
    display: block;
}
.bordertop{
    border-top: 1px solid #CC0000;
}
.borderbottom{
    border-bottom: 1px solid #CC0000;
}
.borderend{
    border-right: 1px solid #CC0000;
}
.borderstart{
    border-left: 1px solid #CC0000;
}

.flagged:before{
    content:'';
    width: 100px;
    height: 5px;
    background-color: #CC0000;
    display: block;
}

.titolo-sezione{
    font-size: 38px;
}
.sottotitolo-sezione{
    font-size: 30px;
}

.testo-sezione-sx{
    text-align: left;
    margin-right: 15%;
}
.testo-sezione-dx{
    text-align: right;
    margin-left: 15%;
}
.wpcf7-form label, .wpcf7-form .form-control{
    width: 100%;
    max-width: 100%;
}
.wpcf7-list-item{
    display: block;
    margin:5px 10px;
}
.form-control{
	padding: 2px 20px;
	border-radius: 100px;
	border: 1px solid #CC0000;
	background-color: white;
	font-family: Roboto;
	font-size: 18px;
    width:100%;
	color: #CC0000;
    max-width: 150px;
}
textarea.form-control {
    border-radius: 20px;
}
.card-form {
	border-radius: 15px;
	border: 1px solid rgba(0, 120, 179, 0.30);
	background-color: white;
	font-family: Roboto;
	font-size: 18px;
    height: 100%;
}

.newsphoto-aggr{
    width:100%;
    min-height: 280px;
    background-position: center;
    background-repeat: no-repeat;
}

th{
    background-color: #0079bc!important;
    color: #ffffff!important;
}

th, td{
    padding: 3px 6px;
}
.shadowed{
    filter: drop-shadow(0px 16px 16px rgba(0,0,0,.3));
    -webkit-filter: drop-shadow(0px 16px 16px rgba(0,0,0,.3));
}


#galleryCarousel .carousel-indicators, #galleryCarouselMobile .carousel-indicators {
    left: 0;
    top: auto;
    bottom: -40px;
}
#galleryCarousel .carousel-indicators li, #galleryCarouselMobile .carousel-indicators li, .galleryModalCarousel .carousel-indicators li {
    background: #a3a3a3;
    box-sizing: inherit;
    border-radius: 50%;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    width: 12px;
    height: 12px;
}
#galleryCarousel .carousel-indicators .active, #galleryCarouselMobile .carousel-indicators .active, .galleryModalCarousel .carousel-indicators .active {
    background: #707070;
}
#galleryCarousel .carousel-control-prev, #galleryCarousel .carousel-control-next, #galleryCarouselMobile .carousel-control-prev, #galleryCarouselMobile .carousel-control-next, .galleryModalCarousel .carousel-control-prev, .galleryModalCarousel .carousel-control-next {
    width: 35px;
}
#galleryCarousel .carousel-control-prev-icon, #galleryCarousel .carousel-control-next-icon, #galleryCarouselMobile .carousel-control-prev-icon, #galleryCarouselMobile .carousel-control-next-icon, .galleryModalCarousel .carousel-control-prev-icon, .galleryModalCarousel .carousel-control-next-icon {
    background-color: black;
    width: 20px;
    height: 30px;
}
#galleryCarousel .carousel-item {
    height: 280px;
}
#galleryCarousel .carousel-item .gallery-col-md {
    margin: auto 0px;
}
#galleryCarousel .carousel-item img {
    cursor: pointer;
    max-width: 100%;
}
.gallery-modal img {
    min-width: 200px;
}
#galleryCarouselMobile .carousel-inner {
    width: 80%;
    margin: 0px auto;
}
#galleryCarouselMobile .carousel-inner p {
    font-size:14px!important;
    margin:10px!important;
    line-height:normal!important;
}
#galleryCarousel .carousel-inner p {
    font-size:14px!important;
    margin:10px!important;
    line-height:normal!important;
}
.galleryModalCarousel {
    position: fixed!important;
}

.col-box{
    display: flex;
    padding: 18px 10px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: white;
    border-radius: 4px;
    min-width: 120px;
    max-width: 180px;
    width:15%;
    margin: 6px;
}

#btnfiltersbmt{
    border-radius: 50px;
    padding: 5px 10px;
}

.photocard{
    border-radius: 15px;
    background-color: white;
    height: 100%;
}
.photocard img{
    border-radius: 15px;
}

.photocard-title{
    color: #CC0000;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.photocard-text{
    color: #333333;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.photocard-link{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.plaincard{
    background-color: white;
    border: 2px solid #F6F6F7;
    padding: 20px;
    border-radius: 4px;
}
.plaincard a, .plaincard a > i{
    color:#CC0000!important;
}
.boxes{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-position: center;
    background-size: cover;
}
.square:before{
    content: "";
    display: block;
    padding-top: 100%;  /* initial ratio of 1:1*/
}
#menu-footermenu li{
    margin-right: 30px;
}
footer{
    background-color: #CC0000;
    color: white;
    font-size:20px;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
}
footer a{
    color: white;
}
footer a:hover{
    color: white;
    text-decoration: underline;
}


pre{
	background-color:#F6F6F7;
	border:1px solid #f2f3f4;
	padding: 5px 10px;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #cccccc;
    border-color: #cccccc;
}

.page-link {
    color: #6C6C6C;
    background-color: #fff;
}

.owl-prev, .splide__arrow--prev{
    left: -30px!important;
}
.owl-next, .splide__arrow--next{
    right: -30px!important;
}

pre{
    background-color: #0070C6;
    color: white;
}

.carousel-control-next, .carousel-control-prev{
    width: auto;
}
.carousel-control-prev-icon, .carousel-control-next-icon{
    background-color: rgba(0,0,0,0.5)!important;
    padding-top: 4px;
    padding-bottom: 4px;
}

.vyt{
    max-width:800px;
    height:450px!important;
}
#search-form-alt{
    margin-left: 60px;
}
a.viewLink.viewLinkIMG img{
    display: none!important;
}

.carousel-caption{
    right: 0; 
    bottom: 0;
    left: 0;
    color:#333333;
    background-color: rgba(255,255,255,0.9);
}
.carousel-control-next, .carousel-control-prev{
    bottom:auto;
    top:50%;
    background-color: white;
    padding: 8px;
    opacity: 1;
}
.carousel-control-next{
    border-radius: 50% 0 0 50%;
}
.carousel-control-prev{
    border-radius: 0 50% 50% 0;
}
.carousel-control-prev-icon, .carousel-control-next-icon{
    background-color: #CC0000!important;;
    border-radius: 50%;
}
.carousel-indicators [data-bs-target]{
    width: 14px;
    height: 14px;
    border-radius: 7px;
    background-color: white;
    opacity: 1;
}
.carousel-indicators .active{
    background-color:#CC0000;
}



@media (max-width:1300px){
    #search-form-alt{
        margin-right: 40px;
    }
}
@media (max-width:991px){
    .borderrounded-left,.borderrounded-right{
        border-radius: 15px;
    }
}

@media (max-width:767px){
    .testo-sezione-sx, .testo-sezione-dx{
        position: relative;
        text-align: left;
        margin-left: 0;
    }
	.intestazione h1, .intestazione .title{
		font-size: 42px;
	}
	.single .copertina{
		min-height:600px;
	}
    .bc{
        display: none;
    }
}

@media (max-width:575px){
	.intestazione h1, .intestazione .title{
		font-size: 34px;
		width: 90%;
		margin-left: 5%;
	}
	.col-box{
		min-width: 28%;
	}
	.form-control{
		max-width: 100%;
	}
    .vyt{
        height:300px!important;
    }
    #search-form-alt{
        display: none;
    }
}

.head-fixed {
	background: #cc0000;
	padding: 5px 0 6px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}
.head-fixed a {
	color: #fff;
	font-size: 15px;
}
nav#navigation {
    top: 37px;
}
.wprmenu_bar #custom_menu_icon.hamburger {
    top: 62px !important;
}

.footer-logos img {
    max-width: 100%;
}

.page-home .rounded-circle {
    height: 300px;
    width: 300px;
}
@media (min-width: 500px) {
    .page-home .rounded-circle {
        height: 400px;
        width: 400px;
    }
}
.page-home .date-author,
.page-home .upd-date {
    display: none;
}
.page-home img.borderrounded {
    max-height: 300px;
    object-fit: contain;
}
.page-home .photocard img {
    height: 180px;
}
.page-home .photocard-text p {
    min-height: 60px;
}

.page-chiedi-all-esperto .white-bg.default .p-md-5 {
    padding: 0 !important
}
.page-chiedi-all-esperto .pink-bg.aos-animate {
    background: #fff !important;
}

.pagination {
    margin-top: 10px;
}
.pagination span, .pagination a {
    margin-right: 10px;
}