/*
 Theme Name:   Mywiki potomek
 Theme URI:    https://kb.wedos.cz/wp-content/themes/mywiki/
 Description:  Potomek dítěte šablony Astra
 Author:       Petr Říha
 Author URI:   https://kb.wedos.cz
 Template:     mywiki
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  mywiki_potomek
*/

/*
 *  úprava celého webu
 */
p, a, ul, li{
	font-family: 'Open Sans', sans-serif;
	text-align:justify;
}

a:hover, a.wid-cat-title p:hover, a:focus{
    color: #048eb0 !important;
}

.wp-block-button__link:hover {
	color: #ffffff !important;
}

.current_page_item a {
    color: #048eb0 !important;
}

/*
 *  oprava odsazení seznamu, protože v hlavním css stylu je important na 0
 */

 #content ul{
	padding-inline-start: 40px !important;
}

#content article h1, #content article h2, #content article h3, #content article h4, #content article h5, #content article h6 {
    color:black;
    text-align: left;
}


/*
 *  Menu úprava
 */
 .mywiki-header-menu {
    position: relative;
    z-index:1;
 }

.top-bg{
	background-image: none;
	margin-bottom: 0px;
}

.navbar-brand {
    height: auto;
    margin: 20px 0 10px;
    padding: 0 0 0 15px;
}

.navbar-default .navbar-nav li a {
	color: #323232;
}

hr {
	margin: 0px;
}

/*
 *  Patička úprava
 */
 #footer {
    border-top: 4px solid #fac825;
    background-color: #062b49!important;
}
footer #widget-footer{
    padding-bottom:15px;
}
#footer .wedos-baner{
    text-align: center;
    padding-top: 50px;
    padding-bottom: 10px;
}
#footer #inner-footer .about {
    margin: 0 auto;
    padding-top: 25px;
    max-width: 1170px;
  }
#footer #inner-footer .about .nav {
    padding-left: 0;
    list-style: none;
    text-align: center;
  }
#footer #inner-footer .about .nav>li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
  }
#footer #inner-footer .about .social-media ul li a{
    font-size:18px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    color: #fac825;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
  }
#footer #inner-footer .about .social-media ul li a:hover {
    background: #fac825 !important;
    color: #fff !important;
    border-color: #fac825;
  }
  #footer #inner-footer .about .social-media ul li a:focus {
    background: #fac825 !important;
    color: #fff !important;
    border-color: #fac825;
  }
#footer #inner-footer .widget-title {
    font-size: 20px;
    padding-top: 30px;
    color: rgb(216, 214, 214);
    text-transform: none;
  }
#footer #inner-footer .widget-title span {
    color: #fac825;
    border-left: 4px solid #fac825;
    padding-left: 5px;
  }
#footer #inner-footer ul li {
    line-height: 1.6;
}
#footer #inner-footer ul li a {
    display: block;
    color: rgb(216, 214, 214);
    padding: 2px 0;
    text-decoration: none;
  }
#footer #inner-footer ul li a:hover {
    background-color: #062b49 !important;
    color: #fac825 !important;
    text-decoration: underline !important;
  }

#footer .inner-attribution {
    color: #7b7979;
    background-color: #222629;
    padding-top: 20px;
    padding-bottom:10px;
}
#footer .inner-attribution p {
    color: #D2D2D2;
}
#footer .inner-attribution p a {
    color: #D2D2D2;
}

/*
 *  Úprava úvodní stránky, aby se nezobrazovala kategorie
 */
#home-main .page-catheader .page-title {
	display:none;
}

.content-according ul li {
    color:#048eb0
}

.category .page-catheader, .archive .page-catheader, .search .page-catheader{
    background: #eff5f9;
    color: #323232;
}

.suggestionsbox{
	left: 20px;
    top: 120px;
}

.cat-main-section {
    float: left;
    padding-top: 1%;
    min-height: 150px;
    transition: all .3s ease-in-out;
}

.cat-title, .cat-title span {
    color: #323232;
}
.single-post .cat-title{
	color: #323232;
	font-size: 26px;
}

/*
 *  Úprava vyhledávání na úvodní stránce
 */

.searchwrap > .container {
    padding: 110px 0;
}

.searchwrap {
    background-color: #eff5f9; 
}

.searchwrap #ajaxsearchlite1 {
	z-index: 0;
    background-color: #eff5f9;
    border-radius: 3px 3px 3px 3px;
    box-shadow: none;
    padding: 0 15px;
    width: auto;
}
div.asl_w {
	box-shadow:none !important;
}

.searchwrap #ajaxsearchlite1 .probox{   
    padding: 25px;
    background-color: white;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 1px 0 3px #ccc inset; 
}

.searchwrap #ajaxsearchlite1 .probox .promagnifier svg{   
    width:30px;   
    cursor:pointer;
}

.searchwrap #ajaxsearchlite1 .probox .proinput input{   
    font-size: 20px;   
}

/*
 *  Úprava vyhledávání v sidebar
 */
 
#sidebar1 #ajaxsearchlite1{
    box-shadow: none;
}
 
#sidebar1 #ajaxsearchlite1 .probox{   
    margin: 10px 10px 5px 10px;
    padding:5px;
    border-radius: 5px;
    box-shadow: 1px 0 3px #ccc inset; 
}

#sidebar1 #ajaxsearchlite1 .probox .promagnifier svg{   
    cursor:pointer;
}

/*
 *  Úprava vyhledávání stránka nenalezena
 */
 
.notfound #ajaxsearchlite1 .probox {
    padding: 25px;
    background-color: white;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 1px 0 3px #ccc inset;
}

.notfound #ajaxsearchlite1 .probox .proinput input{   
    font-size: 20px;   
}
 
 /*
 *  Úprava všech příspěvků
 */
 
#main header h4.cat-title{
	font-size: 30px;
    line-height: 1em;
}

#main article h2{
	font-size: 25px;
    font-weight: bold;
    line-height: 1em;
    padding-top:20px;
}

#main article .single-page{
	border-bottom: 1px solid #ccc;
    padding-bottom: 25px;
}

#main .mywiki-nav{
	border-top: 1px solid #ccc;
    padding-top: 15px;
}

#main article .post_content p{
	margin: 15px 0;
	font-size: 15px;
}

#main article .post_content ul li, #main article .post_content ol li{
	display: list-item;
	color: #333;
	font-size: 15px;
	padding-bottom: 5px;
    line-height: 1.5em;
    text-align: justify;
}

#main article .post_content ul li a, #main article .post_content ol li a{
	text-decoration: underline !important;
}

#main article .post_content ul li a:hover, #main article .post_content ol li a:hover{
	text-decoration: none !important; 
}

#main article .post_content p a{
	text-decoration: underline !important;
}

#main article .post_content p a:hover{
	text-decoration: none !important;
}

.vzor {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    background-color: #F5F5F5;
    border: 1px solid #CCC;
    border-radius: 4px;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

/*
 *  Úprava seznamu příspěvků
 */
 
.search article {
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
} 

.blog article, .archive article, .search article {
	padding: 20px;
}

.blog article:hover, .archive article:hover, .search article:hover {
	border-radius: 5px;
	box-shadow: 0px 1px 6px 0px #ccc;
}

.blog article .cat-heading a, .archive article .cat-heading a{
	color:#323232;
}

.blog article p.post-meta-entry a, .archive article p.post-meta-entry a{
	text-decoration: none !important;
}

.blog article .post_content, .archive article .post_content{
	text-decoration: none;
}


/*
 *  Úprava stránky nejnovější návody
 */
 
#main ul.wp-block-latest-posts li {
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

#main ul.wp-block-latest-posts li:before {
	content: "\f0f6";
    padding-right: 10px;
}
 
/*
 *  Úprava modrého pruhu se 3 sloupci přes grid
 */

.head-cover {
    background-color: #062b49;
}

.grid-master {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 10px;
    text-align: center;
}

.grid-master .grid-item {
	text-align:center;
    color: white;
    padding: 3em 3em;
	font-size: 15px;
    height: 100%;
}

.grid-master .grid-item p{
	text-align:center;
}

.grid-master .grid-item:hover {
    background-color: white;
    color: #023760;
    cursor: pointer;
}

.grid-item > span {
	text-align:center;
    font-size: 60px;
    height: 80px;
    display: inline-block;
    width: 100%;
}

.grid-master .grid-item strong {
    font-size: medium;
}

/*
 *  Úprava sidebar
 */

 #sidebar1 ul li {
    color:#048eb0
 }
 
.sidebar-heading {
    background: #eff5f9;
    color: #323232;
    padding: 10px 10px;
    border-radius: 3px;
}

#sidebar1 .widget_categories ul li{
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

#sidebar1 #categories-3 ul li:before{
	content: "\f022";
    padding-right: 10px;
}

#sidebar1 .widget_recent_entries ul li{
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

#sidebar1 .widget_recent_entries ul li:before{
	content: "\f0f6";
    padding-right: 10px;
}

/*
 *  Úprava pro mobil a tablet
 */

@media only screen and (max-width: 767px) {
	.head-cover {
		display: none;
	}
}
@media only screen and (max-width: 767px) {
	.searchwrap > .container {
		padding: 60px 0;
	}
}

@media only screen and (max-width: 767px) {
	.searchwrap #ajaxsearchlite1 .probox .proinput input {
		font-size: 15px;
	}
}

@media only screen and (max-width: 767px) {
	.navbar-toggle {
		background-color: #048eb0;
		top:10px;
	}
}

@media only screen and (max-width: 768px) {
	#footer .wedos-baner {
		display: none;
	}
}
.alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

/* plugin helpful */

.helpful{
	text-align: center;
	border-radius: 4px;
    padding-bottom: 25px;
    border: 1px solid #eee;
    background-color: #fafafa;
    margin: 25px 0px;
}

.helpful:hover{
	border-radius: 5px;
    box-shadow: 0px 1px 6px 0px #ccc;
    padding-bottom: 25px;
    margin-bottom: 25x;
}

.helpful-header h3.helpful-headline  {
    color: #44b7a8 !important;
    text-align: center !important;
}

#main .helpful .feedback-note p{
	color: #44b7a8;
	font-size: 24px;
	text-align:center;
}

.helpful .helpful-content{
	margin: 5px;
	padding-top:20px;
}

.helpful .helpful-pro{
	background-color: #5bb95b;
    width: 47%;
    padding: 5px;
    margin: 10px;
    border: 5px solid #5bb95b;
    border-radius: 5px;
    color: white;
}

.helpful .helpful-pro:hover{
	box-shadow: 0px 1px 6px 0px #5bb95b;
}

.helpful .helpful-contra{
	background-color: #d9524f;
	width: 47%;
	padding: 5px;
    margin: 10px;
    border: 5px solid #d9524f;
    border-radius: 5px;
    color: white;
}

.helpful .helpful-contra:hover{
	box-shadow: 0px 1px 6px 0px #d9524f;
}

.helpful .helpful-submit{
	background-color: #5bb95b;
    padding: 5px;
    margin: 10px;
    border: 5px solid #5bb95b;
    border-radius: 5px;
    color: white;
}

.helpful .helpful-submit:hover{
	box-shadow: 0px 1px 6px 0px #5bb95b;
}

.helpful .control textarea{
	width:90%;
	height:20%;
}

/* dočasné vyřešení titulků k obrázkům, po Změně 5.3 došlo ke změně */

.wp-block-image figcaption {
    margin-top: .5em;
    margin-bottom: 1em;
    color: #555d66;
    text-align: center;
    font-size: 13px;
}

/* úprava fontu u titulku v případě pluginu Simple Lightbox */

#slb_viewer_wrap .slb_theme_slb_default .slb_data_title, #slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
    font-family: 'Cabin', arial, sans-serif !important;
}

/* CSS styly pro FAQ*/

.faq{
 font-size: 16px !important;
}

details > summary {
    background-color:rgb(240, 240, 240);
    cursor: pointer;
    padding: .5rem 1rem;
    }
    
    details > summary > * {
    display: inline;
    }
    
    details > div {
    border: 2px solid rgb(240, 240, 240);
    margin-top: 0;
    padding: 1rem;
    }
    
    details[open] > div{
    border-bottom: none;
    }
    details[open]:last-child > div{
    border: 2px solid rgb(240, 240, 240);
    }
    
    details div p{
    font-size: 0.96em !important;
    }
    details summary {
    cursor: pointer;
    }
    details > summary {
    list-style-type: none;
    }
    
    details > summary::-webkit-details-marker {
    display: none;
    }
    
    details > summary::before {
    content: '▶ ';
    }
    
    details[open] > summary::before {
    content: '▼ ';
    
    }
    details{
    border-bottom: 1px solid silver;
    }
    
    details:last-child{
    border-bottom: none;
    }




/* styly pro speciálmní baner na speciální akce */
#aj_wrap {
    width: 100%;
    background-color:#89C731;
    padding: 25px 0px 35px 0px;
  }
  #aj_wrap2 {
    width: 100%;
    background-color:rgb(254,206,10);
    padding: 50px 15px;
  }
  
  #ruin {
    color: white;
    font-size: 20px;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
  }
  
  #ruin2 {
    color: #023156;
    font-size: 20px;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
  }
  
  #ruin2 a{
    text-decoration: underline !important;
  }
  #ruin2 a:hover{
    text-decoration: none;
  }
  
#ajtakobrani {
    background-color: #89C731;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
}
  
#ajtakobrani p {
    margin: 0;
    font-size: 1.1em;
    font-weight: 700;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.85);
}
  
#ajtakobrani a {
    width: 100%;
    background-color: #062B49;
    padding: 0.5em 1.5em;
    color: #89C731;
    font-weight: 900;
    border-radius: 8px;
    transition: .3s ease all;
    cursor: pointer;
}
  
#ajtakobrani a:hover {
    background-color: white;
    color: #062B49;
}
  
#ajtakobrani .migrace{
    margin-top: 1.5em;
}
  
/* stylování dočasného odkazu na kontaktní formulář - Náhrada Feedback pluginu*/
#wds_feedback{
	padding:1em 1em;
	background-color:rgb(228, 228, 228);
	border:1px solid silver;
	border-bottom:none;
	font-size: 1.08em;
	text-align:center;
}

/* Styly pro filtrování podle koncovky domén */
.skryte {
    display: none !important;
}

.vyber {
    display: block;
    padding: 0.5rem;
    background-color: #EFF5F9;
    border: 2px solid #051D31;
    border-radius: 5px;
    width: 100%;
    font-family: var(--wp--preset--font-family--system-font);
    font-size: var(--wp--preset--font-size--medium);
}

/*
 *  úprava zpětné vazby
 */
 .daexthefu-comment-controls {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between !important;
}
.daexthefu-comment {
    margin: 32px 20px !important;
}
.daexthefu-container {
    padding: 20px 0px !important;
}

@media only screen and (max-width: 576px) {
    .daexthefu-comment-controls {
        justify-content: center !important;
    }
}