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

input:invalid {
  outline: 2px solid red;
}
input:focus:invalid {
  color: red;
}
input:not(:focus):invalid {
  outline: 2px solid red;
}
input:focus:invalid {
  outline: 2px solid blue;
}

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

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

button,
input,
select,
textarea {
	margin-bottom:14px;
	font-size:13px;
	font-family:Tahoma, Geneva, sans-serif;
	text-shadow: rgba(200,200,200,0.5) 1px 1px 1px;
	padding: 20px;
	border-radius: 30px;
	border-color: #4A4A4A;
	border-width: 5px;
	border-style: solid;
	box-shadow: rgba(0,0,0,0.7) 4px 7px 8px, inset 0 0 6px rgba(0,0,0,0.5);
	box-sizing:border-box;

}


html, body, section, footer, p, h1, h2, h3, titlu, subtitlu, li {
	font-family: 'Lato', sans-serif; font-weight: 300;
}

h1{
	color: rgba(0,0,0,0.3);
	font-size: 75px;
	font-weight: 100;
}

h2{
	/*color: rgba(255,255,255,0.7);*/
	/*font-weight: 300;*/
}

titlu{
	font-size: 80px;
	color: #903;
	padding-bottom: 50px;
  display: inherit;
  text-align: center;
	text-shadow:rgba(255, 255, 255, 1) 1px 1px 1px;
}

footer titlu{
	color: rgba(255,255,255, 1);
  text-shadow:rgba(0, 0, 0, 1) 1px 1px 1px;
}

subtitlu {
	width:670px;
	margin-left:auto;
	margin-right:auto;
}

section {
	clear:both;
	opacity:0;
	position:relative;
	overflow:hidden;
	box-shadow:rgba(0, 0, 0, 0.09) 0 -5px 10px, rgba(0, 0, 0, 0.14) 0 -20px 40px;
	z-index:1;
}


.loaded section,
.no-js section, {
	opacity: 1;
	-webkit-transition: opacity 300ms ease-out;
	-moz-transition: opacity 300ms ease-out;
	transition: opacity 300ms ease-out;
}

section align {
	margin-left:auto; 
	margin-right:auto; 
	width:1200px;
	position:relative;
	
}

section p, section li{text-align:justify;}
				
section ul{
	/*padding: 0 40px 0 40px;*/
}

section li{
	margin-bottom:0.5em;
	list-style-type:decimal;
}

section .circles li{
	list-style-type:circle;
}

debug_elem, debug_name, debug_value{
	padding:0;
	margin:0;
	font-size: 11px;		
}

debug_elem{
	display:block;
	clear:both;
	
}
debug_name{
	float:left;
	color:#00F;
	width:120px;
	margin-right:20px;
}
debug_value{
	float:left;
	color:#903;
}

p {
	/*text-shadow: rgba(255, 255, 255, 0.80) 1px 1px 1px;*/
	font-size:19px;
}

a{ text-decoration:none; cursor:pointer}

/* ==========================================================================
   Meniu
   ========================================================================== */

menu{
	display:block;
	position:absolute;
	top:0;
	left:0;
	
	/*background-color: rgba(255, 242, 0, 0.7);*/
	margin:0;
	padding:0;
	z-index:1000;					
}

.cortina menu photo_grid{
	background-image:url(../img/grid-blue.png);
	background-position:top left;
	background-repeat:repeat;
	width: 200px;
  height: 200px;
  display: block;
  border-radius: 100px;
}

.section_paper menu photo_grid{
	background-image:url(../img/grid-cream.png);
	background-position:top left;
	background-repeat:repeat;
	width: 200px;
  height: 200px;
  display: block;
  border-radius: 100px;
}

menu photo{
	background-color: #4399BA;
	background-image:url(../img/myphoto.jpg);
	background-repeat:no-repeat;
	background-position:right top;
	width:200px;
	height:200px;
	border-radius: 106px;
	border-color: #2E6C84;
	border-width: 2px;
	border-style: solid;
	box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.37);
	/*box-shadow: rgba(255, 255, 255, 0.2) 1px 1px 1px,rgba(255, 255, 255, 0.25) 2px 2px 4px, inset 1px 2px 8px rgba(0, 0, 0, 0.37);*/
	display:block;
	margin:52px;
}

menu photo:hover{
	background-position:left top;
	border-width: 4px;
	margin:50px;
	box-shadow: rgba(255, 255, 255, 0.2) 1px 1px 1px,rgba(255, 255, 255, 0.25) 2px 2px 4px, inset 1px 2px 8px rgba(0, 0, 0, 0.37)
}

menu photo:hover photo_grid{
	display:none;
}

nav ul{
	padding:0 !important;
	border-bottom: rgba(0, 0, 0, 0.2) solid 1px;
	box-shadow: rgba(255, 255, 255, 0.25) 0px 1px 0px;
}

nav li{
	height:40px;
	line-height:40px;
	text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 4px;
	padding-left: 20px;
	color: rgba(255, 255, 255, 1);
	font-size: 18px;
	border-top: rgba(255, 255, 255, 0.25) solid 1px;
	box-shadow: rgba(0, 0, 0, 0.2) 0px -1px 0px;
	list-style-type:none !important;
	margin-bottom:0 !important;				
}

nav li:hover{
	background-color: rgba(0, 0, 0, 0.2);
	border-top-color: rgba(0, 0, 0, 0.3);
}


					.firstblue .cortina{
						background-color:rgba(67, 153, 186, 1);
					}
	
					.firstblue {
						background-color:rgba(46, 108, 132, 1);
					}
	
					.firstblue p, .firstblue li{
						color: #FFFFFF;
						text-shadow: rgba(0, 0, 0, 0.5) 1px 1px 1px;
						font-size: 19px;
					}	
					
					.firstblue li{
						margin-bottom:3px;
					}
					
					.firstblue titlu{
						color:#fff;
						text-shadow:rgba(0,0,0,0.35) 3px 3px 10px;
					}







.section_paper nav li{
	text-shadow: rgba(255, 255, 255, 1) 1px 1px 0px !important;
	color: #333;
	border-top: rgba(255, 255, 255, 0.85) solid 1px;
	box-shadow: rgba(0, 0, 0, 0.12) 0px -1px 0px;
	
	
}

.section_paper  nav li:hover{				
		text-shadow: rgba(0, 0, 0, 0.25) 1px 1px 2px !important;

}
.section_paper  menu{

	background-color: none;
				
}
.section_paper  photo{
  border-color: #990033 !important;
  box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.37) !important;
	border-width:2px !important;
	margin:52px !important;
}

.section_paper  photo:hover {
	border-color: #990033 !important;

	border-width:4px !important;
	margin:50px !important;
}

.section_paper  nav ul{
	padding: 0 !important;
  border-bottom: rgba(0, 0, 0, 0.12) solid 1px;
  box-shadow: rgba(255, 255, 255, 0.85) 0px 1px 0px;
  margin-bottom: 0 !important;
}


					#cv{
						background-image:url(../img/cv_download.png);
						background-position:left;
						background-repeat:no-repeat;
						width:100%;
						height:147px;
						display:block;
					}
					#cv:hover{
						cursor:pointer;
					}



/* ==========================================================================
   Others
   ========================================================================== */

.add_bottom_space{ padding-bottom:200px;}
.add_maxwindow_space{ padding-bottom:300px;}

.content_table{
	width:100%;
	display:table;
}

valign{
	display: table-cell;
	vertical-align: middle;
}

.section_paper{
	background-color:#F5EFE1;
	background-image:url(../img/site-bg.jpg);
	background-position:top left;
	background-repeat:repeat;					
}

.section_paper li,.section_paper h2, .section_paper p {
	text-shadow: rgba(255, 255, 255, 1) 1px 1px 1px;
}

.section_blue{background-color:  rgba(67, 153, 186, 1);}
.section_green{background-color:  rgba(180, 192, 29, 1);}				

.section_blue h1,.section_green h1{
	padding-top: 0;
	color: #FFF;
	margin-top: 0;
	font-style: italic;
	text-shadow: #000 3px 3px 10px;
	text-align:justify;
}

.section_blue p,.section_green p{
	text-align: right;
	color: #09384A;
	font-size: 16px;
	text-shadow: rgba(255, 255, 255, 0.16) 1px 1px 0px;
}						

.cortina{
	margin:0;
	padding:0;
	display:block;
	height:100%;
}

.titlu2{
	font-size:50px; 
	color:rgba(0, 0, 0, 0.5); 
}

.loading section, .loading footer{
	opacity:0;
	
}
.loaded section, .loaded footer{
	opacity:1;
}

.fixed_bottom, .fixed_top{
	position:relative;
}

.fixed_bottom {
	padding-top:50px;
}

.drop p:first-child:first-letter { float: left; color: #903; font-size: 75px; line-height: 60px; padding-top: 6px; padding-right: 8px; padding-left: 3px; font-family: Georgia; }

.left_main{
	float:left;
	width:700px;
}

.right_main{
	float:right;
	width:700px;
}


.right_secondary{
	margin-left:850px;
	font-size:16px;
}

.right_secondary p{
	font-size:16px;
}

.liner{
	display: block;
	width: 100%;
	margin-top: 25px;
	margin-bottom: 20px;
	border-top: rgba(255, 255, 255, 0.71) solid 1px;
	box-shadow: rgba(0, 0, 0, 0.13) 0px -1px 0px;
}








/* ==========================================================================
   Fragments
   ========================================================================== */



				fragment{
					display:block;
					width:100%;
				}
				fragment .selector{
					background-color: rgba(255, 255, 255, 0.6);
					box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 1px;
					display:block;
					height: 40px;
					line-height:40px;
					
					width:100%;
					text-shadow: rgba(255, 255, 255, 1) 1px 1px 1px;
					color:#222;
					padding-left:20px;
					margin-bottom:3px;
					box-sizing:border-box;
					border-radius: 4px;
				}
				
				
				fragment .selector:hover{
					cursor:pointer;
					background-color:#fff;
				}
				
				.fragment_selected > .selector, .fragment_selected2 > .selector{
					box-shadow: none;
					margin-bottom:0;
					border-radius: 4px 4px 4px 0;
				}
				
				.fragment_selected > .selector{
					background-color:rgba(255, 213, 0, 0.54) !important;
				}

				.fragment_selected2 > .selector{
					background-color:rgba(0, 148, 213, 0.35) !important;
				}
				
				.fragment_selected > .selector span, .fragment_selected2 > .selector span{
					color:rgba(0, 0, 0, 0) !important;
					text-shadow:none;
				}
				
				fragment .content_fragment{
					display:block;
					width:100%;
					box-sizing:border-box;
					min-height:20px;
					/*border-left:solid 5px rgba(255, 213, 0, 0.54);*/
					padding-left:3px;
					overflow:hidden;
					margin-bottom: 3px;
 				 	padding-bottom: 20px;
					border-radius: 0 0 0 20px;
				}
				

				
				.fragment_selected > .content_fragment{
					border-left:solid 5px rgba(255, 213, 0, 0.54);
				}

				.fragment_selected2 > .content_fragment{
					border-left:solid 5px rgba(0, 148, 213, 0.35);
				}				
				
				fragment .content_fragment p, fragment .content_fragment h2{
					padding-left:17px;
				}
				
				fragment .selector p{
					margin:0;
					-webkit-margin-before: 0px;
					-webkit-margin-after: 0px;
					-webkit-margin-start: 0px;
					-webkit-margin-end: 0px;
					padding: 0;
				}
				fragment .selector span{
					color:rgba(0,0,0,0.5);
					text-shadow:rgba(255,255,255,0.5) 1px 1px 0;
					font-size:11px;
					padding-right:15px;
					font-weight: 400;
					
				}
				
/* ==========================================================================
   Footer
   ========================================================================== */


footer {
	background-image:url(../img/Black-Perforated-Leather.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
		z-index:200;
		position:relative;
		min-height:650px;	
		box-shadow:rgba(0, 0, 0, 0.09) 0 -5px 10px, rgba(0, 0, 0, 0.14) 0 -20px 40px;
					/*border-top: #B4C01D 20px solid;	*/
}

.ftr1{
	padding-bottom:100px;
}
.ftr2{
	padding-bottom:200px;
}

footer h1, footer h2{
	text-shadow:rgba(0,0,0,0.9) 5px 5px 10px;
	margin:auto;
	margin-left:20px;
	margin-right:20px;
	padding-bottom:10px;
}
footer p{
	color: rgba(255,255,255,0.7);
	text-shadow:rgba(0,0,0,0.9) 1px 1px 2px;
	margin:auto;
}


footer input{
	width:400px;
}

.ftr1 input[type="submit"]{
	width:450px;
}

.ftr2 input[type="submit"]{
	width:750px;
}

.ftr1 textarea{
	width: 400px;
	
}

.ftr2 textarea{
	width: 750px;
}

footer td{
	vertical-align:top;
}

.ftr1 table{
	margin-top:10px; 
	width:100%;
}

.ftr2 table{
	margin-top:10px; 
	margin-left:auto; 
	margin-right:auto;
	width:700px;
}

footer #mail_success, footer #mail_fail{
	line-height: 30px;
  padding-top: 5px;
	display:none;	
}

footer #mail_fail{
	background-color: rgba(224, 170, 0, 0.85);
  
}
footer #mail_success{
	background-color: rgba(197, 233, 0, 0.85);
}








/* ==========================================================================
   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.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media screen and (max-width: 1400px) {	
	.left_main{width:700px;}								/*700*/
	.right_secondary{margin-left:800px;}		/*100*/
	section align {width:1150px;}						/*350*/
}

@media screen and (max-width: 1350px) {
	.left_main{width:700px;}								/*700*/
	.right_secondary{margin-left:800px;}		/*100*/
	section align {width:1100px;}						/*300*/
	subtitlu {width: 600px;}
}

@media screen and (max-width: 1300px) {
	.left_main{width:700px;}								/*700*/
	.right_secondary{margin-left:800px;}		/*100*/
	section align {width:1050px;}						/*250*/
}

@media screen and (max-width: 1250px) {
	.left_main{width:700px;}								/*700*/
	.right_secondary{margin-left:750px;}		/*50*/
	section align {width:1000px;}						/*250*/
	subtitlu {width: 500px;}
}

@media screen and (max-width: 1200px) {
	.left_main{width:650px;}								/*650*/
	.right_secondary{margin-left:700px;}		/*50*/
	section align {width:950px;}						/*250*/	
	#chartdata {width: 250px !important}
	#graph_1 .blank p {font-size: 14px; line-height: 20px; height: 40px;}
	#graph_1 .canvas_arrow h1 {font-size: 60px;}
}

@media screen and (max-width: 1150px) {
	.left_main{width:600px;}								/*600*/
	.right_secondary{margin-left:650px;}		/*50*/
	section align {width:900px;}						/*250*/
	#chartdata {width: 200px !important}
	#graph_1 .blank p {font-size: 14px;}
	#graph_1 .canvas_arrow h1 {font-size: 55px;}	
	#label1 p, #label2 p {font-size: 14px;  line-height: 20px; height: 40px;}
	subtitlu {width: 400px; margin-right: 0px;}
	#slide-1 titlu {text-align: right;}
	  				
}

@media screen and (max-width: 1150px) {
	.left_main{width:600px;}								/*600*/
	.right_secondary{margin-left:650px;}		/*50*/
	section align {width:900px;}						/*200*/
}

@media screen and (max-width: 950px) { 		/*let's do the magic*/
	.left_main{width:inherit; float:none; padding-left:20px; padding-right:20px}								
	.right_secondary{margin-left:0px; width:inherit; background-color:rgba(255, 255, 255, 0.6); margin-left:20px; padding:20px; border-radius: 20px 0 0 20px; box-shadow:#fff 1px 1px 1px}		
	.liner {display: none;}
	section align{margin-left:0px; margin-right:0px; width:inherit}
	titlu {font-size: 30px; padding-left:20px; padding-right:20px}	
	h1 {font-size: 30px; text-shadow: #000 2px 2px 4px; padding-left:20px; padding-right:20px; font-weight:600}
	h2 {font-size:16px;}
	p, ul li {font-size:15px;}
	.right_secondary p {font-size:14px;}
	.section_blue h1, .section_green h1{padding-left:40px; padding-right:40px}
	#graph_0 .wrong p,#graph_0 .matched p, #graph_0 .lack p {line-height:20px !important; }
	menu{position:inherit}
	menu photo {margin:0; float:left; border-radius: 0 106px 106px 106px;; border-top:0px ; border-left:0px ;	box-shadow: none }
	.titlu2 {font-size: 20px;}
	nav ul{float:right}
	#slide-1 .content_table{display:block; height:inherit !important}
	#slide-1 titlu {text-align: center;}
	subtitlu {width: inherit; margin-right: 20px; margin-left: 20px}
}








@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;
    }
}
