/*
 *
 * Template Name: IGG
 * Description: Istituto di Geoscienze e Georisorse
 * Author: Abramo Tesoro
 * Author URI: http://www.archicoop.it
 *
 */

body {
    background: #fff;
    text-align: center;
    font-family: sans-serif, 'Titillium';
    color: #444;
    font-size: 12px;
    line-height: 1.5em;
}

/***** Fonts *****/
@font-face {
    font-family: 'Titillium';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/TitilliumWeb-ExtraLight.ttf');
}
@font-face {
    font-family: 'Titillium';
    font-style: italic;
    font-weight: 100;
    src: url('../fonts/TitilliumWeb-ExtraLightItalic.ttf');
}
@font-face {
    font-family: 'Titillium';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/TitilliumWeb-Light.ttf');
}
@font-face {
    font-family: 'Titillium';
    font-style: italic;
    font-weight: 200;
    src: url('../fonts/TitilliumWeb-LightItalic.ttf');
}
@font-face {
    font-family: 'Titillium';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/TitilliumWeb-Regular.ttf');
}
@font-face {
    font-family: 'Titillium';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/TitilliumWeb-Italic.ttf');
}
@font-face {
    font-family: 'Titillium';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/TitilliumWeb-SemiBold.ttf');
}
@font-face {
    font-family: 'Titillium';
    font-style: italic;
    font-weight: 600;
    src: url('../fonts/TitilliumWeb-SemiBoldItalic.ttf');
}
@font-face {
    font-family: 'Titillium';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/TitilliumWeb-Bold.ttf');
}
@font-face {
    font-family: 'Titillium';
    font-style: italic;
    font-weight: 800;
    src: url('../fonts/TitilliumWeb-BoldItalic.ttf');
}
@font-face {
    font-family: 'Titillium';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/TitilliumWeb-Black.ttf');
}

.blue { color: #165294; }
.orange { color: #E15E36; }
.brown { color: #4C1E09; }

a {
    color: #165294;
    text-decoration: none;
    -o-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s; transition: all .3s;
}
a:hover, a:focus { color: #888; text-decoration: none; }

strong { font-weight: bold; }

img { max-width: 100%; height: auto;}

h1, h2 { line-height: 40px; color: #165294; text-transform: uppercase;}
h3, h4 { line-height: 20px; }


h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

p {
    text-align: justify;
}

.ce-bodytext li {
    text-align: justify;
    margin-bottom: 5px;
}

::-moz-selection { background: #165294; color: #fff; text-shadow: none; }
::selection { background: #165294; color: #fff; text-shadow: none; }

/***** Big links / buttons *****/

a.big-link-1 {
    display: inline-block;
    padding: 5px 22px;
    background: #165294;
    color: #fff;
    font-style: italic;
    font-weight: normal;
    text-decoration: none;
    -moz-box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

a.big-link-1:hover {
    -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
}

a.big-link-1:active {
    -moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

a.big-link-2 {
    display: inline-block;
    width: 35px;
    height: 35px;
    padding-top: 6px;
    background: #165294;
    font-size: 20px;
    color: #fff;
    font-weight: normal;
    line-height: 20px;
    -moz-border-radius: 19px; -webkit-border-radius: 19px; border-radius: 19px;
    -moz-box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
}
a.big-link-2 i { vertical-align: middle; }

a.big-link-2:hover {
    background: #5d5d5d;
    -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
}

a.big-link-2:active {
    -moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

a.big-link-3 {
    display: inline-block;
    padding: 5px 22px;
    background: #165294;
    font-size: 18px;
    color: #fff;
    font-style: italic;
    font-weight: normal;
    line-height: 24px;
    text-decoration: none;
    -moz-box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

a.big-link-3:hover {
    -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
}

a.big-link-3:active {
    -moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,.15) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
}

/***** Top menu *****/
.navbar {
    margin-bottom: 0;
    border: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    background-color: #f8f8f8;
}

ul.navbar-nav {
    font-size: 13px;
    font-weight: bold;
    color: #888;
    font-variant: small-caps;
}

ul.navbar-nav li a { padding: 3px 10px; color: #165294; }
ul.navbar-nav li.active a { background: #165294 !important; color: #fff !important; }

ul.navbar-nav li a:hover, ul.navbar-nav li a:focus { font-weight: bold; background: #165294 !important; border-color: #165294; color: #fff !important; outline: 0; }

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
    background: #165294; color: #fff;
}
.nav .open > a i {
    color: #165294;
}
.nav .open > a i,
.nav .open > a:hover i,
.nav .open > a:focus i{
    color: #fff;
}

ul.navbar-nav li a i { line-height: 35px; color: #165294; font-size: 14px; }
ul.navbar-nav li.active a i { color: #fff; }
ul.navbar-nav li a:hover i, ul.navbar-nav li a:focus i { color: #fff; }

.dropdown-menu {
    border: 0;
    -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
    -moz-box-shadow: 0 6px 10px rgba(0, 0, 0, .15); -webkit-box-shadow: 0 6px 10px rgba(0, 0, 0, .15); box-shadow: 0 6px 10px rgba(0, 0, 0, .15);
}

.dropdown-menu > .active > a { background: #fff; color: #165294; }
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus { background: #fff; color: #165294; }

ul.navbar-nav li .dropdown-menu a { padding-top: 5px; color: #165294; padding-bottom: 5px; font-size: 0.9em;}
ul.navbar-nav li .dropdown-menu a:hover,ul.navbar-nav li .dropdown-menu a:focus { color: #fff;}

ul.navbar-nav li.active .dropdown-menu a { background: #fff !important; color: #165294 !important; border: 0;}
ul.navbar-nav li.active .dropdown-menu a:hover,
ul.navbar-nav li.active .dropdown-menu a:focus { background: #165294 !important; color: #fff !important; border: 0; }

ul.navbar-nav li.active .dropdown-menu > .active > a { background: #fff; color: #165294; border: 0; }
ul.navbar-nav li.active .dropdown-menu > .active > a:hover,
ul.navbar-nav li.active .dropdown-menu > .active > a:focus { background: #165294; color: #fff; border: 0; }

.navbar>.container .navbar-brand,
.navbar>.container .navbar-cnr { margin-left: 0; }

.navbar-brand {
    width: 495px;
    height: 70px;
    max-width: 100%;
    background: url(../img/logo-igg.png) left center no-repeat;
    background-size: 100% auto;
    margin: 5px;
    text-indent: -99999px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.navbar-cnr {
    float: right;
    width: 360px;
    height: 50px;
    max-width: 100%;
    background: url(../img/logo-cnr.svg) left center no-repeat;
    background-size: 100% auto;
    margin: 15px 5px 5px;
    text-indent: -99999px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

@media (min-width: 768px) {
    .navbar-header {
        float: left;
        width: 100%;
        border-bottom: 1px dashed #ddd;
    }
    .navbar-right  {
        margin-right: 10px;
    }
}

@media (min-width: 1001px) and (max-width: 1200px) {
    ul.navbar-nav li a { line-height: 24px; font-size: 10px; }
    ul.navbar-nav li a i { line-height: 24px; font-size: 10px; }
}

@media (min-width: 768px) and (max-width: 1000px) {
    .navbar-brand {
        width: 396px;
        -webkit-transition: all 0.25s ease-in-out;
        -moz-transition: all 0.25s ease-in-out;
        -ms-transition: all 0.25s ease-in-out;
        -o-transition: all 0.25s ease-in-out;
        transition: all 0.25s ease-in-out;
    }
    .navbar-cnr {
        width: 288px;
        -webkit-transition: all 0.25s ease-in-out;
        -moz-transition: all 0.25s ease-in-out;
        -ms-transition: all 0.25s ease-in-out;
        -o-transition: all 0.25s ease-in-out;
        transition: all 0.25s ease-in-out;
    }

    #top-navbar-1 {
        margin-top: 5px;
        border-bottom: 1px dotted #7CB8FA;
    }
    #top-navbar-1 ul.navbar-nav li a {
        padding: 5px;
    }

    ul.navbar-nav li a { line-height: 20px; font-size: 8px; }
    ul.navbar-nav li a i { line-height: 20px; font-size: 8px; }

}

@media (max-width: 767px) {
    .navbar>.container .navbar-brand {
        width: 240px;
        height: 70px;
        margin: 0 10px 0;
    }
    .navbar>.container .navbar-cnr {
        float: left;
        clear: left;
        width: 240px;
        height: 50px;
        margin: 15px 10px 0;
    }
    ul.navbar-nav li a {
        float: left;
    }
}

@media (max-width: 480px)  {
    .navbar>.container .navbar-brand {
        width: 180px;
        margin: 0 15px;
    }
    .navbar>.container .navbar-cnr {
        width: 180px;
        margin: 0 15px;
    }
}

.menu-sub-wrapper {
    margin: 30px 0;
}

.nav-pills > li {
    border: 1px solid #eee;
}

.menu-sub-wrapper .nav > li {
    margin-top: 5px;
}

.menu-sub-wrapper .nav > li::after {
    display: block;
    content: " ";
    border-bottom: 5px solid #eee;
    width: 25px;
    margin: 0 auto -6px;
}

.menu-sub-wrapper .nav > li:last-child::after {
    display: none;
}

.nav-pills > li > a {
    border-radius: 0;
}
.nav-pills > li > a:hover,
.nav-pills > li > a:focus,
.nav-pills > li > a:active {
    font-weight: normal;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    color: #fff;
    background-color: #165294;
}

.menu-sub-wrapper .sub {
    padding-left: 0;
    list-style-type: none;
    border-bottom: 5px solid #eee;
    border-top: 5px solid #eee;

}

.menu-sub-wrapper .sub li {
    border-bottom: 1px dashed #eee;
    border-left: 5px solid #eee;
    border-bottom: 5px solid #eee;
    border-right: 5px solid #eee;
}

.menu-sub-wrapper .sub li:last-child {
    border-bottom: none;
}

.menu-sub-wrapper .sub li a {
    padding: 5px;
    display: block;
}

ul.nav.nav-pills.nav-stacked > li > a {
    font-weight: bold;
}

.nav li > a:hover, .nav li > a:focus {
    background-color: #eee;
    color: #000;
}

/***** Slider *****/

.slider-container {
    margin: 0;
    overflow: hidden;
}

.flexslider {
    border: none;
    margin-bottom: 10px;
}

.flexslider .slides > li {
    position: relative;
    max-height: 450px;
    overflow: hidden;
}

.flex-caption {
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 95%;
    padding: 10px 20px;
    background: #1d1d1d; /* browsers that don't support rgba */
    background: rgba(0, 0, 0, .7);
    font-size: 14px;
    line-height: 24px;
    color: #eaeaea;
    text-align: left;
    font-style: italic;
}

.flex-direction-nav a {
    width: 60px;
    height: 60px;
    padding-top: 17px;
    background: #165294;
    color: #fff;
    text-shadow: none;
}

.flex-direction-nav a:before { font-size: 26px; }

.flex-direction-nav .flex-prev, .flex-direction-nav .flex-next { text-align: center; }

.carousel.carousel-igg.slide .ce-gallery figure {
    width: 100%;
}

/***** Slider 2 *****/

.slider-2-container {
    padding: 180px 0;
}

.slider-2-text {
    padding: 30px 0 43px 0;
    background: #1d1d1d; /* browsers that don't support rgba */
    background: rgba(0, 0, 0, .7);
    color: #fff;
}

.slider-2-text h1 {
    padding-left: 30px;
    padding-right: 30px;
    font-family: sans-serif, 'Titillium';
    font-size: 30px;
    color: #fff;
    font-weight: bold;
}

.slider-2-text p {
    padding-left: 30px;
    padding-right: 30px;
    font-size: 18px;
    font-style: italic;
}

/***** Search Bar *****/
.search-bar  {
    padding-top: 10px;
}

.search-bar label{
    font-size: 1.4em;
    margin-top: 5px;
}

.search-bar .btn{
    height: 34px;
}

/***** Lang menu *****/
.navbar-lang {
    padding: 0;
    float: right;
}

.navbar-lang ul {
    padding-left: 0;
}

.navbar-lang ul li{
    list-style-type: none;
    float: left;
    margin: 7px 0 0;
}

@media (min-width: 1001px) and (max-width: 1200px) {
    .navbar-lang ul li { margin: 4px 0 0; }
}
@media (min-width: 768px) and (max-width: 1000px) {
    .navbar-lang ul li { margin: 2px 0 0; }
}

.navbar-lang ul li a {
    padding: 0;
}

.navbar-lang ul li a:hover,
.navbar-lang ul li a:focus {
    background: transparent;
    border-color: transparent;
    color: transparent;
    outline: 0;
    opacity: 0.7;
}

.flag-it {
    display: inline-block;
    height: 25px;
    width: 50px;
    background-image: url("../ico/flags.png");
    background-repeat: no-repeat;
    background-position: left top;
}
.flag-en {
    display: inline-block;
    height: 25px;
    width: 50px;
    background-image: url("../ico/flags.png");
    background-repeat: no-repeat;
    background-position: right top;
}

/***** PayOff *****/
.payoff-container {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    padding-bottom: 10px;
}
.payoff-container h2 {
    margin: 0 auto;
    background: #fff;
    font-family: sans-serif, 'Titillium';
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    font-style: italic;
}

/***** Page Title *****/
.page-header {
    border-bottom: none;
    background: url(../img/line.png) left 15px repeat-x;
}

.page-header h1 {
    display: inline-block;
    padding: 0 20px;
    margin: 0 auto;
    background: #fff;
    font-family: sans-serif, 'Titillium';
    font-weight: bold;
    font-size: 28px;
}

/***** Headings *****/

.header-title {
    background: url(../img/line.png) left center repeat-x;
    margin-bottom: 24px;
    float: left;
    width: 100%;
}

.header-title h1,
.header-title h2,
.header-title h3,
.header-title h4,
.header-title h5,
.header-title h6 {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    font-family: sans-serif, 'Titillium';
    font-weight: bold;
}

@media (min-width: 1024px) {
    .header-title h1,
    .header-title h2,
    .header-title h3,
    .header-title h4,
    .header-title h5,
    .header-title h6 {
        width: 360px;
    }
}
.header-title h1 {
    font-size: 28px;
}
.header-title h2 {
    font-size: 24px;
}
.header-title h3 {
    font-size: 20px;
}
.header-title h4 {
    font-size: 18px;
}
.header-title h5 {
    font-size: 16px;
}
.header-title h6 {
    font-size: 14px;
}

/***** Presentation *****/

.presentation-container {
    margin-top: 40px;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    padding-bottom: 10px;
}

.presentation-title {
    background: url(../img/line.png) left center repeat-x;
    margin-bottom: 24px;
}

.presentation-title h2 {
    margin: 0 auto;
    background: #fff;
    font-family: sans-serif, 'Titillium';
    font-size: 24px;
    font-weight: bold;
}

@media (min-width: 768px) {
    .presentation-title h2 {
        width: 220px;
    }
}

#c3 {
    margin-bottom: 40px;
    float: left;
}

#c3 h1 {
    font-family: sans-serif, 'Titillium';
    font-size: 30px;
    font-weight: bold;
}

#c3 p {
    font-size: 16px;
    font-style: italic;
    text-align: justify;
}

/***** Research Highlights *****/
@media (max-width: 767px) {
    .carousel-inner {
        padding: 0 10px 0 5px;
    }
}

.carousel-research-highlights-container {
    margin-top: 40px;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    padding-bottom: 40px;
    float: left;
}

@media (min-width: 768px) {
    .carousel-research-highlights-container .carousel-inner {
        height: 435px;
    }
}

.carousel-research-highlights-container a {
    text-decoration: none;
    font-weight: normal;
    color: #000;
}

.carousel-research-highlights {
    margin-top: 25px;
    background: #f8f8f8;
    overflow: hidden;
}
@media (min-width: 768px) {
    .carousel-research-highlights {
        height: 120px;
    }
}

.carousel-research-highlights .header-title {
    background: none;
    margin-bottom: 0;
}


.carousel-research-highlights:hover {
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.05), 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -o-transition: all .5s; -moz-transition: all .5s; -webkit-transition: all .5s; -ms-transition: all .5s; transition: all .5s;
}

.carousel-research-highlights:hover img {
    opacity: 0.7;
    -o-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s; transition: all .3s;
}

.carousel-research-highlights img {
    width: 150px;
    height: 120px;
}
@media (min-width: 768px) {
    .carousel-research-highlights img {
        position: absolute;
        left: 0;
        top: 0;
    }
}

.carousel-research-highlights h2,
.carousel-research-highlights h3,
.carousel-research-highlights h4,
.carousel-research-highlights h5,
.carousel-research-highlights h6 {
    margin: 10px 0;
    width: 100%;
    background: none;
    font-family: sans-serif, 'Titillium';
    font-size: 16px;
    line-height: 1.2em;
    color: #165294;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
@media (min-width: 768px) {
    .carousel-research-highlights h2,
    .carousel-research-highlights h3,
    .carousel-research-highlights h4,
    .carousel-research-highlights h5,
    .carousel-research-highlights h6  {
        padding-left: 130px;
        padding-right: 15px;
        text-align: left;
    }
}

.carousel-research-highlights h2 a,
.carousel-research-highlights h3 a,
.carousel-research-highlights h4 a,
.carousel-research-highlights h5 a,
.carousel-research-highlights h6 a {
    font-weight: 900;
    color: #165294;
    padding-left: 13px;
    display: block;
}

.carousel-research-highlights p {
    margin: 0;
    line-height: 1.5em;
    font-weight: normal;
    color: #000000;
}
@media (min-width: 768px) {
    .carousel-research-highlights p  {
        padding-left: 145px;
    }
}

.carousel-research-highlights:hover p {
    font-weight: normal;
    color: #000000;
}

.carousel-indicators.carousel-research-highlights-indicators {
    padding: 10px 10px 5px;
    bottom:-10px;
    width: auto;
    left: 0;
    right: auto;
    margin-left: 0;
}

.carousel-indicators.carousel-research-highlights-indicators li {
    background-color: #ddd;
    border: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    width: 12px;
    height: 12px;
    margin: 0 3px;
}

.carousel-indicators.carousel-research-highlights-indicators li.active {
    background: #165294;
}

/***** News Research Highlights *****/
.research-highlights-container {
    margin-top: 40px;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    padding-bottom: 10px;
}

.research-highlights-container a {
    text-decoration: none;
    font-weight: normal;
    color: #000;
}

.research-highlights-title {
    background: url(../img/line.png) left center repeat-x;
    margin-bottom: 14px;
}

.research-highlights-title h2 {
    width: 360px;
    margin: 0 auto;
    background: #fff;
    font-family: sans-serif, 'Titillium';
    font-size: 24px;
    font-weight: bold;
}

.research-highlights {
    margin-top: 25px;
    background: #f8f8f8;
    height: 120px;
    overflow: hidden;
}

.research-highlights:hover {
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.05), 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -o-transition: all .5s; -moz-transition: all .5s; -webkit-transition: all .5s; -ms-transition: all .5s; transition: all .5s;
}

.research-highlights:hover img {
    opacity: 0.7;
    -o-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s; transition: all .3s;
}

.research-highlights img {
    position: absolute;
    left: 0;
    top: 0;
    width: 150px;
    height: 120px;
}

.research-highlights h3 {
    margin: 10px 0;
    padding-left: 150px;
    padding-right: 15px;
    text-align: left;
    font-family: sans-serif, 'Titillium';
    font-size: 16px;
    line-height: 1.2em;
    color: #165294;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.research-highlights p {
    margin: 10px 0;
    padding-left: 150px;
    line-height: 1.5em;
    font-weight: normal;
    color: #000000;
}

.research-highlights:hover p {
    font-weight: normal;
    color: #000000;
}

/***** news *****/

.news-container {
    margin-top: 40px;
}

.news-container .row {
    margin-bottom: 20px;
}

.news-title {
    background: url(../img/line.png) left center repeat-x;
}

.news-title h2 {
    width: 220px;
    margin: 0 auto;
    background: #fff;
    font-family: sans-serif, 'Titillium';
    font-size: 24px;
    font-weight: bold;
}

.flexslider-news {
    float: left;
    overflow: hidden;
}

.news {
    margin-bottom: 30px;
    padding-bottom: 10px;
    background: #f8f8f8;
    border-bottom: 2px solid #165294;
}

.news:hover img {
    opacity: 0.7;
    -o-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s; transition: all .3s;
}

.news:hover {
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.05), 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -o-transition: all .5s; -moz-transition: all .5s; -webkit-transition: all .5s; -ms-transition: all .5s; transition: all .5s;
}

.news .news-bottom {
    margin-top: 15px;
}

.topnews-text {
    height: 128px;
    overflow: hidden;
}

.news h3 {
    margin-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    font-family: sans-serif, 'Titillium';
    font-size: 14px;
    line-height: 1.2em;
    color: #5d5d5d;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.news p {
    padding-left: 15px;
    padding-right: 15px;
    line-height: 1.5em;
    font-style: italic;
}

.pagination > li:first-child > a, .pagination > li:first-child > span,
.pagination > li:last-child > a, .pagination > li:last-child > span {
    -webkit-border-radius: 0 0 0 0;
    border-radius: 0 0 0 0;
}

.pagination > .active > a, .pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #165294;
}

.news-item::after {
    content: " ";
    height: 1px;
    width: 100%;
    margin: 10px 0;
    border-bottom: 1px dashed #ddd;
}
.social {
    text-align: left;
}

/***** ricerca ******/
.badge {
    background-color: #165294;
    color: #fff;
}

.list-group-item:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.browsebox {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}
.browsebox > li {
    display: inline;
}
.browsebox > li > a,
.browsebox > li > strong a {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #165294;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    margin-left: -1px;
}
.browsebox > li:first-child > a {
    margin-left: 0;
}
.browsebox > li:last-child > a {
}
.browsebox > li > a:hover,
.browsebox > li > a:focus {
    z-index: 2;
    color: #2b0000;
    background-color: #ffffff;
    border-color: #dddddd;
}
.browsebox > .tx-indexedsearch-browselist-currentPage > strong a,
.browsebox > .tx-indexedsearch-browselist-currentPage > strong a:hover,
.browsebox > .tx-indexedsearch-browselist-currentPage > strong a:focus {
    z-index: 3;
    color: #ffffff;
    background-color: #165294;
    border-color: #165294;
    cursor: default;
}
.browsebox > .disabled > span,
.browsebox > .disabled > span:hover,
.browsebox > .disabled > span:focus,
.browsebox > .disabled > a,
.browsebox > .disabled > a:hover,
.browsebox > .disabled > a:focus {
    color: #aaaaaa;
    background-color: #ffffff;
    border-color: #dddddd;
    cursor: not-allowed;
}

/***** services *****/

.services-container {
    margin-top: 10px;
}

.services-title {
    margin-top: 40px;
    background: url(../img/line.png) left center repeat-x;
}

.services-title h2 {
    width: 200px;
    margin: 0 auto;
    background: #fff;
    font-family: sans-serif, 'Titillium';
    font-size: 24px;
    font-weight: bold;
}

.service {
    margin-top: 40px;
    padding: 15px 15px 20px 15px;
    background: #f8f8f8;
    border-bottom: 2px solid #165294;
}

.service:hover {
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.05), 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -o-transition: all .5s; -moz-transition: all .5s; -webkit-transition: all .5s; -ms-transition: all .5s; transition: all .5s;
}

.service .service-icon {
    font-size: 50px;
    line-height: 50px;
    color: #5d5d5d;
}

.service .service-icon i { vertical-align: middle; }

.service h3 {
    margin-top: 13px;
    font-family: sans-serif, 'Titillium';
    font-size: 14px;
    color: #5d5d5d;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.service p {
    padding-bottom: 7px;
    line-height: 24px;
}

/***** Top News *****/
.flexslider-news .flex-control-nav.flex-control-paging {
    bottom: 0;
    right: 10px;
    width: auto;
    z-index: 99;
}

.flexslider-news .flex-control-paging li a {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    background: #eaeaea;
    -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
    color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.flexslider-news .flex-control-paging li a:hover { border: 0; background: #ddd; }
.flexslider-news .flex-control-paging li a.flex-active { background: #165294; }


/***** projects *****/

.projects-container {
    margin-top: 50px;
    padding-bottom: 50px;
}

.projects-title {
    background: url(../img/line.png) left center repeat-x;
}

.projects-title h2,
.project-item h2 {
    /* width: 180px; */
    margin: 0 auto;
    background: #fff;
    font-family: sans-serif, 'Titillium';
    font-size: 24px;
    font-weight: bold;
    text-align: left;
}

.project-item .ce-row {
    float: right;
}

.project-item .ce-row img {
    -webkit-box-shadow:inset 0 0 1px 0 #999999;
    box-shadow:inset 0 0 1px 0 #999999;
}

.flexslider-projects {
    position: relative;
    margin-top: 30px;
}

.flexslider-projects .flex-control-nav {
    text-align: right;
}

.flexslider-projects .flex-control-paging li a {
    width: 12px;
    height: 12px;
    padding: 0;
    background: #eaeaea;
    border: 0;
    -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
    color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.flexslider-projects .flex-control-paging li a:hover { border: 0; background: #ddd; }
.flexslider-projects .flex-control-paging li a.flex-active { background: #165294; }

.project-list {
    margin-top: 30px;
    text-align: left;
}

.project-list .tab-pane { overflow: hidden; }

.project-list .project-image {
}
.project-list .project-image img {
    max-width: 100%;
    margin: 20px auto;
    display: block;
}

.project-list .project-item .project-text {
    font-size: 14px;
    line-height: 1.5em;
    font-style: italic;
}

.project-list .nav-tabs {
    border: 0;
    text-align: right;
}

.project-list .nav-tabs li {
    float: none;
    display: inline-block;
    margin-left: 2px;
    margin-right: 2px;
}

.project-list .nav-tabs li a {
    width: 12px;
    height: 12px;
    padding: 0;
    background: #eaeaea;
    border: 0;
    -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
}

.project-list .nav-tabs li a:hover { border: 0; background: #ddd; }
.project-list .nav-tabs li.active a { background: #165294; }

.carousel-project .ce-intext.ce-right .ce-gallery,
.carousel-project .ce-intext.ce-left .ce-gallery,
.carousel-project .ce-above .ce-gallery {
    margin-top: 0;
}

/***** Tabs *****/
ul.tablist li {
    float: left;
    margin-bottom: -1px;
    min-width: 120px;
    border-top: 2px solid transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    font-size: 14px;
    font-weight: bold;
    font-variant: small-caps;
}

.nav.tablist > li > a {
    color: #888;
}
.nav.tablist > li.active > a {
    color: #165294;
}

ul.tablist li.active {
    border-top: 2px solid #165294;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #fff;
}

.nav.tablist > li > a:hover,
.nav.tablist > li > a:focus {
    background-color: transparent;
}

.tab-content {
    border-top: 1px solid #ccc;
    padding: 15px;
}

/***** Accordion *****/
.panel {
    -webkit-box-shadow:none;
    box-shadow:none;
}
.panel-group  {
    clear: both;
}
.panel-group .panel {
    -webkit-border-radius: 0;
    border-radius: 0;
}

.panel-heading {
    border-top: 2px solid #165294 !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 0;
}

.panel-title > a {
    padding: 10px 15px;
    display: block;
    font-weight: bold;
    font-variant: small-caps;
    font-size: 14px;
}

.panel-title > a:hover,
.panel-title > a:focus {
    color: #165294;
}

/***** Sidebars *****/
#contentSidebar {
    padding-top: 40px;
}


/***** Footer *****/

footer {
    margin: 30px auto 0;
    padding-bottom: 10px;
    background: #f8f8f8 url(../img/pattern.jpg) left top repeat;
    -moz-box-shadow: 0 5px 15px 0 rgba(0,0,0,.05) inset; -webkit-box-shadow: 0 5px 15px 0 rgba(0,0,0,.05) inset; box-shadow: 0 5px 15px 0 rgba(0,0,0,.05) inset;
}

.footer-box {
    margin-top: 20px;
    text-align: left;
}

.footer-box h4 {
    margin-top: 20px;
    font-family: sans-serif, 'Titillium';
    font-size: 14px;
    color: #5d5d5d;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.footer-box-text p {
    line-height: 24px;
}

.footer-box-text-contact i {
    padding-right: 7px;
}

.footer-box-text-subscribe form {
    padding-bottom: 10px;
}

.footer-box-text-subscribe input[type="text"],
.footer-box-text-subscribe input[type="password"] {
    width: 95%;
    height: 26px;
}

/* Flickr feed */
.flickr-feed {
    margin: 16px 0 0 0;
}

.flickr-feed a {
    display: inline-block;
    width: 54px;
    margin: 0 4px 4px 0;
}
.flickr-feed a:hover { opacity: 0.7; }
.flickr-feed a img { border: 2px solid #eaeaea; }


.footer-border {
    margin-top: 30px;
    border-top: 1px dashed #ddd;
}


.footer-cnr {
    display: inline-block;
    width: 358.666px;
    height: 42px;
    max-width: 100%;
    background: url(../img/logo-cnr.svg) left center no-repeat;
    background-size: 100% auto;
    margin: 5px;
    text-indent: -99999px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.footer-copyright {
    margin-top: 15px;
    line-height: 24px;
    text-align: left;
}

.footer-credits {
    margin-top: 15px;
}

.footer-credits p{
    text-align: right;
}



/***** Page title *****/

.page-title-container {
    margin: 0 auto;
    padding: 30px 0 35px 0;
    background: #f8f8f8 url(../img/pattern.jpg) left top repeat;
    text-align: left;
    -moz-box-shadow: 0 5px 15px 0 rgba(0,0,0,.05) inset, 0 -5px 15px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 5px 15px 0 rgba(0,0,0,.05) inset, 0 -5px 15px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.05) inset, 0 -5px 15px 0 rgba(0,0,0,.05) inset;
}

.page-title-container h1 {
    display: inline;
    margin-left: 10px;
    font-family: sans-serif, 'Titillium';
    font-size: 24px;
    color: #5d5d5d;
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
    vertical-align: middle;
}

.page-title-container p {
    display: inline;
    margin-left: 5px;
    font-size: 14px;
    font-style: italic;
    vertical-align: middle;
}

.page-title-container i {
    font-size: 46px;
    color: #ccc;
    vertical-align: middle;
}

/***** Breadcrumbs *****/

.breadcrumbs-container {
    margin: 0 auto;
    background-color: #f8f8f8;
    text-align: left;
}

.breadcrumbs-container .breadcrumbs
{
    border-top: 1px dashed #ddd;
    padding: 10px 0;
    margin-bottom: 0;
    font-size: 12px;
    font-weight: bold;
    color: #888;
    font-variant: small-caps;
}

/***** Carousel *****/
.carousel-igg .header-title,
.carousel-project .header-title  {
    background: none;
}

.carousel.carousel-igg {
    margin-bottom: 20px;
}
.carousel.carousel-igg .item  {
    max-height: 450px;
}

.carousel.carousel-igg .item img {
    width: 100%;
    height: auto;
}

/* Direction Nav */
.carousel-control.carosule-igg-control {
    text-decoration:none;
    display: block;
    width: 60px;
    height: 60px;
    padding-top: 15px;
    background: #165294;
    color: #fff;
    font-size: 26px;
    text-shadow: none;
    margin: -20px 0 0;
    position: absolute;
    top: 50%;
    opacity: 1;
    z-index: 10;
    overflow: hidden;
    cursor: pointer;
    color: #ffffff;
    background-color: #165294;
}

.carousel-control.carosule-igg-control:hover,
.carousel-control.carosule-igg-control:focus,
.carousel-control.carosule-igg-control:active {
    opacity: 1;
}

.carousel-control.carosule-igg-control.left { left: 50px; text-align: center; background-image: none;}
.carousel-control.carosule-igg-control.right { right: 50px; text-align: center; background-image: none;}

@media (max-width: 767px) {
    .carousel-control.carosule-igg-control {
        width: 30px;
        height: 30px;
        padding-top: 8px;
        font-size: 14px;
    }
    .carousel-control.carosule-igg-control.left { left: 20px; }
    .carousel-control.carosule-igg-control.right { right: 20px; }
}

.carousel-control.carosule-igg-control.disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }

.carousel-indicators.carosule-igg-indicators {
    padding: 10px 10px 5px;
    background-color: #165294;
    bottom: -42px;
    width: 100%;
    right: 0;
    left: 0;
    margin-left: 0;
}

.carousel-indicators.carosule-igg-indicators .active {
    margin-right: 5px;
}

/***** Carousel Project *****/
.carousel-project .header-title {
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.carousel-project .header-title h1,
.carousel-project .header-title h2,
.carousel-project .header-title h3,
.carousel-project .header-title h4,
.carousel-project .header-title h5,
.carousel-project .header-title h6 {
    font-size: 24px;
    line-height: 24px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #444444;
    font-weight: normal;
    text-transform: none;
    width: auto;
    max-height: 48px;
    overflow: hidden;
}

.container .carousel-project .ce-gallery {
    width: 24%;
}

.container .carousel-project .ce-textpic,
.container .carousel-project .ce-bodytext {
    float: none;
}

.container .carousel-project .ce-bodytext {
    height: 120px;
    margin-bottom: 15px;
    width: 74%;
}

.container .carousel-project .ce-bodytext p {
    max-height: 50px;
    overflow: hidden;
    width: 100%;
    margin: 10px 0;
    display: inline-block;
}

.carousel-indicators.carosule-projects-indicators {
    padding: 10px 10px 5px;
    bottom: -42px;
    width: auto;
    left: auto;
    right: 0;
    margin-left: 0;
}

.carousel-indicators.carosule-projects-indicators li {
    background-color: #ddd;
    border: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    width: 12px;
    height: 12px;
    margin: 0 3px;
}

.carousel-indicators.carosule-projects-indicators li.active {
    background: #165294;
}


/* ------ HOME PAGE ----- */
.homeMain {
    margin-top: 50px;
    padding-bottom: 50px;
}

/* ----- ABOUT PAGE ----- */

/***** About us text *****/

.about-us-container {
    margin-top: 20px;
}

.about-us-text {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
}

.about-us-text h3 {
    margin-top: 25px;
    font-family: sans-serif, 'Titillium';
    font-size: 16px;
    color: #5d5d5d;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.about-us-text p {
    line-height: 28px;
    font-size: 13px;
}

/***** Meet our team *****/

.team-container {
    margin-top: 30px;
}

.team-title {
    background: url(../img/line.png) left center repeat-x;
}

.team-title h2 {
    width: 220px;
    margin: 0 auto;
    background: #fff;
    font-family: sans-serif, 'Titillium';
    font-size: 24px;
    color: #5d5d5d;
    font-weight: bold;
}

.team-box {
    margin-top: 40px;
    padding-bottom: 15px;
    background: #f8f8f8;
    border-bottom: 2px solid #165294;
}

.team-box:hover img {
    opacity: 0.7;
    -o-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s; transition: all .3s;
}

.team-box:hover {
    -moz-box-shadow: 0 5px 15px 0 rgba(0,0,0,.05), 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 5px 15px 0 rgba(0,0,0,.05), 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.05), 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -o-transition: all .5s; -moz-transition: all .5s; -webkit-transition: all .5s; -ms-transition: all .5s; transition: all .5s;
}

.team-box h3 {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    font-family: sans-serif, 'Titillium';
    font-size: 14px;
    color: #5d5d5d;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.team-box p {
    padding-left: 15px;
    padding-right: 15px;
    line-height: 24px;
    font-style: italic;
}

.team-social a { margin: 0 5px; font-size: 26px; }


/* ----- CONTACT PAGE ----- */

/***** Form *****/

.contact-us-container {
    margin-top: 20px;
    padding-bottom: 50px;
    text-align: left;
}

.contact-us-container h3 {
    margin-top: 25px;
    font-family: sans-serif, 'Titillium';
    font-size: 16px;
    color: #5d5d5d;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.contact-us-container p {
    line-height: 28px;
    font-size: 13px;
}

.contact-form {
    padding-top: 25px;
    padding-bottom: 30px;
}

.contact-form form {
    margin-top: 25px;
}

.contact-form form .form-group {
    margin-bottom: 20px;
}

.contact-form input[type="text"] { width: 95%; height: 34px; }
.contact-form textarea { width: 95%; height: 170px; padding-top: 6px; padding-bottom: 6px; }
.contact-form label { font-size: 13px; font-weight: 400; }
.contact-form label .error-label { font-style: italic }
.contact-form button { margin-top: 5px; padding: 0 45px; }

/***** Google map *****/

.contact-address {
    padding-bottom: 15px;
}

.contact-address .map {
    margin: 20px 0 40px 0;
    height: 300px;
    border: 5px solid #f8f8f8;
}


/* ----- services PAGE ----- */

/***** services full width text *****/

.services-full-width-container {
    margin-top: 20px;
}

.services-full-width-text {
    padding-top: 10px;
    text-align: left;
}

.services-full-width-text h3 {
    margin-top: 25px;
    font-family: sans-serif, 'Titillium';
    font-size: 16px;
    color: #5d5d5d;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.services-full-width-text p {
    line-height: 28px;
    font-size: 13px;
}

/***** services half width text *****/

.services-half-width-container {
    margin-top: 20px;
}

.services-half-width-text {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
}

.services-half-width-text h3 {
    margin-top: 25px;
    font-family: sans-serif, 'Titillium';
    font-size: 16px;
    color: #5d5d5d;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.services-half-width-text p {
    line-height: 28px;
    font-size: 13px;
}

/***** Call to action *****/

.call-to-action-container {
    margin-top: 20px;
    padding-bottom: 50px;
}

.call-to-action-text {
    padding-top: 25px;
    padding-bottom: 15px;
    background: #f8f8f8;
    text-align: left;
    overflow: hidden;
}

.call-to-action-text:hover {
    -moz-box-shadow: 0 3px 10px 0 rgba(0,0,0,.05), 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -webkit-box-shadow: 0 3px 10px 0 rgba(0,0,0,.05), 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    box-shadow: 0 3px 10px 0 rgba(0,0,0,.05), 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -o-transition: all .5s; -moz-transition: all .5s; -webkit-transition: all .5s; -ms-transition: all .5s; transition: all .5s;
}

.call-to-action-text p {
    float: left;
    width: 80%;
    padding-left: 25px;
    line-height: 30px;
    font-size: 18px;
    font-style: italic;
}

.call-to-action-text .call-to-action-button {
    float: left;
    width: 20%;
    padding-right: 25px;
    margin-bottom: 10px;
    text-align: right;
}


/* ----- PORTFOLIO PAGE ----- */

.portfolio-container {
    margin-top: 20px;
    padding-bottom: 50px;
}

.portfolio-filters {
    padding-top: 35px;
    padding-bottom: 10px;
    font-family: sans-serif, 'Titillium';
    font-size: 16px;
    color: #5d5d5d;
    font-weight: bold;
    text-align: left;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.portfolio-filters a { color: #5d5d5d; }
.portfolio-filters a:hover, .portfolio-filters a.active { color: #165294; }

.portfolio-box {
    width: 255px;
    margin: 40px 15px 0 15px;
}

.portfolio-box img {
    cursor: pointer;
    -o-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s; transition: all .3s;
}
.portfolio-box:hover img { opacity: 0.7; }

.portfolio-box-container {
    position: relative;
    background: #f8f8f8;
    border-bottom: 2px solid #165294;
}

.portfolio-box-container:hover {
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.05), 0 1px 25px 0 rgba(0,0,0,.05) inset, 0 -1px 25px 0 rgba(0,0,0,.05) inset;
    -o-transition: all .5s; -moz-transition: all .5s; -webkit-transition: all .5s; -ms-transition: all .5s; transition: all .5s;
}

.portfolio-box-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    padding-top: 7.5px;
    padding-left: 3px;
    background: #1d1d1d; /* browsers that don't support rgba */
    background: rgba(0, 0, 0, .7);
    font-size: 20px;
    color: #fff;
    line-height: 20px;
    -moz-border-radius: 19px; -webkit-border-radius: 19px; border-radius: 19px;
}

.portfolio-box-text {
    padding: 0 15px 20px 15px;
}

.portfolio-box-text h3 {
    margin-top: 20px;
    font-family: sans-serif, 'Titillium';
    font-size: 14px;
    color: #5d5d5d;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.portfolio-box-text p {
    line-height: 24px;
    font-style: italic;
}

/* Text & Media alignment */
/* default styles for extension "tx_frontend" */
.ce-bodytext ol,
.ce-bodytext ul {
    text-align: left;
}

.container .ce-textpic{
    float: left;
    width: 100%;
}
.ce-align-left, .align-left { text-align: left !important; }
.ce-align-center, .align-center { text-align: center !important; }
.ce-align-right, .align-right { text-align: right !important; }
.align-justify { text-align: justify !important; }

.ce-table td, .ce-table th { vertical-align: top; }

.ce-textpic, .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div { overflow: hidden; }

.container .ce-left .ce-gallery { float: left; }
@media (max-width: 767px) {
    .container .carousel-research-highlights .ce-left .ce-gallery {
        float: none;
        display: inline-block;
    }
}
.container .ce-column { float: left; }
.container .ce-center .ce-outer { position: relative; float: right; right: 50%; }
.container .ce-center .ce-inner { position: relative; float: right; right: -50%; }
.container .ce-right .ce-gallery { float: right; }

.ce-gallery figure { display: table; margin: 0; }
.ce-gallery figcaption { display: table-caption; caption-side: bottom; }
.ce-gallery img { display: inline-block; }
.ce-gallery iframe { border-width: 0; }
.ce-border img,
.ce-border iframe {
    border: 2px solid black;
    padding: 0px;
}

.ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery, .ce-above .ce-gallery {
    margin-top: 10px;
    margin-bottom: 10px;
}
#areaFeature .ce-intext.ce-right .ce-gallery,
#areaFeature .ce-intext.ce-left .ce-gallery,
#areaFeature .ce-above .ce-gallery {
    margin-top: 0;
    margin-bottom: 0;
}

.ce-intext.ce-right .ce-gallery { margin-left: 10px; }
.ce-intext.ce-left .ce-gallery { margin-right: 10px; }
.ce-below .ce-gallery {
    margin-top: 15px;
    margin-bottom: 15px;
}

.ce-column { margin-right: 10px; }
.ce-column:last-child { margin-right: 0; }

.ce-row { margin-bottom: 10px; }
.ce-row:last-child { margin-bottom: 0; }

.ce-above .ce-bodytext { clear: both; }

.ce-intext.ce-left ol, .ce-intext.ce-left ul { padding-left: 40px; overflow: auto; }

.ce-uploads { margin: 0; padding: 0; }
.ce-uploads li { list-style: none outside none; margin: 1em 0; }
.ce-uploads img { float: left; padding-right: 1em; vertical-align: top; }
.ce-uploads span { display: block; }
/* default styles for extension "tx_felogin_pi1" */
.tx-felogin-pi1 label {
    display: block;
}


/* Tables */
.tab-content .contenttable {
    font-size: 14px;
}
.contenttable tr:nth-child(2n) {
    background-color: #fafafa;
}
.contenttable td {
    padding: 5px;
    text-align: left;
}



/***** Portfolio Laboratori *****/
#page-22 .ce-gallery figure,
#page314 .col-md-3 .ce-gallery figure,
#page357 .col-md-3 .ce-gallery figure,
#page366 .col-md-3 .ce-gallery figure,
#page367 .col-md-3 .ce-gallery figure,
#page368 .col-md-3 .ce-gallery figure {
    display: block;
    margin: 4px;
    width: 254px;
}

#page-10 .ce-gallery figcaption,
#page-22 .ce-gallery figcaption,
#page-23 .ce-gallery figcaption,
#page-314 .ce-gallery figcaption,
#page-374 .ce-gallery figcaption,
#page-375 .ce-gallery figcaption,
#page-376 .ce-gallery figcaption,
#page-377 .ce-gallery figcaption,
#page-378 .ce-gallery figcaption,
#page-379 .ce-gallery figcaption {
    display: block;
    font-size: 14px;
    font-weight: bold;
    line-height: 16px;
    padding: 5px;
    background-color: #165294;
    color: #ffffff;
    height: 54px;
}

#page-314 .col-md-3 .ce-gallery figcaption,
#page-357 .col-md-3 .ce-gallery figcaption,
#page-366 .col-md-3 .ce-gallery figcaption,
#page-367 .col-md-3 .ce-gallery figcaption,
#page-368 .col-md-3 .ce-gallery figcaption{
    display: block;
    font-size: 14px;
    font-weight: bold;
    line-height: 16px;
    padding: 5px;
    background-color: #165294;
    color: #ffffff;
}

#page-357 .col-md-3 .ce-gallery figcaption{
    height: 32px;
}

.tab-content, #page-357,
.tab-content, #page-366,
.tab-content, #page-367,
.tab-content, #page-368 {
    font-size: 13px;
}

.tab-content .ce-gallery .ce-column,
#page-357 .ce-gallery .ce-column,
#page-366 .ce-gallery .ce-column,
#page-367 .ce-gallery .ce-column,
#page-368 .ce-gallery .ce-column {
    float: none;
    display: inline-block;
}

.tab-content .ce-gallery figure,
#page-357 .ce-gallery figure,
#page-366 .ce-gallery figure,
#page-367 .ce-gallery figure,
#page-368 .ce-gallery figure  {
    display: block;
    /*
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    margin: 3px;
    padding: 3px;
     */
}

.tab-content .ce-gallery figcaption,
#page-357 .ce-gallery figcaption,
#page-366 .ce-gallery figcaption,
#page-367 .ce-gallery figcaption,
#page-368 .ce-gallery figcaption  {
    display: block;
}

/***** MENU Pubblicazioni, Personale, Ricercatori *****/
#page-16 ul.ce-menu,
#page-234 ul.ce-menu,
#page-234 dl.ce-menu,
dl.ce-menu.ce-menu-aiplist {
    text-align: left;
}

#page-12 .ce-menu li,
#page-16 .ce-menu li,
#page-234 .ce-menu li,
#page-234 .ce-menu dt,
#page-234 .ce-menu dd,
dl.ce-menu.ce-menu-aiplist dt,
dl.ce-menu.ce-menu-aiplist dd {
    list-style-type: none;
    display: inline-block;
}

#page-12 .ce-menu li {
    width: 210px;
    margin: 10px;
}

#page-16 .ce-menu li,
#page-234 .ce-menu li,
#page-234 .ce-menu dt,
dl.ce-menu.ce-menu-aiplist dt {
    width: 100%;
    border-bottom: 1px solid #eeeeee;
}

#page-234 .ce-menu dd {
    display: none;
}

@media (min-width: 768px) {
    #page-16 .ce-menu li,
    #page-234 .ce-menu li,
    #page-234 .ce-menu dt,
    dl.ce-menu.ce-menu-aiplist dt {
        width: 30%;
    }
}

#page-12 .ce-menu li a,
#page-16 .ce-menu li a,
#page-234 .ce-menu li a,
#page-234 .ce-menu dt a,
dl.ce-menu.ce-menu-aiplist dt a {
    font-weight: bold;
    font-variant: small-caps;
    letter-spacing: 1px;
    display: inline-block;
}

#page-12 .ce-menu li a {
    padding: 15px 15px 15px 28px;
    font-size: 14px;
}

#page-16 .ce-menu li a,
#page-234 .ce-menu li a,
#page-234 .ce-menu dt a,
dl.ce-menu.ce-menu-aiplist dt {
    padding: 10px 10px 10px 28px;
}

#page-12 .ce-menu li a:hover,
#page-12 .ce-menu li a:focus,
#page-12 .ce-menu li a:active,
#page-16 .ce-menu li a:hover,
#page-16 .ce-menu li a:focus,
#page-16 .ce-menu li a:active,
#page-234 .ce-menu li a:hover,
#page-234 .ce-menu li a:focus,
#page-234 .ce-menu li a:active,
#page-234 .ce-menu dt a:hover,
#page-234 .ce-menu dt a:focus,
#page-234 .ce-menu dt a:active,
dl.ce-menu.ce-menu-aiplist dt a:hover,
dl.ce-menu.ce-menu-aiplist dt a:focus,
dl.ce-menu.ce-menu-aiplist dt a:active {
    background-color: #165294;
    color: #ffffff;
}

#page-12 .ce-menu li a::before,
#page-16 .ce-menu li a::before,
#page-234 .ce-menu li a::before,
#page-234 .ce-menu dt a::before,
dl.ce-menu.ce-menu-aiplist dt a::before  {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-top: -2px;
    position: absolute;
}

#page-12 .ce-menu li a::before {
    content:"\f02d";
    font-size: 24px;
    margin-left: -28px;
}

#page-16 .ce-menu li a::before,
#page-234 .ce-menu li a::before,
#page-234 .ce-menu dt a::before,
dl.ce-menu.ce-menu-aiplist dt a::before {
    content:"\f007";
    font-size: 20px;
    margin-left: -20px;
}

/* Cookie Banner */
.cc-revoke.dp--revoke .dp--hover {
    display: inline-block;
}