/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    background-color: #BACFC9;
    font-size: 1em;
    line-height: 1.4;
}

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

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

hr {
    width: 30%;
    border: 1px solid black;
    border-radius: 5px;
} 

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    margin-top: 50px;
    margin-bottom: 50px;

    box-shadow:
    0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048),
    0 12.5px 10px rgba(0, 0, 0, 0.06),
    0 22.3px 17.9px rgba(0, 0, 0, 0.072),
    0 41.8px 33.4px rgba(0, 0, 0, 0.086),
    0 100px 80px rgba(0, 0, 0, 0.12);

    border-radius: 5px;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

textarea {
    resize: vertical;
}

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


.cc-selector input{
    margin:0;
    padding:0;
    -webkit-appearance:none;
       -moz-appearance:none;
            appearance:none;
}

.en{background-image:url(https://cdn.countryflags.com/thumbs/united-kingdom/flag-square-500.png);}
.fr{background-image:url(https://cdn.countryflags.com/thumbs/france/flag-square-500.png);}

.cc-selector input:active +.drinkcard-cc{opacity: .9;}
.cc-selector input:checked +.drinkcard-cc{
    -webkit-filter: none;
       -moz-filter: none;
            filter: none;
}
.drinkcard-cc{
    cursor:pointer;
    background-size:contain;
    background-repeat:no-repeat;
    display:inline-block;
    width:15px;height:15px;
    -webkit-transition: all 100ms ease-in;
       -moz-transition: all 100ms ease-in;
            transition: all 100ms ease-in;
    -webkit-filter: brightness(1.8) grayscale(1) opacity(.7);
       -moz-filter: brightness(1.8) grayscale(1) opacity(.7);
            filter: brightness(1.8) grayscale(1) opacity(.7);
}
.drinkcard-cc:hover{
    -webkit-filter: brightness(1.2) grayscale(.5) opacity(.9);
       -moz-filter: brightness(1.2) grayscale(.5) opacity(.9);
            filter: brightness(1.2) grayscale(.5) opacity(.9);
}



/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Green/Grey Theme
   =================== */

.main {
    background: #BACFC9;
}

.header-container,
.main-container,
.footer-container,
.main aside {
    background: #BACFC9;
}

.title {
    color: white;
}


/* ==============
    MOBILE: Menu
   ============== */

   ul {
       list-style-type: none;
       margin: 0;
       text-align: center;
       margin-bottom: 5%;
  }
   ul li {
       display: inline-block;
       margin: 0 5px;
  }
  nav a {
       font-size: 16px;
       color:black;
       position: relative;
       text-transform: uppercase;
       text-decoration: none;
       padding-bottom: 8px;
  }
  nav a:before, nav a:after {
       content: '';
       position: absolute;
       bottom: 2px;
       left: 0;
       right: 0;
       height: 2px;
       background-color: black;
  }
  nav a:before {
       opacity: 0;
       transform: translateY(- 8px);
       transition: transform 0s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0s;
  }
  nav a:after {
       opacity: 0;
       transform: translateY(4px);
       transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
  }
  nav a:hover:before, a:focus:before, a:hover:after, a:focus:after {
       opacity: 1;
       transform: translateY(0);
  }
  nav a:hover:before, a:focus:before {
      transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
  } 
  nav a:hover:after, a:focus:after {
       transition: transform 0s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0s 0.2s;
  }

  .dropdown {
    position: relative;
    display: inline-block;
  }

  /* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    color: white;
    background-color:rgba(0,0,0,0.7);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
/* Change color of dropdown links on hover */
.dropdown-content a:hover { 
    background-color:grey;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

ul i {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
  }

  .down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  }

  .fullwidthHeader {
      text-align: right;
      width: 85%;
      padding-bottom: 10px;
  }

  .bioHeader {
    text-align: right;
    width: 100%;
    padding-bottom: 10px;
  }

  section {
    padding-top: 20px;
  }

  .profile {
    -webkit-box-shadow: 7px 5px 12px 0px rgba(0,0,0,0.22);
    -moz-box-shadow: 7px 5px 12px 0px rgba(0,0,0,0.22);
    box-shadow: 7px 5px 12px 0px rgba(0,0,0,0.22);
  }

  figure {
    width: 100%;
    margin: 0 20px 20px 0;
    float: left;

    box-shadow:
    0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048),
    0 12.5px 10px rgba(0, 0, 0, 0.06),
    0 22.3px 17.9px rgba(0, 0, 0, 0.072),
    0 41.8px 33.4px rgba(0, 0, 0, 0.086),
    0 100px 80px rgba(0, 0, 0, 0.12);
  }

  figure img {
    vertical-align: middle;
  }

  figcaption {
    background-color: black;
    color: white;
    font-size: small;
    padding: 10px;
    text-align: center;
  }

  .justified {
    text-align: justify;
    text-justify: inter-word;
  }
   

/* ============== 
    MOBILE: Main
   ============== */

.title {
    padding-top: 20px;
    width: 100%;
}

.main {
    padding: 10px 0;
}

h1 {
    font-size: 2em;
    margin: 0em;
}

.main aside {
    color: black;
    text-align: center;
}

.footer-container footer {
    color: black;
    font-size: smaller;
    padding-bottom: 20px;
    width: 100%;
    text-align: center;
}

.galleryHeader {
    width: 93%;
    text-align: right;
    padding-bottom: 20px;
}

.contact-email {
    font: 16px Helvetica, Helvetica Neue, Arial;
    float: right;
    padding-top: 40px;
}

.gallery-item {
    float:left;
    position: relative;
    width: 30%;
    padding-bottom : 30%; /* = width for a 1:1 aspect ratio */
    margin:1.66%;
    background-color:#1E1E1E;
    overflow:hidden;

    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover; /* you change this to "contain" if you don't want the images to be cropped */
    color:#fff;

    box-shadow:
    0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048),
    0 12.5px 10px rgba(0, 0, 0, 0.06),
    0 22.3px 17.9px rgba(0, 0, 0, 0.072),
    0 41.8px 33.4px rgba(0, 0, 0, 0.086),
    0 100px 80px rgba(0, 0, 0, 0.12);

    border-radius: 5px;
}

.content {
    position:absolute;
    width:90%; 
    padding: 5%;
    background-color:rgba(0, 0, 0, 0.5);
}

.gallery-item:hover {
    opacity: 0.6;
}

.image-container {
    position: relative;
    text-align: center;
    color: white; 
    font-size: large;
}

.en-desc {
    position: absolute;
    top: 74px;
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
}

.fr-desc {
    position: absolute;
    top: 110px;
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
    font-style: italic;
    padding: 5px;
}

footer p {
    margin: 0em;
}    

.panoramic { 
    margin-top: 20px;
    height: 300px;
    object-fit: cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0px 0px 30px 10px rgba(0,0,0,0.7);
}

.panoramic img {
    margin: 0;
    position: relative;
    z-index: -2;

    height: 100%;
    width: auto;
}

.contactAddress {
    width: 100%;
}

.contactAddress td {
    text-align: right;
}

.contactAddress td:first-child {
    text-align: left;
}
  

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.coverPage {

    width: 100%;
    padding-bottom: 100px;
}

  button {
    border-width: 1px;
    background-color: #BACFC9;
    border-color: #415951;
    color: #415951;
    padding: 5px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
  }

  input[type=text], textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #415951;
    border-radius: 0px;
    box-sizing: border-box;
    resize: vertical;
    background: transparent;
    box-shadow: 3px 3px #415951;
  }

  select {
    margin-top: 6px;
    padding: 6px;
    border: 2px solid #415951;
    border-radius: 0px;
    box-sizing: border-box;
    resize: vertical;
    background: transparent;
    box-shadow: 3px 3px #415951;
    float: right;
  }

  input[type="text"]:disabled, textarea:disabled {
    cursor: not-allowed;
    background-color: lightgray;
  }

  .pdfLink a img{
    vertical-align: middle;
  }

  .pdfIcon {
      width: 64px;
      padding-left: 20px;
  }

  .info {
      color: crimson;
  }

  .messageSent {
    background-color: #767676;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: not-allowed;
    width: 100%;
  }
  
  .submitButton {
    background-color: #415951;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
  }
  
  .submitButton:hover {
    background-color: #415951;
  }

  .glyph{
    position: relative;
    top: 35px;
    left: 50%;
    pointer-events: none;
    color: white;
  }

  .contact-container{
      margin-top: 20px;
  }
  .contact-container td {
      padding: 10px;
  }

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

   .title {
        width: 100%;
    }
}


@media only screen and (min-width: 820px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    ul {
        margin-top: 12%;
   }

   .panoramic img {
        height: auto;
        width: 100%;
    }

    figure {
        width: 50%;
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
        width: 40%;
    }

    nav {
        float: right;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 50%;
    }

    .main aside {
        float: right;
        width: 45%;
    }
      
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }


}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr{
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
