﻿/* Use this file to overwrite the basic 'cern' theme
  Stuff included here is for illustrative purposes -
  feel free to delete it.
*/

#header #site-name {
  margin-bottom: 0em;
  margin-top: 0em;
  font-size: 25px;
  float: right;
  vertical-align: top;
  size: 300px;

}

/* Set a custom size on the logo */
#header h1#logo a img {
  width: 180px;
  float:left;
}

/* Set size and bottom margin of the site title */
#header h2 {
  /*font-size: 45px;
  font-size: 5rem;
  margin-bottom: 0.3em;*/
  text-shadow: 0 0 5px #222;
}

/* Set the color for links in the header, including site title */
#header a, #header #site-slogan {
  color: #fff;
}

#page-title.title {
  color: #012545;
  font-size: 30px;
}



/*set the links color*/

/*a {
  color:blue;
}

/*a:link {
  color: deepskyblue;
  }

a:active {
  color: darkblue;
  }

a:visited {
  color: darkblue;
  }

a:hover {
  color: #ff0000;
  }*/

/* This sets the banner height - increase margin for deeper banner - make sure bg img is deep enough */
#header #site-slogan {
  margin-bottom: 60px;
  text-shadow: 0 0 5px #222;
}

#main-navigation .sf-menu #menu-4433-1 a, #main-navigation .sf-menu #menu-4435-1 a {
  text-indent: -9999px;
  background: #012545 url("/sites/test-arieseu.web.cern.ch/files/image/icons/Home_RS_d_gray_333full_Medium.png") no-repeat scroll center top;
  padding-right: 1.5em;
  background-size: 90%;
  white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#main-navigation .sf-menu #menu-4433-1 a.active, #main-navigation .sf-menu #menu-4435-1 a.active {
  text-indent: -9999px;
  background: #fff url("/sites/test-arieseu.web.cern.ch/files/image/icons/Home_RS_d_gray_333_Medium.png") no-repeat scroll center top;
  padding-right: 1.5em;
  background-size: 90%;
  white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Note that you're overriding the color module settings here - might be a way to choose separate nav colors at different size breakpoints? */
#main-navigation {
  overflow: visible;
}

#main-navigation a {
  background-color: #012545;
  border-color: #012545;
  font-size: 1.5rem;
  margin-right: 0;
}

#main-navigation a:hover {
  color: #012545;
  background: #CACBC9;
  border-color: #CACBC9;
}

#navmobile a {
  background-color: #012545;
  border-color: #012545;
  margin: 0;
}

#navmobile a:hover {
  color: #012545;
  background: #CACBC9;
  border-color: #CACBC9;
}

#navdrop ul li a.active {
  color: #012545;
  background: #fff;
  border-color: #fff;
}

#main-navigation .sf-menu li.active-trail a.active {
  color: #012545;
  background: #fff;
  border-color: #fff;
}

#main-navigation .sf-menu li.active-trail.menuparent ul li.active-trail.sf-no-children a.active {
  color: #012545;
  background: #fff;
  border-color: #fff;
}

#main-navigation .sf-menu li.active-trail a.menuparent, #main-navigation .sf-menu li.active-trail.sf-no-children a.active {
  color: #012545;
  background: #fff;
  border-color: #fff;
}
/*enlever superfish WP*/
#main-navigation .sf-menu ul li.sf-depth-2.menuparent{
  display: none;
}


#main-navigation a.active-trail {
  border-color: #060502;
}

#navlinks.button {
  background-color: darkblue;
  color: #fff;
}

#navmobile {
  width: 100%;
}

#navmobile #navdrop ul li ul li {
  display: none;
}

#main-navigation #superfish-1 #menu-1669-1 li, #main-navigation #superfish-1 #menu-1670-1 li {
  display: none;
}

/* Fixes the box width issue with the new library*/
.sf-main-menu.sf-menu li.sfHover a.sf-depth-2, .sf-main-menu.sf-menu li.sfHover a.sf-depth-3 {
  width:100%;
}

.region-first-under-content {
  margin-top: 2em;
  float: left;
  width: 58%;
  margin-bottom: -2em;
}

.region-second-under-content {
  margin-top: 2em;
  float: right;
  width: 40%;
  margin-bottom: 1em;
}

/* Let's have a dark footer */
html, #footer {
  /*background: #135558;*/
  color: #fff;
}

#footer .cern-logo {
  padding-top: 1.5em;
}

#footer .cern-logo img {
  display: none;
}

/*Customize the backgrounders view*/

#section img .blurb {
  float: left;
  width: 220px;
}

/* Let's swap out the CERN logo to look good on a dark background */
#footer .cern-logo a {
  display: block;
  width: 80px;
  height: 80px;
  background-image: url('../img/cern_logo/outline_80_white.png');
  background-position: top-left;
  background-repeat: no-repeat;
  margin-left: 30%;
}

.views-field-field-footnote {
  margin-top: 1.5em;
}

.footnote-item {
  margin-bottom: 1em;
}

#block-views-lhc-backgrounders-block-1 {
  border: none;
  background: #fff;
}

a, a:visited {
  color: darkblue;
}

a:hover {
  color: deepskyblue;
}

#block-views-lhc-backgrounders-block-1 a, #block-menu-block-3 a, #block-block-16 a, #block-block-21 a, #block-menu-block-4 a {
  color: #010808;
}

#block-views-lhc-backgrounders-block-1 a:hover, #block-menu-block-3 a:hover, #block-block-16 a:hover, #block-block-21 a:hover, #block-menu-block-4 a:hover {
  color: #BCBEC0;
}

#block-views-latest-press-release-block-1 a, #block-views-lhc-backgrounders-block-2 a, #block-views-higgs-backgrounders-block-2 a {
  color: #010808;
}

#block-views-latest-press-release-block-1 a:hover, #block-views-lhc-backgrounders-block-2 a:hover, #block-views-higgs-backgrounders-block-2 a:hover {
  color: #BCBEC0;
}

#block-views-slideshow-block {
  border: none;
  padding: 0;

}

.timeline-Footer {
  display: none;
}

.view-latest-press-release .view-content .views-row .views-field-php .meta {
  margin-bottom: 1em;
}

.view-latest-press-release .view-content .views-row img {
  float: none;
}

.field-image-caption p {
  font-family: "PT Sans Caption",Verdana,Tahoma,"DejaVu Sans",sans-serif;
}

.author-profile .field-label {
  visibility: hidden;
}

.field-avatar img {
  border: medium none;
  float: left;
  height: 150px;
  margin: 0px 10px 10px 0;
  max-width: none;
  width: auto;
}

.view-biographies img {
  height: 150px;
}

.views-field-field-avatar .field-content img {
  border: medium none;
  float: left;
  height: 150px;
  margin: 10px 10px 10px 0;
  max-width: none;
  width: auto;
}

.quote-entry p {
  color: #333;
  font-size: 1.2em;
  font-style: italic;
  margin: 10px 10px 10px 0;
  position: relative;
}

.views-field-field-quote .field-content p {
  color: #333;
  font-size: 1.2em;
  font-style: italic;
  margin: 10px 10px 10px 0;
  position: relative;
}

.field-image-caption {
  margin: -1em 0 1.5em 0;
}

.field-file, .field-download {
  margin: 0 0 1.5em 0;
}

.feed-icon img{
  float: left;
  margin-bottom: 1em;
}

#block-views-updates-block h2, #block-views-press-releases-block h2 {
  margin-bottom: 1em;
}

.view-image-collection .fieldset-title, .view-video-collection .fieldset-title {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 1ex;
  margin-top: 1em;
}

.view-image-collection li, .view-video-collection li {
  display: block;
  height: 220px;
  width: 150px;
  margin-left: 1.5em;
  margin-right: 0.4em;
  word-wrap: break-word;
}

.view-image-collection li img, .view-video-collection li img {
  opacity: 0.9;
}

.view-image-collection li img:hover, .view-video-collection li img:hover {
  opacity: 1;
}

.view-image-collection .field-content p, .view-video-collection .field-content p {
  margin-top: 1ex;
}

html.js fieldset.collapsible {
  margin-bottom: 1.5em;
}

.fieldset-legend {
  display: block;
  height: 2em;
}

#content fieldset {
  overflow: visible;
  padding-top: 0.5em;
}

#content{
  position: relative;
}


/*Override calendar's multi-day row color*/
.calendar-calendar .month-view .full td.multi-day .inner .monthview .continues,
.calendar-calendar .month-view .full td.multi-day .inner .monthview .cutoff,
.calendar-calendar .week-view .full td.multi-day .inner .weekview .continues,
.calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff {
  background: #ffc;
}

/*Override calendar's multi-day row color*/
.calendar-calendar .month-view .full td.multi-day div.monthview,
.calendar-calendar .week-view .full td.multi-day div.weekview,
.calendar-calendar .day-view .full td.multi-day div.dayview {
  background: #ffc;
}

.calendar-calendar td a {
  font-size: 1.3rem;
  font-weight: normal;
  text-align: left;
  color: #000;
}

.view .date-nav-wrapper .date-prev {
  float: left;
  right: auto;
  left: -18px;
  padding-right: 10px;
  background-color: #333;
  border-radius: 0;
  padding-bottom: 0.5em;
}

.view .date-nav-wrapper .date-next {
  padding-left: 10px;
  background-color: #333;
  border-radius: 0;
  padding-bottom: 0.5em;
}

.view .date-nav-wrapper .date-prev:hover, .view .date-nav-wrapper .date-next:hover {
  background-color: #BCBEC0;
}

.view .date-nav-wrapper .date-prev a, .view .date-nav-wrapper .date-next a {
  font-size: 1.5rem;
}

.search-form input[type="text"] {
  width: 85%;
}

#search-block-form input[type="text"] {
  width: 90%;
}

#search-block-form input[type="submit"] {
  width: 60px;
}

.search-form input[id="edit-submit"] {
  margin: 0.2em 1em 1em;
}

.menu-block-8 .active-trail a {
  background-color: #ddd;
  border-radius: 3px;
  color: #333;
  margin-left: -0.5em;
  margin-top: -0.3em;
  padding: 0.3em 0.5em;
}


.views_slideshow_cycle_main {
  width: 100%;
}
.views_slideshow_cycle_main .views-slideshow-cycle-main-frame {
  width: 100% !important;
  height: auto;
}
.views_slideshow_cycle_main .views-slideshow-cycle-main-frame-row {
  width: 100% !important;
  height: auto;
}
.views_slideshow_cycle_main .field-content {
  max-width: 100%;
  width: 100%;
}
.views_slideshow_cycle_main .field-content img {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

/* Main slideshow */
#slide-text {
  background: transparent url("../img/transparency.png") repeat scroll 0 0;
  bottom: 0;
  position: absolute;
  width: 100%;
}



#slide-text h2 {
  text-transform: uppercase;
  background-color: #FDB03A;
  display: inline-block;
  padding-left: 0.5em;
  padding-right: 0.5em;
  margin-left: 1em;
  margin-top: 1em;
}

#slide-text h2 a {
  color: #fff;
}

#slide-text p {
  color: #fff;
  padding-bottom: 1em;
  padding-left: 1.5em;
  padding-right: 1.5em;
}

#views_slideshow_controls_text_slideshow-page {
  position: relative;
  top: 120px;
}

.views-slideshow-controls-text span {
  background: transparent url("../img/arrows.png") no-repeat scroll left top;
  background-repeat: no-repeat;
  width: 75px;
  height: 115px;
  position: absolute;
  z-index: 100;
  text-indent: -9999px;
  opacity: 0.3;
  cursor: pointer;
  top: 15%; /*FIXING the arrows in presentation */
}

.views-slideshow-controls-text span:hover {
  opacity: 1;
}

.views-slideshow-controls-text-previous {
  background-position: left top !important;
  left: -20px;
}

.views-slideshow-controls-text-pause {
  visibility: hidden;
}

.views-slideshow-controls-text-next {
  background-position: right top !important;
  right: 0px; /*FIXING the arrows in presentation */
}
/* End of Main slideshow */

/* Latest news front page block */
#block-views-latest-press-release-block-1 .view-content, #block-views-latest-press-release-block-1 .more-link {
  padding-left: 0.5em;
}

#block-views-latest-press-release-block-1 .view-header h2 {
  text-transform: uppercase;
  background-color: #525450;
  padding-left: 1.5em;
  color: #fff;
  margin-top: -0.6em;
  margin-bottom: 0.5em;
}

#block-views-latest-press-release-block-1 .more-link, #block-views-lhc-backgrounders-block-2 .more-link, #block-views-higgs-backgrounders-block-2 .more-link {
  background-color: #525450;
  text-align: right;
  padding-right: 0.5em;
  padding-left: 0.5em;
  position: absolute;
  top: 0;
  right: 0;
}

#block-views-latest-press-release-block-1 .more-link a, #block-views-lhc-backgrounders-block-2 .more-link a, #block-views-higgs-backgrounders-block-2 .more-link a {
  color: #fff;
}

#block-views-latest-press-release-block-1, #block-views-lhc-backgrounders-block-2, #block-views-higgs-backgrounders-block-2 {
  position: relative;
}

.region-second-under-content .view-content .views-row h3 {
  margin-bottom: -0.8em;
}
/* End of Latest news front page block */


/* Higgs Backgrounders and LHC Restart blocks */
#block-views-lhc-backgrounders-block-2 .view-content, #block-views-higgs-backgrounders-block-2 .view-content {
  padding-left: 0.5em;
}

#block-views-lhc-backgrounders-block-2 h2, #block-views-higgs-backgrounders-block-2 h2 {
  margin-top: -0.6em;
  margin-bottom: 0.5em;
  background-color: #525450;
  padding-left: 0.5em;
  color: #fff;
  text-transform: uppercase;
}
/* End of Higgs Backgrounders and LHC Restart blocks */


/* Contacts page */
.left-column-contacts {
  float: left;
  width: 48%;
  background-color: #525450;
  margin-bottom: 2em;
}

.right-column-contacts {
  float: right;
  width: 48%;
  background-color: #525450;
  margin-bottom: 2em;
}

.left-column-contacts img, .right-column-contacts img {
  float: left;
  margin-right: 1em;
}

.contacts h3 {
  margin: 1em 1em 0.5em 1em;
  text-transform: uppercase;
  color: #fff;
}

.contacts p, .contacts a {
  color: #fff;
  margin-top: 0.5em;
}

.contacts a:hover {
  color: #4d94cd;
}

.left-column-contacts .icon img, .right-column-contacts .icon img {
  margin-right: 0.5em
}
/* End of Contact page */

.res-icons img {
  margin-bottom: 0.3em;
}

.sidebars .block {
  border: 0px solid #969992;
  background-color: #E9EEF1;
  color: #012545;
}


.sidebars .block > h2 {
  color: #012545;
}


.block.block-search {
  height: 90px;
  padding-bottom: 0.5em;
  padding-top: 0.5em;
  background-color: #969992;

}

#block-search-form > h2 {
  margin-bottom: -0.5em;
  color: #012545;
  font-size: 1.4rem;
}

#search-block-form input[type="submit"] {
  background: transparent url("../img/loupe_RS/loupe_RS_l_gray.png") no-repeat scroll left top;
  text-indent: -9999px;
  box-shadow: none;
  margin-right: 2.5em;
  margin-top: -24px;
  width: 25px;


}

#search-block-form input[type="text"] {
  width: 100%;
}

.search-form input[id="edit-submit"] {
  background-color: #333;
  font-size: 1.5rem;
  border-radius: 0;
}

.search-form input[id="edit-submit"]:hover {
  background-color: #BCBEC0;

}

input[type="submit"] {
  background-color: #333;
  font-size: 1.5rem;
  border-radius: 0;
  height: 100%;
}

input[type="submit"]:hover {
  background-color: #BCBEC0;
}

input[type="text"], textarea {
  height: 45px;
}

#block-block-24 {
  padding-right: 5em;
}

#block-block-24 td {
  padding: 0;
}

#block-block-4 {
  background: #fff;
}

#block-block-12 {
  background: #fff;
}

.view .date-nav-wrapper .date-heading h3 {
  background-color: #333;
  color: #fff;
  padding: 0.1em;
}

.calendar-calendar th.days {
  background-color: #333;
  color: #fff;
  border: 1px solid #ccc;
}

.calendar-calendar .month-view .full tr.single-day .noentry-multi-day, .calendar-calendar .month-view .full tr.single-day .noentry-multi-day .inner {
  background-color: #f4f4f4;
}

.calendar-calendar .month-view .full tr.single-day .no-entry, .calendar-calendar .month-view .full tr.single-day .no-entry .inner {
  background-color: #f4f4f4;
}

.calendar-calendar .month-view .full tr td.multi-day, .calendar-calendar .month-view .full tr td.single-day {
  background-color: #f4f4f4;
}

#block-views-latest-press-release-block-1 .view-header img {
  margin-left: 0.5em;
  margin-top: -2.7em;
  position: absolute;
  width: 22px;
}

#footer .region-footer-first {
  width: 100%;
  color: #f4f4f4;
}


#footer .region-footer-second {
  margin-left: 35.7617%;
}

#footer .region-footer-third {
  display: block;
  float: center;
  margin-left: 65.7617%;
  margin-right: -100%;
  width: 38.8086%;
}

#footer .block h2 {
  font-size: 1.4rem;
}

#footer .block a {
  font-size: 1.3rem;
}

/* Calendar fix for word-wrap */
html .calendar-calendar .month-view .full td.multi-day .calendar.monthview .contents,
html .calendar-calendar .week-view .full td.multi-day .calendar.weekview .contents {
  position: static;
  width: auto;
}

html .calendar-calendar .month-view .full td.multi-day div.monthview,
html .calendar-calendar .week-view .full td.multi-day div.weekview,
html .calendar-calendar .day-view .full td.multi-day div.dayview {
  height: auto;
}

html .calendar-calendar .month-view .full tr.date-box,
html .calendar-calendar .month-view .full tr.date-box td,
html .calendar-calendar .month-view .full tr.multi-day,
html .calendar-calendar .month-view .full tr.multi-day td {
  height: auto;
  max-height: auto;
  background-color: #f4f4f4;
}
/* End of word wrap fix */


/* Responsive styles below - these apply only at certain screen sizes */


/*
// -----------------------------------------------------------------
// Large screens
// -----------------------------------------------------------------
*/
@media screen and (min-width: 1300px) {



}




/*
// -----------------------------------------------------------------
// Tablet - portrait
// -----------------------------------------------------------------
*/
@media only screen and (min-width: 768px) {

}



/*
// -----------------------------------------------------------------
// Desktop and Tablet Landscape
// -----------------------------------------------------------------
*/

@media only screen and (min-width: 1024px) {

}


@media only screen and (max-width: 1024px) {
  #main-navigation a {
    background-color: #333;
    border-color: #333;
    font-size: 1.2rem;
  }

  #views_slideshow_controls_text_slideshow-page {
    top: 0px;
  }

  .views-slideshow-controls-text span {
    background: transparent url("../img/arrows.png") no-repeat scroll left top;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 100;
    text-indent: -9999px;
    opacity: 0.3;
    top: 5%;
  }

  .views-slideshow-controls-text-next {
    background-position: right top !important;
    right: 0px;
  }

  .region-first-under-content {
    width: 100%;
    float: left;
  }

  .region-second-under-content {
    width: 100%;
    float: left;
  }

  .left-column-contacts {
    float: left;
    width: 100%;
  }

  .right-column-contacts {
    float: left;
    width: 100%;
  }
}


/*
// -----------------------------------------------------------------
// Mobile
// -----------------------------------------------------------------
*/

@media only screen and (max-width: 768px) {
  #views_slideshow_controls_text_slideshow-page {
    top: 0px;
  }

  .views-slideshow-controls-text span {
    background: transparent url("../img/arrows.png") no-repeat scroll left top;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 100;
    text-indent: -9999px;
    opacity: 0.3;
    top: 25%;
  }

  .views-slideshow-controls-text-next {
    background-position: right top !important;
    right: -20px;
  }

  #slide-text h2 {
    margin-bottom: 1em;
  }

  #slide-text p {
    font-size: 0;
  }

  .region-first-under-content {
    width: 100%;
    float: left;
  }

  .region-second-under-content {
    width: 100%;
    float: left;
  }

  .left-column-contacts {
    float: left;
    width: 100%;
  }

  .right-column-contacts {
    float: left;
    width: 100%;
  }

  .view-image-collection li, .view-video-collection li {
    display: block;
    height: 220px;
    width: 120px;
    margin-left: 0.4em;
    margin-right: 0.4em;
    word-wrap: break-word;
  }

  .view-image-collection li img, .view-video-collection li img {
    opacity: 1;
  }

  .view-image-collection .field-content p, .view-video-collection .field-content p {
    font-size: 15px;
    margin-top: 1ex;
  }

  .left-column-contacts p, .right-column-contacts p {
    font-size: 0.9em;
  }

  #footer .region-footer-first {
    display: block;
    float: left;
    margin-left: 0;
    margin-right: -100%;
    width: 47.3026%;
  }

  #footer .region-footer-second {
    display: block;
    float: left;
    margin-left: 52.5658%;
    margin-right: -100%;
    width: 47.3026%;
  }

  #footer .region-footer-third {
    clear: left;
    display: block;
    float: left;
    margin-left: 0;
    margin-right: -100%;
    margin-top: 3em;
    padding-top: 1em;
    width: 47.3026%;
  }

  #footer .cern-logo {
    clear: none;
    display: block;
    float: left;
    margin-left: 44.5658%;
    margin-right: -100%;
    padding-left: 2.63158%;
    padding-right: 2.63158%;
    position: relative;
    margin-top: 4.3em;
  }

}
