@font-face {
  font-family: 'Source Sans Pro 300';
  font-style: normal;
  font-weight: 300;
  src: url(//static.sanoia.com/sanoia/fonts/source_sans_pro/source_sans_pro_300.eot);
  src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(//static.sanoia.com/sanoia/fonts/source_sans_pro/source_sans_pro_300.woff2) format('woff2'), url(//static.sanoia.com/sanoia/fonts/source_sans_pro/source_sans_pro_300.woff) format('woff'), url(//static.sanoia.com/sanoia/fonts/source_sans_pro/source_sans_pro_300.ttf) format('truetype'), url(//static.sanoia.com/sanoia/fonts/source_sans_pro/source_sans_pro_300.eot?#iefix) format('embedded-opentype');
}

@font-face {
  font-family: 'Source Sans Pro 400';
  font-style: normal;
  font-weight: 400;
  src: url(//static.sanoia.com/sanoia/fonts/source_sans_pro/source_sans_pro_400.eot);
  src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(//static.sanoia.com/sanoia/fonts/source_sans_pro/source_sans_pro_400.woff2) format('woff2'), url(//static.sanoia.com/sanoia/fonts/source_sans_pro/source_sans_pro_400.woff) format('woff'), url(//static.sanoia.com/sanoia/fonts/source_sans_pro/source_sans_pro_400.ttf) format('truetype'), url(//static.sanoia.com/sanoia/fonts/source_sans_pro/source_sans_pro_400.eot?#iefix) format('embedded-opentype');
}

/* Revert nav style*/

/**, html 
{
  margin: 0;
  padding: 0;
}*/
html, body 
{
  margin: 0;
  padding: 0;
  height: 100%;
}

body 
{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: sans-serif;
  /*font-size: 0;*/
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  letter-spacing: normal;
  /*line-height: normal;*/
  text-align: left;
  text-decoration: none;
  text-indent: 0;
  text-transform: none;
  word-spacing: normal;
}

img{border:0;}

select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

/* */

html, body 
{
  background-color: #34495e;  
  background-image: url(//static.sanoia.com/sanoia/images/noise.png);
  /*background-size: cover;*/
}

body
{
  overflow: hidden;
}

.xld-container
{
  height: 100%;
}

#help-container, .xld-container
{
  overflow: auto;
}


#questionHeader
{
  background-color: #22313f;
}

#resetBtn
{
  background-color: #34495e;
  background-image: none;
  border: 1px solid #6c7a89;
  border-radius: 2px;
  box-shadow: none;
  color: #dadfe1;
  margin-top: 10px;
  display: none;
}






/****************************/
/*      navButtons          */
/****************************/


#xle-style-btn-wrapper
{
  margin-bottom: 45px;
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

#xle-style-btn-wrapper button i
{
  position: relative;
  top: 1px;
}

#xle-style-btn-wrapper button, #print-score
{
  background: none repeat scroll 0 0 #3F5973;
  border: 2px solid #8496a8;
  margin: 0 10px;
  border-radius: 3px;
  box-shadow: none;
  color: #dadfe1;
  float: none;
  padding: 10px 16px;
  font-size: 20px;
  min-width: 146px;
}

#xle-style-btn-wrapper button:focus, #xle-style-btn-wrapper button:active, #print-score:active, #print-score:focus
{
  box-shadow: 0 3px 5px rgba(0,0,0,0.125) inset;
}

#xle-style-btn-wrapper button:hover, #print-score:hover
{
  background: none repeat scroll 0 0 #46637F;
  color: #eee;
  border: 2px solid #9EB0C2;
}

#xle-style-btn-wrapper button.disabled, #xle-style-btn-wrapper button.disabled:hover
{
  background: none repeat scroll 0 0 #1d3e59;
  border-color: #6c7a89;
  color: #6c7a89;
  cursor: not-allowed;
  pointer-events: initial;
  box-shadow: none;
}


/****************************/
/* WAIT AND LOADING SCREENS */
/****************************/


#spinner-whole
{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  cursor: wait;
}

#spinner-container
{
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  right: 0;
  bottom: 0;
}

#spinner
{
  position: absolute;
  display: block;
  color: #3f5973;
  font-size: 200px;
  top: -145px;
  left: -150px;
  width: 300px;
  text-align: center;
}

#wait-screen
{
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  cursor: wait;
  background-color: rgba(44,44,44,0.8);
  zoom: 1;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
}

#wait-screen-inner
{
  display: block;
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 0;
  left: 50%;
}

#wait-screen-message
{
  display: block;
  background-color: #ddd;
  text-align: center;
  width: 200px;
  height: 120px;
  padding: 10px 0;
  position: absolute;
  top: -70px;
  left: -100px;
  box-sizing: content-box;
}

#wait-screen-message p
{
  margin-top: 10px;
  padding: 0 10px;
}

#ajax-retry > div
{
  margin-top: 35px;
}

#print-score
{
  min-width: 0px;
  font-size: 16px;
  padding: 5px 10px;
  border: 2px solid #6c7a89;
}

@media only print {

  #main-nav
  {
    page-break-after: avoid;
  }

  .xle-bar, .replay-bar
  {
    display: none !important;
  }

  #content, #content-alt, #content-detailed, #sub-nav, .xle-bar, #xle-style-btn-wrapper, #notification-btn, #nav-icons, .spinner-whole
  {
    display: none;
  }

  #main-nav
  {
    position: static;
  }

  #main-title *
  {
    display: none;
  }

  #main-title #surveyTitle
  {
    display: inline-block;
    width: auto;
    position: static;
  }

  body
  {
    height: auto;
  }

  table
  {
    page-break-inside: avoid;
    -webkit-region-break-inside: avoid;
  }

  .alt-view #content-alt, .detailed-view #content-detailed, .final-view #content-alt
  {
    display: block;
    position: static;
    overflow: auto;
    transform: none !important;
  }

  .scores-tile
  {
    border: 1px solid #000 !important;
  }

  .scores-tile .scores-tile-inner .label
  {
    font-weight: 400;
  }

  .scores-tile .scores-tile-inner
  {
    width: 100%;
  }

  .scores-tile .back, .scores-tile .scores-tile-footer
  {
    display: none;
  }

  .question
  {
    page-break-inside: avoid;
    -webkit-region-break-inside: avoid;
    border: 1px solid #000 !important;
  }

  .question .question
  {
    border: none !important;
  }

  .noUi-target, .noUi-handle
  {
    border: 1px solid #000 !important;
  }

  .noUi-marker
  {
    border-left: 1px solid #000 !important;
    width: 1px;
  }

  .noUi-origin
  {
    margin-right: 0 !important;
  }

  .scaleQuestion div
  {
    top: 0 !important;
  }

  .scaleQuestion
  {
    margin-bottom: 20px !important;
    overflow: hidden !important;
  }

  .question h4, .scaleTitle
  {
    border-bottom: 1px solid #000 !important;
  }

  .question input
  {
    opacity: 1 !important;
  }

  .question .inputContainer > div
  {
    width: 33% !important;
  }

}
