
.row > .column {
  padding: 0 4px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  background-color: #767676;
  /*background-color: black;*/
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 600px;
  /*max-height: 400px;*/
}


/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
    display: none;
    background-color: black;
    text-align:center;
}

.mySlides img {
  max-height: 400px;
}



/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}


.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}


img.hover-shadow {
  cursor: pointer;
  transition: 0.3s;
  width:100%
}

img.hover-shadow-no-publish {
  cursor: pointer;
  transition: 0.3s;
  width:100%;
  padding: 1px;
  background-color: red;
}

.hover-shadow:hover {
 cursor: pointer;

  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.bottom_label {
    display:none;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    /*background-color: #1b1b1b;*/
    background-color: #282828;
    text-align:center;
    color: #e3e3e3;
}

.bottom_label a, a:not([href]):not([class]) {

   display: block;
   color: #e3e3e3;
   text-decoration: underline;
}



/* Tooltip */
  .test + .tooltip > .tooltip-inner {
    background-color: #282828; 
    color: #ff0000;; 
    border: 1px solid #ff0000;; 
    padding: 15px;
    font-size: 20px;
  }
  /* Tooltip on top */
  .test + .tooltip.top > .tooltip-arrow {
    border-top: 5px solid #ff0000;;
  }

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}









/*painting */



.row {
  padding: 4px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}


/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.row-painting {
  text-align:center;

  /*display:inline;*/
  /*flex: 25%;*/
  margin: auto;
}

.gallery-artwork-label {
    position: relative;
    width: 99%;
    display:block;
    padding-top: 1.5em;
    padding-bottom: 2em;
    padding-left: 1em;
    margin-bottom: 2px;
    background-color: #212121;
    /*text-align:center;*/
}
.gallery-artwork-label .dropdown {
  /*position: relative;*/
  /*display: inline-block;*/
  display: -webkit-box;
  display: -ms-flexbox;
  /*display: inline;*/
  position: absolute;
  top: .1em;
  right:.1em;
}

.gallery-artwork-label .btn {
  width: 2em;
  height: 2em;
  transform: translate(-5%, -5%);
  -ms-transform: translate(-5%, -5%);
  background-color: #555;
  color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.gallery-artwork-label .dropdown-content {
  display: none;
  position: absolute;
  background-color: #555;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.gallery-artwork-label .dropdown-content a {
  color: black;
  padding: 8px 8px;
  text-decoration: none;
  display: block;
  -webkit-transition: max-height 1s;
  -o-transition: max-height 1s;
  transition: max-height 1s;
}

.gallery-artwork-label .dropdown-content a:hover {background-color: #787878}

.gallery-artwork-label .dropdown:hover .dropdown-content {
  display: block;
}

.gallery-artwork-label .dropdown:hover .dropbtn {
  background-color: #3e8e41;
}





.painting-nav {
    display:block;
    /*margin-left: 2em;*/
    padding-left: 2em;
    /*background-color: #212121;*/
    /*text-align:center;*/
}





.painting-label {
    width: 99%;
    display:block;
    padding-top: 1.5em;
    padding-bottom: 1em;
    padding-left: 1px;

    margin-bottom: 2px;
    background-color: #212121;
    /*text-align:center;*/
}

.painting-label .dropdown {
  /*position: relative;*/
  /*display: inline-block;*/
  display: -webkit-box;
  display: -ms-flexbox;

  /*display: inline;*/
  position: absolute;
  top: 1em;
  right:2.5em;
}

.painting-label .btn {
  width: 3em;
  height: 2em;
  transform: translate(-5%, -5%);
  -ms-transform: translate(-5%, -5%);
  background-color: #555;
  color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.painting-label .dropdown-content {
  display: none;
  position: absolute;
  background-color: #555;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.painting-label .dropdown-content a {
  color: black;
  padding: 8px 8px;
  text-decoration: none;
  display: block;
  -webkit-transition: max-height 1s;
  -o-transition: max-height 1s;
  transition: max-height 1s;
}

.painting-label .dropdown-content a:hover {background-color: #787878}

.painting-label .dropdown:hover .dropdown-content {
  display: block;
}

.painting-label .dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

.painting-label h1 {
  font-size: 20px;
}

.painting-label h2 {
  font-size: 18px;
}

.painting-label h3 {
  font-size: 16px;
}

.painting-label a, a:not([href]):not([class]) {
  text-decoration: underline;
}


.painting {
    display:block;
}

.painting img {
  margin-top: 8px;
  max-width: 95%;
  cursor: crosshair;

  /*vertical-align: middle;*/
  /*max-width: 100%;*/
}


.painting .btn:hover {
  background-color: black;
}



.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/* Tooltip */
  .test + .tooltip > .tooltip-inner {
    background-color: #282828; 
    color: #ff0000;; 
    border: 1px solid #ff0000;; 
    padding: 15px;
    font-size: 20px;
  }
  /* Tooltip on top */
  .test + .tooltip.top > .tooltip-arrow {
    border-top: 5px solid #ff0000;;
  }

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}

.pagecnt {
    width: 100%;
    font-size: 100%;
    margin: auto;
    padding: .5em 1.5em 1em 1.5em;

    /*background: black;*/
    background-color: #282828;

    overflow: hidden;
    border: 1px solid #ff0000;;
    /*border: 1px solid orange;*/
    border-radius: .5em;
}

.pagecnt-rbox {
    font-size: 100%;
    margin: auto;
    padding: 0;
    width: 100%;
    overflow: hidden
}

.pagecnt-rbox h1 {
    font-size: 250%;
    margin: 0 0 .3em 0;
    padding: 0;
    line-height: normal;
    color: #ff0000;;
    /*color: #ee7600;*/
    text-shadow: 1px 1px 0 gray
}

/*ImageEditor*/
.box__dragndrop,
.box__uploading,
.box__success,
.box__error {
  display: none;
}

.box {
    font-size: 1.25rem;
    background-color: #c8dadf;
    position: relative;
    padding: 100px 20px;
}


.box.has-advanced-upload {
  background-color: white;
  outline: 2px dashed black;
  outline-offset: -10px;
}

.box.has-advanced-upload {
    outline: 2px dashed #92b0b3;
    outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
}

.box.has-advanced-upload .box__dragndrop {
  display: inline;
}

.box.has-advanced-upload .box__icon {
    width: 100%;
    height: 80px;
    fill: #92b0b3;
    display: block;
    margin-bottom: 40px;
}

.box.is-dragover {
  background-color: grey;
}

.box.is-uploading .box__input {
  visibility: none;
}
.box.is-uploading .box__uploading {
  display: block;
}

.box__button, .box__file {
  display: none;
}

.no-js .box__button {
  display: block;
}


