/******************
    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
*/

/* General Layout */
body {
  font-family: "Source Sans Pro", sans-serif !important;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background-color: #FFF;
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}
#outerwrapper {
  margin-top: 0px;
  margin-bottom: 10px;
  float: none;
  clear: both;
  background-color: #FFF;
}
#outerwrapper #outerwrapper,
#outerwrapper #outerwrapper .container {
  padding: 0;
  width: auto;
}
#outerframeContainer {
  padding: 0;
  width: auto;
}
#dynamicReloadContainer {
	padding: 0;
}
@media only screen and (max-width: 768px) {
  #outerwrapper {
    margin-top: 0;
    margin-bottom: 0;
  }  
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    /*width: 970px;*/
    width: 998px;
  }
}
@media (min-width: 1200px) {
  .container {
    /*width: 1170px;*/
    width: 998px;
  }
}
hr {
  margin: 10px 0;
}
a,
a:link {
  color: #003f60;
  text-decoration: underline;
}
a:hover,
a:focus {
  color: #003f60;
  text-decoration: none;
}
img {
    max-width: 100%;
}

/* Navbar */
.header-wrapper {
  margin-bottom: 30px;
  background-color: #ededed;
}
.section-indicator {
  background-color: #f69b2d;
  width: 33.33333%;
  height: 20px;
}
.navbar-toggle {
	float: none;
  margin-right: 0;
}
.navbar-collapse {
	padding: 0;
}
.navbar {
	min-height: 0;
	margin: 0;
	text-align: center;
}
.navbar-header {
  float: none !important;
  padding: 15px 0;
}
.navbar-brand {
  padding: 0;
  min-height: initial;
}
h1.surveyname {
  text-align: left;
  font-weight: 400;
  height: auto;
  line-height: 130%;
  font-size: 22px;
  margin: 0;
  font-family: Georgia,"Times New Roman",Times,sans-serif;
  color: #003f60;
  padding-left: 15px;
}
@media only screen and (max-width: 768px) {
  .logo-wrapper,
  h1.surveyname {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 15px;
    padding-left: 0;
  }
  .section-indicator {
    display: none;
  }
  .header-wrapper {
    margin-bottom: 15px;
  }
}
.navbar-nav {
	float: none;
}
.navbar-default {
	background-color: transparent;
	border: none;
}
.navbar-action-link {
	padding: 0;
}
.navbar-collapse.in {
	overflow-y: visible;
}
.navbar-item-left {
	text-align: left;
	padding-left: 0;
}
.navbar-item-middle {
	text-align: center;
}
.navbar-item-right {
	text-align: right;
	padding-right: 0;
}
.navbar-logo-left {
  padding: 0;
}
.navbar-logo-middle {
  text-align: center;
  padding-right: 0;
}
.navbar-logo-right {
  padding-right: 0;
  text-align: right;
}
.logo-bar {
  margin-top: 0;
  padding: 20px 0;
}
img.logo-left {
  width: 80px;
  height: auto;
}

@media only screen and (max-width: 768px) {
	.navbar-collapse {
		padding: 0 15px;
	}
  .navbar-logo-left {
    padding: 0;
    text-align: center;
  }
  .navbar-logo-middle {
    text-align: center;
    padding: 0;
  }
  .navbar-logo-right {
    text-align: center;
    padding: 0;
    margin-top: 15px;
  }
  .navbar-item-left {
    text-align: center;
    margin: 6px 0;
    padding: 0;
  }
  .navbar-item-middle {
    text-align: center;
    margin: 6px 0;
    padding: 0;
  }
  .navbar-item-right {
    text-align: center;
    margin: 6px 0;
    padding: 0;
  }
}

/* Language Changer */
.language-wrapper {
  margin: 15px 0;
  text-align: right;
}

/* Progress bar */
.progress-wrapper {
  padding: 0 0 20px 0;
}
.progress {
  background-color: #fff;
  margin-bottom: 0;
  box-shadow: none;
  border-radius: 0;
}
.progress-bar {
  background-color: #004260;
  font-weight: 700;
}

/* Welcome Page */
.text-info {
  color: #fff;
}
.survey-welcome {
  margin-top: 15px;
 /* font-weight: 700; */
  font-size: 18px;
  text-align: left;
}
.question-count-text {
  margin-top: 15px;
}

.welcomecontainer{
  /* font-weight: 700; */
  font-size: 18px;
}



.completed-text,
.survey-description
{
    font-size: 18px;
}

/* Privacy */
.privacy {
  margin-top: 15px;
  padding: 15px 0;
  margin: 15px 1px;
  border: 1px solid #f5f5f5;
  background-color: #f5f5f5;
}
p.ls-privacy-body {
  margin: 15px 0 0 0;
  font-style: italic;
}

/* Group layout */
.group-outer-container {
	display: block;
}
.group-title {
  text-align: center;
  font-weight: normal;
  font-size: 140%;
  margin-top: 0;
  margin-bottom: 0px;
  font-weight: 700;
  background-color: #f69b2d;
  padding: 10px;
}
.group-description {
  margin-top: 0;
  text-align: left;
  font-weight: 700;
  font-size: 120%;
  background-color: #f69b2d;
  padding: 10px;
}

/* Question layout */
.question-number, .question-code {
	float: none;
	margin: 0;
  color: #FFF;
}
.question-container {
    background-color: #fff;
    margin-bottom: 15px;
    margin-top: 15px;
    padding-bottom: 15px;
    border: none;
    box-shadow: 0 0 3px rgba(0,0,0,0.25);
}
.input-error.question-container {
    border: none;
}
.question-title-container {
    padding: 8px 15px;
    background-color: #004260;
    color: #fff;
    margin-bottom: 15px;
}
.question-text {
  font-weight: 700;
  font-size: 120%;
}
.question-valid-container {
  padding-left: 0;
  padding-right: 0;
  font-style: italic;
  font-size: 100%;
}
.question-number,
.question-code {
  font-weight: normal;
}
.ls-answers tbody .answertext {
  text-align: left;
}
tr.ls-odd,
.array-flexible-column tr.answers-list:nth-child(even) {
  background-color: #f5f5f5;
}
.table-hover > tbody > tr:hover,
tr.answers-list:hover,
.array-flexible-column tr.answers-list:hover {
    background-color: #ddd;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
  border: 0;
  padding: 4px 8px;
}
.table-bordered {
  border: 0;
}
.asterisk {
  margin-right: 5px;
  font-size: 90% !important;
  vertical-align: top;
}
.asterisk small {
  font-size: 90% !important;
  vertical-align: top;  
}
.input-error .asterisk {
  font-size: 90% !important;
  margin-top: 0;  
}
.question-help-container {
  font-size: 90%;
  margin-top: 10px;
  color: #003f60;
}
.ls-questionhelp:before{/*content:"\f059"*/}

.numeric-multi input.numeric,
.multiple-short-txt input.form-control,
.multiple-short-txt textarea.form-control {
  margin-bottom: 15px;
}
.ls-input-group-extra {
  vertical-align: top;
  padding: 1rem 1.2rem;
}
.array-flexible-row .ls-answers .answertextright {
  text-align: right;
}

/* Navigator */
#navigator-container {
  margin-bottom: 15px;
  padding-bottom: 0;
  margin-top: 30px;
}
.btn {
  border-radius: 0;
  font-size: 110%;
  border-radius: 0px;
  font-weight: 700;
}
a.btn {
  text-decoration: none;
}
a.btn-default {
  color: #333;
  font-weight: 400;
}
a.btn-primary {
  color: #fff;
}
.btn-primary {
  color: #ffffff;
  background-color: #004260;
  border-color: #004260;
}
.btn-primary:hover {
  color: #ffffff;
  background-color: #00344c;
  border-color: #00344c; 
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
  color: #ffffff;
  background-color: #00344c;
  border-color: #00344c;
}
.input-group-addon.btn-primary {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.btn-default {
    border-color: #adadad;
}

/* Radios and checkboxes */

/* radio buttons */
.radio-item label::before {
  border: 1px solid #aaa;
  background-color: #FFF;
}
.radio-item label::after {
  background-color: #f69b2d;
}
/* checkboxes */
.checkbox-item label::before {
  border: 1px solid #aaa;
  background-color: #FFF;
}
.checkbox-item label::after {
  color: #f69b2d;
  background-color: transparent;
}


/* Ranking question */
.sortable-choice {
  padding: 5px;
}
.sortable-choice .ls-choice.sortable-item {
  background-color: #f5f5f5;
  border: 1px solid #f5f5f5;
  margin-bottom: 5px;
}
.sortable-rank {
  padding: 5px;
}
.sortable-rank .ls-choice.sortable-item {
  background-color: #f69b2d;
  border: 1px solid #f69b2d;
  margin-bottom: 5px;
  color: #fff;
}

/* Gender question */
.gender-button .btn-primary {
  color: #333;
  background-color: #eee;
  border-color: #eee;
  border: 2px solid #FFF;
}
.gender-button .btn-primary:hover,
.gender-button .btn-primary:focus,
.gender-button .btn-primary.active,
.gender-button .btn-primary.active:hover,
.gender-button .btn-primary.active:focus {
  color: #FFF;
  background-color: #f69b2d;
  border-color: #f69b2d;
  border: 2px solid #fff;
}

/* Yes No question */
.yes-no .btn-primary {
  color: #333;
  background-color: #eee;
  border-color: #eee;
  border: 2px solid #FFF;
}
.yes-no .btn-primary:hover,
.yes-no .btn-primary:focus,
.yes-no .btn-primary.active,
.yes-no .btn-primary.active:hover,
.yes-no .btn-primary.active:focus {
  color: #FFF;
  background-color: #f69b2d;
  border-color: #f69b2d;
  border: 2px solid #FFF;
}

/* 5pt choice */
.choice-5-pt-radio li.radio-item {
  margin-right: 15px;
}

/* Slider question */
.slider-handle {
    background-color: #f69b2d;
    background-image: -webkit-linear-gradient(top, #f69b2d 0%, #d8841e 100%);
    background-image: -o-linear-gradient(top, #f69b2d 0%, #d8841e 100%);
    background-image: linear-gradient(to bottom, #f69b2d 0%, #d8841e 100%);
}
.tooltip-inner {
  background-color: #004260;
}
.tooltip.top .tooltip-arrow {
     border-top-color: #004260;
}
.slider-selection {
    background-image: -webkit-linear-gradient(top, #eee 0%, #ccc 100%);
    background-image: -o-linear-gradient(top, #eee 0%, #ccc 100%);
    background-image: linear-gradient(to bottom, #eee 0%, #ccc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eee', endColorstr='#ccc', GradientType=0);
}

/* Print Page */
.url-wrapper-survey-print {
  margin: 15px 0;
}
.question-container-printanswers {
  border-bottom: 1px solid #ccc;
}

/* Footer */
footer .copyright {
	text-align: center;
  margin: 20px 0;
  font-size: 90%;
  display: none;
}


div.yes-no .btn-group label,
.gender .btn-group label {
    padding-top: 10px;
}

.completed-wrapper {
  margin-bottom: 45px;
  min-height: 200px;
 }

 /* Datepicker */

 .datepicker .active,
 .datepicker .today {
  background-color: #004260 !important;
  background: #004260 !important;
  color: #FFF !important;
 }

/* Index */
.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
  background-color: #004260;
  color: #FFF;
  text-decoration: none;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  background-color: #eee;
}
.dropdown-menu > li > a {
  text-decoration: none;
}

/* Fix array alignment */
td.answer-item.radio-item {
    vertical-align: middle;
}


/* Vertical alignment */
.vertical-align {
  display: flex;
  flex-direction: row;
}

.vertical-align .navbar-logo-left,
.vertical-align .navbar-brand,
.vertical-align .navbar-logo-middle {
  display: flex;
  align-items: center;
}
@media only screen and (max-width: 768px) {
  .vertical-align {
    display: block;
  }
  .vertical-align .navbar-logo-left,
  .vertical-align .navbar-brand,
  .vertical-align .navbar-logo-middle {
    display: block;
  }
}

.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline, .has-error.radio label, .has-error.checkbox label, .has-error.radio-inline label, .has-error.checkbox-inline label,
.text-danger {
  color: #F44336; 
}

#outerwrapper #outerframeContainer .header-wrapper {
  display: none;
}

/* Hide exit survey button */
.navbar-item-right {
    display: none;
}



/* 20.09.2018: Special CSS for text display questions */
.boilerplate {
    padding: 0;
    background-color: #f5f5f5;
}
.boilerplate .question-title-container {
    background-color: #f5f5f5;
    color: #333;
}
.boilerplate .question-text {
    font-weight: 400;
}
.boilerplate .question-number,
.boilerplate .question-code {
    color: #333;
    
}