/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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;
}

html {
    position: relative;
	min-height: 100%;
	font-size: 18px;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.redText {
	color: #41a0ea
}

.footerBack { 
	height: 1em;	
	
}

body {
	margin: 0 0 5.5em;
	font-size: 100%;
	/*background: #b5b5b7;*/
	/*background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0.02, #E2DFD7),
	color-stop(1, #F4F2EE)
	);
	background-image: -o-linear-gradient(bottom, #E2DFD7 2%, #F4F2EE 100%);
	background-image: -moz-linear-gradient(bottom, #E2DFD7 2%, #F4F2EE 100%);
	background-image: -webkit-linear-gradient(bottom, #E2DFD7 2%, #F4F2EE 100%);
	background-image: -ms-linear-gradient(bottom, #E2DFD7 2%, #F4F2EE 100%);
	background-image: linear-gradient(to bottom, #E2DFD7 2%, #F4F2EE 100%);*/
}

#wrapper {
	margin: 0 auto;
	padding-bottom: 0px;
    /* max-width: 1280px;
	max-height: 960px;
	width: 53.333em;
	height: 71.111em; */
}

#logo {
	
	margin: 1em 1em -1em 1.5em;
	z-index: 2;
	
}

#hook {
	display: inline;
	clear: both;
	position: absolute;
	top: 125px;
	letter-spacing: .05em;
}

.allIcons {
  background: #ffffff;
}

#social .allIcons {
  border-radius: 80%;
  height: .92em;
  width: .92em;
}

.liLink {
  border-radius:90%;
  border: 20px solid white;
}

#socialIcon1, #socialIcon2, #socialIcon3, #socialIcon4 {
	margin-top: -.8em;
	color: #0093c5;
	}
/* Spacing between social media icons created via padding in the below .button float css */ 


#iAm {
	font-family: Vivaldi, "Brush Script MT", "Giddyup Std", "Myriad Pro", Garamond;
	font-size: 1.5em;
}

#carousel {
	background-color: #252839;
	/* height: 16.667em; */
	height: 58.823529%;
	margin: auto 0;
	padding: 10px;
}

#bio {
    /* height: 11.667em; */
	height: 41.117647%;
	padding: 0 3em 0 3em;
	margin: auto 0;
}

#bioText {
	margin: 0em 1em;
	width: 70%;
}

#social {
	background-color: #677077;
	
}


#portrait {
	float: right;
	padding: .5em;
	box-shadow: 1px 1px 10px grey;
}

h1 {
	font-family: "Century Gothic", Muli:300, "Century", "Calibri", "Courier New", Courier, monospace;
	font-size: 1.5em;
	color: #433d32;
	text-align: center;
	margin: auto 0;
}

p {
	font-family: "Bell MT", Sylfaen, "Baskerville Old Face", Garamond;
	font-size: 1em;
	color: #433d32;
	padding: 0;
}

a {
	color: #41a0ea;
	text-decoration: none;
	
}
	
/*
img {
	text-align: center;
	max-width: 100%;
	height: auto;
	width: auto;
}

header {
	height: 9em;        /*11.111em;
	margin: auto 0;
}*/

header p {
	color: white;
}

aside {
	text-align: center;
	background: #4f555a;
	position: absolute;
	top: 0;
	right: 1em;
	height: 4em;
	width: 25%;
	padding: 0em .5em .5em .5em;
	margin: auto 0;
	clear: both;
	font-size: .9em;
	
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

main {
    clear: both;
	height: 100%;
	/*max-height: 18.333em;*/n
	/*margin: auto 0 20px 0;*/
}

footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    clear: both;
    text-align: center;
}

footer p {
    color: white;
    margin-bottom: 0;
}



/* ==========================================================================
   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: 150%;
}

/*
 * 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;
}


/* ==========================================================================
   Float Shadow Effect
   ========================================================================== */

.button {
  margin: 0em;
  padding-left: 2.5em;
  padding-right: 2.5em;
  cursor: pointer;
  background: none;
  text-decoration: none;
  color: none;
  /* Prevent highlight colour when element is tapped */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* SHADOW/GLOW TRANSITIONS */


/* Float Shadow */

.float-shadow {
  display: inline-block;
  position: relative;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.float-shadow:before {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  content: '';
  top: 100%;
  left: 5%;
  height: 10px;
  width: 90%;
  opacity: 0;
  background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
  /* W3C */
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform, opacity;
  transition-property: transform, opacity;
}

.float-shadow:hover {
  -webkit-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  transform: translateY(-5px);
  /* move the element up by 5px */
}

.float-shadow:hover:before {
  opacity: 1;
  -webkit-transform: translateY(5px);
  -ms-transform: translateY(5px);
  transform: translateY(5px);
  /* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media screen and (min-height: 850px) {	
	#carousel {
	padding: 2%; }

	#bio {
	padding: 1% 3em 1% 3em;
	line-height: 1.5em;
}	

}

@media screen and (min-height: 1050px) {
	#carousel {
	padding: 4%; }

}

@media screen and (max-width: 580px) {	
#portrait {
	float: none;
	display: block;
	margin: auto;
   }
#bioText {
	display: block;
	margin: auto;
	padding: 0px; 
}
#bio {
    padding: 0;
	
}
#hook {
	display: none;
}

aside {
	display: none;
}

.button {
	padding: .5em;
	}
#logo {
	display: block;
	margin: auto;
	
}
}

@media screen and (max-width: 735px) {	

	#hook {
	margin-left: 0%;
	top: 80px;
	padding-right: 1%;
}
	h1 {
	display: block;
	
	font-size: 1.2em;
}

aside {
	display: none;
}

}



@media screen and (max-width: 925px) {	

aside {
	font-size: .7em;
}

}

@media screen and (max-width: 1050px) {	
	#hook {
	margin-left: 1%;
	margin-top: -20px;
}

aside {
	width: 30%;
}

#bioText {
	/*margin: 0em 1em;*/
	width: 78%;
}
}


@media only screen and (min-width: 1175px) {
	#hook {
	margin-left: 4%;
}

}

@media only screen and (min-width: 1410px) {
	#hook {
	margin-left: 7%;
}
h1 {
	font-size: 2em;
}

#portrait {
	padding: 0;
	margin: 0;
}

#bioText {
	/*margin: 0em 1em;*/
	width: 78%;
}

}

@media only screen and (min-width: 1700px) {
	#hook {
	margin-left: 9.5%;
}
html {
	font-size: 20px;
}
#portrait {
	padding: 0;
	margin: 0;
}

}





/*	@media screen and (max-width: 944px) {

			#fbContainer {
			margin: auto 0 0 40px;
			width: 80%;
			display: block;
			}
			.social-links img {
			margin: -10px auto -10px -50px;				 
			}			
			.fb-page {
			margin-top: 25px;
			}
}
*/

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   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;
    }

