/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

input:invalid {
    background-color: rgb(240, 128, 128);
}

/*answer fields*/
.GenericAnswer .col-responses col:nth-child(2)  { 
    /*width: 10%; does not work, due to the style that is set on each col*/
    background-color:lightyellow;
}
/*comment fields*/
.GenericAnswer .col-responses col:nth-child(3)  {
   /*color:blue; does not work*/
}
/*answer & comment headings*/
.GenericAnswer .ls-heading {
    visibility: collapse;
}

.GenericAnswer p {
    margin: 0;
}


/*table headings*/
.ls-answers .ls-heading th {
    font-size: 12px;
}




/*Progressbar*/

  #progressbar .ui-progressbar-value {
    background-color: lightblue;
    width: 278.3px;
    position: absolute;
    height: 27px;
    /*margin-top: -20px;*/
  }

  #progress-label {
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
    text-align: center;
    margin-top: -20px;
  }


/*Misc*/

.unitCell {
    font-size: 12px;
    font-weight: bold;
    padding-top: 10px;
}

.autoAnswered {
    margin-top:10px;
    background-color:lightblue;
    /*color:darkgreen;*/
}

.hiddenItem {
    display:none;
}

.rowTitle {
    position: absolute; 
    /*margin-left: -80px; */
    margin-top: -25px; 
    /*display: flex;*/
    background-color: lightyellow;
    color: darkmagenta;
    font-size: smaller;
    font-weight: bold;
}

.actionButton {
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    background-color: #008CBA;
    cursor: pointer;
}

.completenessRow {
    padding: 10px 0; 
    border: 1px solid white;
    color: blue;
    cursor: pointer;
}
.completenessRow:hover {
  color: darkblue;
  text-decoration: underline;
}

.dropdown-menu { /*makes the navigation menu (question-index) scrollable in browser*/
    height: 500px;
    overflow: auto;
}

/*dropdowns with filter*/
.dropbtn {
  background-color: #286090;
  color: white;
  padding: 5px;
  font-size: 16px;
  border: none;
  cursor: pointer;
    float: left;
    height: 33px;
}

.dropbtn:hover, .dropbtn:focus {
  background-color: #3e8e41;
}

.filterOpt {
  box-sizing: border-box;
  /*background-image: url('searchicon.png');
  background-position: 14px 12px;
  background-repeat: no-repeat;*/
  padding: 6px; /*6px 150px 6px 12px; 14px 20px 12px 45px;*/
  border: 1px solid #ccc;
  border-bottom: 1px solid #ddd;
  /*border-radius: 4px;*/
  float: left;
}

.filterOpt:focus {outline: 3px solid #ddd;}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f6f6f6;
  min-width: 130px;
  max-width: 400px;
  overflow: auto;
  border: 1px solid #ddd;
  z-index: 1;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;     /* prevent horizontal scrollbar */
  text-align: left;
  margin-top: 34px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ddd;
  cursor: pointer;
  }
  
.show {display: block;}

/*Questionnaire name*/
#survNameDiv {
    top: 20px;
    position: absolute;
    padding-left: 200px;
    color: #0097BF;
}


/*pop-ups*/

.popupContainer {
    display: none;
    position: absolute;
    top: 20px;
    left: 0px;
    background-color: #fcf8e3;
    color:black;
    font-weight:normal;
    border:solid 2px #faebcc; /*#96b5f0;*/
    border-radius: 5px;
    padding:10px;
    padding-left:50px;
    padding-right:50px;
    z-index: 9999;
    width: 500px;
}

.termContainer { 
      display:inline;
      /*color:darkblue;*/
      text-decoration-line: underline;
      /*text-decoration-style: double;*/
      cursor:pointer;
      position: relative;
}

.closePopupBtn { 
      color:darkred;
      position: absolute;
      font-size:15px;
      top:6px;
      right:10px;
}


.cTooltip
{
    cursor: help;
 
}

.tooltip .tooltip-inner 
{
    min-width:100px;
    max-width: 50%;
    margin: auto;
    background-color: #fcf8e3;
    color: black;
    text-align: left;
    border:solid 2px #faebcc; /*#96b5f0;*/
    border-radius: 5px;
}

.tooltip.fade.top.in {
    opacity: 1;
} 


/*a little space to keep the help-text away from the answer field - especially when help is placed below the answer (using the theme options)
https://forums.limesurvey.org/forum/design-issues/135083-changing-positioning-of-question-help-in-container 
*/
.question-help-container { 
    margin-top: 10px;
}    
