/*
CREATED BY DARIO PASSARIELLO 
copyright (c) 2020

The MIT License (MIT)
Copyright (c) 2020 Dario Passariello
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

.container {
	max-width: 960px;
	min-width:359px;
	height:100%;
	min-height:480px;
	position:relative;
	margin:0 auto;
	overflow:hidden;
	border:5px solid transparent;
	box-shadow:0 0 250px rgba(0,0,0,.4), 0 20px 30px rgba(0,0,0,.2);
	border-radius:20px;
	z-index:2;
	display:none;
}

.container:before {
	background:#f2f2f2;
	content:'';
	position:absolute;
	width:100%;
	height:100%;
}

#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%; 
  min-height: 100%;
  opacity:.5;
  display:block;
  z-index:-1
}

/*****************************************************************************/

.header {
	height:90px;
	padding: 10px 20px;
	background: #fefefe;
	position:relative;
	font-size: .8em;
	border:solid #00aaff;
	border-width:0 0 6px 0;
}

.header h1 {
	font-size: 1.8em;
	position:absolute;
	top:30px;
	left:188px;
	font-weight:800
}

.header h2{
	font-size: 1.1em;
	position:absolute;
	top:53px;
	left:190px;
	color:#666
}

.shownav {
	display:none;
}

.header img.avatar {
	position:absolute;
	top:14px;
	left:35px;
	width:140px;
	height:140px;
	border-radius:50%;
	z-index:5;
	border:2px solid #00aaff;
	cursor:pointer;
}

.header:before {
	content:'';
	position:absolute;
	top:50px;
	left:-25px;
	width:70px;
	height:70px;
	border-radius:50%;
	z-index:3;
	border:1px solid rgba(0,0,0,.3);
	opacity:.4
}

.header:after {
	content:'';
	position:absolute;
	top:55px;
	left:25px;
	width:25px;
	height:25px;
	border-radius:50%;
	z-index:3;
	border:1px solid rgba(0,0,0,.3);
	opacity:.4
}

/*****************************************************************************/

.title{
	position:absolute;
	background:#777;
	color:white;
	height:60px;
	top:90px;
	bottom:80px;
	left:220px;
	right:0;
	padding:0;
	line-height:0;
	text-transform: capitalize;
	border-bottom:2px solid #666;
	box-shadow:0 12px 30px rgba(0,0,0,.2), 0 4px 10px rgba(0,0,0,.4);
	z-index:3;
}

.title h2{
	position:absolute;
	top:20px;
	left:20px;	
	font-size:2em;
	color:#fff;
	font-weight:900;
}

/*****************************************************************************/

.page {
	position:relative;
	top:40px;
	min-height:750px;
	line-height:1.5em;
	overflow:auto;
	font-size:1.1em;
	display:none;
	padding-left:220px;
	padding-bottom:80px;
	box-shadow:0 0 50px rgba(0,0,0,.2) inset;
	background-image:	
	/*linear-gradient(45deg, rgba(0,0,0,.1) 6%, rgba(0,0,0,.1) 6%, rgba(0,0,0,.03) 6%, rgba(0,0,0,.03) 10%, transparent 10%),*/
	linear-gradient(45deg, transparent 0%, transparent 92%, rgba(0,0,0,.1) 92%, rgba(0,0,0,.1) 90%);
}

.page article{
	padding:20px 40px 60px 40px;
	font-size:1em;
	line-height:1.4em;
}

.page article img{
	border:solid #f2f2f2;
	border-width:4px;
	border-radius:10px;
	box-shadow:0 0 30px rgba(0,0,0,.2), 0 0 10px rgba(0,0,0,.2);
	z-index:1
}

.page a.pdf{
	background:#00aaff;
	color:white;
	border-radius:8px;
	padding:10px 60px;
	margin:10px 0;
	display:block;
	float:left;
	clear:right;
	border-bottom:3px groove rgba(0,0,0,.5);
	text-shadow:0 -1px 0 rgba(0,0,0,.8);
}

.page article h2:first-of-type{
	margin-top:20px;
}

.page article h2,
.page article h3{
	height:auto;
	line-height:1em;
	font-size:2.5em;
	font-weight:900;
	letter-spacing:-.02em;
	text-shadow: 0 -1px 1.05px #555, 0 2.01px 0 #fff;
	color:#dfdfdf;
	display:block;
}

.page article h4{
	height:auto;
	line-height:1em;
	font-size:1.3em;
	margin:0 0 15px 0;
	color:rgba(0,0,0,.4);
	display:block;
}

/*****************************************************************************/

article.columns div ul{
	padding:10px;
	list-style:none;
	overflow:hidden;
}

article.columns div ul li{
	padding:10px;
	font-size:1em;
	color:rgba(0,0,0,.5);
	line-height:1.2em;
	display:table;
	position:relative; 
}

article.columns div ul li:before{
	content:"";
	position:absolute;
	background-color: #f60;
	border-radius:50%;
	margin-top:8px;
	left:-8px;
	width:6px;
	height:6px
}

article.columns div ul li span{
	font-weight:900;
	font-size:1.1em;
	color:rgba(0,0,0,.7);
	display:block;
	padding:0;
}

article.columns p{
	padding:0 0 20px 30px;
	color:rgba(0,0,0,.6);
}

/*****************************************************************************/

article.contact{
	display:table;
	width:100%;
}

article.contact figure{
	display:table-cell;
}

article.contact section{
	display:table-cell;
}

/*****************************************************************************/

.nav {
	position:absolute;
	left:0;
	bottom:80px;
	width:220px;
	top:90px;
	padding:80px 10px 20px 5px;
	font-size:.9em;
	border-right:1px solid #bbb;
	overflow:auto;
	z-index:4;
	background-color: #d4d7dc;
	background-image:	
	linear-gradient(0, rgba(0,0,0,.3) 0%, transparent 50%),
	linear-gradient(45deg, rgba(0,0,0,.3) 19%, rgba(0,0,0,.3) 19%, rgba(0,0,0,.05) 19%, rgba(0,0,0,.05) 29%, transparent 29%);
	box-shadow:2px 0 20px rgba(0,0,0,.3);
}

.nav h2{
	font-size:1.5em;
}

.nav ul {
	font-size:1.1em;
	list-style: none; 
	line-height: 24px;
	z-index:1;
}

.nav ul li a {
	padding:10px 15px;
	color: white;
	display:block;
	background-color:#777;
	border:solid #00aaff;
	border-width:0 0 0 3px;	
	margin:3px;
	overflow:hidden;
	border-radius:8px;
	text-transform: capitalize;
} 

.nav ul li a:hover {
	background-color:#F60;
} 

.nav ul li a.selected {
	background-color:#F60;
} 

.nav i {
	margin:5px 10px 0 0;
} 

.nav div {
	padding:20px;
} 

/*****************************************************************************/

.footer {
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	background: rgba(0,0,0,.4);            
	padding: 30px 60px;
	height:80px;
	border:solid rgba(0,0,0,.5);
	border-width:0 0 0 220px;
	color:white;	
}

.footer p:nth-child(1){
	float:left;	
}

.footer p:nth-child(2){
	float:right;	
}

.footer span{
	position:absolute;
	display:block;
	width:15px;
	height:15px;
	bottom:72.5px;
	left:-8px;
	background:#aaa;
	transform:rotate(45deg);
	z-index:5;
	border:1px rgba(0,0,0,.2) solid;
	border-radius:50%
}

.footer img{
	position:absolute;
	bottom:20px;
	left:-180px;
}

/*****************************************************************************/

.flare{
	width:100px;
	height:100px;
	border-radius:50%;
	border:1px rgba(0,0,0,.1) solid;
	background-color:rgba(255,255,255,.1);
	/*
	box-shadow:
	0 0 30px rgba(255,255,255,.4), 
	0 0 30px rgba(255,255,255,.2) inset;
	*/
	position:absolute;
	opacity:.8;
	z-index:1;
}

/*****************************************************************************/

.loader{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;	
	/*display:none;*/
	z-index:1000;
	/*background:rgba(255,255,255,.5);*/
}

.loader i{
	position:absolute;
	width:180px;
	height:180px;
	border:4px solid #bbb;
	border-top-color:#F60;
	border-radius:50%;
	left: calc( 50% - 90px );
	top: calc( 50% - 90px );
	
    -webkit-animation-name: spin;
    -webkit-animation-duration: .5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;

    -moz-animation-name: spin;
    -moz-animation-duration: .5s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;

    -ms-animation-name: spin;
    -ms-animation-duration: .5s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;

    animation-name: spin;
    animation-duration: .5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
	z-index:1000;
}
	
@-ms-keyframes spin { 
        from { 
            -ms-transform: rotate(0deg); 
        } to { 
            -ms-transform: rotate(360deg); 
        }
    }
	
@-moz-keyframes spin { 
	from { 
		-moz-transform: rotate(0deg); 
	} to { 
		-moz-transform: rotate(360deg); 
	}
}

@-webkit-keyframes spin { 
	from { 
		-webkit-transform: rotate(0deg); 
	} to { 
		-webkit-transform: rotate(360deg); 
	}
}

@keyframes spin { 
	from { 
		transform: rotate(0deg); 
	} to { 
		transform: rotate(360deg); 
	}
}



