@media (max-width: 520px) 
{
body
{
font-size: 12px;
padding-top: 124px;
}
li {
    line-height: 1.3;
}
.container {
    margin-left: 15px;
    margin-right: 15px;
}


.header-title > h2 {
    margin-left: 15px;
    border-radius: 4px;
    font-size: 110%;
    line-height: 18px;
    letter-spacing: 1px;
}

.header-description > h4 {
    margin-left: 15px;
    font-size: 100%;
    font-weight: 200;
    line-height: 1.4;
}

.logo {
    position: absolute;
    right: 0;
}

.logo img {
    height: 24px;
    width: auto;
}
.nav-container .social-box {
    position: absolute;
    right: -15px;
    top: 59px;
}


li.nrw-icon a.social-icon-facebook img, li.nrw-icon a.social-icon-twitter img {
    width: 14px;
}

li.nrw-icon a {
    color: #fff;
    display: block;
    height: 100%;
    line-height: inherit;
    padding: 0;
    text-decoration: none;
    width: 100%;
}
li.nrw-icon {

    border-radius: 11px;
    color: #fff;
    float: left;
    font-size: 95%;
    height: 22px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    width: 22px;
}

.front h3.teaser-title {
    height: auto;
    line-height: 28px;
    overflow: hidden;
    margin: 0;
}
.feed-item-description {
    display: none;
    height: auto;
}


#featured img {
    width: 100%;
}
footer
{
    padding-top: 35px;
    padding-bottom: 35px;
}

.footer ul {
    margin-bottom: 0;
}

.footer .nav > li {
    width: 48%;
     margin-left:0px;
    padding-right: 2%;
}
#copyright {
    margin-top: 0px;
    padding-top: 0px;
    display: block;
    float: left;
    width: 100%;
}

#kontakt-data {
    width: 100%;
    padding-bottom: 15px;
}
#kontakt-form {
width: 100%;
}

#copyright hr {
    padding-top: 0px;
}

.pull-left {
    float: none;
}
.container .pagination ul > li > a, .pagination ul > li > span {
    background-color: #FFFFFF;
    border: 0 solid black;
    color:black;
    float: left;
    line-height: 24px;
    padding: 4px 12px;
    text-decoration: none;
}
.pagination ul > li >a div.icon
{
  border-radius: 15px;  
     height: 24px;
     width: 24px;
}
/*Slider*/
div.ubg-iosslider-wrapper div.ubg-iosslider-slide-wrapper div.ubg-iosslider-fields-wrapper div.field 
{
    display:none;
}
div.ubg-iosslider-controller-wrapper div.ubg-iosslider-controller-inner {
    padding: 2em 0.5em;
}
/*----------JEvents-------------*/

#jevents_header td, #jevents_header tr, div.ev_navigation tr, div.ev_navigation td {
    border: medium none;
    display: inline-table;
	margin-right:10px;
}
#jevents_body .iconic_td
{
margin-left:20px;
}
.cal_div_weekrow {
    display: inline-table;
	margin: 0 0 20px;
}
.cal_div_weeklink {
    display: none;
}
.cal_div_weekrow div {
    border: 1px solid #CFCFCF;
    width: 80px;
	height: 80px;
}

.cal_div_daysnoevents > span {
    border-color: #fff;
	border:0px;
    padding: 0 !important;
}

.cal_div_weekrow .divclear {
    display: none;
}
.cal_div_weeklink > span {
    display: none;
}
#monthyear {
 margin-left: 0px;
 
}
.cal_div_daysoutofmonth {
    display: none;
}
.cal_div_daysoutofmonth > span ,.cal_div_daynames 
{
text-indent:-9999px;

}
#jevents_body a.cal_titlelink:link,#jevents_body a.cal_titlelink:visited,#jevents_body a.cal_titlelink:hover
{
font-family:'CDUKievit';
font-size:0.8em;
}
.cal_div_daysnoevents div div {
    height: 60px!important;
    width: 50px!important;
}   
.cal_div_daysnoevents span > div {
    height: 60px!important;
    width: 60px!important;
	border:0px;
}
.cal_div_today > span {
    background-color: #FFCC99;
    border-color: #CFCFCF;
    border-style: solid;
    border-width: 1px 1px 0 0;
    height: 80px !important;

}


.normal-calendar {
    display: none;
}

.mobile-calendar {
    display: block;
}

/*Phoca JAK lightbox*/

div.window-container {
background-color: #000000;
    left: 0 !important;
	width:100%;
}

.window-container td {
    width: 320px;
}


.lightBox .image-browser-image {
    width: 100%!important;
	height:240px!important;
}
.lightBox .image-browser-image  img{
    width: 100%!important;
	left:0px!important;
	top:0!important;
}

.lightBox .image-browser-close {
   
	left:270px;

}

.image-browser-slideshow-play
{
top: 200px!important;
}

.lightBox {
    width: 320px!important;
	height:auto!important;
}


/* kontact form  */

input#inputName ,#inputEmail{
    width: 250px;
	max-width:100%;
    border-radius: 8px;
	height: 35px;
}

input#selectSubject[type="text"] {
    max-width: 250px;
    width: 100%;
	border-radius: 8px;
	height: 35px;
}


#inputMessage {
    max-width: 250px;
    width: 100%;
	border-radius: 8px;
}



}
