
:root{
	--red:#DA0000;
}
/* ---------------- RESTYLING -------------------- */
/* generiche */
.main_color a{
    color:var(--red);
}
.no-bg:after{
    display: none;
}
#top .avia-font-entypo-fontello, 
body .avia-font-entypo-fontello, 
html body [data-av_iconfont='entypo-fontello']:before,
#top .avia-font-fontello,
#top [data-av_iconfont='avia-fontello']{
    color:var(--red);
}
.main_color .iconlist_icon.avia-font-entypo-fontello,
.main_color .iconlist_icon.avia-font-fontello{
    background: none !important;
    border: 0 !important;
}
.iconlist_icon.avia-font-entypo-fontello span.iconlist-char[data-av_icon=""] {
    background-color: transparent !important;
    border: 0 !important;
    background-image: url(/wp-content/themes/torino-wireless/includes/img/check.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 50px;
    height: 50px;
    margin-right: 50px;
    display: block;
}
.iconlist_icon.avia-font-entypo-fontello span.iconlist-char[data-av_icon=""]:before {
    display: none;
}
small {
    font-size: 10px;
    display: block;
    line-height: normal;
    color: #959595;
}
#top .wpcf7-form label {
    font-weight: normal;
    color: #959595;
}

#top .wpcf7-form label input {
    border: 0;
    border-radius: 0;
    background-color: #f5f5f5;
}
.bold-black strong,.bold-black b{
    font-weight: normal;
    color: black;
}
.main_color{
    color:#707070;
}
body div .avia-button.avia-size-large {
    background-color: #da0000;
    border-color: #da0000;
    color: #ffffff;
    border-radius: 0;
    padding: 10px 20px 10px;
}
.special_amp {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
    font-style: inherit;
}
.avia-button-wrap .avia-button.avia-size-large {
    font-size: 14px;
    text-transform: uppercase;
}

#top .main_color .avia-color-theme-color,.main_color input[type='submit'] {
    background-color: var(--red);
    text-transform: uppercase;
    padding: 10px 20px 10px;
    min-width: 150px;
    border-radius: 0;
}
/* header */
.responsive #top .logo{
    max-width: 50%;
}
#header_main{
    background-color: #E3E3E3;
}
header ul#avia-menu > li > a > span {
    font-size: 12px;
    font-weight: normal;
    color: black;
}
.header_color .primary-background, .header_color .primary-background a, div .header_color .button, .header_color #submit, .header_color input[type='submit'], .header_color .small-preview:hover, .header_color .avia-menu-fx, .header_color .avia-menu-fx .avia-arrow, .header_color.iconbox_top .iconbox_icon, .header_color .iconbox_top a.iconbox_icon:hover, .header_color .avia-data-table th.avia-highlight-col, .header_color .avia-color-theme-color, .header_color .avia-color-theme-color:hover, .header_color .image-overlay .image-overlay-inside:before, .header_color .comment-count, .header_color .av_dropcap2, .header_color .av-colored-style .av-countdown-cell-inner, .responsive #top .header_color .av-open-submenu.av-subnav-menu > li > a:hover, #top .header_color .av-open-submenu.av-subnav-menu li > ul a:hover{
	background-color: transparent;
	border-color: transparent;
}
header ul#avia-menu > li.current-menu-item >a> .avia-menu-text {
    color: #DA0000;
}
header ul#avia-menu > li.current-menu-item >a>  .avia-menu-fx{
	display: none;
}
header .logo img {
    display: inline-block;
    vertical-align: middle;
    max-height: 85% !important;
}
div#header_main {
    padding: 10px 0;
}
.html_header_top.html_header_topbar_active.html_header_sticky #top #main {
    padding-top: 110px;
}

li.av-language-switch-item.avia_current_lang a {
    padding-left: 20px;
    padding-right: 0;
}

li.av-language-switch-item.avia_current_lang a:after {
    width: 1px;
    content: "";
    height: 15px;
    background-color: black;
    display: inline-block;
    margin-left: 12px;
    vertical-align: middle;
    margin-top: -3px;
}

/* FOOTER */
#the_social_links-2 .tsl-default {
    background-color: transparent;
    background-position: cover;
    background-repeat: no-repeat;

}

#the_social_links-2 .tsl-default i {
    display: none;
}
#the_social_links-2 .tsl-linkedin{
	background-image: url(/wp-content/themes/torino-wireless/includes/img/in.png);
	
}
#the_social_links-2 .tsl-facebook{
	background-image: url(/wp-content/themes/torino-wireless/includes/img/fb.png);
	
}
#the_social_links-2 .tsl-twitter{
	background-image: url(/wp-content/themes/torino-wireless/includes/img/tw.png);
	
}
#the_social_links-2 .tsl-youtube{
	background-image: url(/wp-content/themes/torino-wireless/includes/img/yt.png);
	
}
#the_social_links-2 .tsl-default {
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    background-position: center center;
    margin-right: 20px;
}
footer#socket,div#footer {
    background-color: transparent;
    border-top: 0;
    font-size: 15px;
    background-image: none;
}
footer#socket,
.socket_color a{
    color: #959595;
}
.footer_color a {
    color: #707070;
}

#text-4 h3.widgettitle {
    color: #DA0000;
    text-transform: capitalize;
    width: 180px;
    font-size: 20px;
    font-weight: normal;
}
body.open_sans,h1, h2, h3, h4, h5, h6, #top .title_container .main-title, tr.pricing-row td, #top .portfolio-title, .callout .content-area, .avia-big-box .avia-innerbox, .av-special-font, .av-current-sort-title, .html_elegant-blog #top .minor-meta, #av-burger-menu-ul li{
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}
#text-4 p,#text-4 a {
    color: #707070;
    font-size: 16px;
    line-height: normal;
}


#nav_menu-3.widget a {
    font-size: 18px;
    line-height: initial;
}

#the_social_links-2 h3.widgettitle, #text-8 h3.widgettitle {
    color: black;
    text-transform: capitalize;
    font-weight: normal;
}

#text-8 .avia-color-theme-color {
    background-color: transparent;
    padding-left: 5px;
}

#text-8 .avia-color-theme-color .avia_button_icon {
    margin-right: 10px;
}
a#scroll-top-link {
    background-color: transparent;
    border: 0;
    color: red;
}

a#scroll-top-link:before {
    color: red;
    font-size: 26px;
}
.footer-wrapper:before {
    width: 100%;
    background-image: url(/wp-content/themes/torino-wireless/includes/img/hover-footer.png);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100$;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;
    pointer-events: none;
}
.footer-wrapper:after {
    width: 100%;
    background-image: url(/wp-content/themes/torino-wireless/includes/img/hover-footer-after.png);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100$;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100%;
    pointer-events: none;
}
.footer-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    background-color: #E5E5E5;
}

.footer-wrapper > div, .footer-wrapper > footer {
    z-index: 2;
    position: relative;
}

/* HOME */
h2.av-special-heading-tag {
    color: var(--red);
    font-size: 40px;
}
.main_color .av-magazine-time {
    color: var(--red);
    font-size: 12px !important;
    line-height: initial;
}

h3.av-magazine-title.entry-title a {
    font-weight: normal !important;
    font-size: 23px;
}

.av-magazine-hero h3.av-magazine-title.entry-title a {
    font-size: 30px;
}

.av-magazine-hero .av-magazine-content {
    font-size: 23px;
    line-height: initial;
}

.av-magazine-hero.first.flex_column.av_one_half {
	width: 40%;
    padding-right: 20px;
}

.av-magazine-sideshow.flex_column.av_one_half {
    width: 60%;
    padding-left: 20px;
    margin: 0;
}

.main_color .av-sort-by-term a {
    text-transform: uppercase;
    font-size: 12px;
}
.av-magazine-hero-left .av-magazine-top-bar{
	border:0;
}
#after_section_2 .fullsize .content .entry-content-wrapper {
    padding-right: 0;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}
#top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-title {
    font-size: 22px;
    font-weight: normal;
}
#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: 1;
}
#top .av-caption-style-overlay .av-masonry-item-with-image:nth-child(2) .av-inner-masonry-content:after,
#top .av-caption-style-overlay .av-masonry-item-with-image:nth-child(6) .av-inner-masonry-content:after{
    background-image: url(/wp-content/themes/torino-wireless/includes/img/hover-block1.png);
}
#top .av-caption-style-overlay .av-masonry-item-with-image:nth-child(3) .av-inner-masonry-content:after,
#top .av-caption-style-overlay .av-masonry-item-with-image:nth-child(7) .av-inner-masonry-content:after{
    background-image: url(/wp-content/themes/torino-wireless/includes/img/hover-block2.png);
}
#top .av-caption-style-overlay .av-masonry-item-with-image:nth-child(4) .av-inner-masonry-content:after,
#top .av-caption-style-overlay .av-masonry-item-with-image:nth-child(8) .av-inner-masonry-content:after{
    background-image: url(/wp-content/themes/torino-wireless/includes/img/hover-block3.png);
}
#top .av-caption-style-overlay .av-masonry-item-with-image:nth-child(5) .av-inner-masonry-content:after,
#top .av-caption-style-overlay .av-masonry-item-with-image:nth-child(9) .av-inner-masonry-content:after{
    background-image: url(/wp-content/themes/torino-wireless/includes/img/hover-block4.png);
}
#top .av-fixed-size .av-masonry-entry.av-masonry-item-no-image .av-inner-masonry-content-pos, #top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content-pos{
    width:100%;
}
#section_europe{
    background-size: cover;
}
#section_europe p{
    color:black;
}
#av_section_4 .grid-content {
    background-color: #E5E5E5 !important;
    padding: 12px;
    /* width: 100%; */
}

#av_section_4 .grid-content a {
    color: #707070;
    text-align: center;
    display: block;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 13px;
}

#av_section_4 .grid-content .avia-arrow {
    display: none;
}
#av_section_4 .grid-entry .inner-entry {
    box-shadow: none;
    padding: 10px;
}
#av_section_4 .grid-content {
    background-color: #E5E5E5 !important;
    padding: 12px;
    /* width: 100%; */
}

#av_section_4 .grid-content a {
    color: #707070;
    text-align: center;
    display: block;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 13px;
}

#av_section_4 .grid-content .avia-arrow {
    display: none;
}

#top .avia-smallarrow-slider-heading {
    z-index: 20;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 110%;
    margin-left: -5%;
    pointer-events: none;
}


#top .avia-smallarrow-slider .avia-slideshow-arrows a {
    background-color: transparent;
    height: 45px;
    line-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: initial;
}

#top .avia-smallarrow-slider .avia-slideshow-arrows a:before {
    background-color: transparent;
    font-size: 29px;
    line-height: 45px;
    color: #898989;
}

#top .avia-smallarrow-slider .avia-slideshow-arrows {
    height: 45px;
    width: 100%;
}


#top #av_section_7 h2 {
    font-size: 45px;
    font-weight: normal;
}


div#av_section_1 {
    background-size: cover;
}
.template-page .entry-content-wrapper h2 span{
    color: var(--red);
}

/* Supporto al finanziamento */
#top #main h1.av-special-heading-tag{
    color: var(--red) !important;
    font-size: 48px;
    margin: 0 auto;
}
#top #main h1.av-special-heading-tag b{
    font-weight: normal;
    color: inherit;
}
.servizio-template-default .av-special-heading{
    margin-top: 0;
}
.servizio-template-default .content{
    padding-top: 30px;
}
.servizio-template-default #av_section_1{
    position: relative;
}
.servizio-template-default #av_section_1:after {
    background-image: url(/wp-content/themes/torino-wireless/includes/img/hover-fascia-servizi.png);
    background-size: auto 100%;
    background-position: top center;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.special_amp {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
    font-style: inherit;
}

h2.av-special-heading-tag {
    font-size: 50px;
}

.avia-timeline .entry-content-header h4 {
    color: var(--red);
    font-size: 13px;
    font-weight: normal;
    line-height: normal;
    margin: 0;
}

.avia-timeline .av-milestone-content p {
    margin-top: 0;
    font-size: 22px;
    line-height: normal;
}
.avia-timeline .av-milestone-content p strong {
    font-weight: normal;
}
.main_color .avia-timeline .av-milestone-date {
    color: black;
    font-size: 50px;
    padding-left: 40px !important;
    padding-right: 40px;
}

.main_color .avia-timeline .av-milestone-date strong {
    font-weight: normal;
}
html body .milestone-char[data-av_iconfont='entypo-fontello']:before,
html body .milestone-char[data-av_iconfont='fontello']:before{
    color:var(--red);
    font-size: 25px;
    line-height: normal;
}
i.milestone-char {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.avia-timeline .milestone_icon {
    height: 70px;
    width: 70px;
}   
li.av-milestone:nth-child(odd) article {
    padding-top: 0;
}

.avia-timeline-vertical.av-milestone-placement-alternate li.av-milestone-even .av-milestone-content-wrap {
    vertical-align: top;
    padding-top: 0;
}

.avia-timeline-vertical.av-milestone-placement-alternate li.av-milestone-odd .av-milestone-content-wrap {
    vertical-align: top;
}

#avia-timeline-1 .avia-timeline {
    padding-top: 50px;
}


.avia-icon-list-container p {
    margin: 0;
}

.avia-icon-list .iconlist_title {
    text-transform: none;
    font-weight: normal;
    font-size: 20px;
}

.avia-icon-list {
    font-size: 20px;
}

#av_section_5 .main_color .grid-content {
    background-color: black !important;
    padding: 15px;
}

#av_section_5 .main_color .grid-content .avia-arrow{
    display: none;
}

#av_section_5 .main_color .grid-content a {
    font-weight: normal;
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
}
.chi-siamo-list span.iconlist-char {
    font-size: 45px;
}
div#video-chi-siamo {}

#video-chi-siamo .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

#video-chi-siamo #main {
    padding: 0;
}

#video-chi-siamo main {
    padding: 0;
}
/* Pagine varie */ 
#elenco-bandi article a.slide-image {
    display: block;
    width: 100%;
    padding-top: 70%;
}

#elenco-bandi article a.slide-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}
.tribe-events .tribe-events-c-search__button, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button {
    background-color: var(--red) !important;
    border-radius: 0;
    text-transform: uppercase !important;
    font-weight: normal !important;
    color: white !important;
    border-color: var(--red);
}
#after_layer_slider_1 .av-magazine .av-magazine-thumbnail img{
	height: auto;
}

.av-magazine .av-magazine-thumbnail a img {
    height:auto;
}

@media (max-width:576px){
    #top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content:after { 
        display:none;
    }

    .post-entry-3264 .av-masonry-entry .av-inner-masonry-content {
        padding:20px;
    }
    .post-entry-3264 .av-masonry-entry-content.entry-content {
        font-size: 15px;
        line-height: normal;
    }
}