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


#header {
	/* For the background image to show you must have a file
	named ‘bg_moss.jpg’ in themes/cern_overwrite/img */
	background-image: url('../img/banners/TP_banner.png');
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: cover;
	background-color: #333;
	/* Let's get rid of the stripe that the theme usually puts at the top: */
	/*border-top: none;*/
    border-top-color:#999999;
	border-bottom-color: #333;
}

/* TP Internal Block Temporary fixed solution 
div#block-block-3 {
    margin: -160px 0 0 200px;
} */

/* Hide header on Main page */
h1#page-title {
    display: none;
}

/*
.front #header   {
  background-image: url('../img/banners/physics_banner.jpg');
  background-position: bottom center;
}

.node-type-page #header {
	background-image: url('../img/banners/Banner_Visits.jpg');
	background-position: bottom right;
}

.node-type-globe #header {
	background-image: url('../img/banners/Banner_Globe.jpg');
	background-position: bottom left;
}

.node-type-exhibitions #header {
	background-image: url('../img/banners/Banner_Exhibitions.jpg');
	background-position: bottom right;
}

.page-node-413 #header,  .page-node-739  #header{
  background-image: url('../img/banners/Banner_Contact_new.jpg');
  background-position: bottom left;
}

.page-node-354 #header,  .page-node-464 #header{
  background-image: url('../img/banners/Banner_Shop.jpg');
  background-position: bottom right;
}

.page-events #header,  .page-past-events #header, .page-node-362 #header, .page-node-931 #header {
  background-image: url('../img/banners/Banner_Events.jpg');
  background-position: bottom right;
}
*/
#header #site-name {
  margin-bottom: 80px;
}

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

/* 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;
}

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


/* 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 a {
	background-color: #333;
	border-color: #333;

}

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

#navlinks.button {
  background-color: #333;
  color: #fff;
}
.form-managed-file .form-file, .form-managed-file {
    margin: 0;
		margin-left: 20px;
}

a.button:link, a.button:visited, a.button:hover, a.button:active {
    text-decoration: none;
    color: #5a5a5a;
}

input.form-submit, a.button {
    cursor: pointer;
    margin-bottom: 1em;
    margin-right: 1em;
    color: #5a5a5a;
    text-align: center;
    font-weight: normal;
    font-size: 1.077em;
    font-family: "Lucida Grande", Verdana, sans-serif;
    border: 1px solid #e4e4e4;
    border-bottom: 1px solid #b4b4b4;
    border-left-color: #d2d2d2;
    border-right-color: #d2d2d2;
    background-color:#eee;
}

input.form-submit, a.button {
    margin-right: 0.5em;
}




#navmobile {
  width: 100%;
}

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

#page blockquote {
	padding: 0;
}

#content .blurb {
	margin-bottom: 1em;
  width: 100%;
}

.blurb + .blurb {
  border-top: 1px solid #dddddd;
}

#main .access-map img {
	border: 1px solid #ddd;
}

ul.menu li ul li {
	margin-top: 1em;
}

ul.menu li ul li a {
	line-height: 1.4em;
}
/*change the hover color to white made by nikolaos kokkinis*/
.sidebars li.active-trail .active {
  border-radius: 3px;
  /*padding: 0.3em 0.5em;*/
    padding-left: 25px;
	margin:0;
  color: #333;
  background-color: #FFF;
  position: relative;
  left: 0em;
  font-weight: bold;
}
ul.menu a {
    line-height: 1.4em;
    padding-left: 25px;
}


/*Form input style*/
input[type="text"],
input[type="email"],
select
{
    width: 500px;
	text-indent: 5px;
	height: 30px;
	font-size: 14px;
	border-bottom-color: #CCC;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-image-outset: 0 0 0 0;
	border-image-repeat: stretch stretch;
	border-image-slice: 100% 100% 100% 100%;
	border-image-source: none;
	border-image-width: 1 1 1 1;
	border-left-color: #CCC;
	border-left-style: solid;
	border-left-width: 1px;
	border-right-color: #CCC;
	border-right-style: solid;
	border-right-width: 1px;
	border-top-color: #CCC;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-top-style: solid;
	border-top-width: 1px;
}

textarea
{
	max-width: 500px;
	min-width: 500px;
	min-height: 150px;
	text-indent: 0px;
	font-size: 14px;
}

/*List elements style*/
li
{
	list-style-type: square;
}

/*Hide ugly bar of text areas at contact forms*/
.resizable-textarea .grippie
{
	display: none;
}

/*Hide some ugly captcha components*/
.captcha legend,
.captcha .fieldset-wrapper .fieldset-description,
.form-item-captcha-response .description
{
	display: none;
}

#block-block-2 a {
    color: #4d94ce;
}

#block-block-13{

	width:auto;

}

#block-menu-block-1{
	width:auto;
}
#block-block-4{
	width:auto;
}


#main .map_thumb_container {
  background: white none repeat scroll 0 0;
  border: 1px solid grey;
  text-align: center;
  width: 48%;
}

#form {
	border: 1px solid #999;
  line-height: 1.3em;
  margin: 2em 0;
  padding: 0;
}

/*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 .year-view .full td.multi-day .inner .yearview .continues,
.calendar-calendar .year-view .full td.multi-day .inner .yearview .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;
  /*background: #74a5d7;*/
}

/*Override calendar's multi-day row color*/
.calendar-calendar .year-view .full td.multi-day div.yearview,
.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;
  /*background: #74a5d7;*/
}

.calendar-calendar td a {
  font-size: 1.2em;
  font-weight: normal;
  text-align: left;
  color:#ffffff;
}

.view .date-nav-wrapper .date-prev {
  float: left;
  right: auto;
  left: -18px;
  padding: 5px 5px;
}

.view .date-nav-wrapper .date-next {
  padding: 5px 5px;
}

/* Let's have a dark footer */
html, #footer {
	background: #333;
	color: #999;

	}

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


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

/* 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;
}

.views_slideshow_cycle_main {
  width: 100%;
  float: left;
}
.views_slideshow_cycle_main .views-slideshow-cycle-main-frame {
  width: 99% !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;
}

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

#block-block-1 a, #block-block-2 a, #block-block-3 a, #block-block-6 a{
  color: #89cbe1;
}


#block-block-4 a{
color:#4d94cd;

}

#block-block-1 a:hover, #block-block-2 a:hover, #block-block-3 a:hover, #block-block-3 a:hover{
  color: #ffffff;
  color: #ffffff;
}
#block-block-4 a:hover{
 color:	#000000;

}

/*
#block-block-2 a {
  color: #666666;
}

#block-block-2 a:hover {
  color: #4d94cd;
}



#block-views-events-block, #block-menu-block-1, #block-menu-block-2, #block-block-4, #block-block-5 {
  border: medium solid #e0e0e0;
}
*/
#footer .region-footer-second {
    margin-left: 32.7617%;
}


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

/*
//-----------------------------------------------------------------------
// Styles with date of birth
//-----------------------------------------------------------------------
*/

/* HST and ITW Applications form */
select#edit-submitted-personal-details-date-of-birth-day,
select#edit-submitted-personal-details-date-of-birth-month,
select#edit-submitted-personal-details-date-of-birth-year {
    width: 100px;
}


/*
//-----------------------------------------------------------------------
// Views calendar module - temp until this is rolled into cern_base theme
//-----------------------------------------------------------------------
*/

.calendar-calendar .month-view .full td.multi-day div.monthview, .calendar-calendar .month-view .full td.multi-day .inner .monthview .cutoff, .calendar-calendar .month-view .full td.multi-day .inner .monthview .continues
{
background-color:#0053A1;
color: #ccc;
height: 2em;
}

.calendar-calendar .year-view .full td.multi-day div.yearview, .calendar-calendar .year-view .full td.multi-day .inner .yearview .cutoff, .calendar-calendar .year-view .full td.multi-day .inner .yearview .continues
{
background-color:#0053A1;
color: #ccc;
height: 2em;
}

.calendar-calendar .week-view .full td.multi-day div.weekview, .calendar-calendar .week-view .full td.multi-day .inner .weekview .continues, .calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff
{
background-color:#0053A1;
color: #ccc;
}

.calendar-calendar .week-view .full td.multi-day div.weekview {
  height: 2em !important;
}

.calendar-calendar .day-view .full td.multi-day div.dayview, .calendar-calendar .day-view .full td.multi-day .inner .dayview .cutoff
{
background-color:#0053A1;
color: #ccc;
}


.view .date-nav-wrapper .date-prev a, .view .date-nav-wrapper .date-next a {
  color: #fff;
  }
.view .date-nav {
  padding-bottom: 0;
}
.view .date-nav-wrapper .date-prev, .view .date-nav-wrapper .date-next {
  background: #777;
  margin-top: 0px;
  /* */
  padding: 5px;
  border-radius: 5px 5px 5px 5px;
}
.view .date-nav-wrapper ul.pager {
  border-top: none;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}



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

@media only screen and (max-width: 749px) {
    #navmobile a {
        background-color: #333;
    }

    #navlinks {
        border-bottom: 1px solid #eee !important;
    }

    #navmobile {
		padding: 0.5em 0.5555%;
		margin-top: -0.5em;
    }
}
/*
// -----------------------------------------------------------------
// 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 (max-width: 1024px) {


}



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

@media only screen and (max-width: 768px) {
  #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: 51.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: 48.5658%;
    margin-right: -100%;
    padding-left: 2.63158%;
    padding-right: 2.63158%;
    position: relative;
    margin-top: 5.8em;
  }

}
