@import url('https://fonts.googleapis.com/css?family=Exo+2:400,500,600,700|Lemonada:400,600');

html {
    margin:0;
    padding:0;
    background: #fff;
    color:#3a3a3a;
    font-size: 16px;
	font-weight:400;
	font-family: 'Exo 2', sans-serif;
}
@media (min-width:600px) {
	html {
		text-align:justify;
	}
}
@media (max-width:600px) {
	html{
		text-align:center;
	}
}
.end {
    clear:both;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-decoration: none;
    -webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
	margin:0;
	padding:0;
}
img {
	max-width:100%;
	height:auto;
	float:left;
}


@media (min-width: 860px) {
	h1, h2 {
		font-size:36px;
    }
}
h1 {
	color:#d02027;
	text-align:center;
}
h1,h2,h3 {
	font-family: 'Lemonada', cursive;
}
h4 {
	color:#d02027;
	text-align:center;
	padding:20px 0 0 0;
}
@media (min-width:800px) {
	.bgtlo {
		padding:150px 0;
	}
	.bgtlos .bgtlo {
		padding:50px 0;
	}
}
@media (max-width:800px) {
	.bgtlo {
		padding:50px 0;
	}
}
.bgtlos {
	background:#284da1;
}
.bgtlo h1 {
	color:#fff;
	text-shadow: 10px 10px 20px #000;
}
.bgtlos .bgtlo h1 {
	color:#d02027;
	text-shadow: none;
}
.bgtlo .pozy {
}

strong {
	color:#000;
	font-weight:600;
}	


/* --- Szerokość strony --- */
@media(min-width:1240px) {
	.cont {
		margin:0 auto;
		width:80%;
	}
	.cont2 {
		margin:0 auto;
		width:60%;
	}
}

@media(max-width:1240px) {
	.cont, .cont2 {
		margin:0 auto;
		width:80%;
	}
}
/* --- Szerokość strony - End --- */

/* --- Header */
header {
	background-repeat:repeat;
	padding:15px 0;
}
@media(min-width:800px) {
	.home header {
		position:fixed;
		top:0;
		left:0;
		width:100%;
		z-index:9999;
	}
	header.fix, .home header:hover {
		background:rgba(255,255,255,0.75);
		box-shadow: 0 0 0 rgba(0, 0, 0, 0.12), 3px 4px 8px 0px rgba(0, 0, 0, 0.11);
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	}
}
@media(max-width:800px) {
	header {
		background:#dedede;
	}
}
@media (min-width:768px) {
	.logo {
		display:inline-block;
		width:150px;
		vertical-align:middle;
	}
	.menugr {
		display:inline-block;
		width:calc(100% - 155px);
		vertical-align:middle;
	}
	#cssmenu {
		float:right;
	}
}
@media (max-width:768px) {
	.logo {
		width:50%;
        margin: 0 auto;
		display:block;
		clear:both;
	}
    .logo img {
        float: none;
    }
	#cssmenu {
		width:100%;
		display:block;
		clear:both;	
	}
}
/* --- Header - end --- */

/* --- Banner --- */
@media (min-width:800px) {
    .op-banner h2{
        font-size: 48px;
		line-height:36px;
        margin: 0;
        padding: 0;
    }
    .op-banner h3{
        font-size: 36px;
        margin: 0;
        padding: 0;
    }
    .op-banner {
        position:absolute;
        top: 40%;
        left:10%;
		width:calc(80% - 40px);
        padding:20px;
        z-index: 1000;
        color: #fff;
		text-align:center;
    }
}
@media (max-width:800px) {
    .op-banner h3{
        font-size: 14px;
		text-align:center;
    }
    .op-banner h2 {
        font-size: 18px;
		text-align:center;
    }
    .op-banner p {
		display:none;
    }
    .op-banner {
        position:absolute;
        top: 20%;
        left:10%;
		width:calc(80%);
        z-index: 1000;
        color: #fff;
		text-align:center;
    }
}
.op-banner h2 {
    color: #d02027;
}
.op-banner h3 {
    color: #fff;
}
.op-banner p {
    color:#fff;
}
/* --- Banner - end --- */


[class*="span"] {
    position: relative;
}

@media (min-width:768px) {
	[class*="module"] {
		position: relative;
		padding:100px 0;
	}
}
@media (max-width:768px) {
	[class*="module"] {
		position: relative;
		padding:40px 0;
	}
}


/* --- Module --- */

/* --- Prime --- */
.home .prime, .primes {
	padding:150px 0;
}
 .primes {
	background:#f5f5f5;
	background-repeat:repeat;
 }
 .prime {
	padding:50px 0 150px 0;
	background:#f5f5f5;
	background-repeat:repeat;
}
.prime p {
	padding:0 0 20px 0;
}
.prime p > img {
	margin:0;
	padding:0;
}
.prime .counter {
	width:100%;
	display:block;

	clear:both;
}
.prime .icon-wrap {
	text-align:center;
}
.prime img {
	float:none;
	text-align:center;
	margin:0 auto;
	display:block;
}
@media (min-width:860px) {
	.prime article {
		display:inline-block;
		width:calc(100% / 4 - 25px);
		margin:5px 10px;
	}
	
	.prime img.alignleft {
		float:left;
		padding:30px 10px 10px 0;
		width:50%;
	}
	img.alignleft2 {
		float:left;
		padding:0 10px 10px 0;
		width:50%;
	}
	
	.prime img.alignright {
		float:right;
		padding:0 0 10px 10px;
		width:25%;
	}
}
@media (max-width:860px) {
	.prime article {
		padding:15px 0;
	}
}

.modules .post .entry-content img {
}

.prime article img {
	float:none;
	padding:10px;
	background:rgba(220,220,220,0.1);
}

.prime a,
.modules a {
	color:#d02027;
}
.prime a:hover,
.modules a:hover {
	color:#284da1;
}

.prime h3 {
	color:#d02027;
	text-align:center;
}

.brdd {
	border-bottom:1px solid #dcdcdc;
}




@media (min-width:860px) {
	.primes article {
		display:inline-block;
		width:calc(100% / 2 - 25px);
		margin:5px 10px;
		vertical-align:top;
	}
}
@media (max-width:860px) {
	.primes article {
		padding:15px 0;
	}
}



.niebieskie-tlo {
	padding:20px;
	background:#284da1;
	color:#fff;
	text-align: center;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

.niebieskie-tlo h3 {
	color:#fff;
	border-bottom:1px solid rgba(255,255,255,0.25);
	margin-bottom:20px;
}

.niebieskie-tlo p {
	padding:0 0 10px 0;
}
.niebieskie-tlo p a {
	color:#fff;
}
.niebieskie-tlo p a:hover {
	color:#d02027;
}
/* --- Prime - end --- */

/* --- Module 1 --- */
.module1 {
	background:url(../images/bg2.jpg);
	background-repeat:repeat;
}
.module1 h2 {
	color:#fff;
	text-align:center;
}
.module1 article {
	display:inline-block;
	vertical-align:middle;
	border:1px dotted #333;
}
.module1 article img {
	float:left;
	width:30%;
	padding:0 10px 10px 0;
}
@media (min-width:860px) {
	.module1 article {
		width:calc(100% / 4 - 10px);
		padding:15px;
		margin:2px;
		vertical-align:top;
		clear:both;
	}
}
@media (min-width:600px) and  (max-width:860px) {
	.module1 article {
		width:calc(100% / 2 - 10px);
		padding:15px;
		margin:2px;
		vertical-align:top;
		clear:both;
	}
}
@media (max-width:600px) {
	.module1 article {
		width:calc(100% - 10px);
		padding:15px;
		margin:2px;
		vertical-align:top;
		clear:both;
	}
}

.module1 h3 {
	color:#d02027;
	text-align:center;
	padding-bottom:15px;
}
.module1 article button {
	float:right;
	background:none;
	border:1px solid #333;
	color:#fff;
	padding:5px 10px;
	cursor:pointer;
}
.module1 article button:hover {
	border:1px solid #d02027;
	color:#d02027;
	padding:5px 10px;
}
/* --- Module 1 - end --- */

/* --- Module 2 --- */

.module2 {
    margin: 0;
	padding:0;
    background:#dedede;
	text-align:center;
}
.module2 .tlos {
    
    padding: 50px 0;
}

@media (min-width:800px) {
	.module2 article {
		display:inline-block;
		width:calc(100% / 3 - 25px);
		padding: 15px;
		margin:10px;
        vertical-align: top;
	}
}
@media (min-width:600px) and (max-width:800px) {
	.module2 article {
		display:inline-block;
		width:calc(100% / 2 - 25px);
		padding: 15px;
		margin:10px;
        vertical-align: top;
	}
}
@media (max-width:600px) {
	.module2 article {
		display:inline-block;
		width:calc(100% - 22px);
		padding: 15px;
		margin:10px;
        vertical-align: top;
	}
}
@media (min-width:600px) {
	.module2 h3 {
		font-size:24px;
		text-align:left;
	}
}
@media (max-width:600px) {
	.module2 h3 {
		font-size:18px;
		text-align:center;
		margin-top:20px;
	}
}
.module2 h3 {
	color:#d02027;
	padding-bottom:10px;
}
.module2 i {
	font-size:30px;
	width:100px;
	height:100px;
	margin-bottom:10px;
	line-height:100px;
	color:rgba(255,255,255,0.25);
}
.module2 article:hover i {
	color:rgba(255,255,255,0.75);
	font-size:48px;
}

.module2 article div {
	margin-right:20px;
}
.module2 article p {
	text-align:justify;
}


@media (min-width:768px) {
	.module2 article div {
		float:left;
		margin-right:20px;
	}
	.module2 article .icon-wrap {
		position: relative;
		display: inline-block;
	}
}
.module2 article .icon-wrap {
    max-width: 100%;
    height: auto;
    background-image: url(../images/icon-angle-left-top.png), url(../images/icon-angle-right-top.png), url(../images/icon-angle-left-bottom.png), url(../images/icon-angle-right-bottom.png);
    background-repeat: no-repeat;
    background-position: top left, top right, bottom left, bottom right;
    transition: 0.35s all ease;
}

.module2 article:hover .icon-wrap {
  background-position: 20% 20%, 80% 20%, 20% 80%, 80% 80%;
}

/* --- Module 2 - end --- */

/* --- Module 3 --- */
.module3 {
}
.module3 h2 {
	text-align:center;
}
.module3 article {
	display:inline-block;
}
@media (min-width:860px) {
	.module3 article {
		width:calc(100% / 4 - 10px);
		padding:15px;
		margin:2px;
		vertical-align:top;
		clear:both;
	}
}
@media (min-width:600px) and  (max-width:860px) {
	.module3 article {
		width:calc(100% / 2 - 10px);
		padding:15px;
		margin:2px;
		vertical-align:top;
		clear:both;
	}
}
@media (max-width:600px) {
	.module3 article {
		width:calc(100% - 10px);
		padding:15px;
		margin:2px;
		vertical-align:top;
		clear:both;
	}
}

.module3 h3 {
	color:#d02027;
	text-align:center;
	padding-bottom:15px;
}
@media (min-width:768px) {
    .module3 .dropcap {
        display: inline-block;
        text-align: center;
        width: 40px;
        line-height: 40px;
        background: #d02027;
        color: #000;
        vertical-align: middle;
        margin: 10px 10px 10px 0;
    }
}
@media (max-width:768px) {
    .module3 .dropcap {
        display: none;
    }
}
    .module3 h3 {
		text-align:center;
        vertical-align: middle;
        line-height: 40px;
        padding: 0;
        margin: 10px 0;
    }

/* --- Module 3 - end --- */

/* --- Module 4 --- */

.module4 {
    margin: 0;
	padding:0;
    background-image: url('../images/module4.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
	text-align:center;
}

.module4 .tlos {
    background: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.95) 100%);
    background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0.95) 100%);
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0.95) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4db4863e', endColorstr='#b3b4863e',GradientType=1 );
    padding: 150px 0;
    color: #fff;
}
@media (min-width:600px) {
	.module4 p {
		font-size:24px;
		padding:15px 0;
	}
}
@media (max-width:600px) {
	.module4 p {
		padding:15px 0;
	}
}
.module4 li {
	font-size:24px;
}
/* --- Module 4 - end --- */

/* --- Module 5 --- */

@media (min-width: 760px) {
	.module5 .counter {
		float:left;
		background:#d02027;
		padding:20px;
		margin-left:650px;
	}
	.module5 {
		background:url(../images/kontakt.jpg);
	}
}
@media (max-width: 760px) {
	.module5 .counter {
		float:left;
		background:#d02027;
		padding:20px;
	}
	.module5 {
		background:#d02027;
	}
}
.module5 h3 {
	text-align:center;
	color:#fff;
	font-size:36px;	
}


.module5 article {
	text-align:left;
}

@media (min-width:760px) {
	.module5 article {
		display:inline-block;
		width:calc(100% / 2 - 5px);
		vertical-align:top;
	}
}

@media (max-width:760px) {
	.module5 article {
		padding:20px 0;
	}
}
.module5 article {
	text-align:left;
}
.module5 h4, .module5 h5 {
	text-align:left;
	color:#fff;
}
.module5 p {
	padding:5px 0;
	color:#fff;
}
.module5 a:hover {
	color:#fff;
}
.module5 a {
	color:#3a3a3a;
}

.module5 i {
	color:#fff;
	padding-right:5px;
}

/* --- Module 5 - end --- */
/* --- Module - end --- */


/* --- Formularz --> --- */
.formularz, .dane-kontaktowe {
	padding:30px 0;
}

.formularz-finansowy p {
	margin:0;
	padding:0;
}

@media (max-width:780px) {
	.formularz-finansowy {
		margin-top:30px;
	}
}

#wpcf7-f79-p8-o1 {
	margin-bottom:10px;
}
.quform-input {
	border: 1px solid #284da1;
	background:#fff;
	margin-bottom:10px;
	display:table;
	width:100%;
}
.formularz .section {
	margin-bottom: 10px;
}
span.field-icon {
	float: left;
}
.quform-input .wpcf7-form-control-wrap {
	padding: 10px 10px 10px 0;
	color: #bbb;
}
.quform-input input, .quform-input textarea {
	border: 0;
	width:calc(100% - 10px);
	padding:5px;
}
.field-icon {
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1;
	color: #555;
	text-align: center;
	background-color: #284da1;
	border-right: 1px solid #284da1;
}
.field-icon {
	width: 55px;
	white-space: nowrap;
	vertical-align: middle;
}
.field-icon {
	display: table-cell;
}
.quform-inputs {
	display: table-cell;
}
.quform-inputs {
	width:calc(100% - 55px);
}
p.small {
	font-size:70%;
	color:#a7a7a7;
	margin:0;
	padding:0;
	line-height:14px;
}


[class*="formularz"] i {
	color:#fff;
}


.formularz p {
	margin:0;
	padding:0;
	line-height:0;
}

.formularz select,
.formularz option {
	width:100%;
	border:none;
}

/* --- <-- Formularz --- */

.gmaps {
        position: relative;
        padding-bottom: 40%; // This is the aspect ratio
        height: 0;
        overflow: hidden;
    }
.gmaps iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }


.prime ul li:before {
    vertical-align: middle;
    font-size: 14px;
    font-family: 'FontAwesome';
    color: #d02027;
    content: '\f054';
    position: absolute;
    left: 0;
	padding-right:15px;
    top: 2px;
}

.prime ul li {
	position:relative;
	display:block;
	padding-left:15px;
	line-height:35px;
}

@media (min-width:800px) {
	.facebook-poz {position:fixed; right:0; top:calc(30% - 60px); z-index:9999;}
	.facebook-poz ul {margin:0; padding:0;}
	.facebook-poz li {overflow:hidden;}
	.facebook-poz li.mobile {display:none;}
}

@media (max-width:800px) {
	.facebook-poz ul {margin:20px 0; padding:0;}
	.facebook-poz li {overflow:hidden;}
	.facebook-poz li.web {display:none;}
	.facebook-poz li.mobile {background:#0061aa; display:block;}
	.facebook-poz li.mobile img {display:block; text-align: center;}
}




@media (min-width:860px) {
	.img-l {
		float:left;
		width:50%;
		padding:0 10px 5px 0;
	}
	
	.poss article {
		display:inline-block;
		width:calc(100% / 3 - 25px);
		padding:10px;
		margin:10px;
		vertical-align:top;
	}
	.poss article *{
		font-size:14px;
	}
	footer.postmetadata .pomet:nth-of-type(1),
	footer.postmetadata .pomet:nth-of-type(2),
	footer.postmetadata .pomet:nth-of-type(3) {
		display:inline-block;
		padding:0 5px;
	}
	footer.postmetadata .pomet {
		padding:5px 0;
	}
	.poss p {
		font-size:14px;
	}
}
@media (max-width:860px) {
	.img-l img {
		padding:10px 0;
	}
	
	.poss article {
		padding:10px;
		margin:10px;
	}
	.poss article *{
		font-size:13px;
	}
	footer.postmetadata .pomet:nth-of-type(1),
	footer.postmetadata .pomet:nth-of-type(2),
	footer.postmetadata .pomet:nth-of-type(3) {
		display:inline-block;
		padding:5px;
	}
	footer.postmetadata .pomet {
		padding:5px 0;
	}
	.poss p {
		font-size:12px;
	}
}

.single-post img.wp-post-image {
	text-align:center;
	float:none;
}
.img-c {
	text-align:center;
}

.box {
	padding:20px;
	border:1px solid #dedddd;
	margin-top:20px;
}
.navig {
	margin:20px 0;
}
.navig, .navig a {
	text-align:center;
}
.navig img {
	float:none;
}
.partnerzy {
	background:#fff;
}
footer.postmetadata {
	border-bottom:1px solid #dedddd;
	border-top:1px solid #dedddd;
	padding:5px 0;
	font-size:14px;
	margin:10px 0;
	text-align:center;
	color:#727272;
}
footer.postmetadata i,
footer.postmetadata a:hover {
	color:#ffc704;
}

footer.postmetadata a {
	color:#000;
}
.poss article {
	border:2px solid #c2c2c2;
	background:#ededed;
}
.poss article h2 a {
	color:#424242;
	border-bottom:1px solid #dedddd;
	margin-bottom:10px;
	display:block;
	padding-bottom:5px;
	font-size:18px;
}



/* --- Footer --- */
footer.stopka {
	background:#d02027;
	background-repeat:repeat;
	padding:25px 0;
    color: #000;
}
    
    @media (min-width: 768px) {
        .menud {
            float: left;
        }
        .autor {
            float: right;
			text-transform:uppercase;
        }
        
        .menud ul li {
            display: inline-block;
            padding: 0 10px 0 0;
        }
        .menud ul ul {
            display: none;
        }
        .menud li a {
            color: #000;
			text-transform:uppercase;
        }
        
    }
    @media (max-width: 768px) {
        .menud {
            display: none;
        }
        .autor {
            text-align: center;
        }
    }

        .autor a,
        .menud li a:hover,
        .menud li.active a,
        .menud li.current-menu-item > a {
			color:#fff;
        }
/* --- Footer - end --- */    
    
/* MENU - górne */
#cssmenu {
    margin: 0;
    padding: 0;
}

#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	text-align:left;
}
#cssmenu:after,
#cssmenu > ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
#cssmenu #menu-button {
    display: none;
}
#cssmenu ul {
    z-index: 9999;
}
#cssmenu > ul > li {
    float: left;
}
#cssmenu.align-center > ul {
    font-size: 0;
    text-align: center;
}
#cssmenu.align-center > ul > li {
    display: inline-block;
    float: none;
}
#cssmenu.align-center ul ul {
    text-align: left;
}
#cssmenu.align-right > ul > li {
    float: right;
}
#cssmenu > ul > li > a {
    padding: 0 10px;
	text-transform:uppercase;
    text-decoration: none;
    line-height: 70px;
    color: #3a3a3a;
    transition: all .3s;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a,
#cssmenu > ul > li.current-menu-item > a,
#cssmenu > ul > li.current-menu-parent  > a {
	color:#d02027;
}
#cssmenu > ul > li.has-sub:hover > a:after {
    background: #fff;
}
#cssmenu > ul > li.has-sub:hover > a:before {
    top: 37px;
    height: 0;
    background: #fff;
}
#cssmenu ul ul {
    position: absolute;
    left: -9999px;
}
#cssmenu.align-right ul ul {
    text-align: right;
}
#cssmenu ul ul li {
    height: 0;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}
#cssmenu li:hover > ul {
    left: auto;
    background:url(../images/header.jpg);
	background-repeat:repeat;
}
#cssmenu.align-right li:hover > ul {
    left: auto;
    right: 0;
}
#cssmenu li:hover > ul > li {
    line-height: 50px;
    height: 50px
}
#cssmenu ul ul ul {
    margin-left: 100%;
    top: 0;
}
#cssmenu.align-right ul ul ul {
    margin-left: 0;
    margin-right: 100%;
}
#cssmenu ul ul li a {
    padding: 0 15px;
    line-height: 50px;
    width: 200px;
    text-decoration: none;
    color: #ffffff;
	text-transform:uppercase;
}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
    border-bottom: 0;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
    color: #d02027;
}
#cssmenu ul ul li.has-sub > a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #dddddd;
    content: '';
}
#cssmenu.align-right ul ul li.has-sub > a:after {
    right: auto;
    left: 11px;
}
#cssmenu ul ul li.has-sub > a:before {
    position: absolute;
    top: 13px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #dddddd;
    content: '';
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}
#cssmenu.align-right ul ul li.has-sub > a:before {
    right: auto;
    left: 14px;
}
#cssmenu ul ul > li.has-sub:hover > a:before {
    top: 17px;
    height: 0;
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
    #cssmenu {
        width: 100%;
    }
    #cssmenu ul {
        width: 100%;
        display: none;
    }
    #cssmenu.align-center > ul {
        text-align: left;
    }
    #cssmenu ul li {
        width: 100%;
        border-top: 1px solid rgba(120, 120, 120, 0.2);
    }
    #cssmenu ul ul li,
    #cssmenu li:hover > ul > li {
        height: auto;
    }
    #cssmenu ul li a,
    #cssmenu ul ul li a {
        width: 100%;
        border-bottom: 0;
    }
    #cssmenu > ul > li {
        float: none;
    }
    #cssmenu ul ul li a {
        padding-left: 25px;
    }
    #cssmenu ul ul ul li a {
        padding-left: 35px;
    }
    #cssmenu ul ul li a {
        color: #dddddd;
        background: none;
    }
    #cssmenu ul ul li:hover > a,
    #cssmenu ul ul li.active > a {
        color: #ffffff;
    }
    #cssmenu ul ul,
    #cssmenu ul ul ul,
    #cssmenu.align-right ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left;
    }
    #cssmenu > ul > li.has-sub > a:after,
    #cssmenu > ul > li.has-sub > a:before,
    #cssmenu ul ul > li.has-sub > a:after,
    #cssmenu ul ul > li.has-sub > a:before {
        display: none;
    }
    #cssmenu #menu-button {
        display: block;
        padding: 17px;
        color: #d02027;
        cursor: pointer;
        font-size: 18px;
        text-transform: uppercase;
    }
    #cssmenu #menu-button:after {
        position: absolute;
        top: 22px;
        right: 17px;
        display: block;
        height: 4px;
        width: 20px;
        border-top: 2px solid #284da1;
        border-bottom: 2px solid #284da1;
        content: '';
    }
    #cssmenu #menu-button:before {
        position: absolute;
        top: 16px;
        right: 17px;
        display: block;
        height: 2px;
        width: 20px;
        background: #284da1;
        content: '';
    }
    #cssmenu #menu-button.menu-opened:after {
        top: 23px;
        border: 0;
        height: 2px;
        width: 15px;
        background: #284da1;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    #cssmenu #menu-button.menu-opened:before {
        top: 23px;
        background: #284da1;
        width: 15px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    #cssmenu .submenu-button {
        position: absolute;
        z-index: 9999;
        right: 0;
        top: 0;
        display: block;
        border-left: 1px solid rgba(120, 120, 120, 0.2);
        height: 46px;
        width: 46px;
        cursor: pointer;
    }
    #cssmenu .submenu-button.submenu-opened {
        background: #262626;
    }
    #cssmenu ul ul .submenu-button {
        height: 34px;
        width: 34px;
    }
    #cssmenu .submenu-button:after {
        position: absolute;
        top: 22px;
        right: 19px;
        width: 8px;
        height: 2px;
        display: block;
        background: #dddddd;
        content: '';
    }
    #cssmenu ul ul .submenu-button:after {
        top: 15px;
        right: 13px;
    }
    #cssmenu .submenu-button.submenu-opened:after {
        background: #ffffff;
    }
    #cssmenu .submenu-button:before {
        position: absolute;
        top: 19px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        background: #dddddd;
        content: '';
    }
    #cssmenu ul ul .submenu-button:before {
        top: 12px;
        right: 16px;
    }
    #cssmenu .submenu-button.submenu-opened:before {
        display: none;
    }
}













.kontakt-top {
    float: right;
    width: auto;
}

.kontakt-top ul {
    width: 100%;
}
@media (min-width:800px) {
    .kontakt-top ul li:first-child {
        margin-left: 0px;
    }
}
.kontakt-top ul li {
    list-style: none;
    float: left;
    margin-left: 20px;
}
.kontakt-top ul li .icony {
    float: left;
    width: 70px;
    height: 70px;
    line-height: 56px;
    text-align: center;
}

.kontakt-top img {
    vertical-align: middle;
    float: none;
}
.kontakt-top ul li p {
    float: left;
    width: auto;
    margin: 10px 0px;
    color: #a6a6a6;
}

.kontakt-top span {
    font-size: 22px;
    color: #000000;
}

.home .module1 {
	background:#f8f8f8;
	color:#505050;
	text-align:center;
}
.home .module1 strong {
	color:#505050;
}
.module1 .mar {
	margin:0 10%;
	width:80%;
}

hr {
	border:none;
	background:#e8e8e8;
	clear: both; margin: 22px 0 21px; height: 1px;
}

.module1 .counter {
	width:100%;
	display:block;
	clear:both;
	height:auto;
}

@media (min-width:800px) {
	.module1 .counter article {
		display:inline-block;
		width:calc(100% / 3 - 5px);
		padding: 1% 2%;
	}
}
.module1 .counter article img {
	float:none;
}
.module1 .counter article h4 {
	padding:20px 0 5px 0;
	margin:0;
	color:#058502;
}
.module1 .counter article p {
	text-align:justify;
	line-height:1.7;
}

.tlospoz {
    position: absolute;
    top: 0%;
    left: 0%;
    bottom: 0%;
    right: 0%;
    background: rgba(0,0,0,0.8);
}
.module1 [class*="counter"]:hover .tlospoz {
    background: rgba(0,0,0,0.25);    
}

@media (min-width:800px) {
    .full {
        width: calc(100% - 40px);
        padding: 20px;
    }
}
@media (max-width:800px) {
    .full {
        width: calc(100% - 20px);
        padding: 10px;
    }
}

.tcw:after {
    content: '';
    border: 1px solid #fff;
    width: 50%;
    display: block;
    position: relative;
    top: 10px;
    left: 25%;
}

.tc h3 {
    color: #fff;
    font-size: 24px;
    margin-top: 40px;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.8;
	height:60px;
}
@media (min-width:800px) {
    .tbc p {
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 250px;
        color: #fff;
        opacity: 0.8;
    }
}
@media (max-width:800px) {
    .tbc p {
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 200px;
        color: #fff;
        opacity: 0.8;
    }
}

.btn {
    float: right;
    opacity: 0.95;
    margin: 10px 0;
}



.btn a, .btn input {
    background: #284da1;
    color: #fff;
    padding: 10px 20px;
	border:none;
	cursor:pointer;
}
.btn a:hover, .btn input:hover {
    background: #000;
}