/*
Custom dodělávky pro child theme native church, aka svoboda uceni
Jsou zde i wysiwyg doplnění pro editor
*/

/* --- globální barvy --- */

/* 
šedivá        #e8e8e8
světlemodná   #00aeef
tmavěmodná    #016cb7
tmavášedá footer  #3d3d3d
třetí modrá nový design rgba(33,150,198,1)
*/

/* @import url(https://fonts.googleapis.com/css?family=Raleway:400,100,100italic,200,200italic,300,300italic,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic&subset=latin,latin-ext); */
/* @import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:300,500&subset=latin-ext'); */


@font-face {
font-family: Montserrat;
src: url(http://www.svobodauceni.cz/wp-content/themes/fonts/Montserrat-Regular.ttf);
font-weight: normal;
}

@font-face {
font-family: Nuckle;
src: url(http://www.svobodauceni.cz/wp-content/themes/fonts/nuckle_book.otf);
font-weight: normal;
}


body,p,a,h1,h2,h3,h4,h5,h6,
.post-content p, .post-content ul li,
blockquote p, .cursive, .meta-data, .fact, a.btn
{ font-family: 'Montserrat', sans-serif !important; }

html {background-color:transparent;} 
body {background-color:#eeeeee;} 
html *{font-size:16px;line-height:1.5;} /* base */

@media (max-width: 768px) {html *{font-size:18px;line-height:1.4;}}
@media (max-width: 480px) {html *{font-size:20px;line-height:1.3;}}


/* --- základní vzhled --- */

/*.body ol.breadcrumb {padding-top: 0px !important;} */

b,strong,.post-content strong{font-weight:700;font-size: inherit;}
i{font-style:italic;font-size: inherit;}
em{font-style:italic;font-size: inherit;color:#000 !important;}
a, a:visited, p a {font-size: inherit;}


article p, .post-content p { font-size:16px;
    padding-top:.5em;
    padding-bottom:.5em;
    font-weight:400;
    color:#000;
    line-height:1.6;
    margin: 0;
    text-align:justify;
    letter-spacing: 0.25px; /* ano? */
}

.page-header h1, h1 {
    text-transform: initial;
    color: #ffffff;
    color: black;
    text-align: center;
    font-size:3em;
/*    padding-top:50px; */
    padding-bottom: 0em;
}

h2 {
    font-size:2em;
    padding-top:0em;  
    padding-bottom:1em;
}

h3,.rp4wp-related-post-content a {
    font-size:1.4em;
    padding-top: 0.4em;
    color: #000;
}

h4 {
    font-size:1.2em;
    padding-top: 0.4em;
    font-weight:700;
}

h5 {
    font-size:1em;
    color: #00aeef;
    padding-top: 0.4em;
    font-weight:900;
    letter-spacing: .05em;
}

h6 {
    font-size:1em;
    padding-top:0.4em;
    padding-bottom:.5em;
    font-weight:600;
    font-style: italic;
    color:black; /* #016cb7; */
/*    text-align: center; */
}

address {
    text-align: justify;
    font-size: 90%;
    color: #000;
}


/* [class*='h'] a {font-size: inherit;} ne, nefunguje h1 */
h2 a, h3 a, h4 a, h5 a, h6 a, address a {font-size: inherit;} 

.col-md-12 li {list-style: disc;list-style-position: outside;margin-left: 18px;}
.page-content ul li {color:black; list-style: initial;margin-left: 15px;}
.page-content ol li {margin-left: 30px;}

/* .main {background-color:#e8e8e8;background-image:url(/wp-content/uploads/2017/02/podklad.jpg);} */
/* .nav-backed-header.parallax { background-color: #e8e8e8 !important; } */
/* .page-header { background: #e8e8e8; box-shadow: none;} */
.notice-bar,.page-header {background: transparent;padding: 20px 0;box-shadow: none;}

.grid-item-inner {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background: transparent !important;
    padding: 15px;
}

ol.breadcrumb {padding: 90px 0 00px 0;}
ol {list-style: decimal outside;color:black;}


/* --- komentáře --- */

.comments-link {
    display: none;
    visibility: hidden;
}

/* --- podklad jednotl. stran --- */

.content .col-md-12 {
    padding: 30px;
    margin-top: 24px;
}


@media (max-width: 768px) {
.content .col-md-12 {padding: 28px; margin-top: 0px;}
}

@media (max-width: 470px) {
.content .col-md-12 {padding: 2px; margin-top: 0px;}
}

@media (max-width: 768px) {
.whiteback {padding: 10px !important;}
}

div#pl-503 .col-md-12 {
    background: none;
    margin-top: 0;
    padding: 0;
}


/* --- články --- */

.posts-archive .post {
    margin-bottom: 40px;
    padding: 15px;
    background: white;
    border: none; 
}

.img-thumbnail {
    background: transparent;
    padding: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: none;
}

.pagination>li>a, .pagination>li>span, a.page-numbers {
    position: relative;
    padding: 9px 16px;
    margin-left: 3px;
    background-color: #fff;
    border: 0px solid #e8e8e8;
    border-radius: 50%;
}

.pagination {padding-left: calc(0% - 90px);}

.pagination>li:last-child>a, .pagination>li:last-child>span, .pagination>li:first-child>a, .pagination>li:first-child>span,
a.prev.page-numbers, a.next.page-numbers 
{border-radius: 0;}

.single-post-header {
    margin: auto;
    max-width: 750px;  /* užší blok u nadpisu */
}
.single .post-content {
    margin: auto;
    max-width: 750px;  /* užší blok u single článku */
}

.listing-cont, .post-content {border-top: none;}

/* --- buttony smartemailing --- */

/*button {*/
/*    color: white;*/
/*    background: #01e47a;*/
/*    padding: 3px 5% 6px 5%; /* zde je naopak žádoucí mít pixely */
/* }*/

button {
    font-size: 13px;
    font-size: .8125rem;
    line-height: 1em;
    font-weight: 500;
    letter-spacing: .07692em;
    text-transform: uppercase;
    margin-top: 10px;
    color: white !important;
    border: 2px solid #01e47a;
    background-color: #01e47a !important;
    padding: 10px 16px;
    border-radius: 30px 30px 30px 30px;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

button:hover {
border-color: #363636;
background-color: #363636 !important;
color: #fff !important;
}

form#se-webform-1 {margin-top: 10px;}
.buttonse_dk {padding-left: .7em;}
input#frm-webFormRenderer-webForm-df_emailaddress {border-radius: 30px 30px 30px 30px;padding: 17px 14px;}
/*max-width: 43%;*/

/* --- buttony apod. barevnosti ostatní --- */

a.btn {
    font-size: 13px;
    font-size: .8125rem;
    line-height: 1em;
    font-weight: 500;
    letter-spacing: .07692em;
    text-transform: uppercase;
    margin-top: 10px;
    color: white !important;
    border: 2px solid #01e47a;
    background-color: #01e47a !important;
    padding: 14px 20px;
    border-radius: 30px 30px 30px 30px;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;   
}

a.btn.btn-info,a.btn.btn-warning,
a.btn.btn-danger,a.btn.btn-success {color: white;}

a.btn.btn-info:hover {color: silver;}

a, a:visited, p a {color: #01e47a;}
a:hover, a:focus {color: #787878 !important;}
a.active, a.btn:hover {
border-color: #363636;
background-color: #363636 !important;
color: #fff !important;
}

p.drop-caps.secondary:first-child:first-letter, .accent-bg, .fa.accent-color, 
.btn-primary, .btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] 
.btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, 
fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, 
.btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, 
.btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] 
.btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, 
fieldset[disabled] .btn-primary.active, .dropdown-menu > .active > a, 
.dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus, 
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, 
.nav-pills > li.active > a:focus, .pagination > .active > a, 
.pagination > .active > span, .pagination > .active > a:hover, 
.pagination > .active > span:hover, .pagination > .active > a:focus, 
.pagination > .active > span:focus, .label-primary, .progress-bar, 
a.list-group-item.active, a.list-group-item.active:hover, 
a.list-group-item.active:focus, .panel-primary > .panel-heading, 
.carousel-indicators .active, .owl-theme .owl-controls .owl-page.active span, 
.owl-theme .owl-controls.clickable .owl-page:hover span, hr.sm, 
.flex-control-nav a:hover, .flex-control-nav a.flex-active, .title-note, 
.timer-col #days, .featured-block strong, .featured-gallery, .nav-backed-header, 
.next-prev-nav a, .event-description .panel-heading, .media-box 
.media-box-wrapper, .staff-item .social-icons a, .accordion-heading 
.accordion-toggle.active, .accordion-heading:hover .accordion-toggle, 
.accordion-heading:hover .accordion-toggle.inactive, .nav-tabs li a:hover, 
.nav-tabs li a:active, .nav-tabs li.active a, .site-header .social-icons a, 
.timeline > li > .timeline-badge, .header-style3 .toprow, .featured-star, 
.featured-event-time, .goingon-events-floater-inner, .ticket-cost, 
.bbp-search-form input[type="submit"]:hover 
{background-color: transparent !important;}

.pagination > .active > span {background-color: #01e47a !important;}

/* --- buttony apod. darujme --- */

.darujme_widget_recurring > label {font-size: 1.2em;}
.darujme_widget_custom_amount {font-size: 1.2em;}

/* --- úprava článků --- */

.single .post-content {background:#fff;padding: 30px 30px 1px 30px;}

@media (max-width: 768px) {
.single .post-content {padding: 10px 10px 1px 10px;}
}

.post-title {
    margin-bottom: 0;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-top:0;
    background: #fff;
	  padding-left: 25px;
	  padding-right: 25px;
}

.post-meta {
    background-color: transparent;
    border-bottom: none;
    padding: 0 0 0 0;
    font-size: 1em;
}

@media (max-width: 768px) {
.post-meta span, .post-meta span * {font-size:14px;}
}

/* úpravy odstupů */


.single-post > * > .page-header {display: none;}

@media (max-width: 990px){
div#content-col:not(.col-md-12) {padding-top: 15px;}  /* ? */
body.category div#content-col {padding-top: 0px;}
}

.content {padding-top: 0 !important;padding-bottom: 20px !important;}


/* --- widgety --- */

.so-panel.widget h3.widget-title {border-bottom: none;}

.sow-carousel-title a.sow-carousel-next, .sow-carousel-title a.sow-carousel-previous {
    font-family: 'carousel-arrows' !important;
    zoom: 2;
}

.sow-carousel-wrapper {background: white;padding:15px;}
    
/* --- ikony na homepage --- */
@media (min-width:991px){.col-md-4 {width: calc(33.33333% - 9.9px);}}
.vlevo33, .uprostred33, .vpravo33 {background-color: #fff;}
.vlevo33 {padding: 14px; margin:0; margin-right: 0px;}
.uprostred33 {padding: 14px; margin:0; margin-right: 14px; margin-left: 14px;}
.vpravo33 {padding: 14px; margin:0; margin-left: 0px;}
.popisikon {color:#000;font-weight:400;font-size:20px;text-align:center;margin-top: 14px;}
@media (max-width:990px){.vlevo33,.uprostred33,.vpravo33 {width: 100%;margin: auto;margin-bottom: 24px;}}

.home img.lazy.lazy-loaded {width: 100%;}

@media (min-width:991px){
.homepublikace {background:/wp-content/uploads/2017/01/publikace_320px.png;}
.homeasu {background:/wp-content/uploads/2017/01/asu_320px.png;}
.homesvobodum {background:/wp-content/uploads/2017/01/svobodum_320px.png;}
.homevzdelavani {background:/wp-content/uploads/2017/01/vzdelavani_320px.png;}
.homekomunita {background:/wp-content/uploads/2017/01/komunita_320px.png;}
.homeblog {background:/wp-content/uploads/2017/01/blog_320px.png;}
}

@media (min-width:671px) and (max-width:990px){
.homepublikace {background:/wp-content/uploads/2017/01/publikace_800px.png;}
.homeasu {background:/wp-content/uploads/2017/01/asu_800px.png;}
.homesvobodum {background:/wp-content/uploads/2017/01/svobodum_800px.png;}
.homevzdelavani {background:/wp-content/uploads/2017/01/vzdelavani_800.png;}
.homekomunita {background:/wp-content/uploads/2017/01/komunita_800px.png;}
.homeblog {background:/wp-content/uploads/2017/01/blog_800px.png;}
.vlevo33, .uprostred33, .vpravo33 {width:90%;margin: auto;margin-bottom: 24px;}
}

@media (min-width:391px) and (max-width:670px){
.homepublikace {background:/wp-content/uploads/2017/01/publikace_800px-600x600.png;}
.homeasu {background:/wp-content/uploads/2017/01/asu_800px-600x600.png;}
.homesvobodum {background:/wp-content/uploads/2017/01/svobodum_800px-600x600.png;}
.homevzdelavani {background:/wp-content/uploads/2017/01/vzdelavani_800-600x600.png;}
.homekomunita {background:/wp-content/uploads/2017/01/komunita_800px-600x600.png;}
.homeblog {background:/wp-content/uploads/2017/01/blog_800px-600x600.png;}
}

@media (max-width: 390px){
.homepublikace {background:/wp-content/uploads/2017/01/publikace_320px.png;}
.homeasu {background:/wp-content/uploads/2017/01/asu_320px.png;}
.homesvobodum {background:/wp-content/uploads/2017/01/svobodum_320px.png;}
.homevzdelavani {background:/wp-content/uploads/2017/01/vzdelavani_320px.png;}
.homekomunita {background:/wp-content/uploads/2017/01/komunita_320px.png;}
.homeblog {background:/wp-content/uploads/2017/01/blog_320px.png;}
}

/* úpravy posuny */

.nahoru440{margin-bottom:-440px;}
.nahoru400{margin-bottom:-400px;}
.nahoru100{margin-bottom:-100px;}
.nahoru80{margin-bottom:-80px;}
.nahoru70{margin-bottom:-70px;}
.nahoru60{margin-bottom:-60px;}
.nahoru50{margin-bottom:-50px;}
.nahoru40{margin-bottom:-40px;}
.nahoru30{margin-bottom:-30px;}
.nahoru20{margin-bottom:-20px;}
.nahoru10{margin-bottom:-10px;}

.nahorupocatecni{margin-bottom:-460px;}
@media (max-width:990px){.nahorupocatecni{margin-bottom:-460px;}}


/* motto a buttony nahoře */

.titulclaim{color:white;font-family:'Alegreya Sans',sans-serif;font-weight:300;font-size:60px;line-height:1.5;text-align:center;z-index:333;}

a.buttontext, a.buttontext * {
    font-family: 'Alegreya Sans',sans-serif !important;
    font-weight: 300;
    font-size: 40px;
    text-align: center;
    padding: 13px 26px;
    color: white;
    background-color: rgba(0,226,120,1);
    border: 4px double white;
    border-radius: 10px;
    text-transform: none;
}

@media (max-width:990px){
.titulclaim{font-size:50px;line-height: 1.3;}
a.buttontext, a.buttontext * {font-size:30px;padding:10px 18px;}
}

@media (max-width:400px){.nahoru440{margin-bottom:-370px;}}


/* trojčtverce vedle sebe */

@media (max-width:400px){
.popisikon {font-size:24px;}
a.buttontext, a.buttontext * {font-size:20px;}
.titulclaim{font-size:36px;}
}

.so-widget-sow-post-carousel.so-widget-sow-post-carousel-base {
    background: white;
    padding: 20px;
}

#pl-503 .panel-grid-cell .so-panel {margin-bottom: 40px !important;}

/* bez mezery v jednosloupci */
@media (max-width:990px){div#panel-503-0-0-4 {margin-top: -40px !important;}}
 
/* oddělovač mezisekce s linkou */ 
 
.slinkou {color:rgba(120,120,120,1);font-size:24px;overflow:hidden;text-align: left;font-weight:500;}
.slinkou:after {
 background-color: rgba(120,120,120,1);
 content: "";
 display: inline-block;
 height: 4px;
 position: relative;
 vertical-align: left;
 width: 100%;
 left: 0.5em;
 margin-right: -100%;
} 


/* homepage -- eventy */

.eventy-homepage-container {
    margin-top: 0px !important;
    margin-bottom: -10px !important;
}

.eventy-homepage-container.col-md-12 {
    background: white;
    margin-left: 5px;
    width: calc(100% - 10px);
    padding-bottom: 0;
}

@media (max-width: 990px){.home div#content-col {padding-top: 0px !important;}}

/* .page-id-155 div#content-col {min-height: 40vh;}*/
/* ul.grid-holder.col-3.events-grid.isotope {overflow: visible !important;} */

/* --- sponzoři / partneři / projekty --- */

.okraj1 {margin-bottom: 40px;}
.okraj2 {background-color: #fff !important;padding:15px;margin-bottom: 15px;}
.okrajbilevlevo, .okrajbilevpravo {background-color: #fff !important;padding:15px;}
.okrajbilevlevo, .okrajbilevpravo {background-color: #fff !important;padding:15px;}

.plocha1 {
    background: #000;
    margin-bottom: 15px;
}

.plocha2vlevo {
    background: #00aeef;
    padding:15px;
}

.plocha2vpravo {
    background: #016cb7;
    padding:15px;
}

.plocha2vlevo>*,.plocha2vpravo>*  {color:#fff;}

@media (min-width: 991px){
.plocha2vlevo, .okrajbilevlevo {
    width: calc(100% / 2 - 7.5px);
    margin-right:7.5px;
}
.plocha2vpravo, .okrajbilevpravo {
    width: calc(100% / 2 - 7.5px);
    margin-left:7.5px;
}
}

/* --- skryté komentáře --- */

 .nocomments, .post-comments-count {
    visibility: collapse;
}

/* -------- read in.... ----------- */

#swcart {
    margin-bottom: 20px !important;
    display: block !important;
}

/* -------- vzhled výpisu týmu ----------- */

.staff-item > * > * > * > img {
    max-height: 220px;
    width: auto;
    border-radius: 50%;
    margin-top: 20px;
}

.staff-item .social-icons a {
    width: 40px
    height: 40px;
    color: #00aeef;
}

.col-md-12.col-sm-12 {
    background: white;
    margin-top: 20px;
    padding-bottom: 10px;
}


/* -------- Horní menu ----------- */

 .site-header h1.logo {
    padding: 0px 0 0px; /* 10 0 0 */
    overflow: visible;
}

.hs4-menu {padding: 0 !important;}

.header-style4 .top-navigation li a {font-size: 13.5px;color:black;border: 3px solid transparent;}
.header-style4 .top-navigation li a:hover {font-size: 13.5px;color: #fff;border: 3px solid transparent !important;}
.sub-menu a {color: black !important;}

.top-navigation > li > a {
    text-transform: initial;
    margin: 0 9px;
}

@media (max-width: 1200px) {.top-navigation > li > a {margin: 0 3px;}}
@media (min-width: 1201px) and (max-width: 1300px) {.top-navigation > li > a {margin: 0 5.5px;}}
@media (min-width: 1301px) and (max-width: 1400px) {.top-navigation > li > a {margin: 0 6.5px;letter-spacing:1px;}}



.top-navigation > li:after {content: " ";}

/* -------- Horní submenu ----------- */

@media (min-width: 991px) {
/* .current_page_ancestor > ul.sub-menu {display: block !important;} */
/* .current-menu-item > ul.sub-menu {display: block !important;} */
.top-navigation > li ul:before {border-width: 0;}

.top-navigation > li ul {
    position: absolute;
    top: 90px;
    margin: 0;
    background-color: transparent !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;  
}

.menu-item-2374 > ul.sub-menu {
    left: -720% !important;
    left: calc(-720% - 80px) !important;}

.menu-item-2652 > ul.sub-menu {
    left: -360% !important;
    left: calc(-360% - 80px) !important;}

.menu-item-2716 > ul.sub-menu {
    left: -300% !important;
    left: calc(-300% - 80px) !important;}  

.top-navigation > li {display: table-cell !important;letter-spacing: 1px;}

.top-navigation > li > ul li > a {
    border: 3px solid white !important;
    margin: 20px 2px 0 2px;
    background-color: #fff;
}  

.top-navigation > li > ul li {display: table-cell;}  

li .current_page_item > a {
    border: 2px solid silver !important;
    background-color: silver !important;
    color: #fff;
}

.top-navigation > li > ul li > a:hover {
    border: 2px solid #01e47a !important;
    background-color: #01e47a !important;
    color: #fff !important;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
}

/* -------- mobile menu ----------- */

@media (max-width: 990px) {
.site-header .menu-toggle {margin: 10px 10px 0 0;}
.header-style4 .top-navigation > li > a, .header-style4 .top-navigation > li > a:focus, .header-style4 .top-navigation > li > a:hover 
{background: rgba(240, 240, 240, 1);border-bottom: white dotted 1px !important;}
.header-style4 .top-navigation > li > a:focus, .header-style4 .top-navigation > li > a:hover 
{color: #01e47a;}
.header-style4 .sub-menu li a, .header-style4 .sub-menu li a:focus, .header-style4 .sub-menu li a:hover 
{border-bottom: 1px solid #01e47a !important;}
.header-style4 .sub-menu li a:focus, .header-style4 .sub-menu li a:hover 
{color: #01e47a !important;}
}

/* -------- Search ikonka v headeru ----------- */

.vyhledavani-button .search-field {
	background-color: transparent;
	background-image: url(assets/search.png);
	background-position: 2px center;
	background-repeat: no-repeat;
	background-size: 30px 30px;
	border: none;
	cursor: pointer;
	height: 35px;
	margin: 3px 0;
	padding: 0 0 0 34px;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition:         width 400ms ease, background 400ms ease;
	width: 0;
	z-index: 9999;
}

.vyhledavani-button .search-field:focus {
	background-color: #fff;
	border: 2px solid #c3c0ab;
	cursor: text;
	outline: 0;
	width: 170px;
}
.search-form .search-submit {display:none;}

.vyhledavani-button {
	display: inline-block;
	width: 15%;
}

.prihlaseni-button {display: inline-block;}
.prihlaseni-button .btn {margin-top: 0px;color:#e8e8e8;}
.prihlaseni {padding-top: 13px; /*padding-right:18px;*/ text-align:right;}

@media (max-width:990px){
.topbar {height: 110px !important; background: white;}
.prihlaseni {
    position: absolute;
    right: 0;
    top: 50px;
    min-width: 240px;
/*    margin: 0;
    padding: 0; */
}

.vyhledavani-button {width: 8%;}
}

@media (max-width: 768px){
.vyhledavani-button {width: 15%;}
}

.site-header .topbar {background: rgba(255, 255, 255, .8) !important;}
#top-nav-clone {background: rgba(1, 108, 183, .0);}
.site-header .menu-toggle {color: black !important;}


/* -------- Vypis eventu - zmena vzhledu ----------- */

.col-eventy { padding-top: 10px !important;}

.grid-item-inner {padding: 10px;}

.grid-polozka {
    position: relative;
}

.grid-item-datum {
	top: 0;
    left: 0;
    position: absolute;
    z-index: 10;
    background-color: #00aeef;
    padding: 15px;
}

.grid-item-datum span {
	width: 100%;
	color: white;
	display: inline-block;
	text-align: center;
}

.den {
	font-size: 20px;
	padding-bottom:5px;
}

.mesic, .rok {
	font-size: 15px;
	text-transform: uppercase;
}

.grid-item h3 {text-align: center;}
.grid-content > h3, .grid-content > h3 a {text-align:left !important;}
.grid-content {font-size:80%;padding:0; }
.grid-item-inner a.media-box {margin-right: 100%;}

/* @media (max-width:600px){.media-box,.grid-content {width:100%;}} */
@media (max-width:768px){.media-box,.grid-content {width:100%;}}
/* @media (min-width:769px){.grid-content { width:calc(96% - 230px); float:right; }} */
ul.eventy-homepage-ul.grid-holder.col-3.events-grid.isotope {overflow: visible !important;}

.media-box {width:230px;float: left;}
.media-box { /*display: flex;*/ justify-content: center; padding-bottom:15px;}


/* -------- Event grid custom shortcode - zmena vzhledu ----------- */

.events-grid li {list-style: none !important;}


/* -------- Datum, reading time a socialni site u clanku ----------- */

.sticky-box {
  width: 80px;
  position: relative;
}

.sticky-box-obsah {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.sticky-datum {
	padding: 15px;
	background: #fff;
	margin-bottom: 10px;
}

.sticky-datum span {
	width: 100%;
	display: inline-block;
	text-align: center;
	line-height: 1;
}

.sticky-reading-time {
	margin-bottom:10px;
	text-align:center;
}

.fb_iframe_widget span {
    width: 51px !important;
}

.main .fb_iframe_widget:before {height:100px;}

.sticky-fb-page {display:none; }    
    
.sticky-fb-fan {font-size:11px;width: 200px; font-weight:800;padding-top: 10px;}    

@media (max-width:990px){
/* .sticky-datum {margin-top: -100px;} */
.sticky-box.sticky-element-original.sticky-element-active {margin-bottom: 150px;}
.sticky-reading-time {margin-top:-110px;margin-left: 110px;white-space: nowrap;}
.sticky-fb-button {margin-left:110px;}    
.sticky-fb-page {margin-top:-115px; margin-left:200px;display:block;}    
.sticky-fb-fan {display:none;}    
}   



/* -------- Related posts carousel - zmena vzhledu ----------- */

.related-posts-slider {
	clear:both;
	padding-top:20px;
}

.related-posts-slider h2 {
	text-align:center;
}

.chpcs_foo_content {
    padding: 20px;
	margin: 5px 15px 5px 15px;
	background-color: #ffffff;
}

.chpcs_title {
	text-align: left;
	margin-bottom: 15px;
}

.chpcs_title a {
	font-size: 20px;
	color: #3b4246;
}
.chpcs_foo_con {
	float: left;
	width: calc(100% - 150px);
	padding: 0 20px 0 0;
	font-size: 14px;
	text-align: justify;
}

.chpcs_prev, .chpcs_next {
    padding: 12px 20px;
    background-color: #a0a0a0;
    color: #ffffff !important;
	font-weight: 800;
}

.chpcs_prev span, .chpcs_next span {font-weight: 800;}

@media (max-width: 500px){
div#wa_chpc_slider {left: 0 !important;zoom: .60 !important;}
.chpcs_image_carousel .chpcs_prev, .chpcs_image_carousel .chpcs_next {top: 60%;}
}

/* -------- Vypis autora ----------- */

p.o-autorovi {margin-bottom: 1em;}
.author-wrap .author-text h4, .author-wrap .author-gravatar {padding: 10px;}
.author-wrap .author-text {width: 100%;}
.author-wrap .author-gravatar {min-width: 100px;}
.author-summ {
    margin-bottom: 10px;
    padding: 15px;
    background: white;
    border: none;
    margin-left: 15px;
    width: calc(100% - 30px);
    float: left !important;
}  

@media only screen and (max-width:990px){
#content-col, #sidebar-col {float: left !important;}}
@media only screen and (max-width: 767px){
.body #content-col, .body #sidebar-col {float: left !important;}}

/* -------- Vypis videa ----------- */

.sermon-archive .post.sermon {background-color:#fff; /* white; */}
.post {border-bottom:none;}

/* -------- Dvourady vypis prispevku ----------- */

.clanky {clear:both; overflow: hidden; padding: 0 20px 10px 20px; margin-bottom: 20px; background-color:white;}
.clanky-obsah div {padding:0;}
.clanky-excerpt {padding-right:10px !important;}

/* -------- Meta data v clanku ----------- */

.meta-data > span {
    display: inline;
}

/* -------- Popup jen mobil ----------- */

@media (min-width: 601px){
.pum-container { display: none !important;}
}


/* ----------- Clenska sekce ------------ */

#uprava-profilu .form-group {
     margin-bottom: 0px;
}

#uprava-profilu .fgcb {
     margin-bottom: 10px !important;
}

.seznam-clenu .clen {
    /* width: 50%; */
    margin: 0 auto 20px auto;
    background-color: white;
    padding: 0 20px 20px 20px;
}

@media only screen and (max-width: 1200px){
	.seznam-clenu .clen {
	    width: 80%;
	}
} 

@media only screen and (max-width: 768px){
	.seznam-clenu .clen {
	    width: 100%;
	}
} 


/* ----------- Dropdown button - Clenska sekce ------------ */

/* Dropdown Button */
.dropbtn {
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	right: 0;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
	text-align: left;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

/****** hero slider */
.home .hero-slider {
    z-index: 0;
}

.heroclaim.panel-widget-style {
    margin-top: -400px;
    /* z-index: 1; */
}

/***** footer */
.site-footer {padding-top: 20px !important;padding-bottom: 20px !important;background-color: #282828 !important;}
.home .site-footer {margin-top:40px;}
.site-footer-bottom { background-color: #1c1c1c !important;}

.copyrights-col-left,.copyrights-col-right {background-color: #1c1c1c !important;min-height: 24px;}

@media only screen and (min-width: 769px) {
.copyrights-col-left {width: calc(100% - 200px); }
.copyrights-col-right {width:200px; padding-right: 40px;}
/* .copyrights-col-left img {height: 22px;} /* karty */ 
}
.copyrights-col-left img {height: 22px;} /* karty */

.site-footer-bottom p {color: #fff;}
.site-footer-bottom a, .site-footer-bottom a:visited, .site-footer-bottom p a {color:white; /*#00aeef;*/}

/***** woocommerce */

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {width: 97%;}

@media only screen and (min-width: 769px) {
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {width: 29%;}
}

.woocommerce ul.products li.first, .woocommerce-page ul.products li.first {
clear: none;
}

.woocommerce .related ul li.product, .woocommerce .related ul.products li.product, .woocommerce .upsells.products ul li.product, 
.woocommerce .upsells.products ul.products li.product, .woocommerce-page .related ul li.product, .woocommerce-page .related ul.products li.product, 
.woocommerce-page .upsells.products ul li.product, .woocommerce-page .upsells.products ul.products li.product {
    width: 47%!important;
}

@media (max-width:670px){.woocommerce ul.products li.product .button {font-size: 75%;}}



div#tab-description {padding: 1.5%;}

.single-product h1 {display: none;}
h1.product_title.entry-title {display: initial;}  /* trapne, ale jinak to nejde */

ul.tabs.wc-tabs {display: none;}

.event-custom {
    margin-left: 1.5em;
    margin-right: 1.5em !important;
}

/* úpravy různého chování pozadí */
.whiteback {background:white;position:relative;left:50%;transform:translateX(-50%);max-width:800px;}               
body.page-template-template-events_grid .content .col-md-12 {background: white !important;} /* akce */
body.woocommerce-page .content .col-md-12 {background: white !important;} /* obchod */
form#adduser {background: white;} 
#adduser fieldset {border: none;}/* registrace uživatele */

/* @media (max-width:480px){.page-id-2368 img {width: 100% !important;}} ---- STARA VERZE knihy - thumb */
@media (max-width:480px) and (max-resolution: 192dpi){.page-id-2368 img {display: block !important;width: auto !important;float: none !important;margin: 0 auto !important;}} /* knihy - thumb */
@media (min-width:481px) and (max-width:1080px) and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 193dpi){.page-id-2368 img {display: block !important;width: auto !important;float: none !important;margin: 0 auto !important;}} /* knihy - thumb */

.chpcs_title {max-width: 80%;}
.related-posts-slider {overflow: hidden;}

/* .chpcs_foo_content {width: calc(10% - 100px) !important;} */

/* .page-id-2368 .col-md-12 {background: transparent;} /* knihy */ 
/* .page-id-2642 article.col-md-12 {background: white;} /* sponzoři */
/* .page-id-2644 article.col-md-12 {background: white;} /* partneři */
/* .page-id-2372 article.col-md-12 {background: white;} /* kontakt */
/* .page-id-2359 article.col-md-12 {background: white;} /* kde začít */
/* .page-id-3787 article.col-md-12 {background: white;} /* seznam členů */


/* ******** RESPONSIVE ****** */
@media (max-width: 768px){
article ol, article ul {padding-left:15px;} 
p, article p, .post-content p, article ul li a, article ol li a, article ol li, article ul li, li 
{text-align:left;font-size:16px;color:black;line-height:25px;}
.page-header h1, h1 {font-size:1.6em;}
}

@media (max-width: 768px) {h2{font-size:1.25em;}}
@media (max-width: 480px) {h2{font-size:1.125em;}}

/* @media (max-width: 768px) {h2{font-size:20px;}}
@media (max-width: 480px) {h2{font-size:15px;}} */

/* úprava */

ol li {list-style-type: decimal !important;}

/* workaround pro špatný css od sow */

.so-widget-sow-post-carousel-default-39dd853c3c6a .sow-carousel-wrapper ul.sow-carousel-items li.sow-carousel-item {
  width: 244.8px;
}
.so-widget-sow-post-carousel-default-39dd853c3c6a .sow-carousel-wrapper ul.sow-carousel-items li.sow-carousel-item .sow-carousel-thumbnail a {
  background-repeat: no-repeat;
  background-size: 244.8px 163.8px;
}
.so-widget-sow-post-carousel-default-39dd853c3c6a .sow-carousel-wrapper ul.sow-carousel-items li.sow-carousel-item .sow-carousel-thumbnail a,
.so-widget-sow-post-carousel-default-39dd853c3c6a .sow-carousel-wrapper ul.sow-carousel-items li.sow-carousel-item .sow-carousel-thumbnail a span.overlay {
  width: 244.8px;
  height: 163.8px;
}
.so-widget-sow-post-carousel-default-39dd853c3c6a .sow-carousel-wrapper ul.sow-carousel-items li.sow-carousel-item .sow-carousel-thumbnail a:hover {
  background-size: /*272px 182px; */ 244.8px 163.8px;
}
.so-widget-sow-post-carousel-default-39dd853c3c6a .sow-carousel-wrapper ul.sow-carousel-items li.sow-carousel-item .sow-carousel-default-thumbnail {
  width: 244.8px;
  height: 163.8px;
}
.so-widget-sow-post-carousel-default-39dd853c3c6a .sow-carousel-wrapper ul.sow-carousel-items li.sow-carousel-loading {
  width: 244.8px;
  height: 163.8px;
}


/* obtekani textu u obrazku zarovnaneho vpravo */
img.alignright { float: right; margin: 0 0 1.2em 1.2em !important; }
img.alignleft { float: left; margin: 0 1.2em 1.2em 0 !important; }

/* zmensit obrazky u related products */
.woocommerce ul.products li.product a img {width: auto !important;}


.home .col-eventy {display: none;}

.widget_recent-posts h3.widget-title {display: none;}  /*vypis prispevku na homepage */
/*#panel-503-0-0-6 a {font-size: x-large;}  vypis prispevku na homepage */

.page-template-template-home .page-header {background: transparent;
padding: 20px 0;
box-shadow: none;
display: none;
margin: 0;
}

.nav-backed-header.parallax {
display: none;
}

div#pgc-503-0-0 * {
z-index: 99;
}

.site-header .topbar {
    height: 76px;
}

.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}    


.site-footer .widgettitle {
 color:#fff !important;
}

.qm_quote_widget {
 color:#000 !important;
 border:1px solid #fff !important;
}

.header-style4 .top-navigation > li ul{top:58px !important;}


.qm_quote
{color:#000 !important;text-align:left !important;padding: 24px 76px !important;}


@media (max-width: 768px) {
.qm_quote {padding: 20px !important;margin: 16px 2px !important;}
}


@media (max-width: 768px){.site-footer-bottom p{text-align: center;}}


/* Night mode */

body.wp-night-mode-on {background-color:#282828;}

.site-header.wp-night-mode-on .topbar {background: #484848;}

.author-wrap.wp-night-mode-on {background: #484848;}

.single.wp-night-mode-on .post-content {background: #484848;}

.post-title.wp-night-mode-on {background: #484848 !important;}

.whiteback.wp-night-mode-on {background:black !important;}

p.wp-night-mode-on {color:#eee;}
    

