/****************/
/*** Defaults ***/
/****************/

html {
  height: 100%;
}

body {
  background: #EFECE5 url(../media/images/img_2912.jpg) fixed;
  background-size: 142%;
  background-position: 50% 45%;
  background-repeat: no-repeat;
  overflow-y: scroll;
  height: 100%;
}

article a {
  color: #ea1f26 !important;
}

h1 {
  font-size: 28px;
  font-weight: 500;
}

h2 {
  font-size: 24px;
  font-weight: 500;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

h4 {
  font-size: 16px;
  font-weight: 700;
}

iframe {
  width: 100%;
}

nav {
  background: transparent;
}

nav .categories-container {
  background: rgba(0, 0, 0, .5) !important;
}

nav ul a:hover {
  background: transparent;
}

strong {
  font-weight: 700;
}

/******************/
/*** Navigation ***/
/******************/

nav h1 {
  width: 439px;
  height: 114px;
  max-width: 100%;
  margin: 0 auto;
  background: url(../img/margarethmeulmeester-white.png) no-repeat;
  background-size: 100%;
}

nav h1 a {
  display: block;
  width: 100%;
  height: 100%;
  color: #EFECE5 !important;
  text-indent: -1337em;
  overflow: hidden;
}

nav .pinned {
  background: #101519 !important;
}

#placeholder-overlay.er {
  opacity: .9;
}

/************/
/*** Grid ***/
/************/

.db {
  width: 90% !important;
  max-width: 1400px !important;
}

#portfolio {
  min-height: 100%;
  padding-top: 1.5rem;
}

.e {
  margin-bottom: 0;
}

.gallery-cover img {
  width: 100% !important;
  height: auto !important;
}

.gallery-header .right {
  position: absolute;
  right: 16px;
}

.h .card-content p {
  margin-top: 16px;
}

.card-content img {
  max-width: 100%;
  height: auto !important;
}

.right {
  float: right !important;
}

.title-wrapper h3 {
  font-size: 2.5rem;
  font-weight: 400;
}

#placeholder-navbar {
  background: #101519 !important;
}

#placeholder-overlay {
  background: #36373B !important;
}

.c .gallery-expand.m .gallery-curve-wrapper .gallery-cover {
  border-radius: 0;
}

/**********************/
/*** Custom overlay ***/
/**********************/

.c .gallery-expand[data-fillscreen="true"] .gallery-curve-wrapper .gallery-cover.en {
  opacity: 1;
}
.c .gallery-expand[data-fillscreen="true"] .gallery-curve-wrapper .gallery-cover .ep {
  display: none;
}

.fullscreen .gallery-header {
  display: none;
}

#art-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(54, 55, 59, .9);
  opacity: 0;
  overflow: auto;
  transition: opacity .2s linear;
  z-index: 1337;
}

#art-overlay #placeholder-navbar {
  background: #101519 !important;
}

#art-overlay.show {
  opacity: 1;
  transition: opacity .2s linear;
}

#art-overlay-image {
  display: block;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 96px);
  margin: 80px auto 0;
  cursor: zoom-in;
}

#art-overlay-image.zoom {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

#art-overlay .db {
  position: relative;
  text-align: center;
}

#art-overlay button {
  position: absolute;
  top: 0;
  left: 0;
}

#art-overlay-title img {
  display: none;
}

#art-overlay-title br {
  display: block;
}

#art-overlay-title span {
  padding: 0 16px;
}

#art-overlay-next,
#art-overlay-prev {
  position: fixed;
  top: 50%;
  width: 48px;
  height: 48px;
  font-size: 32px;
  line-height: 48px;
  text-align: center;
  background: #101519;
  border-radius: 24px;
  color: #fff;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#art-overlay-next {
  right: 16px;
}

#art-overlay-prev {
  left: 16px;
}

/***************/
/*** Gallery ***/
/***************/

.bx-wrapper {
  margin-bottom: 40px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.bx-wrapper .bx-prev {
  left: -40px;
}

.bx-wrapper .bx-next {
  right: -40px;
}

@media only screen and (max-width:992px) {
  .bx-wrapper .bx-prev {
    left: 16px;
  }

  .bx-wrapper .bx-next {
    right: 16px;
  }
}

/*************/
/*** Index ***/
/*************/

.nav-extended .db {
  padding: 24px 0;
}

#home-profile {
  display: none;
  margin: 24px auto 0;
  padding: 8px 0;
  background: rgba(0, 0, 0, .5);
}

#home-profile .db {
  width: 820px !important;
  max-width: 90% !important;
  min-height: 268px;
}

#home-profile a {
  display: inline-block;
  font-weight: 700;
  margin-top: 10px;
  padding: 10px 32px;
  background: rgba(0, 0, 0, .5);
  transition: background-color .3s linear;
}

#home-profile #profile-image {
  margin-top: 0;
  padding: 0;
}

#home-profile a:hover {
  background: #101519;
}

#profile-image {
  float: left;
  width: 220px;
  height: 220px;
  margin: 0 36px 0 0;
  background: #f90;
  border-radius: 50%;
  overflow: hidden;
}

#profile-image img {
  width: 100% !important;
  height: auto !important;
}

#profile-text h2 {
  line-height: 1.2;
  font-family: 'Open Sans', sans-serif;
  margin: 0;
}

#profile-text p {
  line-height: 1.5;
  font-family: 'Open Sans', sans-serif;
}

#profile-text p:last-child {
  margin-bottom: 0;
}

#page-home #home-profile {
  display: none;
}

#page-home #portfolio {
  padding-top: 48px;
}

#page-home #portfolio .db {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0;
}

#page-home #portfolio .e {
  display: none;
  float: left;
  width: 100%;
  margin: 0;
}

#page-home #portfolio .e .d {
  width: 100%;
  height: 200px;
  margin: 0;
  padding: 0;
  background-size: cover;
  overflow: hidden;
}

article .h,
.c .gallery-expand .gallery-curve-wrapper {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12), 0 3px 1px -2px rgba(0, 0, 0, .2) !important;
}

#page-home #portfolio .e .d img {
  opacity: 0;
}

#page-home #portfolio .e.right {
  width: 100%;
}

#page-home #portfolio .e.right .d {
  height: 200px;
}

#page-home .placeholder {
  height: 100%;
}

#page-home .gallery-curve-wrapper {
  position: relative;
  height: 100%;
}

#page-home .gallery-curve-wrapper .gallery-header {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  width: 80%;
  font-family: 'Open Sans',sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto;
  padding: 16px;
  background: transparent;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 4px #000;
  transition: background-color .3s linear;
  z-index: 2;
}

.home-margareth {
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: contain !important;
}

.home-margareth .gallery-header {
  display: none;
}

.social {
  float: left;
  opacity: .66;
}

.social img {
  width: 32px;
  margin: 0 8px 0 6px;
}

.social-mobile {
  display: none;
  position: absolute;
  top: 240px;
  width: 90%;
  opacity: .75;
}

.social-mobile img {
  width: 32px;
}

#home-image {
  position: relative;
  width: 500px;
  max-width: 68%;
  margin: 0 auto;
  line-height: 0;
  border-radius: 50%;
  box-shadow: 0px 0px 30px #fff;
  overflow: hidden;
}

#home-image img {
  width: 100%;
}

/**************/
/*** Mobile ***/
/**************/

.side-nav {
  background: rgba(0, 0, 0, .9);
}

.side-nav a {
  color: #fff;
}

.side-nav a:hover {
  background: transparent;
}

#sidenav-overlay {
  background: rgba(0, 0, 0, .33);
}

@media only screen and (min-width:401px) {
  .use-thumbs .e .d {
    width: 50%;
  }
}

@media only screen and (min-width:601px) {
  #page-home #portfolio .e {
    width: 40%;
  }

  #page-home #portfolio .e.right {
    width: 60%;
  }

  #page-home #portfolio .e .d {
    height: 600px;
  }

  #page-home #portfolio .e.right .d {
    width: 50%;
  }

  .use-thumbs .e .d {
    width: 33.3333333333%;
  }
}

@media only screen and (max-width:600px) {
  body {
    background-size: cover;
  }

  #profile-image {
    margin-left: calc(50% - 110px);
  }

  #profile-text {
    clear: both;
  }

  #profile-text em,
  #profile-text h2 {
    display: none;
  }

  .social {
      display: none;
  }

  #page-home .social-mobile {
      display: block;
  }
}

@media only screen and (min-width:993px) {
  #page-home #portfolio .e .d {
    height: 400px;
  }

  #page-home #portfolio .e.right .d {
    width: 33.3333333333%;
  }

  .use-thumbs .e .d {
    width: 25%;
  }
}

body.cke_ltr { background:#fff; }
#m4tini_editor { height:auto; background:#fff; margin:0; padding:10px; }
#m4tini_editor img { max-width: 100%; height: auto !important; }
#m4tini_editor p { margin-top: 0; }

