﻿* {
  outline: none !important;
}

body {
  margin: 0;
}

.maskSemiTransparent
{
  background: #FFFFFF;
  z-index: 101;
  position: absolute;
  filter: alpha(opacity=50);
  opacity: 0.5;
  -khtml-opacity: 0.5;
  -moz-opacity: 0.5;
}

.previewOptions {
  border: solid 1px #999999 !important;
  -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px;
  border-spacing: 0;
  padding: 5px;
  margin: 0;
  background: white;
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-size: 13px;
  color: #006699;
}

.previewTitle {
  font-size: 1.1em; 
  font-weight: bold; 
  display: block; 
  margin-bottom: 5px;  
}

/*
 * Top level layout
 */ 
table.pageContainer {
  border-collapse: collapse;
}

td.pageContainer {
  padding: 0;
}

table.contentContainer {
  border-collapse: collapse;
}

td.contentContainer {
  padding: 0;
}

div.contentContainer {

}

table.headerContainer {
  border-collapse: collapse;
  width: 100%;
}

table.questionsContainer {
  width: 100%;
  border-collapse: collapse;
}

/*
 * Progress bar
 */
table.progressBarTable {
  border-collapse: collapse; 
}

td.progressBarText {
  padding: 0 0 2px 0;
  text-align: center;
}

td.progressBarGraphic {
  padding: 0;
}

.progressBar {
  border-collapse: collapse;
  border-width: 1px;
  border-style: solid;
}

.aboveNavButtonsProgBar {
  padding-bottom: 10px;
}

/* 
 * Page
 */
table.pageTitleDescr {
  border-collapse: collapse;
  width: 100%
}

td.pageTitle {
  padding: 0 0 2px 0;
}

td.pageDescr {
  padding: 0;
}


/*
 * Questions
 */ 
table.questionsTable {
  border-collapse: collapse;
  width: 100%;
}

td.markerCell {
  vertical-align: top;
}

td.questionCell {
  padding-left: 5px;
}

.questionMarker {
  vertical-align: top;
}

.questionText {
  display: block;
}

.questionTitle {
  margin-bottom: 7px;
  display: block;
}

.questionSubtitle {
  margin-bottom: 7px;
  display: block;
}

textarea.comments {  
  height: 50px;
}

/*
 * Matrix question
 */
table.questionMatrix {
  border-collapse: collapse;
}

table.questionMatrix td.matrixCell,  table.questionMatrix th.matrixCell {
  border-collapse: collapse;
  border-style: solid;
  border-width: 1px;
  border-color: #AAAAAA;
  padding: 5px;
}

table.questionMatrix th.header {
  text-align: center;
}

table.questionMatrix tr.altRow {
  background: #EEEEEE
}

table.questionMatrix input.textField {
  width: 100px;
}

/*
 * Multiple choice question
 */

table.multipleChoice {
  border-collapse: collapse;  
}

table.multipleChoice td {
  border-collapse: collapse;
  border-width: 1px;
  border-color: #AAAAAA;
}

/*
 * Ranking question
 */
 .rankTextBox {
   width: 40px !important;
   margin-right: 20px;
 }
 
 /*
  * Navigation
  */
td.navigationContainer {
  padding-bottom: 7px;  
}

table.topButtons {
  border-collapse: collapse;
  border: none;
  width: 100%;
}

div.navButtons table {
  border-collapse: collapse;
  border: none;
  margin: 0 auto 0 auto;
}

div.navButtons td {
  border-collapse: collapse;
  border: none;
  padding-left: 3px;
  padding-right: 3px;
}

/*
 * File and image preview
 */
 
table.filePreview {
  margin-top: 5px;
  border-collapse: collapse; 
  border-style: solid; 
  border-width: 1px;
}

table.filePreview td {
  padding: 5px;
  border-collapse: collapse; 
  border-style: solid; 
  border-width: 1px;
}

/*
 * Error message
 */
.messageError {
  border: solid 2px #FF0000;
  margin: 5px 0 5px 0;
  background: white;
}

.messageError span {
  color: #FF0000;
  font-weight: bold;
}

.errorCode {
  display: block;
  margin-top: 10px;
  font-size: 12px;
}

/*
 * NoviSurvey link
 */
td.outerFrameLink {
  text-align: center; 
  font-family: Arial, Verdana, Helvetica, sans-serif; 
  font-size: 12px; 
  font-weight: bold; 
  padding-top: 5px;
  cursor: default;
  border: none;
  background: none;
}

td.outerFrameLink a {
  text-decoration: none;
  cursor: pointer;
}

td.outerFrameLink a:hover {
  text-decoration: underline;
}

/*
 * Container for the language selection and print tools
 */

.languagePrintHeader {
  margin: 5px 0;
}

/*
 * Choose language link
 */
td.chooseLanguageLink {
  text-align: center; 
  font-family: Arial, Verdana, Helvetica, sans-serif; 
  font-size: 12px; 
  font-weight: bold; 
  padding-top: 5px;
  cursor: default;
  border: none;
  background: none;
}

a.chooseLanguageLink {
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
  border: 1px solid #666666;
  border-radius: 4px;
  padding: 5px;
  background: whitesmoke;
  white-space: nowrap;
}

.chooseLanguageLink:hover{
  text-decoration: none !important;
}


/*
 * Misc.
 */
.hidden {
  display: none;
}

.validator {
  margin-left: 5px;
}

a {
  text-decoration: none;
  outline: none;
}

a:visited {
  text-decoration: none;
  outline: none;
}

a:hover {
  text-decoration: underline;
  outline: none;  
}

.timer {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
    
  vertical-align: middle;
  text-align: center;
  width: 130px;
  height: 40px;
  font-size: xx-large;
  font-weight: bold;
  line-height: 40px;
  padding: 15px;
}

.updateProgressBackground
{
  position: fixed;
  top: 0;
  left: 0;
  background-color: #EEEEEE;
  filter: alpha(opacity=1);
  opacity: 0.01;
  -khtml-opacity: 0.01;
  -moz-opacity: 0.01;
  height: 100%;
  width: 100%;
  min-height: 100%;
  min-width: 100%;
  z-index: 3100;
}

.mcLowValueHoriz {
  padding-right: 15px;
}

.mcLowValueVert {
  padding-bottom: 10px;
}

.mcHighValueHoriz {
  padding-left: 15px;
}

.mcHighValueVert {
  padding-top: 10px;
}

.mcHoriz {
  display: table-cell;
  vertical-align: middle;
}

.mcVert {
  display: block;
}

.sliderNoBarHighlight {
  visibility: hidden;
}

@media print {
  * {  
    overflow: visible !important; /* support for print of survey responses in Firefox */
  }
}

@media screen and (max-width: 640px) {

  .mcLarge {
    display: none;
  }

  .mcSmall {
    display: block;
  }

  .mcLowSmall {
    float: left;
  }
  
  .mcHighSmall {
    float: right;
  }
}

@media screen and (min-width: 641px) {
  
  .mcLarge {
    
  }

  .mcSmall {
    display: none;
  }
}