/*
    Use this stylesheet to modify the layout of your
    conference.
*/

/* latin-ext */
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  src: local('Karla'), local('Karla-Regular'), url(https://fonts.gstatic.com/s/karla/v7/qkBbXvYC6trAT7RbLtyG5Q.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  src: local('Karla'), local('Karla-Regular'), url(https://fonts.gstatic.com/s/karla/v7/qkBbXvYC6trAT7RVLtw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* ----------- Styles for the conference header ----------- */

/*
    The wrapper of the whole conference page.
*/
.conf {
    width: 100%;
    border: none;
    margin: auto;
}

.confheader {
    background: #555;
}

.div.session-bar {
    margin: .5em .5em .5em .5em;
}

a, .fake-link, .ui-widget-content a {
    color: #2b5e82;
}	

/*
    Wraps around the upper part of the conference header.
*/
.confTitleBox {
    color: white;
    min-height: 250px;
    /* border-top: 3px solid #234173; */
    border-bottom: 1px solid #0f4c80;
    background: transparent url(/event/9/images/121-london_banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

}

/*
    Sets the width of the upper part of the conference header.
    Is set to 950px and centered by default.
*/
.confTitle {
    width: 100%;
    margin: 0 auto;
}

/*
    The box containing the logo. By the default the logo is placed
    on the left of the conference title.
*/
.confLogoBox {
    float: left;
    padding-right: 10px;
}

/*
    The responsive code for the image in the main content.
*/
.responsive {
  width: 100%;
  max-width: 600px;
  height: auto;
}

/*
    The style for the title text.
*/
.conference-title-link {
    /* font-size:22pt; */
    display: block;
    padding: 25px 0;
    font-weight: 800;
    padding: 0.5em;
    text-shadow: 1px 1px 2px black; 
}

/*
    Wrapper around the bottom part of the conference header
*/
.confSubTitleBox {
    background: #f5faff;
    border-bottom: 1px solid #d5e4f1;
    border-top: 1px solid #d5e4f1;
    padding: 0.5rem 0;
}

/*
    The content of the lower part of the header. Is by default
    centered and has a fixed width.
*/
.confSubTitleContent {
    width: 100%;
    margin: 0 auto;
    font-size: 12pt;
    color: #24425a;
}

/*
    Style for links in the lower part of the header
*/
.confSubTitle a {
    font-size: 12pt;
}

/*
    Styles for the date and place information.
*/
.datePlace {
    font-size: 13pt;
}


/*
    Announcement styles
*/
.simpleTextAnnouncement {
    background: #F5FAFF url(../../images/conf/sprites_blue.png) repeat-x scroll 0 -400px;
    border-top: 1px solid #c2d6e7;
    font-family: Verdana;
    font-weight: bold;
    font-size: 10pt;
    text-align: center;
    color: #0f283d;
    padding: 8px 0;
}


/* ----------- Styles for the main content ----------- */

/*
    The wrapper around the menu and the page content.
    By default centered with a fix width.
*/
#confSectionsBox {
    width: 100%;
    margin: 0 auto;
    margin-top: 5px;
}

.conference-page header h2 {
    color: #2b5e82;
    padding-right: 5px;
}

.action-box.highlight .section:not(.highlight):not(.warning):not(.danger):not(.disabled):not(.accept):not(.plain) .text .label {
    color: #2b5e82;
}

/* ----------- Styles for the menu ----------- */


/* Styles for all menu Items */

/*
    Wrapper around the menu
*/
.conf_leftMenu {
    float:left;
    /* width:200px; */
}

/*
    Styles for the menu box
*/
#outer {
    border: 1px solid #ccc;
    background: #f6f6f6;
}

/*
    The menu item
*/
#outer li a {
    font-family:verdana,arial,sans-serif;
    font-size: 10pt;
}

/*
    The menu item when doing mouseover
*/
#outer li a:hover, #outer li a:not(.no-link):hover {
    background: #777;
    color: white;
}

/*
    A non selected menu item
*/
.menuConfTitle {
    text-align: left;
}

.menuConfTitle a {
    color: #555;
    padding: 7px 12px;
}

/*
    A selected menu item
*/

.menuConfTitle.selected > a, .menuConfMiddleCell.selected > a, .menuConfMiddleCell.selected > a.hover {
    color: white;
    background: #555;
    border-bottom: 1px solid #d0d0d0;
    border-top: 1px solid #d0d0d0;
}

/*
    sub menu item
*/
li ul.inner li a {
    padding: 3px 12px 3px 30px;
    background: transparent url(../../images/conf/left_menu_bullet.png) scroll no-repeat 15px center;
}


/*
    Support box
*/

.support_box {
    background: #f6f6f6;
    border: 1px solid #ccc;
}

.support_box > h3 {
    color: white;
    background: #555;
    font-family: verdana,arial,sans-serif;
    font-size: 10pt;
}


/* ----------- Styles for the page content ----------- */

/*
    Wrapper around the content
*/

body {
    font-size: 14px;
}

.confBodyBox {
    margin-left: 230px;
}

div.infoline {
    float: none;
    width: 100%;
}

.infoline.date {
    display: none;
}

#protection-details-link, #language-selector-link, #tz-selector-link {
    display: none;
}

div.material-list, div.location {
    display: none;
}

/* Menu control trickery */

input.LeftMenuCtrl {
    display: none;
}
div.conf_leftMenu {
    margin-left: 1em;
}

img.SponsorImg {
    max-width: 100px;
    margin: 5px;
}

.SponsorClass h5 {
    margin-bottom: 5px;
}

img.confLogo {
    margin: 0px 10px 0px 10px;
}

div.centered-column-wrapper {
    width: auto;
}

/* Narrow-screen breakpoint */
@media screen and (max-width: 50em) {
    div.conf_leftMenu {
	position: absolute;
	top: 50px;
	right: 1em;
	z-index: 20;
/*
	margin-left: 1em;
	float: none;
	margin-right: 1em;
*/
    }
    label.LeftMenuCtrl:after {
	content: "X";
    }

    label.LeftMenuCtrl {
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: xx-large;
	color: white;
    }
    
    input[type=checkbox]:checked ~ label.LeftMenuCtrl:after {
	content: "☰";
    }

    input[type=checkbox]:checked ~ div.conf_leftMenu {
	display: none;
    }
    div.confBodyBox {
	margin-left: 1em;
	margin-right: 1em;
    }
    li.LeftMenuCtrl {
	padding-left: 7px;
    }
    div.SponsorBox {
	/*display: none;*/
	/* width: 100%; */
	visibility: hidden;
    }
    div.SponsorClass {
	display: inline-block;
	vertical-align: top;
    }
    img.confLogo {
	width: 68px;  /* Has to be px, not % */
    }
    .conference-title-link {
	/* font-size: 16pt; */
	padding: 5px;
    }
    .conference-title {
	padding: 5px;
    }
    div.centered-column {
	margin: 2em;
	width: 100%;
    }

}

/* Wide-screen defaults. */
@media screen and (min-width: 50em) {
    label.LeftMenuCtrl:after,
    input[type=checkbox]:checked ~ label.LeftMenuCtrl:after {
	content: none;
    }

    input[type=checkbox]:checked ~ div.conf_leftMenu {
	display: block;
    }

    li.LeftMenuCtrl {
	display: none;
    }
    div.confBodyBox {
	margin-right: 150px;
    }
    div.SponsorBox {
	/*display: none;*/
	visibility: hidden;
        /*
	width: 120px;
	float: right;
	background: #f6f6f6;
	padding: 5px;
	margin-right: 1em;
	border: 1px;
	border-style: solid;
	border-color: #ccc;
        */
    }
    div.SponsorClass {
	margin: 0;
	text-align: center;
    }
    div.SponsorClass h5, div.SponsorClass a, div.SponsorClass img {
	text-align: center;
    }
    div.SponsorClass:first-child h5 {
	margin-top: 1px;
    }
}

/* Disappear a bunch of the iconery we don't really have a use for */
div.button-bar {
    display: none;
}

div.confSubTitleBox {
    display: none;
}

div.conferenceDetails div.description {
    margin: 0px 0px 2em 0px;
    color: black;
}

div.description h2 {
    margin-top: 0px;
}

a#user-settings-link {
    margin-left: 1em;
}

div.main-action-bar {
    background-color: #555;
}

ul.steps li.completed .circle::before {
    background-color: #2b5e82;
    border-color: #2b5e82;
}
ul.steps li:first-child .horizontal-line {
    background-color: #2b5e82;
}

ul.steps li.completed .text {
    color: #2b5e82;
}

div.action-box.highlight {
    background: #f6f6f6;
    border-color: #ccc;
}

.action-box.highlight {
    color: black;
}

.action-box.highlight .section:not(.highlight):not(.warning):not(.danger):not(.disabled):not(.accept):not(.plain) > .icon {
    color: black;
}

.action-box.highlight .section:not(.highlight):not(.warning):not(.danger):not(.disabled):not(.accept):not(.plain) {
    color: #black;
}

a.i-button {
    background: #555;
}

/* This is painful */
.i-button.highlight:not(.label):not(.borderless):not(.text-color), .i-selection input[type="radio"]:checked + label:not(.label):not(.borderless):not(.text-color), .categorynav .category-list .item .button-wrapper .highlight:not(.label):not(.borderless):not(.text-color).action-button, .categorynav .category-list .item .button-wrapper :not(.label):not(.borderless):not(.text-color).action-button, .highlight:not(.label):not(.borderless):not(.text-color).action-button, :not(.label):not(.borderless):not(.text-color).action-button {
    background: #555;
    border-color: #dfdfdf;
}

.i-button.highlight:not(.label):not(.borderless):not(.text-color):hover, .i-selection input[type=checkbox]:checked+label:not(.label):not(.borderless):not(.text-color):hover, .i-selection input[type=radio]:checked+label:not(.label):not(.borderless):not(.text-color):hover, .categorynav .category-list .item .button-wrapper .highlight:not(.label):not(.borderless):not(.text-color):hover.action-button, .categorynav .category-list .item .button-wrapper :not(.label):not(.borderless):not(.text-color):hover.action-button, .highlight:not(.label):not(.borderless):not(.text-color):hover.action-button, :not(.label):not(.borderless):not(.text-color):hover.action-button {
    background: #2b5e82;
}

.call-for-abstracts .cfa-announcement {
    color: black;
}

h1, h2, h3, h4 {
    color: #555;
}

.conference-page .page-content h1, .conference-page .page-content h2, .conference-page .page-content h3 {
    color: #555;
}

.footer * {
    line-height: initial;
}

* {
    font-family: "Karla";
}


/* Stuff for the timetable */
table.lpctt {
    border: black;
    padding: 5px;
    border-style: groove;
    border-width: 3px;
}

table.lpctt tr:hover {
    background-color: #f5f5f5;
}

tr.lpcttday {
    background-color: beige;
}

span.lpctt {
    display: none;
}

@media only screen and (max-width: 48em) {
	/* Force table to not be like tables anymore */
	table.lpctt  {
        display: table-row;
	width: 95%;
    }
    table.lpctt thead {
        display: none;
    }
    span.lpctt {
	display: inline;
    }
    table.lpctt tbody, th, td, tr {
		display: block;
	}

    tr.lpctthdr {
	display: none;
    }

    table.lpctt td {
	    /* Behave  like a "row" */
	    border: none;
	    position: relative;
	    /* padding-left: 50%;*/
	}

	table.lpctt td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
	}
}