/******** SERVICES ********/
body.mainbody .services{
	padding-bottom: 100px;
	background-color: #f4f5f5;
}

body.mainbody .services ul.services-list{
	text-align: center;
	list-style: none;
	padding: 0;
	margin: 0;
}
body.mainbody .services ul.services-list>li{
	font-size: 14px;
	line-height: 42px;	
	overflow: hidden;
	height: 42px;
	background: rgba(255, 255, 255, 0);
	transition: background-color .2s;
}
body.mainbody .services ul.services-list>li a{
	color: #000;
	text-decoration: none;
	display: block;
	transition: color .2s;
}

body.mainbody .services ul.services-list>li a:hover {
	color: #20505f;
}

body.mainbody .services ul.services-list>li a,
body.mainbody .services ul.services-list>li a:focus,
body.mainbody .services ul.services-list>li a:hover,
body.mainbody .services ul.services-list>li a:active {
	outline: 0;
}


body.mainbody .services ul.services-list>li.services-active{
	background-color: #fff;
}
body.mainbody .services ul.services-list a{
	border-bottom: 1px solid #d4dcde;
}
body.mainbody .services ul.services-list ul.services-sublist{
	text-align: left;
	padding: 25px 0 25px 35px;
	list-style: disc;
}
body.mainbody .services ul.services-list ul.services-sublist li{
	line-height: 18px;
	padding: 0 0 10px 5px;
	margin: 0;
	color: #34454b;
}
body.mainbody .services ul.services-list ul.services-sublist{
	display: block;
}
/*
body.mainbody .services ul.services-list>li ul.services-sublist{
	display: none;
}
*/

body.mainbody .services ul.services-list > li:last-child {
	line-height: 40px;
}

body.mainbody .services ul.services-list > li:last-child a {
	border-color: #b4c3c8;
}

body.mainbody .services ul.services-list > li.services-active:last-child a {
	border-color: #d4dcde;
}

body.mainbody .services ul.services-list .container-2{
	max-width: 560px;
	width: 100%;
	margin: 0 auto;
	border-top: 1px solid #b4c3c8;
}
body.mainbody .services ul.services-list li:last-child .container-2{
	border-bottom: 1px solid #b4c3c8;
}

body.mainbody .services ul.services-list>li.services-active .container-2{
	border-top: 1px solid #d4dcde;
}


/******** TEAM ********/
body.mainbody .team{
	padding-bottom: 100px;
	background-color: #f4f5f5;
}
body.mainbody .team > .container {
	max-width: 610px;
}
body.mainbody .team p,
body.mainbody .team li{
	font-size: 14px;
	line-height: 21px;
	color: #20505f;
	margin-top: 15px;
}
body.mainbody .team li {
	margin-top: 0;
}
body.mainbody .team .team-member{
	margin-bottom: 65px;
}
body.mainbody .team .team-member .left {
	width: 180px;
}
body.mainbody .team .team-member .left img {
	width: 100%;
	height: auto;
}
body.mainbody .team .team-member .right {
	width: 430px;
}

/* about */

body.mainbody .about .container .row + p {
	margin-top: 0;
}


/******** CONTACT ********/
body.mainbody .contact{
	padding-bottom: 100px;
	background-color: #f4f5f5;
}
body.mainbody .contact p{
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 20px;
	text-align: center;
	color: #20505f;
}
body.mainbody .contact a{
	color: #20505f;
}
body.mainbody form{
	padding: 40px 10px 90px 10px;
	text-align: center;
	overflow: hidden;
}
body.mainbody input{
	width: 100%;
	height: 61px;
	margin-bottom: 30px;
	padding: 20px 15px;
	text-align: center;
	font-size: 14px;
	line-height: 21px;
	color: #20505f;
	font-style: italic;
	border: 0;
	background: #dee4e6;
}
body.mainbody textarea{
	width: 100%;
	height: 237px;
	margin-bottom: 30px;
	padding: 20px 15px;
	text-align: center;
	font-size: 14px;
	line-height: 21px;
	color: #20505f;
	font-style: italic;
	border: 0;
	background: #dee4e6;
	clear: both;
	resize: vertical;
}

body.mainbody input.filled,
body.mainbody textarea.filled {
	text-align: left;
	font-style: normal;
}

body.mainbody input.error,
body.mainbody textarea.error {
	border: 1px solid #e63f52;
}

body.mainbody button{
	width: 180px;
	height: 36px;
	border: 1px solid #20505f;
	font-size: 13px;
	color: #20505f;
	background-color: #f4f5f5;
	line-height: 34px;
	letter-spacing: 1px;
	transition: background 0.3s, color 0.3s;
}
body.mainbody button:hover{
	background: #20505f;
	color: #fff;
}
body.mainbody button.error {
	background-color: #e63f52;
	border-color: #e63f52;
	color: #ffffff;
}
body.mainbody button.prg {
	opacity: 0.5;
	pointer-events: none;
}
body.mainbody button.suc {
	background-color: #00ce7d;
	border-color: #00ce7d;
	color: #ffffff;
}

body.mainbody .map-container{
	height: 360px;
	width: 100%;
	background: #f4f5f5;
	position: relative;
}

body.mainbody .map-container > #maphit,
body.mainbody #map {
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
}


body.mainbody .contact p.mailtous {
	text-align: center;
	margin-bottom: 80px;
}

body.mainbody #maplb {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: none;
}

body.mainbody #mapwnd {
	position: absolute;
	left: 80px;
	right: 80px;
	top: 80px;
	bottom: 80px;
	background-color: #ffffff;
}

body.mainbody #mapov {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

body.mainbody #mapx {
	position: absolute;
	right: 50px;
	top: 50px;
	font-size: 20px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	color: #ffffff;
	pointer-events: none;
}



/******** FOOTER ********/
body.mainbody #footer-container{
	min-height: 354px;
	width: 100%;
	background: #20505f;
	margin: 0;
	padding: 0;
	clear: both; 
	padding: 60px 0 90px 0;
	font-size: 14px;
	letter-spacing: 0.5pt;
}
body.mainbody .siedemjeden {
	text-align: right;
	margin-top: -28px;
	padding-right: 14px;
}
body.mainbody .siedemjeden,
body.mainbody .siedemjeden a {
	color: #56737e;
	font-size: 12px;
	letter-spacing: 1px;
}
body.mainbody .siedemjeden a:hover {
	text-decoration: none;
}
body.mainbody #footer-container #contact-footer{
	padding-top: 50px;
}
body.mainbody #footer-container #contact-footer ul{
	list-style: none;
	padding: 28px 0 0 0;
	margin: 0;
}
body.mainbody #footer-container #contact-footer ul li{
	line-height: 16px;
	color: #fff;
	padding: 0;
	margin: 0;
}
body.mainbody #footer-container #contact-footer a{
	color: #fff;
	transition: background 0.3s, color 0.3s;
}
body.mainbody #footer-container #contact-footer .btn-footer{
	border: 1px solid #fff;
	color: #fff;
	height: 35px;
	margin-top: 25px;
	line-height: 32px;
	text-align: center;
	letter-spacing: 1px;
	display: block;
}
body.mainbody #footer-container #contact-footer .btn-footer:hover{
	color: #20505f;
	background: #fff;
	text-decoration: none;
}

body.mainbody #cookies {
	background-color: #20505f;
	padding: 14px 86px 14px 14px;
	font-size: 13px;
	letter-spacing: 0.15em;
	color: rgba(255, 255, 255, 0.7);
	overflow: hidden;
	position: relative;
}

body.mainbody.page-index #cookies {
	background-color: #396674;
}

body.mainbody #cookies a {
	text-decoration: underline;
	color: rgba(255, 255, 255, 0.7);
}

body.mainbody #cookies a.c {
	position: absolute;
	right: 14px;
	top: 14px;
}

/* 404 */

body.mainbody .page404 {
	padding-bottom: 50px;
	background-color: #f4f5f5;
}

body.mainbody .c404 {
	margin-top: 100px;
	margin-bottom: 100px;
	overflow: auto;
}

body.mainbody .c404 .left {
	width: 45%;
	float: left;
	padding-right: 5%;
	text-align: right;
}

body.mainbody .c404 .right h1 {
	font-size: 32px;
	margin-bottom: 15px;
	padding-top: 45px;
	padding-bottom: 0;
	text-align: left;
}

body.mainbody .c404 .right p.s1 {
	font-size: 17px;
	line-height: 22px;
	margin-bottom: 15px;
	color: #808080;
}

body.mainbody .c404 .right p.s2 {
	font-size: 14px;
	margin-bottom: 15px;
	color: #808080;
}

body.mainbody .c404 .right h2 {
	font-size: 24px;
	text-align: left;
}

body.mainbody .c404 .right a:hover {
	color: #c3344b;
}

body.mainbody .c404 .right {
	width: 50%;
	float: left;
}

/* tablet */

@media (min-width: 992px) and (max-width: 1200px) {
	body.mainbody #menu-container .line {
		width: 66px;
	}	
}

@media (min-width: 768px) and (max-width: 991px) { 
	body.mainbody #menu-container .line {
		display: none;
	}	
}

/* phone */

@media (max-width: 767px) { 

	body.mainbody a,
	body.mainbody a:focus,
	body.mainbody a:active,
	body.mainbody a:hover {
		outline: 0;
	}

	body.mainbody .triangle {
		margin-bottom: 15px;
	}

	body.mainbody .logo img {
		width: 140px;
		margin-bottom: 15px;
	}

	body.mainbody .header-container {
		height: auto;
	}

	body.mainbody #menu-container {
		height: auto;
		margin-top: 20px;
	}

	body.mainbody #menu-container .center {
		height: auto;
		white-space: normal;
		margin-bottom: 9px;
		margin-top: 10px;
		position: relative;
	}

	body.mainbody #menu-container .subpages i {
		position: absolute;
		right: 12px;
		top: 20px;
		width: 12px;
		border-bottom: 1px solid #bdcbce;
		display: block;
	}

	body.mainbody #menu-container .subpages i:after,
	body.mainbody #menu-container .subpages i:before {
		width: 12px;
		top: -4px;
		border-bottom: 1px solid #bdcbce;
		display: block;
		left: 0;
		position: absolute;
		display: block;
		content: '';
	}

	body.mainbody #menu-container .subpages i:after {
		top: 4px;
	}

	body.mainbody #menu-container .line {
		display: none;
	}

	body.mainbody #menu-container ul li:first-child {
		display: none;
	}

	body.mainbody #menu-container ul li:last-child,
	body.mainbody #menu-container ul li {
		margin: 0;
		display: none;
		line-height: 40px;
	}

	body.mainbody #menu-container ul {
		width: 100%;
	}

	body.mainbody #menu-container ul li.subpages {
		display: block;
	}

	body.mainbody .home .btn-menu {
		width: 100%;
		height: 150px;
	}

	body.mainbody .home .btn-menu a,
	body.mainbody .home .btn-menu.small a {
		height: 150px;
	}

	body.mainbody .home .btn-menu.big,
	body.mainbody .home .btn-menu.big a {
		height: 200px;
	}

	body.mainbody #menu-container ul li a,
	body.mainbody #menu-container ul li a:hover {
		border: none;
		padding-bottom: 2px;
	}

	body.mainbody #menu-container ul li a.active {
		padding-bottom: 2px;
	}

	body.mainbody #menu-container .lang {
		right: 18px;
		bottom: 24px;
		letter-spacing: 0.3pt;
		font-size: 12px;
	}

	body.mainbody #menu-container .lang a {
		margin: 0 5px;
	}

	body.mainbody .home .btn-menu:before,
	body.mainbody .home .btn-menu:after {
		display: none;
	}

	body.mainbody.page-index #menu-container > .container {
		display: none;
	}

	body.mainbody.page-index #menu-container {
		margin: 0;
		padding-top: 20px;
	}

	body.mainbody.page-index #menu-container .lang {
		position: absolute;
		top: -140px;
		right: 10px;
	}

	body.mainbody .home .btn-menu a:before {
		opacity: 1;
	}

	body.mainbody .home .btn-menu a span {
		opacity: 1;
	}

	body.mainbody .services ul.services-list ul.services-sublist {
		padding-right: 10px;
	}

	body.mainbody .team-member h4 {
		margin-top: 10px;
	}

	body.mainbody input {
		margin-bottom: 10px;
	}

	body.mainbody .team .team-member .left {
		width: 100%;
	}
	body.mainbody .team .team-member .right {
		width: 100%;
	}

	body.mainbody .home .btn-menu a span {
		font-size: 19px;
	}

	body.mainbody .team-member {
		text-align: left;
	}

	body.mainbody .team-member h4,
	body.mainbody .team-member h5,
	body.mainbody .team-member .left {
		text-align: center;
	}

	body.mainbody .team-member ul {
		padding-left: 20px;
	}

	body.mainbody #cookies {
		font-size: 12px;
		letter-spacing: 0.07em;
	}

	body.mainbody .mobilespace {
		margin-bottom: 10px !important;
	}

	body.mainbody .siedemjeden {
		text-align: center;
		padding-right: 0;
		margin-top: -54px;
	}

	body.mainbody .c404 .left {
		width: 100%;
		float: none;
		padding-right: 0;
		text-align: center;
		margin: 20px 0;
	}

	body.mainbody .c404 .left img {
		width: 100%;
		max-width: 180px;
		height: auto;
	}

	body.mainbody .c404 .right h1 {
		padding-bottom: 10px;
		padding-top: 10px;
	}

	body.mainbody .c404 .right {
		width: 100%;
		float: none;
		text-align: center;
	}

	body.mainbody .c404 .right h1,
	body.mainbody .c404 .right h2 {
		text-align: center;
	}

	body.mainbody .c404 .right .s2 a {
		display: block;
		text-align: center;
	}

	body.mainbody .c404 {
		margin-bottom: 0;
		margin-top: 10px;
	}

}
