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

  /*.table-bordered > thead > tr > th {
    border: 0px solid #dadada;
  }
  .table-bordered > thead > tr > td {
    border: 0px solid #dadada;
  }
  
  .table-bordered > tr {
    border: 0px solid #dadada;
  }*/

.table > :not(:first-child) {
  border-top: 0px solid;
}

.table-bordered > :not(caption) > * {
  border-width: 0px 0;
}

.table-bordered > :not(caption) > * > * {
  border-width: 0 0px;
}

.table-bordered {
    background-color : white;
}

.row > *
{
  padding-left: 0px;
  padding-right: 0px;
}

.table > :not(caption) > * > *{
    padding-left: 1.1rem;
}
  
.question-title-container {
    padding-left: 1.1rem;
    background-color: #015c92;
    color: white;
}

.ls-answers {
    padding-left: 1.1rem;
    
}

div.row {
    margin-left : 0px;
}

/** Survey background **/

html, .bip_theme_v3, #dynamicReloadContainer {
    background-color: #f6f6f6;
}

/** Survey font size **/

.body, .question-text {
    font-size: 15px;
}

/** Header logo **/

.logo-container > img {
    padding: 15px 15px 0px 15px;
}

.logo-container {
    font-size: 15px;
}

.logo-text {
    margin-left:10px;
}

/** Progress bar **/

.progress-bar {
    background-color: #37a1df;
}

/** Navbar (in header) **/

.navbar-default {
    background-image: none;
    background-color: #37a1df;
}

/** Question header background **/

.bg-primary {
    background-color: #015c92;
    padding-bottom: 15px;
}

/** Language selector **/

#lang {
    font-weight: normal;
    font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
}

#fp-lang-selector.control-label {
    display:none;
}

/** Font styles **/

h1.survey-name, .text-primary, #lang, .control-label, .group-title {
    color: #2c3e50!important;
}

.h3 {
    font-size: 26px;
}

.text-primary {
    font-size: 15px;
}

/** Survey name and welcome page **/

.survey-welcome {
    line-height: 1.42;
}

h1.survey-name {
    font-size: 39px;
    margin-top: 1.1em;
    margin-bottom: 1.5em;
    padding-right:15px;
}

@media only screen and (min-width:768px) {
	.ipil-survey-name {
		display: inline-block;
		padding-left: 55px;
		font-size: 19px;
	}
}

.nav-link {
    color: white;
}

.nav-link:hover {
    color: #2c3e50;
}

.nav-link:visited {
    color: white;
}
    
/** Width of any kind of form element, especially drop-down list  **/

.form-inline .form-control {
    width: 100%;
}

/** Button styles **/

*.btn.btn-info.ls-language-changer-item {
    padding-top: 7px;
    padding-bottom: 7px;
}

.btn {
    /*font-size: 15px;*/
    padding-top: 18px;
    padding-left: 27px;
    padding-bottom: 18px;
    padding-right: 27px;
    color:white;
    background-color:#37a1df;
    border-color: #37a1df;
}

.btn:hover {
    background-color: #015c92;
    border-color: #015c92;
    color:white;
}

.btn-info {
    background-image:none;
    background-color:#37a1df;
    border-color: #37a1df;
}

.btn-info:hover {
    background-color: #015c92;
    border-color: #015c92;
    color:white;
}

.btn-primary {
    color: #ffffff;
    background-image: none;
    background-color: #37a1df;
    border-color: #37a1df;
}

.btn-primary:hover {
  color: #ffffff;
  background-color: #015c92;
  border-color: #015c92;
}

.btn-default {
    background-image:none;
    /*color: #ffffff;
    background-color: #95a5a6;*/
    border-color: #95a5a6;
}

.ls-icon::before {
    display: none;
}

/** Questions **/

div > #vmsg_147 {
    display:none;
}

.ls-question-message {
    color: #015c92;
}

/** Warning text for mandatory questions **/

.text-danger, .has-error .control-label {
    color: #e74c3c;
}

.text-danger {
    padding-right: 5px;
}

/** Array question styles **/

.table-bordered,
.table-bordered > thead > tr > th, 
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tbody > tr > td
/*.table > thead > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td*/ {
    border-style: none;
}

.table-bordered > tbody > tr {
    border-top: 0px solid #dddddd;
}

.ls-answers tbody .answertext  {
    text-align: left;
    font-weight: bold;
}

.ls-even {
    background-color: #f6f6f6;
}

/** Main container **/

.space-col {
    margin-bottom: 1em;
}

/** Non regression following LS update to 5.3.21 version **/

.navbar-brand {
    height:auto;
    padding: 19.5px 15px;
    line-height:1;
}

.logo-container {
    padding: 0px;
    float: left;
    line-height: 20px;
}

.slider.slider-untouched .slider-handle {background-color: white; }
.slider-handle.custom::before { color: #e6332a;}

.btn-check .btn-primary:focus, .btn-check:focus + .btn-primary
{
  background-color: #015c92!important;
}

.btn-check:active + .btn-primary, .btn-check:checked + .btn-primary, .btn-primary.active, .btn-primary:active, .show > .btn-primary.dropdown-toggle
{
  background-color: #015c92!important;
  border-color: #015c92!important;
  color: #fff;
}

.btn-check:focus + .btn-primary, .btn-primary:focus, .btn-primary:hover
{
  background-color: #015c92!important;
  border-color: #015c92!important;
  
}

.form-select{
    font-family: var(--bs-body-font-family)!important;
}

