/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* header */
header {
    padding: 20px 0 17px !important;
    text-align: center;
}
header h1 {
    color: #0059bb;
    font-size: 3em;
}

/* Contenu principal */
main#main {
    max-width: 1200px;
    margin: 0 auto;
}
.kooki_isl_navbar {
    background-color: #fff;
    padding-bottom: 17px;
}
.kooki_isl_navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kooki_isl_navbar .container:first-child {
    margin-bottom: 10px;
}
.main-container {
    padding-bottom: 50px;
}
.main-container .kooki_isl_search {
    margin-bottom: 50px;
}

/* recherche */
.page-template-page-recherche #content {
    margin-top: -75px;
}
.kooki_isl_back {
    text-align: center;
    border: 3px solid #0059bb;
    padding: 10px 0;
    border-radius: 8px;
    margin-bottom: 40px;
}
.kooki_isl_back a {
    color: #0059bb;
}
.kooki_isl_back a:before {
    content: '< ';
    content: "\f0a8";
    font: normal normal normal 14px/1 FontAwesome;
    margin-right: 6px;
}
a.rounded_button.plan-site {
    background-color: #f3953d !important;
}
ul.kooki_isl_categories {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    justify-content: flex-start;
}
ul.kooki_isl_categories li {
    width: 198px;
    height: 176px;
    display: flex;
    flex-shrink: 1;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #D2D2D2;
    border-bottom: 1px solid #D2D2D2;
}
ul.kooki_isl_categories li:nth-last-child(1),ul.kooki_isl_categories li:nth-last-child(2){
    flex-grow: 0;
}
ul.kooki_isl_categories li:nth-child(5n){
    border-right: none;
}
ul.kooki_isl_categories li a {
    display: block;
    text-align: center;
}
ul.kooki_isl_categories li a .container_catimg{
    min-height: 100px;
}
ul.kooki_isl_categories li a .container_catimg img {
    margin: 0 auto;
}
ul.kooki_isl_categories li a span {
    display: block;
    margin-top: 15px;
    font-size: 20px;
    font-weight: 400;
    color: #1173B6;
}
ul.kooki_isl_produits {
    padding-right: 40px;
}
ul.kooki_isl_produits li {
    max-width: 817px;
    margin: 0 auto;
}
ul.kooki_isl_produits li a {
    display: flex;
    justify-content: space-between;
}
ul.kooki_isl_produits img {
    margin-top: 40px;
}

.kooki_isl_produit_place{
	font-size: 35px;
	color:#1173B6;
}

/* Plan du magasin et allées */

.image-plan-layer{
	width: 100%;
}

.kooki_isl_produit_search i {
    color: #fff;
    font: normal normal normal 32px/1 FontAwesome;
}
.kooki_isl_produit_search i:after {
    content: "\f002";
}

/* Top 20 */
.kooki_isl_top ul {
    padding: 0;
}
.kooki_isl_top ul li a {
    display: flex;
    justify-content: space-between;
}

/* Fenêtre modale d'affichage du plan */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
    background-color: #fefefe;
    margin: 2% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 1000px;
    height: 570px
}
@media (max-width: 1100px){
.modal-content {
    background-color: #fefefe;
    margin: 2% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 819px;
    height: 497px
}
}
.modal-content .image-plan-container{
	position: relative;
}

.modal-content #layer_base{
	width: 100%;
}
.modal-content .image-plan-layer{
	z-index: 20;
	position: absolute;
	top: 0;
	left: 0;
}
.modal-content .close {
    display: flex;
    align-items: center;
    color: #ffff;
    font-size: 28px;
    font-weight: bold;
    justify-content: flex-end;

}

.modal-content .close .modal-close-cross{
	background-color: #1173B6;
    border-radius: 60px;
    height: 30px;
	width: 30px;
	text-align: center;
}

.modal-content .close:hover,
.modal-content .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal-content span.modal-close-label {
    font-size: 15px;
    display: block;
    margin-right: 6px;
    margin-top: 1px;
}