/* EFSMA */
body, i{font-size: 16px; font-family: "Didact Gothic"; }
i{font-style: italic;}
table, td { border:none; } 
h2, h3.g-title {font-size: 20px; font-weight: 300; margin-top: 0; text-transform: uppercase; color: #20245f;}
p { margin: 1rem 0 0;}
ul, ol, dl {margin-top: 0;margin-bottom: 0;}

#g-header{text-align: right !important;}
.btn-social {font-size: 34px;}
#g-header a{color: #333333 !important; margin-right: 20px;}
.btn-social .fa-facebook-official:hover{color: #3e5b99;}
.btn-social .fa-twitter-square:hover{color: #5ea9dd;}
.btn-social .fa-linkedin-square:hover{color: #0073b0;}

/* LOGO */
#g-navigation .g-content { margin: 0; padding: 0; } 
.gantry-logo img{width: 100%;}

/* MENU */
#g-navigation .g-container .g-grid { width: auto; } 
#g-navigation .g-main-nav .g-dropdown { z-index: 9999999999999; } 
.g-main-nav .g-standard .g-dropdown { width: 100%; } 
.g-main-nav .g-toplevel > li > .g-menu-item-container {padding: 2.3rem 1.0rem;}

/* MENU horizontal */
.menuhorizontal li{width: 45%;float: left;margin: 10px 25px;}

/* Breadcrumbs */
#g-heading1 .g-content {margin: 0 0 -1em; padding: 0 1rem;}
#g-heading1 .divider img{margin-top: -3px;}

/* VIDEO */
.homepage #g-slideshow .g-content { margin: 0; padding: 0; } 
#vidcontainer { height: 0; overflow: hidden; padding-bottom: 41.05%; padding-top: 1.6%; position: relative; margin: -1%;margin-bottom: 22px;} 
#vidcontainer iframe, #vidcontainer object, #vidcontainer embed { height: 100%; left: 0; position: absolute; min-width: 100%; width: 100%; z-index: 0;  border: none;margin-top: -1%; } 

#vidcontainernohome { height: 0; overflow: hidden; padding-bottom: 21.02%; padding-top: 0; position: relative; margin: -1%;} 
#vidcontainernohome iframe, #vidcontainernohome object, #vidcontainernohome embed { height: 100%; left: 0; position: absolute; min-width: 100%; width: 100%; z-index: 0;  border: none;margin-top: -1%; }

.ModVideoBanner p { margin:0;}
#videobanner{margin-top: -1.8%;  margin-bottom: -1%;}

.owl-carousel.owl-loaded { display: block; } 
.teamSlider .team-infos span { display: none; } 
.owl-carousel .owl-item img, .circl-hover { width: 70%; } 
.teamSlider .overlay-item h3 { line-height: 30px; font-size: 1.4em; } 
.teamSlider .overlay-item p { line-height: 2; margin: 1rem 2rem; } 
.jumap-zoomin, .jumap-zoomout { padding: 3px 11px 13px 5px; } 

/* GALLERY */
.gallerygovernance{ margin:-2em 0;}
.pt-featured{height: auto;}
.slideplus-bottom .slideplus-caption, .slideplus-top .slideplus-caption {background-color: rgba(0,0,0,.7);}

.galleryhistory{margin:-2em 0;}
.galleryhistory img {border-radius: 12px;-moz-border-radius: 12px;-webkit-border-radius: 12px;}
.galleryhistory .slideplus-bottom .slideplus-caption, .galleryhistory .slideplus-top .slideplus-caption {background-color: rgba(0,0,0,.7);border-radius: 0 0 12px 12px;-moz-border-radius: 0 0 12px 12px;-webkit-border-radius: 0 0 12px 12px;}

#g-portfolio {margin: 2em 0;}

/* NEWS */
.modNewsEvents h4{ font-size: 16px; font-weight: normal;}
.modNewsEvents .vina-item{border-top: none!important;}
.modNewsEvents .title{text-align:justify;}

/* BLOG */
/* EVENTS */
#map-canvas{height: 400px !important;}
#rsepro-rating{display: none;}
.lstRsEvents h1{display: none;}
.rsepro_search_form {margin-top: 2em;}
/* questa è il marker sulla mappa (se si lascia il marker eliminare questa riga, per la foto va bene cosi) */
/*#map-canvas .gm-style img {top: 1em !important; position: absolute !important;}*/
.rsep_taxonomy_block{margin: 0;}
.rsepro_events_module li {margin-bottom: 1.5em;}
.rsepro_upcoming { font-size: 16px;}
.rsepro_upcoming li{padding: 0 2px 25px;}
.rsepro_upcoming li .rsepro-image {margin-right: 20px !important;}
.rsepro-image img {width: 140px; margin: 0 0 10px;}
.rsepro_upcoming small{ font-size: 16px;}
table.rs_calendar_module td.has-events a{background: none repeat scroll 0 0 #dadada;}
.rsep_hits, .rsep_posted, .rsep_categories, .rsep_taxonomy_block{display: none;}
#rseImageModal .modal-body {max-height: inherit;overflow-y: hidden;}
.bloglstRsEvents h2{font-size: 20px;}
.article-info-term {display: none;}
dd.category-name{margin-top: -1em; margin-bottom: 1em;}
.readmore {margin-bottom: 1.5em;}
.cat-children {display: none;}

.listcategory {background: whitesmoke;padding: 1em;border-radius: 20px;}
.listcategory h3{font-size: 20px;}

.moduletable.ModMenuNews {height: 200px;}
#boxMenuPastNews {position: absolute; top: 440px; right: 30px;}

.moduletableGallEvents .ju-slideshow .ju-slide-desc{bottom: -190px!important; }

.tltSez{font-size: 18px;}

/* Governance */
.pageGovernance table, .pageGovernance table td{width: auto; vertical-align: top;}
#sp-testimonial-wrapper #monialsfader #monials li .testimonials{padding-left: 8% !important;}
#monialsfader #monials li .author{font-size: 16px!important;margin-left: 21px; text-align: left !important;}
#sp-testimonial-wrapper .testi_bg{height: auto !important;}
#sp-testimonial-wrapper #monialsfader #monials li .testi_bg{margin-top: -25px!important;}
#monialsfader_prev, #monialsfader_next {cursor: pointer;}
#sp-testimonial-wrapper #monialsfader #monials li .img img {border-radius: 0 !important;}
/*.colSpaceGov{width: 150px !important;}*/

/* MAPPA EUROPA --- OUR MEMBERS  */
.jumap-container.nosupport-domain { background: url(../../../../../../../images/flag_europe.png) no-repeat; background-size: 138%;background-position: 50% 50%;}
#sp-testimonial-wrapper #monialsfader #monials li .testimonials {font-size: 16px !important;}

/* TESTO IN HOME */
#g-feature{background: transparent;}
#g-about {background: #f6f6f6;}
#g-main {padding: 0;}

/* Testo Member Associations */
.modTxtMemberAssociations{margin-top: 2em;}
.pageNationalAssociations table, .pageNationalAssociations table td{width: auto; vertical-align: top;}
.pageNationalAssociations table td img{ vertical-align: top !important; width: 134px;}
.pageNationalAssociations table td:nth-child(1), .pageNationalAssociations table td:nth-child(4){width: 150px !important;}

/* FORM */
.formResponsive input[type="text"]{height: 28px;}
#submit{padding: 8px 20px 8px;font-size: 1em;font-weight: bold;}
.formResponsive input.rsform-calendar-button {margin-bottom: 10px;}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input{font-size: 16px;}
.formResponsive input[type="submit"], .formResponsive button[type="submit"]{background-image: -moz-linear-gradient(top, #0053c8, #20245f);background-color: #20245f;}
#sp_qc_submit {padding: 20px !important;}
.formResponsive input[type="radio"], .formResponsive input[type="checkbox"] {margin: 10px 5px;}
#formJoinUs #rsform_5_page_1 .formControlLabel{width: 25%; margin-right: 1em;}
#SendPrev {margin-right: 1em;font-size: 16px;}
.xdsoft_calendar table tr td {float: none !important; width: auto !important;}
.rsform-block-privacy-read-more {padding-left: 160px;}

/* page publications */
.blogListPublications img{ max-width: 120px; width: 120px;}
.blogListPublications h2 { font-size: 20px;}
.item-pageListPublications h2 {font-size: 20px;}

#lnkBackNational{margin:0.6rem 1rem 1.6rem;}

.colsx, .coldx{width: 50%;float: left; padding: 0 1em;}
.coldx .container {position: relative; width: 100%; height: 0;padding-bottom: 56.25%;}
.coldx iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }  


/* PAGE CONTACT */
.contactUs {padding: 0 0 40px;}
.pageContact #g-main .g-content{margin: 0; padding: 0;}
.pageContact #g-main .g-content p{margin: 0;}
.pageContact iframe{margin: -5px 0;}
.pageContact .devider{margin-bottom: 0.5em !important;}
.customModContactInfo{margin: 4em 0 -4em;}

/* divisore */
.devider {margin: 0;}
#g-devider1 .g-content { margin: 0; padding: 0; } 

/* FOOTER */
#g-footer { background: #20265d url(../../../../../../../images/footer.png) no-repeat; background-position: 50% 0;background-repeat: repeat-x;}
.contactUs { border-bottom: 0;}
.customMedicalFooter { margin: -1.4em;}
.customMedicalFooter img{width: 16.66%!important;}

#logofooter{float: right;width: 60px;margin: -4.2em 0;}
.footer p { margin: 25px;}

/* ----------------------------------------------------------------*/
/* ----------------------------------------------------------------*/
/* ----------------------  04219f   Media     ---------------------------*/
/* ----------------------------------------------------------------*/
/* ----------------------------------------------------------------*/

/* Smartphones */
@media (max-width: 360px) {
    /* TABELLE */
    table tr td { float:left; width:100% !important; } 
    table tr td h2 { text-align:left; } 
    table tr td img { max-width:100% !important; } 

    /* logo */
    .gantry-logo{text-align: center;margin: 5px 0;}
    .gantry-logo img {width: 85%;}
    #logofooter {float: none;margin: 15px auto 10px;}

    #g-heading1 .size-50 {margin-bottom: 2em;}

    .rs_table tr td, .rs_calendar_module.rs_table tr td { float:none;width:auto !important;} 

    .jumap_wrapper_right .jumap_viewport, .jumap_wrapper_right .jumap_desc {float: none; width: 100% !important;}
    .modEuropa{height: 320px;}
    
    #sp-testimonial-wrapper #monialsfader #monials li .img {top: -2% !important;left: 13%!important;}
    #monialsfader #monialsfader_prev {left: 10%!important;top: 15%!important;}
    #monialsfader #monialsfader_next {right: 10%!important; top: 15%!important;}
    #sp-testimonial-wrapper #monialsfader #monials li .testi_bg {margin-top: -15px !important;overflow-y: auto;overflow-x: hidden;}
    #monialsfader #monials li .author {margin-top: 0px;}
    #sp-testimonial-wrapper #monialsfader #monials li .testimonials {padding-left: 0 !important;}
    #monialsfader #monials .img{width: 200px !important;}
    #sp-testimonial-wrapper #monialsfader #monials li .img{height:180px !important;width:180px !important;}
    #sp-testimonial-wrapper #monialsfader .testi_text p{text-align: justify;}
    

    #sp-quickcontact-form .msgsection{float: none;}
    #sp-quickcontact-form .msgsection, #sp-quickcontact-form .msginfos{width: 100%;}

    /* NEWS */
    .pull-left.item-image {width: 100%;}
    .pull-left.item-image {margin-right: 2em !important;}
    .moduletable.ModMenuNews {margin-bottom: 100px;}
    .modNewsEvents img{width: 100%;}

    /* page publications */
    .blogListPublications img{ margin-right: 10px;}
    .blogListPublications .items-row{ margin-bottom: 2em;}
    .blogListPublications h2 { font-size: 18px;}
    .blogListPublications p{text-align: left !important;}
    .item-pageListPublications h2 {font-size: 20px;}
    .item-pageListPublications img{ margin-right: 20px;}
    .item-pageListPublications p:nth-child(1) {text-align: left !important;}

    .customMedicalFooter img{width: 50%!important;}

    /* governance home */
    #monialsfader {height: 500px !important;}
    #sp-testimonial-wrapper #monialsfader #monials li .imghol{width: 95% !important;}
    #monialsfader #monials li .author{margin-left: -5px;}

    /* gallerie */
    .slideplus-aspect{padding: 50px!important;}

     /* Gallery history,contact */
    .moduletable.galleryhistory .slideplus-caption { display: none;}

    /* VIDEO BANNER */
    .moduletable.ModVideoBanner{display: none;}

    /* FORM */
    #send, #Send {margin-top: 4em;}

    #boxMenuPastNews {position: relative;top: 0; right: 0;}
    #boxMenuPastNews img{ max-width: none;float: none !important;}
}

@media (min-width: 361px) and (max-width: 400px) {
    /* TABELLE */
    table tr td { float:left; width:100% !important; } 
    table tr td h2 { text-align:left; } 
    table tr td img { max-width:100% !important; } 
    
    /* logo */
    .gantry-logo{text-align: center;margin: 5px 0;}
    .gantry-logo img {width: 85%;}
    #logofooter {float: none;margin: 15px auto 10px;}

    #g-heading1 .size-50 {margin-bottom: 2em;}

    #sp-testimonial-wrapper #monialsfader #monials li .img {top: -2% !important;left: 17%!important;}
    #monialsfader #monialsfader_prev {left: 10%!important;top: 20%!important;}
    #monialsfader #monialsfader_next {right: 10%!important; top: 20%!important;}
    #sp-testimonial-wrapper #monialsfader #monials li .testi_bg {margin-top: -15px !important;overflow-y: auto;overflow-x: hidden;}
    #monialsfader #monials li .author {margin-top: 0px;}
    #sp-testimonial-wrapper #monialsfader #monials li .testimonials {padding-left: 0 !important;}
    #monialsfader #monials .img{width: 200px !important;}
    #sp-testimonial-wrapper #monialsfader #monials li .img{height:200px !important;width:200px !important;}
    #sp-testimonial-wrapper #monialsfader .testi_text p{text-align: justify;}

    #sp-quickcontact-form .msgsection{float: none;}
    #sp-quickcontact-form .msgsection, #sp-quickcontact-form  .msginfos{width: 100%;}

    /* NEWS */
    .pull-left.item-image {width: 100%;}
    .pull-left.item-image {margin-right: 2em !important;}
    .moduletable.ModMenuNews {margin-bottom: 100px;}
    .modNewsEvents img{width: 100%;}

    /* page publications */
    .blogListPublications img{ margin-right: 10px;}
    .blogListPublications .items-row{ margin-bottom: 2em;}
    .blogListPublications h2 { font-size: 18px;}
    .blogListPublications p{text-align: left !important;}
    .item-pageListPublications h2 {font-size: 20px;}
    .item-pageListPublications img{ margin-right: 20px;}
    .item-pageListPublications p:nth-child(1) {text-align: left !important;}

    .customMedicalFooter img{width: 33.33%!important;}

    /* governance home */
    #monialsfader {height: 500px !important;}
    #sp-testimonial-wrapper #monialsfader #monials li .imghol{width: 95% !important;}
    #monialsfader #monials li .author{margin-left: -5px;}

    /* gallerie */
    .slideplus-aspect{padding: 50px!important;}
    
    /* Gallery history,contact */
    .moduletable.galleryhistory .slideplus-caption { display: none;}

    /* VIDEO BANNER */
    .moduletable.ModVideoBanner{display: none;}

    /* FORM */
    #send,#Send  {margin-top: 2em;}

    #boxMenuPastNews {position: relative;top: 0; right: 0;}
    #boxMenuPastNews img{ max-width: none;float: none!important;}
}

/* Smartphones to Tablets */
@media (min-width: 401px) and (max-width: 767px) {
    /* TABELLE */
    table tr td { float:left; width:100%!important; } 
    table tr td h2 { text-align:left; } 
    table tr td img { max-width:100% !important; } 

    /* logo */
    .gantry-logo{text-align: center;margin: 5px 0;}
    .gantry-logo img {width: 85%;}
    #logofooter {float: none;margin: 15px auto 10px;}

    #g-heading1 .size-50 {margin-bottom: 2em;}

    #sp-quickcontact-form .msgsection{float: none;}
    #sp-quickcontact-form .msgsection, #sp-quickcontact-form  .msginfos{width: 100%;}

    /* NEWS */
    .pull-left.item-image {margin-right: 2em !important;}
    .moduletable.ModMenuNews {margin-bottom: 100px;}
    .modNewsEvents img{width: 100%;}

    /* page publications */
    .blogListPublications img{ margin-right: 10px;}
    .blogListPublications .items-row{ margin-bottom: 2em;}
    .blogListPublications h2 { font-size: 18px;}
    .item-pageListPublications h2 {font-size: 20px;}
    .item-pageListPublications img{ margin-right: 20px;}

    .customMedicalFooter img{width: 33.33%!important;}

    /* governance home */
    #monialsfader{height: 28em!important;}
    #sp-testimonial-wrapper #monialsfader #monials li .img {top: 0 !important;left: 20%!important;}
    #monialsfader #monialsfader_prev {left: 10%!important;top: 20%!important;}
    #monialsfader #monialsfader_next {right: 10%!important; top: 20%!important;}
    #sp-testimonial-wrapper #monialsfader #monials li .testi_bg {margin-top: -15px !important;overflow-y: auto;overflow-x: hidden;}
    #monialsfader #monials li .author {margin-top: 0px;}
    #sp-testimonial-wrapper #monialsfader #monials li .testimonials {padding-left: 0 !important;}
    #monialsfader #monials li .author{margin-left: 29px;}
    #monialsfader #monials .img{width: 200px !important;}
    #sp-testimonial-wrapper #monialsfader #monials li .img{height:200px !important;width:200px !important;}
    #sp-testimonial-wrapper #monialsfader .testi_text p{text-align: justify;}

     /* gallerie */
    .slideplus-aspect{padding: 50px!important;}

     /* Gallery history,contact */
    .moduletable.galleryhistory .slideplus-caption { display: none;}

     /* VIDEO BANNER */
    .moduletable.ModVideoBanner{display: none;}

    /* FORM */
    #send,#Send  {margin-top: 2em;}


    #boxMenuPastNews {position: relative;top: 0; right: 0;}
    #boxMenuPastNews img{ max-width: none;float: none!important;}
}

/* Tablets */
@media (min-width: 768px) and (max-width: 959px) {
    .gantry-logo img{width:235px;position:absolute;top:17px;}

    #logofooter {float: none;margin: 15px auto 10px;}

    /* menu */
    .g-main-nav .g-toplevel > li > .g-menu-item-container{padding:12px;}

    .customModMenuNews img{max-width: 200%;float: left !important;}

    #g-heading1 .size-50 {margin-bottom: 1em;}

    /* governance home */
    #monialsfader #monials li .author{margin-left: 12px;}
    #monialsfader{width: 450px !important;}
    #sp-testimonial-wrapper #monialsfader #monials li .testi_text{float:right;width:96%;height:85%;margin:5px 5px 0 0;padding-top:0%;}
    #monialsfader #monialsfader_next{right: 15px !important;}

    .colSpaceGov{width: 5px !important;}

    #boxMenuPastNews {top: 540px;}

    /* FORM */
    #Send {margin-top: 2em;}

    /* CONTATTI */
    #ModTxtContatti{margin-top: 138px;}
}

/* Tablets landscape*/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 2) {
    .gantry-logo img{width:235px;position:absolute;top:17px;}
}

/* Desktop */
@media (min-width: 960px) and (max-width: 1199px) {
    #logofooter {margin-right: 1em;}

    .customModMenuNews img{max-width: 200%;float: left !important;}

    /* NEWS */
    .pull-right.item-image { width: 300px;}

    #boxMenuPastNews {top: 540px;}

    /* CONTATTI */
    #ModTxtContatti{margin-top: 138px;}
}

/* Desktop */
@media (min-width: 1200px) and (max-width: 1400px) {
    #boxMenuPastNews {top: 540px;}
}

/* Large Display */
@media (min-width: 1200px) {
    #logofooter {margin-right: 1em;}

    #tblGovernance td:nth-child(3){padding-left: 250px;}

    /* NEWS */
    .pull-right.item-image { width: 500px;}

    /* CONTATTI */
    #ModTxtContatti{margin-top: 138px;}
}

@media only all and (max-width: 50em) {
    #vidcontainer{display:none;}

    #g-navigation .g-menu-hastouch .g-toplevel > li.g-menu-item-link-parent > .g-menu-item-container > .g-menu-parent-indicator{ border-radius:5px; -webkit-border-radius:5px; -moz-border-radius:5px; -ms-border-radius:5px; -o-border-radius:5px; }

    #sp-testimonial-wrapper #monialsfader #monials li .img,#sp-testimonial-wrapper #monialsfader #monials li .testi_text{background: none!important;}
}

@media only all and (min-width: 48em) {
    #logofooter {margin-right: 1em;}
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
    /* IE10+ specific styles go here */ 

    #videobanner{margin-top: -4.7% !important;  margin-bottom: -5.2%!important;}
}