/*=======================================================
	
	Item	: 	N5 - Minimal Resume/CV & vCard Template
	
	Author	: 	Noman Ali Samejo
	
--------------------------------------------------------------------------------------
	List Of Contents
--------------------------------------------------------------------------------------
	
	01. General Styles
	
	02. Menu
	
	03. Section Styles
	
	04. Main Section
	
	05. About Section
	
	06. Resume Section
	
	07. Portfolio Section
	
	08. Contact Section
	
	09. Responsive CSS

=========================================================*/

/*=======================================================
	General Styles
=======================================================*/
body, html{
	height:100%;
	width:100%;
}
body{
	position:relative;
	overflow:hidden;
	background:url(../img/tlo.jpg) repeat;
	background-size: cover;
	color:#424242;
    font-family: 'Playfair Display', serif;
}
p { font-size:16px; text-indent:5%; line-height:1.8em; text-align:justify;}
.view-project,
.portfolio-filters > li > a,
.p-table > .header > .price,
.info-list > li > strong,
.btn-custom,
.menu-items > li > a,
h1, h2, h3, h4, h5, h6{
	font-family: 'Roboto Mono', sans-serif;
}
.color{
	color:#303F9F;
}
::-webkit-scrollbar{
	background:#F0F0F0;
	height:10px;
	width:10px;
}
::-webkit-scrollbar-thumb{
	background:#D0D0D0;
	border:solid 2px #F0F0F0;
}
::-webkit-scrollbar-thumb:hover{
	background:#A0A0A0;
}
img{
	max-width:100%;
}


/*=======================================================
	Menu
=======================================================*/
body.border-dark .menu-btn > .lines > span{
	background:#660066;
}
.menu-btn > .lines > .l2{
	margin:6px 0;
}
.menu{
	position:absolute;
	z-index:399;
	background:rgba(0,0,0,.9);
	top:0;
	right:0;
	height:100%;
	width:0;
	-webkit-transition:width .6s cubic-bezier(.785,.135,.15,.86);
	-moz-transition:width .6s cubic-bezier(.785,.135,.15,.86);
	transition:width .6s cubic-bezier(.785,.135,.15,.86);
	overflow:hidden;
}
.menu:hover,
.menu-btn:hover + .menu{
	width:300px;
}
.menu > .inner{
	height:100%;
	width:300px;
	position:absolute;
	right:0;
	top:0;
}
.menu-items{
	margin:0;
	padding:0;
	list-style:none;
	position:absolute;
	width:100%;
	top:50%;
	left:0;
	-webkit-transform:translateY(-50%);
	-moz-transform:translateY(-50%);
	-ms-transform:translateY(-50%);
	-o-transform:translateY(-50%);
	transform:translateY(-50%);
	text-align:center;
}
.menu-items > li > a{
	color:#FFF;
	color:rgba(255,255,255,.6);
	font-size:18px;
	font-weight:700;
	text-decoration:none;
	text-transform:uppercase;
	letter-spacing:4px;
	padding:10px 0;
	margin:2px 0;
	display:block;
	-webkit-transition:color .3s cubic-bezier(.785,.135,.15,.86);
	-moz-transition:color .3s cubic-bezier(.785,.135,.15,.86);
	transition:color .3s cubic-bezier(.785,.135,.15,.86);
}
.menu-items > li > a:hover{
	color:#FFF;
}
.main-content > .page-border{
	position:absolute;
	border:solid 2px #660066; /*tetrus* zmiana koloru ramki w home , koniecznie z important*/
	/* border-color:rgba(255,255,255,.9); */
	z-index:999;
	-webkit-transition:border-color 2.5s cubic-bezier(.785,.135,.15,.86);
	-moz-transition:border-color 2.5s cubic-bezier(.785,.135,.15,.86);
	transition:border-color 2.5s cubic-bezier(.785,.135,.15,.86);
	border-radius:10px; /*tetrus*/
}
body.border-dark .main-content > .page-border{
	border-color:#660066;
}
.main-content > .border-top,
.main-content > .border-bottom{
	height:7px;
	left:20px;
	right:20px;
}
.main-content > .border-top{
	top:14px;
}
.main-content > .border-bottom{
	bottom:14px;
}
.main-content > .border-left,
.main-content > .border-right{
	width:7px;
	top:20px;
	bottom:20px;
}
.main-content > .border-right{
	right:14px;
}
.main-content > .border-left{
	left:14px;
}


/*=======================================================
	Section Styles
=======================================================*/
.main-content{
	position:fixed;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px; 
	z-index:99;
	overflow:hidden;
	box-shadow: 0 0 0 0px #FFF;
}
.section{
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	overflow:auto;
	z-index:-1;
	visibility:hidden;
	padding-top:110px;
	background: none;
}
.section.active{
	visibility:visible;
	z-index:99;
}
.section-header{
	position:relative;
}
.section-header > h2{
	font-size:30px;
	font-weight:200;
	margin:0;
	text-transform:uppercase;
	letter-spacing:4px;
    font-family: 'Playfair Display', serif;
	color:#660066;

}
.section-block{
	padding:110px;
	padding-top:0;
}
body.section-switching .main-content:before,
body.section-switching .main-content:after{
	z-index:299;
}
body.border-dark .main-content:before,
body.border-dark .main-content:after{
	border-color:#303F9F;
}
.sections{
	height:100%;
	width:100%;
}


/*=======================================================
	Main Section
=======================================================*/

.section-main:before{
	content: ' ';
	position:absolute;
	top:0;
	left:0;
	height:100%;
	width:100%;
	background: none;
	opacity:.8;
	z-index:-1;
}
.intro-text{
	padding:20px;
	text-align:center;
}
.wizytowka { position: relative; display: inline-block; width:100%; margin-top:-200px; margin-bottom:0px;}
.wizytowka h1{
	margin:0;
	/* color:#303F9F; */
	font-weight:900;
	font-size:32px;
	width:875px;
	text-align:left;
	line-height:45px;
	float:right !important;
	margin-right:100px;
	font-family: 'Playfair Display', serif;
	letter-spacing:2px;
}
.wizytowka h1 span{
font-family: 'Arizonia', cursive;
		font-size:100px;
		line-height:130px;
		color:#660066;
	    letter-spacing: normal;

}
#widget {position: absolute; top: 30px; left: 30px;}
	.intro-text {width: 77%; float: right;}
.intro-text > h2{
	font-size:18px;
	/* color:rgba(255,255,255,.8); tetrus */
	margin:0;
	font-weight:900;
	letter-spacing:4px;
	font-size:48px;
	font-family: 'Playfair Display', serif;

}
.intro-text > .intro-btns{
	margin-top:45px;
}
.intro-text > .intro-btns > .btn-custom{
	margin:0 15px;
}
a.btn-custom{
	color:#424242;
	text-decoration:none;
}
.btn-custom{
	color:#424242;
	letter-spacing:4px;
	text-transform:uppercase;
	text-decoration:none;
	text-align:center;
	font-size:11px;
	font-weight:400;
	display:inline-block;
	*display:inline;
	*zoom:1;
	line-height:1em;
	padding:17px 32px;
	position:relative;
	z-index:5;
	background:transparent;
	border:none;
}
.btn-custom:after{
	content: ' ';
	position:absolute;
	top:0;
	left:-10px;
	right:-10px;
	bottom:0;
	-webkit-transform:rotate(-4deg);
	-moz-transform:rotate(-4deg);
	-ms-transform:rotate(-4deg);
	-o-transform:rotate(-4deg);
	transform:rotate(-4deg);
	z-index:-1;
	opacity:0;
	visibility:hidden;
	background:rgba(0,0,0,.1);
	-webkit-transition:all .3s cubic-bezier(.785,.135,.15,.86);
	-moz-transition:all .3s cubic-bezier(.785,.135,.15,.86);
	transition:all .3s cubic-bezier(.785,.135,.15,.86);
}
.btn-custom:before{
	content: ' ';
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:2;
	border:solid 1px #424242;
	/* border-color:rgba(255,255,255,.8); */
}
.btn-custom:hover:after{
	opacity:1;
	visibility:visible;
}
.btn-custom.btn-color:after{
	background:#303F9F;
}
.btn-custom.btn-color:hover:after{
	opacity:.4;
}
.btn-custom.btn-color{
	color:#424242;
}
.btn-custom.btn-color > span:before,
.btn-custom.btn-color > span:after{
	background:rgba(0,0,0,.2);
}
.btn-custom.btn-color:before{
	border-color:rgba(0,0,0,.2);
}
body.section-switching .animation-block{
	position:absolute;
	left:0;
	height:0%;
	width:100%;
	background:#E0E0E0;
	z-index:199;
}
body.section-switching.down .animation-block{
	-webkit-animation: anim-down 2.5s cubic-bezier(.785,.135,.15,.86);
	-moz-animation: anim-down 2.5s cubic-bezier(.785,.135,.15,.86);
	animation: anim-down 2.5s cubic-bezier(.785,.135,.15,.86);
}
body.section-switching.up .animation-block{
	-webkit-animation: anim-up 2.5s cubic-bezier(.785,.135,.15,.86);
	-moz-animation: anim-up 2.5s cubic-bezier(.785,.135,.15,.86);
	animation: anim-up 2.5s cubic-bezier(.785,.135,.15,.86);
}
@-webkit-keyframes anim-down{
	0%{
		bottom:0;
		height:0;
	}
	45%{
		bottom:0;
		height:100%;
	}
	55%{
		bottom:0;
		height:100%;
	}
	100%{
		height:0%;
		top:0;
	}
}
@-moz-keyframes anim-down{
	0%{
		bottom:0;
		height:0;
	}
	45%{
		bottom:0;
		height:100%;
	}
	55%{
		bottom:0;
		height:100%;
	}
	100%{
		height:0%;
		top:0;
	}
}
@keyframes anim-down{
	0%{
		bottom:0;
		height:0;
	}
	45%{
		bottom:0;
		height:100%;
	}
	55%{
		bottom:0;
		height:100%;
	}
	100%{
		height:0%;
		top:0;
	}
}
@-webkit-keyframes anim-up{
	0%{
		top:0;
		height:0;
	}
	45%{
		top:0;
		height:100%;
	}
	55%{
		top:0;
		height:100%;
	}
	55.1%{
		bottom:0;
		top:auto;
		height:100%;
	}
	100%{
		height:0%;
		bottom:0;
		top:auto;
	}
}
@-moz-keyframes anim-up{
	0%{
		top:0;
		height:0;
	}
	45%{
		top:0;
		height:100%;
	}
	55%{
		top:0;
		height:100%;
	}
	55.1%{
		bottom:0;
		top:auto;
		height:100%;
	}
	100%{
		height:0%;
		bottom:0;
		top:auto;
	}
}
@keyframes anim-up{
	0%{
		top:0;
		height:0;
	}
	45%{
		top:0;
		height:100%;
	}
	55%{
		top:0;
		height:100%;
	}
	55.1%{
		bottom:0;
		top:auto;
		height:100%;
	}
	100%{
		height:0%;
		bottom:0;
		top:auto;
	}
}
.section-main{
	padding:0;
}
.section-main, .section-main > .container-fluid{
	height:100%;
	width:100%;
}
.v-align{
	display:table;
	height:100%;
	width:100%;
}
.v-align > .inner{
	height:100%;
	width:100%;
	display:table-cell;
	vertical-align:middle;
}



/*=======================================================
	Zakładki
=======================================================*/
.about-section, .resume-section, .portfolio-section{
	background:#F0F0F0;
}
.about-block .section-header, .timeline-block .section-header, .portfolio-block .section-header{
	margin-bottom:80px;
}

.about-text{
	margin-bottom:25px;
}

.menu-btn{
	font-size:0;
	display: none;
	position:absolute;
	top:20px;
	right:20px;
	padding:25px;
	z-index:499;
}
.menu-btn > .lines{
	display:block;
	width:36px;
}
.menu-btn > .lines > span{
	display:block;
	width:100%;
	height:3px;
	background:#660066;
	-webkit-transition:background 2.5s cubic-bezier(.785,.135,.15,.86);
	-moz-transition:background 2.5s cubic-bezier(.785,.135,.15,.86);
	transition:background 2.5s cubic-bezier(.785,.135,.15,.86);
}




/*=======================================================
	Contact Section
=======================================================*/
.contact-section{
	background:#F0F0F0;
}
.contact-block .section-header{
	margin-bottom:80px;
}
.contact-form > .form-group:last-of-type{
	margin:0;
}
.alert{
	border-radius:0;
	padding:17px;
	border:solid 1px;
	color:#FFF;
	background:transparent;
}
.alert.alert-success{
	border-color:#66bb6a; 
	color:#66bb6a; 
}
.alert.alert-danger{
	border-color:#ef5350;
	color:#ef5350;
}
.form-group{
	margin-bottom:20px;
}
.form-control{
	padding:14px;
	height:auto;
	border-radius:0;
	-webkit-box-shadow:none !important;
	-moz-box-shadow:none !important;
	box-shadow:none !important;
	border:solid 1px rgba(0,0,0,.2);
	background:transparent;
	-webkit-transition:none;
	-moz-transition:none;
	transition:none;
}
.form-control:focus{
	border-color:#303F9F;
}
.contact-form .btn-custom{
	padding:19px 35px;
}
.contact-info{
	margin-bottom:25px;
}
.contact-info:before,
.contact-info:after{
	content: ' ';
	display:table;
}
.contact-info:after{
	clear:both;
}
.contact-info > i{
	width:60px;
	display:block;
	float:left;
	font-size:52px;
	color:#424242;
}
.contact-info > p{
	float: left;
	font-size:18px;
	line-height:1.6em;
	font-style:italic;
	color:rgba(0,0,0,.9);
	margin:0;
	margin-top:5px;
	font-weight:bold;
	white-space: nowrap;
}
@media(min-width:992px){
	.contact-info-icons{
		padding-left:30px;
	}
}



/*=======================================================
	Preloader
=======================================================*/
#preloader{
	position:fixed;
	top:0;
	left:0;
	height:100%;
	width:100%;
	z-index:999;
	-webkit-transition: all .3s 1s ease;
	-moz-transition: all .3s 1s ease;
	transition: all .3s 1s ease;
}
#preloader > .left,
#preloader > .right{
	position:absolute;
	top:0;
	width:50%;
	height:100%;
	background:#FFF;
	overflow:hidden;
	z-index:99;
	-webkit-transition:all .7s .3s ease;
	-moz-transition:all .7s .3s ease;
	transition:all .7s .3s ease;
}
#preloader > .left{
	left:0;
}
#preloader > .right{
	right:0;
}
body.loaded #preloader{
	visibility:hidden;
}
body.loaded #preloader > .left{
	left:-50%;
}
body.loaded #preloader > .right{
	right:-50%;
}
body.loaded #preloader > .left,
body.loaded #preloader > .right,
body.loaded #preloader .loader{
	opacity:0;
	visibility:hidden;
}
.loader{
	height:140px;
	width:140px;
	border:solid 4px #FFF;
	border-top-color:#424242;
	border-right-color:#424242;
	border-radius:50%;
	position:absolute;
	top:50%;
	right:0;
	left:0;
	margin:auto;
	margin-top:-70px;
	transition:all .3s ease;
	z-index:199;
	-webkit-animation:loader 2s infinite linear;
	-moz-animation:loader 2s infinite linear;
	animation:loader 2s infinite linear;
}
.loader:before,
.loader:after{
	content: ' ';
	position:absolute;
	border:inherit;
	border-radius:50%;
}
.loader:before{
	left:15px;
	top:15px;
	bottom:15px;
	right:15px;
	opacity:.5;
	-webkit-animation: loader 3s infinite linear;
	-moz-animation: loader 3s infinite linear;
	animation: loader 3s infinite linear;
}
.loader:after{
	left:30px;
	right:30px;
	top:30px;
	bottom:30px;
	opacity:.25;
	-webkit-animation: loader 1.5s infinite linear;
	-moz-animation: loader 1.5s infinite linear;
	animation: loader 1.5s infinite linear;
}
@-webkit-keyframes loader{
	0%{
		transform:rotate(0deg);
	}
	100%{
		transform:rotate(360deg);
	}
}
@-moz-keyframes loader{
	0%{
		transform:rotate(0deg);
	}
	100%{
		transform:rotate(360deg);
	}
}
@keyframes loader{
	0%{
		transform:rotate(0deg);
	}
	100%{
		transform:rotate(360deg);
	}
}

			#kontakt .col-md-7 { float: left; }

	#kontakt .col-md-5 { float: right;}

/*=======================================================
	Responsive CSS
=======================================================*/
@media(max-width:1350px){
.wizytowka { display: inline-block; width:100%; margin-top:-150px; margin-bottom:10px;}
.wizytowka h1{
	font-size:28px;
	width:60%;
	text-align:left;
	line-height:35px;
	float:right !important;
	margin-right:100px;
}
.wizytowka h1 span{
		font-size:70px;
		line-height:90px;

}
#widget {position: absolute; top: 30px; left: 30px;}
	.intro-text {width: 73%; float: right;}
.intro-text > h2{
	font-size:38px;

}
	 .intro-text > .intro-btns > .btn-custom{
	margin:5px 5px;
}
}
@media(max-width:1199px){
	.wizytowka { display: inline-block; width:100%; margin-top:-200px; margin-bottom:0px;}
.wizytowka h1{
	font-size:25px;
	width:60%;
	line-height:35px;
	margin-right:20px;
	letter-spacing:1px;
}
.wizytowka h1 span{
		font-size:60px;
		line-height:80px;

}
.intro-text {width: 70%; float: right;}
.intro-text > h2{
	letter-spacing:3px;
	font-size:38px;

}

.col-md-8 { width:100%;}
.about-block .section-header {
	margin-bottom:40px; margin-top:40px; display: inline-block;
}
.about-section .btn-custom, .resume-section .btn-custom, .portfolio-section .btn-custom, .contact-section .btn-custom  {
	margin:5px 5px;
}
.resume-section .section-header, .portfolio-section .section-header, .contact-section .section-header { margin-top:150px; margin-bottom:40px;}
}
@media(max-width:992px){
	.wizytowka { display: inline-block; width:100%; margin-top:-200px !important; margin-bottom:0px;}
.wizytowka h1{
	font-size:22px;
	width:50%;
	line-height:35px;
	margin-right:20px;
	letter-spacing:1px;
}
.wizytowka h1 span{
		font-size:40px;
		line-height:60px;

}
	.intro-text {width: 50%; float: right;}

.intro-text > h2{
	letter-spacing:3px;
	font-size:33px;

}
 .intro-text > .intro-btns > .btn-custom{
	margin:5px 5px;
}
.col-md-8 img { width:50%;}

	.section{
		padding-top:90px;
	}
	.section-block{
		padding:90px;
		padding-top:0;
	}
	.contact-info-icons{
		margin-top:60px;
	}

				#kontakt .col-md-7 { float:none !important; }

	#kontakt .col-md-5 { float: none !important;}

}
@media(max-width:768px){
.wizytowka {position: relative; display: inline-block; width:100%; margin-top:0px !important; margin-bottom:20px;}
.wizytowka h1{
	font-size:20px;
	width:530px;
	line-height:28px;
	margin-right:0px;
	letter-spacing:normal;
}
	.wizytowka h1 span{
		font-size:55px;
		line-height:75px;

}
		.intro-text {width: 100%; float: none;}
	#widget {position: relative; margin: 0 auto;}


.col-md-8 img { width:100%; margin-bottom:10px;}

	.main-content{
		top:0;
		left:0;
		right:0;
		bottom:0;
	}
	.about-btns > .btn-custom{
		margin-bottom:10px;
	}
	.intro-text > .intro-btns > .btn-custom{
		margin-bottom:10px;
	}
	.intro-text > h1{
		font-size:62px;
	}
	.resume-section .section-header, .portfolio-section .section-header, .contact-section .section-header { margin-top:40px; margin-bottom:40px;}

	.menu-btn{
	display: block;
}
.intro-btns { display:none;}
	.section-block{
		padding:40px;
		padding-top:0;
	}
	.main-content > .page-border{ display:none;}


}
@media(max-width:550px){
		.wizytowka { display: inline-block; width:100%; margin-top:-200px; margin-bottom:0px;}
.wizytowka h1{
	font-size:20px;
	width:90% !important;
	line-height:25px;
	margin-right:20px;
	letter-spacing:1px;
}
.wizytowka h1 span{
		font-size:45px;
		line-height:50px;

}
.intro-text > h2{
	letter-spacing:1px;
	font-size:30px;

}
		#widget {position: relative; margin-left: -50px !important;}


	.section{
		padding-top:70px;
	}
	.section-block{
		padding:20px;
		padding-top:0;
	}
}
@media(max-width:400px){
	.section{
		padding-top:40px;
	}
p { font-size:14px; text-indent:5%; line-height:1.4em; text-align: left;}

}
.fleft { float:left; margin-right:2%;}
.fright { float:right; margin-left:2%;}
.img-1 { max-width:30%;}
.przyl {/*direction:rtl;*/ width:300px; float:right;} /* przyleganie akapitu do prawej */
.color-2 { color:#066; font-weight:400;}
