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

html,body{font-family: 'Lato', sans-serif;}
	#wrap{width:1000px; margin:0 auto;}
	#left-col{width:220px; float:left; background-color:#333; margin-top:10px;}
		#left-col div.divider{width:220px; height:10px; background-color:#fff;}
		#left-col #sec_01_a{background:url(../img/sec_01_a.png) no-repeat; width:220px; height:31px; margin:30px auto 25px auto;}
		#left-col ul{list-style:none; height:122px; margin:0 0 42px 0; padding:0;}
			/*#left-col ul li{cursor:row-resize;}*/
		#left-col #sec_01_a_1{background:url(../img/sec_01_a_1.png) no-repeat; width:205px; height:34px; margin:0 auto 10px auto;}
		#left-col #sec_01_a_2{background:url(../img/sec_01_a_2.png) no-repeat; width:205px; height:34px; margin:0 auto 10px auto;}
		#left-col #sec_01_a_3{background:url(../img/sec_01_a_3.png) no-repeat; width:205px; height:34px; margin:0 auto 10px auto;}
		#left-col #sec_01_b{background:url(../img/sec_01_b.png) no-repeat; width:220px; height:250px; margin:0 auto;}
		#left-col #btn_resume{background:url(../img/btn_resume.png) no-repeat; width:220px; height:120px; margin:0 auto; cursor:pointer;}
		#left-col #btn_contact{background:url(../img/btn_mail.png) no-repeat; width:220px; height:120px; margin:0 auto; cursor:pointer;}
		#left-col #btn_linkedin{background:url(../img/btn_linkedin.png) no-repeat; width:220px; height:120px; margin:0 auto; cursor:pointer;}
		
	#right-col{width:770px; float:right; margin:10px 0 10px 10px;}
		#right-col div{width:250px; height:250px; background-color:#ccc; float:left; margin-right:10px;}
			#right-col div img{opacity:0; cursor:pointer;}
			#right-col div.last{margin-right:0;}
		#right-col div.divider{width:780px; height:10px; background-color:#fff; float:none; margin-left:0; clear:both;}

	#details, #contact_container{display:none;}
	
	#contact div.simplemodal-data{width:660px; height:580px; background-color:#333;}
		
		#contact div.simplemodal-data #contact_form{margin:10px 0 0 15px;}
		
		#contact div.simplemodal-data h1{font-size:36px; line-height:36px; font-weight:400; color:#fff; margin:10px 0 0 15px;}
		#contact div.simplemodal-data h2{font-size:18px; line-height:18px; font-weight:300; font-style:italic; color:#fff; margin:10px 0 20px 0;}
		#contact div.simplemodal-data h3{font-size:16px; line-height:18px; font-weight:300; font-style:normal; color:#fff; margin:20px 0 10px 0;}
		
		#contact div.simplemodal-data input,
		#contact div.simplemodal-data select{width:291px; height:17px; margin:0 10px 10px 0; padding:5px; background-color:#999; border:3px solid #fff; color:#333; font-size:14px;}
		#contact div.simplemodal-data select{width:306px; height:33px; padding:5px;}
		#contact div.simplemodal-data button{width:291px; height:30px; margin:0 10px 10px 0; padding:5px; background-color:#999; border:3px solid #fff; color:#333; font-size:14px;}
		
		#contact div.simplemodal-data textarea{width:610px; height:295px; padding:5px; margin-bottom:10px; background-color:#999; border:3px solid #fff; color:#333; font-size:14px;}
	
		#contact div.simplemodal-data input.error,
		#contact div.simplemodal-data select.error,
		#contact div.simplemodal-data textarea.error{background-color:#cf5211;}
		#contact div.simplemodal-data label{display:none !important;}
		
		#contact div.simplemodal-data #contact_success{display:none; margin-left:15px;}
	
	#proj div.simplemodal-data{width:780px; height:580px; background-color:#333;}
		#proj div.simplemodal-data h1{font-size:36px; line-height:36px; font-weight:400; color:#fff; margin:10px 0 0 15px;}
		#proj div.simplemodal-data h2{font-size:18px; line-height:18px; font-weight:300; font-style:italic; color:#fff; margin:10px 0 0 15px;}
		#proj div.simplemodal-data p{font-size:14px; line-height:20px; font-weight:300; width:330px; float:left; margin:5px 0 0 0; color:#fff;}
		#proj div.simplemodal-data img{float:left; margin:10px 20px 0 15px; border:5px solid #999; box-shadow:5px 5px 0 #292929;}
		#proj div.simplemodal-data ul{margin:13px 0 0 15px; width:400px; padding:0; list-style:none;}
			#proj div.simplemodal-data ul li{float:left; margin:0 10px 10px 0; background-color:#eee; padding:5px; font-size:11px;}
			
		#proj div.simplemodal-data div.pikachoose ul{margin:10px 0 0 10px; width:350px; padding:0; float:left; list-style:none;}
			#proj div.simplemodal-data div.pikachoose ul li{float:left; margin:0 15px 15px 0; padding:0;}
			
		#proj div.simplemodal-data div.divider{clear:both;}
		
		#proj div.simplemodal-data div.modal_nav{position:absolute; right:30px; width:340px;}
		#proj div.simplemodal-data div.mprev{float:left; color:#fff; cursor:pointer;}
		#proj div.simplemodal-data div.mnext{float:right; color:#fff; cursor:pointer;}
			#proj div.simplemodal-data div.mprev:hover,#proj div.simplemodal-data div.mnext:hover{color:#cf5211;}
		

	/*
	 * SimpleModal Basic Modal Dialog
	 * http://www.ericmmartin.com/projects/simplemodal/
	 * http://code.google.com/p/simplemodal/
	 *
	 * Copyright (c) 2010 Eric Martin - http://ericmmartin.com
	 *
	 * Licensed under the MIT license:
	 *   http://www.opensource.org/licenses/mit-license.php
	 *
	 * Revision: $Id: basic.css 257 2010-07-27 23:06:56Z emartin24 $
	 */
	
	#basic-modal-content {display:none;}
	
	/* Overlay */
	#simplemodal-overlay {background-color:#000;}
	
	/* Container */
	#proj, #contact{height:360px; width:600px; background-color:#333; border:4px solid #fff;}
	#proj a.modalCloseImg, #contact a.modalCloseImg{background:url(../img/x.png) no-repeat; width:25px; height:29px; display:inline;	z-index:3200; position:absolute; top:-15px; right:-18px; cursor:pointer;}
	
	
	
	/*if you just want to adjust the size of the stage and the thumbnails, you can do so by editing the following lines: */
	.pika-thumbs li{width: 150px; height:150px;}
	.pikachoose {width:800px; height:430px; margin: 0 auto;}
	.pika-stage {position:relative; float:left; width:435px; height:400px;}
	/*if you change the padding on pika-stage you must adjust the top left of this to match! */
	.pika-stage .main-image {position: absolute; top: 0px; left: 0px;}
	.pika-stage .pika-aniwrap{position: absolute; top: 0px; left: 0px;}
	.pika-stage .pika-ani {position:relative;display: none;z-index:2;margin:0 auto;}
	.pika-stage img {border:0;height:100%;}
	.pika-imgnav{display:none;}
	.pika-imgnav a {position: absolute; text-indent: -5000px; display: block;z-index:3;cursor:pointer;}
	.pika-imgnav a.previous {width:40px;height:40px;border-left: 5px solid #000;border-top: 5px solid #000;opacity:0;-webkit-transition: opacity 300ms linear; -webkit-transform: rotate(-45deg);-moz-transform: rotate(-45deg);transform: rotate(-45deg);top:45%;left:35px;}
	.pika-imgnav a.next {width:40px;height:40px;border-right: 5px solid #000;border-top: 5px solid #000;opacity:0;-webkit-transition: opacity 300ms linear; -webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);transform: rotate(45deg);top:45%;right:30px;}
	.pika-imgnav a:hover{opacity:.6;-webkit-transition: opacity 300ms linear;}	
	.pika-imgnav a.play  {border-color: transparent transparent rgba(255,255,255,.7);border-style: solid;border-width: 0 0 25px 25px;height: 0;width: 0;position:absolute; -webkit-transform: rotate(-45deg);-moz-transform: rotate(-45deg);transform: rotate(-45deg);top:14px;left:47%;display:none;}
	.pika-imgnav a.pause {display:none;border-left:5px solid rgba(255,255,255,.7);border-right:5px solid rgba(255,255,255,.8);height: 30px;width: 14px; position:absolute;top:10px;left:47%;}
	.pika-imgnav span.pika-counter{display:none;}
	.pika-textnav {display:none;}
	.pika-thumbs {margin: 10px 0 0 17px; padding: 0; background:transparent;}
	.pika-thumbs li {float: left; list-style-type: none;margin: 0 5px; border: 5px solid #999; box-shadow:5px 5px 0 #292929; cursor: pointer; background-color:#333 !important;}
	.pika-thumbs li.active{border:5px solid #fcab55;}
	.pika-thumbs li:last {margin: 0;}
	.pika-thumbs li .clip {position:relative;height:100%;text-align: center; vertical-align: center; overflow: hidden;}
	.pika-thumbs li .clip img{width:150px !important; height:150px !important; border:none !important; box-shadow:none !important; margin:0 !important;}






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