/*
Theme Name:     1522
Theme URI:      http://www.lift-d.com
Description:    Tema per il sito ufficilae del 1522
Author:         Lift-d
Author URI:     http://www.lift-d.com
Template:       typology
Version:        0.1.0
*/
/*@import "assets/css/fontawesome.min.css";*/
@import "assets/css/brands.min.css";
@import "assets/css/v4-shims.min.css";
@import "assets/css/v4-font-face.min.css";

@font-face {
  font-family: 'Pangram';
  src: url('./assets/fonts/Pangram-Regular.eot'); /* IE9 Compat Modes */
  src: url('./assets/fonts/Pangram-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./assets/fonts/Pangram-Regular.woff') format('woff'), /* Modern Browsers */
       url('./assets/fonts/Pangram-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('./assets/fonts/Pangram-Regular.svg') format('svg'); /* Legacy iOS */

  font-style:   normal;
  font-weight:  400;
}

@font-face {
  font-family: 'Pangram ExtraBold';
  src: url('./assets/fonts/Pangram-ExtraBold.eot'); /* IE9 Compat Modes */
  src: url('./assets/fonts/Pangram-ExtraBold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./assets/fonts/Pangram-ExtraBold.woff') format('woff'), /* Modern Browsers */
       url('./assets/fonts/Pangram-ExtraBold.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('./assets/fonts/Pangram-ExtraBold.svg') format('svg'); /* Legacy iOS */

  font-style:   normal;
  font-weight:  700;
}

.gotovideo{
    position: absolute;
    top: 60%;
    right: 10px;
    text-decoration: underline !important;
    font-size: 14px;
    color: black;
}

@media (max-width: 1024px) {
    .gotovideo{
        display: none;
    }
}

.typology-header-sticky .gotovideo{
    display: none;
}

.wpml-ls-native {
    display: none !important;
}

.wpml-ls-item-ar .wpml-ls-native{
    display: block !important;
    color: #196B32 !important;
    padding-left: 0px !important;
    padding-top: 0px !important;
}

li.menu-item-wpml-ls-4-ar ul.sub-menu .wpml-ls-native{
    display: none !important;
}

.wpml-ls-item-ar .wpml-ls-flag{
    display: none !important;
}
.wpml-ls-item-ar ul.sub-menu .wpml-ls-flag{
    display: block !important;
}


.wpml-ls-item ul.sub-menu{
    width: 100px !important;
}

/*.wpml-ls-item ul.sub-menu .wpml-ls-item-ar .wpml-ls-native{
    padding-top: 13px !important;
}*/

body,
body p,
.post-date-month
{
    font-family: 'Pangram' !important;
}
h1,
h2,
h3,
h4,
h5,
h6,
.typology-button-social,
input[type="submit"],
a.mks_button,
.cover-letter,
.post-letter,
.comment-author .fn,
.typology-layout-b .post-date-day {
    font-family: 'Pangram ExtraBold' !important;
}

h2.entry-title,
h1.entry-title{
    min-height: 100px;
}

.typology-layout-b  h2.entry-title
{
    min-height: inherit;
}

.typology-cover h1{
    font-size: 4.825rem;
}


#typology-header{
    background: rgba(255, 255, 255, 0.9);
    /*top: 50px;*/
}

#typology-header{
    top: 0px !important;
}
#typology-header.cavLog{
    top: 56px !important;;
}

.page-id-355 .mks_accordion_heading i{
    display: block;
}

.bar__msg{
    background: #8C9492;
    width: 100%;
    height: 50px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 9002;
}
.single #typology-header,
.page #typology-header,
.category #typology-header,
.archive #typology-header,
.search-results #typology-header{
    background: #FFE8ED;
}

.mks_accordion_heading{
    color: #FF204D;
    font-weight: bold;
}

.mks_accordion_heading span{
    margin-right: 20px;
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #FF204D;
    border-radius: 50%;
    position: relative;
    text-align: center;
    cursor: pointer;
    line-height: 36px;
    color: white;
}

html[dir='rtl'] .mks_accordion_heading span{
    margin-right: 0px;
    margin-left: 20px;
}

.mks_accordion_item {
    border-color: #BFBFBF;
    border-radius: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid #BFBFBF;
    float: left;
    width: 100%;
}

.mks_accordion_content{
    border: none;
}

.mks_accordion{
    border-bottom: none;
}



.page-template-template-decalogo .section-content{
    margin-bottom: 30px;
}

.typology-fake-bg .typology-section:first-child {
    /*top: -109px;*/
        top: -88px;
}

.typology-button{
    font-family: 'Pangram ExtraBold' !important;
}

.typology-cover-item .typology-button.pocket{
    display: none;
}

.typology-header .typology-nav {
    font-family: 'Pangram';
    font-weight: 400;
    text-transform: none;
    font-size: 15px;
}

.typology-header .typology-nav a{
    font-size: 15px;
}

.post-letter{
    color: #FFE8ED;
    z-index: -1;
    top: 30%;
}


.typology-responsive-menu ul.social{
    list-style-type: none;
    margin-bottom: 15px;
}
.typology-responsive-menu ul.social li{
    display: inline-block;
    margin-right: 0px;
}

.typology-responsive-menu ul.social li a{
    color: #FF204D;
}

.typology-responsive-menu ul.social li:first-child{
    padding-left: 0px;
}

.typology-responsive-menu ul.social li:before{
    content: none;
}

.cover-letter{
    display: none;
}

.typology-cover-overlay:after{
    /*background: linear-gradient(-180deg, #FFFFFF 0%, #FFB9C7 100%);
    opacity: 0.8;*/
}

.typology-cover-empty {
    height: 330px;
    min-height: 209px;
    /*background-image: linear-gradient(-180deg, #FFFFFF 0%, #FFB9C7 100%);*/
    /*background: rgba(255,32,77,0.6);*/
    background: #FFE8ED;
}

.typology-cover .meta-item,
.typology-cover .meta-item a{
    /*color: black;*/
}

.typology-cover .typology-button {
    /*color: white;*/
}

.typology-header-sticky{
    background: #FAFAFA;
    box-shadow: 0 2px 15px 0 rgba(0,0,0,0.10);
}

.typology-header-sticky .typology-nav > li > a{
    color: black;
}

.typology-nav > li.search{
    height: auto;
}
.typology-nav > li.search > a{
    font-size: 0px;
    background: url(./assets/img/search-ico.svg);
    width: 12px;
    height: 12px;
    background-size: 12px 12px;
    background-repeat: no-repeat;
    padding: 0px;
    margin-top: 5px;
}

.typology-nav > li.search:hover > a{
    background: url(./assets/img/search-ico.svg) !important;
    box-shadow: none !important;
}

.typology-pagination .load-more a{
    background: transparent;
    border: 2px solid #FF204D;
    color: #FF204D;
    font-family: 'Pangram ExtraBold' !important;
}

.typology-pagination .load-more-active a{
    background: #FF204D;
}

.typology-footer .widget{
    max-width: 100%;
}

.typology-footer .widget:only-of-type{
    margin-bottom: 5rem;
}

.typology-footer .widget img{
    margin-bottom: 45px;
}

.typology-footer .widget p {
    margin: 0 0 .6rem;
}

.typology-footer a,
.typology-footer .widget .textwidget a,
.typology-footer a:hover,
.typology-footer .widget .textwidget a:hover{
    /*border: none;*/
}

.typology-footer .widget .textwidget ul{
    margin-top: 30px;
    list-style-type:none;
}

.typology-footer .widget .textwidget ul li{
    display: inline-block;
    margin-right: 15px;
}
.typology-footer .widget .textwidget ul li i{
    color: #aaaaaa;
}

.first-level-menu{
    width: 100%;
    margin: 35px auto;
    text-align: center;
    position: relative;
}

.first-level-menu ul.social{
    position: absolute;
    top: 23%;
    right: 0;
    list-style-type: none;
}

.first-level-menu ul.social li{
    display: inline-block;
    margin-right: 10px;
}

.first-level-menu ul.social li i{
    color: #FF204D;
}

.first-level-menu  a.linkAR{
    position: absolute;
    top: 23%;
    left: 0;
    font-size: 14px;
    color: black;
    text-decoration: underline;
}

.first-level-menu img{
    display: inline-block;
    height: 55px;
    width: auto !important;
    max-width: 100%;
}

.first-level-menu .site-title{
    display: inline-block;
}

.first-level-menu .site-title img{
    margin-right: 40px;
}

.slot-c>ul{
    display: block;
}

.typology-header .typology-nav{
    color: black;
    opacity: 1 !important;
}

.typology-header .typology-nav>.current-menu-item{
    background: transparent;
}

.typology-header .typology-nav .current-menu-item  a{
    text-decoration: underline;
}

.typology-header .typology-nav > li > a{
    color: black;
}

.typology-header-sticky .dipartimento,
.typology-header-sticky ul.social,
.typology-header-sticky a.linkAR{
    display: none;
}

.typology-header-sticky .first-level-menu{
    width: auto;
    margin: 50px auto;
    text-align: left;
    margin: 0;
    position: absolute;
    top: 20px;
    left: 0;
}

.typology-header.typology-header-sticky .site-title img {
    max-height: 30px;
}

.typology-header.typology-header-sticky .slot-c{
    right: 0;
    position: absolute;
    z-index: 1001;
    display: table;
    top: 0;
    width: auto;
}

.typology-header.typology-header-sticky .slot-c ul{
    display: table-cell;
    text-align: right;
}

.typology-header.typology-header-sticky .slot-c ul.sub-menu{
    text-align: left;
}

.typology-header .typology-nav>li:hover>a,
.typology-header .typology-nav>li:hover>span{
    background: transparent;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.dipartimento,
.dipartimentoMobile{
    background-image: url("assets/img/logo-dipa-small.png");
    background-repeat: no-repeat;
    width: 233px;
    height: 75px;
    background-size: 233px 75px;
    display: inline-block;
    vertical-align: middle;
}

.dipartimentoMobile{
    margin-bottom: 30px;
}

@media only screen and (min--moz-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {

    .dipartimento{
        background-image: url("assets/img/logo-dipa-big.png");
        background-repeat: no-repeat;
        background-size: 171px  55px;
        display: inline-block;
        vertical-align: middle;
    }

}

.slot-r{
    display: none;
}

.fa-close:before, .fa-remove:before, .fa-times:before {
    content: "\f00d";
    color: black;
}

.typology-sidebar-header{
    background: none;
}

.typology-header .typology-nav i {
    font-size: 2.4rem;
}

.footer__copy{
    text-align: center;
}

.footer__logo{
    width: 316px;
    margin-bottom: 40px;
    margin-right:40px;
}

.footer__dip{
    width: 285;
    margin-bottom: 40px
}

.white-popup {
  position: relative;
  background: #FFF;
  width: 100%;
  max-width: 955px;
  margin: 20px auto;
  height: 100%;
  display: block;
  box-shadow: 0 2px 15px 0 rgba(0,0,0,0.20);
  height: 700px;
}

.popupReg__login,
.popupReg__reg{
    display: block;
    width: 50%;
    float: left;
    /*text-align: center;*/
    height: 100%;
    padding-bottom: 40px
}

.popupReg__login .wrap,
.popupReg__reg .wrap{
    padding: 40px 100px;
}
.popupReg__reg{
    background: #FFE8ED;
}

.popupReg__login{
    background: #FFFFFF;
}


.popupReg__login .lwa-divs-only .lwa-remember{
    float: left;
}

.popupReg__login .lwa-divs-only .lwa-remember p{
    font-size: 18px;
    color: #FF204D;
    font-family: 'Pangram ExtraBold';
    line-height: 22px;
    text-align: center;
}

.popupReg__login .lwa-divs-only .lwa-remember p:after{
    content: "";
    width: 50px;
    height: 1px;
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.25);
    display: block;
}


.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
  background: white;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

.mfp-content {
    height: 70%;
}

.mfp-close{
    font: normal normal normal 14px/1 FontAwesome;
    color: #FFF;
    opacity: .3;
    transition: all .2s ease-in-out;
    right: 10px;
    top: 18px;
}
.popupReg__reg .lwa .lwa-register {
    display: block;
}

#popupReg .titleAct,
#loginModal .titleAct{
    font-size: 18px;
    color: #FF204D;
    font-family: 'Pangram ExtraBold';
    line-height: 22px;
    text-align: center;
}

#popupReg .titleAct::after,
#loginModal .titleAct::after{
    content: "";
    width: 50px;
    height: 1px;
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.25);
    display: block;
}

#popupReg form label,
#loginModal form label{
    text-align: left;
    margin-bottom: 0px;
}

.popupReg__reg label{
    width: 100%;
}

.lwa-divs-only .lwa-submit-button, .lwa-divs-only .lwa-links, .lwa-submit-button {
    margin-top: 20px;
}

a.lwa-links-remember{
    float: right;
    margin-top: 15px;
}

.lwa-status-invalid {
    background-color: transparent;
    border: 2px solid #FF0B3B;
    border-radius: 0px;
    color: #FF0B3B;
    text-align: center;
    line-height: normal;
}

.lwa-status-confirm{
    border: 2px solid #4cae4c;
    background-color: transparent;
    text-align: center;
    line-height: normal;
    color: #4cae4c;
}

.lwa-divs-only input[type="text"] {
    margin: 0;
}
#popupReg form p,
#loginModal form p{
    margin-bottom: 10px;
}

.popupReg__reg .lwa-loading{
    background-color: #FFE8ED;
}

#popupReg form button[type="submit"],
#loginModal form button[type="submit"]{
    font-size: 16px;
    font-family: 'Pangram ExtraBold';
}

#popupReg form .load-more-active button[type="submit"],
#loginModal form .load-more-active button[type="submit"],
.load-more-active button#newannuncio{
    opacity: .3;
    pointer-events: none;
    color: #FF204D;
}

.submitForm{
    margin-top: 20px;
    position: relative;
    display: block;
    text-align: center;
}

.typology-featured-image {
    margin-top: 3.6rem;
}

.section-social-post,
.oval_container{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.oval{
   width: 212px;
   height: 212px;
   background-image: linear-gradient(-180deg, #FFFFFF 0%, #FF204D 100%);
   border-radius: 50%;
   margin: 0px auto 40px auto;
   position: relative;
   display: block;
}

.oval img{
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.ico_btn{
    display: none;
}

.section-social-post .facebook,
.section-social-post .twitter{
    text-align: center;
}

.section-social-post blockquote:before,
.section-social-post blockquote:after{
    content: none;
}

.response{
    background-color: transparent;
    border: 2px solid #FF0B3B;
    border-radius: 0px;
    color: #FF0B3B;
    text-align: center;
    line-height: normal;
    margin: 0px 0px 5px;
    padding: 10px 10px;
    display: none;
}

.page-template-template_msg_1522 .section-content{
    max-width: 100%;
}

.page-template-template_msg_1522 .typology-section{
    padding-top: 0px;
}

#fep-wrapper {
    margin: 0px
}

#fep-header{
    border: none;
    text-align: center;
    font-size: 18px;
}

#fep-header p {
    margin: 20px 0px;
}

#fep-header strong{
    font-size: inherit;
    color: #FF204D;
    font-family: 'Pangram ExtraBold' !important;
    font-weight: normal;
}

#fep-menu{
    padding: 20px 100px;
    border-top: 1px solid #BFBFBF;
}

.padding{
    padding: 20px 50px;
    /*border-top: 1px solid #BFBFBF;*/
}

.menu_custom{
    display: inline-block !important;
    /*min-width: 175px;*/
}

.menu_custom .fep-button,
.fep-button{
    height: 40px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    padding: 0 20px;
    line-height: 38px;
    min-width: 160px;
    font-size: 1.1rem;
    outline: 0;
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
    border-radius: 0px;
    background: white;
    border: 2px solid #ff204d;
    color: #ff204d !important;
    text-transform: uppercase;
    font-family: 'Pangram ExtraBold' !important;
    margin-top: 0px;
}

.menu_custom .fep-button{
    background: #ff204d;
    color: white !important;
    border: 2px solid #ff204d;
}

.menu_custom .fep-button:hover{
    -webkit-box-shadow: 0 10px 20px 0 rgba(1,1,1,.15);
    box-shadow: 0 10px 20px 0 rgba(1,1,1,.15);
}

.ctm input[type=text] {
    width: 135px;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid black;
    font-size: 16px;
    background-color: white;
    background: url(./assets/img/search-ico.svg);
    background-position: 10px 18px;
    background-repeat: no-repeat;
    padding: 8px 20px 2px 31px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

.typology-header-sticky form.ctm,
.typology-sidebar form.ctm{
    display: none;
}

.ctm  input[type=text]:focus {
    /*width: 100%;*/
}

.ctm  input[type=text]::-webkit-input-placeholder{
     color: black;
}
.ctm  input[type=text]::-moz-placeholder{
     color: black;
}
.ctm  input[type=text]:-ms-input-placeholder{
    color: black;
}
.ctm  input[type=text]:-moz-placeholder{
    color: black;
}
.ctm  input[type=text]::placeholder {
  color: black;
}


button[type=submit].fep-button{
    margin-left: 20px;
}
a.fep-menu {
    color: #ff204d;
    background: #ffffff;
    border: 1px solid #ffffff;
}

span.lowercase{
    text-transform: lowercase;
}

.selectContainer {
    background: #f9f9f9 url(./assets/img/select-down.svg) no-repeat 90% 50%;
    overflow: hidden;
    height: 40px;
    border: 1px solid #BFBFBF;
}

.fep-bulk-action select,
.fep-action-table select{
    border-radius: 0px;
    border: none;
    color: #BFBFBF;
    margin-top: 0px;
    -webkit-appearance: none;
    line-height: normal;
    background: transparent;
    background-image: none;
}


.fep-action-table > div > div {
    vertical-align: top;
}

.fep-odd-even > div:nth-child(odd){
    background-color: #FDDEE5;
}

.fep-odd-even > div:nth-child(even) {
    background-color: #F7F7F7;
}

.fep-table .fep-column{
    padding: 20px 40px 20px 0px;
    line-height: 14px;
}

.fep-message-table .fep-message-author{
        font-size: 13px;
}

.fep-message-table .fep-message-date{
    font-size: 13px;
    color: #AAAAAA;
    margin-top: 5px;
}

.fep-message-table .fep-message-excerpt{
    font-size: 14px;
    color: #222222;
    opacity: 1;
    margin-top: 5px;
}

.fep-unread-classp{
    display: none;
}

 .fep-message-table .fep-column-title a{
     text-decoration: none;
     border-bottom: none;
     line-height: normal;
 }
.fep-table.msgs{
    border-top: 1px solid #BFBFBF;
}

.fep-table .fep-column:first-child{
    padding-left: 128px !important;
}
.fep-table .fep-column:last-child{
    padding-right: 128px !important;
}

.typology-header .typology-nav a,
.typology-header .typology-nav span{
    padding: 13px 12px;
}

.footer__copy ul li a{
    border: none !important;
}

.language-menu{
    position: absolute;
    top: 60%;
    left: 0;
}

.language-menu ul{
    list-style-type: none;
    padding-left: 0px;
}

.language-menu ul li{
    display: inline-block;
    margin-right: 10px;
}

.typology-header-sticky .language-menu{
    display: none;
}


/* HEADER PER UTENTI LOGGATI */
#fep-footer{
    border: none;
}

.fep-error,
.fep-success,
.fep-wp-error{
    background-color: #ff204d;
    border-color: #ff204d;
    color: white;
    border-radius: 0px;
    padding: 0.75em;
    margin: 0 auto;
    display: block;
    text-transform: uppercase;
    width: 100%
}

.fep-success {
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.fep-error a,
.fep-success a,
.fep-wp-error a{
    color: white;
}

.fep-message-table .fep-error,
.fep-message-table .fep-success,
.fep-message-table .fep-wp-error{
    max-width: 92%
}
.page-template-template_msg_1522 .fep-wp-error{
    max-width: 92%;
    margin-top: 20px;
}

.history .fep-success{
    float: left;
}

.fepMsg{
    border: none;
    margin: 0;
    padding: 0;
}

.fepMsgItem .avatar img{
    margin-right: 10px;
    width: 32px !important;
    height: 32px;
    max-width: 32px;
}


.front-end-pm-form{
    float: left;
    width: 100%;
}

.fep_form_container{
    padding: 20px 100px;
    float: left;
    width: 100%;
    height: 100%
}


.fep_form_container .fep-form-field{
    margin-bottom: 20px;
}

.fep_form_container button[type=submit].fep-button{
    margin-left: 0px;
}

.fep_form_container .mks_accordion_item.pull-right{
    max-width: 80%;
    float:right;
}

.fep_form_container .mks_accordion_item.otherColor{
    background: #eee;
}

.entry-content input[type=text]:disabled{
    background: #eee;
    cursor: not-allowed;
}


.fep_form_container .mks_accordion .conversazioneId{
    font-size: 11px;
    color: #BFBFBF;
    text-transform: uppercase;
}


.header__fpm{
    background-image: linear-gradient(-180deg, #848C8A 0%, rgba(132,140,138,0.00) 100%);
    background: rgb(140,148,146);
    color: white;
    position: fixed;
    top:0;
    left:0;
    padding: 15px 0px;
    width: 100%;
    z-index: 9002;
    font-size: 14px;
}


.header__fpm a{
    color: white;
}

.header__fpm .container{
    position: relative;
}

.header__fpm ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: absolute;
    right: 0;
    top: 0;
}
.header__fpm ul li{
    display: inline-block;
    margin-right: 35px;
}
.header__fpm ul li:last-child{
    margin-right: 0px;
}
.header__fpm ul li img{
    margin-right: 10px;
}
.header__fpm ul li a{
    text-decoration: none;
}
.header__fpm ul li a i.bubbleIcon{
    width: 25px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}
.header__fpm ul li a i.bubbleIcon.red{
    background-image: url("./assets/img/fpmiconred.svg");
    margin-right: 10px;
}
.header__fpm ul li a i.bubbleIcon.pink{
    background-image: url("./assets/img/fpmiconpink.svg");
    margin-right: 10px;
}

.page-template-template_msg_1522 .typology-header.typology-header-sticky,
.page-template-template-bacheca-privata-news .typology-header.typology-header-sticky{
    min-height: 76px;
}

.page-template-template_msg_1522 .typology-header.typology-header-sticky .slot-c,
.page-template-template-bacheca-privata-news .typology-header.typology-header-sticky .slot-c{
    padding-top: 20px;
}
.page-template-template_msg_1522 .typology-header-sticky .first-level-menu,
.page-template-template-bacheca-privata-news .typology-header-sticky .first-level-menu{
    z-index: 1002;
}

span.greenball{
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #89E676;
    left: 5%;
}

@media (min-width: 684px){
    h5.marginNegative{
        margin-top: -60px;
    }
}

@media (max-width: 1024px){

    span.greenball{
        width: 12px;
        height: 12px;
        left: auto;
        right: 3%;
    }

    .page-template-template_msg_1522 .typology-header.typology-header-sticky,
    .page-template-template-bacheca-privata-news .typology-header.typology-header-sticky{
        display: none;
    }
    .header__fpm{
        top:auto;
        bottom: 0;
    }
    .header__fpm .container{
        margin-left: 15px;
        margin-right: 15px;
    }
    .header__fpm ul{
        position: relative;
        float: left;
        clear: both;
    }
    .header__fpm ul li{
        margin-bottom: 15px;
    }

    .backToPublic{
        clear: both;
        margin-bottom: 15px;
    }
}

.page-template-template-bacheca-privata .entry-header {
    margin-top: 80px;
}

.page-template-template-bacheca-privata #menu-typology-main{
    display: none;
}

.page-template-template-bacheca-privata .typology-header,
.page-template-template_msg_1522 .typology-header,
.page-template-template-bacheca-privata-news .typology-header{
    height: auto;
}
.page-template-template_msg_1522 .typology-cover-empty,
.page-template-template_msg_centri .typology-cover-empty,
.page-template-template-bacheca-privata-news .typology-cover-empty{
    height: 381px;
}
.menu-privato{
    list-style-type: none;
    margin:25px auto 20px auto;
    padding: 0;
    display:block;
    background: #FFE8ED;
}

.menu-privato a.fep-button{
    background: transparent;
}

.menu-privato a.fep-button:hover{
    background: #ff204d;
    color: white !important;
}

.menu-privato a.fep-button.active{
    background: #ff204d;
    color: white !important;;
}

.menu-privato li{
    display: inline-block;
    margin-right: 20px;
}

.menu-privato li:last-child{
    margin-right: 0px;
}

.fep-directory-search-form-div{
    padding: 30px;
}

#fep-directory-search-form input[type=text]{
    margin-bottom: 10px;
}

.fep-table .fep-table-caption{
    margin-bottom: 30px;
}

#fep-header{
    border-bottom: 1px solid #BFBFBF !important;
}


#fep-result{
    width: auto;
    min-width: 300px;
    background: white;
    border: 1px solid #ff204d;
}

#fep-result ul{
    padding: 0px;
}
#fep-result li{
    border-top: solid 1px #ff204d;
    color: #ff204d;
    /*padding-left: 5px;*/
}

#fep-result li:first-child{
    border-top: none;
}

#fep-result li a{
    color: #ff204d;
    border-bottom: none;
}

#fep-result li a:hover{
    background: #ff204d;
    color: white;
}

.menuHidePrivata{
    display: none;
}

@media (max-width: 1030px){
    ul.menu-privato{
        display: none !important;
    }

    .menuHidePrivata{
        display: block;
        position: absolute;
        top: 10px;
        left: 0px;
        z-index: 99999;
    }

    .menuHidePrivata .mks_accordion_item{
        background: white;
    }

    .menuHidePrivata .fa-bars{
        color: #FF204D;
        margin-right: 7px;
    }

    .menuHidePrivata .mks_accordion_item ul{
        list-style: none;
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    .menuHidePrivata .mks_accordion_item ul li{
        list-style: none;
    }
}

.excertp p{
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    font-size: 14px;
    margin-bottom: 0px;
    color: black;
}

.itemContainer{
    display: table;
}

.leftSide{
    display: table-cell;
    vertical-align: top;
    /*width: 16%;*/
}

.rightSide{
    display: table-cell;
    vertical-align: top;
}


.fep-message-content .date{
    font-size: 12px;
    color: #bfbfbf;
}

.mks_accordion_heading.fepMsgItem{
    font-weight: normal;
    font-family: 'Pangram ExtraBold';
}
/* FINE HEADER PER UTENTI LOGGATI */


/* MODIFICHE VISTA MESSAGGI */
.fep_form_container.history{
    padding: 20px 0px;
}

.fep_form_container.history h5{
    margin-bottom: 20px;
    text-transform: none;
}

hr{
    border-top: 1px solid #BFBFBF;
    border-left: none;
    border-right: none;
    border-bottom: none;
    margin: 0px;
}

.msg_item--container{
    padding: 20px 100px;
}

.msg_item{
   /*float: left;
   clear: both;*/
   width: 100%;
}

.msg-table{
    display: table;
}

.msg-table .avatar{
    display: table-cell;
    width: 32px;
    vertical-align: top;
}

 .msg-table .msg_content{
     display: table-cell;
     vertical-align: top;
 }

 .msg-table .msg_content{
     padding-left: 20px;
     vertical-align: top;
 }

 .msg-table .msg_content .author{
    line-height: normal;
    font-family: "Pangram ExtraBold";
    color: #ff204d;
 }

 .msg_item--container.otherColor{
     background: #eee;
 }

.askme-chat-widget.chat-1522 .smallchat{
    /*animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    -moz-animation: bounce 2s infinite;
    -o-animation: bounce 2s infinite;*/
}

.askme-chat-widget.chat-1522.open .smallchat{
    animation: none;
    -webkit-animation: none;
    -moz-animation: none;
    -o-animation: none;
}
@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}
    40% {-webkit-transform: translateY(-30px);}
    60% {-webkit-transform: translateY(-15px);}
}

@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
    40% {-moz-transform: translateY(-30px);}
    60% {-moz-transform: translateY(-15px);}
}

@-o-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
    40% {-o-transform: translateY(-30px);}
    60% {-o-transform: translateY(-15px);}
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}

/* FINE MODIFICHE VISTA MESSAGGI */

@media (max-width: 480px){
.typology-sidebar {
    max-width: 320px;
    padding: 100px 20px 40px;
}
}

@media (min-width: 1024px) {
    .typology-cover-item .entry-header h1, .oval_container{
            margin-top: 10%;
    }

    .home .cover-item-container header.entry-header {
        padding-top: 125px;
    }

    .home header.entry-header p{
        font-size: 1.75rem;
    }
}

@media (max-width: 1024px) {
    /* FIX MENU MOBILE*/
    ul.typology-main-navigation li{
        float: left;
        width: 100%;
    }
    .msg_item--container{
        padding: 20px 10px;
    }

    .slot-r{
        display: block;
        top: 10%;
    }
    .oval {
        width: 180px;
        height: 180px
    }
    .language-menu{
        display: none;
    }

    .manuLanguage ul{
        list-style-type: none;
        margin-bottom: 15px;
    }

    .manuLanguage ul li{
        display: inline-block;
    }

    .manuLanguage ul li:before{
        content: none;
    }

    .manuLanguage ul li:first-child{
        padding-left: 0px;
    }

    .leftSide{
        width: 16%;
    }

    .mks_accordion_heading.fepMsgItem{
        padding: 15px 10px 15px 10px;
    }

    .page-template-template-bacheca-privata-news .section-head h3{
        padding-top: 90px;
    }

    .typology-cover-empty,
    .page-template-template_msg_1522 .typology-cover-empty{
        height: 100px;
        min-height: 200px;
    }

    .fep-table .fep-column:first-child{
        padding-left: 15px !important;
    }
    .fep-table .fep-column:last-child{
        padding-right: 15px !important;
    }
    .backToPublic{
        width: 100%;
    }

    .header__fpm ul li{
        width: 100%;
        float: left;
    }

    .padding {
        padding: 20px 0px;
    }

    .fep-action-table > div > div{
        width: 100%;
    }

    button[type=submit].fep-button{
        margin-left: 0px;
        margin-top: 15px;
        width: 100%;
    }

    .fep-table .fep-column {
        padding: 10px 15px 10px 0px;
    }

    .menu_custom{
        min-width: auto;
    }

    .fep-button{
        margin-bottom: 15px;
    }

    .fep_form_container{
        padding: 20px 0px;
    }

    .fep_form_container .mks_accordion_content p{
        line-height: normal;
    }

    #typology-header.cavLog {
        top: 0px !important;
    }

    #fep-header p{
        margin: 85px 0px 20px 0px;
    }

    p.numberMsg{
        line-height: normal;
    }

    .fep-wp-error{
        text-align: center;
    }

    .fep-directory-search-form-div{
        padding: 30px 0px;
    }

    .fep-table .fep-column a{
        line-height: normal;
    }

    #fep-result{
        width: 100%;
    }

    .padding .fep-table > div{
        display: block;
    }

    .menu_custom .fep-button{
        width: 100%;
    }

    .padding .fep-table > div > div{
        display: block;
    }

}

@media (max-width: 1100px) {
    .first-level-menu img {
        height: 45px;
    }
}

@media (max-width: 1024px) {
    .typology-header {
        height: 90px;
    }
     .first-level-menu{
         width: auto;
         margin: 50px auto;
         text-align: left;
         margin: 0;
         position: absolute;
         top: 20px;
         left: 0;
         z-index: 1001;
     }
     .first-level-menu ul.social,
     #typology-header ul.typology-main-navigation,
     .dipartimento,
     .first-level-menu a.linkAR{
          display: none;
     }

    .typology-responsive-menu {
        display: block !important;
    }

    .widget ul {
        float: left;
        width: 100%;
    }
}



@media (max-width: 769px){
    .white-popup{
        display: block;
    }

    .popupReg__login .wrap,
    .popupReg__reg .wrap{
        padding: 40px;
    }
    .popupReg__login,
    .popupReg__reg{
        display: block;
        width: 100%;
    }

    .page-template-template-bacheca-privata .cover-item-container{
        max-width: 100%;
        width: 100%;
    }
    .oval_container{
        display: block;
    }
    .oval_container .col-lg-4{
        max-width: 100%;
    }

    .oval_container .wrapo{
        margin-bottom: 40px;
    }

    .oval{
        display: none;
    }

    .oval_container .typology-button{
        max-width: 200px;
        width: 100%;
    }

    .oval_container .typology-button img.ico_btn{
        height: 22px;
        float: left;
        margin-top: 8px;
        display: block;
    }

}





@media (max-width: 680px) {
    .first-level-menu img {
        height: 30px;
    }
    .footer__copy img{
        width: auto;
        margin: 35px auto !important;
        height: 35px !important;
        display: block;
    }

    .mks_accordion_heading span{
        float: left;
        margin-bottom: 10px;
    }
    .cover-item-container {
        max-width: 90%;
    }
    h2.entry-title, h1.entry-title {
        min-height: auto;
    }
    .mfp-wrap{
        overflow: scroll;
    }

    .white-popup {
        height: 100%;
    }
    .popupReg__login, .popupReg__reg{
        height: auto;
    }
}
