.page,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block !important;
}
.invisible {
  visibility: unset !important;
}
audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}
audio:not([controls]) {
    display: none;
}
[hidden] {
    display: none;
}
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
html,
button,
input,
select,
textarea {
    font-family: sans-serif;
    color: #222;
}
body {
    margin: 0;
    font-size: 1em;
    line-height: 1.4;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0)!important;
    -webkit-focus-ring-color: rgba(255, 255, 255, 0)!important;
    -webkit-user-modify: read-only;
}
::-moz-selection {
    background: #fe57a1;
    color: #fff;
    text-shadow: none;
}
::selection {
    background: #fe57a1;
    color: #fff;
    text-shadow: none;
}
a {
    color: #00e;
}
a:visited {
    color: #551a8b;
}
a:hover {
    color: #06e;
}
a:focus {
    outline: thin dotted;
}
a:hover,
a:active {
    outline: 0;
}
abbr[title] {
    border-bottom: 1px dotted;
}
b,
strong {
    font-weight: bold;
}
blockquote {
    margin: 1em 40px;
}
dfn {
    font-style: italic;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
ins {
    background: #ff9;
    color: #000;
    text-decoration: none;
}
mark {
    background: #ff0;
    color: #000;
    font-style: italic;
    font-weight: bold;
}
pre,
code,
kbd,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}
pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}
q {
    quotes: none;
}
q:before,
q:after {
    content: "";
    content: none;
}
small {
    font-size: 85%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
ul,
ol {
    margin: 1em 0;
    padding: 0 0 0 40px;
}
dd {
    margin: 0 0 0 40px;
}
nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}
img {
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
}
svg:not(:root) {
    overflow: hidden;
}
figure {
    margin: 0;
}
form {
    margin: 0;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
label {
    cursor: pointer;
}
legend {
    border: 0;
    *margin-left: -7px;
    padding: 0;
    white-space: normal;
}
button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}
button,
input {
    line-height: normal;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
    *overflow: visible;
}
button[disabled],
input[disabled] {
    cursor: default;
}
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *width: 13px;
    *height: 13px;
}
input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}
input:valid,
textarea:valid {} input:invalid,
textarea:invalid {
    background-color: #f0dddd;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
td {
    vertical-align: top;
}
.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: black;
    padding: 0.2em 0;
}
@font-face {
    font-family: Arial, "MS Trebuchet", sans-serif;
}
body {
    width: 100%;
    height: 650px;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
header {
    width: 500px;
    margin: 0 auto;
    height: 0px;
    /* modifié par Sylvain pour supprimer la marge de 60px */
}
.card {
    position: absolute!important;
    overflow: hidden;
    -webkit-transition: top, left, right, bottom, 0.3s ease-out;
    /* Saf3.2+, Chrome */

    -moz-transition: all 0.3s ease-out;
    /* FF4+ */

    -ms-transition: top, left, right, bottom, 0.3s ease-out;
    /* IE10 */

    -o-transition: all 0.3s ease-out;
    /* Opera 10.5+ */

    transition: top, left, right, bottom, 0.3s ease-out;
    -webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
}
.card.ui-draggable {
    position: absolute!important;
    -webkit-transition: top, left, right, bottom, 0.3s ease-out;
    /* Saf3.2+, Chrome */

    -moz-transition: top, left, right, bottom, 0.3s ease-out;
    /* FF4+ */

    -ms-transition: top, left, right, bottom, 0.3s ease-out;
    /* IE10 */

    -o-transition: top, left, right, bottom, 0.3s ease-out;
    /* Opera 10.5+ */

    transition: top, left, right, bottom, 0.3s ease-out;
}
.card .turn {
    position: absolute;
}
.card.ui-draggable-dragging {
    position: absolute!important;
    -webkit-transition: none;
    /* Saf3.2+, Chrome */

    -moz-transition: none;
    /* FF4+ */

    -ms-transition: none;
    /* IE10 */

    -o-transition: none;
    /* Opera 10.5+ */

    transition: none;
}
.card .back {
    position: absolute;
    background: url(../images/back.png);
}
.card .front {
    position: absolute;
    background-image: url(../images/cardfront-medium.png);
    /*background-image: url(../images/svg-cards-cust.svg);*/
}
.card .back,
.card .front {
    -webkit-transition: all 0.15s ease-out;
    /* Saf3.2+, Chrome */

    -moz-transition: all 0.15s ease-out;
    /* FF4+ */

    -ms-transition: all 0.2s ease-out;
    /* IE10 */

    -o-transition: all 0.2s ease-out;
    /* Opera 10.5+ */

    transition: all 0.2s ease-out;
}
.card.visible .back,
.card.invisible .front {
    display: none;
}
.card.visible .front,
.card.invisible .back {
    display: block;
}
.card.visible .turn {
    position: relative;
}
.card.invisible .turn {} .classeur,
.dealer {
    position: absolute;
}
a:active,
a:focus,
a:hover,
a:link,
a:visited {
    outline: 0;
    border: 0;
}
#fonddealer {
    background-image: url(../images/dealer.png);
    z-index: 0;
    width: 77px;
    height: 112px;
    position: absolute;
    margin: 0;
    padding: 0;
    cursor: default;
}
.classeur.ui-droppable {
    background-image: url(../images/fondclasseur.png);
}
.column {
    position: absolute;
}
.column.empty {} .ngbutton,
.button-sec {
    position: absolute;
}
.newGame {
    width: 82px;
    height: 52px;
    background: url(../images/rejouer.png);
    background-position: 0 0;
    top: 4px;
    right: 30px;
    text-indent: -999em;
    overflow: hidden;
}
.newGame:hover {
    background-position: 0 -52px;
    cursor: pointer;
}
.unecarte {
    width: 82px;
    height: 52px;
    background: url(../images/1carte.png);
    background-position: 0 0;
    top: 1px;
    right: 350px;
    text-indent: -999em;
    overflow: hidden;
}
.unecarte:hover {
    background-position: 0 -52px;
    cursor: pointer;
}
.troiscarte {
    width: 82px;
    height: 52px;
    background: url(../images/3carte.png);
    background-position: 0 0;
    top: 1px;
    right: 240px;
    text-indent: -999em;
    overflow: hidden;
}
.troiscarte:hover {
    background-position: 0 -52px;
    cursor: pointer;
}
#cachefin {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.20);
    background-position: center center;
    position: absolute;
    top: -30px;
    z-index: 9999;
    visibility: collapse;
    margin: 0;
}
#endgamepicture {
    width: 100%;
    height: 100%;
    background: url(../images/finpartie.png);
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-right: auto;
    margin-left: auto;
    z-index: 10000;
    visibility: collapse;
}
#boutonrejouerfin {
    width: 100%;
    height: 72px;
    position: relative;
    background: url(../images/rejouerfin.png);
    background-repeat: no-repeat;
    background-position: center 0;
    top: 390px;
    z-index: 100000;
    visibility: collapse;
}
#boutonrejouerfin:hover {
    background-position: center -72px;
    cursor: pointer;
}
.logo {
    position: relative;
    top: 15px;
    left: 20px;
    z-index: 1;
        float: left;
}
.chrono {
    position: absolute;
    right: 150px;
    top: 16px;
    font-family: Arial, "MS Trebuchet", sans-serif;
    font-size: 18px;
    cursor: default;
}
.chrono h4 {
    font-family: Arial, "MS Trebuchet", sans-serif;
    color: #333366;
}
.score {
    position: absolute;
    left: 20px;
    bottom: -19px;
    font-family: Arial, "MS Trebuchet", sans-serif;
}
.score h4 {
    font-family: Arial, "MS Trebuchet", sans-serif;
    color: #333366;
}
