/*
Theme Name:     Impact Theme
Description:    Impact Theme
Author:         Progetto51 | Web Development
Author URI:     http://www.progetto51.it
Version:        1.0
*/


body {
    color: #464646;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.5;
}

.txt_blu {
    color: #003958;
}

header {
    /*background-image: url(http://local.impact.it/wp-content/themes/absolut-impact/assets/images/header_img.png);*/
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    /*height: calc(100vw * 0.28);*/
    position: relative;
}

.main_menu_bkg {
    background: #003958;
    background: linear-gradient(90deg, rgba(0, 154, 211, 1) 0%, rgba(0, 57, 88, 1) 100%);
    height: 50px;
    position: absolute;
    padding-right: 30px;
    bottom: 80px;
}

.main_menu {
    background: transparent;
    height: 50px;
    text-align: right;
    font-size: 12px;
    /*text-transform: uppercase;*/
    line-height: 50px;
    position: absolute;
    padding-right: 30px;
    bottom: 80px;
    z-index: 40;
}

.logomenu {
    position: relative;
    /* width: 100%;
    bottom: 25%;
    height: 100%; */
    margin-top: -40px;
    height: 300px;
    margin-bottom: 80px;
}

/*.main_menu .header_logo {*/
/*    position: absolute;*/
/*    bottom: -20px;*/
/*    left: -80px;*/
/*    z-index: 2;*/
/*    max-width: 24%;*/
/*}*/

.main_menu .logo_interreg {
    position: absolute;
    right: 30px;
    bottom: 60px;
    /*width: 200px;*/
}

.main_menu nav ul li {
    margin: 0 10px;
    position: relative;
}

.main_menu nav ul li:last-child {
    margin-right: 0;
}

.main_menu nav ul li ul.sub-menu {
    visibility: hidden;
    opacity: 0;
    background: #FFFFFF;
    /*background: linear-gradient(0deg, rgba(0, 154, 211, 1) 0%, rgba(0, 57, 88, 1) 100%);*/
    position: absolute;
    right: 0;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    min-width: 200px;
    border-right: 2px dotted #009ad3;
}

.main_menu nav ul li.menu-item-has-children:hover ul.sub-menu {
    visibility: visible;
    opacity: 1;
    right: -10px;
}

.main_menu nav ul li ul.sub-menu li {
    display: none;
    padding: 10px;
    line-height: 1.2em;
    margin: 0;
    color: #009ad3;
    transition: margin 0.4s ease-in-out;
}

.main_menu nav ul li.menu-item-has-children:hover ul.sub-menu li {
    display: block;
    margin: 0;
}

.top_menu {
    padding: 0;
    text-align: right;
    font-size: 12px;
    text-transform: uppercase;
    z-index: 20;
}
.mobile .top_menu {
    font-size: inherit;
}
.mobile .top_menu nav ul {
    margin-bottom: 14px;
}

.top_menu nav ul, .main_menu nav ul {
    list-style: none;
}

.top_menu nav ul li, .main_menu nav ul li {
    color: #FFFFFF;
    display: inline-block;
}

.top_menu nav ul li:after {
    content: ' | ';
    margin: 0 10px;
}

.top_menu nav ul li:last-child:after {
    content: '';
    margin-right: 0;
}

button:focus, input[type='submit'].button:focus {
    outline: none !important;
}
.header-image {
    position: absolute;
    top: 0;
}

.mobile .header-image {
    position: absolute;
    top: 40px;
}

.mobile .header_logo {
    margin: 15% 0 0 10%;
}
.mobile .header_logo2 {
    margin: 23% 0 0 10%;
}
.mobile .menu-mobile-bar:after {
    content: 'menu';
    float: left;
    left: 50px;
    top: 6px;
    position: absolute;
    text-transform: uppercase;
    color: #fff;
}

.header_logo {
    z-index: 20;
    margin: 4% 0 0 10%;
}

.mobile .menu-mobile-bar{
    cursor: pointer;
}
.mobile .mobile-menu{
    display: none;
}
.mobile-menu nav{
    background: #043958;
    padding: 20px 30px;
    margin: -3px -15px;
    color: #fff;
    max-height: 80vh;
    overflow-y: scroll;
}

.mobile-menu nav ul{
    list-style: none;
    padding-left: 0;
}
.mobile-menu nav ul li{
    padding: 10px 20px;
    background-color: #ffffff40;
    margin: 4px 0;
    position: relative;
    cursor: pointer;
    /*border-bottom-right-radius: 20px;*/
}
.mobile-menu nav ul li a{
    display: block;
}
.mobile-menu nav ul.sub-menu{
    display: none;
}
.mobile-menu nav ul.sub-menu li {
    /* background-color: transparent !important; */
    border-bottom: 1px dotted !important;
}
.mobile-menu nav li.menu-item-has-children a:after{
    content: '+';
    position: absolute;
    right: 20px;
    top: 10px;
}
.mobile-menu nav li.menu-item-has-children.active a:after{
    content: '-';
}
.mobile-menu nav li.menu-item-has-children ul.sub-menu li a:after{
    content: '';
}

.menu-mobile-btn span {
    background: #ffffff none repeat scroll 0 0;
    display: block;
    height: 2px;
    margin: 5px;
    width: 20px;
}
.menu-mobile-btn {
    width: 100%;
    background: #043958;
    padding: 5px 15px 0;
    margin: 0;
    background: linear-gradient(90deg, rgba(0, 154, 211, 1) 0%, rgba(0, 57, 88, 1) 100%);
    position: fixed;
    z-index: 998;
    top: 0;
    height: 40px;
    border-bottom: 2px solid #FFFFFF;
}
/*.menu-mobile-btn:before {*/
/*    content: 'menu';*/
/*    float: left;*/
/*    color: #ffffff;*/
/*    right: 50px;*/
/*    position: absolute;*/
/*    font-size: 12px;*/
/*    line-height: 1px;*/
/*    margin: 0;*/
/*}*/

/***
 TYPOGRAPHY
***/

a, input[type='submit'].button {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}
p a{
    text-decoration: underline;
    color: #009ad3;
}
a:hover, a:active {
    text-decoration: underline;
}

h1 {
    font-weight: bold;
    font-size: 30px;
    line-height: 1.2;
    color: #003958;
}

h2 {
    font-size: 40px;
    line-height: 1.4;
    font-weight: bold;
}

h3 {
    font-size: 20px;
    line-height: 1.3;
    font-weight: bold;
    margin-bottom: 22px !important;
    margin-top: 40px !important;
}


h4 {
    font-size: 20px;
    line-height: 1.1;
    color: #009ad3;
}

h4.incipit {
    margin-top: 20px;
}

h5 {
    font-size: 14px;
    line-height: 1.5;
    font-weight: normal;
}

h5.title {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px !important;
    margin: 40px 0;
}

h5.news_excerpt {
    margin: 26px 0 4px;
}

.txt_small {
    font-size: 12px;
    line-height: 1.5;
}

.red_txt {
    color: #FC2848;
}


a:hover {
    color: inherit;
}

a.button, input[type='submit'].button {
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #53697a;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    margin: 20px;
    cursor: pointer;
    border: 0;
}

a.button:hover, input[type='submit'].button:hover {
    background-color: #003958;
    padding: 10px 30px;
}

.wpcf7-submit:disabled {
    opacity: .6;
}

#hp_news {
    background-color: #f2f2f2;
    border-bottom: 2px dotted #003958;
    border-top: 2px dotted #003958;
}

#hp_news .content {
    background: #ffffff;
    padding: 20px;
}

.border-left-dotted{
    border-left: 2px dotted #009ad3;
}

.post_date, #sidebar .post_date_side {
    font-size: 14px;
}
#page_news .post_content{
    margin-left: 0;
}

#page_news .post_date {
    font-size: 14px;
    background: #009ad3;
    border-bottom-right-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    padding-top: 12px;
    float: left;
    margin-right: 10px;
    color: #fff;
    line-height: 0;
    margin-left: 1px;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #009ad3;
    background-color: #fff;
    border-left: 1px dotted #009ad3;
}

/***
    AREA STAMPA/DOWNLOAD
***/
.dl_item {
    padding: 20px;
    border-bottom-right-radius: 50%;
    height: 100%;
    position: relative;
    min-height: 250px;
}
#page_press .dl_item {
    background-color: #0199d3ab;
}
.dl_item h4{
    color: #FFFFFF;
}
.dl_item .dl_button .button{
    margin: 20px 0;
}
.dl_button {
    position: absolute;
    bottom: 0;
}

#page_download .dl_item {
    background-color: #f6b800;
    height: 100%;
}
#page_fotovideo .dl_item h4, #page_fotovideo .dl_item .post_date{
    color: #009ad3;
}
#page_fotovideo .dl_item {
    background-color: #EEEEEE;
    border-bottom-right-radius: 80px;
}
#page_fotovideo .dl_item .dl_button{
    position: relative;
}

/***
    Contatti
***/

.dl_item.contatti{
    background-color: #eeeeee;
}
.dl_item.contatti i{
    color: #009ad3;
}
.dl_item.contatti td{
    padding: 5px 0;
}


/***
    Lightcase
***/
#lightcase-nav a:hover, .lightcase-icon-close:hover{
    text-decoration: none !important;
}


/***
    IMAGE MAP
***/
#infografica a.map_hover rect, #infografica_mobile a.map_hover rect {
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

#infografica a.map_hover:hover rect, #infografica_mobile a.map_hover:hover rect {
    opacity: .3;
}

#infografica {
    background: rgba(255, 255, 255, 0);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(246, 182, 37, 0) 70%, rgba(246, 182, 37, 1) 70%, rgba(246, 182, 37, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(70%, rgba(246, 182, 37, 0)), color-stop(70%, rgba(246, 182, 37, 1)), color-stop(100%, rgba(246, 182, 37, 1)));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(246, 182, 37, 0) 70%, rgba(246, 182, 37, 1) 70%, rgba(246, 182, 37, 1) 100%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(246, 182, 37, 0) 70%, rgba(246, 182, 37, 1) 70%, rgba(246, 182, 37, 1) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(246, 182, 37, 0) 70%, rgba(246, 182, 37, 1) 70%, rgba(246, 182, 37, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(246, 182, 37, 0) 70%, rgba(246, 182, 37, 1) 70%, rgba(246, 182, 37, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6b625', GradientType=0);
}

#cta_webgis, #cta_webgis_mobile {
    position: relative;
}
#cta_webgis_mobile {
    height: 130px;
}
.cta_btn {
    position: absolute;
}
.infografica_d .cta_btn{
    top: 0;
}
.infografica_m .cta_btn{
    top: -15px;
}
.infografica_d .cta_btn a div {
    width: 200px;
    height: 200px;
    background-image: url(assets/images/WebGis-blu.png);
    background-size: contain;
}
.infografica_m .cta_btn a div {
    width: 160px;
    height: 160px;
    background-image: url(assets/images/WebGis-blu.png);
    background-size: contain;
}
.popover-header {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

/*.cta_btn a div:hover {*/
/*    background-image: url(assets/images/WebGis-yellow.png);*/
/*}*/
.cta_btn a div svg{
    margin-top: -20px;
    margin-left: -20px;
}


/***
    SIDEBAR
***/

#sidebar {
    border-left: 2px dotted #009ad3;
}
div#sidebar h3 {
    background-color: #009ad3;
    color: #fff;
    padding: 0 10px;
    border-bottom-right-radius: 50px;
    font-weight: normal;
    font-size: 22px;
    letter-spacing: 1px;
}

#sidebar h4 {
    font-size: 18px;
}

#impact-twitter{
    max-height: 400px;
    overflow-y: scroll;
}

/***
    FOOTER
***/
#footer_nl {
    background-color: #F6B625;
}

#footer {
    /*background: url(/wp-content/themes/absolut-impact/assets/images/footer_bg2_small.svg) #F6B625 no-repeat bottom left/contain;*/
    /*height: calc(100vw * 0.18);*/
    background: url(/wp-content/themes/absolut-impact/assets/images/footer_bg2_small.svg) #F6B625;
    height: 160px;
    position: relative;
}

#footer .bottom {
    color: #FFFFFF;
    font-size: 12px;
    position: absolute;
    width: 100%;
    bottom: 10%;
}

#footer .social ul {
    list-style: none;
}

#footer .social ul li {
    display: inline-block;
}



/***/

ul.impact-list {
    padding: 40px;
    /*border-left: #f5b625 solid 10px;*/
    /*border-radius: 40px;*/
    /*background-color: #eeeeee;*/
    list-style-image: url("assets/images/list01_yellow.png") !important;
}
ul.impact-list li{
    margin-bottom: 20px;
}

#page_partner .panel.panel-default, #page_faq .panel.panel-default{
    background-color: #eee;
    margin-bottom: 20px;
    border-bottom-right-radius: 60px;
    border-bottom: 10px solid #009ad3;
    position: relative;
}
#page_partner .panel.panel-default a h4, #page_faq .panel.panel-default a h4{
    font-size: 16px;
    color: #003958;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}
#page_partner .panel.panel-default a:hover h4, #page_faq .panel.panel-default a:hover h4{
    color: #009ad3;
}
#page_partner .panel.panel-default a:hover, #page_faq .panel.panel-default a:hover{
    text-decoration: none;
}
#page_partner .panel-body .row, #page_faq .panel-body .row{
    padding: 40px 20px;
    border-bottom: 1px solid #fff;
}
#page_partner .panel-body .row:last-of-type #page_faq .panel-body .row:last-of-type{
    border-bottom: none;
}
#page_partner .logo{
    border-top-right-radius: 150px;
    background-color: #ffffff;
    border-right: #009ad3 6px solid;
}
.panel_btn {
    position: absolute;
    bottom: -5px;
    text-align: center;
    /* width: 100%; */
    background-color: #009ad3;
    color: #fff;
    padding: 0 10px;
    border-top-left-radius: 20px;
    border-right: 1px solid #fff;
    border-top: 1px solid;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}
#page_faq .panel_btn{
    bottom: 0;
}
.faq_num {
    font-size: 32px;
    text-align: center;
    font-weight: bold;
    color: #003958;
    background-color: #fff;
    width: 100%;
    border-top-right-radius: 80px;
    padding: 22px 0;
    border-right: 8px solid #009ad3;
}

.impact_boxrow_1{
    background-color: #0199d3ab;
    border-top-left-radius: 120px;
    border-bottom-right-radius: 120px;
    margin: 20px 0;
    padding: 40px;
}
.impact_boxrow_2{
    background-color: #f6b800;
    border-top-right-radius: 120px;
    border-bottom-left-radius: 120px;
    margin: 20px 0;
    padding: 40px;
}
.impact_boxrow_1 h4, .impact_boxrow_2 h4{
    color: inherit !important;
    text-decoration: underline;
    /* text-decoration-color: #fff; */
    text-decoration-style: dotted;
}
.impact_boxrow_1 img, .impact_boxrow_2 img{
    height: auto !important;
}


@media (min-width: 768px) {
    .container {
        max-width: 100%;
    }
    .mobile .header_logo {
        margin: 10% 0 0 10%;
    }
    .mobile .header_logo2{
        margin: 15% 0 0 10%;
    }
    h1 {
        font-size: 50px;
    }
    h2 {
        font-size: 40px;
        line-height: 1.4;
    }
    h3 {
        font-size: 30px;
    }
    h4 {
        font-size: 24px;
        line-height: 1.4;
    }
    h4.incipit {
        margin-top: 20px;
    }
    h5 {
        font-size: 14px;
        line-height: 1.5;
    }
    h5.title {
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 2px !important;
        margin: 40px 0;
    }

    h5.news_excerpt {
        margin: 26px 0 4px;
    }
    .infografica_m .cta_btn{
        top: -50px;
    }
    #cta_webgis_mobile {
        height: auto;
    }
    #page_partner .panel.panel-default a h4, #page_faq .panel.panel-default a h4{
        font-size: 20px;
    }
    .panel_btn{
        bottom: 0;
    }
    .panel_btn:hover{
        bottom: -4px;
    }


    /*
        news (desktop)
    */
    #page_news .post_date {
        font-size: 24px;
        background: #009ad3;
        border-bottom-right-radius: 50%;
        width: 100px;
        height: 100px;
        text-align: center;
        padding-top: 28px;
        float: left;
        /*margin-right: 30px;*/
        color: #fff;
        line-height: .1em;
        margin-left: 1px;
    }

    .page-link {
        position: relative;
        display: block;
        padding: .5rem .75rem;
        margin-left: -1px;
        line-height: 1.25;
        color: #009ad3;
        background-color: #fff;
        border-left: 1px dotted #009ad3;
    }
    #page_news .post_content{
        margin-left: 130px;
    }

    .dir-rtl{
        direction: rtl !important;
    }

}

@media (min-width: 992px) {
    body.position-fixed{
        position: relative !important;
    }
    .container {
        max-width: 86%;
    }

    .main_menu {
        font-size: 14px;
    }

    .top_menu {
        font-size: 14px;
    }
    .header_logo {
        max-width: 25%;
    }
    .new_preview {
        border-right: 7px solid #f2f2f2;
        border-left: 7px solid #f2f2f2;
    }

    .new_preview:first-of-type {
        border-left: none;
    }

    .new_preview:last-of-type {
        border-right: none;
    }

    #footer .bottom {
        font-size: 16px;
    }
    ul.impact-list {
        padding: 60px 80px;
    }
}

@media (min-width: 1200px) {
    body {
        font-size: 20px;
    }

    .container {
        max-width: 85%;
    }

    .main_menu {
        font-size: 16px;
    }

    #hp_news .news_wrap {
        min-height: 400px;
    }

    ul.impact-list {
        /*width: 70%;*/
    }
}

@media (min-width: 1600px) {
    /*.logomenu{*/
    /*    margin-top: calc((100vw * 0.28) * 0.1);*/
    /*}*/
}

.form-row {
    display: block !important;
}