/******************
    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: 'Noto Sans', sans-serif !important;
  font-size: 16px;
  line-height: 1.42857143;
  /*color: #373f47;*/
  color: #fff;
  font-weight: 400;
  background-color: #03437D;
  /*background: url(https://assets.aboutkidshealth.ca/AKHAssets/Site_BG.png) repeat;*/
  margin: 0 !important;
  padding: 0 !important;
}
.col-sm-6{
    width:100%;
}
h3{
    font-size:2rem;
}
.question-title-container h3{
    margin-bottom:0px;
}
.container{
    padding-left:5px;
    padding-right:5px;
}
.script-container{
    height:0px;
}
.row{
    margin-right: -5px;
    margin-left: -5px;
}
a > img{
    outline:none;
}
#outerwrapper {
  /*margin-top: 40px;*/
  float: none;
  clear: both;
  /*background-color: #FFF;*/
  background-color: #03437D;
  /*border-top: 4px solid #7ca51a;*/
  /*margin-bottom: 40px;*/
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
#outerwrapper #outerwrapper,
#outerwrapper #outerwrapper .container {
  padding: 0;
  width: auto;
}
#outerframeContainer {
  padding: 0 25px;
  width: auto;
  hyphens:manual;
}
#outerframeContainer #outerwrapper {
  border: 0;
}
#dynamicReloadContainer {
	padding: 0;
}
.btn-info{
    background-color: #31b0d5;
    border-color: #03437D;
    color:#444444;
}
.btn-info:hover{color:#444444;}
.form-change-lang{
    text-align:right;
}
.form-change-lang button{
    font-size:100%;
}
.form-change-lang .control-label{
    display:none;
}
.form-change-lang label{
    margin-bottom:0;
    vertical-align:middle;
}
#lang{
    height:36px;
    font-size:1em;
}
@media only screen and (max-width: 768px) {
  #outerwrapper {
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 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: 0;
  border-color: #ddd;
}
a,
a:link {
  color: #396276;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #396276;
  text-decoration: underline;
}
img {
    max-width: 100%;
}

/* Navbar */
.header-wrapper {
  margin-bottom: 0;
}
.navbar-toggle {
	float: none;
  margin-right: 0;
}
.navbar-collapse {
	padding: 0;
}
#navbar {
  padding: 15px;
  position:absolute;
  bottom:0;
  border-top: 1px solid #ddd;
}
.navbar {
	min-height: 0;
	margin: 0;
	text-align: center;
}
.navbar-header {
  float: none !important;
  padding: 15px 0;
}
.navbar-brand {
  padding: 15px 0;
  min-height: initial;
  /*height: auto;*/
  height:200px;
  /*text-align: center;*/
  padding: 10px 15px;
  background-color: #0064B2;
  width: 100%;
  background-image: url(https://assets.aboutkidshealth.ca/akhassets/home_page_hero.jpg?renditionid=24);
  background-size: cover;
  background-position-y: center;
  display:flex;
}
h1.surveyname {
  /*text-align: center;*/
  height: auto;
  margin: auto 0;
  /*font-weight: 400 !important;*/
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  color: #fafafa;
  width:50%;
}
.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-middle {
  padding-right: 0;
  text-align: center;
}
.navbar-logo-right {
  padding-right: 0;
  text-align: right;
}
.logo-bar {
  margin-top: 0;
  padding: 25px 0;
   display:none;
}
.logo-bar img{
    max-height:50px;
}



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

/* Progress bar */
.progress-wrapper {
  margin: 15px 0;
  padding: 0 30px;
}
.progress {
  background-color: #f0f0f0;
  margin-bottom: 0;
  height:25px;
  border: 2px solid #fff;
}
.progress-bar {
  /*background-color: #64a0c8;*/
  /*background-color: #337ab7;*/
  background-color: #31b0d5;
  line-height:25px !important;
  font-size:16px !important;
  color:#444444;
  font-weight:600;
}

/* Welcome Page */
.text-info {
  color: #fff;
}
.welcome-container{padding-bottom:20px;}
.survey-welcome {
  margin: 30px 0;
}
.survey-welcome p{
    color: #fff;
    /*font-weight: 400;*/
    font-size: 2rem;
    padding:0 25px;
}
.question-count-text {
  margin-top: 15px;
  padding-left: 25px;
  color:#fff;
}

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

/* Bottom Area */
.bottom-area {
  /*border-top: 1px solid #ddd;
  background-color: #f8f8f8;*/
  bottom: 0;
  left:0;
    position: absolute;
    margin: auto;
    width: 100%;
    /*margin-left: -30px;*/
}
#akh-bottom{
  display: none;
  /*border-top: 1px solid #ddd;
  background-color: #f8f8f8;*/
}

/* Group layout */
.group-outer-container {
	display: block;
}

.group-title {
  text-align: center;
  font-weight: normal;
  margin-top: 0;
  margin-bottom: 15px;
  color: #396276;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
}
.group-description {
  margin-top: 0;
  text-align: center;
}

/* Question layout */
.question-number, .question-code {
	float: none;
	margin: 0;
}
.question-container {
    margin-bottom: 30px;
    padding-bottom: 15px;
    /*background-color: #FFFFFF;*/
    background-color: #03437D;
    /*border: 1px solid #dfded5 !important;*/
    border-radius: 5px;
}
.input-error.question-container {
    border: 1px solid #a94442;
}
.question-title-container {
    padding: 8px 15px 0px 15px;
    background-color: transparent;
    color: #fff;
}
.question-text {
    background-color: transparent;
    color: #fff;
    font-size: 17px;
}
.question-valid-container {
  padding-left: 0;
  padding-right: 0;
  font-style: italic;
  font-size: 100%;
}
.question-number,
.question-code {
  font-weight: normal;
}
.answer-container {
  color: #fff;
}
.ls-answers tbody .answertext {
  text-align: left;
}
tr.ls-odd,
.array-flexible-column tr.answers-list:nth-child(even) {
  background-color: #30404c;
  color:#fff;
  padding:4px 0;
}
.table-hover > tbody > tr:hover,
tr.answers-list:hover,
.array-flexible-column tr.answers-list:hover {
    background-color: unset !important;
    color: #FFF !important;
}
.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;
}
tr.answers-list:nth-child(odd),
.array-multi-flexi .ls-even,
.array-multi-flexi-text .ls-even {
  /*background-color: #fff;*/
}
.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: #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;
}
.array-flexible-row .ls-answers .answertextright {
  text-align: right;
}
.ls-answers{
    padding-bottom:0px;
}

/* Navigator */
#navigator-container {
  margin-bottom: 15px;
  padding-bottom: 0;
  margin-top: 15px;
}
.navigator .text-right,
.navigator .text-left {
  padding: 5px;
}
.btn {
  border-radius: 0;
  font-size: 110%;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 700;
}
a.btn-primary,
a.btn {
  color: #444;
}
.btn-primary {
  color: #444444;
  border: 1px solid #d3d3d3;
  background: #f5f5f5;
  background: -moz-linear-gradient(top, #f5f5f5 0%, #e1e1e1 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e1e1e1));
  background: -webkit-linear-gradient(top, #f5f5f5 0%,#e1e1e1 100%);
  background: -o-linear-gradient(top, #f5f5f5 0%,#e1e1e1 100%);
  background: -ms-linear-gradient(top, #f5f5f5 0%,#e1e1e1 100%);
  background: linear-gradient(to bottom, #f5f5f5 0%,#e1e1e1 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e1e1e1',GradientType=0 );
  padding: 0.8em 1.4em;
  min-width: 120px;
}
.btn-primary:hover {
  color: #444444;
  background: #c7c7c7;
  border-color: #c7c7c7;
}
.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: #444444;
  background: #c7c7c7;
  border-color: #c7c7c7;
}
.input-group-addon.btn-primary {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 6px 12px;
  min-width: 10px !important;
  width: 50px !important;
}
.btn-default {
  color: #fff;
  border: 1px solid #fff;
  background: #03437D;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#55cae5', endColorstr='#55cae5',GradientType=0 );
  padding: 0.8em 1.4em;
  min-width: 120px;
}
.btn-default:hover,
.btn-defaulty:focus,
.btn-default:active {
  color: #fff;
  background: #5598cc;
  border-color: #5598cc;
}


#ls-button-submit.btn-primary {
  color: #444444;
  border: 1px solid #d3d3d3;
  background: #03437D;
  background: -moz-linear-gradient(top, #f5f5f5 0%, #e1e1e1 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e1e1e1));
  background: -webkit-linear-gradient(top, #f5f5f5 0%,#e1e1e1 100%);
  background: -o-linear-gradient(top, #f5f5f5 0%,#e1e1e1 100%);
  background: -ms-linear-gradient(top, #f5f5f5 0%,#e1e1e1 100%);
  background: linear-gradient(to bottom, #f5f5f5 0%,#e1e1e1 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e1e1e1',GradientType=0 );
  padding: 0.8em 1.4em;
  min-width: 120px;
}
#ls-button-submit.btn-primary{
  color: #444444;
  background: #c7c7c7;
  border-color: #c7c7c7;
}

/* Radios and checkboxes */

/* radio buttons */
.radio-item label::before {
  border: 1px solid #aaa;
  background-color: #FFF;
}
.radio-item label::after {
  background-color: #396276;
}
/* checkboxes */
.checkbox-item label::before {
  border: 1px solid #aaa;
  background-color: #FFF;
}
.checkbox-item label::after {
  color: #396276;
  background-color: transparent;
  width: 17px;
  height: 17px;
  left: 0px;
  top: 0px;
  font-size: 12px;
}


/* Ranking question */
.sortable-choice {
  padding: 5px;
}
.sortable-choice .ls-choice.sortable-item {
  background-color: #fff;
  border: 1px solid #c5c5c5;
  margin-bottom: 5px;
}
.sortable-rank {
  padding: 5px;
}
.sortable-rank .ls-choice.sortable-item {
  background-color: #7ca51a;
  border: 1px solid #779a23;
  margin-bottom: 5px;
  color: #fff;
}

/* Gender question */
.gender-button .btn-primary {
  color: #fff;
  background-color: #eee;
  border-color: #faf9f1;
  border: 2px solid #faf9f1;
}
.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: #7ca51a;
  border-color: #faf9f1;
  border: 2px solid #faf9f1;
}

/* Yes No question */
.yes-no .btn-primary {
  color: #333;
  background-color: #eee;
  border-color: #faf9f1;
  border: 2px solid #faf9f1;
}
.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: #7ca51a;
  border-color: #faf9f1;
  border: 2px solid #faf9f1;
}

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

/* Slider question */
.slider-track {
  background-image: none;
  background-color: #FFF;
}
.slider-handle {
    background-color: #97c42c;
    background-image: -webkit-linear-gradient(top, #97c42c 0%, #7ca51a 100%);
    background-image: -o-linear-gradient(top, #97c42c 0%, #7ca51a 100%);
    background-image: linear-gradient(to bottom, #97c42c 0%, #7ca51a 100%);
}
.tooltip-inner {
  background-color: #444;
}
.tooltip.top .tooltip-arrow {
     border-top-color: #444;
}
.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 {
  /*border-top: 1px solid #ddd;*/
  background-color: #f8f8f8;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
footer a,
footer a:link {
    color: #888;
    text-decoration: none;
}
footer a:hover,
footer a:active,
footer a:focus {
    color: #888;
    border-bottom: 1px solid #888;
}
footer .copyright {
	text-align: center;
  padding: 30px 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;
  line-height:2.5;
 }

 /* Datepicker */

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

/* Index */
.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
  background-color: #f0f0f0;
  color: #fff;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  background-color: #7ca51a;
  color: #FFF;
}

/* Startpage */
.survey-list-heading,
.survey-list,
.survey-contact {
  text-align: center;
}
#surveys-list-container {
  background-color: #fff;
  padding: 45px 0;
}

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

/* 2018-12-02 Marcel: Fix captcha width */
.captcha-image
{
    width: auto;
}

.radio-item label {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-left: 25px;}
.text-item{margin-bottom:5px;}
@media only screen and (min-width: 600px) {
    .ls-answers tr{display:table-row;column-count:2;}
}
@media only screen and (max-width: 800px) {
    .ls-answers{padding-top:5px;}
    .navbar-brand{height:75px;}
    .navbar-brand .surveyname{width:75%; font-size:24px;}
    li.radio-item, li.checkbox-item, li.radio-text-item, li.checkbox-text-item{margin-bottom:0;}
    .question-container{padding-bottom:0;}
    .question-text{font-size:15px;}
}

@media only screen and (max-width: 600px) {
	body{
	    line-height:1.3;
	}
	.bottom-area button{
	    padding:0.7em 0.7em !important;
	}
	.navbar-brand{
	    height:60px;
	}
	h1.surveyname{
	    font-size:18px;
	    width:55%;
	}
	.radio-list li{
	    margin-right:0;
	}
	li.radio-item{
	    margin-bottom:0.5em;
	}
	.progress-wrapper{
	    margin: 15px 0 0 0;
	    padding:0 30px;
	}
	.question-container{
	    padding-bottom:10px;
	    border:0 !important;
	}
	.ls-answers > tbody > tr > td.radio-item, .ls-answers > tbody > tr > td.checkbox-item{
	    min-height:32px;
	    padding-top:0px;
	}
	#navigator-container{
	    margin-bottom:8px;
	}
	.navbar-collapse {
		padding: 0 15px;
	}
  .navbar-logo-left {
    padding: 0;
    text-align: center;
  }
  .navbar-logo-middle {
    text-align: center;
    padding: 0;
    margin-top: 15px;
  }
  .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;
  }
  .survey-welcome p{font-size:1.75rem;}
  .form-change-lang{text-align:left;}
  .form-change-lang label{display:block;}
  .form-change-lang button{font-size:85%;white-space:normal;margin-top:5px;}
}
@media only screen and (max-width: 400px) {
    .navbar-brand{background-image:unset;}
    .navbar-brand .surveyname{font-size:16px;}
    #outerframeContainer{padding:0;}
    .survey-welcome p{font-size:0.9em;}
    .table-array-radio label{padding-left:30px;}
    .table-array-radio.ls-answers{column-count:2;column-gap:30px;}
    .table-array-radio.ls-answers td.radio-item, .ls-answers td.checkbox-item{padding:6px!important;}
    .table-array-radio .dir-ltr .ls-answers td.radio-item, .dir-ltr .ls-answers td.checkbox-item{height:40px;}
    .table-array-radio.ls-answers label::before{margin-left:0px !important;}
    .table-array-radio.ls-answers label::after{margin-left:0px !important;}
}