/*   
Theme Name: MMDWC
Author: MATTIEU MOREAU DOMECQ WEB CONCEPTION
Author URI: http://www.mattieumoreaudomecq.com
*/

/* 
-------------------------------------------------------------------------------*/

html,
body,
body div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/*-------------------------------------------------------------------------------*/

/* CSS
-------------------------------------------------------------------------------*/

html,
body {
  width: 100%;
  padding: 0;
  margin: 0;
}

header {
  height: 80px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

#wrapper {
  width: 100%;
  font-size: 15px;
  line-height: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  -webkit-overflow-scrolling: touch;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  -webkit-appearance: none !important;
  outline: none !important;
  box-shadow: none !important;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

.link-absolute {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
}

#wrapper {
  width: 100%;
  padding: 15px 15px 0px 15px;
}

.work-single {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 15px;
  height: calc(100vh - 95px);
  min-height: 0;
}

.work-single__slider {
  grid-column: span 8;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.work-single__media-nav {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.work-single__media-nav,
.work-single__content {
  min-width: 0;
  min-height: 0;
}

.work-single__content {
  grid-column: span 3;
}

.work-single__content h1 {
  margin-bottom: 15px;
}

.work-single__text p:not(:last-child) {
  margin-bottom: 15px;
}

.work-single__slides-data {
  display: none;
}

.work-single__image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  cursor: zoom-in;
}

.work-single__viewer {
  width: 100%;
  height: 100%;
}

.work-single__next-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.work-single__next-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.work-single__controls {
  display: flex;
  justify-content: space-between;
}

.work-single__prev,
.work-single__next {
  border: 0;
  background: none;
  cursor: pointer;
}

.work-single__counter {
  white-space: nowrap;
}
