/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.project-links {
  float: left;
  margin-right: 50px;
}

.project-links a {
  color: #000099;
  text-decoration: none;
}

.project-links a:hover {
  text-decoration: underline;
}

.drupal-links a {
  color: #000099;
  text-decoration: none;
}

.drupal-links a:hover {
  text-decoration: underline;
}

html { 
	/*background: url('../img/background-shade.png') no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;*/
}

body {
	
	font-family: 'Open Sans Condensed', Arial, sans-serif;
	font-size: 1.3em;
	background: url('../img/grey.png');
}

#main-navigation {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	padding: 5px 0;
	z-index: 5;
	
	text-transform: uppercase;
	text-align: center;
	font-size: 1.3em;
	background: #1674cc;
	box-shadow: 0 1px 2px #333;
}

#main-navigation a {
	padding: 0 5px;
	
	color: #fff;
	background: #1674cc;
}

a {
	
	text-decoration: none;
}

.anchor {
	display: block;
	height: 40px;
}

.page {
	padding: 20px 0;
}

.logo {
	width: 100%;
}

.logo a {
	display: block;
	width: 300px;
	height: 300px;
	margin: 0 auto 30px;
	
	background: url('../img/softlab-logo.png') center center no-repeat;
}

#main-content {
	padding: 20px 0;
}

h2.title{
	
	font-family: 'Open Sans Condensed', Arial, sans-serif;
	text-transform: uppercase;
	color: #1674cc;
	font-weight: normal;
}

.caption {
	margin: 5px 0;
	
	font-size: 1.1em;
	text-transform: uppercase;
}

.site-title {
	margin: 5px 0 30px;
	
	font-size: 2em;
	text-transform: uppercase;
}

footer {
	padding: 40px 0 0 0;
	
	text-align: right;
	font-size: 0.9em;
	color: #666;
}

footer a {
	
	color: #1674cc;
}

footer a:hover {
	
	color: #208FF7;
}

.float-left {
	float: left;
	padding: 30px 10px 10px 0;
}


/* ==========================================================================
   SOCIAL BUTTONS
   ========================================================================== */

div.social-links {
	width: 216px;
	margin: 10px auto 10px;
	padding: 0 0 20px 0;
	
	text-align: center;
}


div.social-links .social a {
	display: inline-block;
	width: 100%;
	
	color: #999;
	line-height: 60px;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	font-family: Impact, sans-serif;
	font-size: 36px;
	border-radius: 50%;
}

div.social-links .social a:hover {
	color: #fff;
}

#facebook {
	width: 60px;
	height: 60px;
	z-index: 2;
	
	overflow: hidden;
	border: 1px solid transparent;
	background: rgba(59,89,152, 0.3);
}

#facebook:hover {
	background: rgba(59,89,152, 1);
	border: 1px solid #fff;
}

#twitter {
	width: 60px;
	height: 60px;
	z-index: 2;
	
	overflow: hidden;
	background: rgba(42,169,225, 0.3);
	border: 1px solid transparent;
}

#twitter:hover {
	background: rgba(42,169,225, 1);
	border: 1px solid #fff;
}

#plus {
	width: 60px;
	height: 60px;
	z-index: 2;
	
	overflow: hidden;
	background: rgba(191,56,38, 0.3);
	border: 1px solid transparent;
}

#plus:hover {
	background: rgba(191,56,38, 1);
	border: 1px solid #fff;
}

.social-links div.circle {
	float: left;
	margin: 0 5px ;
	border-radius: 50%;
}




/* -------------------------------------------------------
 * PERSONAL SOCIAL
 ---------------------------------------------------------*/

.personal-social {
	display: inline-block;
	margin: 5px 0 0 0;
}

.personal-social a {
	display: inline-block;
	width: 32px;
	height: 32px;
	
	text-indent: -9999px;
}

.personal-fb {
	background: url('../img/icons/facebook.png') center center no-repeat;
}

.personal-fb:hover {
	background: url('../img/icons/facebook-hover.png') center center no-repeat;
}

.personal-tw {
	background: url('../img/icons/twitter.png') center center no-repeat;
}

.personal-tw:hover {
	background: url('../img/icons/twitter-hover.png') center center no-repeat;
}

.personal-in {
	background: url('../img/icons/linkedin.png') center center no-repeat;
}

.personal-in:hover {
	background: url('../img/icons/linkedin-hover.png') center center no-repeat;
}

.personal-me {
	background: url('../img/icons/aboutme.png') center center no-repeat;
}

.personal-me:hover {
	background: url('../img/icons/aboutme-hover.png') center center no-repeat;
}

.personal-mail {
	background: url('../img/icons/email.png') center center no-repeat;
}

.personal-mail:hover {
	background: url('../img/icons/email-hover.png') center center no-repeat;
}

/* ==========================================================================
   HOME PAGE
   ========================================================================== */

#home-page {
	
	border-bottom: 1px solid #555;
	box-shadow: 0 3px 10px #333;
	background: url('../img/patterns/blackorchid.png');
}

#home-page div.container {
	
	background: url('../img/home-page-shine.png') center -150px no-repeat;
}

#home-page a.apply-button {
	display: block;
	width: 230px;
	padding: 10px 0;
	margin: 10px auto 30px;
	
	background: #1674cc;
	border-radius: 10px;
	color: #fff;
	font-size: 2em;
	text-transform: uppercase;
	text-align: center;
	border: 1px solid #1674cc;
}

#home-page a.apply-button:hover {
	border: 1px solid #fff;
}

#home-page .caption {
	
	color: #999;
	text-align: center;
}

div.social-share {
	padding: 10px 0 20px 0;
	
	text-align: center;
}

div.social-share a {
	display: inline-block;
	width: 100px;
	padding: 10px 0;
	
	color: #fff;
	border: 1px solid transparent;
	border-radius: 5px;
}

div.social-share a:hover {
	
	border: 1px solid #fff;
}

div.social-share .facebook-share {
	
	background: rgba(59,89,152, 0.3);
}

div.social-share .facebook-share:hover {
	
	background: rgba(59,89,152, 1);
}

div.social-share .twitter-share {
	
	background: rgba(42,169,225, 0.3);
}

div.social-share .twitter-share:hover {
	
	background: rgba(42,169,225, 1);
}

/* ==========================================================================
   SCHEDULE PAGE
   ========================================================================== */

blockquote {
	
	font-family: 'Coming Soon', cursive;
	font-size: 0.8em;
}

/* ==========================================================================
   PROJECTS PAGE
   ========================================================================== */
article{
	margin-bottom: 20px;
}
.project-title {
	padding: 0;
	margin: 0;
	
	color: #333;
}

.project-team-members span {
	
	text-transform: uppercase;
}

#schedule-page div.schedule-table {
	padding: 20px 0 0 0;
	
}

#schedule-page div.row {
	padding: 0 0 10px 0;
	
	border-bottom: 1px solid #ccc;
}

#schedule-page div.cell {
	
	line-height: 1.1em;
}

#schedule-page div.date {
	
	text-transform: uppercase;
	color: #1674cc;
}

#schedule-page div.date span {
	
	color: #444;
}



/* ==========================================================================
   MEMBERS PAGE
   ========================================================================== */

#organizers-page div.image-holder {
	width: 180px;
	float: left;
	margin: 20px 20px 20px 0;
	
	border: 2px solid #1674cc;
	border-radius: 50%;
	overflow: hidden;
}

#organizers-page p.image-caption {
	float: left;
	padding: 20px 0 0 0;
	
	font-size: 1.4em;
	color: #1674cc;
	text-transform: uppercase;
}

#organizers-page p.image-caption span {
	display: block;
	padding: 0;
	
	font-size: 0.7em;
	color: #444;
	line-height: 0.8em;
}

#organizers-page div.image-caption:hover {
	
	background: rgba(255, 255, 255, 0.9);
}

#organizers-page img {
	width: 100%;
	
}

/* ==========================================================================
   FRIENDS PAGE
   ========================================================================== */

#friends-page div.logo-holder img {
	width: 100%;
	
}


/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

#contact-page {
	
	border-top: 1px solid #555;	
	background: url('../img/patterns/blackorchid.png');
}

#contact-page .caption {
	padding: 0 0 15px;
	
	color: #999;
	text-align: left;
	text-transform: none;
}

.contact-form {
	position: relative;
	margin: 0 0 10px;
}

.contact-form input,
.contact-form textarea {
	display: block;
	padding: 5px 10px;
	margin: 10px 0;
	
	border: 1px solid #999;
	border-radius: 5px;
	background: transparent;
	font-weight: normal;
	font-family: inherit;
	color: #ccc;
	outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {	

	border: 1px solid #1674cc;
	color: #fff;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
	width: 250px;
}

.contact-form textarea {
	width: 90%;
	height: 250px;
	resize: none;
}

.contact-form input[type="submit"] {
	width: 150px;
	padding: 5px;
	
	text-transform: uppercase;
}

.contact-form input[type="submit"]:hover {
	
	border: 1px solid #1674cc;
	color: #1674cc;
}

.contact-form input[type="reset"] {
	display: none;
}

div.notifications {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 4;
	
	background: rgba(0, 0, 0, 0.7);
}

#floater {
	float:left; 
	height:50%; 
	margin-bottom:-120px;
}

#content {
	display: table;
	clear:both; 
	height:240px; 
	width: 350px;
	position:relative;
	margin: 0 auto;
	
	background: rgba(0, 0, 0, 0.7);
	border-radius: 5px;
}

div.notifications .form-status {
	display: table-cell;
	width: 100%;
	height: 100%;
	
	background: url('../img/ajax-loader.gif') center center no-repeat;
}

div.notifications .form-response {
	display: table-cell;
	vertical-align: middle;
}

div.notifications .form-response p {

	padding: 0 10px;
	
	
	color: #fff;
	text-align: center;
	
}

.error {
	display: block;
	
	color: red;
}

input.highlight,
textarea.highlight {
	
	border: 1px solid #FC544B;
}

/* ==========================================================================
   Countdown
   ========================================================================== */

#countdown_dashboard {
	height: 110px;
	width: 508px;
	margin: 20px auto;
}

.dash {
	width: 112px;
	height: 116px;
	background: transparent url('../img/dash.png') 0 0 no-repeat;
	float: left;
	margin-left: 20px;
	position: relative;
}

.dash:first-of-type {
	margin-left: 0;
}

.dash .digit {
	font-size: 50pt;
	font-weight: bold;
	float: left;
	width: 55px;
	text-align: center;
	font-family: sans-serif;
	color: #333;
	position: relative;
	vertical-align: middle;
}

.dash_title {
	position: absolute;
	display: block;
	width: 100%;
	bottom: 0px;
	right: 0px;
	font-size: 12pt;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-align: center;
}





/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
		
						
		/* ==========================================================================
   			ORGANIZERS PAGE
   		   ========================================================================== */

		#organizers-page div.image-holder {
			width: 120px;
			float: left;
			margin: 20px 20px 20px 0;

		}
		
	}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
		
				
		/* ==========================================================================
   			ORGANIZERS PAGE
   		   ========================================================================== */

		#organizers-page div.image-holder {
			width: 120px;
			float: left;
			margin: 20px 20px 20px 0;

		}

	}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		
		.logo {
			padding-top: 60px;
		}
		
		.logo a {
			width: 200px;
			height: 200px;
	
			background: url('../img/softlab-logo-200.png') center center no-repeat;
		}
		
		.anchor {
			height: 0;
		}
		
		#home-page .anchor {
			height: 50px;
		}
		
		#home-page div.container {
	
			background: url('../img/home-page-shine-420.png') center 50px no-repeat;
		}
		
		
		/* ==========================================================================
   			Countdown
   		========================================================================== */

		#countdown_dashboard {
			height: 90px;
			width: 390px;
			margin: 10px auto;
		}
		
		.dash {
			width: 90px;
			height: 95px;
			background: transparent url('../img/dash-tablet.png') 0 0 no-repeat;
			margin-left: 10px;
		}
		
		.dash .digit {
			font-size: 41pt;
			width: 45px;
		}
		
		.dash_title {
			font-size: 10pt;
		}
		
				
		/* ==========================================================================
		   SCHEDULE PAGE
		   ========================================================================== */
		
		#schedule-page div.schedule-table {
			
			font-size: 1.1em;
		}
		
		#schedule-page div.cell {
			
			line-height: 1.3em;
		}
		
		#schedule-page div.date {
			padding: 10px 0;
			
		}
		
		/* ===========================================================
		   	CONTACT PAGE
		   ===========================================================*/

		.contact-form {
			padding: 0 0 30px 0;
			
		}
		
	}


	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
		
		body {
			font-size: 1.1em;
		}
		
		
		.anchor {
			height: 0;
		}
		
		#home-page .anchor {
			height: 70px;
		}
		
		.logo {
			padding-top: 20px;
		}
		
		.logo a {
			width: 150px;
			height: 150px;
	
			background: url('../img/softlab-logo-150.png') center center no-repeat;
		}
		
		#home-page div.container {
	
			background: url('../img/home-page-shine-300.png') center 50px no-repeat;
		}
		
		#home-page a.apply-button {
			margin: 20px auto 30px;
		}
		
		/* ==========================================================================
   			Countdown
   		========================================================================== */

		#countdown_dashboard {
			height: 52px;
			width: 276px;
			margin: 10px auto;
		}
		
		.dash {
			width: 65px;
			height: 70px;
			background: transparent url('../img/dash-mobile.png') 0 0 no-repeat;
			margin-left: 5px;
		}
		
		.dash .digit {
			font-size: 30pt;
			width: 32px;
		}
		
		.dash_title {
			font-size: 8pt;
		}
		
		/* ==========================================================================
		   SCHEDULE PAGE
		   ========================================================================== */
		
		#schedule-page div.schedule-table {
			
			font-size: 1.2em;
		}
		
		#schedule-page div.cell {
			
			line-height: 1.3em;
		}
		
		#schedule-page div.date {
			padding: 10px 0;
			
		}

		
		/* ==========================================================================
   			ORGANIZERS PAGE
   		   ========================================================================== */

		#organizers-page div.image-holder {
			width: 100px;
			float: left;
			margin: 20px 20px 20px 0;

		}
		
		/* ==========================================================================
		    Contact
		   ==========================================================================*/
		
		.contact-form input[type="text"],
		.contact-form input[type="email"] {
			width: 280px;
		}
		
		.contact-form textarea {
			width: 280px;
			height: 200px;
			
		}
		
		.contact-form input[type="submit"] {
			width: 50%;
			margin: 0 auto;
		}
		
		.contact-form {
			padding: 0 0 30px 0;
			
		}

	}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
