body, html {
    width: 100%;
    height: 100%;
    font-family: 'IBM Plex Serif', serif, Times, helvetica, Tahoma, sans-serif, sans, Verdana;
    font-size: 14px; 
    font-weight: 400;
    background-color: #ffffff;
    color: #000000;
}

.chiudi {
    clear: both;
    height: 0px;
}

.sizing {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

strong {
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.flexdiv {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;    
}

.flexdivcenter {
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

.flexdivacapo {
    flex-flow: row wrap;
    justify-content: space-between;
}

.flexdivacapoleft {
    flex-flow: row wrap;
}

.flexdivsmart {
    flex-flow: row wrap;
    justify-content: space-between;
}

.neroavviso {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0, 0.7);
}

.nero {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0, 0.5);
}


.nero p {
    position: relative;
    width: 100%;
    text-align: center;
}

.content_cnt {
    position: relative;
    width: 95%;
    margin: 0 auto;
}

.top {
    position: relative;
    width: 100%;
    height: 100px;
    background-color: #ffffff;
}

.top img {
max-height: 100%;
}

.col_sx {
    position: relative;
    width: 25%;
    height: auto;
    float: left;
    display: none;
}

.col_sx img {
    max-width: 100%;
}

.menu_sx {
    position: relative;
    width: auto;
    height: auto;
    padding-top: 50px;
    font-family: 'Montserrat', sans-serif;
}

.menu_sx a {
    display: block;
    color: #575756;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.menu_sx a:hover {
    font-weight: 700;
}

.menu_sx a.menu_sxactive {
    font-weight: 700;
}

.submenu {
    padding-bottom: 15px;
    font-weight: 300;
}

.submenu a {
    margin-left: 10px;
    margin-bottom: 7px;
}

.submenu a:hover {
    font-weight: 700;
}

.lang {
    padding-top: 30px;    
}

.lang a {
    display: inline-block;
}

.col_dx {
    position: relative;
    width: 100%;
    height: auto;
    float: right; 
}

.contintro {
    padding-top: 17%;
    font-size: 1.3em;
    line-height: 25px;
    text-align: justify;
    padding-bottom: 30px;
    border-bottom: 1px solid #000000;
}

.contintro img {
    max-width: 100%;
    padding-bottom: 20px;
}

.contintropage {
    padding-top: 20px;
    font-size: 1.3em;
    line-height: 25px;
    text-align: justify;
    padding-bottom: 50px;
    /*border-bottom: 1px solid #000000;*/
}

.contintropage h4 {
    font-family: 'Montserrat', sans-serif;
    color: #575756;
    font-size: 0.8em;
    padding-bottom: 10px;
}

.contintropage img {
    max-width: 100%;
    padding-bottom: 20px;
}

.contintropage a { color: #000000; }

.contintropage li {
    margin-left: 30px;
    list-style: disc;
}

.rigahome {
    position: relative;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 70px;
    border-bottom: 1px solid #000000;
}

.rigahome a {
    font-size: 1.7em;
    font-family: 'Montserrat', sans-serif;
    color: #575756;
}

.img_boxhome {
    position: relative;
    width: 40%;
    height: 150px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    float: left;
}

.txt_boxhome {
    position: relative;
    width: 55%;
    height: auto;
    float: right;
}

.linkresthome {
    padding-top: 20px;
}

.linkresthome a {
    display: block;
    font-size: 1em;
    padding: 5px 0px;
}

.angolo {
    position: absolute;
    width: 50px;
    height: 100px;
    bottom: 0;
    left: 0;
    background-size: contain;
    background-position: bottom left;
    background-repeat: no-repeat;
}

.bandaportfoliohome {
    position: relative;
    width: 100%;
    height: auto;
    padding: 10px 20px;
    background-color: #1f276b;
    color: #ffffff;
    text-align: right;
    margin-top: 50px;
}

.bandaportfoliohome a {
    color: #ffffff;
    font-size: 1em
}

.footer {
    margin-top: 50px;
    border-top: 1px solid #000000;
    padding: 20px 0px;
    color: #575756;
}

.footer a {
    color: #575756; 
}

.footer a:hover {
    color: #1f276b;
}

.float_lft { float: left; }
.float_rgt { float: right; }

/* arrow up */
#back-top {
    bottom: 30px;
    margin: 0;
    position: fixed;
    right: 22px;
    z-index: 999;
}
#back-top a {
    color: #000000;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: all 1s ease 0s;
    width: 40px;
}
#back-top span {
    display: block;
    height: 50px;
    margin: 0 auto 10px;
    transition: all 1s ease 0s;
    width: 50px;
    line-height: 50px;
    /*background-color: #3ec7c2;*/
    border-bottom: 4px solid #000000;
    
}

#back-top span:hover {
    background-color: #cccccc;
    color: #ffffff;
}

/* icona responsive */

.contieniicona {
    position: absolute;
    background:#1f276b;
    display:inline-block;
    border-radius:500px;
    position: absolute;
    padding:10px;
    cursor:pointer;
    top: 20px;
    right: 0;
    display: block;
}
.icocircle {
    width:30px;
    height:30px;
    position:relative;
}
.icoline {
    position: absolute;
    height: 3px;
    width:100%;
    background:white;
    border-radius:8px;
    transition: all cubic-bezier(0.26, 0.1, 0.27, 1.55) 0.35s;
}
.icotop {
    top:24%;
}
.icomiddle {
    top:48%;
}
.icobottom {
    top:70%;
}
.icoicon.icoclose .icotop {
    transform:rotate(45deg);
    top:48%;
}
.icoicon.icoclose .icomiddle, .icoicon.icoclose .icobottom {
    transform:rotate(-45deg);
    top:48%;
}

.menucomparsa {
    width: 80%;
    padding: 20px;
    height: auto;
    min-height: 100%;
    right: 100%;
    position: fixed;
    z-index: 9999999;
    /*background-color: #1b1b1b;*/
    background-color: #ffffff;
    /*top: 100px;*/
    text-align: left;
    z-index: 90;
}

.menucomparsa ul {
    width: auto;
    padding-top: 10px;
}

.menucomparsa li {
    display: block;
    height: 35px
}
.menucomparsa li a {
    position: relative;
    width: auto;
    padding: 0px ;
    color: #000000;
    font-size: 1.1em;
}

.menucomparsa li a:hover {
    /*color: #04c4d9;*/
    color: #60869f;
}

.menucomparsa li a:after {
    position: absolute;
    content: '';
    width: 30px;
    bottom: -15px;
    left: 0%;
    /*border-bottom: solid 1px #04c4d9;*/ 
    border-bottom: solid 1px #60869f;
    transform: scaleX(0);  
    transition: transform 350ms ease-in-out;
}

.menucomparsa li a:hover:after { transform: scaleX(1); }

.menucomparsa a.menutop_active {
    color: #60869f;
}

.menucomparsa a.menutop_active:after {
    position: absolute;
    content: '';
    width: 30px;
    bottom: -15px;
    /*border-bottom: solid 1px #04c4d9;*/ 
    border-bottom: solid 1px #60869f;
    transform: scaleX(1);
}

.titpage {
    position: relative;
    width: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    padding: 20px 0px 0px 40px;
    font-family: 'Montserrat', sans-serif;
    color: #575756;
    font-size: 1.3em;
    margin-bottom: 50px;
}

.rigapage {
    position: relative;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 70px;
    /*border-bottom: 1px solid #000000;*/
}

.titpage2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    padding: 50px 0px;
    border-top: 1px solid #000000;
}

.titsub {
    position: relative;
    float: left;
    width: 25%;
    height: auto;
    text-align: right;
    font-size: 1em;
    font-weight: 500;
    padding-right: 30px;
}

.descsub {
    position: relative;
    float: right;
    width: 75%;
    height: auto;
    font-family: 'Montserrat', sans-serif;
    color: #575756;
    line-height: 20px;
    padding-bottom: 30px;
    text-align: justify;
}

.contpdfbio {
    position: relative;
    padding-top: 20px;
    padding-left: 20px;
    font-family: 'Montserrat', sans-serif;
    border-top: 1px solid #000000;
}

.contpdfbio img {
    float: left; 
    padding-right: 30px;

}

.linkbio {
    float: left;
    font-size: 1.4em;
    padding-top: 10px;
}

.linkbio a {
    color: #575756;
}

.linkbio a:hover {
    color: #971d2e;
}

.settoriint {
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 100px;
    font-size: 1.2em;
}

.rigarest {
    position: relative;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 70px;
    border-top: 1px solid #000000;
    font-size: 1.7em;
}



.rigarest a {    
    font-family: 'Montserrat', sans-serif;
    color: #575756;
}

.titrest {
    color: #1f276b;
    padding-bottom: 30px;
}

.imgrest {
    position: relative;
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center center;
}

.bandaportfolio {
    position: relative;
    width: 100%;
    height: auto;
    padding: 10px 20px;
    background-color: #1f276b;
    color: #ffffff;
    text-align: right;
    margin-top: 50px;
}

.bandaportfolio a {
    color: #ffffff;
    font-size: 1.5em;
    font-family: 'Montserrat', sans-serif;
}

.titsubinterne {
    width: 7%;
}

.descsubinterne {
    float: left;
    width: 93%;
}

.descsubinterne100 {
    width: 100%;
}

.img0 {
    position: relative;
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center center;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3stransi ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.img1 {
    position: relative;
    width: 100%;
    float: left;
    height: 300px;
    background-size: cover;
    background-position: center center;
    margin-bottom: 20px;
}

.img2 {
    position: relative;
    width: 100%;
    float: right;
    height: 300px;
    background-size: cover;
    background-position: center center;
}

.descserv {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0, 0);
    text-align: center;
    padding: 50px;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3stransi ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.descserv p {
    width: 100%;
    height: auto;
    text-align: center;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3stransi ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    opacity: 0;
    line-height: 20px;
}

.descserv:hover {
    background: rgba(0,0,0, 0.7); 
}

.descserv:hover p {
    opacity: 1;
}

.menuportfolio {
    position: relative;
    /*padding-bottom: 30px;*/
    width: auto;
    height: auto;
}

.menuportfolio a {
    display: inline-block;
    width: calc(25% - 10px);    
    margin: 0px 5px;
    text-align: center;
    color: #ffffff;
    padding: 5px 0px;
    font-size: 0.8em;
   border-bottom: 2px solid #ffffff;
}

.menuportfolio a:hover {
     border-bottom: 2px solid #575756;
}

.menuportfolio a.activeport {
    border-bottom: 2px solid #575756;
}

.menuportfolio a p {
    display: block;
    width: 100%;
    height: auto;
    padding: 5px 0px;
    background-color: #575756;
}

hr {
    border: 0px;
    border-bottom: 1px solid #575756;   
}

.classmenufoto {
    background-color: #dd9808 !important;
}

.classmenuopere {
    background-color: #971d2e !important;
}

.classmenulucidi {
    background-color: #1f276b !important;
}

.fancybox-caption {
    text-align: center;
}

.linkinsta {
    width: 100%;
    height: auto;
}

.linkinstahome {
    width: 100%;
    height: auto;
}

.box_insta {
    position: relative;
    width: 100%;
    height: auto;    
    /*float: left;*/
    padding: 10px;
    border:1px solid #ffffff;
    color: #000000;
    line-height: 20px;
    font-size: 0.8em;
    text-align: left;
    word-wrap: break-word;
}

.box_insta_img {
    position: relative;
    width: 100%;
    height: 300px;  
    background-size: cover;
    background-position: center center;
    margin-bottom: 20px;    
}

.box_insta_img_home {
    position: relative;
    width: 100%;
    height: 200px;  
    background-size: cover;
    background-position: center center;
    margin-bottom: 20px;    
}