/* @override http://alicemaher.workgroupstaging.com/assets/css/app.css */

/* @override http://alicemaher.workgroupstaging.com/assets/css/app.css */

/*  --------------------------------------------------
  :: Page
  -------------------------------------------------- */
  
body {
  background: #f5f5f5;
  color: #00041b;
  font-size: 15px;
  line-height: 1.6em;
  min-height: 105%;
  overflow-x: hidden;
}


.container:not(#header):not(.works-grid) {
    -webkit-animation: fadein 2s;
    -moz-animation: fadein 2s;
    -ms-animation: fadein 2s;
    -o-animation: fadein 2s;
    animation: fadein 2s;
}


@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Firefox < 16 */
@-moz-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Internet Explorer */
@-ms-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Opera < 12.1 */
@-o-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/*  --------------------------------------------------
  :: List Indeny	
  -------------------------------------------------- */
  .list-indent>li, 
  li.list-indent{
	-webkit-transition:0.3s ease-in-out;
	-moz-transition:0.3s ease-in-out;
	-o-transition:0.3s ease-in-out;
	-ms-transition:0.3s ease-in-outs;
	transition:0.3s ease-in-out;
  }
  
 .list-indent>li:hover,
  li.list-indent:hover{
  	
	  -webkit-transition:0.2s ease-in-out;
	  -moz-transition:0.2s ease-in-out;
	  -o-transition:0.2s ease-in-out;
	  -ms-transition:0.2s ease-in-outs;
	  transition:0.2s ease-in-out;
  
	-webkit-transform: translate(10px, 0%);
	  -moz-transform: translate(10px, 0%);
	  -ms-transform: translate(10px, 0%);
	  -o-transform: translate(10px, 0%);
	  transform: translate(10px, 0%);
	 	
}
  
  
/*  --------------------------------------------------
:: Article
-------------------------------------------------- */

.article_text{
  padding-bottom: 17vh;
  z-index: 1;
}

.article_title{
  padding-left: 15px;
  position: fixed;
  bottom: 0;
  width: 17%;
  z-index: 1002;
  }

.container.absolute {
  top: 0;
  left: 0;
  padding: 0px;
  position: absolute;
  width: 100%;
  z-index: 0;
  float: none;
}

.container.masking {
  pointer-events: none;
}

.container.masking p {
  pointer-events: auto;
}

.article-layout .container.absolute li {
  list-style: none;
}

/*  --------------------------------------------------
:: Groups
-------------------------------------------------- */

.group-layout .container.absolute {
  padding: 15vh 0 0 0;
}

.group-layout .container.absolute li {
  list-style: none;
  width: 100%;
  max-width: 100%;
  float: left;
}

.group-layout .collection-title {
  width: 100%;
  max-width: 100%;
  position: relative;
  float: left;
}

.group-layout .collection-title a {
  position: absolute;
  bottom: -25px;
  left: 0;
}

@media only screen and (max-width: 768px) {

.group-layout .container.absolute {
  height: auto!important;
}

.group-layout .container.absolute li {
  float: left;  
}

.group-layout .collection-title a {
  position: relative;
  bottom: auto;
  left: 0;
}

  .article-layout .container.absolute li {
    width: 46%;
    margin-right: 4%;
    float: left;
  }
}

/*  --------------------------------------------------
:: Link Colour
-------------------------------------------------- */

a { color: inherit; text-decoration: none; line-height: inherit; border-bottom: 1px solid #b4a9a9;}
a:hover { color: inherit; opacity: .5; }
a:focus { color: inherit; opacity: .5 outline: none; }
p a, p a:visited { line-height: inherit; }

/*  li a, li a:hover { line-height: inherit; }*/

a img, img a{ text-decoration: none; line-height: inherit; border-bottom: none; }

a*.no_ul{ color: inherit; text-decoration: none; line-height: inherit; border-bottom: none; }


/*  --------------------------------------------------
  :: Light Dark UI
  -------------------------------------------------- */
body.light-ui,  body.light-ui a {
  color: #00041b;
}

body.dark-ui, body.dark-ui a {
  color: #ffffff;
}

body.light-ui a {
  border-bottom: 1px solid #b4a9a9
}

body.dark-ui a {
  border-bottom: 1px solid #b4a9a9;
}

body.light-ui .no-change *, body.dark-ui .no-change * {
  color: #00041b;
}

body.light-ui .no_ul, body.dark-ui .no_ul {
  border-bottom: 0px!important;
}

body.light-ui .no-change a, body.dark-ui .no-change a {
    color: #00041b;
    border-bottom: 1px solid #b4a9a9
}

body.light-ui .interface svg path, body.light-ui .interface svg polygon {
  fill: #00041b;
}

body.dark-ui .interface svg path, body.dark-ui .interface svg polygon {
  fill: #ffffff;
}

body.light-ui #header .dot svg circle {
  fill: #00041b;
}

body.dark-ui #header .dot svg circle {
  fill: #ffffff;
}

body.light-ui #header .menu-svg svg circle {
  fill: #00041b;
}

body.dark-ui #header .menu-svg svg circle {
  fill: #ffffff;
}

body.dark-ui nav.mobile-menu {
  background: #00041b;
}

body.light-ui nav.mobile-menu {
  background: #ffffff;
}


.logo-dark {
  display: block;
}
 
body.light-ui .logo-dark {
  display: block;
}

body.light-ui .logo-light {
  display: none;
}

body.dark-ui .logo-light {
  display: block;
}

body.dark-ui .logo-dark {
  display: none;
}



/*
body.dark-ui .video-play svg polygon, body.dark-ui .video-play svg polygon {
  fill: #ffffff;  
}

body.light-ui .video-play svg polygon, body.light-ui .video-play svg polygon {
  fill: #00041b;
}
*/

/*  --------------------------------------------------
  :: Header
  -------------------------------------------------- */
#header {
  position: fixed;
  top: 10vh;
  left: 10vh;
  right: 0;
  z-index: 1010;
  pointer-events: none;
}

@media only screen and (max-width: 768px) {
  #header {
    position: absolute;
    top: 15px;
    left: 0px;
  }
}

#header > * {
  pointer-events: auto;
}

#header a.logo {
  padding-top: 24.5px;
  padding-bottom: 0px;
  float: left;
  font-weight: bold;
  position: relative;
  -webkit-transform: translate(0px, 0%);
    -moz-transform: translate(0px, 0%);
    -ms-transform: translate(0px, 0%);
    -o-transform: translate(0px, 0%);
    transform: translate(0px, 0%);
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    -ms-transition: 0.2s ease-in-outs;
    transition: 0.2s ease-in-out;
}

#header a.logo {
  padding-top: 5px;
  padding-bottom: 0px;
  float: left;
  font-weight: bold;
  position: relative;
  -webkit-transform: translate(0px, 0%);
    -moz-transform: translate(0px, 0%);
    -ms-transform: translate(0px, 0%);
    -o-transform: translate(0px, 0%);
    transform: translate(0px, 0%);
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    -ms-transition: 0.2s ease-in-outs;
    transition: 0.2s ease-in-out;
}

#header a.logo {
  opacity: 0;
}

#header a.logo img {
    width: 86px;
}

.logo-dark {
  display: block;
}

.logo-light {
  display: none;
}

/*  --------------------------------------------------
  :: Navigation
  -------------------------------------------------- */
#header ul.slide-menu{
  height: auto;
  width: 115px;
  position: absolute;
  padding-left: 15px;
  top: 0;
  left: 0;
  padding-top: 40px;
  opacity: 0;
  -webkit-transform: translate(0px, 0%);
    -moz-transform: translate(0px, 0%);
    -ms-transform: translate(0px, 0%);
    -o-transform: translate(0px, 0%);
    transform: translate(0px, 0%);
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    -ms-transition: 0.2s ease-in-outs;
    transition: 0.2s ease-in-out;
}

#header nav {
    float: left;
    height: auto;
    position: relative;
}

#header ul.slide-menu li {
  float: left;
  width: 100%;
  max-width: 100%;
  text-align: left;
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
  transition: all .6s 0ms ease;
}

#header.nav-active ul.slide-menu li {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

#header.nav-active ul.slide-menu li:nth-child(1) {
    transition: all .5s cubic-bezier(.19,1,.22,1);
}

#header.nav-active ul.slide-menu li:nth-child(2) {
    transition: all .5s 40ms cubic-bezier(.19,1,.22,1);
}

#header.nav-active ul.slide-menu li:nth-child(3) {
    transition: all .5s .08s cubic-bezier(.19,1,.22,1);
}

#header.nav-active ul.slide-menu li:nth-child(4) {
    transition: all .5s .12s cubic-bezier(.19,1,.22,1);
}

#header.nav-active ul.slide-menu li:nth-child(5) {
    transition: all .5s .16s cubic-bezier(.19,1,.22,1);
}

#header.nav-active ul.slide-menu li:nth-child(6) {
    transition: all .5s .20s cubic-bezier(.19,1,.22,1);
}

#header.nav-active ul.slide-menu li:nth-child(7) {
    transition: all .5s .24s cubic-bezier(.19,1,.22,1);
}

#header.nav-active ul.slide-menu li:nth-child(8) {
    transition: all .5s .28s cubic-bezier(.19,1,.22,1);
}

#header.nav-active ul.slide-menu li:nth-child(9) {
    transition: all .5s .32s cubic-bezier(.19,1,.22,1);
}

/*
Indent on Hover
#header.nav-active ul.slide-menu li.list-indent:hover {
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    -ms-transition: 0.2s ease-in-outs;
    transition: 0.2s ease-in-out;
    -webkit-transform: translate(10px,0%);
    -moz-transform: translate(10px,0%);
    -ms-transform: translate(10px,0%);
    -o-transform: translate(10px,0%);
    transform: translate(10px,0%);
}
*/

#header .logo .dot {
    opacity: 0;
    position: absolute;
    left: -21px;
    top: 0px;
    height: 8px;
    width: 8px;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    -ms-transition: 0.2s ease-in-outs;
    transition: 0.2s ease-in-out;
    -webkit-transition-delay: 0.33s;
    transition-delay: 0.33s;
    -moz-transition: 0.33s;
    -o-transition: 0.33s;
    -ms-transition: 0.33s;
}

#header.nav-active ul, #header.nav-active .logo {
  opacity: 1;
  -webkit-transform: translate(20px, 0%);
    -moz-transform: translate(20px, 0%);
    -ms-transform: translate(20px, 0%);
    -o-transform: translate(20px, 0%);
    transform: translate(20px, 0%);
          transform-origin: center center;
    
}

#header.nav-active .logo .dot {
opacity: 1;
position: absolute;
left: -21px;
top: 0px;
height: 10px;
width: 10px;
}



/* Navigation rollover Start */

body > * {
   -webkit-transition:0.4s ease-in-out;
   -moz-transition:0.4s ease-in-out;
   -o-transition:0.4s ease-in-out;
   -ms-transition:0.4s ease-in-out;
   transition:0.4s  ease-in-out;
       -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
    -moz-transition: 0.1s;
    -o-transition: 0.1s;
    -ms-transition: 0.1s;

}

body.nav-active:not(#header) > * {
   opacity: 0;
}
body.nav-active:not(#header) > * {
   opacity: 0;
}
body.nav-active.works-layout > * {
   opacity: 1;
}

body.nav-active.works-layout .navigation-overlay,
body.nav-active.works-layout.light-ui .navigation-overlay{
background: #f5f5f5;
opacity: 1!important;
}
body.nav-active.works-layout.dark-ui .navigation-overlay{
background: black;
opacity: 1!important;
}

#header {
   opacity: 1!important;
}

/* Navigation rollover End */


.mobile-trigger {
  display: none;
}

.mobile-trigger .menu-svg {
    height: 16px;
    width: 16px;
    float: left;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    -ms-transition: 0.2s ease-in-outs;
    transition: 0.2s ease-in-out;
    
}



nav.mobile-menu {
  display: none;
  background: #ffffff;
  position: fixed;
  text-align: center;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 1009;
}

nav.mobile-menu ul {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);  
}

.navigation-overlay {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1007;
}
/*
.dark-ui .navigation-overlay {
background-color: black;
}

.navigation-overlay, .light-ui .navigation-overlay  {
 background-color: rgba(255,255,255,0.5);
}
*/

@media only screen and (max-width: 768px) {
#header ul.slide-menu {
    display: none!important;
}

#header.nav-active ul, #header.nav-active .logo {
  -webkit-transform: translate(0px, 0%);
    -moz-transform: translate(0px, 0%);
    -ms-transform: translate(0px, 0%);
    -o-transform: translate(0px, 0%);
    transform: translate(0px, 0%);
}

#header .logo .dot {
  display: none;
}

.mobile-trigger {
    position: absolute;
    top: 0px;
    right: 15px;
    display: block;
}

#header.mobile-nav-active {
  position: fixed;
}

.navigation-overlay {
  display: none!important;
}



}


/*  --------------------------------------------------
  :: Works
  -------------------------------------------------- */

.main {
    height: 100vh;
    text-align: center;
    padding: 0!important;
    -webkit-transition: height 0.1s; 
    -moz-transition: height 0.1s; 
    -ms-transition: height 0.1s; 
    -o-transition: height 0.1s; 
    transition: height 0.1s;
    overflow: hidden; 
}

.main img {
    max-height: 100%;
    -webkit-transition: -webkit-transform 0.1s ease; 
    -moz-transition: -moz-transition 0.1s ease; 
    -ms-transition: -ms-transition 0.1s; 
    -o-transition: -o-transition 0.1s; 
    transition: transition 0.1s;
}

.works-slider {
  width: 100%;
  max-width: 100%;
  float: left;
  padding: 0 0;
  position: relative;
  height: 100%;
  box-sizing: border-box;
}

.works-slider ul {
  float: left;
  width: 100%;
  max-width: 100%;
  height: 100%;
  position: relative;
}

.works-slider ul li {
  float: left;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.cycle-slideshow {
  overflow: visible!important;
}

.cycle-slide {
  visibility: hidden;
}

.cycle-slide{ 
      opacity:0;
}

/* Give active slide 100% opacity */
.cycle-slide-active.cycle-slide{ 
      opacity:1 !important;
}

.admin .cycle-slide-active.cycle-slide { 
      z-index: 1002!important;
}


.cycle-slideshow li { opacity: 0; }


.cycle-slideshow li { background-color: #f5f5f5; }

/*.cycle-slideshow li { visibility: visible!important; }*/


.cycle-slideshow li .video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 60px;
  background: #f5f5f5;
}

.cycle-slideshow li video {
  max-width: 100%;
  width:100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  outline: none;
}

.cycle-slideshow li .video {
  width:100%;
  height: 100%;
}

.cycle-slideshow li .video video {
  -webkit-backface-visibility: hidden; /* Chrome, Safari, Opera */
  backface-visibility: hidden;
  position: relative;
  display: inline-block;  
  z-index: 1008;
  width: 100%;
  height: 100%;
  -ms-transform-origin: center center; 
  -webkit-transform-origin: center center; 
  transform-origin: center center; 
}

/*
.cycle-slideshow li .video .count-1:nth-child(1) video {
    width: 600px;
}

.cycle-slideshow li .video .count-2:nth-child(1) video {
}

.cycle-slideshow li .video .count-2:nth-child(2) video {
}

.cycle-slideshow li .video .count-3:nth-child(1) video {
    transform: perspective(400px) rotateY(10deg);
}

.cycle-slideshow li .video .count-3:nth-child(2) video {
    transform: scale(0.88);
}

.cycle-slideshow li .video .count-3:nth-child(3) video {
    transform: perspective(400px) rotateY(-10deg);
}
*/


@media only screen and (max-width: 768px) {
  .cycle-slideshow li video {
    margin: 0px 0 10px 0!important;
  }
  .video-play, .video-pause {
    display: none;
  }
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);  
  width: 60px;
  height: auto;
  z-index: 1002;
}

.video-pause {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: block;
  z-index: 103;
}

@media only screen and (max-width: 768px) {
.video-pause {
  display: none;
}

}


.description {
  position: relative;
  z-index: 102;
  margin-top: 0px;
  background: #ffffff;
    padding-left: 10vh;
    padding-bottom: 25vh;
  -webkit-transition: background 1s; 
  -moz-transition: background 1s; 
  -ms-transition: background 1s; 
  -o-transition: background 1s;  
  transition: background 1s; 
}

.description-row{
  padding: 10px 15px 10vh 15px;
  width: 85vw;
}

.description-column{
width: 25%;
float: left;
  padding-right: 25%;
}
.description-column.second{
width: 35%;
float: left;
  padding-right: 15%;
}


.title {
  position: relative;
  left: 10vh;
  z-index: 1002;
  margin-top: -40px;
  padding: 0px 15px 15px 15px; 
  pointer-events: none;
}

.title > *{
  pointer-events: auto;
}

@media only screen and (max-width: 768px) {
.description-column{
width: 90%;
float: left;
  padding-right: 10%;
}

.description {
  padding-left: 0;
}

.title {
  left: 0px;
}

.description-column.second {
  width: 85%;
}

}


.meta {
  width: 280px;
  float: left;
  max-width: 100%;
}

.tag-group {
  float: left;
  width: 100%;
  margin-bottom: 40px;
}

.tag-group {
  float: left;
  position: relative;
  width: 100%;
  margin-bottom: 40px;
  left: 10vh;
}

.works-grid ul li {
 opacity: 0;
}


/*  --------------------------------------------------
  :: Color Picker
  -------------------------------------------------- */


b {
  font-size: 1.5em;
  position: absolute;
  display: block;
  top: 0;
  left: 50%;
  margin: 0.5em 0 0 -1em;
  width: 2em;
  height: 1.5em;
  background-color: rgba(0, 0, 0, 0.25);
  font-family: RaphaelIcons;
  text-align: center;
  padding-top: 0.5em;
  border-radius: 0.5em;
  user-select: none;
  cursor: pointer;
}
.color {
  width: 100%;
  position: absolute;
  margin-top: -4em;
  text-align: center;
  top: 50%;
}
.color span {
  display: inline-block;
  padding: 1em;
  border-radius: 1em;
  background-color: rgba(0, 0, 0, 0.25);
}
.menu {
  font-size: 0.85em;
  position: relative;
  z-index: 10;
  user-select: none;
  width: 18em;
}
.menu .menu-content {
  transition: margin-left 1s;
  padding-left: 1em;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 0 1em 1em 0;
  float: left;
  width: 13em;
}
.menu .menu-content h2 {
  font-family: 'Handlee', cursive;
  font-weight: normal;
  margin-left: 1em;
  margin-bottom: 0.2em;
}
.menu .menu-content h3 {
  font-weight: normal;
  margin: 0.4em 0 0.2em 0;
}
.menu .menu-content table {
  margin-bottom: 1em;
}
.menu .menu-content ul {
  list-style: none;
}
.menu li,
.menu label {
  color: rgba(252, 251, 250, 0.5);
  cursor: pointer;
  transition-duration: 1.0s;
}
.menu li:hover,
.menu label:hover {
  transition-duration: 0.3s;
  color: rgba(252, 251, 250, 0.9);
}
.menu .menu-switch {
  padding-top: 12em;
}
.menu .menu-switch label {
  font-family: RaphaelIcons;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 0 1em 1em 0;
  padding: 0.2em;
  font-size: 3em;
}
.menu input {
  display: none;
}
.menu #menu-collapsed:checked ~ .menu-content {
  margin-left: -14em;
}
.menu #menu-collapsed:checked ~ .menu-switch .rise {
  display: inline-block;
}
.menu #menu-collapsed:checked ~ .menu-switch .collapse {
  display: none;
}
.menu #menu-collapsed ~ .menu-switch .rise {
  display: none;
}




.picker {
  cursor: auto;
}



/*  --------------------------------------------------
  :: Draggable with Interact
  -------------------------------------------------- */

.draggable {
  width: auto;
  height: auto;
  max-width: 100%;
  padding: 0%;
  outline: none;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Internet Explorer 10 */
    display:-ms-flexbox;
    -ms-flex-pack:center;
    -ms-flex-align:center;

    /* Firefox */
    display:-moz-box;
    -moz-box-pack:center;
    -moz-box-align:center;

    /* Safari, Opera, and Chrome */
    display:-webkit-box;
    -webkit-box-pack:center;
    -webkit-box-align:center;

    /* W3C */
    display:box;
    box-pack:center;
    box-align:center;
}

.article-layout .draggable, .group-layout .draggable {
  padding: 0%;
  top: auto;
  left: auto;
  margin-top: 10vh;
  margin-left: 16.66%;
  clear: both;
  outline: none;
  position: relative;
  float: left;
  -webkit-transform: translate(0%, 0%);
    -moz-transform: translate(0%, 0%);
    -ms-transform: translate(0%, 0%);
    -o-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.article-wrap {
  display: inline-block;
  width: 100%;
}

.draggable img {
  max-width: 100%;
  max-height: 100%;
  display: inline-block;
} 


.group-layout li  {
  text-align: center;
}


.group-layout .draggable {
  height: 70vh;
  margin: 0 0 10vh 0;
  text-align: left;
  display: inline-block;
  float: none;
}

/*
.group-layout .draggable img {
  width: 100%;
}
*/

@media only screen and (max-width: 768px) {
  .article-layout .container.absolute {
    position: relative;
    float: left;
    width: 100%;
    padding: 0 15px;
    overflow: visible!important;
    box-sizing: border-box;
  }


  .group-layout .container.absolute {
    position: relative;
    float: left;
    width: 100%;
    padding: 10vh 15px 0 15px;
    box-sizing: border-box;
  }


  .article-layout .container.absolute .draggable, .group-layout .container.absolute .draggable {
    position: relative;
    float: left;
    width: 100%!important;
    height: auto;
    margin: 0 0 15px 0;
  -webkit-transform: translate(0%, 0%)!important;
    -moz-transform: translate(0%, 0%)!important;
    -ms-transform: translate(0%, 0%)!important;
    -o-transform: translate(0%, 0%)!important;
    transform: translate(0%, 0%)!important;
  }


  .works-layout .cycle-slideshow .draggable{
    position: absolute;
    float: left;
    width: 90%!important;
    height: auto;
    margin: 0;
    max-height: 70vh!important;
    box-sizing: border-box;
  -webkit-transform: translate(-50%, -50%)!important;
    -moz-transform: translate(-50%, -50%)!important;
    -ms-transform: translate(-50%, -50%)!important;
    -o-transform: translate(-50%, -50%)!important;
    transform: translate(-50%, -50%)!important;
  }

}



/*  --------------------------------------------------
  :: Layout Grid
  -------------------------------------------------- */

.layout-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1004;
  display: none;
}

.vbar-wrap, .hbar-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.vbar{
  width: calc(8.3333% - 1px);
  /*background: rgba(0,0,0,0.1);*/
  border-right: 1px solid #999999;
  float: left;
  height: 100%;
}

.hbar{
  height: calc(8.3333% - 1px);
  /*background: rgba(0,0,0,0.1);*/
  border-bottom: 1px solid #999999;
  float: left;
  width: 100%;
  display: none;
}




/*  --------------------------------------------------
  :: Interface
  -------------------------------------------------- */

.interface {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1003;
}

.interface a, .interface span  {
  margin: 0 5px;
  float: left;
}

.loading-dialog {
    display: none;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    -moz-animation-name: blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;

    animation-name: blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@-webkit-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}


.loading .loading-dialog {
  display: block;
}



/* Next/ Previous */

.works-slider .next-slide {
    width: 25%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 180px;
    z-index: 1001;
    cursor: url(../img/arrow-right.svg), auto;
}

.dark-ui .works-slider .next-slide svg polygon {
    fill: #FFFFFF;
} 

.works-slider .prev-slide {
    width: 25%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 180px;
    z-index: 1001;
    cursor: url(../img/arrow-left.svg), auto;
}

.dark-ui .works-slider .prev-slide svg polygon {
    fill: #FFFFFF;
} 


body.admin .works-slider .next-slide,body.admin .works-slider .prev-slide {
  display:none;
}

body.admin .works-slider #next.next-slide,body.admin .works-slider #prev.prev-slide {
  display:block;
}

body .works-slider #next.next-slide,body .works-slider #prev.prev-slide {
  display:none;
}



@media only screen and (max-width: 768px) {

.interface {
  display: none;
}

.works-slider .next-slide, .works-slider .prev-slide {
  display: none;
}

}

/*  --------------------------------------------------
  :: Fullscreen Switch
  -------------------------------------------------- */

.cycle-slide {
  background-size: cover;  
  background-position: center center;
  background-repeat: no-repeat;
}

.cycle-slide.fullscreen-active .draggable {
  visibility: hidden;
}

/*  --------------------------------------------------
  :: Slider Animations
  -------------------------------------------------- */
/*.cycle-slide img {
  -webkit-transform: translate(0%, 10%);
    -moz-transform: translate(0%, 10%);
    -ms-transform: translate(0%, 10%);
    -o-transform: translate(0%, 10%);
    transform: translate(0%, 10%);
    opacity: 0;
    -webkit-transition: 0.7s ease-in-out;
    -moz-transition: 0.7s ease-in-out;
    -o-transition: 0.7s ease-in-out;
    -ms-transition: 0.7s ease-in-outs;
    transition: 0.s ease-in-out;
}


.cycle-slide.cycle-slide-active img { 
    opacity: 1;
 -webkit-transform: translate(0%, 0%);
    -moz-transform: translate(0%, 0%);
    -ms-transform: translate(0%, 0%);
    -o-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
}*/

/*  --------------------------------------------------
  :: Landing Slide
  -------------------------------------------------- */

.landing-slide {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1008;
  background-image: url("../img/logo-desktop.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50%;
  display: none;
}

@media only screen and (max-width: 768px) {
  .landing-slide {
    background-image: url("../img/logo-mobile.svg");
    background-size: 50%;  
  }
}

/*  --------------------------------------------------
  :: Timeline
  -------------------------------------------------- */

body.timeline {
  min-height: 100%;
}

.timeline-container {
  width: 100%;
  float: left;
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow-x: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

}

@media only screen and (max-width: 768px) {
.timeline-container {
  height: 90vh;
  min-height: 560px;
}
}


.timeline-wrapper {
  padding: 0px 0px 0 200px;
  position: absolute;
  top: 50%;
  width: 70000px;
  -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}

.timeline-top {
  width: 100%;
  float: left;
  position: relative;  
  height: 300px;
  padding-bottom: 75px;
}

.timeline-bottom {
  width: 100%;
  float: left;
  position: relative; 
  height: 220px;
  padding-top: 75px;
}

@media only screen and (max-width: 768px) {
.timeline-bottom  {
  padding-top: 50px;
  height: 220px;
  }

.timeline-top  {
  padding-bottom: 50px;
  height: 275px;
  }
}


.timeline-border {
    width: 200%;
    float: left;
    position: relative;
    height: 1px;
    border-bottom: 1px solid #00041b;
    margin-left: -200px;
}

.timeline-group {
  display: inline-block;
  width: auto;
  padding: 0px 20px;
  max-width: 300px;
}

.timeline-top .timeline-group {
    vertical-align: top;
    margin-top: 0px;
}

.timeline-bottom .timeline-group {
    vertical-align: bottom;
    margin-bottom: 0px;
}

.timeline-top .timeline-box {
  position: relative;
  width: 100%;
}

.timeline-bottom .timeline-box {
  position: relative;
  width: 100%;
}

.timeline-top .works-grouping .timeline-group:first-child:before, .timeline-top .exhibitions-grouping .timeline-group:first-child:before {
  width: 1px;
  height: 75px;
  background: #00041b;
  content: "";
  position: absolute;
  bottom: -10px;
}

@media only screen and (max-width: 768px) {
.timeline-top .works-grouping .timeline-group:first-child:before, .timeline-top .exhibitions-grouping .timeline-group:first-child:before {
  height: 50px;
}
}

.timeline-top .works-grouping .timeline-group:first-child:before {
  left: 0;
}

.timeline-bottom .publications-grouping .timeline-group:first-child:before, .timeline-bottom .articles-grouping .timeline-group:first-child:before, .timeline-bottom .essays-grouping .timeline-group:first-child:before, .timeline-bottom .events-grouping .timeline-group:before {
  width: 1px;
  height: 75px;
  background: #00041b;
  content: "";
  position: absolute;
  top: -10px;
}

@media only screen and (max-width: 768px) {
.timeline-bottom .publications-grouping .timeline-group:first-child:before, .timeline-bottom .articles-grouping .timeline-group:first-child:before, .timeline-bottom .essays-grouping .timeline-group:first-child:before, .timeline-bottom .events-grouping .timeline-group:before {
  height: 50px;
}
}

.timeline-box img {
  max-height: 70px;
}

@media only screen and (max-width: 768px) {
.timeline-box img {
  max-height: 60px;
  }
}

.timeline-top .works-grouping .timeline-box a {
   /* -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;*/
    display: block;
}

/* Works */

.works-grouping, .exhibitions-grouping, .publications-grouping, .articles-grouping, .essays-grouping, .events-grouping {
  float: left;
  width: auto;
}

.works-grouping {
  min-width: 150px;
  float: left;
}

.works-grouping .timeline-group {
    width: 100px;
    height: auto;
    padding: 0px;
    margin: 5px;
}

/* Exhibitions */

.exhibitions-grouping {
    min-width: 250px;
    float: left;
}

.exhibitions-grouping .timeline-group {
    width: 250px;
    height: auto;
    overflow: hidden;
    padding: 0px;
    float: none;
    display: inline-block;
    margin: 5px;
}


/* Bottom */

.publications-grouping, .articles-grouping, .events-grouping, .essays-grouping {
    min-width: 260px;
    float: left;
}

.events-grouping, .publications-grouping {
    text-align: center;
}

.articles-grouping, .essays-grouping {
    margin-left: 20px;
}

.publications-grouping .timeline-group, .articles-grouping .timeline-group, .essays-grouping .timeline-group, .events-grouping .timeline-group {
    width: 250px;
    height: auto;
    overflow: hidden;
    padding: 0px;
    float: left;
    display: inline;
    margin: 5px;
}


/* Hide missing years */
.year- {
  display: none;
}

.years {
    float: left;
    width: auto;
    padding: 0px 0px 0px 0px;
    position: relative;
}

.year {
  position: absolute;
  left: -90px;
  bottom: 15px;
  text-align: center;
}

.year::before {
    width: 1px;
    height: 20px;
    background: #00041b;
    content: "";
    position: absolute;
    bottom: -25px;
    left: 50%;
}

/* Dark UI for Borders */
.dark-ui .year::before, .dark-ui .timeline-bottom .publications-grouping .timeline-group:first-child:before, .dark-ui .timeline-bottom .articles-grouping .timeline-group:first-child:before, .dark-ui .timeline-bottom .essays-grouping .timeline-group:first-child:before, .dark-ui .timeline-bottom .events-grouping .timeline-group:before,
.dark-ui .timeline-top .works-grouping .timeline-group:first-child:before, .dark-ui .timeline-top .exhibitions-grouping .timeline-group:first-child:before {
  background: #ffffff;
}

.dark-ui .timeline-border {
  border-bottom: 1px solid #ffffff;
}

/* Js fadeIn */

.timeline-wrapper {
  opacity: 0;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-outs;
    transition: opacity 0.5s ease-in-out;
}

.page-loaded .timeline-wrapper{
  opacity: 1;
}

body.timeline .timeline-wrapper {
  font-size: 14px;
  line-height: 1.4em;
}


/* Hover Image */

.hover-image {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 25vw;
  height: auto;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  line-height: 0;
}

@media only screen and (max-width: 768px) {
  .hover-image {
    display: none!important;
  }
}

