


/* Site name move it 2px down */
 .site-info__text__name {
    padding: 2px 0 0;
    
}

/*put the image on the header as background which is not repeated, in the center and as cover  */
header .header-wrapper {
    margin: auto;
    min-height: 132px;
    padding: 20px 5% 15px;
    background-image: url(HiLumiBandeWeb.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

/* box in the news page that have the blue HL-HLC blue as backgroud and the logo in the center */
.preview-list-component .preview-list-image {
    background-color: #0092be;
    background-image: url(logoWhite.png);
    background-size: 212px;
    background-repeat: no-repeat;
    background-position: center;
}

/* class for the images in the miscellaneous-photos page */
.background__image {
    height: 425px!important;
}

/*The  class for the text format that is in the second row of the home page (big images slides)*/
.banersubtitle{
    font-size:26px;
    color:#ffffff;
    background-color:#0093be;
    padding: 4px;
    padding-top: 6px;
  }
  
 /*The  class for the text format that is in the first row of the home page (big images slides) */ 
  .banertitle{
    font-size:26px;
    color:#ffffff;
    background-color:#000000;
    padding: 4px;
    padding-top: 8px;
    
  }

/*change the color of the table head to HL-blue as background and have white letters  */

  main .field--type-text-with-summary table thead th, main .text-component-text.basic_html table thead th, main .text-component-text.restricted_html table thead th, main .text-component-text.cern_full_html table thead th, main .basic-node-full-content-body table thead th, main .event-node-full-content-body table thead th, main .faq-node-full-content-body table thead th, main .event-node-full-content-body table thead th, main .resources-node-full-content-file table thead th, main .system-node-full-content-body table thead th, main .event-node-full-content-body table thead th, main .news-node-full-content-body table thead th, main .component-event-item table thead th {
    background: #0093be;
    color: #efefef;
    padding: 5px;
}

/*The  class for the credits format that is in the right  of the home page (big images slides) */
  
  .photocredits{
  writing-mode: vertical-rl;
  text-orientation: mixed;
  float:right;
  margin-right: -10%;
  }

/* At the page of miscellaneous-photos display the images in the center*/
  .component-gallery__image .image-gallery-overlay, .component-gallery__image figure > a {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}


/* At the miscellaneous-photos display the images caption in the center (added only margin-left and margin-right all the others are from the original theme)*/
  .component-gallery__image figure {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100%;
    height: auto !important;
    margin-bottom: 0 !important;
    margin-left: auto;
    margin-right: auto;
}




.row-component-title {
    position: absolute;
    z-index: 4;
    width: 100%;
    padding: 0 5%;
    text-align: center;
    text-transform: none!important;

}

/*in the small screen where there is are 3 lines for the menu change the color to white */
.navbar-toggle .icon-bar {
    background-color: white!important;
}




.box-force-full-width{
    width: calc(33.3% - 8px)!important;
    min-height: 210px!important;
    margin: 4px!important;
    margin-bottom: 70px!important;

} 


/* change the button clors to HL-blue in the backgroudn and white the text */
.btn-primary {
    color: #fbfdff;
    background-color: #0093be!important;
    border-color: #0093be!important;
}

/*in the home page make the HL-blue as bacgkround in the  What is HiLumi? section*/
.effect_background_rotation{
    background-color: #0093be;

}

/* on the articles news whenre there is an image i make the caption to have the 12px font size*/
.cern-caption, figcaption,figcaption * {
    color: #292929!important;
    margin: 0.5em 0!important;
    font-size: 12px!important;
 
}


.field--name-field-caption {
    color: #292929!important;
    margin: 0.5em 0!important;
    font-size: 12px!important;
}


.news-node-full-content-image img {

    border: 0;
    box-shadow: 0 1px 3px 0 #bfbfbf;
    width: auto !important;
    margin: auto;
    margin-top: 3px;


}


.cern-menu-lang-switcher{
visibility: hidden;
}





.sticky-header:not(.open-cern-menu) header .site-info__logo img {
    max-height: 76px!important;
}


.cern-footer h2:after, .cern-footer .block-custom-wrapper .field--name-field-visible-title:after  {
    content: '';
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -8px;
    position: absolute;
    display: block;
}


/* Change all the links color to HL-blue */
.basic-node-full-content-body a, main .event-node-full-content-body a, main .faq-node-full-content-body a, main .event-node-full-content-body a, main .resources-node-full-content-file a, main .system-node-full-content-body a, main .event-node-full-content-body a, main .news-node-full-content-body a, main .component-event-item a {
    color: #0093be!important;

}


.block-custom-wrapper {
    background: #ffffff;
    color: #e9f5ff;
}



.region-content > nav.tabs a.is-active {
    color: black;
}

.tabs ul li a {
    color: black!important;
    padding: 3px 6px 0;
}


form{
    margin-bottom: 100px;
}


#cern-toolbar {
    top: 79px;
}



.header-wrapper {
    clear: both;
    background: white;
border-bottom: 5px solid  #0093be;

}


.site-info__text__name a{
    color: black!important;
    text-decoration: none;
}

.site-info__text a {
    text-shadow: none!important;
}


.preview-card__title h3 a {
    display: block !important;
    position: relative;
    line-height: 26px !important;
    text-shadow: none!important;
}


.preview-card__category, .component-preview-cards .preview-card__date, .component-preview-cards .preview-card__author {
    text-shadow: none!important;
    font-family: 'sourcesans-light';
    font-size: 14px;
    font-size: 1.4rem;
    display: inline-block;
}

/*Make the Website title to have font size 35px */
.site-info__text__name {
    font-size: 35px!important;
    font-size: 3rem;
    font-family: "sourcesans-semibold";
    width: 100%;
    white-space: nowrap;
    overflow: visible!important;
    text-overflow: clip;
    margin-bottom: 10px;
    color: black;
    
}

/* make preview-card display (Resources box without image) to have blue background and wihte text*/

.component-preview-cards {
    background: #0093be;
    color: #e9f5ff;
}

.sticky-header:not(.open-cern-menu) header .header-wrapper {
    padding: 20px 5% 15px;
}


.component-slide__caption{
    background: #fffcfc!important;
    position: static;
    max-width: 100%;
    margin: 0 auto;
    color: #292929!important;
    font-size: 12px!important;
}

.component-media-content {
    background: #0093be;
    color: #e9f5ff;
}


.footer-last-logo {
    filter: alpha(opacity=60);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    -webkit-opacity: 0.6;
    -khtml-opacity: 0.6;
    -moz-opacity: 0.6;
    -ms-opacity: 0.6;
    -o-opacity: 0.6;
    opacity: 0.6;
    width: 6%;
    margin-left: 120px;
}





.cern-component-header-blocks .component-header__carousel .header-block__title {
    position: absolute;
    z-index: 10;
    padding: 0 10%;
    right: 0;
    left: 0;
    margin: 120px auto 0;
    color: white;
    text-shadow: none!important;
}





.cern-footer {
    margin: auto;
    max-width: 1570px;
    width: 100%;
}




.cern-footer h2  {
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin: 0rem 0 2.5rem 0;
    font-size: 17px!important;
    padding: 0;
}



.dropdown-menu {
    left: unset;
    right: -94px!important;
}


.mt-3 {
    margin-top: 2rem !important;
}


/*add some space on this class from the top. It could be found in the landing pages section as a tick box */
.is-cern-lazy{
    margin-top: 66px;

}





.component-media-content.simple-display {
    width: calc(33.3% - 8px);
    min-height: 210px;
    margin: 4px;
    margin-bottom: 70px;
}


.component-event-antetitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
    margin-top: 70px;
}


.component-preview-cards__box_wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-end;
    -moz-justify-content: flex-end;
    -ms-justify-content: flex-end;
    justify-content: flex-end;
    -ms-flex-pack: flex-end;
    -webkit-flex-flow: column;
    -moz-flex-flow: column;
    -ms-flex-flow: column;
    flex-flow: column;
    position: relative;
    z-index: 10;
    height: auto;
    width: 100%;
}



.component-preview-cards:not(.portrait):not(.simple-display) {
    width: calc(100% - 8px);
    min-height: 210px;
    margin: 4px;
    height: 232px !important;
}


.component-event-antetitle{
font-size: 18px!important;
}


header .site-info {
    min-height: 1px;
}



header .nav > li > a {
    -webkit-transition: all 0.3s ease-in-out 0s;
    -khtml-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    /*font-size: 20px;*/
     font-size: 1.6rem; 
    font-family: "opensans-bold";
    padding: 0;
    line-height: 76px;
    position: relative;
    text-transform: uppercase;
    text-shadow: none!important;
}



.region-header {
    text-align: right;
}

.views-row{

    padding-top: 20px;
    padding-bottom: 20px;
}

.h{
    width: 34%;

}

.field--label{
display: inline;
}

.field--label::after { 
  content: ": ";
}


.field--item{
display: inline;
}


.agenda-coming-soon-link{
    margin: auto;
    width: 18%;

}

.agenda-coming-soon-link a:link{
  color:#0855a0!important;
}




.agenda-coming-soon-link h3 a, .agenda-coming-soon .agenda-coming-soon-link h3 a:active, .agenda-coming-soon .agenda-coming-soon-link h3 a:focus, .agenda-coming-soon .agenda-coming-soon-link h3 a:hover {
color:#0855a0!important;
}


.form-item label {
    font-family: "opensans-semibold";
    font-weight: normal;
    font-size: 18px!important;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.4);
    padding-left: 0;
    position: relative;
    display: block;
}

.checkbox {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 26px;
}

.form-control {
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    -khtml-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    -moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    -ms-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    -o-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    -webkit-border-radius: 0;
    -khtml-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    color: #0855a0;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #0855a0;
    height: 35px;
    padding: 5px;
    min-width: 30px;
    font-size:16px!important;
}


.news-node-full-content-image {
    border: 0;

    width: 65% !important;
    margin: auto;
    margin-top: 3px;
}


.horizontal-boxes .carousel-cern-item .views-row > div {
    min-height: 100%;
    height: 330px !important;
}




.agenda-box-pattern .agenda-box-pattern__box-wrapper {
    align-self: flex-start; 
    width: 100%;
    z-index: 1;
}


.agenda-box-pattern {
    background: transparent;
    padding: 30px 30px 60px 30px;
    border: 0;
    box-shadow: 0 1px 3px 0 #bfbfbf;
    height: 100%;


}



.component-media-content__icon::before {
    font-size: 50px;
    font-size: 5rem;
    font-family: "cern-icons";
    -moz-osx-font-smoothing: grayscale;
    width: 30px;
    display: none;
    position: absolute;
    line-height: 30px;
    text-indent: -9px;
    font-weight: normal;
}




.box-col-3{
     margin-bottom: 70px!important;
}



.component-gallery__image figure figcaption {
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-opacity: 0;
    -khtml-opacity: 0;
    -moz-opacity: 0;
    -ms-opacity: 0;
    -o-opacity: 0;
    opacity: 0;
    padding: 5px;
    min-width: 200px;
    font-size:18px;
}

#cboxTitle {
    color: #ffffff;
    left: 0;
    right: 0;
    margin: auto;
    width: 89%;
    top: auto;
    bottom: 0;
    height: 22%;
    line-height: 18px;
    font-size: 18px;
}


button.owl-thumb-item {
    background: none;
    border: 0;
    padding: 0;
    width: 120px;
    height: 100px;
    margin: 5px 5px 90px;
    overflow: hidden;
    position: relative;
}


.component-gallery__image {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    min-height: 100%;
    min-width: 100%;
    margin: auto;
    margin-top: 37px;
}




.field--name-field-indico-event-timezone{
    display: inline;
}



.field--name-node-post-date{
    display: inline-block;
}

.news-node-full-content-created-date-author p {
    padding-right: 7px;
    display: inline-block;
}

.field--name-node-author{
display: inline-block;
} 

.preview-list-strap{
font-size: 16px;


}



.more-link {
    text-align: right;
    margin-top: 3rem;
    position: relative;
    padding-right: 15px;
    font-weight: bold;

}



.more-link  a:after {
    -webkit-transition: all 0.3s ease-in-out 0s;
    -khtml-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    content: '\j';
    font-size: 40px;
    font-size: 4rem;
    font-family: "cern-icons";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    vertical-align: bottom;
    position: absolute;
    top: 1px;
    right: 0px;
    left: auto;
    line-height: 19px;
    width: 9px;
    text-indent: -16px;

}
.cern-view-display-feature_events{
font-size:18px;
}






.preview-list-topic{
font-size: medium;
}

.preview-list-date{
font-size: medium;
}

.preview-list-news-format { 
font-size: medium;
}


.component-division__text {
    position: relative;
    z-index: 1;
    margin: 6%;
    padding: 25px 30px;
    max-width: 60%;
    word-wrap: break-word;
}



.fieldset-legend {
    display: block;
    padding: 15px 0 0;
    font-size: 18px;
}

.radio{
    margin-left: 24px;

}

.h4 {
    font-size: 17px;
    margin-left: -29px;
}


/* hide the the website title in window that are less than 992*/
@media (max-width: 992px){

.col-md-3 {
    width: auto;
}

.col-lg-3.col-md-3.col-sm-3.col-xs-12.footer-first-col{
    height: auto!important;

}

.header-block__subhead{
    visibility: hidden;
}

.h{
    width: 100%;

}


}




/*manage the space on the 3 footer colums */
@media (max-width: 1333px){
.col-lg-8 {
    width: 65%;
        float: right;
}

header .site-info {
    min-height: 0px;
}



.footer-first-col{
    height: auto!important;
}








}

/*hide the webiste title on the screens that are less that 1287 pixels also reduce the widthe on the footer and put it on the right */
@media (max-width: 1287px){

.site-info__text{
    display: none!important;
}

.col-lg-8 {
    width: 65%;
        float: right;
}

header .site-info {
    min-height: 0px;
}


}

/*make the main menu link white color, give some space between the footer 3 colums */
@media (min-width: 1253px){
header .navbar-default .navbar-nav > li > a {
    color: #fffffe; 
}

.site-nav nav {
    float: none;
    /*margin-right: -40px;*/
}

    .footer-first-col {
        padding-right: 61px;
        margin-left: -1px!important;
        width: 15%!important;
    }
    


    .col-sm-6{
        padding-left: 24px;
        
        }
        



}





@media(min-width: 1000px) and (max-width: 1257px) {

    container > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-header, .container-fluid > .navbar-collapse {
        margin-right: 0;
        margin-left: 0;
    }
    
    .region-footercolumn4{
        margin-left: 27px;
        
        }
    
    .navbar-collapse.collapse {
        display: block ;
        height: auto ;
        padding-bottom: 0;
        overflow: visible;
        float: right;
    }

    
    .navbar-collapse {
        width: auto;
        border-top: 0;
        box-shadow: none;
    }
    
    .navbar-toggle {
         display: none;
    }
    
    header .site-info + .site-nav nav {
        width: 100%;
    }
 
   


    }




/* all those classes are to hide the main menu(text) and replace it with the 3 lines button*/
@media(min-width:767px) and  (max-width: 1000px) {

    header .site-nav > .region-header > nav > .navbar > .container-fluid {
        height: 100%!important;
    }

    header .site-nav {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        z-index: 0;
        height: 100%;
    }
    
    header .header-wrapper .main-menu .navbar-collapse.collapse.in, header .header-wrapper .main-menu .navbar-collapse.collapsing {
        height: calc(100vh - 70px)!important;
        margin-top: 121px;
    }
    
    .site-nav nav {
        width: 100%;
    }
    
    .navbar-nav > li {
        float: none;
    }

    .navbar-header {
        float: right;
    }

    .navbar-nav {
        float: right;
        margin: 0;
    }


    .main-menu .navbar-nav {
        padding: 0 50px 0 0;
        
    }


    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
   

    header .dropdown-menu {
        padding: 0;
    }
    
   
   
    header .header-wrapper .navbar-collapse.collapse.in, header .header-wrapper .navbar-collapse.collapsing {
        padding: 0 3%;
        
    }

    .navbar-toggle {
        display: block;
   }

   .navbar-collapse.collapse {
     display: table-column !important; 
     height: auto !important; 
    padding-bottom: 0; 
     overflow: visible !important; 
}


}  

.col-lg-3 {
    width: 0%;
}

header .site-info__logo {
    padding: 0 10px 0 0;
    max-width: 25%;
}


/* manage the padding of the website name when is from 1285-1400 px */
@media (min-width: 1285px ) and (max-width:1400px) { 
    .site-info__text__name {
        padding: 2px 0 0;
        margin-left: 92px;
    }

}

/* manage the width of the main menu that exist in the header*/
@media (min-width: 1200px){ 
.col-lg-9 {
    width: 50%!important;
}

.col-lg-3 {
    width: 50%;
}


}

