﻿/* SEZNAMY V ČLÁNCÍCH A RECEPTECH */
.is-style-ingredience {
    background-color: #f5f5f5;
    list-style-type: none !important;
    padding: 10px;
    margin: 10px 0;
}

.is-style-ingredience li {
    color: #000;
    font-size: 1em;
    font-weight: bold;
    margin-left: 55px;
    padding: 5px 10px;
}

.is-style-ingredience li:before {
    margin-left: -55px;
    padding-right: 20px;
    display: inline-block;
    vertical-align: middle;
    content: url('../../plugins/azrecepty-gutenberg/img/ingred.png');
}
.is-style-ingredience {
    list-style-type: none;
    background-color: #fff;
    padding: 1rem;
    margin: 10px 0;
}

.is-style-ingredience li {
    position: relative;
    margin-bottom: 15px;
    padding: 0.5rem;
    margin-left: 0rem;
    padding-left: 3rem;
    font-weight: normal;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 10px #eaeaea;
    box-shadow: 1px 1px 10px #eaeaea;
}

.is-style-ingredience li:before {
    padding-right: 1rem;
    top: 50%;
    left: 0rem;
    margin-top: 0px;
    padding-left: 1rem;
    color: #fff;
    text-align: center;
    z-index: 102;
    content: url('../../plugins/azrecepty-gutenberg/img/ingred.png');
}

.is-style-postup{
    list-style-type: none;
    list-style-type: decimal;
    margin: 0;
    margin-left: 3em;
    padding-left: 0;
    padding: 0;
    counter-reset: li-counter;
}

.is-style-postup li:last-child:after {
    content: '';
}

.is-style-postup li {
    position: relative;
    margin-bottom: 15px;
    padding: 1em;
    padding-left: 1.8em;
    font-weight: bold;
    background-color: #f5f5f5;
}

.is-style-postup li:before {
    position: absolute;
    top: 0;
    left: -1em;
    width: 1.6em;
    height: 1.6em;
    font-size: 2em;
    line-height: 1.6;
    text-align: center;
    color: #fafafa;
    background-color: #f44336;
    border-radius: 50%;
    content: counter(li-counter);
    counter-increment: li-counter;
    z-index: 10;
}


.is-style-postup{
    list-style-type: none;
    position: relative;
    margin: 0;
    margin-left: 0.5rem;
    padding: 0;
    counter-reset: li-counter;
}

.is-style-postup:before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: url('../../plugins/azrecepty-gutenberg/img/postup_line.png') 0 0 repeat-y;
    z-index: 100;
}

.is-style-postup li:first-child:after {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    bottom: 50%;
    width: 20px;
    background: #fff;
    z-index: 101;
}

.is-style-postup li:last-child:after {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 50%;
    bottom: 0;
    width: 20px;
    background: #fff;
    z-index: 101;
}

.is-style-postup li {
    position: relative;
    margin-bottom: 15px;
    padding: 1rem;
    margin-left: 3.5rem;
    font-weight: normal;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 10px #eaeaea;
    box-shadow: 1px 1px 10px #eaeaea;
}

.is-style-postup li:before {
    content: counter(li-counter);
    counter-increment: li-counter;
    top: 50%;
    left: -3.5rem;
    margin-top: -25px;
    width: 50px;
    height: 50px;
    padding-left: 1px;
    line-height: 36px;
    background: #f44336;
    font-size: 1rem;
    color: #fff;
    border: 6px solid #fff;
    border-radius: 50%;
    text-align: center;
    z-index: 102;
}
.searchstitek{
    padding: 0.5rem;
    background-color: #303030; 
    background-position: center center;
    background-size: cover;
}
.searchstitek h3{
    color: white; 
}
.blocktoprecepty{
    padding: 1rem;
    color:white;
    font-weight: bold;
}
.blocktoprecepty a,.blocktoprecepty a p{
    color:white;
    font-size: 1.5rem;
}


.is-style-vyhody{
    margin: 1rem 0;
    background-color: #f5f5f5;
    padding:1rem;
}
.is-style-vyhody tr:first-of-type td{
    font-size: 1.25rem;
    font-weight: bold;
    padding-left: 0.5rem;
}
.is-style-vyhody tr td{
    padding: 0.5rem;
    position: relative;
}
.is-style-vyhody tr td{
    padding-left: 0.5rem;
    width:50%;
}
.is-style-vyhody tr:nth-child(1) td::before{
    content: none !important;
}

.is-style-vyhody tr td:first-of-type:before{
    content: '+';
    background: #84b517;
    display: inline-block;
    width: 20px;
    height: 20px;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    line-height: 20px;
    margin-right: 10px;
}
.is-style-vyhody tr td:nth-of-type(2):before{
    content: '-';
    background: #c91f28;
    display: inline-block;
    width: 20px;
    height: 20px;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    line-height: 20px;
    margin-right: 10px;
}
.is-style-vyhody tr:first-of-type td:nth-of-type(2):before{
    background: none;
}
.is-style-vyhody tr td:empty:before{
    background: none;
}
.is-style-vyhody tr:first-of-type td:first-of-type:before{
    background: none;
}
@media(max-width:400px){
    .is-style-vyhody{
        padding:0;
    }
    .is-style-vyhody tr:first-of-type td{
        font-size: 1.1rem;
        padding-left: 0.5rem;
    }
    .is-style-vyhody tr td{
        padding: 0.5rem;
    }
    .is-style-vyhody tr td{
        padding-left: 2rem;
        width:50%;
    }
    .is-style-vyhody tr td:first-of-type:before{
        background-size: 20px 20px;
        width: 20px; 
        height: 20px;
        margin-top:-1px;
        left:5px;
    }
    .is-style-vyhody tr td:nth-of-type(2):before{
        background-size: 20px 20px;
        width: 20px; 
        height: 20px;
        margin-top:-1px;
        left:5px;
    }
}


.cta-block-text{
    background-color: #f0f0f0;
    margin: 2rem auto;
    padding:1rem;
}
.cta-block-text p{
    color: #404040;
    margin: 0 50px !important;
    position:relative;
    
}
.cta-block-text p:before{
    content: url("../../plugins/azrecepty-gutenberg/img/cit.svg");
    width:50px;
    height:50px;
    position:absolute;
    left:-60px;
    top:0px;
}
.cta-block-text p:after{
    content: url("../../plugins/azrecepty-gutenberg/img/cit.svg");
    transform: rotate(180deg);
    width:50px;
    height:50px;
    position:absolute;
    right:-60px;
    bottom:0px;
}

@media(max-width:480px){
    .cta-block-text p{
        margin: 0 20px !important;
        
    }
    .cta-block-text p:before{
        width:30px;
        height:30px;
        left:-40px;
        top:0px;
    }
    .cta-block-text p:after{
        width:30px;
        height:30px;
        right:-40px;
        bottom:0px;
    }
}


.cta-block-idea{
    background-color: #FFEFA8;
    margin: 2rem auto;
    padding:1rem;
}
.cta-block-idea p{
    color: #404040;
    margin: 0 50px !important;
    position:relative;
    
}
.cta-block-idea p:before{
    content: url("../../plugins/azrecepty-gutenberg/img/idea.svg");
    width:50px;
    height:50px;
    position:absolute;
    left:-60px;
    top:-10px;
}

@media(max-width:480px){
    .cta-block-idea{

        margin: 4rem auto;

    }
    .cta-block-idea p{
        margin: 0 20px !important;
        
    }
    .cta-block-idea p:before{
        width:40px;
        height:40px;
        left:40%;
        top:-40px;
    }
}



.cta-block-heureka a.hbtn {
    -webkit-box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.15);
    background-color: #27ae60;
    color: #fff !important;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 30px 60px;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none !important;
    text-align: center;
    position: relative;
}

.cta-block-heureka a.hbtn:hover {
    opacity:0.85;
}
.cta-block-heureka{
    margin: 2rem auto;
    text-align: center;
}
.editor-cta-block-heureka{
    background-color: #fafafa;
    border: solid 1px #eaeaea;
    margin: 2rem auto;
    padding: 1rem 0;
}
.editor-cta-block-heureka-child{
    display:flex;
    flex-direction: row;
    margin: 0.5rem auto;
}
.editor-cta-block-heureka input{
    margin:0;
}
.reviewatr{
    margin: 1rem 0;
}
.reviewatr td{
    padding:0.25rem;

}
.editor-cta-block-headline{
    background-color: #fafafa;
    border: solid 1px #eaeaea;
}


.faq{

}

.faq details {
    margin: 1rem 0;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 1px 1px 10px #eaeaea;
  }
.faq details .summary-faq {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  .faq details:hover {
    cursor: pointer;
  }
  .faq details .detail-faq {
    border-top: 1px solid #e2e8f0;
    cursor: default;
    padding: 1em;
    font-weight: 300;
    line-height: 2;
    margin:0;
    font-size: 20px;
  }
  .faq details summary {
    margin: 0;
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
  }
  .faq details summary:focus {
    outline: none;
  }
  .faq details summary:before {
    font-family: "dashicons";
    content: "\f347";
    font-size: 1.5rem;
    font-display: swap;
    vertical-align: middle;
    padding-right: 0.25rem;
}
details summary::-webkit-details-marker {
    display: none;
  }


  .faq-editor div {
    margin: 1rem 0;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 1px 1px 10px #eaeaea;
  }
.faq-editor .summary-faq {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  .faq-editor .detail-faq {
    border-top: 1px solid #e2e8f0;
    padding: 1em;
    font-weight: 300;
    line-height: 2;
    margin:0;
    font-size: 20px;
  }
  .faq-editor .summary-faq {
    margin: 0;
    position: relative;
    font-size: 1.2rem;
    font-weight: bold;
  }
  .faq-editor .summary-faq:focus {
    outline: none;
  }
  .faq-editor .summary-faq:before {
    font-family: "dashicons";
    content: "\f347";
    font-size: 1.5rem;
    font-display: swap;
    vertical-align: middle;
    padding-right: 0.25rem;
}
details summary::-webkit-details-marker {
    display: none;
  }

.faq-block-overlay {
    margin: 2rem 0;
    background-color: #f5f5f5;
    padding: 1rem;
    box-shadow: 1px 1px 2px #eaeaea;
}

.faq-block-overlay h2 {
    border-bottom: solid 2px #eaeaea;
}
.faq-block-overlay-editor{
    background-color: #fafafa;
    border: solid 1px #eaeaea;
}

.post-block-add{
    background-color: #eaeaea;
    padding: 10px;
}
.post-block-add-frame{
    margin-top:10px;
    margin-bottom:10px;
    padding: 16px;
    display:flex;
    flex-direction: row;
    background-color: white;
    box-shadow: 1px 1px 10px #eaeaea;

}
.post-block-add-frame .post-block-add-child-image{
     width: 33%;
     background-size: cover;
     background-position: center center;
     
}
.post-block-add-frame .post-block-add_child-text{
    width: 66%;
    padding-left: 16px;
    color:#404040;

}
.post-block-add-link{
    text-decoration: none;
}
.post-block-add-link .post-block-add-frame{
    text-decoration: none;    
}
.post-block-add-link .post-block-add-frame p, .post-block-add-link .post-block-add-frame h3{
    text-decoration: none;
    color:#404040;
}
.post-block-add-link:hover .post-block-add-frame{
    background-color: rgba(234,234,234,0.25);
    text-decoration: none;
}

@media (max-width:600px){
    .post-block-add-frame{
        flex-direction: column;
    }
    .post-block-add-frame .post-block-add-child-image{
        width: 100%;
        height:200px;
   }
   .post-block-add-frame .post-block-add_child-text{
       width: 100%;
       padding-left: 0;
       padding-top: 16px;
   }
}