/* 
    styles.css
    by Lourdes Morales-Villaverde
*/

/* ASSETS 2016 WEBSITE STYLES
	
    BACKGROUND COLORS

	Green-grey Background: #B3C2BD
    Maroon Background: #400800

    OTHER COLORS
    Pink: #ED1E79 (Used to denote the current link on the title bar)

    HEADER
    
    Background color (Dark Grey): #262626
    
    Text (link) colors: 
    - Regular links: white
    - Selected/current page's link (pink): #F9959D

	Text = 16pt (26pt was too big)
    Title bar height = auto (40 pixels was too high)
	
    FONT: Railway (https://www.google.com/fonts/specimen/Raleway). 
    
    Raleway has 9 differnt weights, but we will probably use: 

    - for the Light/Thin text: 200 (100 was too thin)
    - for Normal text: 400, and
    - for Bold: 700

    FONT SIZES: 

    All fonts should be picked from sizes in the 
    Fibinacci Sequence (1,1,2,3,5,8,13,21,34,...) and 
    the Fibinacci Sequence Doubled (2,2,4,6,10,16,26,...) 

    When in doubt, choose a font size from one these 
    sequences combined (1,2,3,4,5,6,8,10,13,16,21,26...)

    If the fonts are too large/small, just shift all the fonts on that 
    page/section up or down.

    1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377
    2, 2, 4, 6, 10, 16, 26, 42, 68, 110, ...

    FONT COLOR:

	Text color over the green background: #400800 (maroon)
	Text Color over the dark backgrounds: white

    #content h1{
	font-size: 32pt;
}

#content h2{
	font-size: 21pt;
}

#content h3, #content h4{
	font-size: 16pt;
}

#content h1, #content h2, #content h3, #content h4, #content a{
	color:#400800;
    font-weight: 700;
}

#content a{
	font-size: 16pt;
}

*/

html, body{
	width: auto; 
	height: auto;
	font-family: 'Raleway', sans-serif; 
	margin-left: auto; 
	margin-right: auto;
	margin-top: auto;
	background-color: #B3C2BD;
}

/*============================*/
/*    STYLES FOR TEMPLATE     */
/*============================*/

/*----- Styles for skip navigation link -----*/
#skip_nav a

{

    position:absolute;

    left:-10000px;

    top:auto;

    width:1px;

    height:1px;

    overflow: hidden;

    z-index: 999;

}

  

#skip_nav a:focus

{

    height:auto;

    width: auto;

    left: auto;

    overflow: auto;

}

/*============== STYLES FOR HEADER_TITLE_BAR =======================*/

#header_title_bar {
    width: 100%;
}

/*------------ Styles for the HEADER = logo, date, and venue -----------*/

header{
	/*min-height: 253px;*/ /* As high as the background image */
    height: auto;
	width: 100%;
	background-image: url('images/resources-07.png'); 
	background-position: bottom;
	background-size: cover;
	display: table;
	padding-top: 10px;
    background-color: #B3C2BD;
}

#header_left, #header_right{
	display: table-cell;
	min-height: 253px;
	vertical-align: bottom;
}

#header_left{
	max-width: 336px;
	width: 336px;
}

#header_left img{
	height: auto;
	max-width: 100%;
}

#header_right{
	text-align: right;
	color: black;
	vertical-align: bottom;
	padding-bottom: 8px;
	padding-right: 4px;
}

#header_right p{ /* The date and venue are within p tags */
	margin:0px;
	padding:0px;
}

#date{
	font-size: 21pt;
	font-weight: 700;
}

#venue{
	font-size: 16pt;
	font-weight: 400;
}

#small_logo{ /* logo for smaller screens */
	display: none;
    background-color: #B3C2BD;
}

/*--------- Styles for (list-based) title bar -------*/
/* Title bar implementation method adapted from: http://webdesign.tutsplus.com/tutorials/building-a-responsive-layout-with-skeleton-navigation--webdesign-6385 */

#title_bar_list /*div*/
{
	display: table;
	width: 100%;
	height: auto;
	background-color: #262626;

	-webkit-box-shadow: 0px 2px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.3);
	box-shadow: 0px 2px 2px rgba(0,0,0,0.3);
}

#title_bar_list nav ul, #title_bar_list nav ul li{
	margin: 0px;
	padding: 0px;
}

.tb_cell{ /*li <-  #title_bar_list nav ul li*/
	display: inline;
    float: left;
    padding: 0;
    width: auto;
	height: auto;
	position: relative;
	border-left: 1px solid #B3C2BD;
	border-right: 1px solid #B3C2BD;
}

.tb_link{ /* a <- .tb_cell a = #title_bar_list nav ul li a */
	display: inline-block;
	height: auto;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 5px 5px;
	font-size: 16pt;
	font-weight: 700;
	text-decoration: none;
	color: white;
}

.tb_link:hover, .tb_link:focus, .tb_cell:hover > a
{
	color: #262626;
	background-color: white;
}

.tb_drop_menu_link:hover, .tb_drop_menu_link:focus{
   background-color: #4c4c4c;
}

.tb_dd_menu{ /* ul (drop-down menu) <- #title_bar_list nav ul ul */
	position: absolute;
	z-index: 999;
	min-width: 100%;
	visibility: hidden;

	-webkit-box-shadow: 0px 2px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.3);
	box-shadow: 0px 2px 2px rgba(0,0,0,0.3);

	opacity: 0;
	filter: alpha(opacity=0);

	-webkit-transition: opacity 0.2s ease-out;
	-moz-transition: opacity 0.2s ease-out;
	-o-transition: opacity 0.2s ease-out;
	-ms-transition: opacity 0.2s ease-out;
	transition: opacity 0.2s ease-out;
}

.tb_dd_menu li{ /* li <- #title_bar_list nav ul ul li */
	display: list-item;
	float: none;
	border-top: 1px solid #B3C2BD;
	list-style: none;
	white-space: nowrap;
}

#sponsors li{
	white-space: normal;
}

.tb_drop_menu_link{ /* a <- #title_bar_list nav ul ul li a */
	display: block;
	background-color: #262626;
	text-decoration: none;
	color: white;
	font-size: 13pt;
	padding: 3px 6px;
}
	
.external_link_img {
	vertical-align: text-top;
}

.selected_link{
	color: #F9959D;
}

/*----------- Styles for title_bar_2 (for smaller devices) --------*/

#title_bar_2{
	display: table;
	width: 100%;
	background-color: #262626;
}

#title_bar_2, #title_bar_2 nav{
	text-align: center;
}

#title_bar_2 select{
	display: none;
    font-size: 16pt;
   
}


/*============== STYLES FOR (GENERAL) CONTENT DIV =======================*/

#content{
    width: 100%; 
	height: auto;
}

#content p, #content ul, #content ol{
	font-size: 16pt;
	font-weight: 400; /*200 was too thin*/
	color: #262626;
}

#content h1{
	font-size: 32pt;
}

#content h2{
	font-size: 21pt;
}

#content h3, #content h4{
	font-size: 16pt;
}

#content h1, #content h2, #content h3, #content h4, #content a{
	color: #400800;
    font-weight: 700;
}

#content a{
	font-size: 16pt;
}

#content ul li{
    margin-top: 10px;
    margin-bottom: 10px;
}

/*===== Footer =======*/

#green_footer{
	padding-top: 20px;
	height: 416px;
	background-image: url('images/resources-01-original.png');
	background-repeat :repeat-x; 
	background-position: center;
	width: 100%;
}
/*img resources-01-original.png width="1443" height="416"*/
/*img resources-07.png width="1300" height="225"*/

#green_footer p{

    text-align: center;

    font-size: 32pt;

    font-weight: 700;

    color: #400800;

    padding-top: 100px; 

}

/*========================================*/
/*        STYLES FOR CONTENT PAGES        */
/*========================================*/

#content .content_pages{
	background-color: #B3C2BD;
    margin: 10px 100px;
}

/*=====================================*/
/*        STYLES FOR HOME PAGE         */
/*=====================================*/

/*#home_content{
	background-color: #B3C2BD;
    margin: 10px 100px;
}*/

#home_scope_reg_sections{

    display:table;

    width: 100%;

}

#home_scope_section, #home_registration_section{

    display: table-cell;

    vertical-align: top;

}

#home_scope_section{

    width: auto;

}

/* In the scope section there will be three images/links that need not be underlined */
.image_link{ 
	text-decoration: none;
}

#home_registration_section{

    display: inline-block;

    /*width: auto;*/

	width: 461px;
    max-width: 461px;
    padding: 20px 0px;

}

#home_registration_section, #home_venue_section, #home_important_dates_section{
    text-align: center;
}

#home_registration_section_2{ /*for smaller devices*/

    display: none;

}

#home_content h2.home_section_title
{
	text-align: center;
	font-size: 42pt;
	font-weight: 700;
	color: #400800;
	text-transform: uppercase;
	padding-top: 5px;
}

/* Styles for images so they resize properly*/
.shield, #important_dates, #venue_img, #src_sponsor_img{
    max-width: 100%;
    height: auto;
}

#venue_shield{
    display: inline-block;
    /*padding-right: 30px;*/
     padding: 0px 30px;
}

#venue_img{
	display: inline-block;
	padding: 20px 0px;
}

#important_dates{ /*img*/

    padding-top: 30px;

}

#home_important_dates_section{

    
	background-image:url('images/resources-01-original.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
	width: 100%;

}

.important_dates_caption, .important_dates_list{

    text-align: left;

}


#home_committee_section{

    text-align: center;

    width: 100%;

}

#home_committee_section h3{

    font-size: 26pt;

}

#home_committee_section div.committee_member_container{
    display: inline-block;
    text-align: center;
    padding: 20px 20px;
}

#home_committee_section div.committee_member{

    display: table-cell;

    vertical-align: middle;

    text-align: center;

    border-radius: 50%;

    border: 3px solid #400800;

    text-wrap: normal;

    height: 210px;

    width: 210px;

    padding: 10px 20px;

}

#home_content p.committee_member_title{

    font-weight: 700;

    color:#400800;

    font-size: 18pt;

    padding-bottom: 0px;

    margin-bottom: 0px;

}

#home_content p.committee_member_name{

    font-size: 16pt;

    color:#400800;

    padding-top: 10px;

    margin-top: 0px;

    padding-bottom: 10px;

    margin-bottom: 0px;

}

#home_content p.committee_member_affiliation{

    font-style: italic;

    font-size: 13pt;

    padding-top: 0px;

    margin-top: 0px;

}

#org_committee_link{

    background-color: #400800;

}

#org_committee_link p{

    color: white;

}

#org_committee_link a{

    color: white;

    font-weight: 700;

}

/*=======================================*/
/*        STYLES FOR TEMPORARY PAGE      */
/*=======================================*/

#message p{

    font-size: 32pt;

    font-weight: 700;

    text-align: center;

    color:#400800;

}


/*=====================================*/
/*        STYLES FOR VENUE PAGE        */
/*=====================================*/

/*#venue_content{
	background-color: #B3C2BD;
    margin: 10px 100px;
}*/

#venue_images{

    text-align: center;

}

#map{

    max-width: 100%;

}

/*==========================================*/
/*        STYLES FOR COMMITTEES PAGE        */
/*==========================================*/

/*#content_committees{

    background-color: #B3C2BD;
    margin: 10px 100px;

}*/

#content_committees ul li{

    padding: 20px 0px;

}

/*==============================================================*/
/*        STYLES FOR ORGANIZING & PROGRAM COMMITTEE PAGE        */
/*==============================================================*/


#content_committee div.committee_member{

    display: block;

}

#content_committee div.committee_member p{

    display: table-cell;

    font-size:21pt;

    font-weight:400; /*200 was too thin*/

    color: #400800;

    vertical-align: middle;

    padding: 5px;

}


/*------Organizing Committee Styles--------*/

#content_committee div.committee_member p a{

    font-weight:400; 

    display:block;

}

#content_committee p.committee_member_img img{

    height: 116px;

    width: 116px;

	display:inline;

    border-radius: 50%;

    border: 2px solid #400800;

}

/*------Program Committee Styles--------*/

#content_committee div.committee_member div{

    display: block;

    font-size:21pt;

    font-weight:200;

    color: #400800;

    vertical-align: middle;

    padding: 5px;

    font-style: italic;

}

/*------Sponsors Styles--------*/

#src_sponsor
{
    padding-top: 20px;
    text-align: center;
}

#src_sponsor_text{
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}


/*==============================================================*/
/*        STYLES FOR CAPTIONING CHALLENGE PAGE        */
/*==============================================================*/

#captioning_challenge_img
{
    max-width: 100%;
    height: auto;
    float: right;
    padding-left: 15px;
}


/*=====================================*/
/*    STYLES FOR REGISTRATION PAGE     */
/*=====================================*/

#registration_fees{
    border: 1px solid #262626;
    border-collapse: collapse;
    text-align: left;
    font-size: 16pt;
}

/*#registration_fees caption{
    font-size: 18pt;
    padding: 10px;
    font-weight: 700;
}*/

#registration_fees td, #registration_fees th{
    padding: 10px;
    border: 1px solid #262626;
}

.column_header{
    color: #400800;
    overflow-x: auto;
    max-width: 210px;
}


/*=====================================*/
/*         STYLES FOR SRC PAGE         */
/*=====================================*/

.src_reviewer{
    padding-left: 5px;
    margin-bottom: 0px;
}

.src_reviewer_affiliation{
    margin-top: 0px;
    font-size: 16pt;
    font-style: italic;
    font-weight: 200; /*200 is thin*/
    color: #262626;
}

/*===============================================*/
/* STYLES FOR BECOMING A PARTNET and VENUE PAGE  */
/*===============================================*/

#sponsor_benefits, #hotel_rates{
	width: 100%;
}

#hotel_rates{
	empty-cells: show;
}

#sponsor_benefits caption, #hotel_rates caption{
	font-size: 21pt;
	color: #400800;
	padding: 10px;
	font-weight: 700;
}

#sponsor_benefits, #hotel_rates, #sponsor_benefits th, #hotel_rates th, #sponsor_benefits td, #hotel_rates td {
    border-collapse: collapse;
    border: 1px solid #262626;
    font-size: 16pt;
}

#sponsor_benefits th, #sponsor_benefits td, #hotel_rates th, #hotel_rates td{
	padding: 10px;
}

.col_header{
	text-align: left;
}

.row_header{
	color: #400800;
}

.contribution{
	text-align: center;
}

/*===============================================*/
/*        STYLES FOR ACCEPTED PAPERS PAGE        */
/*===============================================*/
.paper{
	display: block;
	font-size: 16pt;
	font-weight: 400;
	padding-bottom: 30px;
}

.authors{
    font-style: italic;
    font-weight: 200;
    color: #262626;
}

/*===============================================*/
/*             STYLES FOR PROGRAM PAGE           */
/*===============================================*/

.program
{
	text-align: left;
	vertical-align: top;
	border-collapse: collapse;
    border: 1px solid #262626;
}

.program th, .program td{
	padding: 10px;
	border: 1px solid #262626;
}

a#sunday, a#monday, a#tuesday, a#wednesday{
	font-size: 21pt;
}


/*  MEDIA QUERIES =========================================================================================================== */
/*
	Idea from: http://webdesign.tutsplus.com/tutorials/building-a-responsive-layout-with-skeleton-navigation--webdesign-6385
	Original queries:
   
	For smaller than standard 960 (devices and browsers)
	@media only screen and (max-width: 959px){}

	For tablet portrait size to standard 960 (devices and browsers) 
	@media only screen and (min-width: 768px) and (max-width: 959px){}

	For all mobile sizes (devices and browsers) 
	@media only screen and (max-width: 767px){}

	For mobile landscape size to tablet portrait (devices and browsers) 
	@media only screen and (min-width: 480px) and (max-width: 767px){}

	For all mobile sizes (devices and browsers) 
	@media only screen and (max-width: 479px){}

============================================================================================================================== */

/* When just the title bar doesn't fit*/
@media only screen and (max-width: 1043px) {
	
    #skip_nav{

        display: none;

    }
    
    #title_bar_2 select{
		display: block;
		width: 100%;
		background-color: #262626;
		color: white;
		font-size: 21pt;
		font-weight: 400;
	}

	#title_bar_list{
		display: none;
	}

    /* For the home page */
    
    #home_registration_section{
        display: none;
    }

    #home_registration_section_2{
        display: block;
        padding: 10px 0px;
        text-align: center;
    }

}

/* When even the header needs to be resized and so does the main content */
@media only screen and (max-width: 479px){
	#header_left{
		display:none;
	}
	
	#small_logo{
		display: block;
		text-align: right;
	}

	#small_logo img{
		height: auto;
		max-width: 100%;
	}

	#content p, #content ul, #content a{
		font-size: 13pt;
	}

	#content h1{
		 font-size: 21pt;
	 }

	#content h2{
		font-size: 16pt;
	}

    #content h2{
		font-size: 13pt;
	}

	/* For the home page */
    
    #home_content {
		margin: 10px 20px;
	}

	#content h2.home_section_title{
		font-size: 21pt;
	}

}