/* ---------------------------------------
	Responsive design code
-----------------------------------------*/


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




#wrapper {
    width: 100%;
    margin: 50px auto;
}
.moduletable_hod {
    width: 280px;
    position: absolute;
    top: -25px;
    right: 150px;
    background: url(../images/ppo.png)	top center no-repeat;
    z-index: 2;
    height: 70px;
}

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

.napis {
    background: url(../images/ppo1.png)	center center no-repeat;
    width: 400px;
    height: 250px;
    margin-top: 250px;
	background-size: 395px auto;
}
.napis h1 span {
    font-family: 'Cent I';
    font-size: 16px;
    font-weight: normal;
    color: #9C2656;
}
.napis h1 {
    font-family: 'Cent I';
    font-size: 20px;
    font-weight: normal;
    color: #fff;
    margin-left: 50px;
    padding-top: 70px;
    display: block;
}
}
@media screen and (max-width: 1150px) {
#wrapper {
    width: 96%;
    margin: 50px auto;
}
#mainbanner {
    width: 96%;
    
}
#center {
    margin: 50px auto;
    width: 96%;
}
#footer div.moduletable, #footer div.module, #footer div.moduletable_menu, #footer div.module_menu {
    text-align: left;
    width: 96%;
    margin: 30px auto;
}
}

@media screen and (max-width: 950px) {
#nav2 div.moduletable, #nav2 div.module, #nav2 div.moduletable_menu, #nav2 div.module_menu {
    text-align: left;
	float: left;
    text-align: left;
	top: 100px;
	position: relative;
	right: -100px;
}

.stlp1 {
    width: 100%;
    float: left;
    margin-right: 0%;
}
.stlp2 {
    width: 100%;
    float: left;
	margin-top: 30px;
}
.stlp2 img {
    width: 60%;
    float: left;
}
.ponuka {
    width: 46%;
    float: left;
    margin-right: 2%;
    background: #fff;
    padding: 1%;
	margin-bottom: 20px;
}
.napis {
    background: url(../images/ppo1.png) center center no-repeat;
    width: 400px;
    height: 200px;
    margin-top: 190px;
    background-size: 395px auto;
}
.napis h1 {
    font-family: 'Cent I';
    font-size: 20px;
    font-weight: normal;
    color: #fff;
    margin-left: 50px;
    padding-top: 30px;
    display: block;
}
}

@media screen and (max-width: 758px) {
.fotky img {
    width: 45%;
    float: left;
    margin-right: 2%;
    border: 8px solid #fff;
	margin-bottom: 20px;
}
.pata1 {
    width: 100%;
    float: left;
    margin-right: 0%;
}
.napis {
    background: url(../images/ppo1.png) center center no-repeat;
    width: 400px;
    height: 200px;
    margin-top: 220px;
    background-size: 395px auto;
}
/*.flexiblemodule {
	width: 50% !important;
}

.flexiblemodule > div.inner {
	margin: 5px !important;
}

.column .moduletable, .column .moduletable_menu {
	float: left;
	width: 45% !important;
	margin: 10px 0 0 0 !important;
	padding: 2% !important;
}

.column div.moduletable:first-child, .column div.moduletable_menu:first-child {
	margin-right: 2% !important;
}*/

.moduletable_hod {
    width: 220px;
    position: absolute;
    top: -25px;
    right: 70px;
    background: url(../images/ppo.png)	top center no-repeat;
    z-index: 2;
    height: 70px;
	 background-size: 220px auto;
}
.hh {
    font-family: 'Open bold';
    margin-left: 50px;
    color: #fff;
    font-size: 16px;
}
}

@media screen and (max-width: 524px) {
#logo img {
    width: 110px;
	margin-bottom: 40px;
	
	}
#nav2 div.moduletable, #nav2 div.module, #nav2 div.moduletable_menu, #nav2 div.module_menu {
    text-align: left;
    float: left;
    text-align: left;
    top: 70px;
    position: relative;
    right: 0px;
}	
.stlp2 img {
    width: 100%;
    float: left;
}
.fotky img {
    width: 94%;
    float: left;
    margin-right: 2%;
    border: 8px solid #fff;
	margin-bottom: 20px;
}
.napis {
    background: url(../images/ppo1.png) center center no-repeat;
    width: 255px;
    height: 150px;
    margin-top: 150px;
    background-size: 260px auto;
}
.napis h1 {
    font-family: 'Cent I';
    font-size: 14px;
    font-weight: normal;
    color: #fff;
    margin-left: 10px;
    padding-top: 30px;
    display: block;
}
.napis h1 span {
    font-family: 'Cent I';
    font-size: 12px;
    font-weight: normal;
    color: #9C2656;
}
.napis .tlac1 a {
    color: #fff;
    border: 1px solid #fff;
    display: block;
    width: 80px;
    padding: 2px 5px;
    text-align: center;
    font-family: 'Open light';
    margin-left: 10px;
    font-size: 14px;
    margin-top: 20px;
    text-decoration: none;
}
#center {
    margin: 0px auto;
    width: 96%;
}
  .moduletable_hod {
    width: 220px;
    position: absolute;
    top: -25px;
    right: 5px;
    background: url(../images/ppo.png)	top center no-repeat;
    z-index: 2;
    height: 70px;
	 background-size: 220px auto;
}
  .ponuka p {
    height: 120px;
}
}
