/*
 * 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: 2px dotted #aaa;
    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
   ========================================================================== */

/* More natural box-model */
* {	
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/* Wrapper */
.wrapper {
	display: block;
	position: relative;
	margin: 20px auto;
	width: 960px;
	height: 1800px;
}

/* Paper Effect */
.paper {
	background-color: #eee;
	background-image: linear-gradient( hsla(0,0%,0%,.025), hsla(0,0%,100%,.05)16.6666%, hsla(0,0%,0%,.05)16.6666%, hsla(0,0%,100%,.05) 33.3332%, hsla(0,0%,0%,.05) 33.3332%, hsla(0,0%,100%,.05) 49.9998%, hsla(0,0%,0%,.05) 49.9998%, hsla(0,0%,100%,.05) 66.6664%, hsla(0,0%,0%,.05) 66.6664%, hsla(0,0%,100%,.05) 83.333%, hsla(0,0%,0%,.05) 83.333%, hsla(0,0%,100%,.025) );
	background-image: -ms-linear-gradient( hsla(0,0%,0%,.025), hsla(0,0%,100%,.05)16.6666%, hsla(0,0%,0%,.05)16.6666%, hsla(0,0%,100%,.05) 33.3332%, hsla(0,0%,0%,.05) 33.3332%, hsla(0,0%,100%,.05) 49.9998%, hsla(0,0%,0%,.05) 49.9998%, hsla(0,0%,100%,.05) 66.6664%, hsla(0,0%,0%,.05) 66.6664%, hsla(0,0%,100%,.05) 83.333%, hsla(0,0%,0%,.05) 83.333%, hsla(0,0%,100%,.025) );
	background-image: -moz-linear-gradient( hsla(0,0%,0%,.025), hsla(0,0%,100%,.05)16.6666%, hsla(0,0%,0%,.05)16.6666%, hsla(0,0%,100%,.05) 33.3332%, hsla(0,0%,0%,.05) 33.3332%, hsla(0,0%,100%,.05) 49.9998%, hsla(0,0%,0%,.05) 49.9998%, hsla(0,0%,100%,.05) 66.6664%, hsla(0,0%,0%,.05) 66.6664%, hsla(0,0%,100%,.05) 83.333%, hsla(0,0%,0%,.05) 83.333%, hsla(0,0%,100%,.025) );
	background-image: -o-linear-gradient( hsla(0,0%,0%,.025), hsla(0,0%,100%,.05)16.6666%, hsla(0,0%,0%,.05)16.6666%, hsla(0,0%,100%,.05) 33.3332%, hsla(0,0%,0%,.05) 33.3332%, hsla(0,0%,100%,.05) 49.9998%, hsla(0,0%,0%,.05) 49.9998%, hsla(0,0%,100%,.05) 66.6664%, hsla(0,0%,0%,.05) 66.6664%, hsla(0,0%,100%,.05) 83.333%, hsla(0,0%,0%,.05) 83.333%, hsla(0,0%,100%,.025) );
	background-image: -webkit-linear-gradient( hsla(0,0%,0%,.025), hsla(0,0%,100%,.05)16.6666%, hsla(0,0%,0%,.05)16.6666%, hsla(0,0%,100%,.05) 33.3332%, hsla(0,0%,0%,.05) 33.3332%, hsla(0,0%,100%,.05) 49.9998%, hsla(0,0%,0%,.05) 49.9998%, hsla(0,0%,100%,.05) 66.6664%, hsla(0,0%,0%,.05) 66.6664%, hsla(0,0%,100%,.05) 83.333%, hsla(0,0%,0%,.05) 83.333%, hsla(0,0%,100%,.025) );
	box-shadow: inset 0 0 0 .1em hsla(0,0%,0%,.1), inset 0 0 1em hsla(0,0%,0%,.05), 0 .1em .25em hsla(0,0%,0%,.5);
	-moz-box-shadow: inset 0 0 0 .1em hsla(0,0%,0%,.1), inset 0 0 1em hsla(0,0%,0%,.05), 0 .1em .25em hsla(0,0%,0%,.5);
	-webkit-box-shadow: inset 0 0 0 .1em hsla(0,0%,0%,.1), inset 0 0 1em hsla(0,0%,0%,.05), 0 .1em .25em hsla(0,0%,0%,.5);
	position: relative;
}

.paper:after,
.paper:before {
	bottom: .1em;
	box-shadow: 0 0 .5em .5em hsla(0,0%,0%,.25);
	-moz-box-shadow: 0 0 .5em .5em hsla(0,0%,0%,.25);
	-webkit-box-shadow: 0 0 .5em .5em hsla(0,0%,0%,.25);
	content: '';
	height: 3em;
	position: absolute;
	width: 80%;
	z-index: -1;
}

.paper:after {
	right: 1em;
	transform: rotate(3deg);
	-moz-transform: rotate(3deg);
	-webkit-transform: rotate(3deg);
	-o-transform: rotate(3deg);
	-ms-transform: rotate(3deg);
	transform-origin: 100% 100%;
	-moz-transform-origin: 100% 100%;
	-webkit-transform-origin: 100% 100%;
	-o-transform-origin: 100% 100%;
	-ms-transform-origin: 100% 100%;
}

.paper:before {
	left: 1em;
	transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
	-webkit-transform: rotate(-3deg);
	-o-transform: rotate(-3deg);
	-ms-transform: rotate(-3deg);
	transform-origin: 0% 100%;
	-moz-transform-origin: 0% 100%;
	-webkit-transform-origin: 0% 100%;
	-o-transform-origin: 0% 100%;
	-ms-transform-origin: 0% 100%;
}

/* Sections on paper */
.hsection-1-6,
.hsection-2-6,
.hsection-3-6,
.hsection-4-6,
.hsection-5-6,
.hsection-6-6 {
	width: 100%;
	height: 16.6667%;
	padding: 30px;
	margin: 0 20px;
}

.vsection-1-1,
.vsection-1-2,
.vsection-1-3,
.vsection-2-3,
.vsection-1-4,
.vsection-3-4 {
	display: block;
	height: 100%;
	display: inline-block;
	float: left;
	/* outline: 1px solid red; */
}

.vsection-1-1 *,
.vsection-1-2 *,
.vsection-1-3 *,
.vsection-2-3 *,
.vsection-1-4 *,
.vsection-3-4 * {
	max-width: 100%;
}

/* 100% */
.vsection-1-1 {
	width: 100%;
}

/* 50% */
.vsection-1-2 {
	width: 50%;
}

/* 1/3 */
.vsection-1-3 {
	width: 33.3333%;	
}

/* 2/3 */
.vsection-2-3 {
	width: 66.6666%;
}

/* 1/4 */
.vsection-1-4 {
	width: 25%;
}

/* 3/4 */
.vsection-3-4 {
	width: 75%;
}

.pr {
	padding-right: 20px;
}

.pl {
	padding-left: 20px;
}

.ml {
	margin-left: 20px;
}

.black {
	color: #2f2f2f;
}

/* Typography styles */

body {
   font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
   font-weight: 300;
}

h1,
h2,
h3,
h4,
h6 {
	font-family: 'Lobster', cursive;
	word-spacing: normal;
	color: #2f2f2f;
}

h2 {
	font-size: 2.5em;
}

h5 {
	font-size: 1.1em;
	text-transform: uppercase;
	display: inline-block;
	color: rgba(99,150,189,1);
}

p {
	font-size: 1.0em;
	text-align: justify;
	color: #2f2f2f;
}

a {
	color: rgba(99,150,189,1);
	text-decoration: none;
}

a:hover h5,
p a:hover {
	border-bottom: 1px solid #919191;
}

/* Everything else :p */

.logo {
	background-image: url(../img/logo6.png);
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 90%;
}

.logo-text {
	position: relative;
	top: 97%;
	margin-left: 20px;
}

.lower {
	margin-top: 54px;
}

.head-desc {
	padding: 4px 0;
}

.lower2 {
	margin-top: 38px;
}

/* Skill boxes */

.skill-block {
	display: block;
	width: 100%;
	height: 75%;
	position: relative;
}

.levels,
.skill-box {
	display: inline-block;
	height: 100%;
	position: absolute;
	top: 0;
	vertical-align: top;
}

.levels {
	width: 15%;
	left: 0;
}

.levels div {
	margin-bottom: 40px;
	font-style: italic;
}

.skill-box {
	width: 85%;
	right: 0;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
}

.bar {
	display: inline-block;
	width: 10%;
	height: 100%;
	background-color: rgba(99,150,189,1);
	margin: 0 0 0 7%;
	vertical-align: bottom;
}

.bar-title {
	display: inline-block;
	position: absolute;
	width: 90%;
	margin-left: -41%;
	
  -webkit-transform: rotate(-90.0deg); 
     -moz-transform: rotate(-90.0deg); 
      -ms-transform: rotate(-90.0deg); 
       -o-transform: rotate(-90.0deg); 
          transform: rotate(-90.0deg); 
}

.pr10,
.pr20,
.pr30,
.pr40,
.pr50,
.pr60,
.pr70,
.pr80,
.pr90 {
	margin: 5% 0 0 7%;
}

.pr10 {
	height: 10%;
}

.pr20 {
	height: 20%;
}

.pr30 {
	height: 30%;
}

.pr40 {
	height: 40%;
}

.pr50 {
	height: 50%;
}

.pr60 {
	height: 60%;
}

.pr70 {
	height: 70%;
}

.pr80 {
	height: 80%;
}

.pr90 {
	height: 90%;
}

.software-skills .bar-title {
	margin: -4% 0 0 -41%;
}

.software-skills .bar {
	border-bottom: 1px solid black;
}

/* ==========================================================================
   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 */
}

/* ==========================================================================
   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;
    }
}
