/*
 Theme Name: 			twentyfourteen-child
 Theme URI: 			http://spanishintexas.org
 Theme URI:      	https://themes.bavotasan.com/2013/tonic/
 Description: 	 	A theme based on twentyfourteen.
 Author:         	Nathalie Steinfeld Childre
 Author URI:     	http://coerll.utexas.edu/coerll/
 Template:       	twentyfourteen
Text Domain: 			twentyfourteen-child

*/

@import url("../twentyfourteen/style.css");


html{
	height:58%;
}


body{
	background: #fff;
}


body.home h1.entry-title{ display: none; }

html body .primary-navigation {
		display:none;
		height: 1px;
	}


body.page h1.entry-title,
body.error404 h1.page-title,
body.search h1.page-title{
	/*top: -50px;*/
	clear: none;
	position: relative;
	padding-top: 40px;
	font-weight: bold;
}

.search .page-header,
.error404 .page-header {
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 10px;
	padding-bottom: 0px;
	max-width: 100%;
}


.search .page-title,
.error404 .page-title {
	font-size: 33px;
	text-transform: uppercase;
}

.search h1.entry-title, 
.error404 h1.entry-title {
	margin-bottom: 0px;
}

.search .entry-title a 
.error404 .entry-title a {
	font-size: 18px;
	font-weight: bold;
}

.search .entry-meta .entry-date{
	display: none;
}

.search .entry-summary{
	padding-top: 0px;
}

ul#lang-switcher {
	text-decoration: none;
}

ul#lang-switcher li {
	display: block;
	float: right;
	padding-right: 1em;
}

ul#lang-switcher a {
	color: #fff;
}

.home ul#lang-switcher a {
	color: #24890d;
}

ul#lang-switcher .current-lang a {
	color: #ccc;
}

body.page,
body.error404,
body.search { 
	background:  url('images/spanishtx_bgr.jpg');
	background-repeat:repeat-x;	
	background-position:center;
}


body.page.home {
	background: #FFF;
	height:100%;
	max-width: none !important;
}



body.page.home #main {
	max-width: none !important;
}


body.page #main,
body.error404 #main,
body.search #main{
	width: 70%;
	max-width: 800px;
	/*height: 100%;*/
	height: auto;
	margin: 0px auto;
}

#banner{
	height: 120px !important;
}


.masthead-fixed .site-main{
	margin-top: 0px;
}

body.home #content { 
	background-image: url('images/splashpage.jpg');
	background-repeat:no-repeat;	
	background-size: 70%;
	background-position:center;
	padding-bottom: 55%;
	height: 100%;
} 



.hentry{
	margin: 0 auto;
}

.site{
	height: 100%;
}

.site,
.site-header {
 max-width: 100%;
 background: none;
}

#masthead{
	height: 20px;
}

h1.site-title a{
	font-size: 1px;
}

.site-content .entry-header,
.site-content .entry-content,
.site-content .entry-summary,
.site-content .entry-meta, .page-content {
 /* Original max-width: 474px */
 max-width: 100%;

}

body.home .entry-content{
	height: 1px;
}


.page .site-content .entry-header,
.error404 .site-content  .page-title,
.search .site-content .page-title{
	/*padding: 0 30px 0px;
	height: 90px;*/
	min-height: auto;
}

.site-content  .ill_links{
	position: absolute;
	/*top: 14%;*/
	top: 11%;
	left: 31%;
	display: block;
	width: 400px;
	height: 30%;
	min-height: 10em;
	vertical-align: middle;
	display: table-cell;
}


.site-content .ill_links a{
	width: 100%;
	float: left;
	padding-bottom: 2%;
	min-height: 11%;
	/*border: #000 solid 1px;*/
	color: transparent;
}

.site-content .ill_links a.home{
	min-height: 76%;
}

.home .site-content .entry-header{
	display: none;
}

.site:before {
    width: 0;
}


.site-footer{
	width: 70%;
	max-width: 800px;
	height: 230px;
	margin: 0 auto;
	background: #24556f;
	font-weight: 100;
	font-size: 9pt;
}


.home .site-footer{
	background: none;
}

.home .site-footer a{
	color: #000;
}

.site-footer .site-info{
	width: 500px;
	padding: 0px 30px;
	margin: 0 auto;
}

.site-footer aside {
	width: 100%;
}

.footer-sidebar .widget{
	width:100%;
}

.home #credit,
.home #credit a{
	color: #000;
}

#credit{
	font-family: Helvetica, Arial, sans-serif;
	color: #ccc;
	text-align:center;
	/*border-top: #ccc solid 1px;*/
	height: 25px;
	position: relative;
	bottom: 0px;
	clear: both;
	margin-top: 15px;
	padding-top: 3px;
	padding-bottom: 5px;
}

#credit a{
	color: #ccc;
}



.site-footer li,
.site-footer li,
.site-footer li{
	list-style:none;
}

.site-footer li.about,
.site-footer li.education,
.site-footer li.research{
	float: left;
}

.site-footer li.about ul,
.site-footer li.education ul,
.site-footer li.research ul{
	margin-left: 0px;
}

.site-footer li.research{
	padding-left: 30px;
}

.site-footer li.about h2,
.site-footer li.education h2,
.site-footer li.research h2{
	font-size: 14px;
	margin-top: 0px;
}


.site-footer ul{
	padding-left: 0px;
	margin-left: 0px;
	color: #EEE;
}

.site-footer ul li{
	/*padding-bottom: 0px;*/
	padding-bottom: 0px;
	width: 155px;
}

#secondary {
  display: none;
}

#content {
  margin-left:0px;
}

.content-area{
	padding-top: 0px;
	float: none;
}

.page .content-area,
.error404 .content-area,
.search .content-area{
	position: relative;
}

.main-content{
	/*width: 900px;*/
	margin: 0 auto;
	float: none;
}

.search-box{
	float: right;
}

.search-toggle{
	z-index: 1000;
}

.search #content,
.error404 #content {
	background: #fff;
}


@media screen and ( max-width: 70em ) /* 640 */{
	
	body.home #content{ 
		position: relative;
		top: 20px;
		background-size: 90%;
		padding-bottom: 60%;
	}

	
	body.home .site-content .ill_links{
		top: 0%;
		left: 25%;
		width: 200px;
	}

	body.home .site-content .ill_links a{
		min-height: 7%;
		font-size: 80%;
	}

	body.home .site-content .ill_links a.home{
		min-height: 85%;
	}

	
	
	.search-box-wrapper{
		position: absolute;
		top: -120px;
		right: 48px;
	}
	
	.search-box .search-field{
		width: 100%;
	}
	
	.search-toggle{
		margin-right: -30px;
		margin-top: -210px;
	}
	

}

@media only screen and ( max-width: 40em ) /* 640 */{
	/*body.home #content article .entry-content*/
	#masthead{
		top: -120px;
		right:	0px;
		float:right;
		position: absolute;
	}
	
	#banner {
		padding-bottom: 0px !important;
	}
	
	.header-main{
		padding: 0px;
	}
	
	body.page .site-content .entry-header,
	body.error404 .site-content .page-title,
	body.search .site-content .page-title{
		padding: 0 30px 12px;
	}
		
	.search-toggle{
		margin-right: 0px;
	}
	
	.search-box-wrapper{
		top: 0px;
		right: 48px;
	}
	
	body.home #content{ 
		background-size: 100%;
		padding-bottom: 70%;
	}
	
	body.page #main,
	body.error404 #main,
	body.search #main {
		/*width: 80%;*/
		height: auto;
	}
	
	body.home .entry-content{
		height: 1px;
	}
	
	body.page .site-content .entry-content,
	body.error404 .site-content .entry-content,
	body.search .site-content .page-title  {
		padding: 0px 20px 0;
	}
	
	body.page .site-footer #credit,
	body.error404 .site-footer #credit,
	body.search .site-footer #credit{
		padding: 0px 20px 30px;
		height: auto;
	}
	
	
	body.home #content article .site-content{
		margin-top: 20px;
	}
	
	.site-footer{
		height: auto;
		margin-bottom: 30px;
	}
	
	.site-footer .site-info{
		width: auto;
	}
	
	.site-footer .site-info ul{
		display: block;
	}
	
	.site-footer ul li{
		width: 100%;
		text-align: center;
	}
	
	body.home .site-content .ill_links{
		display: none;
	}
		
}