body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

li{
list-style: none;
cursor:pointer;
}
#link_CV7{
    text-decoration: none;
}
.link_CV7{
    position:absolute;
    text-decoration: none;
    top:20px;
    right: 80px;
    border: 2px solid #b6604f;
    border-radius: 20px;
    display: block;
    margin:25px auto 10px;
    width: 220px;
    align-self: center;
    background: linear-gradient(to left,rgba(217, 75, 47, 1) 0%,rgba(210, 42, 9, 1) 100%);
    box-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    text-decoration: none;
    /* background: linear-gradient(to left,rgba(214,131,114,0.9) 0%,rgba(214,131,114,0.8) 100%); */
    text-align: center;
}
   

.link_CV7:hover{
    background: linear-gradient(to left,rgba(182, 35, 5, 1) 0%,rgba(159, 36, 11, 1) 100%);
    transform: translatey(1px); 
    box-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.link_CV7 span {
    padding: 8px 10px 10px 8px;
    display: block;
    border-radius: 20px;
    line-height: 30px;
    color: #fff;
    border: 2px solid #b6604f;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.6);
        font-weight: 800;
        font-size: 1.4rem;
} 

.link_CV7:hover span::after {
    display: none;
}
#link_CV7:hover span::after {
    display: none;
}

.container_page{
    margin: 30px 7% 30px 7%;
}

.header_page {
    height: 120px;
    padding-bottom: 10px;
}    

.header_page h1 {
    padding-top: 15px;
}

#fieldset_searchbar button,
#fieldset_searchbar input{
    height: 62px;
}

.input_search_bar {
    background-color: #E7E7E7;
    margin-bottom: 0;
    border: none;
    border-radius: 5px;
}

.input_search_bar.alert {
    background-color: #ea6f61;  
}

#fieldset_searchbar.alert {
    background-color: #ea6f61;
    border-left : 0;
    border-right : 0;
}

#fieldset_searchbar i{
 font-size: 1.8rem;
 color:rgba(48, 47, 47);
}

#fieldset_searchbar.alert i{
 color: #fff;
}

#fieldset_searchbar{
    padding:10px 0 0 0;
    font-size: 1.2rem;
   height: auto;
}

input:hover,  
input:active, 
input:focus,
label:focus {
    outline:0 !important;
    -webkit-appearance:none;
    box-shadow: none !important;
    outline-color:#000; 
}

fieldset:nth-child(1) .form-control::placeholder {
    font-size: 0.95rem;
    color: #000;
}

.fieldsetTag{
    margin: 0;
}

.boxresults .form-control::placeholder {
    font-size: 0.95rem;
    color: #fff;
}

.boxresults input{
    color: #fff;
    width: 100%;
}

.input_search_bar i{
    color: #000;
}

.tagChoice_box{
    height: 30px;
}

.tagChoice{
    border-radius: 5px;
    color: #fff;
    margin: 5px 15px 10px 0;
    justify-content: space-around;
    align-items: center;
    display: inline-flex;
    cursor: pointer;
    height: 40px;
}

.tagChoice img {
    padding: 10px 10px 10px 10px;
}

.input-group{
    margin-left:0;
}

.fieldsetTag{
    position:relative;
    display: flex;
}

.boxresults{
    width: 170px;
    height: 70px;  
    margin-right: 30px;
    padding: 0;
    margin-left:0;
}
.boxresults .boxinput{
    display: flex;
    border-radius: 5px;
}

.boxresults label{
    display: flex;
    justify-content: space-between;
    width: calc(100% - 50px);
}

.boxresults input{
    height: 100%;
    padding-top: 9px;
    padding-bottom:3px;
}

.boxresults button{
    width: 50px;
    padding: 0;
}

.boxresults button i{
    line-height: 65px;
    width: 100%;
    height: 100%;
}

.boxresultIngredients.open .boxresultsUl,
.boxresultAppliance.open .boxresultsUl,
.boxresultUstensils.open .boxresultsUl{
    transform: scaleY(1);
    opacity: 1;
} 

.boxresultIngredients .boxresultsUl,
.boxresultAppliance .boxresultsUl,
.boxresultUstensils .boxresultsUl{
    transform: scaleY(0);
    transform-origin: 0 0;
    transition: transform 0.3s ease-in-out;
    -webkit-transition: transform 0.3s ease-in-out;
    -moz-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    opacity: 0;
}

.boxresultIngredients li,
.boxresultUstensils li,
.boxresultAppliance li{
    width: 33%;
}

.boxresultIngredients.open,
.boxresultAppliance.open,
.boxresultUstensils.open{
    width :580px;  
} 

.boxresults{
    transition: transform 0.3s;
    -webkit-transition: width 0.3s ease-in-out;
    -moz-transition: width 0.3s ease-in-out;
    -o-transition: width 0.3s ease-in-out;
    transition: width 0.3s ease-in-out;
}

.boxresults ul{
    padding:0;
    flex-wrap: wrap;
    height: auto;  
    width: 580px;
    position: absolute;  
    z-index:110; 
    padding:0;
    display: flex;
}

@media screen and (max-width: 1200px) {
    .boxresults ul{
        max-width: 500px; 
    }

    .boxresultIngredients.open,
    .boxresultAppliance.open,
    .boxresultUstensils.open{
        min-width: 500px;
        max-width: 500px;
    } 

    .boxresults li{
        width: 33%;
    }
}

@media screen and (max-width: 1000px) {
    .boxresults ul{
        min-width: 350px; 
    }

    .boxresultIngredients.open,
    .boxresultAppliance.open,
    .boxresultUstensils.open{
        max-width: 350px;
    } 

    .boxresults li{
        width: 33%;
    }
}

@media screen and (max-width: 800px) {
    .boxresults ul{
        max-width: 250px; 
        min-width: 250px; 
    }
    .inputList{
        padding-right: 0;
    }
    .boxresults{
        margin-right: 10px;
    }
    .boxresultIngredients.open,
    .boxresultAppliance.open,
    .boxresultUstensils.open{
        min-width: 250px;
        max-width: 250px;
    } 
    .boxresults li{
        width: 50%;
    }
}

@media screen and (max-width: 600px) {
    .fieldsetTag{
        display:flex;
        flex-direction: column;
        align-items: center;
    }
    .boxresults ul{
        max-width: 300px; 
    }
    .fieldsetTag .boxresults{
        margin-right: 20px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .boxresultIngredients.open,
    .boxresultAppliance.open,
    .boxresultUstensils.open{
        transition: transform 0.3s;
        min-width: 300px;
    } 

    .boxresults li{
        width: 50%;
    }
    .boxresults button{
        width: 50px;
    }
    .norecipe{
        font-size: 1rem;
    }
}

@media screen and (max-width: 350px) {
    .boxresults ul{
        max-width: 100%;
        min-width: 300px; 
    }
    
    .boxresultIngredients.open,
    .boxresultAppliance.open,
    .boxresultUstensils.open{
        max-width: 300px; 
    } 

    .boxresults li{
        width: 50%;
    }
}

.search_ingredients input:focus-visible,
.search_ingredients input,
.search_ingredients,
.boxresultIngredients ul,
.ingredientsUl{
    background-color: #3282F7;  
}

.search_appareils input:focus-visible,
.search_appareils input,
.search_appareils,
.boxresultAppliance ul,
.applianceUl{
    background-color: #68D9A4;
}

.search_ustensils input:focus-visible,
.search_ustensils input,
.search_ustensils,
.boxresultUstensils ul,
.ustensilsUl{
    background-color: #ED6454;
}

.search_ingredients,
.search_ustensils,
.search_appareils{
    height: 70px;
} 

.tagChoice .textTag{
    padding: 0 15px;
}
.tagChoice button{
    width: 50px;
    border: none;
    background-color: transparent;
    height: 50px;
    padding: 0;
}
.tagChoice button:hover,
.tagChoice button:active{
    outline: none;
}

.tagChoice button icon{
    font-size: 1.5rem;
    font-weight: 400;
}

.div_box_recipes{
    padding: 0;
}

#box_recipes{
 margin-top:30px;
    padding: 0;
}

#noresult_box{
    background-color: #ea6f61;
    margin : auto;
   padding: 7px;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    height: 0; 
}

#fieldset_searchbar.alert .norecipe{
    height: auto;
}

#fieldset_searchbar.alert #noresult_box{
    height: auto;
    transform: scaleY(1);
   padding:10px;
}

.fieldsetTag{
    margin-top: 5px;
}

.card-deck .card{
    height: 380px; 
    min-width: 380px; 
    padding: 0;
    border-radius: 10px 10px;
    margin-bottom: 30px;
    overflow: hidden;
    box-sizing: border-box;
}

.card .card-img-top{
    height: 178px;
    width: 100%;
    display: block;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
}
.card .cardText{
    padding : 0.8rem 1.45rem 1.2rem 1.45rem;
}

.card header{
    border : none;
    background: #fff;
    padding-right: 0;
    padding-left: 0;
} 

.card h2{
    font-size: 1.1rem;
    margin: 0;
    display: block;
    width: calc(100% - 77);
}

.cardTime{
    min-width: 77px;
}

.cardTime img{
    padding-bottom: 3px;
}

.card_textContent {
    width: 100%;
    font-size: 0.75rem;
    background: #fff;
    border-radius: 0 0 10px 10px;
    margin : 0; 
}

.card ul{
    padding: 0;
    padding: 0 10px 0 10px;
    width: 100%;
    padding-left: 0;
}
.card li{
    list-style: none;
    width: 100%;
}

#card_description{
    padding-left: 0;
    padding-right: 0;
} 

#box_recipes #card_description p {
    overflow: hidden;
    display: inline-block;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
}

#modal{
    display:none;   
    position :fixed;
    background-color: #ea6f61;
    background-color: #fff;
    z-index :130;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
} 

#modal header {
    margin-top: 20px;
}

#modal header h2 {
    font-size: 2.4rem;
} 

#modal .card header {
    margin-bottom: 15px;
    height: 70px;
}

#modal .card .card_textContent{
    font-size: 1.2rem;
}

#modal .card .cardTime{
    min-width: 200px;
    font-size: 1.5rem;
}

#modal .card .cardTime i{
    margin-right: 10px;
}

#modal button{
    color: #ea6f61;
    background-color: #fff;
    position:absolute;
    right: 50px;
    height: 100px;
    top: 20px; 
    width: 8vw;
    border : none;
    font-size: 3.3rem;
    z-index: 150;
    outline: none;
}

#modal .btn_closeModal i{
    font-size: 40px;
    padding:10px;
}

#modal .card{
    width: 100%;
    height:  95%;
    border-radius: 15px 15px 0 0;
}

#modal .card .cardText{
    padding-left: 70px;
    padding-right: 70px;
}

#modal .card img{
    width: 100%;
    height: 25%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

@media screen and (max-width: 1000px) {
    .card-deck .card{
        min-width: 320px;
    } 
    #modal #cardHeader{
        height: auto;
    }
}

@media screen and (max-width: 800px) {
    #modal .card .cardText{
        padding-left: 30px;
        padding-right: 30px;
    }  
    #modal #cardHeader{
        display: flex;
        flex-direction: column;
        margin-top: 0;
        margin-bottom: 10px;
        height: auto;
    } 

    #modal .card .cardTime{
        align-self: flex-end;
        min-width: 150px;
    }

    #modal .card img,
    #modal .card{
        border-radius: 0%;
    }
}

@media screen and (max-width: 500px) {
    #box_recipes{
        margin-top: 20px;
    } 

    #modal .header_page{
        margin-top: 35px;
    }

    #modal #cardHeader h2{
        font-size: 2rem;
    }
    
    #modal .card .cardText{
        padding-left: 20px;
        padding-right: 20px;
    }

    #modal .card .card_textContent{ 
        display: flex;
        flex-direction: column;
    }

    #modal .card ul{
        min-width: 100%;
    }
    #modal .card #card_description{
        min-width: 100%;
    }
    #modal button{
        top: 2px;
    }

    #modal .card .cardText{
        padding-left: 20px;
        padding-right: 20px;
    }    

    .card-deck .card{
        min-width:100%;
    } 
}

