@charset "UTF-8";
@font-face{
    font-family:"wuerthbook";    
    src:url("fonts/WuerthBook.ttf") format("truetype");
    font-weight:normal;
    font-style:normal
}
@font-face{
    font-family:"wuerthbold";
    src:url("fonts/WuerthBold.ttf") format("truetype");
    font-weight:normal;
    font-style:normal
}

*{
    margin: 0;
    box-sizing: border-box;
}

p strong{
    font-family: "wuerthbold";
}

table{
    width: 100%;
}

body.load{
    overflow: hidden;
}

body{
    background-color: #eaeaea;
    font-family: "wuerthbook";
    position: relative;
}

#load{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.164);
    z-index: 50;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0;
}

.load #load{
    display: flex;
    opacity: 1;
}

.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #c00; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

.bold{
    font-family: "wuerthbold";
    font-weight: 700;
    line-height: normal;
}

.head{
    background-color: #fff;
	padding: 20px;
	text-align: center;
}

.flex {
	display: flex;
}

.head .flex {
	justify-content: space-between;
	align-items: center;
}

.head svg, .head img {
	width: 200px;
}

.red{
    color: #c00;
}

p.date{
    text-align: center;
    color: #818a8f;
}

.wrapper{
    max-width: 1020px;
    margin: 0 auto;
    padding: 30px 16px;
}

.wrapper.shadow{
    background: #ffffff;
    box-shadow: rgba(0,0,0,0.3) 0 0 30px;

}

section{
    background-color: #fff;
	margin-bottom: 20px;
}

.hidden{
    display: none;
}


.bloque{
    color: #c3c8c8;
    cursor: not-allowed;
    display: none;
}

.bloque i{
    float: right;
}

/*input[type=text],input[type=number], select{
    border: solid 1px #818a8f;
}*/

input:read-only,  input[readonly=true], select:disabled{
    border: 1px solid #f1f1f1;
    cursor: default;
    color: #818a8f;
}

input:-moz-read-only{
    border: 1px solid #f1f1f1;
    cursor: default;
}

input:focus, select:focus, textarea:focus{
    outline-color: #1f8bd8;
}


input:read-only:focus, input[readonly=true]:focus{
    outline-color: #818a8f;
}

input+label{ cursor: pointer;}

.euro{
    background-image: url("data:image/svg+xml,%3C!-- Generator: Adobe Illustrator 25.2.1, SVG Export Plug-In --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='20px' height='20px' viewBox='0 0 20 20' style='overflow:visible;enable-background:new 0 0 20 20;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;%7D%0A%3C/style%3E%3Cdefs%3E%3C/defs%3E%3Crect class='st0' width='20' height='20'/%3E%3Cg%3E%3Cpath d='M6.7,8.4C6.8,8,6.9,7.5,7.2,7.1c0.6-1.1,1.4-1.9,2.4-2.5c1-0.6,2-0.8,3.1-0.8c0.7,0,1.5,0.2,2.3,0.5v1.4 c-0.3-0.2-0.6-0.3-0.8-0.4c-0.5-0.2-1-0.3-1.6-0.3c-1.3,0-2.4,0.5-3.3,1.4C8.7,7,8.3,7.6,8,8.4h6l-0.6,1H7.8c0,0.2,0,0.5,0,0.6 c0,0.2,0,0.4,0.1,0.7h4.7l-0.6,1H8.1c0.1,0.2,0.2,0.4,0.3,0.6c0.4,0.8,1.1,1.4,2,1.9c0.7,0.4,1.5,0.6,2.3,0.6 c0.6,0,1.2-0.1,1.7-0.3c0.2-0.1,0.4-0.2,0.7-0.3v1.4c-0.8,0.3-1.6,0.5-2.4,0.5c-1.6,0-2.9-0.5-4.1-1.6c-0.9-0.8-1.5-1.7-1.8-2.8H5 l0.6-1h0.8c0-0.3,0-0.5,0-0.7c0-0.1,0-0.3,0-0.6H5l0.6-1H6.7z'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: right 2px bottom 5px;
}

.exemple .euro{
    background-image: url("data:image/svg+xml,%3C!-- Generator: Adobe Illustrator 25.2.1, SVG Export Plug-In --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='20px' height='20px' viewBox='0 0 20 20' style='overflow:visible;enable-background:new 0 0 20 20;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;%7D .st1%7Bfill:%23CC0000;%7D%0A%3C/style%3E%3Cdefs%3E%3C/defs%3E%3Crect class='st0' width='20' height='20'/%3E%3Cg%3E%3Cpath class='st1' d='M6.7,8.4C6.8,8,6.9,7.5,7.2,7.1c0.6-1.1,1.4-1.9,2.4-2.5c1-0.6,2-0.8,3.1-0.8c0.7,0,1.5,0.2,2.3,0.5v1.4 c-0.3-0.2-0.6-0.3-0.8-0.4c-0.5-0.2-1-0.3-1.6-0.3c-1.3,0-2.4,0.5-3.3,1.4C8.7,7,8.3,7.6,8,8.4h6l-0.6,1H7.8c0,0.2,0,0.5,0,0.6 c0,0.2,0,0.4,0.1,0.7h4.7l-0.6,1H8.1c0.1,0.2,0.2,0.4,0.3,0.6c0.4,0.8,1.1,1.4,2,1.9c0.7,0.4,1.5,0.6,2.3,0.6 c0.6,0,1.2-0.1,1.7-0.3c0.2-0.1,0.4-0.2,0.7-0.3v1.4c-0.8,0.3-1.6,0.5-2.4,0.5c-1.6,0-2.9-0.5-4.1-1.6c-0.9-0.8-1.5-1.7-1.8-2.8H5 l0.6-1h0.8c0-0.3,0-0.5,0-0.7c0-0.1,0-0.3,0-0.6H5l0.6-1H6.7z'/%3E%3C/g%3E%3C/svg%3E%0A");
}

#resultats{
    background: #fff;
    position: absolute;
    left: 10px;
    box-shadow: rgba(0,0,0,0.3) 0 0 30px;
    padding: 10px;
    width: 70%;
    z-index: 10;
    overflow-y:auto;
    max-height:80%
}



#resultats button{
    background: none;
    border: none;
    cursor: pointer;
    font-family: "wuerth";
    padding: 0;
    font-size: 16px;
}

#resultats button:hover{
    text-decoration: underline;
}


#resultats button#hideResultats{
    color: transparent;
    position: absolute;
    right: 5px;
    top: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-image: url(https://www.modyf.fr/documents/pages/shoefinder/V3/images/close.svg);
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 1;
    transition: 0.3s;
}

#resultats button#hideResultats:hover{
    text-decoration: none;
    opacity: 0.5;
}

.flex{
    display: flex;
}

header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sur-titre{
    text-align: center;
    color: #fff;
    font-family: "wuerthbold";
}

.sur-titre span{
    background-color: #cc0000;
    padding: 5px;
    width: 100%;
    display: block;
}

h1{
    font-family: "wuerthbold";
    font-weight: normal;
    font-size: 42px;
    text-transform: uppercase;
    margin: 20px 0;
    text-align: center;
    line-height: 1;
}


h2{
    font-family: "wuerthbold";
	font-weight: normal;
	font-size: 18px;
	color: #000;
	margin: 0;
	padding: 10px 15px;
	border-bottom: solid 2px #c00;
}

hr{
    margin: 10px;
}

.form1, .form2{
    display: flex;
    justify-content: space-around;
}

.form1 .left, .form1 .right, .form2 .left, .form2 .right{
    width: 40%;
    padding: 5px;
}

.input-group{
    display: flex;
    flex-flow: column;
    margin: 10px 0;
}

.input-group label{
    font-family: "wuerthbold";
}

.form2 .input-group label{
    font-family: "wuerthbold";
    color: #818a8f;
}

.input-group input{
    width: 100%;
    border: solid 1px #818a8f;
    padding: 5px;
    font-family: "wuerthbook";
}

p.center{
    text-align: center;
}

.coord{
    text-transform: uppercase;
    font-family: "wuerthbold";
    font-size: 20px;
}

thead th{
    font-family: "wuerthbold";
    text-transform: uppercase;
    background-color: #818a8f;
    color: #fff;
    font-size: 14px;
    padding: 5px 0;
}

td{    
    padding: 0;
}

#maintable tbody{
    counter-reset: section;
}

.ligne, .exemple{
    position: relative;
}

.ligne::before, .exemple::before{
    counter-increment: section;
    content: counter(section);
    border: solid 1px #818a8f;
    line-height: 30px;
    height: 30px;
    width: 30px;
    display: block;
    text-align: center;
    box-sizing: border-box;
    background-color: #f5f5f5;
}

.exemple::before{
    content: "0";
    color: #c00;
    font-style: italic;
    border: solid 1px #c00;
}

tr.ligne:nth-child(odd):before{
    background-color: #fff;
}

tr.exemple:nth-child(even) td input{
    background-color: #fff;
    color: #c00;
}

.exemple td input{
    font-style: italic;
}

.nbl{
    display: none;
}

input, select{
    height: 30px;
    padding: 0 5px;
    width: 100%;
}

#maintable{
    table-layout: fixed;
    position: relative;
    margin-bottom: 20px;
}

.p20{
    padding: 20px;
}


tr{
    width: 100%;
    
}

tr:nth-child(odd) td input{
    background-color: #fff;
}

tr:nth-child(even) td input{    
    background-color: #f5f5f5;
}

tr td input{

    border: 1px solid #818a8f;
}


#maintable tr td:first-child,#maintable tr th:first-child{
    width: 30px;
}

#maintable tr td:nth-child(2), #maintable tr th:nth-child(2){ /* ref designation */
   
    width: inherit;
}

#maintable tr td:nth-child(3), #maintable tr th:nth-child(3){ /* qté */
   width: 10%;
}

#maintable tr td:nth-child(4), #maintable tr th:nth-child(4){ /* pu */
    width: 17%;
 }

 #maintable tr td:nth-child(5), #maintable tr th:nth-child(5){ /* montant */
    width: 17%;
 }

 #maintable tr td:nth-child(6), #maintable tr th:nth-child(6){ /* position */
    width: 20%;
 }

 #maintable tr td:nth-child(7), #maintable tr th:nth-child(7){ /* stock */
    width: 17%;
 }

#maintable td:nth-child(8), #maintable th:nth-child(8){  /* delete */
    width: 20px;
    text-align: center;
}

#resultats table{
    table-layout: auto;
}

#maintable #resultats td:first-child{
    width: 100%;
}

input[data-status]{
    background-position: right 5px bottom 5px;
    background-repeat: no-repeat;
    border: solid 1px;
}


input[data-status=ok]{
    background-image: url("data:image/svg+xml,%3C!-- Generator: Adobe Illustrator 25.2.1, SVG Export Plug-In --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='20px' height='20px' viewBox='0 0 20 20' style='overflow:visible;enable-background:new 0 0 20 20;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%2340AA75;%7D%0A%3C/style%3E%3Cdefs%3E%3C/defs%3E%3Cg%3E%3Cpath class='st0' d='M20,10c0,5.5-4.5,10-10,10S0,15.5,0,10C0,4.5,4.5,0,10,0S20,4.5,20,10z M1.9,10c0,4.5,3.6,8.1,8.1,8.1 s8.1-3.6,8.1-8.1c0-4.5-3.6-8.1-8.1-8.1S1.9,5.5,1.9,10z M15.7,7.9l-7,6.9C8.5,15,8.2,15,8,14.8l-3.7-3.7c-0.2-0.2-0.2-0.5,0-0.7 l0.9-0.9c0.2-0.2,0.5-0.2,0.7,0l2.4,2.4l5.7-5.7c0.2-0.2,0.5-0.2,0.7,0l0.9,0.9C15.8,7.4,15.8,7.7,15.7,7.9z'/%3E%3C/g%3E%3C/svg%3E%0A");
    border-color: #40AA75;
    color: #40AA75;
}

input[data-status=wrong]{
    border-color: #cc0000;
    color: #cc0000;
    background-image: url("data:image/svg+xml,%3C!-- Generator: Adobe Illustrator 25.2.1, SVG Export Plug-In --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='20px' height='20px' viewBox='0 0 20 20' style='overflow:visible;enable-background:new 0 0 20 20;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23CC0000;%7D%0A%3C/style%3E%3Cdefs%3E%3C/defs%3E%3Cpath class='st0' d='M20,10c0,5.5-4.5,10-10,10S0,15.5,0,10C0,4.5,4.5,0,10,0S20,4.5,20,10z M18.1,10c0-4.5-3.6-8.1-8.1-8.1 S1.9,5.5,1.9,10c0,4.5,3.6,8.1,8.1,8.1S18.1,14.5,18.1,10z M11.6,10l2.5,2.5c0.2,0.2,0.2,0.5,0,0.7l-0.9,0.9c-0.2,0.2-0.5,0.2-0.7,0 L10,11.6l-2.5,2.5c-0.2,0.2-0.5,0.2-0.7,0l-0.9-0.9c-0.2-0.2-0.2-0.5,0-0.7L8.4,10L5.9,7.5C5.7,7.3,5.7,7,5.9,6.8l0.9-0.9 c0.2-0.2,0.5-0.2,0.7,0L10,8.4l2.5-2.5c0.2-0.2,0.5-0.2,0.7,0l0.9,0.9c0.2,0.2,0.2,0.5,0,0.7L11.6,10z'/%3E%3C/svg%3E%0A");
}

input[data-status=warning]{
    border-color: #FFC507;
    color: #FFC507;
    background-image: url("data:image/svg+xml,%3C!-- Generator: Adobe Illustrator 25.2.1, SVG Export Plug-In --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='20px' height='20px' viewBox='0 0 20 20' style='overflow:visible;enable-background:new 0 0 20 20;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFC507;%7D%0A%3C/style%3E%3Cdefs%3E%3C/defs%3E%3Cg%3E%3Cpath class='st0' d='M20,10c0,5.5-4.5,10-10,10S0,15.5,0,10C0,4.5,4.5,0,10,0S20,4.5,20,10z M18.1,10c0-4.5-3.6-8.1-8.1-8.1 c-4.5,0-8.1,3.6-8.1,8.1c0,4.5,3.6,8.1,8.1,8.1C14.5,18.1,18.1,14.5,18.1,10z'/%3E%3Cpath class='st0' d='M10.8,4.1H9.2C9,4.1,8.8,4.3,8.8,4.5v6.2c0,0.2,0.2,0.4,0.4,0.4h1.5c0.2,0,0.4-0.2,0.4-0.4V4.5 C11.2,4.3,11,4.1,10.8,4.1z'/%3E%3Ccircle class='st0' cx='10' cy='14.1' r='1.8'/%3E%3C/g%3E%3C/svg%3E%0A");
}

button.delete {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_155_83)'%3E%3Cg clip-path='url(%23clip1_155_83)'%3E%3Cpath d='M7.00098 20.5L6.00098 7.5H18.001L17.001 20.5H7.00098Z' stroke='%23818A8F' stroke-width='2' stroke-miterlimit='10'/%3E%3Cpath d='M10.001 17.5V10.5' stroke='%23818A8F' stroke-width='2' stroke-miterlimit='10'/%3E%3Cpath d='M14.001 17.5V10.5' stroke='%23818A8F' stroke-width='2' stroke-miterlimit='10'/%3E%3Cpath d='M3.00098 7.5H21.001' stroke='%23818A8F' stroke-width='2' stroke-miterlimit='10'/%3E%3Cpath d='M14.251 4.5H9.75098C9.35315 4.5 8.97162 4.65804 8.69032 4.93934C8.40901 5.22064 8.25098 5.60218 8.25098 6V7.5H15.751V6C15.751 5.60218 15.5929 5.22064 15.3116 4.93934C15.0303 4.65804 14.6488 4.5 14.251 4.5Z' stroke='%23818A8F' stroke-width='2' stroke-miterlimit='10'/%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_155_83'%3E%3Crect width='24' height='24' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3CclipPath id='clip1_155_83'%3E%3Crect width='24' height='24' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-size: cover;
    background-color: transparent;
    font-size: 0px;
    width: 16px;
    height: 18px;
    border: none;
    cursor: pointer;
    padding: 0;
    display: block;
}


p.ajout{
    display: inline-block;
    border: none;
    padding: 3px 10px;
    font-family: "wuerthbook";
    font-weight: normal;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    position: relative;
    padding-left: 20px;
}

p.ajout::before{
    height: 100%;
    width: 20px;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3C!-- Generator: Adobe Illustrator 24.0.2, SVG Export Plug-In --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='11px' height='11px' viewBox='0 0 9.5 9.5' style='enable-background:new 0 0 9.5 9.5;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF;%7D%0A%3C/style%3E%3Cdefs%3E%3C/defs%3E%3Cg%3E%3Cpath class='st0' d='M5.4,9.5H4.1c-0.2,0-0.3-0.1-0.4-0.2C3.5,9.2,3.5,9,3.5,8.8l0-2.8L0.7,6C0.5,6,0.3,6,0.2,5.8S0,5.6,0,5.4 l0-1.3c0-0.2,0.1-0.3,0.2-0.5s0.3-0.2,0.5-0.2l2.8,0V0.7c0-0.2,0.1-0.3,0.2-0.5S3.9,0,4.1,0h1.3c0.2,0,0.3,0.1,0.5,0.2S6,0.5,6,0.7 v2.8l2.8,0c0.2,0,0.3,0.1,0.5,0.2c0.1,0.1,0.2,0.3,0.2,0.5v1.3c0,0.2-0.1,0.3-0.2,0.4C9.2,6,9,6,8.8,6H6v2.8C6,9,6,9.2,5.8,9.3 S5.6,9.5,5.4,9.5z'/%3E%3C/g%3E%3C/svg%3E%0A");
    display: block;
    content: " ";
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    left: 0;
}

p#add{
    background-color: #cc0000;
}


.grey{
    background: #818a8f;
    text-transform: uppercase;
    font-family: "wuerthbold";
    font-weight: normal;
    font-size: 12px;
    text-align: center;
    color: #fff;
}


.pop{
    display: none;
    position: absolute;    
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
    box-sizing: border-box;
    padding: 5px;
}

.pop.active{
    display: block;
}

.pop::after{
    content:'';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #333;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%,0);
}

.title{
    border-bottom: 1px solid white;
    font-size: small;
}

h3{
    background-color: #cc0000;
    color: #fff;
    padding: 5px;
    margin-bottom: 10px;
    font-family: "wuerthbold";
}

.checkul{
    margin-bottom: 10px;
}

.checkul li{
    list-style: url("data:image/svg+xml,%3C!-- Generator: Adobe Illustrator 25.2.1, SVG Export Plug-In --%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='20px' height='20px' viewBox='0 0 20 20' style='overflow:visible;enable-background:new 0 0 20 20;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;%7D .st1%7Bfill:%23CC0000;%7D%0A%3C/style%3E%3Cdefs%3E%3C/defs%3E%3Crect class='st0' width='20' height='20'/%3E%3Cpath class='st1' d='M15.6,2.7v14.7H0.9V2.7H15.6 M16.4,1.8H0v16.4h16.4V1.8L16.4,1.8z'/%3E%3Cpolygon class='st1' points='7.4,17.5 0.1,10.2 3,7.3 7.4,11.7 17,2.1 20,5 '/%3E%3C/svg%3E%0A");
}

#promos{
    display: flex;
    justify-content: space-around;
}

#promos div{
    display: flex;
    flex-flow: row;
    align-items: center;
}

#promos div input{
    height: auto;
    width: auto;
    margin-right: 10px;
}

#promos div label{
    display: block;
}

.technique{
    display: flex;   
    justify-content: space-around;
}

.technique div{
    display: flex;
    align-items: center;
}

.technique input, .marquage input{
    width: auto;
    margin-right: 10px;
}

.marquage div.flex{
    display: flex;
    flex-flow: column;
    width: 48%;
}

.marquage{
    display: flex;
    justify-content: space-around;
}

.marquage .top{
    display: flex;
    align-items: center;
}

.marquage .bottom{
    display: none
}

.couleurz{
    display: flex;
    justify-content: space-between;
}

.couleurz div{
    display: flex;
    align-items: center;
}

.couleurz input{
    width: auto;
    margin-right: 10px;
}

.couleurs2 div{
    margin-top: 10px;
}

/*input[type=file]{
    display: none;
}*/

label[for=inputfile]{
    display: inline-block;
    background: #c3c8c8;
    color: #37424a;
    border: solid 2px transparent;
    padding: 3px 8px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px;
    vertical-align: top;
    margin-right: 10px;
    transition: 0.3s;
    margin-bottom: 10px;
    cursor: pointer;
}

label[for=inputfile]:hover{
    background: transparent;
    color: #37424a;
    border-color: #37424a;
}

.drop-files{
    border-color: #818a8f!important;
}

.drop-files .drop-files__fake{

    cursor: pointer!important;
}

#preview{
    font-size: 0px;
    display: none;
    margin-bottom: 20px;
}

#preview .file{
    display: inline-block;
    font-size: 12px;
    width: 200px;
    box-shadow: 0px 5px 20px 2px rgba(37, 37, 38, 0.14);
    margin: 8px;
}

#preview .file .bot{
    max-width: 200px;
    padding: 5px;
    background: #c3c8c8;
}

#preview .file .bot p{
    word-break: break-all;
}

#preview .file .thumb{
    width:100%;
    height: 100px;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;  
}

#preview .file .thumb2{
    width:100%;
    height: 100px;
    background-color: #ffffff;
    position: relative;
}

.icon{
    width: 70px;
    height: 86px;
    position: relative;
    background: #ffffff;
    border: solid 3px #37424a;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #37424a;
}

#preview .file .thumb2 span.bold{   
    font-size: 26px;
    line-height: 80px;
    text-align: center;
    display: inline-block;
    
}

.fileCorner {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 0 20px;
    border-color: white transparent transparent #37424a;
    position: absolute;
    top: -3px;
    right: -3px;
}

.pdf .icon{border-color:#ff2116; color: #ff2116;}
.pdf .fileCorner{border-color: white transparent transparent #ff2116;}

.ai .icon,.svg .icon{border-color:#ff860d; color: #ff860d; background: #261402;}
.ai .fileCorner{border-color: white transparent transparent #ff860d;}

.psd .icon{border-color:#26c9ff; color: #26c9ff; background: #061e26;}
.psd .fileCorner{border-color: white transparent transparent #26c9ff;}

.indd .icon{border-color:#ff4594; color: #ff4594; background: #26000f;}
.indd .fileCorner{border-color: white transparent transparent #ff4594;}

.docx .icon{border-color:#295391; color: #295391;}
.docx .fileCorner{border-color: white transparent transparent #295391;}

.xlsx .icon,.xls .icon,.csv .icon{border-color:#1f6b41; color: #1f6b41;}
.xlsx .fileCorner, .csv .fileCorner{border-color: white transparent transparent #1f6b41;}

textarea{
    width: 100%;
    font-family: "wuerthbook";
    font-size: 16px;
}

button#envoyer{
    text-transform: uppercase;
    color: #ffffff;
    background: #cc0000;
    border: solid 2px transparent;
    font-size: 20px;
    cursor: pointer;
    display: block;
    width: 50%;
    padding: 5px 10px;
    transition: 0.3s;
    font-family: "wuerthbold";
    height: auto;
    margin: 0 auto;
    margin-top: 20px;
}

button#envoyer:hover{
    background: transparent;
    color: #c00;
    border-color: #c00;
}

footer{
    background-color: #000;
    background-image: url(images/Details-0074-retouched.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 15px;
}

footer .left p{
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
}

footer .left p strong{
    font-size: 50px;
    font-family: "wuerthbold";
    font-weight: normal;
}

footer .right p{
    font-family: 20px;
}

footer .right p strong{
    text-transform: uppercase;
    font-family: "wuerthbold";
    font-weight: normal;
}

.popupbg{
    display:none;
    position:fixed;
    top:0;
    left:0;
    background:rgba(0,0,0,.3);
    width:100%;
    height:100%;
    overflow:hidden;
    z-index:99999999
}

.popup{
    display:none;
    background:#fff;
    position:absolute;
    z-index:20;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    padding:20px;
    box-shadow:0 5px 20px 4px rgba(0,0,0,.53);
    font-size:16px;
    overflow-y:auto;
    max-height:80%
}

.popup.guide {
    width: 80%;
}

.popup button.closePopup,
#recap button.closeRecap{
    position:absolute;
    top:3px;
    right:3px;
    z-index:3;
    border:none;
    background:0 0;
    width:30px;
    height:30px;
    cursor:pointer;
    background-image:url(https://www.modyf.fr/documents/pages/shoefinder/V3/images/close.svg);
    background-repeat:no-repeat;
    background-position:center center;
    opacity:1;
    transition:.3s;
    font-size:0
}

.popup .buttons{margin-top:20px}

.popup button.closePopup.bold{
    position:static;
    display:block;
    background:#c3c8c8;
    color:#37424a;
    border:solid 2px transparent;
    padding:5px 10px;
    text-transform:uppercase;
    text-decoration:none;
    font-size:20px;
    margin-right:0;
    transition:.3s;
    width:auto;
    height:auto;
    float:right;
}
    

.popup p{
    font-family:wuerthbold,wuerth;
    font-weight:400;
    font-size:18px;
    line-height:normal}
    
p.error{
    display:none;
    color:#b10000;
    background:#ff6b6b;
    padding:5px
}

.popup button.active{border:1px solid red}


.popup h3 {
    margin-top: 0px;
    font-family: "wuerthbold", "wuerth";
    font-weight: normal;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
    background-color: initial;
    color: #37424a;
}

.popup[data-pid=nologo] .buttons{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.popup[data-pid=nologo] .buttons button{
    text-transform: uppercase;
    color: #ffffff;
    background: #818a8f;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: block;
    padding: 5px 10px;
    transition: 0.3s;
    font-family: "wuerthbold";
    height: auto;
    margin: 0;
}

.popup[data-pid=nologo] .buttons button#btn2{
    background-color: #cc0000;
}


#saveEmp{
    background: #c3c8c8;
    color: #37424a;
    border: solid 2px transparent;
    padding: 3px 8px;
    text-transform: uppercase;
    font-size: 16px;
    vertical-align: top;
    transition: 0.3s;
    cursor: pointer;
    font-family: "Wuerthbold", "wuerth";
}

.colorSelect{
    font-size: 16px;
}

.colorSelect button{
    margin-top: 10px;
    min-width: 100px;
    height: 60px;
    font-size: 16px;
    cursor: pointer;
    /*box-shadow:0 5px 20px 4px rgba(0,0,0,.2);*/
    border-radius: 3px;    
    border: solid 2px;
    border-color: #818a8f;
    background: #dadcdc;    
    position: relative;
    z-index: 1;
    margin: 5px;
    overflow: hidden;
    padding: 0;
    vertical-align: middle;
}

.colorSelect button.addColor {
    background-image: url(https://www.modyf.fr/documents/pages/devis-perso/m2-refonte/img/SVG/plus.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 34px;
}

.colorSelect button.colorButton{
    background-image: url(https://www.modyf.fr/documents/pages/shoefinder/V3/images/close-w.svg);
    background-size: 24px;
    background-position: 100px 0px;
    background-repeat: no-repeat;
    transition: 0.3s;
    margin: 0;
}

.colorSelect button.colorButton.hffffff{
    background-image: url(https://www.modyf.fr/documents/pages/shoefinder/V3/images/close.svg);
}

.colorSelect button.addColor.checked{
    border: none;
}

.colorSelect button.colorButton:hover{
    background-position: top right;
}

.colorSelect button.colorButton span{
    height: 30px;
    display: block;  
}

.colorSelect button.colorButton span.bold{
    background: #fff;
    height: 25px;
    color: #37424a;  
    width: 100%;
    text-align: left;
    padding: 2px 5px;
    text-transform: uppercase;
    font-size: 16px;
    box-shadow: 0px 10px 43.4px 18.6px rgba(37, 37, 38, 0.14);
    margin: 0;
}

.couleurs,.specialCouleurs{
    display:flex;
    flex-flow:wrap;
    margin-top:20px;
}
.couleurs .couleur,.specialCouleurs .couleur{
    width:15.667%;
    margin:.5%;
    border-radius:3px;
    display:flex;
    flex-flow:wrap column;
    overflow:hidden;
    box-shadow:0 10px 43.4px 18.6px rgba(37,37,38,.14);
    background:#fff;
    border:solid 2px transparent;
    cursor:pointer;
}
.couleurs .couleur:hover,.specialCouleurs .couleur:hover{
    border-color:#fff;
    box-shadow:0 10px 43.4px 18.6px rgba(37,37,38,.14),inset 0 0 30px 5px rgba(37,37,38,.15);
}
.couleurs .couleur:hover .bottom,.specialCouleurs .couleur:hover .bottom{
    background:rgba(37,37,38,.14);
    box-shadow:none
}
.couleurs .couleur:hover .bottom p,.specialCouleurs .couleur:hover .bottom p{
    color:#fff
}
.couleurs .couleur span,.specialCouleurs .couleur span{
    display:block;
    height:100px
}
.couleurs .couleur .bottom,.specialCouleurs .couleur .bottom{
    box-shadow:0 10px 43.4px 18.6px rgba(37,37,38,.14);
    padding:5px;
    background:#fff
}
.couleurs .couleur .bottom p.bold,.specialCouleurs .couleur .bottom p.bold{
    text-transform:uppercase;
    font-size:16px;
}
.couleurs .couleur .bottom p,.specialCouleurs .couleur .bottom p{
    font-size:16px;
}

.emplacements input{
    display: none;
}

.emplacements label{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.emplacements label:hover{
    opacity: 0.8;
}

.emplacements label .case{
    width: 30px;
    height: 30px;
    border: solid 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.emplacements label.checked{
    color: #c00;
}

.schema .flex{
    display: flex;
    align-items: center;
}

.schema .svg{
    width: 500px;
}

[data-class=zone], g[data-checked=checked]{
    cursor: pointer;
}

g[data-checked=checked] rect{
    fill: #c00;
}

[data-categ="teeshirt"] [for=empE], [data-categ="teeshirt"] [for=empF], [data-categ="teeshirt"] [for=empI], [data-categ="teeshirt"] [for=empH], [data-categ="teeshirt"] [for=empJ], [data-categ="teeshirt"] [for=empK], [data-categ="teeshirt"] [for=empZ], [data-categ="teeshirt"] [for=empO], [data-categ="teeshirt"] [for=empN]{
    display: none;
}

[data-categ="polo"] [for=empI], [data-categ="polo"] [for=empH], [data-categ="polo"] [for=empJ], [data-categ="polo"] [for=empK], [data-categ="polo"] [for=empZ], [data-categ="polo"] [for=empN], [data-categ="polo"] [for=empO]{
    display: none;
}

[data-categ="veste"] [for=empE], [data-categ="veste"] [for=empF], [data-categ="veste"] [for=empI], [data-categ="veste"] [for=empH], [data-categ="veste"] [for=empJ], [data-categ="veste"] [for=empK], [data-categ="veste"] [for=empL], [data-categ="veste"] [for=empC], [data-categ="veste"] [for=empZ], [data-categ="veste"] [for=empO], [data-categ="veste"] [for=empN]{
    display: none;
}

[data-categ="pantalon"] [for=empE], [data-categ="pantalon"] [for=empF], [data-categ="pantalon"] [for=empA], [data-categ="pantalon"] [for=empB], [data-categ="pantalon"] [for=empJ], [data-categ="pantalon"] [for=empK], [data-categ="pantalon"] [for=empL], [data-categ="pantalon"] [for=empC], [data-categ="pantalon"] [for=empG], [data-categ="pantalon"] [for=empM], [data-categ="pantalon"] [for=empD], [data-categ="pantalon"] [for=empZ], [data-categ="pantalon"] [for=empO], [data-categ="pantalon"] [for=empN]{
    display: none;
}

[data-categ="salopette"] [for=empE], [data-categ="salopette"] [for=empF], [data-categ="salopette"] [for=empA], [data-categ="salopette"] [for=empB], [data-categ="salopette"] [for=empJ], [data-categ="salopette"] [for=empK], [data-categ="salopette"] [for=empL], [data-categ="salopette"] [for=empC], [data-categ="salopette"] [for=empG], [data-categ="salopette"] [for=empM], [data-categ="salopette"] [for=empD], [data-categ="salopette"] [for=empZ], [data-categ="salopette"] [for=empO], [data-categ="salopette"] [for=empN]{
    display: none;
}

[data-categ="casquette"] [for=empE], [data-categ="casquette"] [for=empF], [data-categ="casquette"] [for=empA], [data-categ="casquette"] [for=empB], [data-categ="casquette"] [for=empI], [data-categ="casquette"] [for=empH], [data-categ="casquette"] [for=empL], [data-categ="casquette"] [for=empC], [data-categ="casquette"] [for=empG], [data-categ="casquette"] [for=empM], [data-categ="casquette"] [for=empD], [data-categ="casquette"] [for=empZ], [data-categ="casquette"] [for=empO], [data-categ="casquette"] [for=empN]{
    display: none;
}

[data-categ="combinaison"] [for=empE], [data-categ="combinaison"] [for=empF], [data-categ="combinaison"] [for=empJ], [data-categ="combinaison"] [for=empK], [data-categ="combinaison"] [for=empL], [data-categ="combinaison"] [for=empZ], [data-categ="combinaison"] [for=empO], [data-categ="combinaison"] [for=empN]{
    display: none;
}

[data-categ="gilet"] [for=empD], [data-categ="gilet"] [for=empE], [data-categ="gilet"] [for=empF], [data-categ="gilet"] [for=empI], [data-categ="gilet"] [for=empH], [data-categ="gilet"] [for=empJ], [data-categ="gilet"] [for=empK], [data-categ="gilet"] [for=empL], [data-categ="gilet"] [for=empC], [data-categ="gilet"] [for=empZ], [data-categ="gilet"] [for=empO], [data-categ="gilet"] [for=empN]{
    display: none;
}

[data-categ="couvreSiege"] [for=empA],
[data-categ="couvreSiege"] [for=empB],
[data-categ="couvreSiege"] [for=empC],
[data-categ="couvreSiege"] [for=empD],
[data-categ="couvreSiege"] [for=empE],
[data-categ="couvreSiege"] [for=empF],
[data-categ="couvreSiege"] [for=empH],
[data-categ="couvreSiege"] [for=empI],
[data-categ="couvreSiege"] [for=empH],
[data-categ="couvreSiege"] [for=empJ],
[data-categ="couvreSiege"] [for=empK],
[data-categ="couvreSiege"] [for=empL],
[data-categ="couvreSiege"] [for=empZ],
[data-categ="couvreSiege"] [for=empG],
[data-categ="couvreSiege"] [for=empM]
{
    display: none;
}

#maintable td input::placeholder{
    color: transparent;
}

.warning{
    background: #cc000012;
    padding: 5px;
    margin-top: 5px;
    border: solid 1px #c00;
    color: #c00;
    border-radius: 5px;
}

@media screen and (max-width:767px){
    .head {
        padding: 10px;
    }

    img{
        max-width: 100%;
    }

    .p20{
    }

    .head img{
        display: none;
    }

    h1{
        font-size: 30px;
    }

    .sur-titre span{
        font-size: 3vw;
    }

    .wrapper{
        padding: 5px;
    }

    .drop-files__file .drop-files__delete{
        opacity: 1!important;
    }

    .drop-files__file .drop-files__fileinfo em{opacity: 0!important;}
    footer{
        flex-flow: column;
    }
}



@media screen and (max-width:420px){
    #maintable td input::placeholder{
        color: #818a8f;
    }

    .form1, .form2{
        flex-flow: column;
    }

    .form1 .left, .form1 .right, .form2 .left, .form2 .right{
        width: 100%;
    }

    #maintable, tbody{
        display: block;
    }

    thead{
        display: none;
    }

    #maintable tr.ligne{
        display: flex;        
        flex-flow: row wrap;
        margin-bottom: 10px;
    }

    #maintable tr.ligne td{
        width: 50%;
    }

    #maintable tr.ligne td:nth-child(2){
        width: calc(100% - 30px);
    }

    #maintable tr.ligne td:nth-child(3),#maintable tr.ligne td:nth-child(4),#maintable tr.ligne td:nth-child(5),#maintable tr.ligne td:nth-child(7){
        width: 33%;
    }

    #maintable tr.ligne td:nth-child(8){
        width: 17%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #maintable tfoot, #maintable tfoot tr {
        display: block;
        width: 100%;
    }

    #maintable tfoot tr{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #maintable tfoot tr td{
        display: flex;
        align-items: center;
        justify-content: center;
        height: 30px;
        width: 25%!important;
    }

    #maintable tfoot tr td[colspan="1"]{
        display: none;
    }

    #maintable tfoot tr td:first-child{
        width: 48%!important;
    }

    #maintable tfoot tr td:first-child p{
        width: 100%;
        height: 100%;
    }

    #resultats{
        width: calc(100% - 20px);
    }

    #resultats button{
        text-align: left;
    }

    .schema .flex{
        flex-flow: column;
    }

    .popup, .popup.guide{
        width: 90%;
    }

    .schema .svg{
        width: 100%;
    }

    .popup svg{
        max-width: 100%;
    }

    .technique, .marquage, .couleurz, #promos{
        flex-flow: column;
    }

    .marquage div.flex{
        width: 100%;
    }

    #promos div{
        margin: 5px 0;
    }

    .couleurs .couleur, .specialCouleurs .couleur{
        width: 49%;
    }

}