body {font-family: 'Open Sans', Arial, sans-serif;}
a {text-decoration: none!important;}

.gradient {
position: absolute;
bottom: 0;
background: rgba(0, 0, 0, 0) linear-gradient(to top, #f9f9f9 0%, rgba(249, 249, 249, 0) 100%) repeat scroll 0 0;
height: 47%;
width: 100%;
z-index: 1000;
left: 0;
}
.left-none {display: none;}
.left-visible {display: block;}
.arrow-up {
background: transparent;
width:100%;
text-align: center;
}
.portale-down-all {height: 100%!important;}
.portale-down-small {height: 450px!important;}
.panel-default > .panel-heading {height: 103px; background-color: #a51237;}
.panel-default {
	border: 0;
    box-shadow: 5px 5px 16px #cfcfcf;}
.panel-title {
color: #fff;
font-size: 26px;
font-weight: 700;
border-top: 2px solid #fff;
padding: 1% 0;
text-align: left;
margin: 20px 1px 10px 5px;
}
.collapse {display: block;}
.panel {margin-bottom: 5%; border-radius: 0;}
.panel-body {padding: 4%;}
.btn-default {border-radius: 0;}
.panel-heading {border-radius: 0!important;}
.form-control {border-radius: 0;}
.btn-default {
    border-color: #fff;
	width: 100%;
    color: #fff;
    background: #a51237;
	height: 45px; 
	font-size: 18px; 
	border: 1px solid #fff;
	margin-top: 10px;
}
label {font-weight: normal;}
.form-control {height: 45px;}
.form-control:focus {
border-color: #a51237;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(165, 18, 55);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(165, 18, 55);
}
.button-portale {width: 100%; background: #ddd; color: #000; height: 45px; font-size: 18px; border: 0; margin-top: 50px; border: 1px solid #fff;}

/*.box-left-top {margin-top: -10%;}*/

#rounded {background: #fff;}

.box-left {
background: #a51237;
color: #fff;
font-size: 14px;
height: 450px;
padding-top: 2%;
}

.box-left p {
padding: 0 40px 40px 40px; 
text-align: justify;
}

.box-left h1 {
color: #fff;
font-size: 26px;
font-weight: 700;
border-top: 2px solid #fff;
border-width: 100%;
padding: 40px;
text-align: left;
}

.bpadd {padding: 5% 5% 3% 5%;}

.box-right {
background: rgba(227, 227, 227,0.75);
text-align: justify;
height: 450px;
overflow: hidden;
}

.box-right:nth-child(1) {
background: #fff;
}

.box-right h1 {
font-size: 16px;
line-height: 6px;
font-weight: 700;
text-align: left;
color: #29405c;
margin-top: 30px;
}

.box-right h2 {
font-size: 16px;
line-height: 6px;
font-weight: 700;
text-align: left;
color: #a51237;
margin-top: 30px;
}

.second
{
color: #a51237;
}

.box-right h2:nth-child(4)
{
padding-bottom: 40px;
}

.box-right h1:nth-child(1)
{
margin-top: 0px;
}

.box-right h1:nth-child(4)
{
margin-bottom: 46px;
}

.box-right p {
text-align: justify;
}

#contact-form {
    background: #29405C;
    color: #fff;
    border-bottom: 4px solid #a51237;
    padding-bottom: 40px;
}  

#contact {
font-size: 26px;
padding: 23px 0 23px 0;
font-weight: 700;
margin-bottom: 60px;
border-bottom: 2px solid #fff;
}

.form1{
padding-left: 0!important;
}

/*
.form2{
padding-left: 0!important;
}
*/

.main-txt {
text-align: justify;
background-color: #e3e3e3;
padding: 3% 3% 0 3%;
}

.menusmall {
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.56);
    z-index: 20;
    height: 75px;
}

.menusmall {
    margin-top: 10px;
    margin-right: 20px;
    margin-bottom: 10px;
    height: 60px;
    transition-duration: 200ms;
    transition-property: all;
}

.menusmall {
	position: relative;
        top: 20px;
}

/*scrool*/

.grid {
	position: relative;
	clear: both;
	margin: 0 auto;
	/*padding: 1em 0 4em;
	max-width: 1000px;*/
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	overflow: hidden;
	/*float: left;
	margin: 10px 1%;*/
	min-width: 320px;
	/*max-width: 480px;*/
	max-height: 455px;
	width: 100%;/*zmienione*/
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	max-width: 100%;
	/*opacity: 0.8; -tutaj nalozenie*/
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*DRUGI GRID*/
.grid2 {
	position: relative;
	clear: both;
	margin: 0 auto;
	padding: 6% 4% 19% 10%;
	/*max-width: 1100px;*/
	list-style: none;
	text-align: center;
}

/* Common style */
.grid2 figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 0 2% 5%;
	min-width: 320px;
	min-height: 225px;
	/*max-width: 420px;*/
	max-height: 293px;
	width: 29%;
	height: 31%;
	background: #cfcfcf;
	text-align: center;
	cursor: pointer;
}

.grid2 figure img {
	object-fit: cover;
	position: relative;
	display: block;
	width: 100%;
	/*min-height: 100%;
	max-width: 100%;
	height: 100%;*/
	opacity: 0.8;
}

.grid2 figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid2 figure figcaption::before,
.grid2 figure figcaption::after {
	pointer-events: none;
}

.grid2 figure figcaption,
.grid2 figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

/* Individual effects */

/*---------------*/
/***** Julia *****/
/*---------------*/

figure.effect-julia {
	background: #ebebeb;
	/*box-shadow: 0px 5px 28px #cfcfcf;*/
	box-shadow: 0px -9px 46px #808080;
	border-bottom: 4px solid #4d6a74
}

figure.effect-julia:hover {border-bottom: 4px solid #a51237;}

figure.effect-julia img {
	max-width: none;
	width: 100%;
	-webkit-transition: opacity 1s, -webkit-transform 2s;
	transition: opacity 1s, transform 2s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.bg-logo {
	
	width: 100%;
	height: 85px; 
	top: 4%;
	/*position: fixed;
	left: 0;*/
}

figure.effect-julia h3 {
	/*position: fixed;
	left: 18%;*/
	float: left;
	margin: 0;
	top: 4%;
}

figure.effect-julia h2:nth-child(2) {
	/*position: fixed;
	right: 18%;*/
	float: right;
	top: 4%;
	margin: 0;
}


figure.effect-julia p {
	display: inline-block;
	margin: 8% 10% 2%;
	padding: 1% 1em;
	/*background: rgba(255,255,255,0.9);*/
	color: #9f1235;
	text-transform: none;
	font-weight: 700;
	font-size: 188%;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-585px,0,0);
	transform: translate3d(-1500px,0,0);
}

figure.effect-julia p:nth-child(2) {
	font-size: 127%;
	margin: -4% 10% 4%;
	color: #474546;
	font-weight: 700;
}

figure.effect-julia p:first-child {
	-webkit-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

figure.effect-julia p:nth-of-type(2) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

figure.effect-julia p:nth-of-type(3) {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

figure.effect-julia:hover p:first-child {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

figure.effect-julia:hover p:nth-of-type(2) {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

figure.effect-julia:hover p:nth-of-type(3) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

figure.effect-julia:hover img {
	opacity: 0.4;
	-webkit-transform: scale3d(1.1,1.1,1);
	transform: scale3d(1.1,1.1,1);
}

figure.effect-julia:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/*-----------------*/
/***** Apollo *****/
/*-----------------*/

figure.effect-apollo {
	background: #3498db;
}

figure.effect-apollo img {
	opacity: 0.95;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.05,1.05,1);
	transform: scale3d(1.05,1.05,1);
}

figure.effect-apollo figcaption::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.5);
	content: '';
	-webkit-transition: -webkit-transform 0.6s;
	transition: transform 0.6s;
	-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-100%,0);
	transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-100%,0);
}

figure.effect-apollo p {
	position: absolute;
	right: 0;
	bottom: 0;
	margin: 2em;
	padding: 0 1em;
	max-width: 208px;
	border-right: 4px solid #fff;
	text-align: right;
	opacity: 0;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-apollo h2 {
	text-align: left;
}

figure.effect-apollo:hover img {
	opacity: 0.6;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-apollo:hover figcaption::before {
	-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,100%,0);
	transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,100%,0);
}

figure.effect-apollo:hover p {
	opacity: 1;
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

/* Media queries 
@media screen and (max-width: 50em) {
	.content {
		padding: 0 10px;
		text-align: center;
	}
	.grid figure {
		display: inline-block;
		float: none;
		margin: 10px auto;
		width: 100%;
	}
}*/

@media screen and (max-width: 1450px) {
figure.effect-julia p {
margin: 7% 10% 2%;
font-size: 142%;
}
figure.effect-julia p:nth-child(2) {
    font-size: 102%;
    margin: -4% 10% 4%;
}
}

@media screen and (max-width: 1270px) {
.box-right h1 {font-size: 14px;}
.grid2 figure {
position: relative;
float: left;
overflow: hidden;
margin: 0px 1% 2%;
min-width: 268px;
min-height: 199px;
max-width: 420px;
max-height: 293px;
width: 28%;
height: 28%;
background: transparent;
text-align: center;
cursor: pointer;
}
figure.effect-julia p {
margin: 7% 10% 2%;
font-size: 116%;
}
figure.effect-julia p:nth-child(2) {
    font-size: 88%;
    margin: -4% 10% 4%;
}
}

@media screen and (max-width: 998px) {
.form1,.form2 {padding: 0;}
.col-xs-4 .col-sm-4 .col-md-6 .col-lg-6 img {width: 90%;}
.main-txt {padding: 3% 2% 0 2%;}
#contact {font-size: 18px;}
.box-right {height: 430px;}
.box-right p {font-size: 12px;}
.box-right h1 {line-height: 16px; font-size: 13px; margin-top: 10px;}
.box-right h1:nth-child(4) {margin-bottom: 20px;}
.box-right h2 {font-size: 13px; margin-top: 30px;}
.box-left {height: 430px; font-size: 12px;}
.box-left p {padding: 0 25px 25px 25px;}
.box-left h1 {padding: 20px; font-size: 13px;}
.panel-title {
    font-size: 24px;
    line-height: 81px;
}
.grid2 figure {
width: 91%;
height: 38%;
max-width: none;
}
figure.effect-julia p {
margin: 8% 10% 2%;
font-size: 88%;
}
figure.effect-julia p:nth-child(2) {
    font-size: 88%;
    margin: -4% 10% 4%;
}
figure.effect-julia h3 {
    top: 5%;
    left: 2%;
    height: 70px;
}
figure.effect-julia h3 img {
    height: 80%;
}
figure.effect-julia h2 img
 {   
 width: 67%;
 float: right;
}
.bg-logo {
    height: 72px;
    top: 5%;
}
.ch-grid li {margin: 1%!important;}
}

@media screen and (max-width: 768px) {
body {font-size: 12px;}
figure.effect-julia p {
margin: 7% 10% 2%;
font-size: 116%;
}
figure.effect-julia p:nth-child(2) {
    font-size: 88%;
    margin: -4% 10% 4%;
}
.ch-grid {margin: 1% 0 0 0!important;}
.box-left {height: 200px; font-size: 12px;}
.box-right {height: 400px;}
.box-right h1:nth-child(1) {margin-top: 20px;}
.box-left h1 {padding: 25px;}
.ch-grid li {margin: 1%!important;}
.panel-title {font-size: 18px;}
}

@media screen and (max-width: 680px) {
.panel-title {
font-size: 18px;
line-height: 63px;
}
.panel-default > .panel-heading {
    height: 84px;
}
.grid2 figure {
width: 91%;
height: 38%;
max-width: none;
}
figure.effect-julia h3 {
top: 2%;
height: 46px;
}
figure.effect-julia h3 img {
    height: 80%;
}
figure.effect-julia h2:nth-child(2) {
right: 3%;
top: 2%;
}
figure.effect-julia h2 img
 {   
width: 53%;
}
.bg-logo {
height: 60px;
top: 1%;
}
figure.effect-julia p {
    font-size: 114%;
    margin: 10% 3% 3%;
}
figure.effect-julia p:nth-child(2) {
    font-size: 95%;
	display: none;
}
}

@media screen and (max-width: 480px) {
.panel-title {
font-size: 13px;
line-height: 57px;
font-weight: 700;
}
.panel-default > .panel-heading {
    height: 76px;
}
figure.effect-julia p {
    font-size: 88%;
    margin: 10% 2% 3%;
}
figure.effect-julia p:nth-child(2) {
    font-size: 62%;
    margin: -4% 11% 4%;
}
}
@media screen and (max-width: 380px) {
.ch-grid {margin: 5% 0px 3% 0;}
figure.effect-julia p:nth-child(2) {
    font-size: 61%;
    margin: -4% -8% 4%;
}
figure.effect-julia p {
	font-size: 73%;
	margin: 6% -14% 2%;
    font-weight: 700;
}
figure.effect-julia h2 img {width: 42%;}
figure.effect-julia h2:nth-child(2) {
    right: 3%;
    top: 0%;
}
figure.effect-julia h3 {
    top: 0%;
    height: 36px;
}
.bg-logo {height: 38px;}
.box-left {height: 230px; font-size: 11px;}
.box-right {padding: 3% 11% 3% 11%; height: 520px;}
.box-right h1 {font-size: 12px; line-height: 11px;}


}