/* -------------------------------- */
/*              Debug               */
/* -------------------------------- */

#primary {
  width: 100%;
}

.orange { background: orange; }
.red    { background: red; }
.blue   { background: blue; }
.green  { background: green; }
.yellow { background: yellow; }
.purple { background: purple; }

.orange, .red, .blue, .green, .yellow, .purple { opacity: 1.0; /*background: none;*/ }


/* -------------------------------- */
/*               Misc               */
/* -------------------------------- */

.not-draggable {
  -webkit-user-drag: none;
  -moz-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}


/* -------------------------------- */
/*          House keeping           */
/* -------------------------------- */

.tqs_slider * {
  
  /* Things that needs to be overwritten because themes leaks */
  box-shadow: none !important;
  text-shadow: none !important;
  
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  
  /* Avoid the accidental selection of slides when clicking fast */
  -webkit-user-drag: none !important;
  -moz-user-drag: none !important;
  user-drag: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  user-select: none !important;
}


/* -------------------------------- */
/*          Main container          */
/* -------------------------------- */

.tqs_slider, .tqs_grid_slider {
  position: relative;
  width: 100%; height: 486px;
  margin: 0 0 12px 0;
  background: #ffffff;
  overflow: hidden;
}

.tqs_grid_slider {
  height: auto;
  overflow: visible;
}


/* -------------------------------- */
/*            Slide view            */
/* -------------------------------- */

.tqs_slider_view {
  position: absolute;
  top: 0px; left: 0px;
  width: 100%; height: 100%;
  background: #ffffff;
}
.tqs_slider_view ul {
  display: block;
  position: absolute;
  top: 0px; left: 0px;
  margin: 0 0 0 0;
  width: 9999999px; height: 382px;
  list-style: none outside none;
  transition-duration: 1500ms;
}
.tqs_slider_view li {
  display: block;
  position: relative;
  float: left;
  width: 100%; height: 100%;
  margin: 0 0 0 0;
  list-style: none outside none;
  text-align: center;
  overflow: hidden;
  background: no-repeat center center url('/wp-content/plugins/the-quiet-slider/images/spinner.gif') #f0f0f0;
}
.tqs_slider_view li img {
  position: absolute;
  cursor: zoom-in;
}

.tqs_slider_view li img[data-orientation="landscape"] {
  width: 100%;
  height: auto;
}

.tqs_slider_view li img[data-orientation="portrait"] {
  width: auto;
  height: 100%;
}

img.blurry {
  position: absolute;
  top: 0; left: 0;
  filter: blur(6px) saturate(80%);
}

.tqs_slider_view p {
  display: block;
  position: absolute;
  bottom: 104px; left: 0; right: 0;
  padding: 12px 9px 9px 9px;
  color: #ffffff;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0.0;
}
.tqs_slider_view:hover p {
  opacity: 1.0;
  transition-duration: 300ms;
}

/* -------------------------------- */
/*      Slide view navigation       */
/* -------------------------------- */

.tqs_slider_view_navigation_left, .tqs_slider_view_navigation_right {
  position: absolute;
  top: 167px;
  width: 48px; height: 48px;
  border-radius: 96px;
  opacity: 0.0;
  transition-duration: 300ms;
}
.tqs_slider_view_navigation_left {
  left: 24px;
  background: no-repeat 0 0 url('/wp-content/assets/expo-in-the-city/arrows.png');
  background-color: #202020;
  background-color: rgba(32, 32, 32, 0.3);
}
.tqs_slider_view_navigation_right {
  right: 24px;
  background: no-repeat -50px 0 url('/wp-content/assets/expo-in-the-city/arrows.png');
  background-color: #202020;
  background-color: rgba(32, 32, 32, 0.3);
}

.tqs_slider_view_navigation_left:hover, .tqs_slider_view_navigation_right:hover {
  cursor: pointer;
}
.tqs_slider_view_navigation_left:hover {
  background-color: #ec7f21;
}
.tqs_slider_view_navigation_right:hover {
  background-color: #f21e58;
}
.tqs_slider_view:hover .tqs_slider_view_navigation_left, 
.tqs_slider_view:hover .tqs_slider_view_navigation_right
{
  opacity: 1.0;
}

.tqs_slider_view .tqs_slider_show_all_button {
  position: absolute;
  top: auto; right: 24px; bottom: 16px; left: auto;
  width: 48px; height: 48px;
  background: no-repeat 0 0 url('/wp-content/plugins/the-quiet-slider/images/images-idle.png');
  background-size: 48px 48px;
  cursor: pointer;
}

.tqs_slider_view .tqs_slider_show_all_button:hover {
  background: no-repeat 0 0 url('/wp-content/plugins/the-quiet-slider/images/images-hover.png');
  background-size: 48px 48px;
}

.tqs_slider_view .tqs_slider_show_all_button .counter {
  position: absolute;
  display: inline-block;
  top: -12px; right: -12px;
  min-width: 34px;
  padding: 6px 6px;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  background: #f91250;
  border-radius: 48px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* -------------------------------- */
/*         Thumbnails view          */
/* -------------------------------- */

.tqs_slider_thumbnails_view {
  position: absolute;
  left: 0px; bottom: 0px;
  width: 100%; height: 104px;
  background: #ffffff;
  border-top: 2px solid #ffffff;
}
.tqs_slider_thumbnails_view ul {
  display: block;
  position: absolute;
  left: 0;
  margin: 0 0 0 0;
  padding: 0 0 0 0 !important;
  width: 99999px; height: 100%;
  list-style: none outside none;
  background: #ffffff;
  transition-duration: 1500ms;
}
.tqs_slider_thumbnails_view li {
  display: block;
  float: left;
  width: 104px; height: 104px;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  list-style: none inside none;
}
.tqs_slider_thumbnails_view a {
  float: left;
  width: 100%; height: 100%;
  overflow: hidden;
  box-sizing: content-box;
}
.tqs_slider_thumbnails_view img {
  float: left;
  width: 100%;
  max-width: none;
}
.tqs_slider_thumbnails_view li.current a, .tqs_slider_thumbnails_view li:hover a {
  
}
.tqs_slider_thumbnails_view li.current a img, .tqs_slider_thumbnails_view li:hover a img {
  
}
.tqs_slider_thumbnails_view li:hover a {
  cursor: pointer;
}

/* -------------------------------- */
/*    Thumbnails view navigation    */
/* -------------------------------- */

.tqs_slider_thumbnail_navigation_left, .tqs_slider_thumbnail_navigation_right {
  display: none;
  position: absolute;
  top: 0px;
  width: 33px; height: 66px;
}
.tqs_slider_thumbnail_navigation_left {
  left: 0px;
  background: no-repeat 0 0 url('/wp-content/assets/expo-in-the-city/thumbnail_arrows.png');
}
.tqs_slider_thumbnail_navigation_right {
  right: 0px;
  background: no-repeat -33px 0 url('/wp-content/assets/expo-in-the-city/thumbnail_arrows.png');
}
.tqs_slider_thumbnail_navigation_left:hover, .tqs_slider_thumbnail_navigation_right:hover {
  cursor: pointer;
}
.tqs_slider_thumbnail_navigation_left:hover {
  background-position: 0 -66px;
}
.tqs_slider_thumbnail_navigation_right:hover {
  background-position: -33px -66px;
}


/* -------------------------------- */
/*       Customization points       */
/* -------------------------------- */


/* -------------------------------- */
/*          Main container          */
/* -------------------------------- */

.tqs_slider {
  width: 100%; height: 486px;
  margin: 0 0 0 0;
  background: #ffffff;
}


/* -------------------------------- */
/*            Slide view            */
/* -------------------------------- */

.tqs_slider_view ul {
  transition-duration: 1500ms;
}



/* -------------------------------- */
/*         Thumbnails view          */
/* -------------------------------- */

.tqs_slider_thumbnails_view {
  height: 104px;
  background: #ffffff;
}

.tqs_slider_thumbnails_view ul {
  background: #ffffff;
}

.tqs_slider_thumbnails_view li {
  width: 104px; height: 104px;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}

.tqs_slider_thumbnails_view a {
  width: 100%; height: 100%;
}

.tqs_slider_thumbnails_view img {
  width: 100%;
}

.tqs_slider_thumbnails_view li.current a, .tqs_slider_thumbnails_view li:hover a {
  
}

.tqs_slider_thumbnails_view li.current a img, .tqs_slider_thumbnails_view li:hover a img {
  
}

.tqs_slider_thumbnails_view li:hover a {
  cursor: pointer;
}

.lg-sub-html {
  font-size: 14px !important;
  padding: 24px 48px !important;
  text-align: left !important;
  line-height: 22px !important;
}


/* -------------------------------- */
/*               Grid               */
/* -------------------------------- */

.tqs_slider_grid_view ul {
  float: left;
  width: 100%;
  margin: 0 0 12px 0;
  padding: 0 0 0 0 !important;
}

.tqs_slider_grid_view ul li {
  display: block;
  float: left;
  width: 33.333333333333%;
  line-height: 0;
  border: 2px solid #fff;
  cursor: zoom-in;
}

/* Hide all but the first 6 items */
.tqs_slider_grid_view ul li:nth-child(n+7) {
  display: none;
}


/* -------------------------------- */
/*              Retina              */
/* -------------------------------- */
@media (-webkit-min-device-pixel-ratio: 2), 
  (min--moz-device-pixel-ratio: 2), 
  (min-resolution: 2dppx), 
  (min-resolution: 192dpi)
{
  
  .tqs_slider_view_navigation_left {
    background: no-repeat 0 0 url('/wp-content/assets/expo-in-the-city/arrows@2x.png');
    background-size: 200% 100%;
  }
  .tqs_slider_view_navigation_right {
    background: no-repeat -48px 0 url('/wp-content/assets/expo-in-the-city/arrows@2x.png');
    background-size: 200% 100%;
  }
  
  .tqs_slider_thumbnail_navigation_left {
    background: no-repeat 0 0 url('/wp-content/assets/expo-in-the-city/thumbnail_arrows@2x.png');
    background-size: 200% 200%;
  }
  .tqs_slider_thumbnail_navigation_right {
    background: no-repeat -33px 0 url('/wp-content/assets/expo-in-the-city/thumbnail_arrows@2x.png');
    background-size: 200% 200%;
  }
}
