/******************
    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;
}
#outerframeContainer {
	margin-bottom: 45px;
    float: none;
    clear: both;
}
.outerframe .header-wrapper {
  display: none;
}
#dynamicReloadContainer {
	padding: 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: #003366;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #003366;
  text-decoration: underline;
}

/* Navbar */
.header-wrapper {
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 30px;
}
.header-wrapper > .container {
  padding: 25px 15px 0 15px;
}
.navbar-toggle {
	float: none;
  margin-right: 0;
}
.navbar-collapse {
	padding: 0;
}
.navbar {
	min-height: 0;
	margin: 0;
	text-align: center;
}
.navbar-header {
  margin-bottom: 15px;
  padding-top: 25px !important;
}
.navbar-brand {
  padding: 0;
  min-height: initial;
}
h1.surveyname {
  text-align: left;
  font-weight: 600;
  height: auto;
  line-height: 130%;
  font-size: 24px;
  margin: 0;
}
@media only screen and (max-width: 768px) {
  .logo-wrapper,
  h1.surveyname {
    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-left: 0;
}
.navbar-logo-right {
  padding-right: 0;
  text-align: right;
}
.logo-bar {
  margin-top: 25px;
}
.logo-container>img {
  padding: 0;
}
img.logo {
  width: 146px;
  height: auto;
  display: inline-block;
}
@media only screen and (max-width: 768px) {
	.navbar-collapse {
		padding: 0 15px;
	}
  .navbar-logo-left {
    padding: 0;
    text-align: center;
  }
  .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;
}
.progress {
  border-radius: 0;
  background-color: #f0f0f0;
  margin-bottom: 0;
}
.progress-bar {
  background-color: #003366;
}

/* Welcome Page */
.text-info {
  color: #333;
}
.survey-welcome {
  margin-top: 15px;
}
.question-count-text {
  margin-top: 15px;
}

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

/* Group layout */
.group-outer-container {
	display: block;
}
.group-title {
  text-align: left;
  font-weight: normal;
  color: #809ab3;
  text-align: left;
  font-size: 140%;
  margin-top: 0;
  margin-bottom: 15px;
}
.group-description {
  margin-top: 7px;
}

/* Question layout */
.question-number, .question-code {
	float: none;
	margin: 0;
}
.question-container {
    background-color: #fff;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding-bottom: 0;
    border-radius: 4px;
    padding: 15px;
}
.question-title-container {
    background-color: transparent;
    color: #333;
    font-weight: 600;
    font-size: 130%;
    padding: 0;
}
.question-valid-container {
  padding-left: 0;
  padding-right: 0;
  font-style: italic;
  font-size: 100%;
}
.answer-container {
  padding: 0;
}
.question-number,
.question-code {
  font-weight: normal;
}
.ls-even {
	background-color: #e5edf3;
}
.ls-answers tbody .answertext {
  text-align: left;
}
.table-hover > tbody > tr:hover {
    background-color: #809ab3;
    color: #fff;
}
@media only screen and (max-width: 768px) {
  .table-hover > tbody > tr:hover {
      background-color: #e5edf3;
      color: #333;
  }  
}
.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;
}
.question-help-container {
  font-size: 90%;
  padding: 0;
  margin-top: 10px;
  color: #888;
}
.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;
}

/* Navigator */
#navigator-container {
  margin-bottom: 15px;
  padding-bottom: 0;
  margin-top: 30px;
}
.btn {
  border-radius: 0;
  font-size: 110%;
  border-radius: 4px;
}
a.btn-primary {
  color: #fff;
}
.btn-primary {
  color: #ffffff;
  background-color: #003366;
  border-color: #003366;
}
.btn-primary:hover {
  color: #ffffff;
  background-color: #003366;
  border-color: #003366; 
}
.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: #003366;
  border-color: #003366;
}
.input-group-addon.btn-primary {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

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

/* Radios and checkboxes */

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


/* Ranking question */
.sortable-choice {
  padding: 5px;
}
.sortable-choice .ls-choice.sortable-item {
  background-color: #003366;
  border: 1px solid #003366;
  margin-bottom: 5px;
  color: #FFF;
}
.sortable-rank {
  padding: 5px;
}
.sortable-rank .ls-choice.sortable-item {
  background-color: #003366;
  border: 1px solid #003366;
  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: #003366;
  border-color: #003366;
  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: #003366;
  border-color: #003366;
  border: 2px solid #FFF;
}

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

/* Slider question */
.slider-handle {
    background-color: #003366;
    background-image: -webkit-linear-gradient(top, #00468b 0%, #003366 100%);
    background-image: -o-linear-gradient(top, #00468b 0%, #003366 100%);
    background-image: linear-gradient(to bottom, #00468b 0%, #003366 100%);
}
.tooltip-inner {
  background-color: #333;
}
.tooltip.top .tooltip-arrow {
     border-top-color: #333;
}

/* Print Page */
.url-wrapper-survey-print {
  margin: 10px 0;
}

/* Footer */
footer .copyright {
	text-align: center;
	margin-top: 15px;
  font-size: 13px;
}


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

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


 /* Hide Asterisk */
 .asterisk {
  display: none;
 }

 /* Datepicker */

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