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



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

	::selection{ background-color: #d9d9d9; color: white; }
	::moz-selection{ background-color: #d9d9d9; color: white; }
	::webkit-selection{ background-color: #d9d9d9; color: white; }

	body {
		background-color: #f5f5f5;
		font: 13px/20px normal Helvetica, Arial, sans-serif;
		color: #3c3c3c;
		margin:0;
		font-family: "Raleway";
		overflow-x:hidden;
	}

	a {
		color: #003399;
		background-color: transparent;
		font-weight: normal;
		outline:0;
	}

	h1 {
		color: #444;
		background-color: transparent;
		font-size: 19px;
		font-weight: normal;
		margin: 0 0 14px 0;
		padding: 14px 15px 10px 15px;
		 word-wrap: break-word;
	}

	code {

		font-size: 12px;
		background-color: #f9f9f9;
		border: 1px solid #D0D0D0;
		color: #002166;
		display: block;
		margin: 1.2em 0;
		padding: 12px 10px 12px 10px;
		 word-wrap: break-word;
	}
	

	.footer{

		color:#8d8d8d;
		font-size: 10px;
		line-height: 17px;
		margin-top:50px;
		overflow:hidden;
		width:100% !important;
		min-width:100% !important;
	}
	.footer .content{
		border-top:1px solid #e3e2de;
		margin-right:34px;
		padding:20px 0;
	}

	#page_title{
		position:relative;
		font-size:18px;
		z-index:3;
		width:400px !important;
		min-width:400px !important;		
		margin-left:12%
		
	}
	.content_arrows{
		float:right;
		margin-right:40px;
		width:62px;
	}
	.arrows{
		margin-top:4px;
		float:right;
		width:150px;
		min-width:150;
	}

	#arrows a, .content_arrows a{
		text-decoration:none;
		font-family:"Raleway";
		background:#afafaf;
		width:30px !important;
		height:25px !important;
		font-size:22px;
		color:#fff;
		text-indent:8px;
		padding:1px 0 0 0;
		border-radius:3px;
	}

	#arrows a:hover, .content_arrows a:hover{
		background:#515151;

	}


.text h1, .grey h1 { font-size: 7.692em; }

.content_resize{
	width:68% !important;
	min-width:68% !important;		
	margin-left:12%;	
	
}

.resize{
	position:relative;
	z-index:222;
	max-width:21px;
	width:100% !important;
	cursor:pointer;
	float:right;
	margin-top:14px;
}

.fullscreen{
	position:absolute;
}
#project_title, #page_title{
	color:#fff;
	
}

#project_title{
	font-size:36px;
	position:relative;
	z-index:3;
	margin-top:-5px;
	width:400px !important;
	min-width:400px !important;		
	margin-left:12%;	
}
.content_thumbs{
	overflow:hidden;
	padding-right:34px;
}

.project_thumb{
	cursor:pointer;
	float:left;
	margin-right:6px;
	max-width:181px !important;

	width:100% !important;

	opacity:0.7;
	filter:alpha(opacity=70);
}
.project_thumb:hover{
	opacity:1;
	filter:alpha(opacity=100);
}

.content_thumbs a{
	text-decoration:none;
	font-family:"Raleway";
	color:#000;
}
.project_thumb p{
	margin-bottom:5px;
	margin-top:5px;
}
.project_thumb img{

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

.body .content{
	overflow:hidden;
}
.body h1{
	padding-left: 0;
}

.img_title{
	
	overflow:hidden; 
	margin-top:10px;
	float:left;
	
}

.img{
	max-width:50% !important;
	width:100% !important;
	float:left;
	margin-left:34px;
}
.img img{
	max-width:400px !important;
	width:100% !important;	
}

.img_about{

	float:left;
}
.img_about img{
	max-width:400px !important;
	width:100% !important;	
}

.text_about{
	font-size:13px;
	float:left;
	max-width:321px !important;
	margin-right:28px;
}

.text_buy{
	font-size:13px;
	max-width:321px !important;
	margin-right:28px;
}

.bottom{
	position:absolute;
	bottom:0px;
	width:100% !important;
	max-width: 100% !important;
	opacity:0;
	filter:alpha(opacity=0);
}
.form{
	margin:30px 0 0 0;
}
.form input{
	display:block;
}
.content div a{
	opacity:1;
	color:#8d8d8d;
	text-decoration:none;
	filter:alpha(opacity=100);	
	
}

.submit{
	background:#afafaf;
	color:#fff;
	width:67px;
	height:23px;
	border-radius:3px;
	padding:4px 0 0 0;
	text-align:center;
	font-size:16px;

}

.submit:hover{
	background:#515151;
	color:#fff;
	
}
.project_link{
	margin-top:5px;
}
.project_link a{

	text-decoration:none;
	color:#8D8D8D;
}
.project_link a:hover{
	filter:alpha(opacity=50);	
	opacity:0.5;
}
.content div a:hover {
	opacity:0.7;
	filter:alpha(opacity=70);	
	
}
.form input{
	height:31px;
	padding:0 10px 10px 10px;
	max-width:229px;
	width:100% !important;
}
.form textarea{
	height:62px;
	padding:10px;
	resize:both;
	min-width:229px !important;
	
}
.form input, .form textarea{
	margin-bottom:20px;
	border-radius:3px;
	border:1px solid #e6e6e6;


}

.form input:focus,.form textarea:focus{
	outline:none;
	border:1px solid #000;
}

#voltar{
	cursor:pointer;
	max-width:90px !important;
	width:100% !important;
	float:left;
	margin-right:58px;
}

#voltar img{
	height:28px;
	max-width:90px !important;
	width:100% !important;
}

#right, #left, #r,#l {
	cursor:pointer;
	max-width:28px !important;
	width:100% !important;
	float:left;
	z-index:100000;
	margin-left:3px;
}


#container{
	margin:25px auto 0;
    max-width: 1000px !important;
    max-height: 500px !important;
    width: 100% !important;
/* original margin-top:99px; perc == 7.42% */
}


/*.body{

	width:58.62% !important;
	min-width:58.62% !important;

}
.inside_content,.content{
	width:58.62% !important;
	min-width:58.62% !important;
	overflow:hidden;
}*/

.inside_content{
	min-height: 470px; 
	margin-left:215px;
	overflow:hidden;

	
}

.header{
	position:fixed;
	height:500px !important;
	max-height:500px !important;
	width:100% !important;
	max-width:175px !important;		
	margin-left:34px;
	/*margin-top:4.1%;*/
	
	z-index:1000;
	overflow:hidden;
	float:left;
}

.logo{
	max-width:	140px !important;

}
.logo h1{
	padding-right:0;
	letter-spacing:-1px;
	font-size:24px;
	line-height:27px;
	font-family:"Raleway";
	padding:0;	
}

.logo h1 a{
	max-width:140px !important;
	width:100% !important;
}
.logo h1 a img{
	max-width:140px !important;
	width:100% !important;
}
.logo h1 a:hover{
	opacity:0.5;
	filter:alpha(opacity=50);
	text-decoration:none;
}
.nav {
	margin-top:42px;	
	
}
.nav a{
	font-family:"Raleway";
	font-size:14px;
	color:#8d8d8d;
	text-decoration:none;
	padding:0; 
	display:block;
	margin-bottom:4px;
	outline:0;
}
.nav_title{
	color:#1d1d1d; 
	font-size:14px;
	margin-bottom:4px;	
}
.nav a:hover{
	opacity:0.5;
	filter:alpha(opacity=50);
}	
.img_destaque{
	overflow:hidden;
	position:relative;
	margin-right:34px;
	height:500px ;
	cursor:default;
}
.img_destaque .active{
	display:block;
	cursor:none;
}

.img_destaque .landscape{

	max-width:100% !important;
	width: 100% !important;
	max-height:500px !important;
}
.img_destaque .portrait{
	width:100% !important;/* fix chrome width!!!!*/
	max-height:500px !important;
	margin-right:200px;
}

.img_destaque img{
	cursor:none;
}
	
.icon-facebook-sign,.icon-pinterest-sign{
	text-shadow: 0px 0px transparent, 0px 0px transparent, 0px 0px transparent, 0px 0px transparent;
	
}

	

.img_destaque h1{
	padding:0;
	font-size:769.2%;
	line-height:102px;
	color:#FFF;
}
.grey{
	position:absolute;
	bottom:22px;
	z-index: -1;
}
.grey h1{
	padding:0;
	font-size:7.692em;
	line-height:102px;	
	color:#d9d9d9;
	margin-bottom:0;
	margin-left:52px;
}
.text{
	overflow:hidden;
	position:absolute;
	bottom:22px;
}
.text h1{
	margin-top:26px;
	margin-bottom:0;
	margin-left:-200px;
}

.cursor_left, .cursor_right{
	cursor:none;

   -moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
	text-shadow: 0px 1px #000, 0px -1px #000, 0px 1px #000, 0px -1px #000;
   /*
     Introduced in IE 10.
     See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
   */
   -ms-user-select: none;
   user-select: none;

}

.over_arrows {
	overflow:hidden;
	position:absolute;
	top:0;
	left:0;
	width:100% !important;
	max-height:500px !important;
	cursor: none;
	display:block;
	z-index: 999999999999;
}

.over_arrows div{
	float:left;

}

.left_over{
	
cursor:none;
	display:block;
	left:0;
	max-width:50% !important;
	width:100% !important;
	position: absolute;
	z-index: 999999999999;
}

.right_over{
cursor:none;
	display:block;
	right:0;
	max-width:50% !important;
	width:100% !important;
	position: absolute;
	z-index: 999999999999;	
}

.cursor_left, .cursor_right{
cursor:none;	
	overflow:hidden;
	position:absolute;
	font-size:30px;
	width:30px;
	height:30px;
	color:#CCCCCC;
	z-index:100;
	display:none;
}

     
    /* Portrait tablet to landscape and desktop */

	@media(max-width:1030px){
		.project_thumb{
			max-width:24% !important;
		}	
	}
	
	@media(max-width:980px){
		.text_about{
			margin:0 0 20px 0;
			max-width:100% !important;			
		}
		.content_about{
			margin-right:34px;	
		}				
	}
	
			
    @media  (max-width: 850px) {
		.inside_content
		{
		    margin:0 0 0 34px;
			min-height: 470px;

		}
		.project_thumb{
			max-width:24% !important;
			opacity:1;
			filter:alpha(opacity=100);
		}		
		.header {
		    float: none;

		    height:125px !important;
		    max-height:125px !important;
		    margin-left: 34px;
		    max-width: 100% !important;
			overflow:hidden;
		    position: relative;
		    width: 100% !important;
		    z-index: 1000;
		}
		.logo{
			float:left;
		}
		.nav{
			float:left;
			margin-top:5px;
			margin-left: 0px;	
			width:100% !important;
		}
		.nav br, .nav .nav_title{
			float:left;
			margin:0;
		}
		.nav .column{
			width:100% !important;
			max-height:20px;
		}

		.nav a{

			font-family:"Raleway";
			font-size:14px;
			color:#8d8d8d;
			text-decoration:none;
			padding:0; 
			display: inline-block;
			margin-bottom:4px;
			margin:0 5px;
			
			outline:0;
		}

		.column .social_link{
			float:left;

		}
		.column .social_link:last-child{
			margin-left:0;
		}
	}
     
   @media(max-width:666px){
   	
   		.project_thumb{
			cursor:pointer;
			float:left;
			margin-right:6px;
			max-width:48% !important;
			width:100% !important;
			height:100% !important;
		}
		.nav{
			clear:left;
			margin-left:0;
		}
		.nav .nav_title{
			padding-left:0;
		}

   		.header {
		    float: none;

		    height:125px !important;
		    max-height:125px !important;

		}
		.nav .nav_title{
			display:none;
			
			/*
			padding:0 5px;
			margin-right:10px;
			width:100%;*/
		}

		.nav a{
			margin-left:0;
		}		
		
   }  

   @media(max-width:384px){
   	
   		.project_thumb{
			cursor:pointer;
			float:left;
			margin-right:6px;
			max-width:100% !important;
			width:100% !important;
			height:100% !important;
		}
		.nav a{
			font-size:12px;
		}
   	
   }  
    /* Landscape phones and down */
    @media (max-width: 370px) {
  		.logo{
			float:none;
			display: block;
		}	
		.nav{
			margin-left:0;
		}

   	

/*		.header{
			height:300px !important;
			max-height:350px !important;
		}
		.nav .column{
			position:absolute;
			left:50%;
			max-width:100px ;
			margin-left:-54px;
			max-height:100px;
		}
		.nav .column:last-child{
			top:160px;
		}
		.nav a{
			float:none;
			display:block;
		} 	
		
*/	

		.nav{
			float:none;
			display: inline-table;
			margin-top:7px;
			margin-left: 0px;	
			width:300px !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: 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;
}

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