@charset "utf-8";
/*
Theme Name: Město Otrokovice
Author: Roman Zámečník
Author URI: http://digitalbrain.cz
Description: Šablona vytvořená pro město Otrokovice
Version: 1.0
*/

/* obecné */
* {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: 'Open Sans', sans-serif;
	color: #605f5f;
}
body {
    background: /*url(imgs/bg-body.png) no-repeat*/ #f5f8fa;/*
    background-position: 0 1200px;
    background-size: 100% auto;*/
}
h1, h2, h3, h4 , h5 {

}
p {
    color: #605f5f;
}
a {
    color:  #008fd5;
}
a:hover {
    text-decoration:  none;
}
#content .btn:hover {
    background: #6e991c;
}

/* respnosive slider */
.banner { position: relative; overflow: auto; float: left;   width:  100%;}
    .banner li { list-style: none;     height: 480px;
    background-size: cover;
    background-position: center;}
        .banner ul li { float: left; }

/* dots */
.dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    text-align: center;
}
.dots li {
    display: inline-block;
    width: 10px !important;
    height: 10px !important;
    margin: 0 4px 0 4px;

    text-indent: -999em;

    border: 2px solid #fff;
    border-radius: 6px;

    cursor: pointer;
    opacity: .4;

    -webkit-transition: background .5s, opacity .5s;
    -moz-transition: background .5s, opacity .5s;
    transition: background .5s, opacity .5s;
}
.dots li.active {
    background: #fff;
    opacity: 1;
}

/* slider */
#slider .btn:hover {
    text-decoration:  none;
}

/* výpis článků */
#content {
    float:  left;
    width: 100%;
    padding: 55px 0 0 0;
    text-align:  center;
}
#content h2, #content h1 {
    font-size: 26px;
    margin:  0 0 15px 0;
}
#content h2 a {
    color:  #000;
    text-decoration: none;
    font-weight:  800;
}
#content section {
    margin: 0 0 30px 0;
}
#content section article {
    width: 301px;
    background:  #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin: 15px 6px 0 6px;
    display:  inline-block;
    border: 2px solid #ebf0f4;
    max-width: calc(100% - 16px);
}

#content section article img {
    width: 100%;
    
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    
}
#content section article h3 {
    text-align:  center;
    font-size: 20px;
    color:  #008fd5;
    font-weight:  700;
    padding: 12px 10px 20px 10px;
}
#content section article h3 a {
    text-decoration:  none;
}
#content section article h3 a:hover {
    text-decoration: underline;
}
#content section article p {
    padding: 0 10px 20px 10px;
    text-align:  center;
}
#content section .btn {
    text-align: center;
    display:  inline-block;
    margin:  35px 5px 35px 5px;
    padding: 0px 10px 0px 10px;
    line-height: 35px;
    height:  35px;
    color:  #fff;
    text-decoration:  none;
    background:  #80b025;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 2px 0 0 #638c1c;
    box-shadow: 0 2px 0 0 #638c1c;
}
#content article {
    vertical-align: text-top;
    text-align-last: left;
    
}
#posts-nav a {
    text-align: center;
    display:  inline-block;
    margin:  35px 5px 35px 5px;
    padding: 0px 10px 0px 10px;
    line-height: 35px;
    height:  35px;
    color:  #fff;
    text-decoration:  none;
    background:  #80b025;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 2px 0 0 #638c1c;
    box-shadow: 0 2px 0 0 #638c1c;
}

/* footer */
footer {
    width: 100%;
    float:  left;
    text-align:  center;
    margin: 25px 0 0 0;
}
#map {
    width: 100%;
    display:  inline-block;
    height: 297px;
}
/* footer */
#pata {
    width: 958px;
    max-width: calc( 100% - 16px );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display:  inline-block;
    margin: -55px 0 25px 0;
    background:  #fff;
    border: 2px #ebf0f4 solid;
    padding:  20px 0 35px 0;
    text-align: left;
    vertical-align: text-top;
    z-index: 100;
    position:  relative;
}
#pata h4 {
    font-size:  20px;
    color:  #000;
    margin:  0 0 10px 0;
}

/* download sekce */
#download {
    width: 195px;
    max-width: calc(100% - 55px);
    margin:  20px 0px 0 35px;
    text-align:  left;
    display: inline-block;
    vertical-align: text-top;
}
#download ul {
    list-style-type:  none;
}
#download li {
    margin: 0 0 2px 0;
}
#download li a {
    padding: 0 0 0 25px;
    background: url(imgs/down.png) no-repeat 5px 5px;
}

/* pomůžeme */
#help {
    width: 260px;
    text-align:  left;
    display: inline-block;
    max-width: calc(100% - 20px);
    margin: 20px 0 0 20px;
    vertical-align: text-top;
}
#help p {
    line-height: 22px;
    margin: 0 0 8px 0;
}
#pata .contacts {
    display: inline-block;
    width: 390px;
    margin: 20px 20px 0 20px;
    text-align:  center;
    max-width: calc(100% - 40px);
    vertical-align: text-top;
}
#pata .tel a {
    background: url(imgs/tel-ico.png) no-repeat left;
    padding: 0 0 0 35px;
    min-height: 27px;
    line-height:  27px;
    display: inline-block;
}
#pata .skype a {
    background: url(imgs/skype-ico.png) no-repeat left;
    padding: 0 0 0 35px;
    height: 27px;
    line-height:  27px;
    display: inline-block;
    margin: 10px 0 10px  0;
}
#pata .skype, #pata .tel {
    display:  inline-block;
    margin: 0 15px 0 15px;
}
.drobeckova {
    margin: -12px 0 40px 0 !important;
}

/* pge & single */
.page {
    text-align:  left;
    display: inline-block;
}
.page .tok {
    max-width: 600px;
    width: calc(100% - 20px);
    padding: 0 10px 0 10px;
}
#content section h1 {
    font-size: 28px;
    color: #000;
    font-weight: 800;
    margin: 1em 0 0.5em 0;
    color: #000;
}
#content section h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 1em 0 0.5em 0;
    color: #000;
}
#content section h3 {
    font-size: 22px;
    font-weight: 800;
    color: #008fd5;
    margin: 0.8em 0 0.3em 0;
}
#content section h4 {
    font-size: 20px;
    font-weight: 800;
    margin: 1em 0 0.3em 0;
    color: #000;
}
#content section h5 {
    font-size: 18px;
    font-weight: 800;
    margin: 7px 0 5px 0;
    color: #000;
}
#content section h6 {
    font-size: 16px;
    font-weight: 800;
    margin: 7px 0 5px 0;
    color: #000;
}
#content section p {
    margin: 0 0 12px 0;
}
#content section ul li {
    list-style-type: none;
    padding: 1px 0 0 28px;
    margin: 3px 0 0 0;
    min-height: 25px;
    background: url(imgs/done.png) no-repeat 0 5px;
}
#content section ul {
    margin: 0 0 12px 0;
}
#content section ol {
    list-style-position: inside;
    margin:  0 0 12px 0;
}
#content section ol li {
    margin: 3px 0 0 0;
}
#content section img {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    max-width: 100%;
    height: auto;
}
blockquote {
    padding:  0 15px 0 15px;
    font-style: italic;
}
#content .gallery img {
    border: 2px solid #ebf0f4 !important;
}
#content .gallery img:hover {
      border: 2px solid #008fd5 !important; 
}
#content .gallery {
    margin: 0 0 15px 0;
}
#content .datum-pole {
    font-size: 12px;
    line-height:  14px;
    height: 14px;
    padding: 0 0 0 17px;
    background: url(imgs/date.png) no-repeat left;
    width: auto;
    display: inline-block;
    position:  relative;
    top: -20px;
    margin:  0;
}
/* This element holds injected scripts inside iframes that in some cases may stretch layouts. So, we're just hiding it. */
#fb-root {
  display: none;
}
 
/* To fill the container and nothing else */
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
  width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.contacts a {
    color:  #3e3e3e;
    text-decoration: none;
}

#slider .stin-zelena {
    background: url(imgs/zelena-stin.png) no-repeat right bottom;
    padding: 0 0 180px 0;
    width: auto;
}
#slider div {
    width: 100%;
}
#slider .stin-modra {
    background: url(imgs/modra-stin.png) no-repeat right bottom;
    padding: 0 0 126px 0;
    width: auto;
}
#content section article h3 {
    margin: 7px 0 0 0;
}
.fb-like {
    margin: 0 0 15px 0;
}
#logo-m {
    display:  none;
}
#fb-orez {
    display: inline-block;
    width: 100%;
    overflow:  hidden;
}
nav li a {
white-space: nowrap;
}

/* page-menu */
#content section {
    display: inline-block;
}

#content section.page-content {
    width: 700px;
    max-width: 100%;
}

#content section.page-menu {
    vertical-align: top;
}


#content section.page-menu ul li {
    background-image: none;
    background: #16a1e4;
    margin: 0;
    text-align: left;
    padding: 0;
}

#content section.page-menu ul li a {
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 7px 20px;
}

#content section.page-menu ul li.current-menu-item {
    background: #0091d4;
}

.home-link {
}

.home-link a:before{
    content: "";
    display: inline-block;
    width: 20px;
    height: 17px;
    background-image: url(imgs/home-link.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}