/*
Theme Name: ADK Klimatyzacja
Author: Icea.pl 
*/


html {
	overflow-y: scroll;
	background:#1c1d20;
}

html,
button,
input,
select,
textarea {
	font-family: 'Montserrat', Helvetica, Arial, Sans-serif;
}

body { 
	margin: 0;  
	font-family: 'Montserrat', Helvetica, Arial, Sans-serif;
	color:#777777;
	font-size:15px;
    line-height: 1.5em;
	background:#FFF;
}

a {
    color: #777777; 
	text-decoration: none;
}

a:focus,
a:active,
a:hover { 
	outline: none;
	border:none;
}

a:hover {
	text-decoration: none;
	color:#166de3;
}

p strong{
	color:#166de3;
}
 
h1{
    font-weight: bold;
    font-size: 36px;
    margin: 0 0 20px;
	padding-bottom:30px;
	background:url(images/h2.png)no-repeat bottom left;
	color:#333333;   
	line-height:1.1; 
}



.grid1 h3.title-box  {
    text-transform: uppercase;
    color: #FFF;
    font-size: 20px;
    margin: 0 0 15px;
    padding: 0;
    font-weight: bold;
    text-align: center;
		line-height:1.1;
}
.grid1 h3.title-box a{
	color: #fff;
}

.home h2{
    font-size: 36px;
}

h2 {
    font-weight: bold;
    font-size: 28px;
    margin: 0 0 20px;
	padding-bottom:30px;
	background:url(images/h2.png)no-repeat bottom left;
	color:#333333;   
	line-height:1.1;   
}

.text-center h1,
h1.text-center,
.text-center h2,
h2.text-center{
	background:url(images/h2.png)no-repeat bottom center;
}
  

h3{
	color:#242366;
	font-size:25px;
	font-weight:700;
	margin:0 0 20px;
	line-height:1.2;
}
h4 {
    font-weight: 700; 
    margin: 0 0 15px;
    font-size: 18px;
	line-height:1.2;  
	color:#242366;
}
h5{ 
	font-weight:600; 
    font-size: 16px;
    margin:0 0 15px;
	color:#242366;
	line-height:1.1;
}

h5 a{
    font-size: 20px;
	color:#242366;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}
h5 a:hover{
	color:#6d207c;
	text-decoration:none;
}


h6{
	margin:0 0 50px;
	padding:0;
	font-size:16px;
	text-transform:uppercase;
	color:#777777;
}

p {
	margin: 0 0 20px;
	color:#777777;
	font-size:1em;
	text-align:justify;
    line-height: 1.7em;
}
 

.wp-caption-text{
	text-align:center;
	padding:10px;
}

nav ul,
nav ol {
	list-style: none;
	list-style-image: none;
}

li > ul,
li > ol {
	margin: 0;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
    max-width: 100% !important;
    background: #ededed;
    padding: 20px;
    border: solid 1px #d5d5d5;
}

form {
	margin: 0;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
	white-space: normal;
}

button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

.button,
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
.button-a a{ 
	cursor: pointer;    
	outline:none;
	border:none;
	background:#166de3;
	text-decoration:none;
	margin:0;
	color:#fff;
	font-size:13px; 
	padding:15px 35px;
	letter-spacing:2px;
	border:solid 2px #166de3;
	font-weight:bold;
	line-height:1; 
	text-transform:uppercase;
	display:inline-block; 
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative; 
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.button:hover,
.button:active,
.button:focus,
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
.button-a a:hover{   
	color:#166de3; 
	border:solid 2px #166de3;
	text-decoration:none;
}

.button:before,
.button-a a:before{
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFF;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 50%;
    transform-origin: 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.button:hover:before, .button:focus:before, .button:active:before, .button-a a:hover:before,  .button-a a:focus:before, .button-a a:active:before{
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}
  
.button-white{
	background:rgba(255,255,255,0);
	border-color:#FFF;
	color:#FFF;
}
.button-white:hover{
	border:solid #FFF 2px;
	color:#166de3;
}
.button-white:before{
    background: #FFF;
}

.button-red{
	background:#ae1c28;
	border-color:#ae1c28;
	color:#FFF;
}
.button-red:hover{
	border:solid 2px #ae1c28;
	color:#ae1c28;
}
.button-red:before{
    background: #FFF;

}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield; 
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

table {
	border-bottom: 1px solid #ededed;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 14px;
	line-height: 2;
	margin: 0 0 20px;
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

caption {
	font-size: 16px;
	margin: 20px 0;
}

th {
	font-weight: bold;
	text-transform: uppercase;
}

td {
	border-top: 1px solid #ededed;
	padding: 6px 10px 6px 0;
}

del {
	color: #333;
}

ins {
	background: #fff9c0;
	text-decoration: none;
}

/**
 * INNE
 * ----------------------------------------------------------------------------
 */

.clear:after{
	clear: both;
}

.clear:before,
.clear:after{
	content: "";
	display: table;
}

.screen-reader-text {
	display:none;
} 

::-webkit-input-placeholder {
	color: #000;
}

:-moz-placeholder {
	color: #000;
}

::-moz-placeholder {
	color: #000;
}

:-ms-input-placeholder {
	color: #000;
}

img{
	max-width: 100%;
}

/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
.entry-content img,
.entry-summary img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
}
img,
img.size-full,
img.size-large,
img.wp-post-image {
	height: auto;
	max-width: 100%;
}

/* Make sure videos and embeds fit their containers. */
embed,
iframe,
object,
video {
	max-width: 100%;
}

ul{
	list-style-image:url(images/li.png);
	margin:0 0 20px;
	padding:0 0 0 20px;
}

ul li{
	margin: 0 0 5px;
	padding: 0px;	
}

input{
	border:none;
	padding:8px 13px;
	margin:5px 0;  
    background: #f5f5f5;
	color:#000;
	width:100%; 
}
textarea{
	height: 90px;  
	color:#000;
	width: 100%; 
	padding:8px 13px;
	margin:5px 0;  
	border:none;
    background: #f5f5f5;
}

.aligncenter{
	margin:0 auto;
}
.alignleft{
	float:left;
	margin:0 20px 20px 0;
}
.alignright{
	float:right;
	margin:0 0 20px 20px;
}
 

/**
 * 4.1 Site Header
 * ----------------------------------------------------------------------------
 */

#top{
	background:#FFF;  
	right: 0;
	left: 0;
	z-index: 1030;
	position: fixed;
	transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
} 
header.shrink{    
	box-shadow: 3px 1px 5px 0px rgba(1, 2, 2, 0.25);  
} 
header.shrink .logo{
	margin:12px 0 13px;
}
header.shrink .logo img{ 
    width: 200px;
}   
header.shrink .navi{
	display:none;
} 

header.shrink  .main-navigation { 
	margin: 10px 0 0;
}

/* LOGO */

.logo{
	margin:-3px 0px 35px ;
	padding-right:0;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}

.logo img{
	width:277px;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}
.logo img:hover{
	opacity:0.7;
}

.navi{  
	text-align:right;
	background:url(images/navi.png)no-repeat top center;
	color:#FFF;
	font-size:13px; 
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
} 

.navi a{
	font-size:13px; 
	color:#FFF;  
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}
 
.navi a:hover{
	opacity:0.5;
} 

.sep{
	display:block; 
	float:right;
	padding:6px 15px 8px;
	border-left:solid 1px #5c99eb;
	border-right:solid 1px #5c99eb;
	margin-left:-1px;
}
 
  
/* SLIDER */

.slider{   
	background:#312b51;
    padding-top: 115px;
	position:relative;
	z-index:1;
}

/* GRID 1 */

.grid1{ 
	padding:0 0 40px; 
	position:relative;
	z-index:2;
	overflow:hidden;
	margin-top:-80px;
} 

.grid1 h5{  
	text-transform:uppercase; 
	color:#FFF;
	font-size:20px;
	margin:0 0 15px;
	padding:0;
	font-weight:bold; 
	text-align:center;
}  

.grid1 .col-md-4{
	padding:0;
}

.grid1-wrap{
	padding:290px 50px 25px;
	background:url(images/cat1.png)no-repeat top center #166de3;
}
.grid1 .col-md-4:nth-of-type(2) .grid1-wrap{
	background:url(images/cat2.png)no-repeat top center #1264d2;
}
.grid1 .col-md-4:nth-of-type(3) .grid1-wrap{
	background:url(images/cat3.png)no-repeat top center #166de3;
}
.grid1-wrap p{
	color:#FFF; 
	text-align:center; 
}
.grid1-wrap .button{
	font-size:10px;
}

.grid1-white{
	min-height:225px
}
 
.animate-img{
	-webkit-transform: 1s ease-in-out; 
	transition: transform 1s ease-in-out;
} 
.animate-img:hover{
	-webkit-transform: rotate(360deg); 
	transform: rotate(360deg);
}
  

/* GRID 2 */


.grid2{ 
	overflow:hidden;   
}  

.grid2 p{
	line-height:1.4em; 
}	

.grid2 .container{ 
	padding:30px 0 60px;
}

.grid{
	padding-left: 100px;
	padding-bottom:20px;
	background:url(images/ico1.png)no-repeat left top;
}
.grid:nth-of-type(2){
	background:url(images/ico2.png)no-repeat left top;
}
.grid:nth-of-type(3){
	background:url(images/ico3.png)no-repeat left top;
}


/* GRID 3 */

.grid3{ 
	padding:90px 0 80px;
	overflow:hidden; 
	background:url(images/grid3.jpg)no-repeat center center;
	background-size:cover; 
}  

.grid3 .col-md-6{
	padding:0 50px;
}


/* GRID 4 */

.grid4{ 
	padding:70px 0 60px;
	overflow:hidden; 
	text-align:center;	
}  
 

/* GRID 5 */


.grid5{ 
	padding:60px 0;
	overflow:hidden; 
	background:url(images/grid5.jpg)no-repeat center center fixed;
	background-size:cover; 
}  

.white-box{
	padding:25px 10px;
	background:#FFF;
}
.white-box p{
	color:#333333;
	font-weight:bold;
	text-align:center;
    font-size: 13px;
	margin:0;
}
.white-box p.counter{
	color:#166de3;
	font-weight:bold;
	font-size:42px; 
}
 
 
 
/* GRID 7 */

.grid7{ 
	padding:70px 0 80px;
	overflow:hidden; 
	text-align:center;	
}   

.grid7 img{
	max-height:60px;
}

.carousel-control.right,
.carousel-control.left{
	background:none;
}

.carousel-control{
	width:40px;
}

.carousel-inner>.item{
	padding:0 40px;
}

.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev{
    left: 0;
    margin-left: 0;
    color: #ffffff;
    font-size: 10px;
    padding: 10px;
    background: #ffffffa6;
    border: solid 1px #d1d1d1;
}

.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
    margin-right: 0;
    margin-left: 0;
    color: #fe7c1f;
    right: 0; 
    color: #ffffff;
    font-size: 10px;
    padding: 10px;
    background: #ffffffa6;
    border: solid 1px #d1d1d1;
}



/* GRID 6 */

.grid6{ 
	padding:40px 0 45px;  
	background:#166de3;
	overflow:hidden; 
	margin-top:30px;
	text-align:center;
}

.home .grid6{ 
	margin:0;
}

.grid6 h5{
	padding:0;
	margin:0 20px 0 0;
	background:none;
	border:none;
	color:#FFF;
	font-size:32px;
    line-height: 37px;
	font-weight:normal; 
	display:inline-block;
	font-weight:500;
    vertical-align: middle;
}
.grid6 strong{
	margin:0 10px;
}  

.margin-bottom2{
	margin-bottom:50px;
}

blockquote{
	background:#ae1c28;
	margin-bottom:30px;
    padding: 25px 20px 10px;

}
blockquote p strong{
	color:#FFF;
}
blockquote p a{
	color:#242366;
}

/* MAPA */

.mapa{
	overflow:hidden; 
	margin-bottom:-6px;
	border-top:solid 2px #166de3;
}

.mapa iframe{
    margin-top: -48px;
}

.mapa .i4ewOd-pzNkMb-haAclf{
	display:none !important;
}

/* PAGE */


.page-top{ 
	text-align:center;
	margin-bottom:60px;
	background:#f5f5f5;
	background-size:cover;
    padding-top: 150px;
	padding-bottom:30px;
}
.page-top h1{ 
    font-weight: 700;
	min-width:100px; 
    font-size: 28px;
    margin: 0 0 10px;
    color: #333333; 
    display: inline-block;
    padding: 0 0 20px;
}
.breadcrumbs{
	font-size:12px;
}

.breadcrumbs a:hover{
	color:#166de3;
} 

.icon-date,
.icon-author,
.icon-cat{ 
	padding:10px 15px 10px 35px;
	font-size:0.9em;
	color:#7b7b7b;
	font-weight:bold;
	display:inline-block; 
}
.icon-date{
	background:url(images/date.png)no-repeat left 10px center #F4F4F4;
	margin-right:10px;
}
.icon-author{
	background:url(images/author.png)no-repeat left 10px center #F4F4F4;
	margin-right:10px;
}
.icon-cat{
	background:url(images/cat.png)no-repeat left 10px center #F4F4F4; 
}
.icon-cat a{
	font-size:0.9em;
	color:#7b7b7b;
	font-weight:bold;
}

.wpis{
	margin-bottom:20px;
	text-align:center;
}
 
.wpis-wrap{ 
	border:solid 1px #d4dee5;

}
.wpis-wrap img{
-webkit-transition:all .5s;
-moz-transition:all .5s;
transition:all .5s;
}
.wpis-wrap img:hover{
	opacity:0.6;
}

.wpis:nth-of-type(3n+1){
	clear:both;
}

.home .wpis:nth-of-type(3n+1){
	clear:none;
}
 
.box h5 a{
    color: #FFF;
    font-weight: normal;
    font-size: 16px; 
    min-height: 58px;
	padding:10px;
    display: block;
    background: #006de6;
}
.box h5 a:hover{
	color:#FFF;
	background:#312b51;
}
.box h5{
	margin-bottom:10px;
	margin:0;
	font-size:12px;
	line-height:1.2;
}

.tumb-sm{ 
	overflow:hidden;
    display: block;
}
.tumb-sm img{
	width:100%;
}

/* INNE */

.margin-bottom{
	margin-bottom:40px;
}
.margin-bottom2{
	margin-bottom:40px;
}

.post-comments{
	padding-top:30px;
}

	
/* PAGINACJA */


.paginacja {
	margin:30px 0 0;
	padding-bottom:30px;
}

.paginacja ul {
text-align:center
}
.row-padding  .paginacja ul li {
display:inline-block;
margin:0 2px;
padding:0;
}

.paginacja ul li a,.paginacja ul li span {
padding:10px 12px;
display:inline-block;
float:right;
font-weight:bold;
font-size:1em;
line-height:1.2;
-webkit-transition:all .5s;
-moz-transition:all .5s;
transition:all .5s;
background:#FFF;
border:solid 2px #166de3;
color:#166de3; 
}

.paginacja ul li span {
font-weight:bold;
background:#166de3;
color:#FFF;
text-decoration:none;
border:solid 2px #166de3;
}

.paginacja ul li a:hover {
background:#166de3;
color:#FFF;
text-decoration:none;
border:solid 2px #166de3;
}

label{
   padding: 8px 0;
}

/**
 * 4.2 Navigation
 * ----------------------------------------------------------------------------
 */
 
 
.main-navigation { 
	margin: 20px 0 0;
	float:right;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}

ul.nav-menu,
div.nav-menu > ul {
	margin: 0;
	padding: 0;
	list-style:none;
}

.nav-menu li { 
	float:left;
	margin:0 4px;
}

.nav-menu li a {
    color: #777777;
    font-size: 14px;    
	display:block;   
    padding: 8px 8px;
	font-weight:bold; 
	border:solid 1px #FFF;
	text-transform:uppercase;
	background:rgba(255,255,255,0);
	text-decoration: none;  
    overflow: hidden;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}  

.nav-menu > li:hover > a,
.nav-menu > li a:hover,
.nav-menu > li:focus > a,
.nav-menu > li a:focus,
.nav-menu > li.current-menu-item > a{
	color:#312b51;
	border:solid 1px #166de3;
}

.nav-menu li:last-child{
	margin-right:0;
}
 

.nav-menu .sub-menu,
.nav-menu .children {
    border: 0; 
    text-align: left;
    padding: 0;
    margin: 0;
    position: absolute;
    z-index: 99999;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
	box-shadow: 0px 0px 3px 0px rgba(1, 2, 2, 0.25); 
}

.nav-menu .sub-menu ul,
.nav-menu .children ul {
	border-left: 0;
	left: 100%;
	top: 0;
}
.nav-menu .sub-menu  li,
.nav-menu .children  li{
	display:block;
	width:100%; 
	margin:0; 
	float:none;
}

ul.nav-menu ul a,
.nav-menu ul ul a {  
	padding:12px 15px;
	display:block;
	color:#000;
	margin: 0; 
	background:#FFF; 
	border:none;
	line-height:1.2;
	width:260px;
	font-size:13px;
	letter-spacing:0;
	font-weight:normal;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
  background: #166de3;
  color:#FFF;
	border:none;
}

ul.nav-menu li:hover > ul,
.nav-menu ul li:hover > ul,
ul.nav-menu .focus > ul,
.nav-menu .focus > ul {
	clip: inherit;
	overflow: inherit;
	height: inherit;
	width: inherit;
} 
.menu-toggle {
	display: none;
}


/**
 * FOOTER
 * ----------------------------------------------------------------------------
 */

.footer{ 
	background:#28282c;
	font-size:14px;
}

.footer .sep{
	float:left;
	margin-right:10px;
	border:none;
	padding:0;
}
.footer .sep a{
	padding:8px 10px;
	display:block;
	background:#3e3e42;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out; 
}
.footer .sep a:hover{
	background:#166de3;
}

.icons-kontakt img{
	background:#28282c;
	margin:0 15px 0 0;
}
.icons-kontakt p{
	color:#8b8b8b;
	font-weight:bold;
	text-transform:uppercase;
}

.grid_footer{
	padding:70px 0 50px;
	color:#FFF;  
	overflow:hidden;
}

.grid_footer p{
	color:#cfd0d5;
}

.grid_footer a{ 
	color:#cfd0d5;  
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out; 
}

.grid_footer a:hover{
	text-decoration:none;
	color:#FFF;
}

.grid_footer .fcontact img{
	margin-right:15px;
	margin-top:-2px;
}

.fcontact p{
	font-weight:bold;
	text-transform:uppercase;
}

.footer .widget-title{ 
	color:#FFF;
	font-size:16px;
	text-transform:uppercase; 
	margin:0 0 25px;
	font-weight:bold;
	line-height:1.4;
	padding-bottom:16px;
	background:url(images/h5.png)no-repeat left bottom;
}

.footer ul{
	color:#aaaaaa; 
	list-style:circle;
	padding:0 0 0 20px;
	margin:0;
}
.footer ul  li{
	margin:0 0 12px; 
	padding-right:20px;
}  
.footer ul.menu  li{
	width:50%;
	float:left;
}
 
.footer ul .sub-menu{
	display:none;
}
 
.copyright{
	padding:20px 0; 
	background:#1c1d20; 
}

.copyright p{
	color:#8b8b8b;
	text-transform:uppercase;
	margin:0; 
	font-size:12px;
    text-align: inherit;
}
.copyright a{
    color: #8b8b8b;
	font-weight:bold;
	opacity:0.5; 
	font-size:12px;	
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
.copyright a:hover{
	text-decoration:none;
	opacity:1;
}

/* PAGE */

.wpcf7 p{
	margin-bottom:10px;
}
.wpcf7 input{
	width:100%;
}
input.wpcf7-form-control.wpcf7-submit{ 
	width:auto;
}
 
/**
 * 5.4 Galleries
 * ----------------------------------------------------------------------------
 */

.gallery {
	margin-bottom: 20px; 
}

.gallery-item {
	float: left;
    margin: 0 18px 30px;
	overflow: hidden;
	position: relative;
} 

@media (max-width: 1200px){ 
	 .nav-menu li { 
		margin:0;
	}
	 .nav-menu li a { 
		font-size: 10px;
	}
	.logo {
		margin: 15px 0;
	}
	.navi {
		text-align: center;
		background: #006de6;
	}
}


/* Collapse oversized image and pulled images after iPad breakpoint. */
@media (max-width: 990px) {

	.logo{ 
		margin:20px 0;
	}
	 
	.grid1-wrap p.grid1-white{ 
		min-height: none;
	}
	
	header.shrink .logo img{
		width:auto; 
	}
	
	header.shrink .logo {
		margin: 20px 0;
	}
	
	.grid1 .col-md-4{
		margin-bottom:20px;
	} 
	
	.grid1{
		margin:0;
		padding-top:50px;
	}
	
	.grid2 .container{
		background:#FFF;
	}
	
	.grid3{
		background:#f9f9f9;
	} 
	.grid4 .col-md-6,
	.grid3 .col-md-6 {
		padding-left: 15px;
		padding-right: 15px;
	}
	.navi{
		text-align:center !important;
	}
	.text-right{
		text-align:center;
	}  
	
	.paginacja{
		margin-bottom:30px;
	}
	
	.slider{
		padding:0;
	}
	
	#top{
		position: relative; 
		right: auto; 
		left: auto;
		z-index: 1030;
		transition: all 0.5s ease-in-out;
		-moz-transition: all 0.5s ease-in-out;
		-webkit-transition: all 0.5s ease-in-out;
		-o-transition: all 0.5s ease-in-out;
	} 
	
	.page-top {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	
	.main-navigation{ 
		margin: 25px 0 0;
	} 
	header.shrink .main-navigation {
		margin-top: auto;
	}
	
	/* Small menu */
	
	.toggled-on .nav-menu, .toggled-on .nav-menu > ul {
		display: block;
		width: 100%;
	}
	.menu-toggle,
	.menu-toggle:hover,
	.menu-toggle:focus,
	.menu-toggle:active { 
		border: none;
		color: #FFF;
		display:inline-block;
		font-weight: 700;
		font-size:12px;
		border: solid 1px #166de3;  
		line-height: 1;
		padding: 12px 40px 12px 20px;
		background:url(images/menu.png)no-repeat right 15px center #166de3; 
		margin-bottom:5px;
	}
	
	#top .col-md-8{
		position:inherit;
	}	
	
	ul.nav-menu{
		position: absolute;
		left: 0;
		padding: 0;
		background: #fff;
		text-align:center;
		width: 100%;
		opacity: 1; 
		z-index: 9999;
		margin:15px 0 0; 
		box-shadow: 0 2px 5px rgba(0,0,0,0.1);
		-moz-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
		-webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	}
	.nav-menu li {
		margin:0;
		float:none;
	}
	.nav-menu li.menu-item-has-children > a {
		padding: 13px 15px; 
	} 
	
	.nav-menu li a{
		border-bottom: solid 1px #EBEBEB;
		line-height: 1; 
		font-size:15px;
		color:#000;
		height:auto;
		display:block; 
		padding: 13px 15px;
	}
	.nav-menu li a:hover{ 
		border-bottom: solid 1px #EBEBEB;
	}
	.toggled-on .nav-menu,
	.toggled-on .nav-menu > ul {
		display: block; 
		width: 100%;
	}

	.toggled-on li,
	.toggled-on .children {
		display: block;
	}

	.toggled-on .nav-menu li > ul {
		background-color: transparent;
		display: block;
		text-align:center;
		float: none; 
		position: relative;
		left: auto;
		top: auto;
	}

	.toggled-on .nav-menu li > ul a {
		width: auto;
	}

	.toggled-on .nav-menu li:hover > a,
	.toggled-on .nav-menu .children a {
		background-color: transparent;
		color: #141412;
	}

	.toggled-on .nav-menu > li a:focus,
	.toggled-on .nav-menu > ul a:focus,
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background:#166de3;
		color: #FFF;
	}
 
	ul.nav-menu,
	div.nav-menu > ul {
		display: none;
	}
	
}

/* Mobile devices */
@media (max-width: 766px) {
  
	 
	.only-desktop{
		display:none !important;
	}
	
	.copyright img{
		margin:0 !important;
	}
	
	.copyright{
		text-align:center !important;
	}
	
	.grid_footer ,
	.grid_footer p{
		text-align:center;
	}
	
	.footer .sep{
		float: none;
		margin: 0 10px; 
		display: inline-block;
	}
	
	.footer{
		text-align:center;
	}
	
	.grid1 .col-md-4 {
		padding:0 15px;
	}
	.main-navigation {
		margin: 19px 0 0;
	}
}
	
/* Mobile devices */
@media (max-width: 500px) {

	.entry-thumbnail{
		margin-bottom:15px;
	} 
	
	.grid2 .row{
		margin:0;
	} 
	
	.grid6 h5{
		font-size:22px;
		margin:0 0 10px;
		display:block;
	}	
	.grid6 h5 strong{
		display:block;
	}
	 
}