/**
 *	Steps
 *
 *
 *
 */
 
@media screen and (max-width : 1366px)  { 

}
 
@media screen and (max-width : 1224px)  {

}
@media screen and (max-width : 1170px)  {
	
	#footer{
		padding-top:15px;
	}
}
@media screen and (max-width : 1160px)  {
	

}
@media screen and (max-width : 1024px)  {
	#head-nav{
		display:none;
	}
	.nav-menu-mobile-container{
		display:block !important;
	}
	.nav-menu-mobile{
		position: absolute;
	    z-index: 999;
	    top: 100px;
		left: 0;
		right: 0;
	}
	#container{
		max-width:960px;
		width:100%;
		margin:auto;
	}
	#wrapper{
		max-width:100%;
	}
	#header-contact{
		position:static;
		float:right;
		padding-top: 33px;
  		padding-right: 10px;
	}
	.lang-selector{
		position:absolute;
		top:10px;
		right:10px;
	}
	.lang-selector div{
		position:static !important;
	}
	#header{
		max-width:100%;
		position:static;
		margin-bottom:0;
	}
	.header-inner{
		position:relative;
	}
	#header h1{
		left:10px;
	}
	#promo-selectors{
		margin-top:70px;
		display:none;
	}
	#promo-slider-responnsive{
		display:block;
		margin-top:70px;
		padding: 10px;
	}
	#promo-slider-responnsive + .clear{
		margin:0 !important;
	}
	#promo-slider{
		display:none;
	}
	.promo-selector .small-photo {
		width: 100%; height: 350px; background: url( ../images/promo-slider/diagnostyka-big.png ) no-repeat;  margin-bottom: 10px; opacity: 1;   background-size: cover !important;
  		background-position: center center;
	}
	.promo-selector#sel-rehabilitacja .small-photo { background: url( ../images/promo-slider/rehabilitacja-big.png ) no-repeat bottom; }
	.promo-selector#sel-psychologia-i-rozwoj-osobisty .small-photo { background: url( ../images/promo-slider/psychologia-big.png ) no-repeat bottom; }
	.promo-selector#sel-medycyna-estetyczna .small-photo { background: url( ../images/promo-slider/estetyczna-big.png ) no-repeat bottom; }
	.promo-selector#sel-konsultacje-specjalistyczne .small-photo { background: url( ../images/promo-slider/konsultacje-big.png ) no-repeat bottom; }
	.promo-selector{
		width:100%;
		margin:0; 
	}
	.promo-selector.current h2{
		height:45px;
		margin-top:0;
	}
	.promo-selector h2{
		border-left-color: #dd0f18;
		font-size:25px;
	}
	#sprawdz-terminy-responsive{
		display:block;
		padding:10px 0;
		max-width:100%;
		clear:both;
	}
	.home #sprawdz-terminy-responsive{
		padding:10px;
	}
	#sprawdz-terminy-responsive a{
		display:block;
		color:#fff;
		padding:15px;
		text-align:center;
		font-size: 16px;
		line-height: 20px;
		background:#da131a;
		position:relative;
		padding-right:45px;
	}
	#sprawdz-terminy-responsive a:after{
		position: absolute;
		top: 50%;
		margin-top:-20px;
		line-height: 40px;
		font-family: "lama-media-font";
		speak: none;
		-webkit-font-smoothing: antialiased;
		content: "i";
		color: #FFF;
		font-size: 24px;
		right:15px;
		display:inline-block;
	}
	#menu-pakiety-responsive{
		display:block;
		padding: 10px;
		padding-top:40px;
	}
	.menu-pakiety{
		position:static;
	}
	#menu-pakiety-responsive ul li{
		display:block;
		border-bottom: 1px solid #dfdddb;
	}
	#menu-pakiety-responsive ul li a {
	  display: block;
	  padding-top: 13px;
	  padding-bottom: 12px;
	  color: #626262;
	  padding-left: 15px;
	  background:rgba(209, 209, 209, 0.2);
	}
	
	.promo-slider-small{
		display:none;
	}
	#main-content {
	  float: left;
	  padding-top: 62px;
	  padding-left: 2%;
	  padding-right:2%;
	  width: 66%;
	  box-sizing: border-box;
	  max-width:100%;
	  overflow:hidden;
	}
	#sidebar{
		width:28%;
		margin-right:2%;
		padding-top: 62px;
	}
	body{
		background:#e7e7e7;
	}
	
	.subpage-content{
		width:50% !important;
	}
	.subpage-content img{
		max-width:100%;
	}
	iframe, img{
		max-width:100% !important;
	}
	#breadcrumb ul{
		width:100%; max-width:685px;
	}
	#main-content h1{
		clear:both;
	}
	.promo-selector.current h2 a{
		color: #535353;
	}
	#footer{
		border-color:#C2C2C2;
	}
	#header-contact #contact a{
	  	color: #d0221f;
	}
	#lightboxOverlay{
		width:100% !important;
	}
}


@media screen and (max-width : 960px)  {
	#one-news{
		width:100%;
		float:none;
	}
	#facebook {
		width:100%;
		float:none;
		padding-top:30px;
		padding-left:10px;
		display:none;
	}
	#bottom-front{
		border:0;
		padding:10px;
	}
}

@media screen and (max-width : 850px)  {
	.footer-logo-description{
		display:none;
	}
	.lama-footer-bright .logo-lama-on-white, .lama-footer-black .logo-lama-on-black{
		float:none;
	}
	.footer-lama {
		float: none;
		padding-top: 10px;
		text-align: center;
		clear:both;
	}
	#footer-menu{
		padding:0 10px;
	}
	#facebook iframe{
		width:100% !important;
	}
	#footer{
		padding-bottom:0;
	}
	.footer-lama{
		padding:15px 0;
		border-top: 1px solid #C2C2C2;
		margin-top:15px;
		padding-bottom: 5px;

	}
}

@media screen and (max-width : 783px)  {

	.logged-in a.menu-trigger{
		top:46px;
	}
}

@media screen and (max-width : 768px)  {
	#sidebar { 
		float: none; width: 100%;  
		padding:10px;
		box-sizing:border-box;
		padding-top:20px;
		margin:0;
	}
	#sidebar div{
		box-sizing:border-box;
	}
	#main-content {
		width: 100%; float: none;
	}
	#content-area { padding-right: 0; }	
	#cont-form input, #cont-form textarea{
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.page-template-formularz-kontaktowy-page-php #main-content div{
		float:none !important;
	}
}

@media screen and (max-width : 640px)  {
	
	#breadcrumbs { display: none; }
	
	.primary-navigation { height: 38px; }
	.primary-navigation .menu-toggle { display: block; }
	.primary-navigation .nav-menu { display: none; }
	
	.gallery br { clear: none !important; }
	.gallery .gallery-item { width: 50% !important; }
	.gallery  img{
		max-width:100%;
		height:auto;
	}
}
@media screen and (max-width : 540px)  {
	
	#header h1{
		width:100%;
		position:static;
		line-height: normal;
		background-position: center;
		padding-top: 20px;
	}
	.nav-menu-mobile{
		top:150px;
	}
	#header-contact {
		position: static;
		float: none;
		padding-top: 10px;
		padding-right: 10px;
		width: 100%;
		max-width: 221px;
		text-align: center;
		margin: auto;
	}
	#promo-slider-responnsive {
  		margin-top: 110px;
  	}
	body .owl-theme .owl-controls .owl-buttons div.owl-prev{
		left:5px;
	}
	body .owl-theme .owl-controls .owl-buttons div.owl-next{
		right:5px;
	}
	body .owl-theme .owl-controls .owl-buttons div{
		width:30px;
		height:30px;
	}
	.promo-selector .small-photo{
		height:300px;
	}
	#main-content{
		padding-top:115px;
	}
	#footer-menu ul li{
		float:none;
	}
}
@media screen and (max-width : 520px)  {
	.footer-copyright{
		float:none;
		text-align:center;
	}
	.footer-lama{
		float:none;
		text-align:center;
		padding-top:15px;
	}
	img.alignright, img.alignleft{
		display:block;
		float:none;
		margin:10px 0;
	}
	#sprawdz-terminy-responsive a{
		font-size:15px;
	}
}

@media screen and (max-width : 480px)  {
	.gallery .gallery-item { width: 50% !important; }
	
	.promo-selector .small-photo{
		height:270px;
	}
	.subpage-content{
		width:100% !important;
	}
}

@media screen and (max-width : 438px)  {
	.header-inner{
		padding-top:20px;
	}
	.nav-menu-mobile {
	  top: 170px;
	}
	#main-content {
	  padding-top: 135px;
	}
	#promo-slider-responnsive {
	  margin-top: 125px;
	}
	#menu-pakiety-responsive h3{
		font-size:16px;
	}
}

@media screen and (max-width : 320px)  {
	
	
}







/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
/* Styles */
}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
/* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
/* Styles */
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
/* Styles */
}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
/* Styles */
}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
/* Styles */
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}
