/*
Theme Name: Tecnavia
Author: Tecnavia SA
Author URI: http://www.tecnavia.com
Description: Fully customizable theme from Tecnavia
Version: 3.08

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

tecnavia is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/


@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('./css/font-awesome.min.css');
html,
body {
    padding: 0;
    margin: 0;
    min-height: 100%;
    height: 100%;
    color: #000;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}
b {
    font-weight: 900;
}
a {
    color: #e2001a;
    text-decoration: none;
}
a:hover {
    color: #e2001a;
    text-decoration: none;
}
h4 a {
    color: #000;
    opacity: 1 !important;
    font-family: "Arial",Trebuchet MS,sans-serif;
}
h4 a:hover {
    color: #e2001a;
    opacity: 1 !important;
}
h4 {
    margin-bottom: 5px;
    color: #e2001a;
}
@media (max-width: 320px) {
    h4 {
        /*font-size: 16px;*/
        font-size: 26px;
    }
}
h5 {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 800;
}
@media (max-width: 320px) {
    h5 {
        font-size: 14px;
    }
}
hr {
    margin: 5px 0;
}
ul {
    list-style: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

article.post ul, article.page ul {
	padding-left: 40px;
	list-style: disc;
}

button, .wp-polls input[type=button] {
    border: 0 none;
    border-radius: 0;
    background-color: #e2001a;
    color: #fff;
    text-transform: uppercase;
    padding: 5px 15px;
}
.slick-prev,
.slick-next {
    top: -62px;
    font-size: 0;
    position: absolute;
    height: 30px;
    width: 40px;
    background-color: #ececec;
}
.slick-prev {
    right: 52px;
}
.slick-next {
    right: 10px;
    border-style: none;
}
.slick-list {
    margin-top: -20px !important;
}
/******************************************/
.slick-prev::after,
.slick-next::after {
    font-size: 22px;
    position: relative;
    top: -6px;
    left: -4px;
    color: #0068b5;
}
.slick-prev::after {
    content: '\f077';
    font-family: FontAwesome;
}
.slick-next::after {
    content: '\f078';
    font-family: FontAwesome;
}
/******************************************/
::-webkit-input-placeholder {
    color: #7f8c8c;
    font-size: 13px;
}
::-moz-placeholder {
    color: #7f8c8c;
    font-size: 13px;
}
/* Firefox 19+ */
:-moz-placeholder {
    color: #7f8c8c;
    font-size: 13px;
}
/* Firefox 18- */
:-ms-input-placeholder {
    color: #7f8c8c;
    font-size: 13px;
}
:focus::-webkit-input-placeholder {
    color: transparent;
    outline: none;
}
:focus::-moz-placeholder {
    color: transparent;
    outline: none;
}
:focus:-moz-placeholder {
    color: transparent;
    outline: none;
}
:focus:-ms-input-placeholder {
    color: transparent;
    outline: none;
}
*:focus {
    outline: none;
}
.header .logo {
    font-size: 6em;
}
.header .logo .logo-first {
    color: #e2001a;
}
.header .logo .logo-second {
    color: #000;
}
.header .banner {
    padding-top: 13px;
    margin-bottom: 20px;
    position: relative;
    display: block;
}
.header img {
    display: inline-block;
}
.header .navbar {
    border: 0px;
    border-radius: 0px;
    margin-top: 10px;
    min-height: 38px;
}

.header .navbar-default {
    background-color: #e2001a;
    height: 35px;
}

.header .menu-item-has-children:hover .dropdown-menu {
    display: block;
}

.header .navbar-primary {
    padding: 0;
}

.header .navbar-primary ul:last-child.navbar-right {
    margin-right: 0;
}

.info-icon > a:before {
    display: inline-block;
    font: normal normal normal 17px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.info-icon > a:before {
    content: "\f05a";
}

.info-icon a.dropdown-toggle{
	font-size: 21px;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 1200px) {
    .header .navbar-default {
        font-size: 13px;
    }

}

@media (max-width: 1200px) {

    .info-icon a.dropdown-toggle{
		font-size: 17px;
    }


}


@media (min-width: 768px) {
    .breadcrumb > li.current_section_menu::before {
        content: "";
        margin-left: 30px;
    }

}

.header .navbar-default li a {
    color: #fff;
    text-transform: uppercase;
    padding: 9px 11px;
}

.header .navbar-default li a.home-icon {
    padding: 5px 5px 4px 15px;
}
@media (max-width: 1200px) {
    .header .navbar-default li a {
        padding-left: 5px;
        padding-right: 5px;
    }
    .header .navbar-default li a.home-icon {
        padding: 7px 4px 4px 5px;
    }
}
.header .navbar-default li a:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.2);
}
.header .navbar-default li a.hm {
    margin: 0;
    padding-left: 0;
}
.header .navbar-default .navbar-nav .active a {
    background-color: #000;
    color: #fff;
}
.header .navbar-default .navbar-nav .dropdown-toggle {
    color: #fff;
}
 .navbar-nav > li > .dropdown-menu{
 	BACKGROUND-COLOR: #E2001A;
 }

.header .navbar-default .search {
    position: relative;
    display: block;
}
div.pull-search .search .iva,
.header .navbar-default .search .iva {
    background-color: #000;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 10px;
    height: 38px;
    width: 38px;
    cursor: pointer;
    position: relative;
}
div.pull-search .search .iva {
    background: none !important;
}
div.pull-search .search .iva:before,
.header .navbar-default .search .iva:before {
    content: "\f002";
    font-family: FontAwesome;
    left: 13px;
    top: 10px;
    font-size: 14px;
    color: #fff;
    position: absolute;
}
.header .navbar-default .search .search-field {
    position: absolute;
    right: 0;
    z-index: 800;
    display: none;
}
.header .navbar-default .search .search-field.active {
    display: block;
}
.pull-search .search .search-field input,
.header .navbar-default .search .search-field input {
    border: solid 2px #000;
    background-color: #fff;
    height: 32px;
    padding: 5px 10px;
    width: 200px;
}
/*.pull-search .search .search-field input {
    top: 40px;
    width: 239px !important;
}*/
.pull-search .search .search-field .triangle ,
.header .navbar-default .search .search-field .triangle {
    position: absolute;
    top: -5px;
    right: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4.5px 5px 4.5px;
    border-color: transparent transparent #000000 transparent;
}
/*.pull-search .search .search-field .triangle {
    top: 35px !important;
}*/
.header .navbar-default .mbmenu {
    height: 38px;
    background-color: #000;
    padding: 0 50px 0 0;
    margin-left: 14px;
    line-height: 40px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    display: block;
}

.header .navbar-default .mbmenu.cls {
    padding-left: 14px;
}

.header .navbar-default .mbmenu span.hidden-md {
    padding-left: 14px;
}

.header .navbar-default .mbmenu i {
    position: absolute;
    top: 5px;
    right: 13px;
}
.header .navbar-default .mbmenu.cls {
    display: none;
}
.header .navbar-default .drop-menu {
    display: none;
}
.header .navbar-default .mobile {
    display: none;
}
.header .navbar-default .mobile a {
    display: block;
    position: relative;
    color: #fff;
    margin: 0;
    padding: 0;
    font-size: 26px;
    padding-left: 15px;
}
.header .navbar-default .mobile .bg {
    display: block;
    position: relative;
    color: #fff;
    margin: 0;
    padding: 0;
    font-size: 26px;
    cursor: pointer;
    padding-right: 15px;
}
.header .navbar-default .mobile .bg .fa-times {
    line-height: 35px;
}
.header .navbar-default .mobile .fa-bars,
.header .navbar-default .mobile .fa-times {
    font-size: 24px;
}
.header .navbar-default .mobile .fa-times {
    display: none;
}
.header .navbar-default .mobile .search {
    /*margin-right: 15px;*/
}
@media (max-width: 991px) {
    .header .navbar-default .mobile {
        display: block;
    }
}
.header .navbar-default .meni li a {
    display: block;
}
.header .navbar-default .meni li a.hm {
    display: none;
    padding-left: 20px;
}
@media (max-width: 991px) {
    .header .navbar-default .meni {
        display: none;
    }
}
.header .navbar-default.open-menu .mobile .bg .fa-bars {
    display: none;
}
.header .navbar-default.open-menu .mobile .bg .fa-times {
    display: block;
}
.header .navbar-default.open-menu .meni li a {
    display: none;
}
.header .navbar-default.open-menu .meni li a.hm {
    display: block;
    padding: 5px 5px 4px 15px;
}
.header .navbar-default.open-menu .mbmenu {
    display: block;
}
.header .navbar-default.open-menu .mbmenu.opn {
    display: none;
}
.header .navbar-default.open-menu .mbmenu.cls {
    display: block;
}
.header .navbar-default.open-menu .drop-menu {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 50;
    display: block;

}
@media (max-width: 375px) {
    .header .navbar-default.open-menu .drop-menu {
        margin-top: 38px;
    }
    .header .navbar-default.open-menu .drop-menu .container {
        width: 100%;
        padding: 0;
    }
}
.header .navbar-default.open-menu .drop-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #ececec;
}
.header .navbar-default.open-menu .drop-menu ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}
.header .navbar-default.open-menu .drop-menu ul.tmenu > li {
    position: relative;
    padding: 0;
    background-color: #ececec;
    height: auto;
    border-top: 1px solid #fff;
}
.header .navbar-default.open-menu .drop-menu ul.tmenu > li:not(.menu-item-has-children) {
    height: 35px;
}
@media (max-width: 375px) {
    .header .navbar-default.open-menu .drop-menu ul .sub-menu {
        padding-left: 180px!important;
    }
}
.header .navbar-default.open-menu .drop-menu ul.tmenu li a {
    position: absolute;
    top: 0;
    left: 0;
    width: 210px;
    background-color: #e3001b;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    height: 100%;
    padding-left: 20px;
    line-height: 38px;
    font-weight: 500;
}
@media (max-width: 375px) {
    .header .navbar-default.open-menu .drop-menu ul.tmenu li a {
        width: 180px;
        padding-left: 15px;
    }
}
.header .navbar-default.open-menu .drop-menu ul.tmenu li a:hover {
    background-color: rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
    .header .navbar-default.open-menu .drop-menu ul.tmenu li a {
        font-size: 13px;
    }
}
.header .navbar-default.open-menu .drop-menu ul .sub-menu {
    border: 0;
    padding-left: 210px;
}
.header .navbar-default.open-menu .drop-menu ul .sub-menu li {
    display: inline-block;
    vertical-align: middle;
    line-height: 38px;
}
.header .navbar-default.open-menu .drop-menu ul .sub-menu li a {
    position: relative;
    background-color: transparent!important;
    color: #000;
    padding: 0 14px;
    width: auto;
    font-size: 13px;
    font-weight: normal;
    border: 0 none;
}

.social-share-block a {
    display: inline-block;
    width: 3.2rem;
    height: 3.2rem;
    margin: 0 .1rem;
    /*border-radius: 50%;*/
    font-size: 1.6rem !important;
    font-weight: 700;
    color: #fff !important;
    text-align: center;
    line-height: 3.2rem;
    opacity: 1
}

.social-share-block a:hover {
    opacity: .7
}
.facebook {
    background-color: #3b5998
}

.twitter {
    background-color: #25ade7
}

.linkedin {
    background-color: #124572
}

.google {
    background-color: #e72560
}

.pinterest {
    background-color: #a72b2b
}
@media (max-width: 768px) {
    .header .navbar-default.open-menu .drop-menu ul .sub-menu li a {
        font-size: 12px;
        padding: 0 10px;
    }
}
@media (max-width: 375px) {
    .header .navbar-default.open-menu .drop-menu ul .sub-menu li a {
        font-size: 12px;
        padding: 0 12px;
    }
}
.header .navbar-default .togbut {
    position: relative;
    display: none;
}
@media (max-width: 768px) {
    .header .navbar-default .togbut {
        display: block;
    }
}
.header .navbar-default .togbut i {
    font-size: 18px;
}
.header .navbar-default .togbut a {
    position: relative;
    display: block;
}
.content .carousel-caption {
    width: 100%;
   /* background-color: rgba(255, 255, 255, 0.8);*/
   background-color: #e7e7e7;
    bottom: 0;
    left: 0;
    /*height: 127px;*/
    text-align: left;
    padding: 14px;
    text-shadow: none !important;
    color: #000;
    font-size: 18px;
    position:relative;
}

.content .carousel-caption p {
    font-size: 15px;
}

.content .carousel-caption a, .content .carousel-caption .posted-on {
    color: #000;
}
.content .carousel-caption h4 {
    font-size: 1.6em;
   /* white-space: nowrap;*/
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 6px;
    padding: 0;
    text-overflow: ellipsis;
    color: #000;
}
@media (max-width: 480px) {

	.content .carousel-caption {
		padding: 5px 14px;
	}

	.content .carousel-caption h4 {
		white-space: normal;
		line-height: 0.7em;
	}

	.content .carousel-caption .entry-desc {
		white-space: nowrap;
    	text-overflow: ellipsis;
   		overflow: hidden;
	}

    .content .carousel-caption {
        height: auto;
        font-size: 17px;
    }

    .content .carousel-caption h4 a {
        font-size: 22px;
    }
    div.line,
    div.content {
        font-size: 20px;
    }
    body {
        font-size: 20px;
    }
    h4 {
        font-size: 26px;
    }
}
.content .carousel-caption p {
    margin-top: 0;
    margin-bottom: 6px;
    font-weight: bold;
}
@media (max-width: 768px) {
    .pull-search .search-form input {
        top: 40px;
    }
    .pull-search .search .search-field .triangle {
        top: 35px !important;
    }
}
@media (max-width: 480px) {
    .content .carousel-caption p {
        display: none;
    }
    .pull-search {
        position: relative;
        /*background-color: #c1c1c1;*/
        top: 0px;
        left: 0px;
        width: 100%;
    }
    .pull-search .search .search-field {
        position: relative !important;
        display: block !important;
        margin-bottom: 10px;
        z-index: 49 !important;
         width: 100% !important;
    }
    .pull-search .search-form input {
        /*left: -369px;*/
        /*width: 335px !important;*/
        /*width: 395px !important;*/
        width: 100px !important;
        height: 138px;
        top: 1px !important;
        border: solid 1px #000 !important;
        border: none;
        display: none !important;
    }
    .pull-search .triangle {
        display: none;
    }
    .pull-search .iva {
        background: none;
        left: 352px;
        display: none;
    }
    .header .navbar-default.open-menu .drop-menu {
        top: 38px;
    }
}
@media (max-width: 375px){
    .header .navbar-default.open-menu .drop-menu {
        top: 0px;
    }
    .pull-search .iva {
        background: none;
        left: 300px;
    }
    .pull-search .search-form input {
        /*left: -317px;*/
        /*width: 280px !important;*/
        width: 345px !important;
        top: 1px !important;
        border: none;
        display: block !important;
    }
}
@media (max-width: 325px) {
    .pull-search {
        position: relative;
        /*background-color: #c1c1c1;*/
        top: 0px;
        left: 0px;
        width: 100%;
    }
    .pull-search .search .search-field {
        display: block !important;
    }
    .pull-search .search-form input {
        /*left: -270px;*/
        /*width: 243px !important;*/
        width: 290px !important;
        top: 1px !important;
        border: none;
        display: block !important;
    }
    .pull-search .triangle {
        display: none;
    }
    .pull-search .iva {
        background: none;
        left: 252px;
    }
}
.content .carousel-caption hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin: 2px 0;
}
@media (max-width: 480px) {
    .content .carousel-caption hr {
        display: none;
    }
}
.content .carousel-indicators {
    bottom: 0px;
    margin-bottom: 5px;
}
.content .carousel-indicators li {
    background-color: #ffffff;
    border: 0px none;
    border-radius: 0px;
    cursor: pointer;
    display: inline-block;
    height: 5px;
    margin: 0px;
    text-indent: -999px;
    width: 30px;
    vertical-align: middle;
}
.content .carousel-indicators .active {
    background-color: #e2001a;
    height: 5px;
    margin: 0;
    width: 30px;
    border: 0 none;
}
.content .carousel-control {
    background-image: none;
}
.content .carousel-control .larr {
    background-color: #e2001a;
    padding: 5px 10px;
    border-radius: 0 3px 3px 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
@media (max-width: 480px) {
    .content .carousel-control .larr {
        font-size: 16px;
        top: 40%;
    }
    div.expert {
        font-size: 21px;
    }
}
.content .carousel-control .rarr {
    background-color: #e2001a;
    padding: 5px 10px;
    border-radius: 3px 0 0 3px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
@media (max-width: 480px) {
    .content .carousel-control .rarr {
        font-size: 16px;
        top: 40%;
    }
}
.content .date {
    font-size: 13px!important;
    color: #545454;
    margin-left: 10px;
    text-align: right;
}
.content .mrkt {
    position: relative;
    background-color: #ececec;
    padding: 3px 10px;
    font-size: 12px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 15px;
}
.content .mrkt.att {
    color: #e2001a;
}
.content .mrkt.bold {
    font-weight: 800;
}
.content .mrkt.bold i {
    font-size: 15px;
    margin-right: 5px;
}
.content .post-content {
    min-height: 150px;
    position: relative;
}
.category .post-content {
    min-height: 122px;
}

.content .post-content p {
    margin-bottom: 25px;
}
.content .post-content .date, .content .post-content .tax-comune {
    position: absolute;
    bottom: 0;
    right: 15px;
    margin-bottom: 0;
}
.content .post-content .tax-comune {
    left: 15px;
}
@media (max-width: 480px) {
    .content .mrkt {
        /*font-size: 11px;*/
        font-size: 17px;
    }
}
.content .mrkt .arr-down {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #ececec transparent transparent transparent;
    position: absolute;
    bottom: -6px;
    left: 10px;
}
.content .mrkt i {
    color: #e2001a;
}
.content .red.mrkt {
    position: absolute;
    top: -23px;
    left: 0;
    background-color: #e2001a;
    color: #fff;
}
.content .red.mrkt .arr-down {
    border-color: #e2001a transparent transparent transparent;
}
.content .red.mrkt i,
.content .red.mrkt a {
    color: #fff;
}
.content .right-news {
    display: block;
    position: relative;
}
.content .right-news .content {
    position: relative!important;
    border-left: solid 6px #ececec;
    padding-left: 10px;
    padding-top: 0 !important;
    margin-top: 15px;
    z-index:10;
}
@media (max-width: 320px) {
    .content .right-news .content {
        border: 0 none;
        padding-left: 0;
    }
}
.content .right-news .content .mrkt {
    top: -38px;
    left: 10px;
}
@media (max-width: 320px) {
    .content .right-news .content .mrkt {
        top: -35px;
    }
}
.content .right-news .content hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 5px 0px 7px 0px;
}
#sidebar {
    margin-bottom: 20px;
}
.latest-plublish-posts {
    margin-left: 5px;
}
.line-news {
    margin-right: 5px;
}
.content .block {
    position: relative;
    display: block;
    margin-bottom: 30px;
}
.content .block img.img-responsive {
    /*border: solid 1px #ececec;*/
    width: 100%;
}
.content .block .gallery img {
    border: solid 1px #ececec;
    border-bottom: 0px;
}

.content .block .gallery a, .content .video-list a {
    color: #fff;
    background-color: transparent;
    line-height: inherit;
}
.gallery .row {
    margin-bottom: 30px;
}
.gallery .img-responsive, .video-list .img-responsive {
    width: 100%;
}
.gallery .image-wrapper, .video-list .image-wrapper {
    max-height: 110px;
    overflow: hidden;
    position: relative;
}
.gallery .image-wrapper-big {
    max-height: 200px;
    overflow: hidden;
}
.video-list .image-wrapper {
    max-height: 200px;
}
.video-list > div {
    margin-bottom: 30px;
}
.gallery .image-wrapper .post-image {
    height: 76px;
}
.video-list .post-image {
    height: 150px;
}
.gallery > div {
    margin-bottom: 11px;
}
.video-play i {
    position: absolute;
    color: #fff;
    font-size: 3em;
    left: 40%;
    top: 40%;
}
.content-row .video-play i {
    left: 45%;
}
.content-md-4 .video-play i {
    left: 45%;
    top: 15%;
}
.custom-logo {
    max-width: 100%;
    height: auto;
}

@media (max-width: 375px) {
    .content .block .gallery img {
        margin-bottom: 20px;
    }
}
.content .block .gallery .content, .video-list .content {
    position: relative;
    display: block;
    background-color: #000;
    text-align: center;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    height: 45px;
    padding: 13px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
@media (max-width: 375px) {
    .content .block .gallery .content {
        display: none;
    }
}
.content .block .gallery .content .block {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 7px;
    width: 100%;
}
.content .block .lone {
    display: block;
    position:relative;
}
.content .block.line-news hr {
    margin-bottom: 20px;
}
.block-underlined {
    border-bottom: 1px dotted #999;
    margin-bottom: 20px;
    position:relative;
}
.content .block.line-news .post-meta {
    text-align: right;
}
.content .block.line-news .post-meta > div {
    display: inline-block;
}
.content .post h4 {
    font-weight: 600;
}
.content .block .img-center {
    margin: 0 auto;
}
.content .block .newslist li:not(:last-of-type) {
    border-bottom: 1px dotted #999;
    margin-bottom: 20px;
}

.content .block .content {
    padding-top: 46px;
}

/* .content .widget .content {
    padding-top: 46px;
} */
.content .block .content .min {
    font-size: 10px;
    color: #e2001a;
}
.content .block .content .min i {
    color: #000;
}
.content .block .content h5 {
    margin: 2px 0 20px;
}
.content .block .content.gazzete {
    border: solid 1px #b9b9b9;
    border-top: 0px;
    padding: 14px 0;
}
.content .block .content.txt {
    padding: 14px;
}
.content .block .content .radio {
    padding-bottom: 10px;
}
.content .block .content .radio:not(:last-of-type) {
    border-bottom: solid 1px #ececec;
    padding-bottom: 10px;
}
.content .block .short-item:not(:last-child) {
    border-bottom: solid 1px #ececec;
    margin-bottom: 20px;
}
.content .title {
    position: relative;
    height: 38px;
    line-height: 38px;
    background-color: #ececec;
}
.content .title h4 {
    font-weight: 800;
    color: #000;
}
@media (max-width: 1200px) {
    .content .title h4 {
        font-size: 16px;
    }
}
.content .title .icon {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
    font-size: 26px;
}
.content .title .icon li {
    padding: 0;
    height: 38px;
    line-height: 36px;
    float: left;
    text-align: center;
    text-decoration: none;
    position: relative;
    background: #0068b5;
    min-width: 60px;
    width: auto;
}
@media (max-width: 1200px) {
    .content .title .icon li {
        min-width: 50px;
    }
}
.content .title .icon li::after,
.content .title .icon li::before {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -19px;
    border-top: 19px solid transparent;
    border-bottom: 19px solid transparent;
    border-left: .5em solid;
    right: -0.5em;
}
.content .title .icon li::after {
    z-index: 2;
    border-left-color: #0068b5;
}
.content .title .name {
    padding-left: 90px;
    padding-right: 10px;
    height: 38px;
    line-height: 38px;
    text-transform: uppercase;
}
.content .title .name h4 {
    margin: 0;
    padding: 0;
    line-height: 38px;
}
.content .title .name a {
    color: #e2001a;
}
.img-brd {
    border: solid 1px #ececec;
}
.bbot {
    border-bottom: solid 1px #ececec;
    margin-bottom: 20px;
}
.row-grow {
    display: table;
    width: 100%;
}
.row-grow [class*="col-"] {
    float: none;
    display: table-cell;
    vertical-align: top;
    background-color: #000;
}
/* Adjusting of colums in the footer */
.footer > .container  {
    background-color: #191919;
    color: #fff;
    font-size: 13px;
    padding: 40px 15px 24px;
}
@media (max-width: 425px) {
    .footer > .container  {
        font-size: 17px;
    }
    .content .date {
        font-size: 19px!important;
    }
}
 .footer .mail_collaboratore {
     word-break: break-word;
 }
 .footer .textwidget .collaboratore {
    display: inherit;
 }
 .footer .container .grid-item {
    float: left;
    width: calc((100% - 24px * 2) / 5);
    display: flex;
    justify-content: left;
    align-items: left;
    text-align: left;
}

.footer li:not(:last-of-type) {
    margin-bottom: 20px;
}
.footer a {
    color: #fff;
    opacity: .6;
}
.footer a:hover {
    opacity: 1;
}
.footer label {
    text-transform: uppercase;
    color: #e2001a;
    font-weight: 200;
    margin-bottom: 0;
}
.breadcrumb {
    background-color: #fff;
    border-radius: 0px;
    list-style: outside none none;
    margin-bottom: 20px;
    padding: 8px 15px;
    border: solid 1px #ececec;
    text-transform: uppercase;
    font-weight: 800;
}
.breadcrumb a {
    color: #000;
}
.breadcrumb li.current_section_menu {
    float: right;
}
.breadcrumb li.current_section_menu.referrer-links {
    font-size: larger;
}
.breadcrumb li.current_section_menu a {
    font-weight: normal;
    display: inline-block;
}
.breadcrumb .active {
    color: #e2001a;
}
.breadcrumb > li + li.breadcrumb-item::before {
    color: #e2001a;
    content: ">";
    padding: 0 5px;
}
.breadcrumb > li + li.current_section_menu::before, .breadcrumb > li:first-child::after {
    content: no-close-quote;
    margin-right: 0;
}
.current_section_menu a {
    margin-right: 10px;
}
.current_section_menu a:first-child {
    margin-left: -10px;
}
.tad {
    background-color: #000;
    color: #fff;
    text-align: center;
    font-weight: 800;
    padding: 10px 0 5px;
    text-transform: uppercase;
    font-size: 13px;
    display: block;
    margin-bottom: 20px;
}
.tad h3 {
    font-size: 26px;
    color: #e2001a;
    font-weight: 800;
    margin: 0px 0 10px;
}
.tad[class*="visible-"] {
    padding: 0px;
    height: 30px;
    line-height: 30px;
    display: block;
    font-size: 12px;
    text-align: left;
    padding: 0 12px;
}
.ite {
    display: block;
}
.ite .lab {
    width: 75%;
    padding-right: 10px;
}
.ite .imag {
    width: 25%;
}
.author-info {
    margin-bottom: 30px;
}

.widget .list-group-item {
    border: none;
    background: transparent;
    text-align: center;
    padding: 3px;
}
.rs .widget, .block .widget {
    margin-bottom: 30px;
}

.main-image-wrapper {
    margin-bottom: 30px;
}

.main-image-wrapper .notizia_img > a img {
    float: none;
    width: 100%;
    height: 100%;
}

.main-image-wrapper > h2 {
    position: absolute;
    margin: 2rem 10rem 1rem 2rem!important;
    z-index: 10;
    border: 0;
    color: #fff;
}

.title-wrapper {
    background: #e2001a;
    padding: 1px 20px 10px 20px;
    color: white;
    width: 100%;
    font-size: 15px;
}

.title-wrapper h2 {
    font-size: 2.4rem;
    line-height: 2.5rem;
    letter-spacing: -.1rem;
}

.title-wrapper a {
    color: white;
}

.carousel-inner > .post {
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
}
.notizia_autori a {
    color: inherit;
}

.header-logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ls {
    margin-bottom: 50px;
}

.widget .wp-polls {
    padding: 10px;
}

.widget .wp-polls-ul li {
    border-bottom: solid 1px #ececec;
    padding: 5px 0;
    line-height: 2em;
}

.container-flex-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: stretch;
}

.container-flex-gallery > div {
    margin: 10px;
}

.main-image-block {
    position: relative;
    margin-bottom: 30px;
    /*max-height: 450px;*/
    overflow: hidden;
}

@media (max-width: 1177px) {
    .footer {
        margin-left: 0;
    }
    .footer #footer-block .widget_text {
        padding-bottom: 10px;
    }
}

@media (max-width: 992px) {
    .main-image-block {
       /* max-height: 280px;*/
    }
}

.main-image-block .img-responsive {
    max-height: 600px;
    width: 100%;
}

.main-image-section .date {
    margin-top: 10px;
}

.main-image-block .date {
    margin-top: 15px!important;
}

.page .wp-polls-ans {
    margin-bottom: 50px;
}

.poll-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.widget_polls-widget .poll-title {
    font-size: 16px;
}

.post-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
@media (min-width: 992px) {
    .block-underlined .post-image {
        height: 150px !important;
    }
}
.tecnavia_img_share_icon {
    position: absolute;
    top: -75px;
    right:0;
}

.right-news .tecnavia_img_share_icon {
	 top: -89px;
}


.post-image-wrap{
	position:relative;
}
/*
@media (min-width: 300px) {
    .right-news .tecnavia_img_share_icon {

        top: -94px;
        left: 178px;
    }
}
@media (min-width: 320px) {


    .right-news .tecnavia_img_share_icon {
       position
        top: -88px;
        left: 216px;
    }
}



@media (min-width: 375px) {
    .hidden-lg .tecnavia_img_share_icon {
        position: relative;
        top: -39px;
        left: 251px;
    }
    .right-news .tecnavia_img_share_icon {
        position: relative;
        top: -88px;
        left: 250px;
    }
}



@media (min-width: 425px) {
    .right-news .tecnavia_img_share_icon {
        position: relative;
        top: -83px;
        left: 293px;
    }
}
@media (min-width: 486px) {
    .right-news .tecnavia_img_share_icon {
        position: relative;
        top: -83px;
        left: 352px;
    }
}
@media (min-width: 548px) {
    .right-news .tecnavia_img_share_icon {
        position: relative;
        top: -83px;
        left: 416px;
    }
}
@media (min-width: 617px) {
    .right-news .tecnavia_img_share_icon {
        position: relative;
        top: -83px;
        left: 474px;
    }
}
@media (min-width: 673px) {
    .right-news .tecnavia_img_share_icon {
        position: relative;
        top: -83px;
        left: 534px;
    }
}
@media (min-width: 686px) {
    .right-news .tecnavia_img_share_icon {
        position: relative;
        top: -83px;
        left: 548px;
    }
}
@media (min-width: 712px) {
    .right-news .tecnavia_img_share_icon {
        position: relative;
        top: -83px;
        left: 580px;
    }
}
*/
@media (min-width: 768px) {
    .hidden-lg {
        margin-bottom: 0px!important;
    }
    .hidden-md a img {
        margin-bottom: 0px!important;
    }
}

@media (max-width: 767px) {
    .container #footer-block {
        display: initial;
    }
    .footer .container .grid-item {
        display: inline-block !important;
        float: left;
        width: 95%;
    }
    .footer .container .grid-item a {
        word-break: break-all;
    }
}


.tecnavia_img_share_icon::after {
    content: '\f1e0';
    font-family: FontAwesome;
    font-size: 52px;
    color: #e2001a;
    padding-left: 14px;
    padding-right: 14px;
}
#close-share-icon .fa-times {
    position: relative;
    top: 16px;
    left: 40%;
    font-size: 24px;
}
/*************Overlay**************************/
.wrapper-share-icons {
    position: fixed;
    left: 0%;
    top: 24%;
    background-color: #ffffff;
    height: 156px;
    width: 100%;
    z-index: 10;
    display: block !important;
    text-align: center;
    box-shadow: 7px 8px 30px -1px #403144;
}
.overlay_share_icons {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    overflow: auto;
}
/**************End overlay**********************/
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #e2001a;
    border-color: #e2001a;
}
.pagination > li > a,
.pagination > li > span,
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: #e2001a;
}

.button-widget-link {
    display: block;
    width: 100%;
    height: 118px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50%;
    margin-bottom:15px;
}

@media (min-width: 280px) {
    .col-md-4 .button-widget-link {
        height: 160px;
        background-size: 100% 100% !important;
    }
}
@media (min-width: 320px) {
    .col-md-4 .button-widget-link {
        height: 160px;
        background-size: 100% 100% !important;
    }
}
@media (min-width: 425px) {
    .col-md-4 .button-widget-link {
        height: 180px;
        background-size: 100% 100% !important;
    }
    .sidebar_between_logo_and_menu {
        display: none;
    }
    .col-md-6 .button-widget-link {
        height: 185px;
    }
}
@media (min-width: 768px) {
    .col-md-4 .button-widget-link {
        height: 351px;
        background-size: 100% 100% !important;
    }
    .col-md-6 .button-widget-link {
        height: 272px;
    }
}
@media (min-width: 980px) {
    .col-md-6 .button-widget-link {
        height: 270px;
    }
}
@media (min-width: 992px) {
    .col-md-4 .button-widget-link {
        height: 109px;
        background-size: 100% 100% !important;
    }
    .col-md-6 .button-widget-link {
        height: 105px;
    }
}
@media (min-width: 996px) {
    .col-md-4 .button-widget-link {
        height: 100px;
        background-size: 100% 100% !important;
    }
    .col-md-6 .button-widget-link {
        height: 104px;
    }
}
@media (min-width: 1024px) {
    .col-md-4 .button-widget-link {
        height: 179px;
        background-size: 100% 100% !important;
    }
    .col-md-6 .button-widget-link {
        height: 180px;
    }
}
@media (min-width: 1025px) {
    .col-md-4 .button-widget-link {
        height: 113px;
        background-size: 100% 100% !important;
    }
    .col-md-6 .button-widget-link {
        height: 120px;
    }
}
@media (min-width: 1050px) {
    .col-md-6 .button-widget-link {
        height: 102px;
    }
}
@media (min-width: 1200px) {
    .col-md-6 .button-widget-link {
        height: 145px;
    }
}
@media (min-width: 1226px) {
    .col-md-6 .button-widget-link {
        height: 159px;
    }
}
.col-md-3 .button-widget-link {
    height: 90px;
}
/*-----------------------------------*/
.btn.orange {
    background-color: #0068b5;
}
.in_edicola_btn:hover {
    color: #fff;
    opacity: 0.8;
}
.in_edicola_btn {
    height: 60px;
    width: 291px;
    margin: 0 auto;
    color: #fff;
}
.btn {
    display: block;
    padding: 1.5rem;
    border-radius: .8rem;
    font-weight: 700;
}
/*-----------------------------------*/
.widget_buttons_widget a span {
    display: block;
    padding: 55px 20px 0;
    color: #000;
    font-size: smaller;
}

strong.search-excerpt {
    color: #e2001a;
}
.slick-slide .short-item {
    /*height: 95px;*/
    height: 97px;
}
.col-md-4 .widget_flash_post_widget .slick-slide .short-item {
    height: 140px !important;
}
.post-featured {
    background-color: #3a3a3a;
    color: #fff;
}
.post-featured .post-content, .post-featured h4 a, .post-featured p, .post-featured .expert {
    color: #fff;
}
.post-featured .right-news .content {
    border: none;
}

.container {
    background-color: #fff;
}
.banner-bordered img {
    border: 2px solid #000;
}
.widget_sidebar_main_post_widget h4 {
    font-weight: bold;
}
.widget-center {
    margin-bottom: 30px;
}
img.alignright {
    float: right;
}
.content iframe{
    width:100% !important;
}
.alignleft {
    float: left;
    margin: 0.5em 1em 0.5em 0;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignright {
    float: right;
    margin: 0.5em 0 0.5em 1em;
}

.no-padding-left{
    padding-left:0;
}

.no-padding-right{
    padding-right:0;
}

.catenaccio-list{
    font-weight:bold;
    padding-bottom:0.5em;
}

.excerpt-single {
    font-style: normal;
	padding-top:20px;
}

.content-single-wrap {
    padding-top: 20px;
}

.post-meta{
    padding-top:10px;
}
.wp-caption {
    position: relative;
    display: block;
}
.wp-caption-text {
	/*
    position: absolute;
    bottom: 0;
    color: white;
    width: 100%;
    padding: 10px 5px 5px;
    background: rgba(0, 0, 0, 0.3);
    */
    color: white;
    padding: 5px;
    background: #000;
    display: block;
}

.right-news .wp-caption-text { display:none }

.page-template-homepage-custom-sidebar .ls .widget {
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    .main-image-wrapper {
        height: 500px;
        overflow: hidden;
        position: relative;
    }
    .title-wrapper {
        background: rgba(115, 145, 194, .8);
        position: absolute;
        bottom: 0;
    }
}

@media (max-width: 992px) {
    .content .post-content {
        min-height: inherit;
    }
}
/* Landscape */
@media (min-width: 992px) and (max-width: 1200px) {
    .ls {
        width: 63.33333333%;
    }
    .rs {
        width: 36.66666667%;
    }
}
/* Portrait */
@media only screen and (min-device-width: 992px) and (max-device-width: 1200px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
    .ls,
    .rs {
        width: auto;
    }
}
/* Landscape */
@media only screen and (min-device-width: 992px) and (max-device-width: 1200px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    .ls {
        width: 63.33333333%;
    }
    .rs {
        width: 36.66666667%;
    }
}

@media (min-width: 768px) {
    .navbar-right {
        margin-right: 0;
    }

    .category .post-image {
        max-height: 300px!important;
    }


}

@media (max-width: 768px) {

	.post-with-buttons-ad,
	.video-block-widget-ad  {
    	padding-left:0;
    	padding-right:0;
    }

    .post-with-buttons-ad iframe,
    .video-block-widget-ad iframe{
    	float:none !important;
    }

}


ins .paszone_container,
iframe.ad {
	    border: 1px solid #000;
}

ins .pasli,
ins.noborder .paszone_container {
	border:none;
}

iframe.ad {
	width: auto !important;
    margin: 0 auto;
    position: relative;
    display: block;

}

ins.noborder .pasli{
	border:none;
}

.related-posts .lone.image-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.related-posts .lone.image-wrap img{
    height: 100%;
}

.related-posts .lone{

/*height:200px;*/
}

@media (max-width: 1200px) {
	/*.related-posts .lone.image-wrap { height: 100px; }*/
	.related-posts .lone.image-wrap { /*height: 100px;*/ }
	.related-posts .lone{ /*height:230px;*/}
}

.externalsidebar{
	position:fixed;
	width:100%;
}

.externalsidebar-container{
	position:relative;
}

.sidebar-is-for-the-left,
.sidebar-is-for-the-right {
    position: absolute;
    top: 0px;
    z-index: 100;
}

#mainNav {
    position: relative;
    z-index: 100;
}





/*Bottom overlay CSS*/
#bottom-overlay-wrap{
	position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
    box-shadow: 0px 0px 15px 0px #333;
    overflow:hidden;
    background-color:#fff;
}

#bottom-overlay-wrap iframe{
	border:none !important;
}

#bottom-overlay-close{
	display: block;
    text-decoration: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;

    color: #fff;

    width: 60px;
    height: 60px;
}

#bottom-overlay-close span{
	    display: block;
    width: 30px;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
     background: #333;
      border-radius: 94%;
      position:absolute;
      top: 5px;
    right: 5px;
}



/* Posts from Category 2 columns and + */

.widget_posts_from_category_2_columns_widget .title,
.widget_widget_posts_list_category_img_plus .title,
.widget_widget_posts_list_category_img_plus_double .title{
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #000;
}
/*
.widget_posts_from_category_2_columns_widget .title h4{
    color: #f38630;
    font-weight: bold;
}
*/
.widget_posts_from_category_2_columns_widget .title a,
.widget_widget_posts_list_category_img_plus .title a,
.widget_widget_posts_list_category_img_plus_double .title a{
     color: #bbb;
    display: block;
    position: absolute;
    right: 10px;
    top: 0px;
 }
.widget_posts_from_category_2_columns_widget .title .name,
.widget_widget_posts_list_category_img_plus .title .name,
.widget_widget_posts_list_category_img_plus_double .title .name{
    padding-left: 10px;
}

.widget_widget_posts_list_category_img_plus .content,
.widget_widget_posts_list_category_img_plus_double .content{
    padding-top: 6px !important;
}

.widget_posts_from_category_2_columns_widget .block-rightlined {
    /*border-right: 1px solid #d6d6d6;*/
    margin-bottom: 20px;
    position:relative;
}

.widget_posts_from_category_2_columns_widget .block-rightlined:after{
    content: '';
    display: block;
    position: absolute;
    width: 1px;
    background-color: #d6d6d6;
    top:0;
    bottom: 0;
    right: -15px;
}

.widget_widget_posts_list_category_img_plus_double{
    position: relative;
}
/*
.widget_widget_posts_list_category_img_plus_double:after{
    content: '';
    display: block;
    position: absolute;
    width: 1px;
    background-color: #d6d6d6;
    top:0;
    bottom: 0;
    left: 50%;
}
*/
.widget_posts_from_category_2_columns_widget .content .date,
.widget_widget_posts_list_category_img_plus .content .date,
.widget_widget_posts_list_category_img_plus_double .content .date{
    margin-right: 10px;
    margin-left: 0px;
    text-align: left;
}

.widget_posts_from_category_2_columns_widget .post-meta,
.widget_widget_posts_list_category_img_plus .post-meta,
.widget_widget_posts_list_category_img_plus_double .post-meta{
    padding-top:7px;
    padding-bottom:12px;
}


.widget_posts_from_category_2_columns_widget .row-2r .block-underlined{
    /*border-bottom: 1px solid #d6d6d6;*/
    margin-bottom: 20px;
    padding-bottom: 11px;
    position:relative;
}
.widget_posts_from_category_2_columns_widget .row-2r .block-underlined:last-child{
    border-bottom: 0px solid #fff;
}

.widget_widget_posts_list_category_img_plus .content .block-underlined,
.widget_widget_posts_list_category_img_plus_double .content .block-underlined{
    margin-bottom: 20px;
    padding-bottom: 11px;
    position:relative;
}

.widget_widget_posts_list_category_img_plus .content .block-underlined:last-child,
.widget_widget_posts_list_category_img_plus_double .content .block-underlined:last-child{
    border-bottom: 0px solid #fff;
    margin-bottom: 0px;
    padding-bottom: 0px;
}


  img.img-responsive-background.wp-post-image,
  .wp-caption.img-responsive-background {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(20px);
    width: 100%;
    height: 100%;
}

.wp-caption.img-responsive-background .wp-caption-text{ display:none; }

.content .block img.img-responsive,
.content .block .wp-caption.img-responsive {
    /* border: solid 1px #ececec; */
    width: auto;
    max-height: 300px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.content .block .wp-caption.img-responsive .wp-caption-text {
	color: white;
    padding: 5px;
    background: #000;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 100%;
}

.single-image-wrap{
    text-align: center;
    position: relative;
    overflow: hidden;

}



@media (max-width: 767px) {
	.content-row .mobile-wrap {
	    margin-top: 50px;
	}
}

.content .post {
    font-size: 1.2rem;
}

h4 a {
    font-size: 1.3rem;
    font-family: 'Open Sans', sans-serif;
}

.short-item .time-post, .short-item a {
    font-family: 'Open Sans', sans-serif;
}



/* For Tecnavia WP Gallery (Homepage) */

.second-block .block .row {
    padding-right: 15px;
}

.widget_homepage_video_block_posts .content {
    padding-top: 0 !important;
    padding-bottom: 15px !important;
}

.widget_homepage_video_block_posts .content .compact {
    padding-right: 14px;
}

.second-block .widget_homepage_video_block_posts .gallery > div {
    margin-bottom: 0;
}

.content .block .gallery a, .content .video-list a {
    color: #000;
    text-decoration: none !important;
    width: 100%;
    max-height: 150px;
    height: 150px;
    overflow: hidden;
}

.gallery > div {
    margin-bottom: 11px;
}

.content .block .gallery img {
    width: 100%;
    height: 100%;
    border: solid 1px #ececec;
    border-bottom: 0px;
}

span.gall_titles{
    display: block;
    width: 100%;
    /*font-family: 'Pluto Sans Light';*/
    font-weight: 600;
    text-transform: inherit;
    font-size: 20px;
    /* font-family: "Times New Roman", Times, serif; */
    font-family: 'Open Sans', sans-serif;
    color: #000;
    padding-top: 10px;
    max-width: 96%;
}
span.gall_titles:hover{
    color: #007ca2;
}

span.gall_titles:before {
    content: url(images/icon_small_related_post.png);
    float: left;
    margin-right: 5px;
}

.home_page_gall .imglist a:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    left: 0;
    width: 40px;
    height: 40px;
    background-image: url(images/fotogallery.png);
    background-size: contain;
    display: block;
    background-repeat: no-repeat;
    filter: invert(1);
    -webkit-transition: -webkit-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}

.home_page_galls .home_page_gall:first-child{
    padding-left: 15px;
}
.home_page_galls{
    display: flex;
    justify-content: space-between;
}
.imglist.compact.home_page_gall{
    display: inline-flex;
}


.home_page_gall .imglist a{
    position: relative;
}

.home_page_gall .imglist a:after, .img-gal .forsidebilledercontent a:after {
    content: '';
    position: absolute;
    top: 0;
    bottom:0;
    right:0;
    margin:auto;
    left: 0;
    width: 40px;
    height: 40px;
    background-image: url(images/fotogallery.png);
    background-size: contain;
    display: block;
    background-repeat: no-repeat;
    filter: invert(1);
    -webkit-transition: -webkit-transform .8s ease-in-out;
    transition:  transform .8s ease-in-out;
}

.home_page_gall .imglist a:hover:after, .img-gal .forsidebilledercontent a:hover:after {
    transform: rotate(90deg);
}

.youtube_gall{
    display: inline-flex;
}

span.video_titles{
    display: block;
    width: 100%;
    font-family: 'Pluto Sans Light';
    text-transform: uppercase;
    font-size: 12px;
    color: #000;
    padding-top: 10px;
    max-width: 160px;
}

span.video_titles:before{
    content: url(images/icon_small_related_post.png);
    float: left;
    margin-right: 5px;
}

.youtube_gall_block{
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.youtube_gall_block .youtube_gall:first-child{
    padding-left: 15px;
}

.youtube_gall a.youtube-video {
    position: relative;
}

.youtube_gall a.youtube-video:after{
    content: '';
    position: absolute;
    top: 20%;
    left: 64px;
    width: 40px;
    height: 40px;
    background-image: url(images/videogallery.png);
    background-size: contain;
    display: block;
    background-repeat: no-repeat;
    filter: invert(1);
    -webkit-transition: -webkit-transform .4s ease-in-out;
    transition: transform .4s ease-in-out;
}

.youtube_gall a.youtube-video:hover:after{
    transform: scale(1.1);
}

/*End style for Tecnavia WP Gallery (Homepage) */

.fa-camera:before {
    content: "\f030";
}

  /* FLEX SLIDER HOMEPAGE */
  #homepageSliderFullwidth{
	width:100%;
	position:relative;
	height:500px;
	overflow:hidden;
}
#homepageSliderFullwidth .flex-caption {
    position: absolute;
    width: 100%;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    margin: 0;
    /* text-indent: 10px; */
    padding: 20px;
    color: #fff;
}
#homepageSliderFullwidth li,
#homepageSliderFullwidth ul{
	position:relative;
	height:100%;
}
#homepageSliderFullwidth li .imgWrap{
	width:100%;
	height:100%;
	position:relative;
}

#homepageSliderFullwidth li .img{
	width:100%;
	height:auto;
}

#homepageSliderFullwidth .flex-viewport {
	height:100%;
}
#homepageSliderFullwidth .flex-control-nav{
	bottom:10px;
}

/* WODGET CAROUSEL + 4 POSTS ON RIGHT HOMEPAGE */
.homeSliderCarousel{
	margin-bottom:30px;
	position:relative;
	height: 400px;

}
.homeSliderCarouselWrap{
	border:1px solid #fff;
}
.homeSliderCarousel ul li a.entry-href-img{
	display:block;
	width:100%;
	max-height:350px;
	overflow:hidden;
}
@media (max-width: 768px) {
	.homeSliderCarouselWrap{
	padding:0;
	}
	.homeMainPostRight .item{
		margin-bottom: 10px;
	}
	.homeSliderCarousel ul li a.entry-href-img{
		max-height: 190px;
	}
	.homeSliderCarousel{
	height: 310px;
	margin-bottom: 10px;
	}

	.homeSliderCarousel .carousel-caption h4 {
	    line-height: 1em;
	}

}

.homeSliderCarousel .flex-viewport{
	background-color:	#E7E7E7;
	height: 100%;

}

.homeSliderCarousel .flex-viewport ul, .homeSliderCarousel .flex-viewport ul li{
	height:100%;
	position:relative;
}


.homeSliderCarousel .flex-control-nav{
	display:none;
}

.homeSliderCarousel .carousel-caption{
	    font-size: 13px;
	    position: absolute;
    background: none;
    color: #fff;
}

.homeSliderCarousel .carousel-caption a, .homeSliderCarousel .carousel-caption .posted-on {
	color:#fff;
}

.homeSliderCarousel .main-image-block {
	margin-bottom:0;
	height:100%;
	position:relative;
	background:#000;
}



.homeSliderCarousel .main-image-block .main-image-bg {
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	background-position:center center;
	background-repeat:no-repeat;
	background-size:cover;
	opacity:0.6;
	transition: all .1s ease-in-out;
}

.homeSliderCarousel .main-image-block:hover  .main-image-bg {
		transform: scale(1.1);
		opacity:1;
}


.homeSliderCarousel .main-image-block img{
transition: all .1s ease-in-out;
	}
.homeSliderCarousel .main-image-block:hover img {
	transform: scale(1.2);
}



.homeSliderCarousel .date{
	text-align:left;
	margin-left:0;
}
.homeSliderCarousel .date i{
	padding-right:5px;
	color:#fff;
}

.homeSliderCarousel .flex-direction-nav{
    position: absolute;
    right: 10px;
    bottom: 0;
    display: block;
    height: 50px;
    margin: 0;
    padding: 0;
    width:80px;
}

.homeSliderCarousel .flex-direction-nav .flex-prev,
.homeSliderCarousel .flex-direction-nav .flex-next {
 	opacity: 1;
    top: 0;
    height: 40px;
    margin:0;
}

.homeSliderCarousel .flex-direction-nav .flex-prev{ left:0; }
.homeSliderCarousel .flex-direction-nav .flex-next{ right:0; }

.homeMainPostRight .item {
	height:201px;

}

.homeMainPostRight .item .item-container {
	position:relative;
	height:100%;
	background-color:#000;
	position:relative;
	overflow:hidden;
	border:1px solid #fff;
}

.homeMainPostRight .item .entry-bg{
	position:absolute;
	width:100%;
	height:100%;
	background-position:center center;
	background-size:cover;
	transition: all .1s ease-in-out;
	opacity:0.6;
}

.homeMainPostRight .item .item-container:hover .entry-bg{
	opacity:1;
	}

.homeMainPostRight .item .item-container:hover .entry-bg{
	transform: scale(1.1);
}

.homeMainPostRight .item .entry-title{
	margin:0;

	position:absolute;
	width:100%;
	bottom:0;

	left:0;

}

.homeMainPostRight .item .entry-content-wrap{
	position:relative;
	width:100%;
	height:100%;
}

.homeMainPostRight .item .entry-title a{
	/*
	position:absolute;
	width:100%;
	height:100%;

	left:0;
	top:0;
	*/
	display:block;
}

.homeMainPostRight .item .entry-title a span{
		width: 100%;
       font-weight: 600;
		display:block;
    text-align: left;
    padding: 14px;

    color: #fff;
    font-size: 0.9em;

}

.homeMainPostRight .item .red.mrkt,
.homeSliderCarousel .slide .red.mrkt{

    left: 10px;
}

@media (max-width: 768px) {
	.homeSliderCarousel .main-image-block  .main-image-bg,
	.homeMainPostRight .item .entry-bg {
		opacity:1;
	}
	.homeSliderCarousel .carousel-caption a, .homeSliderCarousel .carousel-caption .posted-on,
	.homeMainPostRight .item .entry-title a span{
		  text-shadow: 1px 1px 1px #000;
	}
	.homeSliderCarousel .flex-direction-nav{
		bottom:auto;
		top:0;
	}
}

@media (max-width: 480px){

	.homeSliderCarousel .carousel-caption .red.mrkt a {
        font-size: 11px;
    }
}


.content .mrkt2 {
    position: relative;
    border-bottom: 3px solid #ececec;
    padding: 0;
    font-size: 12px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 15px;
    height: 37px;
}

.content .mrkt2 .wrap {
    position: absolute;
    padding: 10px;
    background: #ececec;
}
