/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

a {
text-decoration: none!important;
color:inherit!important;}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    margin: 18%;
    margin-right: 0%;
    margin-top: 0!important;
    padding-top: 3%;
    font-family: 'Open Sans', sans-serif;
    color:#6E6E6E;
    font-size: 1em;
    line-height: 1.4;
}

h1 {
    margin: 0;
      color: black;
      font-weight:800;
      border-bottom: 1px solid #6E6E6E;
      padding-bottom: 2.2em;
      padding-top: 0.6em;
  }
}
.desc br {
  line-height: 2.2em
}
p {
  line-height: 1.6em
}
p.desc{
    color:#6E6E6E;
}
.lighter  {
  color: black;
  font-weight: 100;
}
header {
border-bottom: 1px solid #6E6E6E;
margin-right: 20.2%;
}

section {
  margin-top: 2em;

}
.ref span {
font-size: 0.8em;
margin-left: 4px

}
.popup-gallery a img{
  width: 25%;
  height: auto;
  margin:1%;
  margin-left: 0%;
  margin-right:2%;
}
.thumbnail img  {
  display: inline-block;
      float: left;
      width: 150px;
      padding: 1em;
      padding-left: 0;
      padding-bottom: 2em;
      padding-top: 2em;
}
.thumbnail p  {
  padding-bottom: 3em;
      display: inline-block;
      padding-top: 2.3em;
  }
.thumbnail {
  border-bottom: 1px solid #6E6E6E;
  border-top: 1px solid #6E6E6E;
    color:#6E6E6E;
}
.desc {
  padding-bottom: 1.7em;
}
.ref {
  padding-top: 1.7em;
  padding-bottom: 1.7em;
    color:#6E6E6E;
}
.toggle , .cross {
  display: none;

}

img.plus {
  width:32px;
  margin: 15px;
  margin-left: 0px
}
img.cross {
  width: 27px;
  margin-top: 20px;
}
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

a {
  color:inherit!important;
  text-decoration: none!important;
}

.hidden {
    display: none !important;
}
.rotate{
  -webkit-transform: rotate(45deg);
}
/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

#artaparis{
    color: white;
    cursor: default;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 800px) {

  .popup-gallery a img{
    width:100%;
    display: block;
    margin-bottom: 5%
  }
h1  {
  padding-bottom: 1.6em;
padding-top: 0.6em;
font-size: 1.6em;
}
  h1 span {
    display: block;
    line-height:1em;
  }
  header{margin-right: 0%}
  body {
    margin: 8%;
      margin-right: 7%;}
.thumbnail img {
  padding-bottom: 0em;
}
.thumbnail p{
  padding-top: 0em;
  padding-bottom:1.7em;
}
    p.contact{
        margin-top:60px;
        margin-bottom: 30px;
    }

}
@media only screen and (max-width: 500px) {

    p.contact{
        margin-top: 13;
        margin-bottom: 10;
    }
    
}
@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}
.mfp-no-margins img.mfp-img {
	padding: 0;
}
/* position of shadow behind the image */
.mfp-no-margins .mfp-figure:after {
	top: 0;
	bottom: 0;
}
/* padding for main container */
.mfp-no-margins .mfp-container {
	padding: 0;
}




.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
		opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
		opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}


