
/* sidebar in mobile view - important for category pages */
@media only screen and (max-width: 768px) {
  .sidebar-r {
    padding-left: 20px !important;
    margin-left: 0px !important;
  }
}



/* simulate truncation of item text for the category pages*/
.blog-items .items-row .item p  {
    font-size: 15px;
 display: -webkit-box;      
  -webkit-line-clamp: 2;     /* number of lines before cutoff */
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #000000;
}

.blog-items .items-row .item p a  {
color: #000000 !important;
}

.blog-items .items-row .item p strong  {
font-weight: 300 !important;
}

.blog-items .items-row .item p em  {
font-style: normal !important;
/* color: #4c90fe; */
}


/* START: DO NOT CHANGE THIS: FIX LAYOUT ISSUES*/
.t4-content {max-width: none;}

@media (min-width: 992px){
.t4-main-body {
    padding-top: 0px;
  }
}
@media (max-width: 992px){
   .t4-section .t4-section-inner {
    margin-top: 60px !important;
}
}
.t4-section .t4-section-inner {
    margin-top: 100px;
}

.item-image + .item-content {
    padding-top: 15px; /* space in blog layout between image and title*/
}

 /* IMPORTANT: Hide "main body" position only for the home page 
262 Home EN, 259 Home IT, 260 Home ES
*/
body.item-262 .t4-main-body, body.item-259 .t4-main-body,
body.item-260 .t4-main-body {
 display:none; /* background-color: red; */
 }

body.item-262 .t4-section .t4-section-inner,
body.item-259 .t4-section .t4-section-inner,
body.item-260 .t4-section .t4-section-inner{
    margin-top: 15px !important;
}

body.item-262 div[id*=t4-section-],
body.item-262 div[id^=t4-section-],
body.item-259 div[id*=t4-section-],
body.item-259 div[id^=t4-section-],
body.item-260 div[id*=t4-section-],
body.item-260 div[id^=t4-section-]{
        padding-top: 20px !important;
    padding-bottom: 0px !important;
  overflow: hidden;
}

.about_BS {margin-top:-30px}  /* about module*/
/* .t4-hero .n2-padding {padding-top: 100px; margin-bottom: -30px;}   Slider home*/


.category-desc {
    padding: 0px;
    margin-top: 0px;
  margin-bottom: 0px;
  color: #000000 !important;
}
/* END: DO NOT CHANGE THIS: FIX LAYOUT ISSUES*/


/* BORDER RADIUS PER MENU, pulsanti e immagini */
.t4-megamenu.animate.slide .dropdown.show.animating > .dropdown-menu,
.starttodaybutton a,
img {
/* border-bottom-left-radius: 10px; */
  border-radius: 15px;  

}

/* Prevent collapsing main menu items on two rows*/
.t4-megamenu .navbar-nav > li > a, .t4-megamenu .navbar-nav > li > .nav-link {
    padding-left: 15px;
    padding-right: 15px;
}

.t4-megamenu .navbar-nav > li > .dropdown-toggle {
padding-right:5px;
}

.col-xl-8 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.6666666667%;
    flex: 0 0 auto;
    max-width: 100%;
    width: auto;
}


/* Dropdown menu item */
.t4-palette-menu_bs a {
    color: #000000 !important;
}
/* Dropdown menu dropdown*/
.t4-megamenu .dropdown-menu {
    background: #ffffff !important;
}


/* dropdown menu arrow color*/
.t4-megamenu .dropdown-toggle .item-caret::before {
    border-top: 4px solid #9a9a9a;
}

/* Align logo and menu to the content in blog page*/
.t4-header-inner > div{
    max-width: 1260px;
    margin: auto;
}
/* Remove a position after the menu to improve "Align logo and menu to the content in blog page"*/
/* ---> Desktop Menu Only */
@media screen and (min-width: 992px) {  
.t4-header-right {
display:none !important;
}
}



/* language module */
div.mod-languages {
    padding-left: 1em;
}
div.mod-languages a {
    padding: 0px;
}

@media screen and (max-width: 992px) {
div.mod-languages {
    padding-right: 18px;
}
}



/* position for social icon and language switcher*/  
.t4-topbar {
  justify-content: end;
  max-width: 1260px;
  margin: auto;
  padding: 0px;
}

/* social icons mm*/    
.social-icons_mm {
        display: flex;
        justify-content: center;
        align-items: center;
       /* margin-top: 20px; */
    }
    .social-icons_mm a {
        /* margin: 0 10px;  Adjust spacing between icons */
    }
    .social-icons_mm img {
        width: 30px; /* Adjust size of icons */
        height: auto;
    }

/* Edit font style of some h and p*/
.module-ct p:last-child  {
    font-size: 15px;
}

.jacl-item__media.radius-normal {
    border-radius: 0px;     
}


body{
/* font-family: Arimo;  */
  font-family: Arial, Helvetica, sans-serif;
  color: #000000;
}

b, strong {
    font-weight: 700;
}


.sidebar-r
 {
    padding-top: 0px; /* padding-top: 20px; */
    border-left: 1px dashed#e9ecef;
    /* border: black; */
    /* border-width: 1px; */
    padding-left: 40px;    
    margin-left: 20px;
    margin-top: 0px; /* margin-top: 26px; */
}







/* Top menu position fixed  */
#t4-header {
    position: fixed;
    width: 100%;
}


/* Edit date and margin in modules displaying articles*/
.jacl-item__meta .item-date{
    text-transform: capitalize;
    font-size: 13px;
}
.jacl-item__title {
    margin-bottom: 8px;
}

/* BS Keyword home module*/
.BSKeyword sub {
    color: #888;
    display: block;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.2;
    padding: 0 0 5px 0;
    text-transform: none;
}

 
.BSKeyword p {
    border: 1px solid #c5c5c5;
    border-radius: 5px;
    padding: 13px;
    display: block;
    align-items: center;
    justify-content: center;
    text-align: center;
}
 


/*   parallax e.g. home R&D module*/
.parallax-container_MM {
      position: relative;
      height: 400px;
      overflow: hidden; /* Ensure the parallax effect works */
      /* background-attachment: fixed; */ /* Enable this for parallax effect*/
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }

    /* Create an overlay within .parallax-container_MM */
    .parallax-overlay_MM {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* Apply a darker semi-transparent black overlay 
          background: linear-gradient(rgb(25 63 90 / 80%), rgb(25 63 90)); */
      /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)); */
   
		background: linear-gradient(rgb(230 236 239 / 0%), rgb(255 255 255 / 0%));
}



 /* Add styling to the image overlay */
/* Activate the following for parallax effect*/    
/* .overlay_MM {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      text-align: center;
    }
*/

.overlay_MM {
    color: white;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
  max-width: 1260px;
  margin: 0 auto;
}








/* Hide template lines in home page background  */
div.t4-verticle-lines .line-item {
    width: 0px;
}
/* Important to avoid overlapping sections and other section issues  */
div[id*=t4-section-], div[id^=t4-section-] {
    clear: both;
  padding-top: 50px; 
  padding-bottom: 50px;
}

div[id*=t4-section-].spacer-small, div[id^=t4-section-].spacer-small {
    padding-top: 0px;
      padding-bottom: 0px;
}




/* .t4-section .t4-section-inner {
    padding-top: 100px;
} 

.t4-main-body#t4-main-body {
    padding-top: 150px;
}
*/
 

.t4-section.decor:before {
    background: none;
}

/* Fix videomobileidentity Section  */
.videomobileidentity h2 {
    margin-top: 15px;
    font-size: 30px;
    line-height: 35px;
}


/* Columns Classes  */
.gkCols[data-cols="2"] > div {
    width: 50%;
}

.layout_bs_media {
  height: 315px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.gkCols[data-cols="4"] > div {
    width: 25%;
}

.gkCols[data-cols="5"] > div {
    width: 20%;
}

.gkCols > div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    padding: 0 20px;
}

@media screen and (max-width: 1000px) {
  .gkCols[data-cols="2"] > div {
    width: 100%;
  }
  
  .layout_bs_media {
  height: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
    text-align: left !important;
    padding-left: 0px !important;
}
  
   .layout_bs_media.starttodaybutton a {
    margin: 0px !important;
}
   
  
    .gkCols[data-cols="3"] > div {
    width: 100%;
  }
    .gkCols[data-cols="4"] > div {
    width: 100%;
  }
}


/* Adjust footer BS */
.container-footer-bs {
  /*width: 90%;  Adjust the width as needed */
    display: flex;
  justify-content: center;
  margin: 0 auto; /* Center the container */
  padding-left: 5%;
  padding-right: 5%;
}



.column-footer-bs {
  width: 20%;
  float: left;
  box-sizing: border-box;
  padding: 15px;
  text-align: center;
}

.column-footer-bs {
  /* border: 1px solid #ddd;
  background-color: #f1f1f1; */
  margin: 5px;
  text-align: center;
}

.column-footer-bs .header {color: #F16822;}
.column-footer-bs a, .container-footer-bs-copyright a {color: #ffffffd6; }
.container-footer-bs-copyright p {color: #ffffffab;font-size:13px;}
.column-footer-bs a:hover {color: #fff;}
.column-footer-bs img {
    border-radius: 5px;
  /* background-color: #fff;*/
}

.footer_smaller a {font-size:15px;}
 
/* BG Footer */
.acm-cta.style-2, .container-footer-bs, 
.container-footer-bs-copyright,.acm-cta.style-2 .btn.btn-primary  {
    background: #193F5A; /* #193F5A #2A2A2A; #F1F1F1;  */
  border-color: #193F5A;
}

/* Social Icons color*/
.acm-cta.style-2 .social-follow-wrap a{
color: #ffffffd6;
}

.acm-cta.style-2 .cta-content {
    padding: 45px 60px 30px 100px;
  justify-content: end; /* to place social icons in center position*/
}

@media screen and (max-width: 1000px) {
  .column-footer-bs {
    width: 100%;
  }
  .container-footer-bs {
  /*width: 90%;  Adjust the width as needed */
    display: block;}
}

.column-footer-bs ul {
  list-style-type: none;
  padding: 0;
}

.acm-cta.style-2 {
    clear: both;
}

/* Adjust copyright section and original footer section */

.container-footer-bs-copyright {
    padding-bottom: 40px;
    padding-top: 0px;
}
.container-footer-bs-copyright p {
  margin-bottom:0px;  
}


.container-footer-bs-copyright a:hover {color: #fff;}
.container-footer-bs-copyright hr {
    border-top: 1px solid rgb(150 129 169 / 10%);
 
    border-top: 1px solid rgb(150 129 169 / 10%);
    margin: 0px;
    padding-top: 40px;
 
}

#t4-copyright {
    clear: both;
}
.t4-footer {
    display: none;
}


/* Change category page p color */
.category-desc {
    color: #585858;
}
/* Author block in article and author page*/
.author-block .author-title {
    font-size: 1.3rem;
    text-transform: none;
}
.author-block .author-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    margin-top: 10px;
}
.author-block .author-avatar a, .author-block .author-avatar span {
     max-width: 100px; 
}
/* Thesis, internship, vacancies block in article and author page*/
.author-name h4{ color: #f16822; font-weight: 600;font-size: 1.3rem;}
.author-title h5{font-size: 1.1rem;}
.join-bs-image{ max-width: 100px;border-radius: 50%;}


/* CTA Blue*/ 
.starttodaybutton a {
    background: #4c90fe;
    
    color: #fff;
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    height: 54px;
    line-height: 55px;
    margin: 20px auto;
    padding: 0 50px;
}

/*  Footer Adjustements*/
.t4-footer .t4-module:nth-child(1), .t4-footer .t4-module:nth-child(2) {
    width: 100%;
}
.t4-footer .t4-module {
    border-bottom: 0px solid}
.footer2 { display:none; /* remove joomla copyright*/}

/* P and Headers */
p, ul, li{    
    font-size: 18px;
    font-weight: 300;
    line-height: 1.625;
}


h1, h2, h3, h4, h5, h6 {
    line-height: 50px;
     color: #FC5705; /* change */
}
.page-header h2, .page-header h2 {
    color: #FC5705;
}

h3 {
    line-height: 40px;
}
h4, h5, h6 {
    line-height: 30px;
}


/* Fist row - language switcher container*/
.t4-topbar {
    height: auto;
}

/* change BG mobile menu*/
.t4-offcanvas .t4-off-canvas-header {
  background-color: #193F5A;}

.c-offcanvas--right {
    width: 100%; /* width mobile menu*/
}

/* change BG mobile menu - white hamburger*/
.t4-offcanvas-toggle .toggle-bars,
.t4-offcanvas-toggle .toggle-bars:before,
.t4-offcanvas-toggle .toggle-bars:after,
.t4-offcanvas-toggle:hover .toggle-bars,
.t4-offcanvas-toggle:hover .toggle-bars:before,
.t4-offcanvas-toggle:hover .toggle-bars:after   {
  background-color: #fff;}

/* remove "offcanvas" text from mobile menu*/
.t4-offcanvas .t4-off-canvas-body .module-title {     
    display: none;
}

/*  Menu*/
.t4-header-inner {
    /* padding: 0 100px; */
  	padding-right: 18px;
    padding-left: 18px;
    background-color: #193F5A; /* Menu background*/
}
/* Desktop Menu Only */
@media screen and (min-width: 992px) {  
li.nav-item.dropdown.mega.parent.mega_mm.t4-megamenu .mega-inner {
    padding-bottom: 0px;
    padding-top: 0px;
}

 .t4-megamenu .navbar-nav > li > a, .t4-megamenu .navbar-nav > li > .nav-link {
    font-size: 18px;
}
  
a.menuItem_Heading_MM {
font-size: 17px;
font-weight: 700;
}

a.menuItem_Heading_MM:before {
display:none;
}

a.menuItem_SubHeading_MM{
font-size: 16px;
/* font-style: italic; */
font-weight: 300 !important;
padding: 5px !important;
}

a.menuItem_SubHeading_MM:before {
display:none;
}
 
.mega_mm .mega-inner
{
    padding-bottom: 0px;
    padding-top: 0px;
}



.t4-megamenu .dropdown-menu {
    background: #173b54; /* Dropdown menu background*/
}

.t4-megamenu .navbar-nav > li > a, .t4-megamenu .navbar-nav > li > .nav-link {
    min-height: auto;
}
} /* Chiusura media questy desktop only*/



/*
.t4-palette-mainnav .navbar-nav > li > a,
.t4-palette-mainnav .navbar-nav > li > a:hover,
.t4-palette-mainnav .navbar-nav > li.active > a,
.t4-palette-mainnav .navbar-nav > li.active > a:hover,
.t4-palette-mainnav .navbar-nav > li.show > a,
.t4-palette-mainnav .navbar-nav > li.show > a:hover,
{    color: #fff!important;}


.t4-palette-mainnav .navbar-nav > li.active > a .item-caret, .t4-palette-mainnav .navbar-nav > li.show > a .item-caret, .t4-palette-mainnav .navbar-nav > li > a:hover .item-caret, .t4-palette-mainnav .navbar-nav > li > a:focus .item-caret, .t4-palette-mainnav .navbar-nav > li > a:active .item-caret {
    border-top-color: #dbd2d2!important;
}

*/


/*Youtube player iframe responsive ---> fluid-width-video-wrapper*/
.fluid-width-video-wrapper {
  width: 100%;
  position: relative;
  padding: 0;
}
.fluid-width-video-wrapper iframe, 
.fluid-width-video-wrapper object, 
.fluid-width-video-wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
   
 
/**************** START MM COLUMNS *****************/


.MM-column {
  float: left;
  width: 50%;
  padding: 10px;
   /* height: 300px; */
}

/* Clear floats after the columns */
.MM-row:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 800px) {
  .MM-column {
    width: 100%;
  }
}

/* Content listing Module 
.ContentListingModule_MM .jacl-item__introtext {    
    margin-bottom: 0px;
}
*/


/* Team Module */
@media (max-width: 575px){
.TeamModule_MM .jacl-row.large-gutters > div {
    max-width: 250px;
    margin: auto;
}
}

/* customize TEAM profile page */
.team_MM .item-image img {
    /* width: auto; */
  max-width: 200px; 
      border-radius: 100%;  
}
.team_MM .item-image {
    margin-bottom: 36px;
}
.team_MM .page-header h2 {
    font-size: 40px;
    line-height: 1.325;
}
.team_MM .page-header h2 {
    margin: 0 0 0.5rem 0;
}
.team_role {font-size:25px;color: #f16822}


/* Social Icon Team Profile Page*/
.socialicon_profile_div {
    margin: auto 25%;
}

ul.socialicon_profile {
    max-width: 900px;
    margin: 0 auto;
    list-style: none;
}

ul.socialicon_profile li {
    list-style-type: none;
    text-align: center;
    float: left;
    padding-left: 2em;
    padding-top: 1em;
}





