.page-clean h1, .page-clean h2, .page-clean h3, .page-clean h4, .page-clean h5, .page-clean h6 {
    font-weight: 700;
    text-align: left;
}

.page-clean ol {
    list-style: decimal;
    padding: 15px;
}

.page-clean ul {
    list-style: disc;
    padding: 15px;
}

.slider li {
    background-position: center center;
}

h3, h4 {
	margin-top:10px;
}

li {
	line-height: 20px;
}

.zapis {
    font-size: 1.12rem;
    font-weight: 700;
    color: #3156A3;
}

.zapis {
    font-size: 1.12rem;
    font-weight: 700;
    color: #3156A3;
}

.home_box {
    width: 197px;
    height: 169px;
    padding: 21px 25px 30px;
}

.home_box h2 {
    font-size: 21px;
}

.home_box h1 {
    font-size: 26px;
}

.service-speciality {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 18px 25px;
    position: relative;
    color: #6B7786;
    border: 1px solid #DADADA;
    border-bottom: none;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.service-speciality .button {
    width: 140px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 6px;
    background-color: #00AA8A;
    padding-left: 25.5px;
    padding-right: 25.5px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 46px;
    color: #fff;
    border: none;
    padding: 0;
    outline: 0;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -ms-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media screen and (max-width: 1009px) {
    .home_box {
        width: 305px;
        padding: 20px 33px 33px;
    } 
    .home_box h1{
        padding-top: 50px;
    }
}

@media screen and (max-width: 767px) {
    .home_box {
        width: 416px;
    } 
}

@media screen and (max-width: 479px) {
    .home_box {
        width: 254px; 
    }
}

.gallery_box .social_icons, .gallery_item_details_list .social_icons {
    margin-top: 10px;
    position: relative;
    top: -50px;
    text-align: center;
}

.social_icons li {
    float: initial;
    margin-left: 5px;
}

.sf-menu li.submenu:hover ul {
    z-index: 6;
    width: 300px;
}
.sf-menu li ul.wide li {
    width: 270px;
}

.gallery_box img {
    display: block;
    object-fit: cover;
    width: 225px;
    height: 250px;
    background: url(../images/preloader.gif) no-repeat center center;
}

/* fluid 5 columns */
.grid-sizer,
.grid-item { width: 20%; }
/* 2 columns */

.grid-item--width20 { width: 20%; }
.grid-item--width40 { width: 40%; }
.grid-item--width60 { width: 60%; }
.grid-item--width80 { width: 80%; }
.grid-item--width100 { width: 100%; }

.sf-menu li:hover ul a, .sf-menu li.submenu:hover ul a {
    color: #005dc2;
 }


@media screen and (max-width: 479px) { 

	.grid-item--width20 { width: 100%; }
	.grid-item--width40 { width: 100%; }
	.grid-item--width60 { width: 100%; }
	.grid-item--width80 { width: 100%; }
	
}

.grid-item a {
  width: 99%;
}

.grid-item a img{
  width: 99%;
}

.footer_box p {
    color: #fff;
}

.is-banner.mini-banner {
    width: 100% !important;
}


.sf-menu li ul li {
    width: 250px;
    height: auto;
    margin-left: 0;
    background-color: #fff;
    padding: 0 15px;
}

.sf-menu li a, .sf-menu li a:visited {

    padding: 4px;
	font-size: 13px;

}

.slide-container {
    position: relative;
    width: 100%;
}

.slide-container img 
{
    width: 100%;   
}

.slide-container .slide-caption 
{
    padding: 20px;
    position: absolute;
    top: 0;
}

.slide-container .slide-caption h1 {
    font-size: 42px;
    color: #FFF;
    text-shadow: 1px 2px 1px #4a4a4a;
}

.slide-container .slide-caption .p {
    margin-top: 99px;
    line-height: 150%;
    color: #FFF;
    font-size: 16px;
    text-shadow: 1px 2px 1px #4a4a4a;
}

.slider_content h1,
.slider_content .subtitle 
{
    text-shadow: 1px 2px 1px #4a4a4a;
}

.slider_content:first-child {
    display: block;
}

@media screen and (max-width: 1009px) {
    
    .slider_content .subtitle {
        font-size: 16px;  
    }
    .slide-container .slide-caption .p {
        display: none;
    }
    
    .slider_content h1,
    .slide-container .slide-caption h1 {
        font-size: 32px;
        
    }
        
}

@media screen and (max-width: 479px) { 

    .slider_content .subtitle {
        display: none;
    }

    .slider_content h1,
    .slide-container .slide-caption h1 {
        font-size: 25px;
        
    }
}

.slider li {
    background-position: center center;
}


.bread_crumb {
    margin-left: 0;
}

.gallery_item_details_list .details_box {
    width: 680px;
    max-width: 100%;
}

.page_left li {
    margin-top: 10px;
    margin-bottom: 10px;
}

ul.arrow li {
    padding: 0px;
    list-style-type: none;
    background: url(/assets/images/point_arrow.gif) 0px 6px no-repeat;
    padding-left: 12px;
}

.timetable th:first-child, .timetable td:first-child {
    width: 16%;
}

.timetable th, .timetable td {
    width: 12%;
}

.timetable {
    font-size: 13px;
}

.footer_contact_info_container, 
.timetable .small{
    font-size: 11px;
}

img.gu {
    width: 200%;
}

@media screen and (max-width: 1009px) {
    .gallery_item_details_list .details_box {
        width: 452px;
    }
    
    .timetable {
        font-size: 11px;
    }  
    
    .blog.column_right {
        width: 226px;
    }    
        
}

@media screen and (min-width: 767px) and (max-width: 1009px) {
    .slider_content {
        padding: 50px;
    }
}

@media screen and (max-width: 767px) {
    img.gu {
        width: 100%;
    }

}