

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

.g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 30px;
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by it's height */
  margin: 0 auto -30px;
}

/* Set the fixed height of the footer here */
#push,
#footer {
  height: 30px;
}

#footer {
  background-color: #f5f5f5;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
  #footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

h1{
  font-size: 25px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-weight: bold;
  font-size: 15px;
}

.header-title {
  font-size: 1.8em;
  font-weight: bold;
  margin: 0.8em 0 0 1.0em;
}

.logo-block {
  margin: 15px 0px;
}

.user-info {
  color: #323232;
  margin: 0;
  padding: 0;
  font-size: 0.8em;
  padding: 0.8em 0.4em 0 0;
}

.navbar {
  border-radius: 0;
}

.navbar-inverse .navbar-nav > li > a {
  color: #F4F4F4;
}

footer {
  margin-top: 2em;
  min-height: 30px;
  background: #3c3c3c; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzNjM2MzYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyMjIyMjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  #3c3c3c 0%, #222222 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3c3c3c), color-stop(100%,#222222)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #3c3c3c 0%,#222222 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #3c3c3c 0%,#222222 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #3c3c3c 0%,#222222 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #3c3c3c 0%,#222222 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3c3c3c', endColorstr='#222222',GradientType=0 ); /* IE6-8 */
  text-align: center;
  color: #FFFFFF;
  padding: 0.4em 0 0 0;
}

footer p {
  margin: 0;
  padding: 15px 0;
}

.form_table input {
  width: 100%;
}

.form_table table td:first-child {
  min-width: 150px;
}

.errorlist {
  color: #B94A48;
}

.error {
  color: red;
  margin: 0.6em 0;
}

.errorlist li {
  list-style: none;
}

fieldset {
  background-clip: padding-box;
  border-radius: 4px 4px 4px 4px;
  display: table;
  margin-top: 35px;
  position: relative;
  width: 100%;
}

.form-row {
  margin: 5px 0;
}

.filter {
  margin: 5px 0;
}

#relevance-form ul {
  list-style-type: none;
}

#relevance-form li {
  display: inline;
  margin: 10px;
}

#time-period-filter {
  margin-bottom: 40px;
}

.radiobutton-container li {
  font-size: 0.75em;
}

.calculator {
  background-position: -952px -170px;
  display: inline-block;
  width: 14px;
  height: 16px;
  margin-right: .3em;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url("/static/img/glyphicons.png");
  background-repeat: no-repeat;
}

.pdf_export {
  background-position: -160px -200px;
  width: 30px;
  height: 16px;
  margin-right: .3em;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url("/static/img/glyphicons.png");
  background-repeat: no-repeat;
  display: inline-block;
}

.survey_export {
  width: 40px;
  height: 40px;
  margin-right: .3em;
  line-height: 14px;
  background-repeat: no-repeat;
  background-size: contain;
  float: left;
}

.generic_pdf_export {
  background-image: url("/static/img/app-pdf-icon.png");
}

.xls_export {
  background-image: url("/static/img/xlsx-icon.png");
}

ul.navbar-nav li a {
  text-decoration: none;
}

.navbar-inverse .navbar-nav>li>a {
  color: #999999;
}

ul#surveylist, #surveylist ul {
    list-style-type: none;
}

.progress .bar {
  float: left;
  width: 0;
  height: 100%;
  font-size: 12px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #0e90d2;
}

.survey_filter {
  margin-bottom: 10px;
}

.survey_filter select {
  margin: 0 0 5px 0;
}

.separator {
  height: 1.2em;
}

.progress-table .btn {
  margin: 5px 0;
}

ul.checkbox_list {
  display: inline;
}

li.checkbox_item {
  display: inline;
}

ul.checkbox_subitems {
  display: inline;
}

label.checkbox_label {
  width: 30px;
  display: inline;
}

input[type="checkbox"] {
  width: 15px;
  display: inline;
}

.form_table input[type="text"] {
  width: 100%;
}

.form_table input[type="checkbox"] {
  width: 15px;
}

.survey_questions {
  margin-bottom: 30px;
}

.survey_questions ul {
  list-style-type: none;
}

.survey_questions li {
  display: inline;
  margin: 10px;
  font-size: 0.75em;
}

.delete_uploaded_file {
  cursor: pointer;
}

.question_help, .question_hint {
  font-size: 0.8em;
  font-style: italic;
}

.form-control {
  -webkit-box-shadow: none;
  box-shadow: none;
}

input.form-control[type="radio"] {
  width: auto;
}

.radio {
  margin-left: 1em;
}

ul.form-control {
  border: none;
}

.radiobutton-container ul {
  margin-top: -8px;
}

label {
  display: inline-block;
  padding-left: 15px;
  text-indent: -15px;
}

label input {
  width: 13px;
  height: 13px !important;
  padding: 0;
  margin: 0;
  vertical-align: bottom;
  position: relative;
  top: -1px;
  overflow: hidden;
}

.question_form label input[type="radio"],
.question_form label input[type="checkbox"] {
  display: inline;
}

.question_form label.no-answer {
  margin-left: 50px;
  font-weight: normal;
  font-style: italic;
  color: #a0a0a0;
}

table label.no-answer {
  font-weight: normal;
  font-style: italic;
  color: #a0a0a0;
}

.radio-widget ul {
  margin-left: 0!important;
  padding-left: 0!important;
}

.radio-widget ul li:before{
  content: '';
  display: block;
}

.dataTables_wrapper label input {
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  vertical-align: inherit;
  position: inherit;
}

.profile-label {
  padding-top: 10px;
}

#id_profile_data-geo_group {
  overflow: hidden;
}

select#id_profile_data-country {
  overflow: hidden;
}

.question_title {
  font-weight: bold;
  width: 100%;
  display: inline-block;
}

.question_description {
  font-weight: normal;
  font-size: 0.9em;
  width: 100%;
  display: inline-block;
}

.question_help {
  font-style: italic;
  font-size: 0.9em;
  width: 100%;
  display: inline-block;
}

.question-block {
  margin: 1.2em 0;
  border-top: 0px #DDDBDB solid;
  border-bottom: 0px #DDDBDB solid;
  padding: 0.8em 0;
}

.question-form {
  margin: 1.2em 0;
}

.question-label {
  text-align: left;
}

.question-separator {
  margin: 0 0 1.0em 0;
}

.question-form > input,select {
  margin: 1.0em 0;
}

.form_table {
  margin-top: 10px;
}

.form_table table.table select {
  margin: 0;
}

.combo-no-margin {
  margin: 0 0 1.2em 0;
}

.warnings {
  margin: 0 0 .2em 0;
  padding: 0;
}

.full-width {
  width: 100px !important;
}

.cs_btn_submit_cancel {
  display: inline-block;
  margin: 1.2em 0;
}

#id_rfc_comment-rfc_comment{
  margin-bottom: 20px;
}

.h4-sub-question-level-1 {
  font-size: 1.0em;
  font-weight: bold;
  margin: 0.6em 0 0.9em 2.4em;
}

.subquestion-indent-2 {
  margin: 0 0 0 2.4em;
}

.subquestion-indent-2 label {
  font-size: 0.9em;
}

.separator {
  width: 20px;
  display: inline-block;
}

.form_table .table select {
  min-width: 130px;
}

#btn-notify-rfc-completed {
  margin-top: 30px;
}

#id_time_period {
  width: 150px;;
  display: inline-block;
}

#surveylist .optional {
  color: orange;
}

#survey_form_error_modal .form-horizontal .form-group {
  margin-left: 0;
  margin-right: 0;
}

#time_period_form_checkbox ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#time_period_form_checkbox ul li {
  display: inline-block;
  margin-right: 16px;
}

#time_period_form_checkbox ul li label {
  margin-bottom: 0;
}

#time_period_form_checkbox ul li label input {
  top: -3px;
}

.form_table ul.errorlist {
  padding-left: 0;
}

.form_table ul.errorlist li {
  margin: 0;
}

.survey_questions ul.errorlist {
  padding-left: 0;
}

/* Set survey relevance form styles */

.set_survey_relevance h1 {
  margin-bottom: 40px;
}

.set_survey_relevance table tbody > tr > td input {
  margin: auto;
}

.set_survey_relevance table tbody > tr > td,
.set_survey_relevance table thead > tr > th {
  vertical-align: middle;
}

.set_survey_relevance table thead > tr > th {
  text-align: center;
}

.set_survey_relevance table thead > tr > th:first-child {
  text-align: left;
}

.set_survey_relevance table tbody > tr > td.level-1 {
  padding-left: 1em;
}

.set_survey_relevance table tbody > tr > td.level-2 {
  padding-left: 3em;
}

.set_survey_relevance table tbody > tr > td.level-3 {
  padding-left: 6em;
}

.set_survey_relevance table tbody > tr > td.level-4 {
  padding-left: 9em;
}

.rows-toggler {
  margin-bottom: 2em;
}

/* Search input rendered from dataTables package */
.dataTables_wrapper input[type="search"]{
  height: 34px !important;
  padding: 6px 12px !important;
  font-size: 14px;
  line-height: 1.42857143;
  color:#555;
  background-color:#fff;
  background-image: none;
  border: 1px solid#ccc;
  border-radius: 4px;
}

.warning {
  color: #ffc107;
  margin-left: 10px;
}

.mb-1 {
  margin-bottom: 0.6em;
}

.relavance-textarea {
  width: 100% !important;
}

.dhs-buttons {
  text-align: right;
}
