/*
 Theme Name:   askbug potomek
 Theme URI:    https://forum.wedos.cz/wp-content/themes/ask-child/
 Description:  Potomek dítěte šablony Askbug
 Author:       PH159
 Author URI:   http://www.wedos.cz
 Template:     askbug
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  ask-child
*/



/*
* definice gridu pro masthead
*/
.badge{ 
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-color: #777;
  border-radius: 10px;
}

.badge-warning{
  color:black;
  background-color: #FFC107;
}
.badge-info{
  color:white;
  background-color: #2c88dc;
  font-size: 1em;
  padding-right: 5px;
  margin-right: 3px;
}


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

div.site-header-cover{
 background-color:  #062b49;
}
.site-header-cover .container{
padding-bottom: 0;
 }

.grid-master{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 10px;
  text-align: center;
}
.grid-master .grid-item{
  color:white;
  padding: 3em 3em;
  font-size: small;
  height: 100%;

}

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

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

 @media screen and (max-width: 768px) {
  .grid-master {
    display: none;
  } 
}


/*
úprava úvodní stránky "zeptat se" a "odpovědět"
*/
.site-header .for-answerer {
    width: 40%;
}
.site-header-entry h2{
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    margin: 0;
}
.site-header-entry .entry-content {
    color: #fff;
    font-size: 25px;
    font-weight: 300;
    margin-bottom: 25px;
    margin-top: 0;
}
.site-header .for-asker, .site-header .for-answerer {
    display: table-cell;
    height: 100%;
    padding: 45px 0;
    position: relative;
    vertical-align: middle;
}

#anspress .ap-pagination span.current{
background-color: #EFF5F9;
text-decoration: underline;
}



/*
úprava hlavní menu
*/
ul#main-menu.navbar-nav{
	padding-left: 20px;
	padding-right: 20px;
}

#menu-item-7565{
	background-color: #F7DA7C;
	border-radius: 5px;
}

/*
úprava vyhledávání přes plugin ajax search
*/
div.asl_m .probox .proinput input{
height: 32px;  
}

.search > .container{
  padding: 90px 0;
}


.home div.search{
    padding:20px 0 0 0;
    background-color: #EFF5F9;
    margin-bottom:0px;
}

div.search{
    padding:20px 0 0 0;
    background-color: #EFF5F9;
    margin-bottom:15px;
    border-style: none none solid;
    border-color: transparent transparent #ddd;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.07);	
}

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

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

div.search #ajaxsearchlite1 .probox .promagnifier svg{   
    width:30px;   
}

div.search #ajaxsearchlite1 .probox .proinput input{   
    font-size: 24px;   
}

div.search2{
    float: left;
    border-right: solid 2px #eee;
    padding-right: 20px;
}

div.search2 #ajaxsearchlite1 .probox{   
  width:190px;
  height: 32px;
}

div.search2 #ajaxsearchlite1 .proinput input[type=search]{
  font-size: 15px;
  -webkit-transition: width 0.4s ease-in-out;
  transition: width 0.4s ease-in-out;  
  width:170px; 
}
input.orig{
  height: 35px;
}


/* 
  úprava pro mobily a tablety
 */
@media (max-width: 768px) {
	.navbar-nav .open .dropdown-menu {
	background-color:white;
	}

}

@media screen and (max-width: 768px) {
  div.search2 {
    padding: 0 20px;
}
}

@media screen and (max-width: 768px) {
  .site-stats-pos, .widget_ab_top_users {
    display: none;
  } 
}

@media screen and (max-width: 990px) {
  .top-users-avatar {
    display: none;
  }
  
}

@media screen and (max-width: 425px) {
  #primary-menu{
    margin:0px;
    background: aliceblue;
}
}

@media screen and (max-width: 425px) {
  div.search2 {
    padding: 20px;
    width:100%;
    border: none;
}
}

@media screen and (max-width: 425px) {
  .site-nav .site-nav-ask .btn-header-ask {
	margin: auto;
}
}

@media screen and (max-width: 425px) {
   ul#top-right.navbar-nav{
    margin-left: auto;
    padding: 0px 35px 10px 0px;
    flex-basis: 0;
    border:none;
}
}

@media screen and (max-width: 425px) {
	.site-nav-flex .wedos_login_button{
	margin-left: auto;
    padding: 0px 35px 10px 0px;
	}
}

@media screen and (max-width: 425px) {
	#primary-menu {
	margin: 0px;
	background: white;
	}
}

@media screen and (max-width: 768px) {
  footer .wedos-baner {
    display: none;
  } 
}

@media screen and (max-width: 768px) {
  .ap-login {
    padding-bottom:25px;
  } 
}

@media screen and (max-width: 768px) {
  #answer-form-c {
    padding-bottom:25px;
  } 
}


/*
 *  úprava formulářů
 */
select.ap-form-control, input.ap-form-control{
    height:38px;
}

select.ap-form-control, input.ap-form-control{
    height:38px;
}

#anspress #form_question-is_private{
	height:12px;
	padding:0;
	margin:0 7px 0 0;	
}

.site-header .for-asker{
	padding:50px 0;
}

#anspress .ap-post-updated{
    font-size:0.8em;
    display: none;
}

#anspress .ap-activity-item div.ap-activity-ref {
    font-size:0.9em;
}



/*
 * zvetšení ikonek v kategorii
 */
#ap-categories .ap-category-item .apicon-category:before {
	font-size:60px;
}

.ap-activity-ref a{
    margin-left: 5px;
    background-color: #e6f8ff;
    display: inline-block;
    padding:0px 3px;
}

#anspress .ap-activity-when{
    background:#4e8ab9;
}

/*
 * podbarvení vybrané odpovědi
 */
.solved i, .apicon-check{
  color: green;
  font-weight: 600;
}
.answer-selected{
    background-color: #f7fff7;
}

/*
 * úprava přihlášení WEDOS Login
 */
.wedos_login_button {
	font-size: 25px;
}

.wedos_login_header {
	padding-left: 10px;
	padding-right: 10px;
    border-left: solid 2px #eee;
    height: 32px;
}
.wedos_button {
	height:50px;
	width:100%;
}
/*
 * úprava výsledků vyhledávání
 */
.status-publish{
    border-radius: 4px;
    padding: 15px;
    border: 1px solid #eee;
    margin: 0 0 1.5em;
}
.site-nav .navbar-nav > li .dropdown-menu{
	margin-top:15px;
}

/*
 * Ve výsledcích rozliší zda jede o otázku, odpověď a nebo návod
*/

.asl_r_question .asl_res_url::before, .asl_r_answer .asl_res_url::before, .asl_r_post .asl_res_url::before
{
	 font-weight: bold;
     display: inline-block;
     padding: 2px 5px;
     margin: 2px 0px;
     margin-right: 3px;
     border-radius: 3px;
     font-size: small;
     opacity: 0.7;
}


.asl_r_question .asl_res_url::before { 
  content: "Otázka";
  background-color: #ff9595;
  color: black;
}

.asl_r_answer .asl_res_url::before { 
  content: "Odpověď";
  background-color: #51db7e;
  color: black;
}

.asl_r_post .asl_res_url::before { 
  content: "Návod";
  background-color: #ACE7FF;
  color: black;
}

/*
* formátování widgetu TOP USERS 
*/

.top-users-rep{
	font-size: 11px;
}

/*
* Odkazy v článcích, otázkách, odpovědích a komentářích budou podrtžené
*/
#anspress .ap-q-inner {
  font-size: 16px;
}

#anspress .ap-q-inner blockquote {
  font-size: 16px;
}

.entry-content a{
	text-decoration: underline;
	color:#002c96;
}

#anspress .ap-q-inner a{
	text-decoration: underline;	
}

#anspress apcomments a{
	text-decoration: underline;	
}

/*
* úprava článků(příspěvků) 
*/

.status-publish{
	border:none;
}

.status-publish p{
	text-align: justify;
}

.alert-danger{
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.alert-secondary {
	padding: .75rem 1.25rem;
	border: 1px solid transparent;
    border-radius: .25rem;
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}

ul.alert-secondary {
	padding-left: 30px;
}

.alert-primary {
	padding: .75rem 1.25rem;
	border: 1px solid transparent;
    border-radius: .25rem;
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.alert-success {
	padding: .75rem 1.25rem;
	border: 1px solid transparent;
    border-radius: .25rem;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.wp-block-image img{
	border: 1px solid whitesmoke;
}

.wp-block-quote {
  font-size: 15px !important;
}

/*
 * úprava výsledků vyhledávání
 */
 .status-publish{
  border-radius: 4px;
  padding: 15px;
  border: 1px solid #eee;
  margin: 0 0 1.5em;
}
.site-nav .navbar-nav > li .dropdown-menu{
margin-top:15px;
}

.asl_r_question .asl_res_url::before, .asl_r_post .asl_res_url::before, .asl_r_answer .asl_res_url::before,
article.question h3::before, article.answer header h3::before, article.post h3::before{ 
font-weight: bold;
display: inline-block;
padding: 2px 5px;
margin: 2px 0px;
margin-right: 3px;
border-radius: 3px;
font-size: small;
}

.asl_r_question .asl_res_url::before, article.question h3::before { 
content: "Otázka";
background-color: #ff9595;
color: black;
}

.asl_r_answer .asl_res_url::before, article.answer header h3::before { 
content: "Odpověď";
background-color: #51db7e;
color: black;
}

.asl_r_post .asl_res_url::before, .search-results article.post h3::before{ 
content: "Návod";
background-color: #ACE7FF;
color: black;
}

/* Formátování stárnky content-search.php */

article.question h3::before, article.answer header h3::before, .search-results article.post h3::before{
font-size: small;
font-weight: 500;
padding: 5px;
margin-right: 7px;
}
article.answer{
margin-left: 60px;
}

article.answer, article.question, .search-results article.post{
background-color: white;
border: none;
font-size: small;
margin-bottom: 0;
padding-bottom: 0;
border-bottom: 1px solid #eaeaea;
border-radius: 0;
}
article.answer{
font-size: smaller;
}
.search-results article.post h3, .search-results article.question h3, .search-results article.answer header h3{
font-size: medium;
margin-bottom: 0;
}
.search-results article.post p{
margin-left: 60px;
}
.search-results article.question p{
margin-left: 65px;
}

/* logo */
a.logo img{
max-height: 32px;
}

/* nejnovější návody */
.ugb-blog-posts__item {
	padding: 20px;
    border-bottom: 1px solid #ccc;
    margin-bottom: -25px !important;
}

.ugb-blog-posts__item:hover {
    border-radius: 5px;
    box-shadow: 0px 1px 6px 0px #ccc;
}

/*nejčastější otázky - úprava odsezení*/
.ugb-accordion__text {
  margin-top: 15px !important;
  padding-bottom: 5px;
}

/*podpis v otázce a odpovědi*/
.signature {
	border-top:solid 1px rgba(0, 0, 0, 0.1);
	padding-top: 10px;
}

/* vizitka */
div.signature{
	font-size: 0.75em;
	color: #7b7b7b;
	display: grid;
	padding: 8px 10px;
  background-color: #f9f9f9;
  /*border: 1px solid rgb(231, 231, 231);*/
}
div.signature strong{
	color: #989898;
}
div.signature a{
	text-decoration: none !important; 
	color:#527998;
}

div.signature span.role{
	text-align: right;
}
div.signature span.page{
	grid-row: 2;
}
div.signature span.viz{
	grid-column: 1 / span 2;
	grid-row: 1;
}

.ab-users-item .ab-users-name span.role {
    font-weight: normal;
}


/* zvýrazčnění otázky na úvodu*/
#question-64706 {
  background-color: #89C731 !important;
}
#question-64706 .ap-display-meta-item, #question-72719 .ap-display-meta-item{
  color:white !important;
}
#question-64706 .ap-display-meta-item i:before, #question-72719 .ap-display-meta-item i:before{
  color:white !important;
}

#question-64706 .ap-display-meta-item a, #question-72719 .ap-display-meta-item a{
  color:white !important;
}

#question-72719 .ap-questions-hyperlink{
  color:white !important;
}

#question-9309{
	background-color: #F7DA7C !important;
}

#question-32632{
	background-color: greenyellow !important;
}

#question-22459{
background-color: #addbff !important;
}

#question-72719{
  background-color: #721c24 !important;
  }

#question-6548 .ap-display-meta-item, #question-6548 .ap-display-meta-item a{
	color: black !important;
	
}

/* 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 h3 {
	color: #44b7a8;
}

.helpful .feedback-note p{
	color: #44b7a8;
	font-size: 24px;

}

.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%;
}

/* úprava rozcestníku návody */

#post-7557 .mb0{
  margin-bottom: 0;
}

#post-7557 .help-left, #post-7557 .help-right, #post-7557 .kb-left {
	padding: 30px 25px 30px 20px;
}

#post-7557 .kb-left {
	padding: 0px 25px 0px 20px;
}

#post-7557 .help-left:hover, #post-7557 .help-right:hover, #post-7557 .kb-left:hover {
    box-shadow: 0px 1px 6px 0px #ccc;
}

#post-7557 .help-left h5, #post-7557 .help-right h5, #post-7557 .kb-left h5 {
	font-size: 20px;
}

#post-7557 .kb-left h5 {
  padding-top: 40px;
	font-size: 20px;
}

#post-7557 .help-left .wp-block-button__link, #post-7557 .help-right .wp-block-button__link, #post-7557 .kb-left .wp-block-button__link {
 text-decoration: none;
}

#post-7557 .help-left .wp-block-button__link:visited, #post-7557 .help-right .wp-block-button__link:visited, #post-7557 .kb-left .wp-block-button__link:visited {
  color:white;
 }

.site-nav{
	margin-bottom: 0;
 }
 
 .ap-reputations{
	width: 100%;
 }

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

/*
* FORMÁTOVÁNÍ KOTVY
*/

a.btn-link,
a.btn-link:hover{
  text-decoration: none;
  color: #383d41;

}

a.btn-link h2,
a.btn-link:hover h2{
  font-weight: 700;
}

/* Styly pro FAQ accordion neboli sekce vodorovné*/
.card {
	margin: 1.5em 0;
	line-height: 1.8;
}
.card-body {
    padding: 1.5rem 3.5rem;
    padding-bottom: 1.5rem;
}

.card-header{
	padding: 17.5px 35px;
	border-radius: 10px;
    box-shadow: 0 5px 5px 0 rgba(18,63,82,.035), 0 0 0 1px rgba(176,181,193,.2);
    background-color: #f9f9f9;
    
}

.card-header a{
	text-decoration: none;
}

.card-header h5{
	font-size: 18px;
	color:black;
	margin:0;
}

/* Styly pro FAQ tabs neboli záložky*/

.tab h2{
	padding-bottom: 15px;
}

.tabs {
	display: flex;
	flex-wrap: wrap;
	background-color: #EFF5F9;
}

.tabs label {
	order: 1; 
	display: block;
	padding: 14px 16px;
	cursor: pointer;
	background: #EFF5F9;
	font-size: 18px;
	color: black;
	margin:0;
}

.tabs .tab {
	order: 99;
	flex-grow: 1;
	width: 100%;
	display: none;
	padding: 1rem;
	background: #fff;
}

.tabs input[type="radio"] {
	display: none;
}

.tabs input[type="radio"]:checked + label {
	background: #2c88dc;
	color: white;
}

.tabs input[type="radio"]:checked + label + .tab {
	display: block;
}

@media (max-width: 45em) {
  .tabs .tab,
  .tabs label {
    order: initial;
  }
  .tabs label {
    width: 100%;
    margin-right: 0;
    margin-top: 0.2rem;
  }
}

/* Úprava entry meta v příspěvcích */
header .entry-meta {
  border-bottom: 2px solid #eee;
  padding: 5px;
  }

  /* footer zápatí */
footer .footer-top {
  background: #062b49;
  border-top: 4px solid #fac825;
}
footer .wedos-baner{
  text-align: center;
  padding-top: 50px;
  padding-bottom: 10px;
}
footer .footer-top .about {
  margin: 0 auto;
  padding-top: 40px;
  max-width: 1170px;
  text-align: center;
}
footer .footer-top .about .nav {
  padding-left: 0;
  list-style: none;
}
footer .footer-top .about .nav>li {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
}
footer .footer-top .about .social-media ul li a{
  font-size:16px;
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  color: #fac825;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
footer .footer-top .about .social-media ul li a:hover {
  background: #fac825;
  color: #fff;
  border-color: #fac825;
}
footer .footer-top .widget-title {
  padding-top: 30px;
  color: rgb(216, 214, 214);
  text-transform: none;
}
footer .footer-top .widget-title span {
  color: #fac825;
  border-left: 4px solid #fac825;
  padding-left: 5px;
}
footer .footer-top ul li a {
  display: block;
  color: rgb(216, 214, 214);
  padding: 2px 0;
  text-decoration: none;
}
footer .footer-top ul li a:hover {
  color: #fac825;
  text-decoration: underline;
}
#anspress .ap-category-item .ap-cat-img-c .ap-category-icon{
  font-size: 50px;
}

.wp-block-gallery .blocks-gallery-item figcaption{
padding-top: 12px;
color:black;
background: white;
}

/* 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;
  color:#337ab7;
}
#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;
}

/*zvýraznění popisu odpovědi*/
.podpis{
	background-color: #003484;
	color:white;
	padding: .2em .5em;
	border-radius: .3em;
	font-weight:600;
}