/* Mobile Portrait View */
@media screen and (max-width:767px) {
*{box-sizing:border-box;}
.left, .right{ float:none;}
.home section{ padding:40px 20px;}
.container { width:auto; padding:0 20px;}
.wrap_one, .signin_wrap{width:auto; text-align:center;}
.header { width:100%; padding:0;}
.header .header-inner{ width:100%; padding:15px 0 0;}
.header .header-inner .logo{ float:none; text-align:center; margin:0; padding:0;}
.header .header-inner .logo img{ max-width:90%; height:50px;}
/*coloumn css*/
.services-wrap .one_third{ float:none; width:100%; margin:0 0 5%;}
/*sidebar css*/
#sidebar{ width:100%; float:none;}
.blog-post-repeat .post-thumb img{ float:none; margin-right:0; width:100%; height:100%;}

/* --------- Pages ------- */
.content-area{ width:auto; margin:0; padding:50px 20px;}
.site-main{ width:auto; margin:0; padding:0; float:none;}
/*slider css*/
#slider{ top:0; margin:0;}
.nivo-directionNav a{ top:39% !important;}
.nivo-caption{ display:none !important;}

/*footer css */
.cols-3{ width:100% !important; display:block; margin-right:0; margin-bottom:15%;}
#contactform_main input[type="text"], #contactform_main input[type="email"], #contactform_main input[type="tel"], #contactform_main input[type="url"], #contactform_main textarea{width:100%;}
.recent-post img{ float:none; width:auto; margin-right:0;}
/*custom css*/
.signin_wrap{ text-align: center; line-height:25px; padding:10px 0;}
.signin_wrap .fa{ display:inline; }
.services-wrap, .welcome-wrap{ text-align:center;}
.searchbox{ width:100%; padding-left:0;}
.wrap_one .fa{ float:none; display:block; text-align:center; margin-right:0;}

.services-wrap .one_third .fa{ float:none;}
.services-wrap .one_third h4{overflow: hidden;}
h2.section_title{ text-align:center;}
.signin_wrap .right, .signin_wrap .left{ text-align:center;}
.signin_wrap .social-icons{ width:auto;}
.signin_wrap .left span{ float:none;}
.blog_lists img{ width:100%;}

}

/* Mobile Landscape View */
@media screen and (min-width: 480px) and (max-width: 767px){
.nivo-caption { width:90% !important; top:18% !important; left:5% !important; display:block !important; text-align:left !important;}
.slide_info{ padding:0;}
.slide_info h2{ font-size:20px !important; padding:0 !important; margin-bottom:10px !important; line-height:30px; text-shadow:1px 0 0 #333;}
.slide_info p{ padding:5px 0 !important;  font-size:13px !important; display:none;}
}

/* Tablet View */
@media screen and (max-width:1169px) and (min-width:768px) { 
*{box-sizing:border-box;}
.signin_wrap .container{ padding:0;}
.signin_wrap .social-icons a{ box-sizing:content-box; padding:0 4px;}
.container { width:auto; padding:0 20px;}
.home section{ padding:40px 20px;}
.wrap_one, .signin_wrap{width:auto;}
.header .header-inner{ width:auto; padding:15px 0 0;}
.header .header-inner .logo{ margin:0; padding:0; float:none; text-align:center;}
/*slider css*/
.nivo-caption { width:45% !important; top:5%; left:2%;}
.slide_info h2{ font-size:24px !important; padding:0 !important; margin-bottom:10px !important; line-height:30px; text-shadow:1px 0 0 #333;}
.slide_info p{ padding:5px 0 !important;  font-size:13px !important; text-shadow:1px 0 0 #333; }
.content-area{ width:auto; margin:0; padding:50px 20px;}
.cols-3{ width:30%; margin-right:5%;}
#sidebar{ width:30%;}
.site-main{ width:65%;}
.right span.phno{ padding-right:0;}
.signin_wrap .social-icons a{ padding:0 2px;}

/*custom  css*/
.services-wrap .one_third{ text-align:center;}
.services-wrap .one_third .fa{ float:none;}
.services-wrap .one_third h4{ margin:15px 0;}
.wrap_one .fa{ margin-bottom:30px;}
.recent-post h6{ padding-top:7px;}
.blog_lists img{ width:100%;}
}

@media screen and (max-width:1169px) and (min-width:980px) { 
html{overflow-x:hidden; }
.header .header-inner .logo{ float:left; text-align:right; margin:40px 0 35px 0;}
.header .header-inner .nav ul li a{ padding:30px 10px;}
.header .header-inner{ padding:0 20px;}
}

@media screen and (max-width: 980px){
.toggleMenu{display: block;}
ul.sub-menu>.sub_nazwy{display: none;}
.header .header-inner .nav{float:none; margin:0; position:relative; overflow-x:hidden; background-color:#fff; }
.header .header-inner .nav ul{color:#000; width:100% !important; float:none !important; margin:0; padding:0;}
.header .header-inner .nav ul li{border-top:1px #cccccc solid; display:block; float:none; text-align:left;}
.header .header-inner .nav ul li a{padding:5px 10px !important; display:block; color:#000;}
.header .header-inner .nav ul li a:hover{color:#ffffff;}
.header .header-inner .nav ul.sub-menu{ /*margin-left:10px;*/}
.header .header-inner .nav ul li ul, .header .header-inner .nav ul li ul ul{ display:block !important;}
.header .header-inner .nav ul li ul li a:before{content:"\00BB \00a0";}
.header .header-inner .nav ul li ul li a{padding-left:20px !important; }
.header .header-inner .nav ul li ul li ul li a{padding-left:30px !important;}
.header .header-inner .nav ul li ul li ul li ul li a{padding-left:40px !important;}
/*.header .header-inner .nav ul li:hover > ul{ background:none !important;}

.header .header-inner .nav ul li:hover > ul{ background: transparent !important; width:auto !important; display:block; position: relative !important; left:0; right:0; top:0;}
.header .header-inner .nav ul li:hover ul li ul, .header .header-inner .nav ul li:hover ul li:hover > ul, .header .header-inner .nav ul li:hover ul li:hover > ul li ul{  background: transparent !important; display:block; position:relative !important;  right:0; left:0; top:0;}
.header .header-inner .nav ul li:hover ul li:hover ul, .header .header-inner .nav ul li:hover ul li:hover ul li:hover ul{ left:0 !important;}*/
.header .header-inner .nav ul li a .fa, .fixed .header-inner .nav ul li a .fa{ display:none;}

.header .header-inner .nav ul li ul li,.header .header-inner .nav span.sub_nazwy {width: 100%; float:none;}
	.header .header-inner .nav ul li#menu-item-586 > ul, header .header-inner .nav ul li#menu-item-549 > ul,.header .header-inner .nav ul li#menu-item-572 > ul,.header .header-inner .nav ul li#menu-item-405 > ul{
		border-right: none;
		border-left: none;
	}
	
	#menu-kompetencje-menu{
		width: 100%;

	}
	#menu-kompetencje-menu>li{
		float:none;
		width: 100%;
	}
	.menu-kompetencje-menu-container>ul>li>a>h2{
		display: none;
	}
	.header .header-inner .nav ul li a {
		width: 100%;
	}
	.sps_strzalka {display:none;}
	#sps_wpisy{overflow-x:auto;width:100%;}
	.text_wid{display:none;}
	.projects-wrapper, .news-wrapper{float:none; width: 100%;}
	.projects-wrapper .projects-description, .news{width: 100%;}
	.news-wrapper{margin-top: 50px;}
	 .content-area, .site-aligner, .projects-wrapper{margin-left:0;margin-right:0;padding-left:0;} 
	 #sidebarr{margin:0 auto; float:none}
}

@media screen and (MAX-width: 1170px){
	.services-wrap .one_third img{width: 123.969px;}
	.one_third {width:100%;}
	}
@media screen and (min-width: 981px) and (MAX-width: 1170px){
	html{width:1170px; }
	.sps_strzalka {display:none;}
	#sps_wpisy{overflow-x:auto;width:100%;}
	.text_wid{height: 65px;	padding-top:42px;}
}

@media screen and (min-width: 1171px){
.services-wrap .one_third img{width: 120px;}
}
@media screen and (min-width: 981px){
	.header .header-inner .nav ul li ul li,.header .header-inner .nav span.sub_nazwy{display: block;}
		
	.header .header-inner .nav ul li#menu-item-586 ul li,
	.header .header-inner .nav ul li#menu-item-549 ul li,
	.header .header-inner .nav ul li#menu-item-572 ul li,
	.header .header-inner .nav ul li#menu-item-405 ul li{
		float:left;
		width: calc(50% - 0.5px);
	}
	.header .header-inner .nav ul li#menu-item-586 ul li:last-child,
	.header .header-inner .nav ul li#menu-item-549 ul li:last-child,
	.header .header-inner .nav ul li#menu-item-572 ul li:last-child,
	.header .header-inner .nav ul li#menu-item-405 ul li:last-child{
		margin-bottom: 10px;
	}
	.header .header-inner .nav ul li#menu-item-586 ul li:nth-child(odd),
	.header .header-inner .nav ul li#menu-item-549 ul li:nth-child(odd),
	.header .header-inner .nav ul li#menu-item-572 ul li:nth-child(odd),
	.header .header-inner .nav ul li#menu-item-405 ul li:nth-child(odd){
		border-left: 0px solid #34c6f6;
		border-right: 0px solid #34c6f6;
	}
	.header .header-inner .nav ul li#menu-item-586 ul li:nth-child(even),
	.header .header-inner .nav ul li#menu-item-549 ul li:nth-child(even),
	.header .header-inner .nav ul li#menu-item-572 ul li:nth-child(even),
	.header .header-inner .nav ul li#menu-item-405 ul li:nth-child(even){
		border-left: 0px solid #34c6f6;
		border-right: 1px solid #34c6f6;
	}
	.header .header-inner .nav ul li#menu-item-586 > ul,
	.header .header-inner .nav ul li#menu-item-549 > ul,
	.header .header-inner .nav ul li#menu-item-572 > ul,
	.header .header-inner .nav ul li#menu-item-405 > ul{
		border-right: 3px solid #34c6f6;
		border-bottom: 3px solid #34c6f6;
		border-left: 3px solid #34c6f6;
		min-width: 473px;
	}
	.header .header-inner .nav ul li:hover > ul{
	display:block;
	width:300px;
	left:-70px;
	position:absolute;
	}
	.header .header-inner .nav ul li:hover ul li:hover > ul{
	display:block;
	position:absolute;
	left:200px;
	top:1px;
	}
	.header .header-inner .nav ul li#menu-item-549 > ul{
	left: -191px;
	}
	.header .header-inner .nav ul li#menu-item-572 > ul{
		left: -271px;
	}
	.header .header-inner .nav ul li#menu-item-405 > ul{
		left: -379px;
	}
	#menu-item-204:hover > div div ul#menu-kompetencje-menu {
		left: -580px
	}
	ul#menu-kompetencje-menu {
		position: absolute;
		width: 930px;
	}
	#menu-kompetencje-menu>li{
		border-top:1px #cccccc solid;
	}
		.header .header-inner .nav ul li a {
		max-width: 265px;
	}
	ul#menu-kompetencje-menu > li {
		float: left;
		border:none;
	}
	ul#menu-kompetencje-menu {
		border-left: 3px solid #34c6f6;
		border-right: 3px solid #34c6f6;
	}
	ul#menu-kompetencje-menu  li ul > li{
	border:0;
	}
	ul#menu-kompetencje-menu  ul.sub-menu{
	margin-bottom:10px;
	}
	#menu-item-204:hover > div div ul#menu-kompetencje-menu {
	display:block;
	border-bottom: 3px solid #34c6f6;
	}
	.services-wrap a > h4{
	height: 64px;
	}
	
}