.flag-container {
  display: block;
  padding: 5px;
  margin: 0 10px;
}

img.flag-selector {
  max-width: 100px; /* 125px; 36px; */
  margin: 0 auto; /* 0 auto; */
  vertical-align: middle;
  align-self: center;
  padding: 10px;
}

@media screen and (max-width: 640px) {
  #location-redirect-popup img {
    width: 100px !important;
  }
  
  img.flag-selector {
    margin: 5px 10px; 
  }
  
  span.redirect-title {
    font-size: 24px !important;
  }  
}

.flag-container:hover {
  transition: all 0.15s ease-in-out;
  border: 1.5px solid #677718;
}

span.country-selector {
  margin-left: 10px;
}

#location-redirect-message {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  display: none;
  padding: 20px;
  background-color: #fff;
  color: #000;
  text-align: center;
  font-family: sans-serif;
  font-size: 16px;
  width: 100%;
  z-index: 1000;
}

span.redirect-title {
  font-family: 'Garamond', 'Baskerville', 'Caslon', serif;
  font-weight: $heading-font-weight;
  font-style: $heading-font-style;
  font-size: 28px;
  line-height: 1.2em;
}

.redirect-title {
  margin-top: 50px;
  margin-bottom: 50px;
}

span.redirect-text {
  font-family: 'Muli', sans-serif;
  font-size: 15px;
}

.redirect-text {
  margin-bottom: 3em;
}

span.current-country {
  font-weight: 400;
}

.flag-names {
  font-family: 'Muli', sans-serif;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.15em;
  text-align: center;
}

#location-redirect-message a {
  color: #000;
}

#location-redirect-message a:hover {
  color: #000;
}

#location-redirect-popup p { font-size: 16px; } 

#location-redirect-popup { 
  padding: 5px 20px; 
}

#location-redirect-popup .logo-img {  
  width: 95px; 
  margin-bottom: 2.5em;
}

#location-redirect-popup .buttons-container { 
  text-align: center;
  margin-top: 2em;
}

#location-redirect-popup a.button-yes { 
  display: inline-block; 
  margin-bottom: 5px; 
  margin-left: 2px;
  margin-right: 2px;
/*   padding: 8px 28px;  */
  
  text-transform: uppercase; 
  font-size: 12px;
  letter-spacing: 0.1em;
  
  border-radius: 0px; 
/*   border: 1px solid #677718;
  background: #677718; 
  color: #ffffff;  */
}

#location-redirect-popup a.button-no { 
  display: inline-block; 
  margin-bottom: 5px; 
  margin-left: 2px;
  margin-right: 2px;
/*   padding: 8px 25px; */
  
  text-transform: uppercase; 
  font-size: 12px;
  letter-spacing: 0.1em;
  
  border-radius: 0px; 
/*   border: 1px solid #677718;
  background: #ffffff; 
  color: #677718;  */
}

/**
 * Featherlight - ultra slim jQuery lightbox
 * Version 1.3.4 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2015, Noel Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/
@media all {
  .featherlight {
    display: none;

    /* dimensions: spanning the background from edge to edge */
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 2147483647; /* z-index needs to be >= elements on the site. */

    /* position: centering content */
    text-align: center;

    /* insures that the ::before pseudo element doesn't force wrap with fixed width content; */
    white-space: nowrap;

    /* styling */
    cursor: pointer;
    background: rgba(51, 51, 51, 0.5);
    /* IE8 "hack" for nested featherlights */
    background: rgba(0, 0, 0, 0.5);
  }

  /* support for nested featherlights. Does not work in IE8 (use JS to fix) */
  .featherlight:last-of-type {
    background: rgba(0, 0, 0, 0.5);
  }

  .featherlight:before {
    /* position: trick to center content vertically */
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
  }

  .featherlight .featherlight-content {
    /* make content container for positioned elements (close button) */
    position: relative;

    /* position: centering vertical and horizontal */
    text-align: center;
    vertical-align: middle;
    display: inline-block;

    /* dimensions: cut off images */
    overflow: auto;
    padding: 30px 40px 60px 40px;
    
    /* border: solid 2px #677718; */
    /* border-bottom: 25px solid transparent; */

    /* dimensions: handling small or empty content */
    min-width:  30%;

    /* dimensions: handling large content */
    margin-left: 5%; 
    margin-right: 5%; 
    max-height: 95%;

    /* styling */
    background: #fff;
    cursor: auto;

    /* reset white-space wrapping */
    white-space: normal;
  }

  /* contains the content */
  .featherlight .featherlight-inner {
    /* make sure its visible */
    display: block;
  }

  .featherlight .featherlight-close-icon {
    /* position: centering vertical and horizontal */
    position: absolute;
    z-index: 9999;
    top: 0;
    right: 0;

    /* dimensions: 50px x 50px */
    line-height: 50px;
    width: 50px;

    /* styling */
    cursor: pointer;
    text-align: center;
    font-family: Muli, sans-serif;
    background: #fff; /* Set the background in case it overlaps the content */
    background: rgba(255, 255, 255, 0.3);
    color: #000;
  }


  .featherlight .featherlight-image {
    /* styling */
    width: 100%;
  }


  .featherlight-iframe .featherlight-content {
    /* removed the border for image croping since iframe is edge to edge */
    border-bottom: 0;
    padding: 0;
  }

  .featherlight iframe {
    /* styling */
    border: none;
  }
}

/* handling phones and small screens */
@media only screen and (max-width: 1024px) {
  .featherlight .featherlight-content {
    /* dimensions: maximize lightbox with for small screens */
    margin-left: 10px;
    margin-right: 10px;
    max-height: 98%;

    padding: 10px 10px 20px 10px;
    /*border-bottom: 10px solid transparent;*/
  }
}