body {
    font-family: "proxima-nova-condensed", Montserrat, sans-serif;
    background: #42413F;
    padding-top: 29px;
}
* {outline: 0 !important;}
a {color: #06c;}
a:hover {color: #8A343D;}


header, main {
    background: #fff;
    font-family: "proxima-nova-condensed", Montserrat, sans-serif;
}
.img-responsive {display: inline-block;}


nav {
    border-top: 1px solid #BBB;
}
#main-menu {
    padding-left: 87px;
    margin-bottom: 0;
    font-family: "proxima-nova-condensed", Montserrat, sans-serif;
}
#main-menu > li { display: inline-block}
#main-menu > li > a {
    display: inline-block;
    font-size: 17px;
    color: #AAAAAA;
    line-height: 20px;
    padding: 13px 10px;
    text-transform: uppercase;
    padding: 13px 10px 7px;
}
#main-menu > li > a:hover, #main-menu > li.selected > a {
    border-bottom: 5px solid #000;
    text-decoration: none;
}

#main-menu ul {
    position: absolute;
    list-style: none;
    padding: 0;
    color: #eee;
    background: #000;
    min-width: 200px;
    z-index: 1;
    display: none;
    border: 2px solid #fff;
    margin-left: -2px;
    border-top: none;
}

#main-menu > li:hover ul {
    display: block;
}

#main-menu ul li {
    border-bottom: 1px solid #555;
}

#main-menu ul li:last-child {
    border-bottom: none;
}

#main-menu ul a {
    color: inherit;
    display: block;
    padding: 5px 10px;
    text-decoration: none;
}

#main-menu ul a:hover {
    background: #0054A4;
}

header .toggle-menu {margin-top: 10px;}

@media (max-width:1009px) {
    #main-menu { padding-left: 0px; margin-left: -10px;}
}
@media (max-width:949px) {
    #main-menu li a {padding: 13px 6px 7px; font-size: 15px;}
}
@media (max-width: 767px) {
    body {
        padding-top: 15px;
    }
    #logo {
        display: block;
        padding-right: 50px;
        margin-left: -10px;
    }
    header nav {display: none;}
    #main-menu li, #main-menu li a {display: block; border-bottom: 1px solid #eee;}
    #main-menu {margin-left: 0;}
    
    #main-menu li a:hover, #main-menu li a.selected {
        border: none;
        background: #c1bdbd;
        color: #fff;
    }
}
@media (min-width: 767px) { 
    header nav {display: block !important;}
}

#submenu {
    background: #ccc;
    font-size: 16px;
    padding: 15px 0;
    overflow: hidden;
}

#submenu a {
    color: #fff;
    font-weight: bold;
    padding: 5px 0;
    display: block;
}

#submenu a:hover {
    color: #333;
    text-decoration: none;
}

#submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#submenu.section-3 {
    background: #87A86F; /* About AE */
}

#submenu.section-5 {
    background: #46B5D3; /* Communities */
}

#submenu.section-2 {
    background: #947B3D; /* Events */
}


#submenu.section-18 { /* Case studies */
    background: #46B5D3; /* Old browsers */
    background: -ms-linear-gradient(left, #000 50%,#46B5D3 50%); /* IE10+ */
    background: url(/static/img/sfondo-case-studies.png) no-repeat, linear-gradient(to right, #000 50%,#46B5D3 50%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000', endColorstr='#46B5D3',GradientType=1 ); /* IE6-9 */
    background-position: 50% 0, 0;
    
    background-size: auto 100%;
}

#submenu.section-4 { /* Digital library */
    background: #EBA43A; /* Old browsers */
    background: -ms-linear-gradient(left, #000 50%,#EBA43A 50%); /* IE10+ */
    background: url(/static/img/sfondo-digital.png) no-repeat, linear-gradient(to right, #000 50%,#EBA43A 50%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000', endColorstr='#EBA43A',GradientType=1 ); /* IE6-9 */
    background-position: 50% 0, 0;
    
    background-size: auto 100%;
}


#submenu .slant {
    bottom: auto;
    left: -21%;
    top: -23px;
}


footer { padding: 40px 0 60px 0;}

footer .menu {margin-top: 20px;}
footer .level-0 {display: table;}
footer .level-0 > a {
    font-weight: bold;
    font-size: 19px;
    color: #FFFFFF;
    line-height: 19px;
    font-family: "proxima-nova-condensed";
    display: table-cell;
    vertical-align: bottom;
    height: 40px;
}
footer .submenu {margin-top: 10px;}
footer .submenu a {
    font-family: "proxima-nova-condensed";
    font-weight: 400;
    font-size: 15px;
    color: #AEAEAE;
    line-height: 23px;
    display: block;
}
footer .description, footer .coordinator {
    font-family: "proxima-nova-condensed";
    font-size: 15px;
    color: #C5C5C5;
    font-weight: 400;
}
footer .coordinator a {
    color: #fff;
    font-weight: bold;
}

.text-logo {
    font-family: "proxima-nova-condensed";
    font-size: 37px;
    color: #7F7F7F;
    letter-spacing: -0.33px;
    line-height: 29px;
    text-transform: uppercase;
    font-weight: bold;
}


#hero {
    background: #000; /* Old browsers */
    background: -ms-linear-gradient(left, #000 50%,#87A86F 50%); /* IE10+ */
    background: linear-gradient(to right, #000 50%,#87A86F 50%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000', endColorstr='#87A86F',GradientType=1 ); /* IE6-9 */
    position: relative;
    overflow: hidden;
}

#hero .poster {
    background: url(../img/hero-img.png ) no-repeat center top;
    height: 355px;
    position: absolute;
    left: -100px;
    top:0;
}
#hero .event {
    background: #87A86F;
    height: 355px;
}
#home #hero .event {background: #947b3d;}

.slant {
    border-right: 204px solid #947B3D;
    border-top: 355px solid transparent;
    bottom: 0;
    height: 0;
    left: -203px;
    position: absolute;
    width: 0;
}


#hero .slant {
    border-right-color: #87A86F;
}

#hero .event-data {
    border-right: 2px solid rgba(255,255,255, .26);
    margin-top: 35px;
}

#hero .event .date {
    font-weight: 600;
    font-size: 24px;
    color: #FFF;
    line-height: 29px;
    text-transform: uppercase;
}
#hero .event .title {
    font-weight: 600;
    color: #000;
    line-height: 1;
    text-transform: uppercase;
    font-size: 38px;
    padding: 10px 0;
}


#hero .event .title a {color: #000;}
#hero .event .title a:hover {color: #ecdebb; text-decoration: none;}
#hero .event .desc {
    font-family: "proxima-nova", sans-serif;
    opacity: 0.59;
    font-size: 15px;
    color: #FFFFFF;
    line-height: 18px;
    border-top: 2px solid rgba(255,255,255, .26);
    padding: 10px 0; 
}
#hero .meta {
    margin-top: 35px;
    font-weight: 300;
    font-size: 17px;
    color: #617950;
    line-height: 20px;
    text-transform: uppercase;
}
#home #hero .meta {color: #beac80;}
#hero .meta > div:first-child {margin-top: 80px;}
#hero .meta > div { margin-top: 10px; }
#hero .meta .value {
    font-weight: bold;
    color: #fff;
    margin-left: 20px;
    white-space: nowrap;
}

body.map #hero {
    background: -moz-linear-gradient(left, #000 50%, #AC3D1F 50%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(50%,#000), color-stop(50%,#AC3D1F)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #000 50%,#AC3D1F 50%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #000 50%,#AC3D1F 50%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #000 50%,#AC3D1F 50%); /* IE10+ */
    background: linear-gradient(to right, #000 50%,#AC3D1F 50%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000', endColorstr='#AC3D1F',GradientType=1 ); /* IE6-9 */
}
body.map #hero .slant {
    border-right-color: #AC3D1F;
}
body.map #hero .event {background: #AC3D1F;}
body.map #hero .event .desc {opacity: 1;}
body.map #hero .meta {color: #ECDEBB;}
body.map .sort-menu {display: none;}

@media (max-width:949px) {
    #hero { background: #947B3D;}
    body.map #hero {background: #AC3D1F;}
    #hero .meta > div:first-child {margin-top:0;}
}

/*
 * HOME
 */

#home #hero {
    background: #947B3D;
}
#home #hero .container {position: relative;}
.hero-image {
    background: rgba(0, 0, 0, 0) url("/static/img/earth-entire.png") no-repeat scroll right top / cover ;
    height: 355px;
    left: 0;
    position: absolute;
    width: 70%;
}
@media (max-width: 949px) {
    #home #hero {
        background: rgba(0, 0, 0, 0) url("/static/img/earth-entire.png") no-repeat scroll center center /cover;
    }
}
#home .date-col {
    bottom: 0;
    position: absolute;
    font-size: 22px;
    color: #FFFFFF;
    text-transform: uppercase;
    padding-left: 15px;
}
#home .triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 355px 245px;
    border-color: transparent transparent #947b3d transparent;
    
    position: absolute;
    right: 0;
    bottom: 0;
}

#home .event-data {border: none;}
#home .slogan {
    font-family: "proxima-nova";
    font-size: 35px;
    color: #FFFFFF;
    letter-spacing: -0.54px;
    line-height: 47px;
    font-weight: 300;
    padding-top: 60px;
    padding-right: 20px;
    
    position: relative;
    z-index: 100;
}
#home #hero .title {
    font-size: 36px;
    font-weight: bold;
    height: 194px;
    overflow: hidden;
    margin-right: -50px;
}
#home #hero .meta, #hero .meta > div:first-child {margin-top: 0;}
#home #hero .meta {
    border-top: 2px solid rgba(255,255,255, .23);
    margin-left: -170px;
    padding-left: 170px;
    padding-top: 15px;
}
#home #hero .meta > div {
    margin-bottom: 10px;
    margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
#home #hero .meta .date {
    position:  absolute;
    left: -180px;
}

#home .digital-library .title-wrapper {background: #EBA43A; padding-top: 60px;}
#home .digital-library h2 {
    text-transform: uppercase;
    color: #fff;
    font-weight: 300;
    font-size: 64px;
    letter-spacing: -2.5px;
    margin: 0;
    line-height: 34px;
}
#home .digital-library h2 strong {
    font-weight: bold;
    font-size: 100px;
}
#home .last-books {
    padding: 40px 0 80px 0;
    position: relative;
}
#home .last-books:before {
    content: ' ';
    position: absolute;
    bottom: 0;
    height: 192px;
    width: 100%;
    
    opacity: 0.23;
    background-image: linear-gradient(-180deg, #FFFFFF 0%, #D8D8D8 100%);
}
#home .last-books img {border: 1px solid #E7E7E7;}
#home .last-books h3 a {
    font-weight: 500;
    font-size: 19px;
    color: #5A5A5A;
    letter-spacing: 0px;
    line-height: 25px;
}
#home .slogan .newline {display: block;}

.last-news{ margin-bottom: 60px;}
.last-news .date {
    border-left: 1px solid #d9d9d9;
    color: #9b9b9b;
    display: inline-block;
    font-family: "proxima-nova";
    font-size: 15px;
    font-weight: 300;
    padding-left: 10px;
    padding-top: 20px;
}
.last-news h3 {
    font-weight: 800;
    font-size: 25px;
    color: #262626;
    letter-spacing: 0px;
    line-height: 27px;
    height: 110px;
    overflow: hidden;
    padding-right: 20px;
}
.last-news h3 a {color: #262626;}
.last-news p {
    font-family: "proxima-nova";
    font-weight: 300;
    font-size: 15px;
    color: #4A4A4A;
    letter-spacing: 0px;
    line-height: 25px;
}

#home .map-wrapper h2.title {
    font-size: 100px;
    color: #C3E6FF;
    margin: 0;
    font-weight: bold;
    line-height: 52px;
    padding: 0;
}
#home #events-map {margin-top: 0; border-top: 8px solid #C3E6FF; background: #c3e6ff;}

#home .founders-and-events {padding: 30px 0;}
#home .founders-and-events h2 {
    font-size: 78px;
    font-weight: bold;
    color: #E2E2E2;
    line-height: 58px;
    padding-bottom: 2px;
    border-bottom: 3px solid #E2E2E2;
}
#home .founders, #home .joint-events {height: 500px;}
#home .founders-and-events img { padding: 10px 0; display: inline-block;}
#home .founders-and-events .eucass img { margin-left: 14px;}
#home .founders-and-events .link a {
    border-bottom: 3px solid #e2e2e2;
    border-top: 3px solid #e2e2e2;
    color: #947b3d;
    display: block;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.81px;
    margin-top: 20px;
    padding: 12px 0;
    background: url(../img/freccia.png) no-repeat left center;
    padding-left: 45px;
}
#home .founders a:hover img {
    transform: scale(1.1);
    transition: transform .3s;
}
.founders .logo {display: inline-block; background: no-repeat center center;}
.founders .eccomas {
    width: 168px;
    height: 117px;
    background-image: url(../img/ECCOMAS-logo.png);
}
.founders .eccomas:hover {background-image: url(../img/ECCOMAS-color.png);}
.founders .ercoftac {
    width: 182px;
    height: 127px;
    background-image: url(../img/Ercoftac-logo.png);
}
.founders .ercoftac:hover {background-image: url(../img/Ercoftac-color.png);}
.founders .ceas {
    width: 141px;
    height: 98px;
    background-image: url(../img/CEAS-logo.png);
}
.founders .ceas:hover {background-image: url(../img/CEAS-color.png);}
.founders .eucass {
    width: 150px;
    height: 104px;
    background-image: url(../img/EUCASS-logo.png);
}
.founders .eucass:hover {background-image: url(../img/EUCASS-color.png);}
.founders .euroturbo {
    width: 144px;
    height: 101px;
    background-image: url(../img/euroturbo-logo.png);
}
.founders .euroturbo:hover {background-image: url(../img/euroturbo-color.png);}
.founders .euromech {
    width: 135px;
    height: 94px;
    background-image: url(../img/EUROMECH-logo.png);
}
.founders .euromech:hover {background-image: url(../img/EUROMECH-color.png);}


.joint-events .events-list .meta {border: none;}
.joint-events h3 {margin: 10px 0 0 0;}
.joint-events h3 a {
    color: #42413f;
    font-size: 26px;
    font-weight: 500;
    line-height: 30px;
    margin: 10px 0;
}

@media (max-width: 1009px) {
    #home .slogan {
        font-size: 32px;
        line-height: 40px;
    }
    #home .triangle {
        border-width: 0 0 355px 230px;
    }
}
@media (max-width: 949px) {
    #home .slogan .newline {display: inline;}
    #home .slogan {
        padding: 40px 20px 40px 20px;
        text-align: center;
    }
    #home #events-map { height: 400px;}
    
    #home .digital-library h2 {
        font-size: 58px;
        line-height: 30px;
    }
    #home .digital-library h2 strong { font-size: 80px;}
    #home .digital-library .title-wrapper { padding-top: 45px;}
    #home .map-wrapper h2.title { font-size: 80px; line-height: 40px;}
    
    #home .founders-and-events h2 {
        font-size: 62px;
        line-height: 50px;
    }
}
@media (max-width: 767px) {
    #home .slogan {
        font-size: 25px;
        line-height: 30px;
    }
    .last-news .date { border-left: none; padding-left: 0;}
    .last-news h3 { height: auto; margin-top: 5px;}
    .last-news .news-clip p:last-child {
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }
    .last-news .news-clip:last-child p {border: none;}
    #home .map-wrapper h2.title {
        font-size: 60px;
        line-height: 30px;
    }
    
    #home .digital-library h2 {
        font-size: 46px;
        line-height: 24px;
    }
    #home .digital-library h2 strong { font-size: 64px;}
    #home .digital-library .title-wrapper { padding-top: 35px;}
    #home #events-map { height: 300px;}
    
    #home .founders, #home .joint-events {
        height: auto;
    }
    #home .founders-and-events h2 {
        font-size: 52px;
        line-height: 42px;
        border-width: 2px;
    }
    
    #home .founders-and-events .link  { margin-bottom: 40px;}
    #home .founders-and-events .link a {
        font-size: 20px;
        padding: 6px 0 6px 45px;
        border-width: 2px;
    }
}


.search-panel {
    background: #EEE;
    padding: 10px 0 30px 0;
}
.search-panel h3 {
    font-weight: 500;
    font-size: 24px;
    color: #EDEDED;
    line-height: 25px;
    margin: 0;
}

#search-calendar .home-panel {
    display: none;
}
#search-calendar .home-panel.selected {
    display: block;
}

.fc-time{
   display : none;
}


.dont-show {
    display: none;
}



.search-panel label {
   color: #818181;
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 19px;
    margin-bottom: 0;
}

#submenu .search-panel {
    background: none;
    padding-bottom: 0;
}

#submenu .search-panel label {
    color: #fff;
    text-transform: uppercase;
}


.search-panel.digital-library label {
    color: #fff;
    text-transform: uppercase;
}


.search-panel select {
    width: 100%;
}
.search-panel *[class^=col] {
    margin-bottom: 12px;
}
.search-panel input[type=text] {
    background: rgba(255,255,255,.56);
    border: none;
    box-shadow: inset 0px 1px 3px 0px #9B9898;

    font-size: 14px;
    color: #000000;
    width: 100%;
    height: 29px;
    line-height: 29px;
    padding: 0 10px;
}
.search-panel input[type=submit] {
    background: #C1BDBD;
    width: 100%;
    height: 29px;
    line-height: 29px;
    text-align: center;
    border: none;

    color: #FFFFFF;
    font-weight: 600;
    margin-top: 18px;
    font-size: 16px;
    
}

#submenu input[type=submit] {
    background: rgba(255,255,255,.8);
    color: #333;
    
    height: 35px;
    line-height: 35px;
    font-size: 14px;
    letter-spacing: 6px;
}

#submenu input[type=submit]:hover {
    background: #fff;
}

.search-panel .date input[type=text] {
    width: 88%;
    width: calc(100% -26px);
}
.search-panel .date img {
    float: right;
    margin-top: 5px;
    cursor: pointer;
}
.search-menu {
    font-size: 19px;
    color: #9E9E9E;
    line-height: 23px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid #D2D2D2;
    display: inline-block;
    padding-right: 10px;
}
.search-menu a {
    color: #000; display: inline-block; position: relative;
    padding: 10px;
}
.search-menu a.selected, .search-menu a:hover {
    text-decoration: none;
}
.search-menu a.selected:after, .search-menu a:hover:after {
    content: ' ';
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 5px;
    width: 100%;
    background: #000;
}
.search-menu > div {
    border-right: 1px solid #d2d2d2;
    display: inline-block;
}
.search-menu > div:last-child {border: none;}


.results-type {margin-top: 20px;}
.results-type a {
    font-weight: 700;
    font-size: 60px;
    color: #E1E1E1;
    border-bottom: 1px solid #EFEFEF;
    padding: 0 15px;
}
.results-type a.selected, .results-type a:hover {
    color: #000; text-decoration: none;
    border-bottom: 5px solid #000;
}
.results-type > div:first-child a {
    margin-right: -10px;
}
.results-type > div:nth-child(2) a {
    margin-left: -10px;
}

.sort-menu { display: inline-block; margin: 0 10px;}
.sort-menu label {
    font-weight: 700;
    font-size: 18px;
    color: #E1E1E1;
    line-height: 22px;
    margin-right: 10px;
}
.sort-menu select {
    width: 220px;
}
.visible-xs .sort-menu {
    margin-top: 20px;
}

.events-list ul {margin-bottom: 0;}
.events-list li {
    border-bottom: 1px solid #E9E9E9;
    padding-top: 30px;
}
.events-list .type {
    font-size: 14px;
    color: #A4A2A2;
    line-height: 17px;
    text-transform: uppercase;
}
.events-list h2 {
    font-weight: 500;
    font-size: 26px;
    color: #42413F;
    line-height: 30px;
    margin: 10px 0 ;
}
.events-list h2 a {color: #42413F;}
.events-list .title .link {
    font-size: 12px;
    color: #939292;
    line-height: 14px;
    font-family: "proxima-nova", sans-serif;
}

.events-list .title {padding-top: 20px; padding-bottom: 10px;}
.events-list .meta {
    border-left: 1px solid #E9E9E9;
    min-height: 150px;
    padding-top: 10px; padding-bottom: 10px;
}
.events-list .meta > div {
    padding: 5px 0;
}
.events-list .meta .caption {
    font-weight: 300;
    font-size: 17px;
    color: #9B9B9B;
    line-height: 20px;
    text-transform: uppercase;
}
.events-list .meta .value {
    font-size: 18px;
    color: #343434;
    line-height: 22px;
}

/* Etichette per i partner di E-Caero */
.label-partner {
    background: #ddd;
    padding: 3px 8px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    display: inline-block;
}

.label-partner-eccomas {
    background: #FDCDC8;
    color: #333;
}
.label-partner-ercoftac {
    background: #F8DA75;
    color: #333;
}
.label-partner-ceas {
    background: #C84A4E;
}
.label-partner-eucass {
    background: #5FA2E7;
}
.label-partner-euromech {
    background: #2C6F8D;
}
.label-partner-euroturbo {
    background: #8CC642;
}

.fc-event.partner-eccomas {
    background: #C74B49;
    border-color: #C74B49;
}
.fc-event.partner-ercoftac {
    background: #F8DA75;
    color: #333;
    border-color: #F8DA75;
}
.fc-event.partner-ceas {
    background: #C84A4E;
    border-color: #C84A4E;
}
.fc-event.partner-eucass {
    background: #5FA2E7;
    border-color: #5FA2E7;
}
.fc-event.partner-euromech {
    background: #2C6F8D;
    border-color: #2C6F8D;
}
.fc-event.partner-euroturbo {
    background: #8CC642;
    border-color: #8CC642;
}
.fc-event.partner-other {
    background: #333;
    border-color: #333;
}


.events-list .meta .date { font-weight: 600;}
.events-list .meta a { color: #293CCC; font-weight: 600;}
@media (max-width:949px) {
    .events-list h2 { margin: 5px 0; font-size: 24px;}
    #hero .event {height: auto; padding-bottom: 10px;}
    #hero .event .title {
        font-size: 45px;
        line-height: 44px;
    }
}
@media (max-width:767px) {
    #hero .event-data { border: none;}
    #hero .event .title {
        font-size: 33px;
        line-height: 31px;
        padding: 0;
    }
    #hero .event .date { font-size: 18px;}
    #hero .meta {display: none;}
    #hero .event .desc {border: none;}
    .search-menu > div {padding-top: 10px;}
    .search-menu {font-size: 15px;}
    .search-menu span {
        display: block;
        font-weight: 400;
        margin-bottom: -12px;
        padding-left: 10px;
        text-transform: none;
    }
    .search-panel {
        padding: 10px 0;
    }
    .results-type a {font-size: 40px;}

    .events-list h2 { margin: 0;}
    .events-list li {
        padding: 5px 0 15px;
    }
    .search-menu {display: block; margin-bottom: 30px;}
}

.promote {
    background: #87A86F;
    padding: 40px 0;

    font-size: 36px;
    color: #fff;
    line-height: 43px;
}
.promote .question {display: inline;}

.promote .button {
    background: rgba(255, 255, 255, 0.43) none repeat scroll 0 0;
    border-radius: 8px;
    color: #6F8A5B;
    font-size: 18px;
    line-height: 22px;
    margin-left: 20px;
    padding: 15px 50px;
    vertical-align: middle;
    display: inline-block;
}
.promote .button:hover {background: #fff; text-decoration: none;}
body.map .promote { background: #AC3D1F;}
body.map .promote .button {background: rgba(255, 255, 255, 0.69);}
body.map .promote .button:hover {background: #fff;}

@media (max-width:767px) {
    .promote {text-align: center;}
    .promote .question {
        display: block;
        font-size: 25px;
        line-height: 25px;
        margin-bottom: 10px;
    }
    .promote .button {margin-left: 0;}
}

.events-list .content-tab {display: none;}
.events-list .content-tab.selected {display: block;}

.events-list .map-wrapper {
    position: relative;
}
.events-list .event-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,.8);
}
.results-map #events-map {
    height: 600px;
    margin-top: 40px;
}
.results-map div[id^=event-] {
    padding-top: 20px;
}

.leaflet-popup-content {
    color: #000;
    font-family: "proxima-nova-condensed", sans-serif;
    font-size: 20px;
}
.leaflet-popup-content a {color: #000;}
.leaflet-popup-content-wrapper, .map-legends, .map-tooltip {
    background: #fff none repeat scroll 0 0;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width:767px) {
    .results-map #events-map { height: 400px;}
    .results-map .selected-event .meta {display: none;}
}




/*
 * PAGINE
 */

.page {padding: 20px 0;}
.page h1 {
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    color: #000;
    line-height: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}
.challenge h1 {margin-top: 60px;}

.page a {
    color: #46b5d3;
    font-weight: bold;
}
.page-menu {
    border-top: 2px solid #797979;
    margin-top: 65px;
}
.page-menu li.selected {
    border-left: 2px solid #0054a4;
}
.page-menu a {
    border-bottom: 1px solid #e4e4e4;
    color: #0054a4;
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 20px;
    text-transform: uppercase;
}
.page-menu a:hover {
    background: #0054a4;
    color: #fff;
    text-decoration: none;
}

.page .content {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #414141;
    line-height: 22px;
}
.page .content h2 {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
    color: #000;
    text-transform: uppercase;
}
.page .content p {margin-bottom: 30px;}

.page .section h2 {
    font-family: "Open Sans", sans-serif;
    font-size: 21px;
    color: #0054A4;
    font-weight: bold;
    margin-bottom: 20px;
}

.page .note {
    padding-top: 30px;
}
.page .note:after {
    position: absolute;
    content: ' ';
    width: 30%;
    height: 4px;
    background: #5A5A5A;
    top: 7px;
    left: 10px;
}
.page .note .title {
    font-size: 14px;
    color: #5A5A5A;
    line-height: 21px;
    text-transform: uppercase;
}
.page .note .text {
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    color: #ADACAC;
    line-height: 15px;
}
.page .gallery {margin: 30px 0 50px 0;}
.page .gallery .slider {
    white-space: nowrap;
    padding: 20px 0 30px 0;
    border-bottom: 1px solid #e6e6e6;
}


.page .files {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page .files li {
    font-size: 18px;
    margin-bottom: 3px;
}

.page .files a {
    padding: 20px 20px 20px 60px;
    display: block;
    color: #5a5a5a;
    background: #f8f8f8 url(../img/document.png) no-repeat 20px center;
}

.page .files a:hover {
    background-color: #eee;
    text-decoration: none;
}


.nicescroll-cursors {cursor: pointer;}

@media(max-width: 767px) {
    .page-menu {display: none;}
    .page .note {
        border-bottom: 1px solid #ccc;
        border-top: 1px solid #ccc;
        margin-bottom: 15px;
        padding: 10px 0;
    }
    .page .note:after {display: none;}
    
    .page .content {
        font-size: 14px;
        line-height: 20px;
    }
    .page .content h2 {
        font-size: 14px;
    }
    
    .page .section h2 {
        font-size: 20px;
    }
}

/* CHALLENGES */
.challenge .search-panel input[type=submit] { color: #46b5d3 !important;}
.challenge .meta {font-family: "proxima-nova-condensed";}
.challenge .meta  {margin: 30px 0;}
.challenge .meta li {
    border-top: 1px solid #E2E2E2;
    padding: 5px 0;
}
.challenge .meta li:last-child {border-bottom: 1px solid #E2E2E2;}
.challenge .meta .title {
    font-weight: 300;
    font-size: 20px;
    color: #5A5A5A;
}
.challenge .meta .value {
    font-weight: 600;
    font-size: 20px;
    color: #000;
}
.challenge .meta a {
    color: #46B5D3;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
}

.box-gallery {
    margin: 10px 0 50px;
    position: relative;
}

@media (min-width: 1010px) {
  .box-gallery {
    margin: 10px -115px 50px;
    width: 980px;
    }
}


.box-gallery .img-caption {
    font-weight: 500;
    font-size: 13px;
    color: #5A5A5A;
    margin: 10px 0;
}
.box-gallery .caption {
    font-weight: 700;
    font-size: 13px;
    color: #000000;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #D9D9D9;
    border-bottom: 3px solid #D9D9D9;
}
.box-gallery img {
    max-width: 100%;
}
.box-gallery:after {
    position: absolute;
    content: ' ';
    left: -100px;
    height: 100%;
    top: 0;
    width: 70px;
    background: #46B5D3;
}

.how-to-link {
    margin-top: 20px;
    display: block;
    line-height: 28px;
    margin-left: -15px;
}
/* Tabelle con risultati di ricerche */

table.lines {
    width: 100%;
    border-bottom: 3px solid #e6e6e6;
}

table.lines th {
    text-transform: uppercase;
    color: #878787;
    font-size: 10px;
    font-family: Montserrat, sans-serif;
    font-weight: normal;
    border-bottom: 1px solid #E6E6E6;
    padding: 12px 15px 12px 0;
}

table.single-table th {
    font-size: 12px;
    color: #000000;
    font-family: "proxima-nova-condensed";
    font-weight: bold;
    border-width: 3px;
    padding-bottom: 5px;
}
table.single-table th, table.single-table td { padding-left: 10px !important;}
table.single-table {border-bottom: none;}
table.single-table td {
    font-family: "proxima-nova-condensed";
    font-size: 14px;
    color: #9B9B9B;
    letter-spacing: 0px;
}

table.lines td {
    border-bottom: 1px solid #e6e6e6;
    padding: 15px 20px 15px 0;
    font-size: 16px;
    vertical-align: top;
}

table.lines td.main {
    width: 70%;
}
table.lines h3 {
    font-family: "proxima-nova-condensed";
    font-size: 18px;
    color: #2A2A2A;
    margin: 0;
    font-weight: 600;
}
table.lines h3 a {color: #2A2A2A; font-weight: 600;}
table.lines .download {
    text-align: right;
    padding-right: 15px !important;
}

table.lines td:last-child {
    padding-right: 0;
}

table.lines p {
    margin: 0;
}

table.lines h2 {
    font-size: 18px;
    margin: 0;
}
table.lines .description {
    font-size: 16px;
    color: #9B9B9B;
    letter-spacing: 0px;
}

table.lines .details {
    font-size: 16px;
    color: #9B9B9B;
}

table.lines .details strong {
    color: #333;
}

table.lines .author {
    font-family: "proxima-nova-condensed";
    font-size: 16px;
    color: #B744B9;
    letter-spacing: 0px;
}

.horiz-menu {
    text-transform: uppercase;
    list-style: none;
    border-bottom: 3px solid #e6e6e6;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 0;
}

.horiz-menu li {
    display: inline-block;
}

.horiz-menu li a {
    color: #9B9B9B;
    margin-right: 20px;
    font-weight: 400;
    font-family: Montserrat;
    font-size: 12px;
    padding-bottom: 10px;
    display: inline-block;
}

.horiz-menu li a:hover {
    text-decoration: none;
    color: #101010;
}

.horiz-menu li.selected a {
    color: #101010;
    border-bottom: 5px solid #000000;
    margin-bottom: -5px;
}


/* Sottomenu challenges */

.logo-aligned {
    padding-left: 15px;
}


.paper-menu {
    background: #EFEFEF;
    padding: 50px 0 10px 0;
}

.page .paper-menu {
    margin-top: -20px;
}

.paper-menu a {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #46B5D3;
    text-transform: uppercase;
    margin: 0 30px 0 0;
}
.paper-menu ul {
    margin: 0;
}
.paper-menu li:first-child a {
    margin-left: 0;
}
.paper-menu li {
    display: inline-block;
}
.paper-menu .selected a {
    color: #000;
}


/* Form "Promote an event" */
.contact-form label {
    display: block;
}

.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=url] {
    width: 100%;
    border: 1px solid #ccc;
}

.contact-form textarea {
    width: 100%;
    border: 1px solid #ccc;
}

.form-group.required label:after {
    content: " *";
    color: #900;
}

.comments {
    margin-top: 60px;
}
