@import url('https://fonts.googleapis.com/css?family=Poppins:400,600,700|Roboto:300,300i');

html {
    position: relative;
    min-height: 100%;
}


/*  TYPOGRAFY  */

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #787878 !important;
    background: #fff !important;
    line-height: 1.7em;
    margin-bottom: 270px;
}
strong {
    font-weight: bold;
}

/*  HEADINGS  */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

h2 {}

h4 {}


/*  LINKS  */

a {
    color: #303133;
    text-decoration: none;
}

a:focus,
a:active,
a:hover {
    outline: none;
}

a:hover,
a:focus {
    color: #1F8ACB;
    text-decoration: none;
}
button:focus {
    outline: none;
}

/*  GENERAL STYLE  */

#wrap {
    padding: 0px;
    min-height: 100%;
}
.Shadow, .ShadowNoHover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}
.Shadow:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
.random-image img {
    min-width: 100%;
    height: auto;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}
.breadcrumb li a,
.breadcrumb li.active span,
.divider {
    color: #eee;
}
.breadcrumb li:hover a {
    border-bottom: 1px solid #eee;
}
.divider {
    padding-right: 5px;
}
.CTA {
    text-align: center;
    margin-top: 50px;
}
.CTA a, .btn.btn-primary.validate {
    font-family: 'Poppins', sans-serif;
    background: #1F8ACB;
    padding: 10px 35px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    border: 0;
    color: #fff !important;
}
.btn.btn-primary.validate {
    border-radius: 0;
    bottom: 30px;
    right: 30px;
}
.CTA:hover a, .btn.btn-primary.validate:hover {
    color: #fff;
    background: #2db0ff; 
}
/*  HEADER  */

#header {
    box-shadow: 0 0px 26px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}
.TopHeader {
    background: #f6f6f6;
    border-bottom: 1px solid #ebebeb;
}

.Logo {
    height: 80px;
}
.Logo img {
    max-width: 200px;
}
.navbar {
    min-height: 80px;
    padding: 0;
}

.navbar .nav > li > a {
    padding: 25px 10px;
    
    margin: 0 2px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
    color: #002547;
}
div.mod-languages li:last-child  > a, .navbar .nav > li:last-child  > a{
    padding-right: 0;
    margin-right: 0;
}


.navbar .nav > li.active > a,
.navbar .nav > li:hover  > a {
    color: #1F8ACB;
}
.navbar .nav > li:focus > a,
.navbar .nav > li:hover > a {

   
}

.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus {}


/*  MAIN  */

#main {
  
}


/*  FOOTER  */

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 280px;
    background-color: #002547;
    padding: 30px 0;
    color: #fff;
}
#footer p {
    line-height: 1.5rem;
}
#footer b {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}
#footer a, .footermenu li a  {
    color: #ddd;
}

#footer a:hover, .footermenu li:hover a {
    text-decoration: underline;
}
#footer h4 {
    color: #fff;
    margin-bottom: 15px;
}
.footermenu  {
    flex-direction: column;
}
.LogoFooter {
    margin-bottom: 25px;
    max-width: 200px;
}
.FooterCopy {
    text-align: center;
    border-top: 1px solid #eee;
    font-size: 14px;
}
/* HOME */
.WrapInfoHome {
    margin: 100px 0;
    text-align: center;
}
.WrapInfoHome p {
    font-size: 1.3rem;
}
.WrapServicesHome {
    margin: 50px 0;
}
.WrapServicesHome h2 {
    font-size: 3rem;
    color: #303133;
    margin-bottom: 30px;
}
.WrapServicesHome .WrapServicesItem, .WrapEventsHome .row {
   
}
.ContactSection {
    min-height: 250px;
    position: relative;
}
.ContactSection:before {
    background: rgba(1, 8, 15, 0.5);
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}
.IntroContact{
    z-index: 1;
    text-align: center;
    color: #fff;
}
.IntroContact h3 {
    color: #fff;
    text-transform: uppercase;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}
/* SERVIZI */
.page-header {
    height: 350px;
    position: relative;
}
.page-header:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: rgba(1, 8, 15, 0.5);
}
.page-header .ItemTitle,.page-header .CatTitle, .page-header .breadcrumb {
    position: relative;
    z-index: 1;
}
.WrapCat {
    margin: 30px 0;
}
.WrapCat .row {
    margin-bottom: 30px;
}

.CatTitle, .ItemTitle {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0;
}
.home .CatTitle {
    color: #002547;
}
.WrapItemText, .CatDescr {
    padding: 50px 0;
}
.CatDescr, .ItemText {
    text-align: justify;
}
.WrapServicesItem {
    border-radius: 5px;
    overflow: hidden;
}
.ServicesCard {
    border-top: 5px solid #1F8ACB;
}
.WrapServicesCards {
    margin-top: 30px;
}
.WrapServicesCards .row {
    margin-bottom: 30px;
}
.ServicesCard {
    padding: 20px 15px;
    text-align: center;
}

.WrapServicesItem {
    /*height: 100%;*/
    position: relative;
}
.WrapServicesItem img {
    width: 100%;
}

.WrapServicesItem h3 a{
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
    display: block;
}
.WrapServicesItem h3.HomeTitle a {
    font-size: 2rem;
}
.ServicesItemText {
    padding: 90px 25px 35px;
    min-height: 250px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: -moz-linear-gradient(top, rgba(125,185,232,0) 0%, rgba(0,37,71,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(125,185,232,0) 0%,rgba(0,37,71,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(125,185,232,0) 0%,rgba(0,37,71,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007db9e8', endColorstr='#002547',GradientType=0 );
}


.WrapServicesItem .Text {
    padding-bottom: 40px;
}
.WrapServicesItem .Text a {
    text-align: justify;
    color: #787878;
}

.WrapServicesItem:hover h3,
.WrapServicesItem:hover .Text {
	
}
/* FORM */
.WrapContactForm {
    padding: 20px 30px 30px;
    color: #454545;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}
.contact-form legend {
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 5px;
    font-weight: 500;
}
.contact-form input, 
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(34,36,38,.15);
}
.controls {
    text-align: right;
}
.WrapContactInfo h3 {
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: #002547;
    text-transform: uppercase;
    font-weight: bold;
}
.WrapContactInfo h4 {
    letter-spacing: 1px;
    font-size: 16px;
    text-transform: uppercase;
}
.WrapContactInfo a {
    color: #767676;
}
.WrapContactInfo a:hover {
    color: #002547;
    text-decoration: underline;
}
#jform_com_fields_check_privacy label {
  text-align: left;
}
#jform_com_fields_check_privacy0 {
	width: auto;
} 
.DataUseLink {
 color: #1f8acb;
}
.DataUseLink:hover{
  text-decoration: underline;
}
/* CONTACT PERSON */
.ContactPersonTitle, .ItemText h2 {
    margin-top: 50px;
    text-align: center;
    color: #002547;
    text-transform: uppercase;
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 2px;
}
.ItemTeam {
    height: 205px;
    border-radius: 5px;
    overflow: hidden;
}
.FotoTeam img {
    width: 100%;
}
  
.SmallCard .InfoTeam {
    text-align: left;
    height: 205px;
    padding: 15px 15px 15px 0;
}
.InfoTeam h4 {
    margin-bottom: 0;
}
.SmallCard .InfoTeam h4 {
    font-size: 1.47rem;
}
.RoleTeam {
   font-style: italic; 
}
.E-MailTeam p {
    border-top: 1px solid #ccc;
    padding-top: 5px;
    margin: 0;
}