/* Minification failed. Returning unminified contents.
(7968,24): run-time error CSS1030: Expected identifier, found '.'
(7968,37): run-time error CSS1031: Expected selector, found ')'
(7968,37): run-time error CSS1025: Expected comma or open brace, found ')'
 */
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

/* TODO: cleanup unused tags */

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  max-width: 100%;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
a {
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
hr {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}

.clearfix:before,
.clearfix:after,
.container:before,
.container:after,
.container-fluid:before,
.container-fluid:after,
.row:before,
.row:after,
.form-horizontal .form-group:before,
.form-horizontal .form-group:after {
    content: " ";
    display: table;
}

.clearfix:after,
.container:after,
.container-fluid:after,
.row:after,
.form-horizontal .form-group:after {
    clear: both;
}

.clear-flex {
    flex-basis: 100%;
}

.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.hide {
    display: none !important;
}

.show {
    display: block !important;
}

.invisible {
    visibility: hidden;
}

.text-hide {
    font: 0/0 a;
    color: transparent !important;
    text-shadow: none;
    background-color: transparent !important;
    border: 0;
}

.text-centre {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-noleading {
    line-height: 1;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.nav {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.nav-table {
    display: table;
}

.nav-table-full {
    width: 100%;
}

@media (min-width: 768px) {

    .nav-table-full {
        width: auto;
    }

}

.nav-table > li {
    display: table-cell;
    position: relative;
}

.nav-table > li {
    padding-left: 3px;
}

    .nav-table > li:first-child {
        padding-left: 0;
    }

.nav-table-full .btn {
    width: 100%;
}

.nav-horizontal li {
    display: inline-block;
}

.nav-vertical a {
    display: block;
    padding: 4px 0;
}

@media (min-width: 992px) {

    .nav-vertical a {
        padding: 2px 0;
    }

    .text-right-md {
        text-align: right;
    }

}

.nav-checklist li {
    position: relative;
    padding: 2px 0 2px 20px;
}

    .nav-checklist li:before {
        content: '\2713';
        position: absolute;
        left: 0;
    }

    .nav-checklist-light li:before {
        font-weight: bold;
        color: #ccc;
    }

.ib {
    display: inline-block;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 5px !important;
}

.mt-2 {
    margin-top: 10px !important;
}

.mt-3 {
    margin-top: 15px !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 5px !important;
}

.mb-2 {
    margin-bottom: 10px !important;
}

.mb-3 {
    margin-bottom: 15px !important;
}

small {
    display: inline-block;
}

.nowrap {
    white-space: nowrap;
}

.break-word {
    -ms-word-break: break-word;
    word-break: break-word;
}
input,
button,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

fieldset {
    padding: 0;
    margin: 0;
    border: 0;
    min-width: 0;
}

legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 21px;
    line-height: inherit;
    color: #333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="search"] {
    box-sizing: border-box;
}

input[type="radio"],
input[type="checkbox"] {
    margin: 4px 0 0;
    margin-top: 1px \9;
    line-height: normal;
}

input[type="file"] {
    display: block;
}

input[type="range"] {
    display: block;
    width: 100%;
}

select[multiple],
select[size] {
    height: auto;
}

input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

output {
    display: block;
    padding-top: 7px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    /*border-radius: 4px;*/
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

    .form-control:focus {
        border-color: #34aee0;
        outline: 0;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(52, 174, 224, 0.6);
    }

    .form-control::-moz-placeholder {
        color: #999;
        opacity: 1;
    }

    .form-control:-ms-input-placeholder {
        color: #999;
    }

    .form-control::-webkit-input-placeholder {
        color: #999;
    }

    .form-control[disabled],
    .form-control[readonly] {
        cursor: not-allowed;
        background-color: #eeeeee;
        opacity: 1;
    }

textarea.form-control {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: none;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    input[type="month"] {
        line-height: 34px;
    }

        input[type="date"].input-sm,
        input[type="time"].input-sm,
        input[type="datetime-local"].input-sm,
        input[type="month"].input-sm,
        .input-group-sm input[type="date"],
        .input-group-sm input[type="time"],
        .input-group-sm input[type="datetime-local"],
        .input-group-sm input[type="month"] {
            line-height: 30px;
        }

        input[type="date"].input-lg,
        input[type="time"].input-lg,
        input[type="datetime-local"].input-lg,
        input[type="month"].input-lg,
        .input-group-lg input[type="date"],
        .input-group-lg input[type="time"],
        .input-group-lg input[type="datetime-local"],
        .input-group-lg input[type="month"] {
            line-height: 46px;
        }
}

.form-group {
    margin-bottom: 15px;
}

.form-group-tight {
    margin-bottom: 8px;
}

.radio,
.checkbox {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

    .radio label,
    .checkbox label {
        min-height: 20px;
        padding-left: 20px;
        margin-bottom: 0;
        font-weight: normal;
        cursor: pointer;
    }

    .radio input[type="radio"],
    .radio-inline input[type="radio"],
    .checkbox input[type="checkbox"],
    .checkbox-inline input[type="checkbox"] {
        position: absolute;
        margin-left: -20px;
        margin-top: 4px \9;
    }

    .radio + .radio,
    .checkbox + .checkbox {
        margin-top: -5px;
    }

.radio-inline,
.checkbox-inline {
    display: inline-block;
    padding-left: 20px;
    margin-bottom: 0;
    vertical-align: middle;
    font-weight: normal;
    cursor: pointer;
}

    .radio-inline + .radio-inline,
    .checkbox-inline + .checkbox-inline {
        margin-top: 0;
        margin-left: 10px;
    }

input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"].disabled,
input[type="checkbox"].disabled {
    cursor: not-allowed;
}

.radio-inline.disabled,
.checkbox-inline.disabled {
    cursor: not-allowed;
}

.radio.disabled label,
.checkbox.disabled label {
    cursor: not-allowed;
}

.form-control-static {
    padding-top: 7px;
    padding-bottom: 7px;
    margin-bottom: 0;
}

    .form-control-static.input-lg,
    .form-control-static.input-sm {
        padding-left: 0;
        padding-right: 0;
    }

.input-sm {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    /*border-radius: 3px;*/
}

select.input-sm {
    height: 30px;
    line-height: 30px;
}

textarea.input-sm,
select[multiple].input-sm {
    height: auto;
}

.form-group-sm .form-control {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    /*border-radius: 3px;*/
}

select.form-group-sm .form-control {
    height: 30px;
    line-height: 30px;
}

textarea.form-group-sm .form-control,
select[multiple].form-group-sm .form-control {
    height: auto;
}

.form-group-sm .form-control-static {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}

.input-lg {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333;
    /*border-radius: 6px;*/
}

select.input-lg {
    height: 46px;
    line-height: 46px;
}

textarea.input-lg,
select[multiple].input-lg {
    height: auto;
}

.form-group-lg .form-control {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333;
    /*border-radius: 6px;*/
}

select.form-group-lg .form-control {
    height: 46px;
    line-height: 46px;
}

textarea.form-group-lg .form-control,
select[multiple].form-group-lg .form-control {
    height: auto;
}

.form-group-lg .form-control-static {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333;
}

.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #737373;
}

@media (min-width: 768px) {
    .form-inline .form-group {
        display: inline-block;
        margin-bottom: 0;
        vertical-align: middle;
    }

    .form-inline .form-control {
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }

    .form-inline .form-control-static {
        display: inline-block;
    }

    .form-inline .input-group {
        display: inline-table;
        vertical-align: middle;
    }

        .form-inline .input-group .input-group-addon,
        .form-inline .input-group .input-group-btn,
        .form-inline .input-group .form-control {
            width: auto;
        }

        .form-inline .input-group > .form-control {
            width: 100%;
        }

    .form-inline .control-label {
        margin-bottom: 0;
        vertical-align: middle;
    }

    .form-inline .radio,
    .form-inline .checkbox {
        display: inline-block;
        margin-top: 0;
        margin-bottom: 0;
        vertical-align: middle;
    }

        .form-inline .radio label,
        .form-inline .checkbox label {
            padding-left: 0;
        }

        .form-inline .radio input[type="radio"],
        .form-inline .checkbox input[type="checkbox"] {
            position: relative;
            margin-left: 0;
        }
}

.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 7px;
}

.form-horizontal .radio,
.form-horizontal .checkbox {
    min-height: 27px;
}

.form-horizontal .form-group {
    margin-left: -15px;
    margin-right: -15px;
}

.form-horizontal .form-inline .form-group {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        text-align: right;
        margin-bottom: 0;
        padding-top: 7px;
    }

    .form-horizontal .form-group-lg .control-label {
        padding-top: 14.333px;
    }

    .form-horizontal .form-group-sm .control-label {
        padding-top: 6px;
    }
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    user-select: none;
}

    .btn:focus,
    .btn:active:focus,
    .btn.active:focus,
    .btn.focus,
    .btn:active.focus,
    .btn.active.focus {
        outline: thin dotted;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }

    .btn:hover,
    .btn:focus,
    .btn.focus {
        color: #333;
        text-decoration: none;
    }

    .btn:active,
    .btn.active {
        outline: 0;
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    }

    .btn.disabled,
    .btn[disabled] {
        cursor: not-allowed;
        pointer-events: none;
        opacity: 0.5;
        filter: alpha(opacity=50);
        box-shadow: none;
    }

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

    .btn-default:hover,
    .btn-default:focus,
    .btn-default.focus,
    .btn-default:active,
    .btn-default.active {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

    .btn-default .badge {
        color: #fff;
        background-color: #333;
    }

.btn-muted,
.btn-muted:hover,
.btn-muted:focus,
.btn-muted.focus,
.btn-muted:active,
.btn-muted.active {
    color: #333;
    background-color: #e8e8e8;
    border-color: #e8e8e8;
}

.btn-primary {
    color: #fff;
    background-color: #1665a8;
    border-color: #2e6da4;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary.focus,
    .btn-primary:active,
    .btn-primary.active {
        color: #fff;
        background-color: #286090;
        border-color: #204d74;
    }

    .btn-primary .badge {
        color: #1665a8;
        background-color: #fff;
    }

.btn-warning {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

    .btn-warning:hover,
    .btn-warning:focus,
    .btn-warning.focus,
    .btn-warning:active,
    .btn-warning.active {
        color: #fff;
        background-color: #ec971f;
        border-color: #d58512;
    }

    .btn-warning .badge {
        color: #f0ad4e;
        background-color: #fff;
    }

.btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

    .btn-danger:hover,
    .btn-danger:focus,
    .btn-danger.focus,
    .btn-danger:active,
    .btn-danger.active {
        color: #fff;
        background-color: #c9302c;
        border-color: #ac2925;
    }

    .btn-danger .badge {
        color: #d9534f;
        background-color: #fff;
    }

.btn-cta {
    color: #fff !important;
    background-color: #ff7600;
    border-color: #ff7600;
}

    .btn-cta:hover,
    .btn-cta:focus,
    .btn-cta.focus,
    .btn-cta:active,
    .btn-cta.active {
        color: #fff;
        background-color: #f26900;
        border-color: #f26900;
    }

.btn-lg {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333;
    border-radius: 5px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 2px;
}

.btn-block {
    display: block;
    width: 100%;
}

    .btn-block + .btn-block {
        margin-top: 5px;
    }

input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
    width: 100%;
}


.btn-link {
    color: inherit;
    font-weight: normal;
    border-radius: 0;
    text-decoration: underline;
}

    .btn-link,
    .btn-link:active,
    .btn-link.active,
    .btn-link[disabled],
    fieldset[disabled] .btn-link {
        background-color: transparent;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

        .btn-link:hover,
        .btn-link:focus,
        .btn-link:active {
            color: inherit;
            background-color: transparent;
            border-color: transparent;
        }


/* validation */
.validation-summary-errors, .alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 2px;
    position: relative;
}

    .alert.mb-0 {
        margin-bottom: 0;
    }

.validation-summary-errors, .alert-danger, .field-validation-error {
    color: #4d030e;
    background-color: #f5c9cf;
}

    .validation-summary-errors > span {
        font-weight: bold;
    }

.input-validation-error {
    border: 1px solid #ebccd1;
}

.field-validation-error {
    display: block;
    padding: 3px 6px;
}

/* legends that look like labels */
.legend-plain {
    border: none;
    font-size: inherit;
    font-weight: bold;
    margin: 0;
}

.legend-plain-title {
    font-size: 117%;
    margin: 10px 0;
}

.legend-label {
    margin-top: 7px;
}

.legend-label-stacked {
    margin-bottom: 7px;
}

@media (min-width: 992px) {
    .form-horizontal .legend-label {
        text-align: right;
    }
}

/* alerts */

.alert {
    padding-left: 50px;
    border-radius: 4px;
}

.alert-lg {
    padding-left: 60px;
    border-radius: 6px;
}

.alert-toast {
    position: fixed;
    z-index: 99999;
    bottom: 2%;
    left: 2%;
    display: inline-block;
    max-width: 96%;
    padding-right: 30px;
    box-shadow: 0 0 20px 0 rgba(0,0,0,.22);
}

    .alert-toast .close {
        font-size: 28px;
        background: none;
        border: none;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        position: absolute;
        /*top: -3px;
        right: 2px;*/
        opacity: 0.6;
        right: 7px;
        top: 50%;
        margin-top: -14px;
    }

.alert:before {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    line-height: 20px;
    text-align: center;
    display: inline-block;
    font-size: 12px;
    position: absolute;
    left: 15px;
    top: 50%;
    margin-top: -10px;
}

.alert-lg:before {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 20px;
    margin-top: -15px;
}

.alert .btn-link {
    padding: 0;
    border: none;
    vertical-align: inherit;
}

.alert-info {
    color: #0f3759;
    background-color: #bde0ff;
}

.alert:before {
    font-family: monospace;
    font-weight: bold;
}

.alert-info:before {
    content: 'i';
    background: #3a8fd8;
    color: #cce7ff;
}

.alert-success {
    color: #1d5944;
    background: #baf5e0;
}

    .alert-success:before {
        content: '\2713';
        color: #bff5e2;
        background: #36a67e;
    }

.alert-warning {
    color: #4d2d00;
    background: #ffdfb3;
}

    .alert-warning:before {
        content: '!';
        color: #ffdfb3;
        background: #ed9721;
    }

.alert-danger:before {
    content: '!';
    color: #f5c9cf;
    background: #ba2139;
}

.alert .alert-link {
    font-weight: bold;
    text-decoration: underline;
}

.alert-info .alert-link {
    color: #0f3759;
}

.alert-success .alert-link {
    color: #1d5944;
}

.alert-warning .alert-link {
    color: #4d2d00;
}

.alert-danger .alert-link, .field-validation-error a {
    color: #4d030e;
}

/* progress */

.progress {
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    transition: width .6s ease;
}

    .progress.active .progress-bar,
    .progress-bar.active {
        animation: progress-bar-stripes 2s linear infinite;
    }

.progress-bar-success {
    background-color: #5cb85c;
}

.progress-bar-info {
    background-color: #5bc0de;
}

.progress-bar-warning {
    background-color: #f0ad4e;
}

.progress-bar-danger {
    background-color: #d9534f;
}

/* text */
.text-success {
    color: #3c763d;
}

.text-danger {
    color: #a94442;
}

/* misc */

.form-inline-nested {
    margin-top: 8px;
}

    .form-inline-nested .form-group {
        margin: 0;
        display: inline-block;
    }

.label-plain {
    font-weight: normal;
}

.form-inline .input-short {
    width: 65px;
}

@media (min-width: 420px) {
    .form-inline .input-short {
        width: 100px;
    }
}

.btngroup .btn {
    margin-top: 4px;
}


.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

    .input-group[class*="col-"] {
        float: none;
        padding-right: 0;
        padding-left: 0;
    }

    .input-group .form-control {
        position: relative;
        z-index: 2;
        float: left;
        width: 100%;
        margin-bottom: 0;
    }

.input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}

.input-group-addon,
.input-group-btn,
.input-group .form-control {
    display: table-cell;
}

    .input-group-addon:not(:first-child):not(:last-child),
    .input-group-btn:not(:first-child):not(:last-child),
    .input-group .form-control:not(:first-child):not(:last-child) {
        border-radius: 0;
    }

.input-group-addon,
.input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

    .input-group-addon input[type="radio"],
    .input-group-addon input[type="checkbox"] {
        margin-top: 0;
    }

    .input-group .form-control:first-child,
    .input-group-addon:first-child,
    .input-group-btn:first-child > .btn,
    .input-group-btn:first-child > .btn-group > .btn,
    .input-group-btn:first-child > .dropdown-toggle,
    .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
    .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .input-group-addon:first-child {
        border-right: 0;
    }

    .input-group .form-control:last-child,
    .input-group-addon:last-child,
    .input-group-btn:last-child > .btn,
    .input-group-btn:last-child > .btn-group > .btn,
    .input-group-btn:last-child > .dropdown-toggle,
    .input-group-btn:first-child > .btn:not(:first-child),
    .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .input-group-addon:last-child {
        border-left: 0;
    }

.input-group-btn {
    position: relative;
    font-size: 0;
    white-space: nowrap;
}

    .input-group-btn > .btn {
        position: relative;
    }

        .input-group-btn > .btn + .btn {
            margin-left: -1px;
        }

        .input-group-btn > .btn:hover,
        .input-group-btn > .btn:focus,
        .input-group-btn > .btn:active {
            z-index: 2;
        }

    .input-group-btn:first-child > .btn,
    .input-group-btn:first-child > .btn-group {
        margin-right: -1px;
    }

    .input-group-btn:last-child > .btn,
    .input-group-btn:last-child > .btn-group {
        margin-left: -1px;
    }

@media (min-width: 768px) {


    .form-inline .input-group {
        display: inline-table;
        vertical-align: middle;
    }

        .form-inline .input-group .input-group-addon,
        .form-inline .input-group .input-group-btn,
        .form-inline .input-group .form-control {
            width: auto;
        }

        .form-inline .input-group > .form-control {
            width: 100%;
        }
}

/* button drop-down */

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid \9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.btn-dd {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e5e5e5;
    border: 1px solid rgba(0, 0, 0, .15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

    .btn-dd.btn-dd-right {
        left: auto;
        right: 0;
    }

    .btn-dd > li > a {
        display: block;
        padding: 3px 20px;
        color: #333;
        white-space: nowrap;
        text-decoration: none;
    }

.btn-filter {
    cursor: auto;
    border-radius: 3px;
    text-transform: none;
}

/* button arrow */

.btn-arrow {
    position: relative;
}

.btn-arrow-text {
    position: relative;
    z-index: 2;
}

.btn-arrow:before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 3px;
    right: 0;
    height: 100%;
    width: 50%;
    background: transparent;
    transform: skew(0deg, -10deg);
}

.btn-arrow:after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 3px;
    left: 0;
    height: 100%;
    width: 51%;
    background: transparent;
    transform: skew(0deg, 10deg);
}

.btn-arrow.btn-primary:before, .btn-arrow.btn-primary:after {
    background: #1665a8;
}

table {
    background-color: transparent;
}

caption {
    padding-top: 8px;
    padding-bottom: 8px;
    color: #777777;
    text-align: left;
}

th {
    text-align: left;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

    .table > thead > tr > th,
    .table > tbody > tr > th,
    .table > tfoot > tr > th,
    .table > thead > tr > td,
    .table > tbody > tr > td,
    .table > tfoot > tr > td {
        padding: 8px;
        line-height: 1.42857143;
        vertical-align: top;
        border-top: 1px solid #ededed;
    }

    .table > thead > tr > th {
        vertical-align: bottom;
        border-top: 3px solid #ededed !important;
        border-bottom: 3px solid #ededed;
    }

    .table > caption + thead > tr:first-child > th,
    .table > colgroup + thead > tr:first-child > th,
    .table > thead:first-child > tr:first-child > th,
    .table > caption + thead > tr:first-child > td,
    .table > colgroup + thead > tr:first-child > td,
    .table > thead:first-child > tr:first-child > td {
        border-top: 0;
    }

    .table > tbody + tbody {
        border-top: 3px solid #ededed;
    }

    .table .table {
        background-color: #ffffff;
    }

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
    padding: 5px;
}

.table-bordered {
    border: 1px solid #ededed;
}

    .table-bordered > thead > tr > th,
    .table-bordered > tbody > tr > th,
    .table-bordered > tfoot > tr > th,
    .table-bordered > thead > tr > td,
    .table-bordered > tbody > tr > td,
    .table-bordered > tfoot > tr > td {
        border: 1px solid #ededed;
    }

    .table-bordered > thead > tr > th,
    .table-bordered > thead > tr > td {
        border-bottom-width: 3px;
    }

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table-hover > tbody > tr:hover {
    background-color: #f5f5f5;
}

table col[class*="col-"] {
    position: static;
    float: none;
    display: table-column;
}

table td[class*="col-"],
table th[class*="col-"] {
    position: static;
    float: none;
    display: table-cell;
}

.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
    background-color: #f5f5f5;
}

.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover,
.table-hover > tbody > tr.active:hover > td,
.table-hover > tbody > tr:hover > .active,
.table-hover > tbody > tr.active:hover > th {
    background-color: #e8e8e8;
}

.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > thead > tr > th.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > thead > tr.success > td,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
    background-color: #dff0d8;
}

.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
.table-hover > tbody > tr.success:hover > td,
.table-hover > tbody > tr:hover > .success,
.table-hover > tbody > tr.success:hover > th {
    background-color: #d0e9c6;
}

.table > thead > tr > td.info,
.table > tbody > tr > td.info,
.table > tfoot > tr > td.info,
.table > thead > tr > th.info,
.table > tbody > tr > th.info,
.table > tfoot > tr > th.info,
.table > thead > tr.info > td,
.table > tbody > tr.info > td,
.table > tfoot > tr.info > td,
.table > thead > tr.info > th,
.table > tbody > tr.info > th,
.table > tfoot > tr.info > th {
    background-color: #d9edf7;
}

.table-hover > tbody > tr > td.info:hover,
.table-hover > tbody > tr > th.info:hover,
.table-hover > tbody > tr.info:hover > td,
.table-hover > tbody > tr:hover > .info,
.table-hover > tbody > tr.info:hover > th {
    background-color: #c4e3f3;
}

.table > thead > tr > td.warning,
.table > tbody > tr > td.warning,
.table > tfoot > tr > td.warning,
.table > thead > tr > th.warning,
.table > tbody > tr > th.warning,
.table > tfoot > tr > th.warning,
.table > thead > tr.warning > td,
.table > tbody > tr.warning > td,
.table > tfoot > tr.warning > td,
.table > thead > tr.warning > th,
.table > tbody > tr.warning > th,
.table > tfoot > tr.warning > th {
    background-color: #fcf8e3;
}

.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover,
.table-hover > tbody > tr.warning:hover > td,
.table-hover > tbody > tr:hover > .warning,
.table-hover > tbody > tr.warning:hover > th {
    background-color: #faf2cc;
}

.table > thead > tr > td.danger,
.table > tbody > tr > td.danger,
.table > tfoot > tr > td.danger,
.table > thead > tr > th.danger,
.table > tbody > tr > th.danger,
.table > tfoot > tr > th.danger,
.table > thead > tr.danger > td,
.table > tbody > tr.danger > td,
.table > tfoot > tr.danger > td,
.table > thead > tr.danger > th,
.table > tbody > tr.danger > th,
.table > tfoot > tr.danger > th {
    background-color: #f2dede;
}

.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover,
.table-hover > tbody > tr.danger:hover > td,
.table-hover > tbody > tr:hover > .danger,
.table-hover > tbody > tr.danger:hover > th {
    background-color: #ebcccc;
}

.table-responsive {
    overflow-x: auto;
    min-height: 0.01%;
}

@media screen and (max-width: 767px) {
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ededed;
  }
  .table-responsive > .table {
    margin-bottom: 0;
  }
  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
    white-space: nowrap;
  }
  .table-responsive > .table-bordered {
    border: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:first-child,
  .table-responsive > .table-bordered > tbody > tr > th:first-child,
  .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  .table-responsive > .table-bordered > thead > tr > td:first-child,
  .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .table-responsive > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:last-child,
  .table-responsive > .table-bordered > tbody > tr > th:last-child,
  .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  .table-responsive > .table-bordered > thead > tr > td:last-child,
  .table-responsive > .table-bordered > tbody > tr > td:last-child,
  .table-responsive > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
  }
  .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .table-responsive > .table-bordered > tfoot > tr:last-child > th,
  .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .table-responsive > .table-bordered > tfoot > tr:last-child > td {
    border-bottom: 0;
  }
}

.td-min-w {
    width: 1%;
    white-space: nowrap;
}

.td-max-w {
    width: 100%;    
}
/* responsive grid (bootstrap) */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    *:before,
    *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
    float: left;
}

.col-xs-12 {
    width: 100%;
}

.col-xs-11 {
    width: 91.66666667%;
}

.col-xs-10 {
    width: 83.33333333%;
}

.col-xs-9 {
    width: 75%;
}

.col-xs-8 {
    width: 66.66666667%;
}

.col-xs-7 {
    width: 58.33333333%;
}

.col-xs-6 {
    width: 50%;
}

.col-xs-5 {
    width: 41.66666667%;
}

.col-xs-4 {
    width: 33.33333333%;
}

.col-xs-3 {
    width: 25%;
}

.col-xs-2 {
    width: 16.66666667%;
}

.col-xs-1 {
    width: 8.33333333%;
}

.col-xs-pull-12 {
    right: 100%;
}

.col-xs-pull-11 {
    right: 91.66666667%;
}

.col-xs-pull-10 {
    right: 83.33333333%;
}

.col-xs-pull-9 {
    right: 75%;
}

.col-xs-pull-8 {
    right: 66.66666667%;
}

.col-xs-pull-7 {
    right: 58.33333333%;
}

.col-xs-pull-6 {
    right: 50%;
}

.col-xs-pull-5 {
    right: 41.66666667%;
}

.col-xs-pull-4 {
    right: 33.33333333%;
}

.col-xs-pull-3 {
    right: 25%;
}

.col-xs-pull-2 {
    right: 16.66666667%;
}

.col-xs-pull-1 {
    right: 8.33333333%;
}

.col-xs-pull-0 {
    right: auto;
}

.col-xs-push-12 {
    left: 100%;
}

.col-xs-push-11 {
    left: 91.66666667%;
}

.col-xs-push-10 {
    left: 83.33333333%;
}

.col-xs-push-9 {
    left: 75%;
}

.col-xs-push-8 {
    left: 66.66666667%;
}

.col-xs-push-7 {
    left: 58.33333333%;
}

.col-xs-push-6 {
    left: 50%;
}

.col-xs-push-5 {
    left: 41.66666667%;
}

.col-xs-push-4 {
    left: 33.33333333%;
}

.col-xs-push-3 {
    left: 25%;
}

.col-xs-push-2 {
    left: 16.66666667%;
}

.col-xs-push-1 {
    left: 8.33333333%;
}

.col-xs-push-0 {
    left: auto;
}

.col-xs-offset-12 {
    margin-left: 100%;
}

.col-xs-offset-11 {
    margin-left: 91.66666667%;
}

.col-xs-offset-10 {
    margin-left: 83.33333333%;
}

.col-xs-offset-9 {
    margin-left: 75%;
}

.col-xs-offset-8 {
    margin-left: 66.66666667%;
}

.col-xs-offset-7 {
    margin-left: 58.33333333%;
}

.col-xs-offset-6 {
    margin-left: 50%;
}

.col-xs-offset-5 {
    margin-left: 41.66666667%;
}

.col-xs-offset-4 {
    margin-left: 33.33333333%;
}

.col-xs-offset-3 {
    margin-left: 25%;
}

.col-xs-offset-2 {
    margin-left: 16.66666667%;
}

.col-xs-offset-1 {
    margin-left: 8.33333333%;
}

.col-xs-offset-0 {
    margin-left: 0%;
}

@media (min-width: 768px) {

    /* flexbox extensions */
    .row-sm-reverse {
        display: flex;
        flex-direction: row-reverse;
    }

    /* columns layout */
    .cols-sm-2 {
        columns: 2;
    }

    /* rest is bootstrap */
    .container {
        width: 750px;
    }
    
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: left;
    }

    .col-sm-12 {
        width: 100%;
    }

    .col-sm-11 {
        width: 91.66666667%;
    }

    .col-sm-10 {
        width: 83.33333333%;
    }

    .col-sm-9 {
        width: 75%;
    }

    .col-sm-8 {
        width: 66.66666667%;
    }

    .col-sm-7 {
        width: 58.33333333%;
    }

    .col-sm-6 {
        width: 50%;
    }

    .col-sm-5 {
        width: 41.66666667%;
    }

    .col-sm-4 {
        width: 33.33333333%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .col-sm-2 {
        width: 16.66666667%;
    }

    .col-sm-1 {
        width: 8.33333333%;
    }

    .col-sm-pull-12 {
        right: 100%;
    }

    .col-sm-pull-11 {
        right: 91.66666667%;
    }

    .col-sm-pull-10 {
        right: 83.33333333%;
    }

    .col-sm-pull-9 {
        right: 75%;
    }

    .col-sm-pull-8 {
        right: 66.66666667%;
    }

    .col-sm-pull-7 {
        right: 58.33333333%;
    }

    .col-sm-pull-6 {
        right: 50%;
    }

    .col-sm-pull-5 {
        right: 41.66666667%;
    }

    .col-sm-pull-4 {
        right: 33.33333333%;
    }

    .col-sm-pull-3 {
        right: 25%;
    }

    .col-sm-pull-2 {
        right: 16.66666667%;
    }

    .col-sm-pull-1 {
        right: 8.33333333%;
    }

    .col-sm-pull-0 {
        right: auto;
    }

    .col-sm-push-12 {
        left: 100%;
    }

    .col-sm-push-11 {
        left: 91.66666667%;
    }

    .col-sm-push-10 {
        left: 83.33333333%;
    }

    .col-sm-push-9 {
        left: 75%;
    }

    .col-sm-push-8 {
        left: 66.66666667%;
    }

    .col-sm-push-7 {
        left: 58.33333333%;
    }

    .col-sm-push-6 {
        left: 50%;
    }

    .col-sm-push-5 {
        left: 41.66666667%;
    }

    .col-sm-push-4 {
        left: 33.33333333%;
    }

    .col-sm-push-3 {
        left: 25%;
    }

    .col-sm-push-2 {
        left: 16.66666667%;
    }

    .col-sm-push-1 {
        left: 8.33333333%;
    }

    .col-sm-push-0 {
        left: auto;
    }

    .col-sm-offset-12 {
        margin-left: 100%;
    }

    .col-sm-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-sm-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-sm-offset-9 {
        margin-left: 75%;
    }

    .col-sm-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-sm-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-sm-offset-6 {
        margin-left: 50%;
    }

    .col-sm-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-sm-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-sm-offset-3 {
        margin-left: 25%;
    }

    .col-sm-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-sm-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-sm-offset-0 {
        margin-left: 0%;
    }
}

@media (min-width: 992px) {

    /* columns layout */
    .cols-md-2 {
        columns: 2;
    }

    /* rest is bootstrap */
    .container {
        width: 990px;
    }
    
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: left;
    }

    .col-md-12 {
        width: 100%;
    }

    .col-md-11 {
        width: 91.66666667%;
    }

    .col-md-10 {
        width: 83.33333333%;
    }

    .col-md-9 {
        width: 75%;
    }

    .col-md-8 {
        width: 66.66666667%;
    }

    .col-md-7 {
        width: 58.33333333%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-5 {
        width: 41.66666667%;
    }

    .col-md-4 {
        width: 33.33333333%;
    }

    .col-md-3 {
        width: 25%;
    }

    .col-md-2 {
        width: 16.66666667%;
    }

    .col-md-1 {
        width: 8.33333333%;
    }

    .col-md-pull-12 {
        right: 100%;
    }

    .col-md-pull-11 {
        right: 91.66666667%;
    }

    .col-md-pull-10 {
        right: 83.33333333%;
    }

    .col-md-pull-9 {
        right: 75%;
    }

    .col-md-pull-8 {
        right: 66.66666667%;
    }

    .col-md-pull-7 {
        right: 58.33333333%;
    }

    .col-md-pull-6 {
        right: 50%;
    }

    .col-md-pull-5 {
        right: 41.66666667%;
    }

    .col-md-pull-4 {
        right: 33.33333333%;
    }

    .col-md-pull-3 {
        right: 25%;
    }

    .col-md-pull-2 {
        right: 16.66666667%;
    }

    .col-md-pull-1 {
        right: 8.33333333%;
    }

    .col-md-pull-0 {
        right: auto;
    }

    .col-md-push-12 {
        left: 100%;
    }

    .col-md-push-11 {
        left: 91.66666667%;
    }

    .col-md-push-10 {
        left: 83.33333333%;
    }

    .col-md-push-9 {
        left: 75%;
    }

    .col-md-push-8 {
        left: 66.66666667%;
    }

    .col-md-push-7 {
        left: 58.33333333%;
    }

    .col-md-push-6 {
        left: 50%;
    }

    .col-md-push-5 {
        left: 41.66666667%;
    }

    .col-md-push-4 {
        left: 33.33333333%;
    }

    .col-md-push-3 {
        left: 25%;
    }

    .col-md-push-2 {
        left: 16.66666667%;
    }

    .col-md-push-1 {
        left: 8.33333333%;
    }

    .col-md-push-0 {
        left: auto;
    }

    .col-md-offset-12 {
        margin-left: 100%;
    }

    .col-md-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-md-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-md-offset-9 {
        margin-left: 75%;
    }

    .col-md-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-md-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-md-offset-6 {
        margin-left: 50%;
    }

    .col-md-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-md-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-md-offset-3 {
        margin-left: 25%;
    }

    .col-md-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-md-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-md-offset-0 {
        margin-left: 0%;
    }
}

/*@media (min-width: 1200px) {
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        float: left;
    }

    .col-lg-12 {
        width: 100%;
    }

    .col-lg-11 {
        width: 91.66666667%;
    }

    .col-lg-10 {
        width: 83.33333333%;
    }

    .col-lg-9 {
        width: 75%;
    }

    .col-lg-8 {
        width: 66.66666667%;
    }

    .col-lg-7 {
        width: 58.33333333%;
    }

    .col-lg-6 {
        width: 50%;
    }

    .col-lg-5 {
        width: 41.66666667%;
    }

    .col-lg-4 {
        width: 33.33333333%;
    }

    .col-lg-3 {
        width: 25%;
    }

    .col-lg-2 {
        width: 16.66666667%;
    }

    .col-lg-1 {
        width: 8.33333333%;
    }

    .col-lg-pull-12 {
        right: 100%;
    }

    .col-lg-pull-11 {
        right: 91.66666667%;
    }

    .col-lg-pull-10 {
        right: 83.33333333%;
    }

    .col-lg-pull-9 {
        right: 75%;
    }

    .col-lg-pull-8 {
        right: 66.66666667%;
    }

    .col-lg-pull-7 {
        right: 58.33333333%;
    }

    .col-lg-pull-6 {
        right: 50%;
    }

    .col-lg-pull-5 {
        right: 41.66666667%;
    }

    .col-lg-pull-4 {
        right: 33.33333333%;
    }

    .col-lg-pull-3 {
        right: 25%;
    }

    .col-lg-pull-2 {
        right: 16.66666667%;
    }

    .col-lg-pull-1 {
        right: 8.33333333%;
    }

    .col-lg-pull-0 {
        right: auto;
    }

    .col-lg-push-12 {
        left: 100%;
    }

    .col-lg-push-11 {
        left: 91.66666667%;
    }

    .col-lg-push-10 {
        left: 83.33333333%;
    }

    .col-lg-push-9 {
        left: 75%;
    }

    .col-lg-push-8 {
        left: 66.66666667%;
    }

    .col-lg-push-7 {
        left: 58.33333333%;
    }

    .col-lg-push-6 {
        left: 50%;
    }

    .col-lg-push-5 {
        left: 41.66666667%;
    }

    .col-lg-push-4 {
        left: 33.33333333%;
    }

    .col-lg-push-3 {
        left: 25%;
    }

    .col-lg-push-2 {
        left: 16.66666667%;
    }

    .col-lg-push-1 {
        left: 8.33333333%;
    }

    .col-lg-push-0 {
        left: auto;
    }

    .col-lg-offset-12 {
        margin-left: 100%;
    }

    .col-lg-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-lg-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-lg-offset-9 {
        margin-left: 75%;
    }

    .col-lg-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-lg-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-lg-offset-6 {
        margin-left: 50%;
    }

    .col-lg-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-lg-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-lg-offset-3 {
        margin-left: 25%;
    }

    .col-lg-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-lg-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-lg-offset-0 {
        margin-left: 0%;
    }
}*/

/* responsive utilities */
@-ms-viewport {
    width: device-width;
}

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
    display: none !important;
}

.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
    display: none !important;
}

@media (max-width: 375px) {
    .hidden-xxs {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .visible-xs {
        display: block !important;
    }

    table.visible-xs {
        display: table;
    }

    tr.visible-xs {
        display: table-row !important;
    }

    th.visible-xs,
    td.visible-xs {
        display: table-cell !important;
    }

    .visible-xs-block {
        display: block !important;
    }

    .visible-xs-inline {
        display: inline !important;
    }

    .visible-xs-inline-block {
        display: inline-block !important;
    }

    .hidden-xs {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .visible-sm {
        display: block !important;
    }

    table.visible-sm {
        display: table;
    }

    tr.visible-sm {
        display: table-row !important;
    }

    th.visible-sm,
    td.visible-sm {
        display: table-cell !important;
    }

    .visible-sm-block {
        display: block !important;
    }

    .visible-sm-inline {
        display: inline !important;
    }

    .visible-sm-inline-block {
        display: inline-block !important;
    }

    .hidden-sm {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .visible-md {
        display: block !important;
    }

    table.visible-md {
        display: table;
    }

    tr.visible-md {
        display: table-row !important;
    }

    th.visible-md,
    td.visible-md {
        display: table-cell !important;
    }

    .visible-md-block {
        display: block !important;
    }

    .visible-md-inline {
        display: inline !important;
    }

    .visible-md-inline-block {
        display: inline-block !important;
    }

    .hidden-md {
        display: none !important;
    }
}
html {
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 0.875em;
    line-height: 1.42857143;
    color: #333;
    background-color: #e8e8e8;
    overflow-x: hidden;
}

/* #region header */

header {
    background: #1665a8;
    position: fixed;
    z-index: 20;
    top: 0;
    width: 100%;
    padding: 0;
}

    header > .container {
        position: relative;
    }

.logo-container {
    height: 60px;
    display: inline-block;
    width: 60%;
    text-align: center;
    float: left;
}

    .logo-container:before {
        content: ' ';
        display: inline-block;
        vertical-align: middle;
        height: 100%;
    }

.logo {
    display: inline-block;
}

.navbt-container, .avatar-container {
    margin-top: 8px;
    width: 20%;
}

.navbt-container {
    float: left;
}

.avatar-container {
    float: right;
    text-align: right;
    position: relative;
}

.navbt {
    border: none;
    background-color: #1665a8;
    width: 44px;
    height: 44px;
    padding: 0 8px;
}

.navbt-burg i {
    display: block;
    background: #fff;
    height: 3px;
    margin: 5px 2px 0 2px;
}

    .navbt-burg i:first-child {
        margin-top: 0;
    }

.navbt-close {
    color: #fff;
    font-size: 44px;
    line-height: 44px;
}

.navbt-q {
    border: none;
    width: 40px;
    height: 40px;
    background: #fff;
}

    .navbt-q .ic {
        opacity: 0.35;
    }

    .navbt-q.hd-popup-triggered { /* search expanded */
        border: 1px solid #e8e8e8;
        border-bottom-color: #fff;
        position: relative;
        z-index: 10;
        opacity: 1;
    }

        .navbt-q.hd-popup-triggered .ic {
            display: none;
        }

        .navbt-q.hd-popup-triggered:after {
            content: '\00d7';
            font-size: 30px;
            line-height: 1;
            font-style: normal;
            opacity: 0.5;
        }

.btn-close {
    font-size: 44px;
    width: 44px;
    height: 44px;
    line-height: 1;
    padding: 0;
    color: #fff !important;
    background: transparent !important;
    border: none !important;
}

.alert-emergency {
    border-radius: 0;
}

    .alert-emergency a {
        text-decoration: none;
        font-size: 120%;
    }

header .avatar {
    vertical-align: middle;
    width: 40px;
    height: 40px;
    line-height: 40px;
}

header .avatar-img {
    border-color: transparent;
}

header .avatar.theme-bg {
    background: #fff;
    color: #1665a8;
}

#welcome {
    display: none;
}

@media (min-width: 992px) {
    header {
        box-shadow: 0 0 20px 0 rgba(0,0,0,.22);
    }

    .navbt-container {
        display: none;
    }

    .avatar-container {
        width: auto;
    }

        .avatar-container > a, .avatar-container > a:hover, .avatar-container > a:focus {
            color: #fff;
            text-decoration: none;
        }

    .logo-container {
        text-align: left;
        float: left;
        width: auto;
    }

    .staged .logo-container {
        height: 60px;
    }

    #welcome {
        font-size: 85%;
        display: inline-block;
        margin-right: 10px;
    }

    .search-container {
        position: relative;
        float: right;
    }

    .navbt-q {
        margin-left: 15px;
        position: relative;
    }

    .navbt-burg i {
        height: 2px;
    }

    .overlay .navbt-container {
        display: none;
    }
}

/* #endregion */

/* #region popup */

.popup {
    position: absolute;
    z-index: 9;
    text-align: left;
    box-shadow: 0 10px 34px 0 rgba(0,0,0,0.23);
    background: #fff;
    border: 1px solid #e8e8e8;
}

.popup-bubble:before {
    top: -10px;
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 10px solid #e8e8e8;
}

.popup-bubble:after {
    top: -8px;
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 8px solid #fff;
}

.popup-dark {
    background: #1665a8;
    border-color: #fff;
}

.popup-bubble.popup-dark:before {
    border-bottom-color: #fff;
}

.popup-bubble.popup-dark:after {
    border-bottom-color: #1665a8;
}

.popup-sep {
    border-top: 1px solid #fff;
    opacity: 0.3;
    margin-top: 3px;
    padding-bottom: 3px;
}

.popup li a, .popup-btn, .popup li a:hover, .popup li a:focus {
    display: block;
    padding: 8px;
    color: #333;
    text-decoration: none;
}

.popup-dark li a, .popup-dark .popup-btn, .popup-dark li a:hover, .popup-dark li a:focus {
    color: #fff;
}

.popup-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.popup-block {
    padding: 8px;
    border-bottom: 1px solid #ededed;
}

/* #endregion */

/* #region header popup */

.hd-popup-trigger:focus {
    outline: 0;
}

.hd-popup-triggered .caret,
.caret.opened {
    transform: rotate(180deg);
}

.hd-popup {
    right: -10px;
    width: 230px;
}

    .hd-popup.popup-bubble {
        top: 57px; /* 60px -8px margin + 8px spacing -3px tighten it up*/
    }

.hd-popup-h {
    width: 320px;
    padding: 8px;
    top: 39px; /* button is 39px */
}

.popup-bubble.hd-popup:before {
    top: -10px;
    right: 19px;
}

.popup-bubble.hd-popup:after {
    top: -8px;
    right: 21px;
}

.hd-popup li {
    text-align: left;
    display: block;
}

.hd-popup .ic {
    margin-right: 6px;
}

.search-select {
    font-size: 90%;
    position: relative;
}

    .search-select input[type=radio] {
        margin-top: 2px;
    }

    .search-select + .search-select {
        margin-left: 5px;
    }

@media (max-width: 991px) {

    .overlay .navbt-q {
        display: none;
    }

    .overlay #search {
        display: block !important;
        visibility: visible !important;
        position: static;
        width: 100%;
        padding: 20px;
        margin-bottom: 10px;
        border: none;
        border-bottom: 1px solid #e7e7e7;
        box-shadow: none;
    }
}

/* #endregion */

/* #region typography */

.title {
    font-weight: bold;
    font-family: 'Open Sans Bold', Arial, Helvetica, sans-serif;
    letter-spacing: -0.03em;
}

h2.title, h3.title {
    font-weight: normal;
}

.h1 {
    font-size: 2em;
}

.h2 {
    font-size: 1.5em;
}

.h3 {
    font-size: 1.17em;
}

a {
    color: #1665a8;
}

    a:hover,
    a:focus {
        color: #23527c;
    }

    a:focus {
        outline: thin dotted;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }

.text-huge {
    font-size: 400%;
}

.text-normal {
    font-weight: 400;
}

.text-muted {
    opacity: 0.8;
}

.link-bold {
    font-weight: bold;
    text-decoration: none;
}

.link-plain {
    text-decoration: none;
    color: inherit;
}

    .link-plain:hover {
        text-decoration: underline;
    }

    .link-plain .ic,
    .btn-link .ic {
        margin-right: 3px;
    }

.img-block {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* #endregion */

/* #region misc */

img {
    vertical-align: middle;
    border: 0;
    max-width: 100%;
}

.lazyimg {
    opacity: 0;
}

img.lazy-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
    height: auto;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #ededed;
}

    hr.thick {
        border-top-width: 3px;
    }

        hr.thick + hr.thick {
            margin-top: -23px; /* overlap previous */
        }

    hr.tight {
        margin-top: 10px;
        margin-bottom: 10px;
    }

.btn {
    text-decoration: none;
    position: relative;
    font-weight: 400;
}

.btn-link {
    text-decoration: underline;
}

.btn.loading:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: -1px;
    width: 16px;
    height: 4px;
    background: #fff;
    opacity: 0.6;
    animation-duration: 2s;
    animation-name: btloading;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.btn-ns {
    border: none;
}

    .btn-ns .ic {
        opacity: 0.7;
    }

@keyframes btloading {
    from {
        left: -1px;
        transform: translateX(0);
    }

    to {
        left: 100%;
        transform: translateX(-15px);
    }
}

.stacked {
    width: 100%;
    margin-bottom: 10px;
}

.fieldset-primary {
    background: #ededed;
    padding: 10px;
}

.ajaxtarget-loading {
    opacity: 0.6;
}

.hidden-mobile {
    display: none !important;
}

@media (min-width: 768px) {

    .stacked {
        margin-bottom: 0;
    }

    .hidden-mobile {
        display: block !important;
    }

    .visible-mobile {
        display: none !important;
    }
}

.visible-tablet {
    display: none !important;
}

@media (min-width: 768px) and (max-width: 991px) {
    .visible-tablet {
        display: block !important;
    }

    .hidden-tablet {
        display: none !important;
    }
}

.rounded {
    border-radius: 4px;
}

/*
this has not been enabled

.has-video {
    position: relative;
}

    .has-video:after {
        content: '';
        position: absolute;
        z-index: 1;
        bottom: 50%;
        left: 50%;
        margin: 0 0 -15px -15px;
        background: url(https://www.vmcdn.ca/files/ui/icons/play.svg) no-repeat center center;
        background-size: contain;
        width: 30px;
        height: 30px;
        filter: invert(1);
    }

*/

/* #endregion */

/*#region navigation */

.mainnav {
    display: none;
    background: #fff;
}

    .mainnav .container {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

.topnav .navitem {
    text-decoration: none;
    color: #333;
    display: block;
    padding-left: 20px;
    padding-right: 20px;
}

.topnav > li {
    border-top: 1px solid #f7f7f7;
    border-bottom: 1px solid #e7e7e7;
}

    .topnav > li > .navitem {
        font-size: 120%;
        line-height: 1.8;
        padding-top: 10px;
        padding-bottom: 10px;
        position: relative;
    }

.mainnav .subnav {
    display: none;
    padding: 10px 0;
}

    .mainnav .subnav .navitem {
        padding-top: 8px;
        padding-bottom: 8px;
    }

.topnav > .children > .navitem:after {
    display: inline-block;
    content: '';
    width: 13px;
    height: 13px;
    margin-left: 4px;
    border-right: 2px solid #333;
    border-top: 2px solid #333;
    transform: rotate(45deg);
    position: absolute;
    right: 20px;
    top: 20px;
}

.topnav > .children > .expanded:after {
    transform: rotate(135deg);
}

.subnav.show {
    background: #efefef;
}

.m-more {
    display: none;
}

    .m-more .navitem {
        color: #1665a8;
        font-weight: bold;
    }

@media (max-width: 991px) {

    .m-expanded + .subnav-container .subnav {
        display: block;
    }

    .m-expanded + .subnav-container .navitem {
        display: none;
    }

    .m-expanded + .subnav-container .m-expanded,
    .m-expanded + .subnav-container .m-more {
        display: list-item;
    }

        .m-expanded + .subnav-container .m-more .navitem {
            display: block;
        }

    .mainnav .subnav {
        columns: 2;
        list-style-position: inside;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
}

.topnav-minor {
    display: none;
}

    .topnav-minor .ic {
        margin-right: 4px;
    }

@media (min-width: 992px) {

    .mainnav {
        margin: 0;
        padding: 4px 0;
        display: block;
    }

        .mainnav .container {
            padding-left: 15px;
            padding-right: 15px;
            margin: 0 auto;
            width: 990px;
        }

        .mainnav .subnav {
            box-shadow: 0 10px 34px 0 rgba(0,0,0,0.23);
            display: none;
            position: absolute;
            background: #fff;
            border: 1px solid #e8e8e8;
            padding: 0;
            width: auto;
            overflow: visible;
            left: -1px;
            margin-top: -1px;
            z-index: 1;
            min-width: 200px;
        }

    .topnav {
        display: inline-block;
    }

        .topnav > li {
            border: none;
        }

    .navitem {
        text-decoration: none;
    }

    .mainnav .subnav li:hover {
        background-color: #ccc;
    }

    .mainnav .topnav > li {
        display: inline-block;
        position: relative;
        z-index: 2;
        border: 1px solid transparent;
        margin-left: 5px;
    }

        .mainnav .topnav > li:hover {
            border-color: #e8e8e8;
        }

    .mainnav .topnav .children:hover {
        border-bottom-color: #fff;
    }

    .topnav > li:before, .navbt-q:before {
        content: '';
        background: #ccc;
        width: 1px;
        height: 10px;
        display: inline-block;
        position: absolute;
        top: 15px;
        left: -5px;
    }

    #nav-home {
        display: inline-block;
        border-color: transparent;
    }

        #nav-home > .navitem {
            text-indent: 100%;
            white-space: nowrap;
            overflow: hidden;
            background: url('data:image/gif;base64,R0lGODlhDgAOAMQUAKenp1lZWcDAwFBQUObm5nh4eKCgoPLy8tXV1WdnZ97e3ry8vPv7+42Njbm5uaioqLCwsMfHx9LS0kxMTP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABQALAAAAAAOAA4AAAVJICWOwDOepzBNAnoiwzogLkUE6xoQ6JHkucRhxCgAgQWGqHE8NiiAZhOggEhzDgUlkjMsFoacRMRdjSkSMVmNZpcn57R5PW/PQwA7') no-repeat center center;
            width: 14px;
            height: 14px;
            display: inline-block;
            vertical-align: middle;
            margin-bottom: 4px;
            font: 0/0 a;
            color: transparent;
            text-shadow: none;
            background-color: transparent;
            border: 0;
        }

        #nav-home:before {
            display: none;
        }

    .mainnav .topnav > li > .navitem {
        display: inline-block;
        padding: 0 9px;
        font-size: 110%;
        line-height: 2.5;
        background: none;
        color: #333;
        border-bottom: 1px solid transparent;
    }

    .topnav > .children > .navitem:after {
        display: none;
    }

    .mainnav .topnav > li:hover > .navitem {
        border-bottom-color: #fff;
        background: #fff;
        position: relative;
        z-index: 3;
    }

    .mainnav .topnav > li:hover .subnav {
        display: block;
    }

    .mainnav .subnav > li {
        border-top: 1px solid #e8e8e8;
        padding: 2px 10px;
    }

        .mainnav .subnav > li:first-child {
            border-top: none;
        }

    .mainnav .subnav .navitem {
        display: block;
        white-space: nowrap;
        font-size: 110%;
        line-height: 1.6;
        padding: 0;
        color: #333;
    }

    .topnav-minor,
    .topnav-minor li {
        display: inline-block;
    }

        .topnav-minor a {
            color: #fff;
            font-size: 85%;
            display: inline-block;
        }

            .topnav-minor a:after {
                content: '|';
                font-weight: normal;
                color: #fff;
                line-height: 1;
                margin: 0 3px 0 6px;
            }
}

/* #endregion */

/* #region main body */

#body-container {
    position: relative;
    margin-top: 60px;
}

#leaderboard-container {
    position: relative;
    z-index: 2;
    padding: 20px 0;
    height: auto;
}

.body-title,
.cat-title h1.body-title {
    display: block;
    text-decoration: none;
    font-weight: normal;
    font-size: 200%;
    margin-top: 0;
    margin-bottom: 8px;
    color: #000;
    line-height: 1.1;
}

h2.body-title {
    font-size: 160%;
    margin-top: 15px;
}

#body {
    background: #fff;
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.22);
}

.body-padded {
    padding: 20px 0;
}

@media (max-width: 991px) {

    .overlay header, .overlay .mainnav {
        overflow: auto;
        height: 100%;
    }

    .overlay .mainnav {
        overflow: auto;
        height: calc(100% - 60px);
    }

    .overlay, .overlay body {
        overflow: hidden;
    }
}

#body h1 {
    margin-top: 0;
}

.nav-breadcrumb {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ededed;
    font-size: 85%;
    text-transform: uppercase;
}

.nav-breadcrumb-tight {
    margin-bottom: 0;
    border-bottom: none;
}

.nav-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.nav-breadcrumb li {
    margin-left: 6px;
}

    .nav-breadcrumb li:before {
        content: '>';
        margin-right: 6px;
    }

    .nav-breadcrumb li:first-child {
        margin-left: 0;
    }

        .nav-breadcrumb li:first-child:before {
            content: '';
            margin-right: 0;
        }

.nav-secondary {
    overflow-x: auto;
    width: 100%;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

    .nav-secondary::-webkit-scrollbar {
        display: none;
    }

    .nav-secondary li {
        position: relative;
    }

        .nav-secondary li:before {
            content: '|';
            position: absolute;
            right: -3px;
            bottom: 3px;
            color: #e8e8e8;
        }

        .nav-secondary li:last-child:before {
            display: none;
        }

    .nav-secondary a, .nav-secondary button {
        color: inherit;
        text-decoration: none;
        display: block;
        padding: 4px 10px;
        font-size: 95%;
        background: none;
        border: none;
    }

    .nav-secondary .ic {
        display: block;
        margin: 4px auto;
        filter: grayscale(1);
    }

    .nav-secondary .nav-on {
        font-weight: bold;
        color: #1665a8;
    }

.nav-on .ic {
    opacity: 1;
    filter: invert(37%) sepia(94%) saturate(7151%) hue-rotate(196deg) brightness(86%) contrast(83%); /* see: https://codepen.io/sosuke/pen/Pjoqqp */
}

@media (min-width: 992px) {

    #body-container {
        margin-top: 109px;
    }

    #body {
        min-height: 1200px;
    }

    .body-title,
    .cat-title h1.body-title {
        font-size: 260%;
    }

    h2.body-title {
        font-size: 200%;
    }

    .details-padded,
    .body-padded #tts {
        padding: 0 55px;
    }

    .body-padded {
        padding: 30px 110px;
    }

        .body-padded #gallery {
            max-width: 990px;
        }

        .body-padded #gallery-c,
        .body-padded .details-file {
            margin: 15px -125px !important;
        }

        .body-padded .figure-c {
            margin: 15px -180px !important;
        }

            .body-padded .figure-c .figure {
                width: 100%;
            }

            .body-padded .details-file img,
            .body-padded .figure-c img {
                width: 100%;
                display: inline-block;
            }

            .body-padded .details-file figcaption,
            .body-padded .figure-c figcaption {
                padding-left: 8px;
                padding-right: 8px;
            }

        .body-padded #galleryExpand {
            display: none !important;
        }

    /* allow for a 640px body by halfing the right gutter */
    section.col-md-8 {
        padding-right: 0;
    }
}

/* #endregion */

/* #region footer */

footer {
    background-color: #444;
    font-size: 90%;
    padding-bottom: 40px;
}

.ft-social {
    text-align: center;
    color: #fff;
    padding: 25px 0;
}

.nav-social-ft .ic {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

footer,
footer b,
.footer-title,
.nav-footer .navitem,
.nav-footer-nested > li > .navitem {
    color: #fff;
    text-decoration: none;
}

.footer-title, .nav-footer-nested > li > .navitem {
    font-weight: bold;
    font-size: 120%;
    margin: 0 0 5px 0;
}

.footer-title {
    margin-top: 20px;
}

.nav-footer-nested > li > .navitem {
    display: block;
}

.nav-footer-nested .subnav,
.nav-footer-nested .nav-0 {
    margin-bottom: 10px;
}

    .nav-footer-nested .nav-0.children {
        margin-bottom: 0;
        page-break-inside: avoid;
        break-inside: avoid;
    }

.nav-footer-nested {
    margin-top: 20px;
    column-count: 2;
    column-gap: 20px;
}

.nav-footer .subnav {
    background: none !important;
}

.ft-logo {
    margin: 20px 0;
    display: block;
    width: 135px;
}

@media (min-width: 400px) {

    .nav-social-ft .ic {
        width: 28px;
        height: 28px;
    }

    .nav-footer-nested {
        column-count: 3;
    }
}

@media (min-width: 768px) {

    footer {
        margin-top: 40px;
    }
}

/* #endregion */

/* #region components */

/* #region avatar */

.avatar, .avatar:hover, .avatar:active, .avatar:focus {
    display: inline-block;
    color: #fff;
    text-align: center;
    border-radius: 100%;
    text-decoration: none;
    position: relative;
}

.avatar-xs {
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 13px;
}

.avatar-sm {
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 20px;
}

.avatar-md {
    width: 62px;
    height: 62px;
    line-height: 62px;
    font-size: 28px;
}

.avatar-lg {
    width: 84px;
    height: 84px;
    line-height: 84px;
    font-size: 38px;
}

.avatar-xl {
    width: 120px;
    height: 120px;
    line-height: 120px;
    font-size: 50px;
}

.avatar-img {
    display: inline-block;
    border-radius: 100%;
    border: 1px solid #ededed;
    width: 100%;
    height: 100%;
}

.avatar-current {
    position: relative;
}

    .avatar-current:after {
        content: '';
        position: absolute;
        bottom: -1px;
        right: -1px;
        width: 10px;
        height: 10px;
        background: url(https://www.vmcdn.ca/files/ui/icons/edit.svg) no-repeat center center;
        background-size: cover;
    }

.avatar-unlogged {
    border: 1px solid #fff;
}

    .avatar-unlogged .ic {
        width: 18px;
        height: 18px;
        vertical-align: initial;
    }

.avatar-popup {
    width: 300px;
    padding: 8px;
}

    .avatar-popup:before {
        left: 10px;
    }

    .avatar-popup:after {
        left: 12px;
    }

.avatar-candle {
    background: #e8e8e8;
}

    .avatar-candle .ic {
        width: 20px;
        height: 20px;
        margin-bottom: 5px;
    }

/* #endregion */

/* #region sections */

.section-heading {
    line-height: 1;
    margin-top: 0;
    font-weight: normal;
    font-size: 100%;
    text-transform: uppercase;
}

.section-items-scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

    .section-items-scroll .card {
        margin-right: 5px;
    }

.section-heading + .section-items {
    margin-top: 10px;
}

    .section-heading + .section-items .section-img-l {
        margin-top: -10px;
    }

.section-item {
    text-decoration: none;
    display: block;
    padding-top: 8px;
    padding-bottom: 8px;
    color: #333;
}

    .section-item:hover {
        text-decoration: none;
    }

.section-item-compact {
    padding-top: 4px;
    padding-bottom: 4px;
}

.section-item-bordered, .section-tr-bordered .section-td {
    border-bottom: 1px solid #ededed;
}

.section-item:first-child {
    padding-top: 0;
}

.section-item-featured {
    border-width: 2px;
}

    .section-item-featured .section-title {
        font-weight: bold;
    }

.section-item-padded {
    padding-left: 8px;
    padding-right: 8px;
}

.section-item .ic-poll {
    margin-left: 3px;
}

.section-img-s {
    float: left;
    margin-right: 10px;
}

    .section-img-s img {
        max-width: 100px;
    }

.section-img-l {
    margin-bottom: 10px;
}

    .section-img-l img {
        width: 100%;
        height: auto;
    }

.section-title {
    font-size: 110%;
}

.section-time, .section-byline {
    font-size: 90%;
    color: #6f6f6f;
}

@media (min-width: 768px) {

    .section-title {
        font-size: 100%;
    }
}

.section-title-s {
    font-size: 90%;
    font-style: italic;
}

.section-title-m {
    font-size: 140%;
    line-height: 1.2;
}

.section-title-l {
    font-size: 220%;
    line-height: 1.1;
}

.section-detail {
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    margin: 10px 0;
    padding: 8px 0;
    font-size: 80%;
}

.section-ic {
    margin-left: 10px;
}

.section-intro {
    font-size: 90%;
}

.section-more {
    font-weight: bold;
    margin-left: 4px;
    white-space: nowrap;
}

.nav-section-more {
    margin-top: 20px;
}

    .nav-section-more a {
        text-decoration: none;
        text-transform: uppercase;
        font-size: 95%;
        display: block;
        line-height: 1.6;
    }

.section-wysiwyg > *:first-child {
    margin-top: 0;
}

/* #endregion */

/* #region cards */

.card {
    display: block;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    word-wrap: break-word;
    background: #fff;
    color: #333;
    text-decoration: none;
    margin-bottom: 20px;
    position: relative;
}

.card-trans {
    background: none;
}

.card-unbordered {
    border-color: transparent;
}

.card-capped {
    margin-top: 16px;
}

.card a {
    color: inherit;
    text-decoration: none;
}

.card-body-text a,
a.card-link-revert {
    color: #1665a8;
    text-decoration: underline;
}

.card .btn-primary {
    color: #fff;
}

.card:hover {
    color: inherit;
}

.card-img {
    width: 100%;
    height: auto;
    border-radius: 4px 4px 0 0;
}

.card-body-img {
    display: inline-block;
    margin: 0 auto;
}

.card-body {
    position: relative;
}

.card-header,
.card-body,
.card-footer {
    padding: 15px;
}

.card-badge {
    color: #fff;
    position: absolute;
    top: -12px;
    left: 15px;
    padding: 5px 10px;
    background: #333;
    border-radius: 4px;
}

    .card-badge.title {
        top: -15px;
    }

.card-cap {
    text-transform: uppercase;
    font-size: 11px;
    line-height: 19px;
    text-align: center;
    position: absolute;
    top: -17px;
    left: -1px;
    width: calc(100% + 2px);
    border-radius: 4px 4px 0 0;
}

.card-title {
    line-height: 1.2;
    display: block;
}

.card-text {
    font-size: 90%;
    display: block;
}

.card-list > li {
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: -1px;
    padding: 4px 15px;
}

.card-body + .card-list li {
    border-top: 1px solid #e8e8e8;
}

.card-link {
    color: inherit;
}

.card-header {
    border-bottom: 1px solid #e8e8e8;
    display: block;
}

.card-footer {
    border-top: 1px solid #e8e8e8;
    display: block;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}

.card-featured {
    background: #f5f5f5;
}

    .card-featured,
    .card-featured .card-list li,
    .card-featured .card-body + .card-list li,
    .card-featured .card-header,
    .card-featured .card-footer {
        border-color: #fff;
    }

.card .sc-total {
    font-size: 180%;
}

.card-list .card-snippet {
    margin: 5px 0;
}

.card-snippet {
    display: table;
    width: 100%;
}

.card-snippet-left, .card-snippet-body, .card-snippet-right {
    display: table-cell;
    vertical-align: top;
}

.card-snippet-left {
    width: 100px;
    padding-right: 15px;
}

.card-snippet-right {
    padding-left: 15px;
}

.interval.card-tier-selected label {
    font-weight: bold;
}

.card-tier-selected {
    border-color: transparent !important;
    transform: scale(1.05);
    z-index: 1;
}

.cards-grid-sm {
    display: flex;
    flex-flow: row wrap;
}

    .cards-grid-sm.cards-grid-3 .card,
    .cards-grid-sm.cards-grid-5 .card {
        width: 33.33%;
    }

    .cards-grid-sm.cards-grid-2 .card,
    .cards-grid-sm.cards-grid-4 .card {
        width: 50%;
    }

    .cards-grid-sm .card {
        word-wrap: normal;
    }

@media (min-width: 680px) {

    .card-block {
        width: 300px;
        max-width: 100%;
        float: left;
        margin-left: 10px;
        margin-right: 10px;
    }

    .cards-grid {
        display: flex;
        flex-flow: row wrap;
    }

        .cards-grid .card {
            display: flex;
            flex-direction: column;
            width: calc(50% - 21px); /* should be 20, but some browsers treat clearfix as child elements */
            flex-grow: 0;
            flex-shrink: 1;
        }

        .cards-grid .card-body {
            flex-grow: 1;
        }

        .cards-grid .card-footer {
            flex-shrink: 0;
        }

    .cards-grid-3 .card,
    .cards-grid-sm.cards-grid-3 .card {
        width: calc(33.33% - 21px);
    }

    .cards-grid-4 .card,
    .cards-grid-sm.cards-grid-4 .card {
        width: calc(25% - 21px);
    }

    .cards-grid-5 .card,
    .cards-grid-sm.cards-grid-5 .card {
        width: calc(20% - 21px);
    }

    .cards-tiers .card-body {
        flex-grow: 0;
    }

    .cards-tiers .card-footer {
        flex-shrink: 1;
    }

    .cards {
        margin: 0 -10px;
    }

    .cards-centered {
        justify-content: center;
    }
}

.cards .widget-injected {
    width: 100%;
    margin-bottom: 15px;
}

/* #endregion */

/* #region panels */

.panel-container {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    flex-direction: column;
}

.panel-content {
    flex-grow: 1;
    width: 100%;
}

.stretch-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background: #00000000;
}

.panel-body {
    padding: 0;
}

    .panel-body img {
        display: block;
        width: 100%;
    }

.panel-content,
.panel-image {
    position: relative;
}

.panel-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: #FFFFFFF3;
    z-index: 2;
}

.panel-share {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.panel-info {
    border-left: none;
    padding: 15px;
    text-align: right;
    flex: 1 0 48px;
    width: 100%;
}

.no-picture .card-header,
.no-picture .panel-info,
.panel-header,
.panel-footer {
    border: none;
}

.panel-social {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    position: absolute;
    left: 15px;
    bottom: -35px;
}

    .panel-social li {
        display: inline-block;
        margin: 0 32px 0 0;
    }

        .panel-social li:last-child {
            margin-right: 0;
        }

    .panel-social .ic {
        width: 20px;
        height: 20px;
        /* we could use icons that have the correct color instead. */
        filter: opacity(50%);
    }

    .panel-social .close:after {
        content: '\D7';
        font-size: 30px;
        line-height: 18px;
        vertical-align: middle;
        color: #1665A8;
    }

    .panel-social .sci-c,
    .panel-social .sc-s,
    .panel-info .momentum-count {
        display: inline;
        margin-left: 5px;
    }

.panel-image .ic-photo {
    position: absolute;
    top: 4%;
    right: 4%;
    width: 30px;
    height: 30px;
    filter: invert(1);
}

.panel-footer {
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .panel-container {
        flex-direction: row;
    }

    .panel-info {
        border-left: inherit;
        width: inherit;
        flex: 1 0 50px;
        padding: 15px 0;
        text-align: center;
    }

    .panel-social {
        bottom: inherit;
        left: inherit;
        top: 0;
        right: -50px;
        width: 50px;
    }

        .panel-social li {
            display: inherit;
            margin-bottom: 32px;
            width: 100%;
            text-align: center;
        }

        .panel-social .sci-c,
        .panel-social .sc-s,
        .panel-info .momentum-count {
            display: block;
            margin: 0;
        }

    .panel-footer {
        padding-bottom: 10px;
    }
}


/* #endregion panels */

/* #region content list horizontal (tablist) */
.tablist {
    position: relative;
}

.tablist-swipe {
    overflow: hidden;
    position: relative;
}

.swipe-arrow {
    position: absolute;
    top: 50%;
    margin-top: -50px;
    height: 0;
    width: 0;
    cursor: pointer;
    text-align: center;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    opacity: 0.7;
}

.swipe-arrow-prev {
    left: 5px;
    border-right: 14px solid #fff;
}

.swipe-arrow-next {
    right: 5px;
    border-left: 14px solid #fff;
}

.tablist-items {
    overflow: hidden;
    position: relative;
}

.tablist-cards {
    display: flex;
}

.tablist-item {
    float: left;
    display: block;
    font-size: 90%;
    position: relative;
    padding-top: 0;
    width: 100%;
}

    .tablist-item:first-child {
        padding-top: 0;
    }

    .tablist-item .section-title {
        font-size: 100%;
    }

    .tablist-item img {
        display: block;
        margin-bottom: 8px;
        width: 100%;
    }

.tablist-more-nm {
    display: none;
}

.tablist-more {
    margin-left: 5px;
    margin-right: 5px;
    clear: both;
    text-align: center;
}

    .tablist-more a {
        display: inline-block;
        color: #fff;
        text-decoration: none;
        padding: 6px 10px;
        font-size: 90%;
    }

@media (min-width: 580px) {

    /* override swipe - show all at once */

    .swipe-arrow {
        display: none;
    }

    .tablist-items {
        width: auto !important;
        margin-left: -10px;
        margin-right: -10px;
    }

    .tablist-cards {
        width: auto !important;
    }

    .tablist-item,
    .tablist-card {
        padding: 10px !important;
        position: static;
        transform: translate(0, 0) !important;
    }

    .tablist-card {
        padding: 0 !important;
        margin: 0 5px;
    }

        .tablist-card:first-child {
            margin-left: 0;
        }

        .tablist-card:last-child {
            margin-right: 0;
        }

        .tablist-card > .card-body {
            padding: 10px;
        }

    .tablist-item-2 {
        width: 50% !important;
    }

    .tablist-item-3 {
        width: 33.33% !important;
    }

    .tablist-item-4 {
        width: 25% !important;
    }

    .tablist-item-5 {
        width: 20% !important;
    }

    .tablist-item-6 {
        width: 16.66% !important;
    }
}

@media (min-width: 992px) {

    .tablist-more-nm {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
    }

        .tablist-more-nm a {
            font-size: 95%;
            line-height: 1;
        }

    .tablist-more {
        display: none;
    }
}

/* #endregion */

/* #region split content list */

.widget-cls .section-detail {
    border: none;
    margin: 0;
}

@media (min-width: 992px) {

    /* move featured image to the right side if specified */
    .widget-cls-swap .widget-cls-col-1 {
        float: right;
    }
}

/* #endregion */

/* #region section table widget / helpers */

.section-table {
    display: table;
    width: 100%;
}

.section-tr {
    display: table-row;
}

.section-tr-dark {
    background: #f3f3f3;
}

.section-tr-darker {
    background: #ebebeb;
}

.section-tr-dark,
.section-tr-darker {
    color: inherit;
    text-decoration: none;
}

    .section-tr-dark .section-td,
    .section-tr-darker .section-td {
        border-bottom: 2px solid #fff;
    }

.section-td {
    display: table-cell;
    vertical-align: middle;
    padding: 14px 6px;
}

.section-td-tight {
    padding-top: 8px;
    padding-bottom: 8px;
}

.section-td:first-child {
    padding-left: 12px;
}

.section-td:last-child {
    padding-right: 12px;
}

.section-td img {
    max-width: none;
}

.theme-bg .section-td {
    color: #fff;
}

/* #endregion */

/* #region features / auctions widget */

.widget-norm .section-heading.underlined {
    border-color: #38e9d6;
}

.section-logo {
    max-width: 70px;
    width: 70px;
}

/* #endregion */

/* #region poll */

.poll {
    border: 1px solid transparent;
    padding: 10px;
}

.poll-related {
    display: block;
    margin: -8px 0 10px 0;
}

.poll label {
    font-size: 90%;
    font-weight: normal;
    display: block;
}

.poll-btns .btn {
    margin-right: 4px;
}

.poll legend {
    margin-bottom: 10px;
}

.poll-disclaimer {
    font-size: 80%;
}

/* #endregion */

/* #region hero widget */

.widget-hero .section-byline {
    margin-left: 10px;
    color: inherit;
}

/* #endregion */

/* #region most read widget */

.widget-mostread .section-td {
    vertical-align: top;
}

.widget-mostread .section-table .section-tr:last-child .section-td {
    border-bottom: none;
}

/* #endregion */

/* #region feature widget */

.widget-feature .btn-cta {
    margin-left: 6px;
}

/* #endregion */

/* #region widgets and ads */

.widget-area .row .col-md-4 {
    padding-bottom: 30px;
}

.widget + .widget {
    margin-top: 20px;
}

.widget-is-empty + .widget,
.widget.hide:first-child + .widget {
    margin-top: 0;
}

.widget-area-side .widget-area-col {
    margin-bottom: 20px;
}

.widget-map {
    width: 100%;
    height: 300px;
    position: relative;
}

.widget-map-tall {
    height: 500px;
    height: 60vh;
}

@media (max-width: 330px) {

    .widget-poll {
        margin-left: -5px;
        margin-right: -5px;
    }
}

.slot {
    text-align: center;
}

.noads .gam {
    display: none !important;
}

.widget-injected {
    max-width: 300px;
}

    .widget-injected.widget-wysiwyg,
    .widget-injected.widget-pushnotificationsignup,
    .widget-injected.widget-videoad {
        max-width: 100%;
    }

    .widget-injected .slot {
        display: inline-block;
    }

    .widget-injected.widget-dfp {
        text-align: center;
    }

    .widget-injected.widget-inject-left {
        text-align: left;
    }

    .widget-injected.widget-inject-right {
        text-align: right;
    }

    .widget-injected.widget-inject-centre {
        margin: 0 auto;
    }

    .widget-injected.widget-dfp.widget-inject-centre {
        max-width: 100%;
        background: #efefef;
        padding-bottom: 6px;
        clear: both;
    }

    .widget-injected .slot span:before {
        content: 'Advertisement';
        display: block;
        text-align: left;
        font-size: 85%;
        color: #b4b4b4;
        padding-bottom: 2px;
        border-bottom: 3px solid #ededed;
        margin-left: 15px;
    }

    .widget-injected.widget-dfp-fluid {
        float: none !important;
        text-align: left;
        max-width: 100%;
        margin-right: 0 !important;
    }

        .widget-injected.widget-dfp-fluid .slot {
            display: block;
        }

.slot-widget {
    margin-left: -15px;
    margin-right: -15px;
}

.slot-wrap {
    display: none;
}

.slot-leaderboard {
    margin: 0 auto;
    display: flex;
    min-height: 120px;
    flex-direction: column;
    justify-content: center;
}

.slot-repeats, .slot-poll {
    text-align: center;
    margin-left: -15px;
    margin-right: -15px;
}

.slot-repeat {
    display: inline-block;
    margin-bottom: 20px;
}

.slot-poll {
    margin-top: -10px;
    margin-bottom: 10px;
}

.slot-alert {
    position: fixed;
    top: 0;
    z-index: 19;
    width: 100%;
}

.slot-alert-inline.slot-show {
    margin: -15px -15px 20px -15px;
}

.slot-close {
    position: absolute;
    top: -24px;
    right: 0;
    width: 30px;
    height: 30px;
    display: block;
    color: #333;
    font-size: 24px;
    line-height: 30px;
    cursor: pointer;
    text-align: center;
    background: #e8e8e8;
}

.slot-footer, .slot-pixel {
    display: none;
}

    .slot-pixel.slot-show {
        display: block;
        height: 0;
    }

.overlay .slot-footer {
    display: none !important;
}

.slot-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1041;
    width: 100%;
    text-align: center;
    background: #e8e8e8;
    display: block;
}

@media(min-width: 1050px) {
    .slot-fixed {
        background: transparent;
    }
}

/* hide desktop targetting, hide side slots on small screens, hide all side injects */
.widget-dfp-bbdMapping, .widget-dfp-bbd2Mapping, aside .slot-widget, aside .widget-inject {
    display: none;
}

@media (max-width: 991px) {

    .scroll header {
        top: -60px;
        transition: top ease 200ms;
    }

    .scrollup header {
        top: 0;
    }

    .has-slot-alert.scrollup header {
        top: 27px;
    }

    .has-slot-alert.scrollup #body-container {
        margin-top: 87px; /* 60 + 27 */
    }
}

@media (min-width: 350px) {

    .slot-poll {
        margin-top: 0;
    }

    .slot-footer.slot-show {
        max-height: 150px;
    }

    .slot-footer.slot-show,
    .slot-leaderboard.slot-show .slot-fixed {
        padding: 5px 0;
    }

    .slot-widget, .slot-leaderboard {
        margin-left: 0;
        margin-right: 0;
    }

    .widget-injected .slot span:before {
        margin-left: 0;
    }
}

@media (min-width: 375px) {

    .slot-repeat {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (min-width: 600px) {

    /* start wrapping text around slots if applicable */
    .widget-injected.widget-inject-wrap {
        margin-bottom: 15px;
    }

        .widget-injected.widget-inject-wrap.widget-inject-left {
            float: left;
            margin-right: 20px;
        }

        .widget-injected.widget-inject-wrap.widget-inject-right {
            float: right;
            margin-left: 20px;
        }
}

@media (min-width: 728px) {

    .slot-leaderboard {
        min-height: 90px; /* > 970 could be 250px */
    }
}

@media (min-width: 768px) {

    .widget-dfp-bbmMapping, .widget-dfp-bbm2Mapping {
        display: none;
    }

    .slot-footer.slot-show {
        display: none;
    }

    /* show side slots on larger screens */
    aside .slot-widget {
        display: block;
    }
}

@media (min-width: 992px) {

    .slot-wrap {
        display: block;
        position: absolute;
        z-index: 1;
        top: 0;
        width: 1920px;
        height: 1200px;
        left: 50%;
        margin-left: -960px;
        text-align: center;
    }

    .slot-poll {
        margin-top: -10px;
    }

    .scrolled.has-slot-alert header {
        top: 27px;
    }

    .scrolled.has-slot-alert #body-container {
        margin-top: 136px;
    }

    /* scroll-fixed widgets */
    .widget-fixed {
        position: fixed;
        top: 120px;
        margin-top: 0 !important;
        max-width: 300px;
    }

    .has-slot-alert .widget-fixed {
        top: 155px; /* 120 + 35 */
    }

    /* show desktop targetting */
    .widget-dfp-bbdMapping, .widget-dfp-bbd2Mapping {
        display: block;
    }
}

@media (min-width: 1050px) {
    .slot-leaderboard {
        display: none;
    }
}

/* #region sticky leaderboard */

.has-slot-leaderboard #leaderboard-container {
    z-index: 18;
}

.slot-leaderboard .slot-fixed {
    top: 0;
    bottom: auto;
    transition: top 0.2s ease;
}

.scrollup .slot-leaderboard .slot-fixed {
    top: 60px;
}

.has-slot-alert .slot-leaderboard .slot-fixed {
    top: 28px;
}

.has-slot-alert.scrollup .slot-leaderboard .slot-fixed {
    top: 87px;
}

@media (min-width: 992px) {

    .scrollup .slot-leaderboard .slot-fixed,
    .slot-leaderboard .slot-fixed {
        top: 108px;
    }

    .has-slot-alert.scrollup .slot-leaderboard .slot-fixed,
    .has-slot-alert .slot-leaderboard .slot-fixed {
        top: 136px;
    }
}

/* #endregion */

/* #endregion */

/* #region weather widget */

.ww {
    color: inherit;
    text-decoration: none;
    display: block;    
    display: flex; /* ignored when not supported */
    width: 180px;
    margin: 5px auto 15px auto;
    text-align: center;
    white-space: nowrap;
}

.ww-temp {
    font-size: 24px;
    line-height: 1;
    text-align: center;
    margin: 0 2px;    
    order: 3; /* ignored when not supported */
}

.ww-fc {
    display: block;
    font-size: 12px;
    margin-top: 4px;
}

.ww-icon {
    height: 44px;
    margin: 0 2px;
    vertical-align: top;    
    order: 1; /* ignored when not supported */
}

.ww-warn {
    color: red;
    font-weight: 400;
    font-size: 200%;
    display: inline-block;
    vertical-align: top;
    line-height: 40px;
    margin: 0 4px;    
    order: 2; /* ignored when not supported */
}

@media (min-width: 992px) {

    .ww {
        float: right;
        margin: 0 0 0 10px;
        width: auto;        
    }

    .ww-temp {
        line-height: 40px;
        font-size: 100%;
        vertical-align: middle;
    }

    .ww-icon {
        height: 36px;
        vertical-align: middle;
    }

    .ww-fc {
        display: none;
    }

    .ww-warn {
        font-size: 160%;
    }
}

/* #endregion */

/* #region paging */

.nav-paging {
    text-align: center;
    padding: 10px;
    clear: both;
}

    .nav-paging li {
        display: inline-block;
    }

    .nav-paging a, .nav-paging a:visited {
        color: #fff;
        display: block;
        background: #58585a;
        width: 40px;
        line-height: 40px;
        text-align: center;
        text-decoration: none;
        margin: 2px 1px;
        font-size: 110%;
    }

    .nav-paging .selected a, .nav-paging .selected a:visited {
        background: #1665a8;
    }

/* #endregion */

/* #region author */

.author-title {
    font-size: 110%;
}

.author-about {
    color: #000;
    font-style: italic;
    font-weight: bold;
}

.author-more {
    font-weight: bold;
    text-decoration: none;
    color: #666;
}

/* #endregion */

/* #region index pages */

.media {
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 15px 15px 0 15px;
    margin-bottom: 15px;
}

.media-featured {
    background: #e8e8e8;
    margin-bottom: 0;
}

.media:last-child {
    margin-bottom: 15px; /* in case a featured item is last*/
}

.media-bordered {
    border-bottom: 1px solid #ededed;
    padding-bottom: 15px;
}

.media-left {
    margin-bottom: 15px;
}

.media-full {
    display: table-row;
}

    .media-full img {
        margin-bottom: 15px;
    }

    .media-full + .media-body {
        display: table-row;
    }

.media-placeholder {
    width: 120px;
    min-height: 80px;
    background-image: url(https://www.vmcdn.ca/files/ui/icons/noimg.svg);
    background-position: center center;
    background-size: contain;
}

.media-img .media-placeholder {
    background-image: none;
}

.media-noimg {
    display: none;
}

.media-heading {
    line-height: 1.2;
    word-break: break-word;
}

.media-subheading {
    color: #595959;
    font-weight: normal;
}

.media-intro {
    word-break: break-word;
}

    .media-intro .nav, .section-item .nav {
        margin: 2px 0 8px 0;
    }

        .media-intro .nav li, .section-item .nav li {
            line-height: 1.1;
        }

.media-badge {
    font-size: 120%;
    font-weight: bold;
}

.media-links {
    font-size: 90%;
    margin-top: 10px;
}

    .media-links .timeago {
        margin-right: 8px;
    }

    .media-links a {
        text-decoration: none;
    }

.row-index {
    border-bottom: 1px solid #ededed;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .row-index a {
        text-decoration: none;
    }

@media (min-width: 540px) {

    .media {
        display: table;
        width: 100%;
    }

    .media-left,
    .media-body,
    .media-heading-area .media-heading,
    .media-badge {
        display: table-cell;
        vertical-align: top;
    }

    .media-left {
        width: 120px;
        padding-right: 15px;
        margin-bottom: 0;
    }

    .media-left-sm {
        width: 100px;
    }

    .media-left-md {
        width: 280px;
    }

    .media-left-lg {
        width: 240px;
    }

    .media-placeholder {
        margin-bottom: 0;
    }

    .media-heading-area {
        display: table;
        width: 100%;
    }

    .media-badge {
        padding-left: 15px;
        text-align: right;
    }
}

@media (min-width: 768px) {

    .media-left-md {
        width: 240px;
        padding-right: 20px;
    }

    .media-left-lg {
        width: 300px;
        padding-right: 20px;
    }
}

/* #endregion */

/* #region definition lists */

dl {
    margin-top: 0;
    margin-bottom: 20px;
}

dt,
dd {
    line-height: 1.42857143;
}

    dt:not(.normal) {
        font-weight: bold;
    }

dd {
    margin-left: 0;
}

.dl-h dd {
    margin-bottom: 8px;
}

.dl-v {
    margin-bottom: 0;
}

    .dl-v dt {
        margin-top: 15px;
    }

        .dl-v dt:first-child {
            margin-top: 0;
        }

    .dl-v dt {
        font-weight: normal;
        font-style: italic;
    }

.dl-inline dt, .dl-inline dd {
    float: left;
}

.dl-inline dt {
    clear: left;
    margin-right: 8px;
}

@media (min-width: 768px) {
    .dl-h dt {
        float: left;
        width: 160px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-bottom: 4px;
    }

    .dl-h dd {
        margin-left: 180px;
        margin-bottom: 4px;
    }

    .dl-h-sm dt {
        width: 100px;
    }

    .dl-h-sm dd {
        margin-left: 120px;
    }
}

/* #endregion */

/* #region social counter */

.sc li {
    vertical-align: middle;
    padding: 0;
}

.sc-total-area {
    text-align: center;
    border-right: 1px solid #ccc;
    padding: 2px 10px 2px 0;
    margin-right: 15px;
}

.sc-total {
    font-size: 300%;
    line-height: 1;
}

.sc-total-title {
    text-transform: uppercase;
}

.sc-item {
    display: block;
    padding: 8px;
    margin-left: 1px;
}

    .sc-item, .sc-item:hover, .sc-item:focus {
        color: #fff;
        text-decoration: none;
    }

.sc-item-fb {
    background: #305791;
}

.sc-item-tw {
    background: #2ca9d2;
}

.sc-item-li {
    background: #0077b5;
}

.sc-item-em {
    background: #666;
}

.sc-item-pr {
    background: #000;
    border: none;
}

aside .sc-item-pr {
    display: none !important;
}

.sc-item-sms {
    background: #0bd318;
}

.sc-item .ic {
    width: 24px;
    height: 24px;
}

.sc-label {
    display: none;
}

.share-title {
    line-height: 1.2;
    margin-bottom: 10px;
}

.section-title .sc,
.section-title .sci,
.card-title .sc,
.card-title .sci,
.panel-social .sci {
    display: none;
}

    .section-title .sc.comments,
    .section-title .sci.comments,
    .card-title .sc.comments,
    .card-title .sci.comments,
    .panel-social .sci.comments {
        margin-left: 2px;
        white-space: nowrap;
        display: inline-block;
    }

.section-title .sc-c,
.section-title .sci-c,
.card-title .sc-c,
.card-title .sci-c {
    font-size: 12px;
    margin-left: 3px;
    color: #333;
}

.sc-expanded .sc-total-area {
    display: none;
}

@media (min-width: 375px) {
    .sc-item, .sc-item:hover {
        padding: 9px;
    }

    .sc-total {
        font-size: 350%;
    }
}

@media (min-width: 992px) {

    .sc-expanded .sc-label {
        font-size: 11px;
        display: inline-block;
        margin-left: 6px;
    }

    .sc-expanded .ic {
        width: 18px;
        height: 18px;
    }
}

.sc-compact .sc-item {
    padding: 7px;
    border-radius: 100%;
    margin: 0 5px 0 0;
    line-height: 1;
}

.sc-compact .ic {
    width: 18px;
    height: 18px;
}

/* #endregion */

/* #region uploads / progress */

.cell-progress {
    min-width: 60px;
}

.upload-thumb-c {
    margin-bottom: 10px;
}

/* images are left or right transformed - so the container needs to be up to 100px tall now */
.upload-thumb-c-6, .upload-thumb-c-8 {
    min-height: 100px;
}

.upload-thumb {
    display: block;
    max-width: 100px;
    background: #e8e8e8;
}

/* upside down */
.upload-thumb-3 {
    transform: rotate(180deg);
}

/* left */
.upload-thumb-6 {
    transform: translateY(-100%) rotate(90deg);
    transform-origin: left bottom;
}

/* right */
.upload-thumb-8 {
    transform: translateX(-100%) rotate(-90deg);
    transform-origin: top right;
}

.uploaded {
    font-size: 150%;
}

/* #endregion */

/* #region icons */

.ic {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    display: inline-block;
}

.ic-text {
    margin-left: 3px;
    display: inline-block;
}

.btn-sm .ic, .ic-sm {
    width: 14px;
    height: 14px;
}

.btn-xs .ic, .ic-xs {
    width: 12px;
    height: 12px;
}

.ic-muted {
    opacity: 0.5;
}

.ic-white {
    filter: invert(1);
}

.ic-black {
    filter: invert(0%) sepia(7%) saturate(0%) hue-rotate(320deg) brightness(102%) contrast(101%);
    /* ie 10, 11 fixes found at end of icons */
}

.ic-photo {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/gallery.svg);
    filter: invert(.8);
}

.ic-calendar {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/calendar.svg);
}

.ic-ellipsis {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/ellipsis-h.svg);
}

.ic-home {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/home.svg);
}

.ic-plus {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/ic-plus.svg);
}

.ic-membership {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/membership.svg);
}

.ic-question {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/question-circle.svg);
}

.ic-search {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/search.svg);
}

.ic-search-w {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/search-w.svg);
}

.ic-list {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/list-ul.svg);
}

.ic-user {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/user.svg);
}

.ic-user-plus {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/user-plus.svg);
}

.ic-user-check {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/user-check.svg);
}

.ic-warning {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/warning.svg);
}

.ic-print-w {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/print-w.svg);
}

.ic-sms-w {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/comment-w.svg);
}

.ic-facebook-w {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/facebook-w.svg);
}

.ic-twitter-w {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/twitter-w.svg);
}

.ic-linkedin-w {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/linkedin-w.svg);
}

.ic-instagram-w {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/instagram-w.svg);
}

.ic-youtube-w {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/youtube-w.svg);
}

.ic-pinterest-w {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/pinterest-w.svg);
}

.ic-website-w {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/link-w.svg);
}

.ic-tiktok-w {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/tiktok-w.svg);
}

.ic-comments {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/comments.svg);
}

.ic-map {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/map.svg);
}

.ic-menu {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/cutlery.svg);
}

.ic-onlineordering {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/shopping-cart.svg);
}

.ic-thumb-up {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/thumbs-o-up.svg);
}

.ic-thumb-dn {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/thumbs-o-down.svg);
}

.ic-edit {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/edit.svg);
}

.ic-delete {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/delete.svg);
}

.ic-delete-red {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/delete.svg);
    filter: invert(18%) sepia(60%) saturate(2927%) hue-rotate(331deg) brightness(103%) contrast(99%);
}

.ic-reply {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/reply.svg);
}

.ic-poll {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/poll.svg);
}

.ic-heart {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/heart.svg);
}

.ic-heart-highlight {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/heart-highlight.svg);
}

.ic-gift {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/gift.svg);
}

.ic-sign-out {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/sign-out.svg);
}

.ic-bell {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/bell.svg);
}

.ic-comments-o {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/comments-o.svg);
}

.ic-comment-count {
    background-color: #000;
    position: absolute;
    top: 0;
    left: 60%;
    transform: translate(-50%, 0);
    border-radius: 25px;
    border: 1px solid #FFF;
    color: #FFF;
    font-size: 10px;
    line-height: 15px;
    min-width: 17px;
    text-align: center;
    padding: 0 3px;
}

.nav-on .ic-comment-count {
    background: #1665a8;
}

.ic-briefcase {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/briefcase.svg);
}

.ic-credit-card {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/credit-card.svg);
}

.ic-sticky-note-o {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/sticky-note-o.svg);
}

.ic-user-o-w {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/user-o-w.svg);
}

.ic-email-o {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/envelope-o.svg);
}

.ic-image {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/image.svg);
}

.ic-lock {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/lock.svg);
}

.ic-globe {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/globe.svg);
}

.ic-happy {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/happy.svg);
}

.ic-amused {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/amused.svg);
}

.ic-afraid {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/afraid.svg);
}

.ic-apathetic {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/apathetic.svg);
}

.ic-sad {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/sad.svg);
}

.ic-frustrated {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/frustrated.svg);
}

.ic-angry {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/angry.svg);
}

.ic-candle {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/candle.svg);
}

.ic-audio {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/audio.svg);
}

.ic-flag {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/flag.svg);
}

.ic-black-flag {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/black-flag.svg);
}

.ic-envelope-o {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/envelope-open-text.svg);
}

.ic-lightbulb {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/lightbulb.svg);
}

.ic-play {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/play.svg);
}

.ic-volume-on {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/volume-high.svg);
}

.ic-volume-mute {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/volume-mute.svg);
}

.ic-pause {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/pause.svg);
}

.ic-clock {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/clock.svg);
}

.ic-weather {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/weather.svg);
}

.ic-video {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/video.svg);
}

.ic-car {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/car.svg);
}

.ic-wind {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/wind.svg);
}

.ic-copy {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/copy.svg);
}

.ic-share {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/share.svg);
}

.ic-momentum {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/n-trending.svg);
}

.ic-multi-users {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/multi-users.svg);
}

.ic-chart {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/chart.svg);
}

.ic-send {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/send.svg);
}

.ic-external-link {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/external-link.svg);
}

/* #endregion */

/* #region reactions */

.nav-react {
    text-align: center;
}

    .nav-react li {
        display: inline;
    }

.react-view {
    display: block;
    font-size: 65%;
}

.bt-react {
    background: #fff;
    border: none;
    text-align: center;
    font-size: 11px;
    width: 75px;
    margin: 10px 0;
    padding: 4px 0;
    outline: none;
    position: relative;
}

    .bt-react.reacted {
        cursor: default;
    }

.bt-react-view {
    cursor: default;
}

.bt-react > span {
    display: inline-block;
    border: 2px solid #000;
    padding-top: 8px;
    border-radius: 100%;
    width: 44px;
    height: 44px;
    margin-bottom: 5px;
    overflow: hidden;
    position: relative;
}

.bt-react .ic {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
}

.bt-react .theme-bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
}

.react-related {
    margin-left: 20px;
}

button.yours:after {
    content: '(yours)';
    position: absolute;
    bottom: -14px;
    font-size: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.bt-react.yours:after {
    bottom: -14px;
}

@media (min-width: 640px) {

    .react-view {
        line-height: 1.8;
        float: right;
    }
}

@media (min-width: 992px) {

    .nav-react li {
        display: block;
        float: left;
    }

    .bt-react {
        width: 84px;
        font-size: 12px;
        padding-bottom: 0;
    }
}

/* #endregion */

/* #region importance */

.nav-importance li {
    width: 20%;
    padding-left: 3px;
}

.nav-importance button {
    display: block;
    width: 100%;
    border: 1px solid transparent;
    background: #f9f9f9;
    font-size: 11px;
    white-space: nowrap;
    padding: 6px;
    border-radius: 3px;
    position: relative;
}

    .nav-importance button.reacted {
        cursor: default;
    }

    .nav-importance button.yours {
        border-color: #bbb;
    }


.ic-important {
    font-style: normal;
    width: 36px;
    height: 36px;
    margin-bottom: 5px;
}

    .ic-important:after {
        content: '★';
        color: #bbb;
        font-size: 36px;
        line-height: 1;
    }

.hovered .ic-important:after, .nav-importance .selected .ic-important:after {
    color: #F2CD00;
}

@media (min-width: 992px) {

    .nav-importance button {
        font-size: 12px;
        padding: 12px;
    }

        .nav-importance button.yours:after {
            bottom: 0;
        }
}

/* #endregion */

/* #region filter */

.filter {
    border-top: 3px solid #ededed;
    border-bottom: 3px solid #ededed;
    padding: 10px 12px;
    text-align: center;
}

    .filter + .table-responsive {
        margin-top: -3px;
    }

    .filter + hr.thick {
        border: none;
    }

.filter-option {
    text-decoration: none;
    color: #999;
    display: block;
    margin: 5px 0;
}

.filter-option-selected {
    color: #333;
}

.filter-option-radio {
    width: 18px;
    height: 18px;
    border-radius: 18px;
    border: 2px solid #ededed;
    background: #fff;
    vertical-align: middle;
    margin-right: 4px;
    padding: 1px;
    text-align: center;
    position: relative;
}

.filter-option-selected .filter-option-radio:after {
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: #1665a8; /* themed */
    display: block;
}

@media (min-width: 600px) {

    .filter-option {
        display: inline-block;
        margin: 0 20px 0 0;
    }
}

/* #endregion */

/* #region inline advanced search */

.advs-area {
    background: #e8e8e8;
    padding: 10px;
    margin: 15px 0;
    border-radius: 4px;
}

    .advs-area hr {
        border-top-color: #fff;
        margin: 0 -10px;
    }

.advs-area-full {
    margin-left: -15px;
    margin-right: -15px;
}

    .advs-area-full .cat-bar {
        margin-left: 5px;
        margin-right: 5px;
    }

.advs {
    padding-top: 20px;
}

/* #endregion */

/* #region modal */

.vm-modal-open, .vm-modal-open body {
    overflow: hidden !important;
}

.vm-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
}


.vm-modal-mask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    display: none;
    background-color: #000;
    opacity: .7;
}

.vm-modal-content {
    width: 960px;
    max-width: 100%;
    margin: 20px auto;
    position: relative;
    background-color: #fff;
    outline: 0;
}

/* #endregion */

/* #region custom properties */

#gallery + .cps {
    margin-top: 15px;
}

.cp {
    padding: 4px 5%;
}

    .cp:nth-child(odd) {
        background-color: #efefef;
    }

@media (min-width: 768px) {

    .cps {
        display: table;
        width: 100%;
    }

    .cp-row {
        display: table-row;
    }

    .cp {
        width: 50%;
        display: table-cell;
        background-color: transparent !important;
    }

    .cp-row:nth-child(odd) {
        background-color: #efefef;
    }
}

.cp-section-obituary .section-td {
    vertical-align: top;
}

.cp-obit-age:before {
    content: '(';
}

.cp-obit-age:after {
    content: ')';
}

.section-td-ic {
    width: 40px;
}

/* #endregion */

/* #region category bar */

.cat-title {
    margin-bottom: 5px;
}

    .cat-title .title {
        vertical-align: middle;
        font-size: 130%;
        margin: 0;
    }

.sort-active {
    font-weight: bold;
}

@media (min-width: 500px) {

    .cat-bar .cat-title {
        float: left;
        margin-bottom: 0;
    }

    .cat-bar .nav-table {
        float: right;
    }
}

.badge {
    display: inline-block;
    font-size: 14px !important;
}

    .badge:before {
        content: '(';
    }

    .badge:after {
        content: ')';
    }

    .badge:empty {
        display: none;
    }

/* #endregion */

/* #region thread */

.thread {
    padding: 1px 12px;
    border-radius: 3px;
    margin: 5px 0 15px 0;
    position: relative;
    display: inline-block;
}

.thread-self {
    color: #fff;
    background: #1665a8;
    float: right;
}

.thread-other {
    background: #e8e8e8;
}

.thread:before {
    content: "";
    position: absolute;
    bottom: 8px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.thread-other:before {
    right: 100%;
    border-right: 7px solid #e8e8e8;
}

.thread-self:before {
    left: 100%;
    border-left: 7px solid #1665a8;
}

.thread-date {
    font-size: 80%;
    clear: right;
}

.thread-date-self {
    text-align: right;
}

/* #endregion */

/* #region comments */

.comments-threaded #comments, .comment-child {
    padding-top: 15px;
    border-top: 3px solid #ededed;
    margin-top: 15px;
}

.comments-unthreaded .membership-required-container,
.comments-unthreaded #comment-form-container,
.comments-unthreaded #comments-disclaimer {
    display: none;
}

#comment-form {
    margin-top: 15px;
}

.comment {
    position: relative;
    border-bottom: 2px solid #ededed;
    margin-bottom: 15px;
    word-wrap: break-word;
}

    .comment .avatar {
        float: left;
    }

.comment-un {
    font-weight: 400;
    font-size: 125%;
    margin-right: 5px;
}

.comment-body {
    float: left;
    padding-bottom: 15px;
    margin-left: 10px;
    width: calc(100% - 55px);
    min-height: 60px;
}

.comment-replying #comment-form {
    margin: 15px 0 0 15px;
}

.comment-child {
    margin-left: 55px;
    clear: both;
    padding-bottom: 15px;
}

    .comment-child, .comment-child .comment {
        border-width: 1px;
    }

        .comment-child .comment:last-of-type {
            padding-bottom: 0;
            border: none;
            margin-bottom: 0;
        }

.comments-more + .comment {
    margin-top: 20px;
}

.comment-candle .comment-report {
    position: absolute;
    top: 24px;
    right: 0;
}

.comment-candle .comment-text {
    opacity: 0.7;
    margin: -10px 0;
}

.comments-obits .comment-vote {
    display: none;
}

/* #endregion */

/* #region feedback */

.feedback-button.loading {
    opacity: 0.5;
}

.feedback-button-triggered {
    background-color: #e8e8e8;
}

.card-membership.theme-membership-bg {
    border-radius: 4px 4px 0 0;
    margin: -15px -15px 14px -15px;
    padding: 8px 0 8px 10px;
}

/* #endregion feedback */

/* #region audio */

audio::-webkit-media-controls-enclosure {
    background-color: #e8e8e8;
    border-radius: 4px;
}

@media(max-width: 767px) {
    .audio {
        float: none;
        margin: 0;
    }

    audio {
        display: block;
        width: 100%;
    }
}

#tts audio {
    width: 100%;
}

#tts-text {
    padding: 10px 0 0 15px;
}

#tts .ic-play {
    border-radius: 50%;
    width: 54px;
    height: 54px;
    background-color: #e8e8e8;
    background-size: 45%;
    background-position-x: 60%;
}

/* #endregion */

/* #region profile */

.profile {
    display: table;
    width: 100%;
}

.profile-avatar {
    display: table-cell;
    width: 1%;
    padding-right: 25px;
}

.profile-avatar-sm {
    padding-right: 10px;
}

.profile-avatar-md,
.profile-avatar-lg {
    padding-right: 15px;
}

.profile-title {
    display: table-cell;
    vertical-align: middle;
    word-break: break-word;
}

    .profile-title .title {
        line-height: 1.1;
        font-size: 230%;
        margin: 0 0 5px 0;
    }

.profile-summary .profile-title {
    font-size: 160%;
}

.profile-links {
    padding: 25px 0;
}

.profile-link {
    border-radius: 100%;
    padding: 8px;
    margin-right: 8px;
    display: inline-block;
}

    .profile-link .ic {
        width: 20px;
        height: 20px;
    }

.profile-link-sm {
    padding: 6px;
    margin-right: 4px;
}

.profile-count {
    display: block;
    color: inherit;
    text-decoration: none;
    line-height: 1.6;
    font-size: 90%;
}

    .profile-count .ic {
        margin-left: 5px;
        margin-right: 5px;
        opacity: 0.45;
    }

/* #endregion */

/* #region today widget */

.todayw-ic {
    background: #fed204;
    border-radius: 100%;
}

/* #endregion */

/* #region numbered titles / badges */

.title-numbered {
    position: relative;
    margin-left: 44px;
}

.title-number {
    background: #fff;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    border-width: 1px;
    border-style: solid;
    border-color: #ccc;
    font-size: 12px;
    width: 32px;
    height: 32px;
    line-height: 30px;
    border-radius: 100%;
    text-align: center;
    position: absolute;
    left: -44px;
    color: inherit;
}

.title-number-complete {
    border-color: transparent;
    background: #e8e8e8;
    font-size: 20px;
    color: #999;
    font-weight: bold;
}

.title-number-active {
    font-weight: bold;
    transform: scale(1.2);
}

@media (min-width: 992px) {

    .title-numbered {
        margin-left: 0;
    }
}

.verified {
    display: inline-block;
    vertical-align: middle;
    border-radius: 100%;
    color: #fff;
}

.verified-sm {
    font-size: 9px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    padding-left: 4px;
}

.verified-lg {
    font-size: 14px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding-left: 9px;
}

/* #endregion */



/* #region membership */

.membership-bar { /* has theme-membership-bg */
    display: block;
    margin: -15px -15px 20px -15px;
    padding: 10px;
    clear: both;
    color: transparent; /* in case it's an anchor */
}

.membership-bar-comments {
    margin: -10px -10px 10px -10px;
    border-radius: 4px 4px 0 0;
}

.membership-bar-cards {
    border-radius: 4px 4px 0 0;
    margin: 0 1px -3px 1px !important;
    position: relative;
    z-index: 1;
}

.membership-bar + .cards {
    margin-top: 10px;
}

.membership-tagline {
    color: #fff;
    display: inline-block;
    margin-left: 10px;
    padding-left: 10px;
    line-height: 1.7;
    border-left: 1px solid #595959;
}

.membership-bar .membership-tagline {
    font-size: 90%;
}

.ic-white.ic-membership {
    filter: invert(0%);
}

.nav-on .ic-membership {
    filter: initial;
}

@media (min-width: 992px) {
    .col-md-8 .membership-bar {
        width: calc(100% + 15px);
    }

    .col-md-8 .membership-bar-comments {
        width: calc(100% + 20px);
    }
}

.widget-membership .membership-bar {
    margin: 0;
}

.widget-membership .section-items {
    border: 1px solid #ededed;
    border-top: none;
}

.widget-membership .section-item {
    padding: 8px;
}

.widget-membership .nav-section-more {
    margin: 0;
    padding: 8px;
}

    .widget-membership .nav-section-more a {
        text-transform: none;
    }

.widget-membership .tablist-more-nm {
    padding: 0;
}

    .widget-membership .tablist-more-nm a {
        color: #fff;
        line-height: 40px;
        margin-right: 10px;
        display: inline-block;
    }

.membership-badge { /* has theme-membership-bg */
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
}

    .membership-badge .ic {
        filter: invert(1);
    }

/* #endregion */

/* #endregion */

/* #region content details pages */

.details-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.1;
    font-size: 265%;
    color: #000;
    word-break: break-word;
}

.details-title-sm {
    font-size: 180%;
}

.details-intro {
    padding: 15px 0;
    font-size: 110%;
}

.byline-area {
    padding: 5px 0 10px 0;
}

.details-byline time {
    font-size: 90%;
    display: block;
}

time.text-muted:before {
    content: 'Updated ';
}

.details-share {
    padding-top: 10px;
}

.details-body {
    line-height: 1.6;
    font-size: 115%;
}

.details-split {
    margin-top: 20px;
}

.details-body img {
    height: auto !important; /* some legacy images have hard-coded heights */
}

.details-body ul, .details-body ol {
    overflow: hidden;
}

.details-callout {
    color: #000;
    font-size: 220%;
    line-height: 1.1;
    padding: 15px 0;
    border-top: 4px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.details-file {
    position: relative;
}

    .details-file audio {
        width: 100%;
    }

figure.details-file {
    margin: 0 0 10px 0;
}

.details-tools a, .details-tools .btn-link {
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 4px 0;
    width: 100%;
    text-align: left;
}

.details-related .section-table {
    font-size: 120%;
}

.details-related .section-intro {
    display: none; /* hide date */
}

.details-related + hr {
    border: none;
    margin-top: 0;
}

.details-related img {
    max-width: 120px;
}

.caption-img {
    display: inline-block;
}

.caption, .figure figcaption {
    font-size: 90%;
    padding: 8px 0;
    font-style: italic;
}

.caption-byline:before {
    content: '|';
    margin: 0 5px;
}

.figure {
    margin: 0;
}

.details-sponsored-title {
    font-size: 90%;
    text-transform: uppercase;
    margin-bottom: 15px;
}

    .details-sponsored-title:after,
    .details-sponsored #details-body:after {
        content: 'This Content is made possible by our Sponsor; it is not written by and does not necessarily reflect the views of the editorial staff.';
        font-size: 10px;
        line-height: 1.2;
        display: block;
        font-family: 'Open Sans', Arial, Helvetica, sans-serif;
        font-weight: normal;
        letter-spacing: 0;
        text-transform: none;
        color: #333;
    }

.details-sponsored #details-body:after {
    margin-top: 10px;
}

.embed {
    position: relative;
    display: block;
    height: 0;
    padding: 0 0 56.25% 0; /* 16:9*/
    overflow: hidden;
}

    .embed .embed-item,
    .embed iframe,
    .embed embed,
    .embed object {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .embed.embed-ams.ams-transcription {
        padding: 0 0 75.25% 0;
    }


.details-has-poll .widget-poll {
    display: none;
}

.dropcap:first-letter {
    background-color: #333;
    color: #fff;
    display: block;
    float: left;
    margin-top: 0.0925em;
    font-size: 3.6em;
    padding: 0 1rem;
    line-height: 1.2;
    margin-right: 0.125em;
    font-family: 'Open Sans Bold',Arial,Helvetica,sans-serif;
}

.quote-full {
    text-align: center;
    font-size: 150%;
}

    .quote-full:before,
    .quote-full:after {
        display: block;
        font-size: 3.625em;
        font-family: Times New Roman, serif;
        opacity: 0.25;
        line-height: 1;
        margin-bottom: -0.4em;
    }

    .quote-full:before {
        content: '\201C';
        margin-top: 0.2em;
    }

    .quote-full:after {
        content: '\201D';
    }

@media (max-width: 577px) {

    .embed.embed-ams.ams-transcription {
        padding: 0 0 90.25% 0;
    }
}

@media (min-width: 600px) {

    .captioned {
        display: table;
        margin: 0 0 10px 0;
        /* IE fixes */
        width: 100%;
        table-layout: fixed;
    }

    .caption {
        display: table-caption;
        caption-side: bottom; /* IE8 + */
    }

    .captioned-l, .figure-l {
        float: left;
        margin-right: 15px;
        /* IE fix */
        width: auto;
    }

    .captioned-r, .figure-r {
        float: right;
        margin-left: 15px;
        /* IE fix */
        width: auto;
    }

    .captioned-embed, .figure-l, .figure-c .figure, .figure-r {
        width: 400px;
    }

    .figure-c {
        text-align: center
    }

        .figure-c .figure {
            display: inline-block;
        }

        .figure-c figcaption {
            text-align: left;
        }
}

@media (min-width: 992px) {

    .byline-area {
        display: table;
        width: 100%;
    }

    .details-byline,
    .details-share {
        display: table-cell;
        vertical-align: middle;
    }

    .details-share {
        padding-top: 0;
    }

        .details-share .sc {
            float: right;
        }
}

/* #endregion */

/* #region poll details pages */

.poll-message {
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    position: relative;
}

    .poll-message :first-child {
        margin-top: 0;
    }

    .poll-message :last-child {
        margin-bottom: 0;
    }

    .poll-message:after, .poll-message:before {
        bottom: 100%;
        left: 30px;
        border: solid transparent;
        content: "";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .poll-message:after {
        border-color: none;
        border-bottom-color: #fff;
        border-width: 8px;
        margin-left: -8px;
    }

    .poll-message:before {
        border-color: none;
        border-bottom-color: #e8e8e8;
        border-width: 9px;
        margin-left: -9px;
    }

.poll-details-option {
    margin: 15px 0;
}

.poll-details-voteinfo {
    margin-left: 5px;
}

.poll-details-votes {
    height: 10px;
    min-width: 1px;
    display: block;
    width: 1px;
    border-radius: 4px;
    background-color: #999;
}

.poll-details-your {
    display: block;
    font-style: italic;
}

.poll-details-disclaimer {
    font-style: italic;
    font-size: 85%;
}

.poll-details-dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 15px;
    background-color: #999;
    margin: 2px 0 3px;
    vertical-align: text-bottom;
}

@keyframes progress {
    0% {
        width: 0;
    }
}

/* #endregion */

/* #region classifieds details pages */

.classifieds-featured {
    margin-top: 15px;
}

hr + .classifieds-featured {
    margin-top: 0;
}

.classified-price {
    display: block;
    font-size: 60%;
}

.classified-body {
    word-break: break-word;
}

.classified-type-config {
    display: block;
}

.subtitle {
    font-size: 80%;
    color: #595959;
}

    .subtitle .theme-colour.site-current, .media-links .theme-colour.site-current {
        color: #595959;
    }

.network {
    color: #fff;
    padding: 0 3px;
    position: relative;
    margin-right: 14px;
    font-size: 11px;
    height: 16px;
    line-height: 16px;
}

    .network:after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        left: 100%;
        margin-top: -8px;
        width: 0;
        height: 0;
        border-top: 8px solid transparent !important;
        border-bottom: 8px solid transparent !important;
        border-left-width: 14px;
        border-left-style: solid;
    }

/* #endregion */

/* #region category skyscraper */

.skyscraper-side {
    display: none;
}

@media (min-width: 992px) {

    .skyscraper {
        display: table;
        width: 100%;
    }

    .skyscraper-main,
    .skyscraper-side {
        display: table-cell;
        vertical-align: top;
    }

    .skyscraper-side {
        width: 160px;
        padding-left: 30px;
    }
}

/* #endregion */

/* #region theming */

.underlined {
    border-bottom: 4px solid transparent;
    padding-bottom: 6px;
    margin-bottom: 0;
}

.theme-bg {
    background-color: #1665a8;
}

.theme-secondary-bg {
    background-color: #F2CD00;
}

.theme-secondary-border {
    border-color: #F2CD00;
}

.btn.theme-bg {
    color: #fff;
}

.theme-border,
.network:after {
    border-color: #1665a8;
}

.theme-colour {
    color: #1665a8 !important;
}

.theme-bg-l {
    background-color: #e8e8e8;
}

.theme-membership .theme-border,
.theme-membership.overlined,
.theme-membership .network:after {
    border-color: #000;
}

.theme-membership .theme-colour {
    color: #000;
}

.theme-membership-bg,
.theme-membership.wrap,
.theme-membership.theme-bg
.theme-membership .theme-bg {
    background-color: #000;
}

.theme-registered-bg {
    background-color: #e8e8e8;
}

.theme-business-bg {
    background-color: #f3f3f3;
    color: #333;
}

/*#endregion*/

/* #region print */

@media print {

    .container, section.col-md-8 {
        padding: 0;
    }

    header {
        position: static;
        border: none;
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
        padding: 10px 20px;
        box-shadow: none;
    }

    #body-container {
        margin: 0 !important;
        padding: 15px;
    }

    #body {
        box-shadow: none;
        margin-top: 10px;
    }

    .logo-container {
        float: none;
        width: 100%;
        text-align: left;
        height: auto;
    }

    .np, #nav, .navbt-container, .avatar-container, #leaderboard-container, .nav-breadcrumb, .widget-dfp, .nav-table.sc, aside, footer, .wrap, .slot-wrap, .details-intro, .slot-alert {
        display: none;
    }
}

/* #endregion */

/* #region facebook comments 100% width fix */

.fb-comments, .fb-comments iframe[style] {
    display: block !important;
}

    .fb-comments, .fb-comments span, .fb-comments iframe span[style], .fb-comments * {
        width: 100% !important;
    }

/* #endregion */

/* #region hide invisible recaptcha badge */

.grecaptcha-badge {
    display: none;
}

/* #endregion */

/* #region fonts */

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/css/fonts/opensans-regular.eot');
    src: local('Open Sans Regular'), local('OpenSans-Regular'), url(/css/fonts/opensans-regular.eot?#iefix) format('embedded-opentype'), url(/css/fonts/opensans-regular.woff2) format('woff2'), url(/css/fonts/opensans-regular.woff) format('woff');
}

@font-face {
    font-family: 'Open Sans Bold';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/css/fonts/opensans-bold.eot');
    src: local('Open Sans Bold'), local('OpenSans-Bold'), url(/css/fonts/opensans-bold.eot?#iefix) format('embedded-opentype'), url(/css/fonts/opensans-bold.woff2) format('woff2'), url(/css/fonts/opensans-bold.woff) format('woff');
}

/* #endregion */

/* #region simple layout */

.simple .nav-footer,
.simple .footer-title,
.simple footer b {
    display: none !important;
}

.simple header {
    box-shadow: none;
}

.simple #body-container {
    margin-top: 60px;
}

@media (min-width: 992px) {
    .simple #nav {
        display: none !important;
    }

    .simple #body-container {
        margin-top: 0 !important;
    }

    .simple header {
        position: static;
    }
}

/* #endregion */

/* #region staged layout */

.staged #nav,
.staged .slot-wrap,
.staged #search,
.staged .ww-current,
.staged footer .col-sm-6,
.staged footer .row .col-sm-3:nth-child(2),
.staged .navbt {
    display: none !important;
}

/* #endregion */

/* #region contest votes */

ul.section-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

li.section-list-item {
    position: relative;
}

    /* Since they're in a list this causes them to all have 0 padding top. */
    li.section-list-item a:first-child {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    li.section-list-item:first-child {
        margin-top: -8px;
    }

.section-list-item:has(.contest-vote) a {
    padding-right: 60px;
}

.section-list-item .contest-vote {
    position: absolute;
    right: 0px;
    top: 8px;
}

a.contest-vote.voted {
    pointer-events: none;
    filter: opacity(0.5);
}

/* #endregion */

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    background-color: #fff;
}

@media (max-width: 767px) and (min-width: 375px) {
    #body {
        margin-right: 0;
        margin-left: 0;
    }
}

.title,
.section-heading,
h2.title,
h3.title,
.btn,
.nav-0 > .navitem {
    font-weight: 600;
}

.wrap, .wrap:before {
    background: none !important
}

aside .slot-widget {
    display: block
}

#body {
    box-shadow: none;
}

.btn {
    text-transform: uppercase;
    border-radius: 4px;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #1d9deb;
    border-color: #1d9deb;
}

.btn-muted,
.btn-muted:hover,
.btn-muted:focus,
.btn-muted.focus,
.btn-muted:active,
.btn-muted.active {
    border-color: #1d9deb;
    background-color: #fff;
    color: #1d9deb;
}

.todayw-ic {
    display: none;
}

header {
    background: #fff;
    box-shadow: none;
}

.mainnav .topnav > li > .navitem {
    text-transform: uppercase;
}

.subnav.show {
    background: #f1f6f8;
}

#header-subscribe {
    font-size: 0.8em;
    line-height: 1.2;
    width: 90px;
    white-space: normal;
}

.ww {
    display: none; /* TODO */
}

#body-container {
    margin-top: 80px;
}

.logo-container {
    height: 80px;
}

.navbt-container {
    margin-top: 10px;
}

.avatar-container {
    margin-top: 18px;
}

.topnav .expanded {
    color: #1d9deb;
}

@media (max-width: 767px) {

    .scroll header {
        top: -80px;
    }
}

@media (min-width: 992px) {

    #body-container {
        margin-top: 143px;
    }

    .scrolled.has-slot-alert #body-container {
        margin-top: 170px;
    }


    .scroll #body-container,
    .staged #body-container {
        margin-top: 100px;
    }

    .logo-container {
        text-align: center;
        float: none;
        width: 100%;
        height: 100px;
    }

    .avatar-container {
        float: none;
        display: inline-block;
    }

    #nav {
        border-top: none;
        border-bottom: 1px solid #e5e5e5;
        padding: 2px 0 0 0;
    }

    #header-right {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    #header-left {
        position: absolute;
        top: 15px;
        left: 15px;
        width: 300px;
        height: 80px;
        overflow: hidden;
    }

    .ww {
        display: inline-block;
        float: none;
        margin: 10px 15px 0 0;
        padding: 0 15px;
        border-left: 1px solid #e5e5e5;
        border-right: 1px solid #e5e5e5;
        margin-left: 15px;
    }

    .ww-meteoblue {
        vertical-align: middle;
        margin: 0 15px 0 0;
    }

        .ww-meteoblue:after {
            clear: both;
            content: '';
            display: block;
            width: 120px;
            height: 16px;
            background: url(https://www.vmcdn.ca/files/ui/weatherhood/new-weatherhood.svg);
        }

    .topnav > li:before, .navbt-q:before {
        display: none;
    }

    .avatar-container > a, .avatar-container > a:hover, .avatar-container > a:focus {
        color: #000;
    }

    .mainnav .topnav > li,
    .mainnav .topnav .children:hover,
    .mainnav .topnav > li:hover > .navitem,
    .mainnav .topnav > li:hover {
        border: none;
    }

    .topnav {
        margin-bottom: -1px;
    }

    .mainnav .subnav {
        box-shadow: none;
        margin-top: 0;
        margin-left: -7px;
    }

        .mainnav .subnav > li {
            border: none;
            padding: 6px 15px;
        }

        .mainnav .subnav li:hover {
            background-color: #f1f6f8;
        }

            .mainnav .subnav li:hover > a {
                color: #1d9deb;
            }

    .mainnav .topnav > li > .navitem {
        font-size: 16px;
        line-height: 40px;
        padding: 0 8px;
    }

    .search-container {
        margin-top: 1px;
        margin-bottom: -1px;
    }

        .search-container .hd-popup {
            right: 0;
        }

    .navbt-q {
        border: 1px solid #fff;
        border-bottom-color: #e5e5e5;
    }
}

#welcome, #nav-home {
    display: none;
}

.navbt-burg i {
    background: #000;
}

.popup {
    box-shadow: none;
}

.popup,
.navbt {
    background: #fff;
}

.navbt-q.hd-popup-triggered {
    border-bottom-color: #f1f6f8;
}

.hd-popup-triggered,
.hd-popup-h {
    background: #f1f6f8;
}

.navbt-close {
    color: #000;
}

.popup-dark,
.nav-paging .selected a,
.nav-paging .selected a:visited,
.filter-option-selected .filter-option-radio:after,
.thread-self,
.theme-bg {
    background-color: #1d9deb;
}

.theme-border,
.network:after {
    border-color: #1d9deb;
}

.popup-bubble.popup-dark:after {
    border-bottom-color: #1d9deb;
}

a,
header .avatar.theme-bg,
.theme-colour {
    color: #1d9deb;
}

.popup-bubble.popup-dark:before {
    border-bottom-color: #1d9deb;
}

.thread-self:before {
    border-left-color: #1d9deb;
}

header .avatar.theme-bg {
    background: #1d9deb;
    color: #fff;
}

.avatar-unlogged {
    border-color: #000;
}

    .avatar-unlogged .ic-user-o-w {
        background-image: url(https://www.vmcdn.ca/files/ui/icons/user-o.svg);
    }

.ic-heart-highlight {
    background-image: url(https://www.vmcdn.ca/files/ui/icons/heart-w.svg);
}

.nav-secondary .nav-on {
    color: #1d9deb;
}

.nav-on .ic {
    filter: invert(56%) sepia(40%) saturate(3880%) hue-rotate(175deg) brightness(95%) contrast(94%); /* see: https://codepen.io/sosuke/pen/Pjoqqp */
    filter: alpha(opacity=100); /* ie 9 fix, ie 10/11 ignore filter */
}

/* #region mobile navigation overlay overrides */

@media (max-width: 991px) {

    .overlay .mainnav {
        height: calc(100% - 80px);
    }
}

/* #endregion */

/* #region footer */

#footer-top {
    margin-bottom: 40px;
}

.nav-footer-nested {
    column-count: 2 !important;
}

/* #endregion */

/* #region details pages */

.details-body {
    font-family: 'Lato', Arial, Helvetica, sans-serif;
}

.details-title,
.body-title,
.cat-title h1.body-title {
    line-height: 1.3;
    font-size: 200%;
    font-weight: 600;
}

h2.body-title {
    font-size: 150%;
}

@media (min-width: 768px) {

    .details-title,
    .body-title
    .cat-title h1.body-title {
        font-size: 250%;
    }

    h2.body-title {
        font-size: 200%;
    }
}

/* #endregion */

/* #region widgets */

/* #region poll */

.widget-poll {
    border-top: 4px solid #1d9deb;
    background: #f1f6f8;
    padding: 20px;
}

    .widget-poll .underlined {
        border: none;
        padding-bottom: 10px;
    }

        .widget-poll .underlined:after {
            content: '';
            width: 30px;
            height: 4px;
            background: #1d9deb;
            margin: 10px 0;
            display: block;
        }

    .widget-poll .poll {
        border: none;
        padding: 0;
    }

    .widget-poll .btn-primary {
        width: 100%;
        margin-bottom: 4px;
    }

    .widget-poll .btn-muted {
        width: 128px;
        width: calc(50% - 2px);
    }

.poll-btns {
    font-size: 0; /* so whitespace doesn't take up room */
}

    .poll-btns .btn {
        margin-right: 0;
    }

        .poll-btns .btn:nth-child(2) {
            margin-right: 4px;
        }

/* #endregion */

/* #region authors */

.widget-authors .section-table {
    background: #f1f6f8;
    padding: 6px 0;
}

.widget-authors .section-td {
    border: none;
}

/* #endregion */

/* #region hero */

.widget-hero .section-detail {
    margin: 0;
    padding: 4px 30px;
    border: none;
}

.widget-hero .section-img-l {
    margin-bottom: 20px;
}

.widget-hero .section-title {
    font-size: 160%;
    line-height: 1.2;
}

.widget-hero .section-item {
    background-color: #f1f6f8 !important;
    padding-bottom: 20px;
}

.widget-hero .section-title, .widget-hero .section-intro {
    padding: 4px 30px;
}

.widget-hero .section-time {
    display: none;
}

.widget-hero .section-byline {
    margin-left: 0;
    font-weight: 600;
}

.widget-hero .section-more {
    display: block;
    margin-top: 8px;
    text-align: right;
    text-transform: uppercase;
}

/* #endregion */

/* #endregion */

/* #region misc */

.nav-breadcrumb {
    border-bottom: 2px solid #1d9deb;
    font-size: 90%;
}

    .nav-breadcrumb,
    .nav-breadcrumb a {
        color: #1d9deb;
        text-transform: none;
    }

.nav-section-more {
    text-align: right;
}

.sc-expanded .sc-label {
    font-family: 'Lato', Arial, Helvetica, sans-serif;
}

/* #endregion */

/* #region simple layout overrides */

.simple #body-subscribe {
    display: none;
}

/* #endregion */

/* #region leaderboard overrides for min height (cumulative layout shift mitigation) */

.slot-leaderboard {
    min-height: 50px;
}

@media (min-width: 400px) {
    .slot-leaderboard {
        min-height: 67px;
    }
}

@media (min-width: 728px) {
    .slot-leaderboard {
        min-height: 90px;
        display: block;
    }
}

.slot-pixel.slot-show {
    height: auto;
}

/* #endregion */

/* #region sponsored content */

@font-face {
    font-family: 'Roboto';
    src: url('/css/fonts/roboto-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/css/fonts/roboto-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

.widget-largethumb .item-sponsored .section-img-l:after,
.media-sponsored .media-body:before,
.widget-largethumb .item-sponsored.section-item-tb:before,
.widget-mostread .item-sponsored .section-td:nth-child(2):before,
.widget-thumbs .item-sponsored .section-body:before {
    content: "SPONSORED CONTENT";
    background-color: #0d679e;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 10px;
    line-height: 1rem;
    font-family: "Open Sans Bold",serif;
    margin-bottom: 10px;
}

.widget-largethumb .item-sponsored .section-img-l:after {
    position: relative;
    top: 5px;
}

.item-sponsored .section-title,
.media-sponsored .media-heading {
    font-family: 'Roboto';
    font-weight: 500;
}

.media-sponsored .media-intro {
    font-family: 'Roboto';
    font-weight: 400;
}

.widget-largethumb .item-sponsored.section-item-tb:before,
.widget-mostread .item-sponsored .section-td:nth-child(2):before,
.widget-thumbs .item-sponsored .section-body:before {
    position: relative;
    top: -4px;
}

/* #endregion */

/* #region affiliates */

.details-affiliate-title {
    font-size: 90%;
    text-transform: uppercase;
    margin-bottom: 15px;
}

    .details-affiliate-title:after {
        content: "If you choose to purchase an item via a link in one of our articles, we may earn a small affiliate commission (at no extra cost to you). This is paid in full by the retailer and does not influence the products we choose.";
        font-size: 10px;
        line-height: 1.2;
        display: block;
        font-weight: normal;
        letter-spacing: 0;
        text-transform: none;
        color: #333;
    }

/* #endregion */

@media print {
    iframe[src*="flx"] {
        display: none !important;
    }
}

/* weatherhood widget */

.widget-weatherhood {
    border: 1px solid #000;
    font-size: 12px;
}

    .widget-weatherhood .head {
        padding: 8px 12px;
        line-height: 32px;
        text-align: center;
    }

        .widget-weatherhood .head img {
            height: 32px;
        }

    .widget-weatherhood .location {
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
        padding: 10px 20px;
        line-height: 25px;
        background-size: cover;
    }

        .widget-weatherhood .location.night {
            color: #FFF;
        }

        .widget-weatherhood .location img {
            height: 25px;
            margin-right: 5px;
        }

    .widget-weatherhood .temp {
        display: flex;
        flex-direction: row;
        padding: 10px;
        align-items: center;
        background-size: cover;
    }

        .widget-weatherhood .temp img {
            width: 50px;
            height: 50px;
        }

    .widget-weatherhood .current-wrapper {
        padding-left: 10px;
        color: #fff;
        white-space: nowrap;
    }

    .widget-weatherhood .current {
        font-size: 30px;
    }

    .widget-weatherhood .feels {
        font-size: 12px;
        display: inline;
    }

    .widget-weatherhood .desc {
        font-size: 16px;
    }

    .forecasts {
        display: flex;
        flex-direction: row;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        padding: 20px 0;
    }

    .forecast {
        width: 25%;
    }

         .forecast img {
            display: block;
            margin: 5px auto;
            width: 40px;
        }


    .foot a {
        height: 44px;
        background: #FFB335;
        display: block;
        border-top: 1px solid #000;
        color: #000;
        text-decoration: none;
        text-align: center;
        line-height: 43px;
    }

        .foot a:hover {
            background: #004A8E;
            color: #fff;
        }


        .foot a .arrow {
            display: inline-block;
            background-image: url('https://www.vmcdn.ca/files/ui/weatherhood/arrow-icon_sm_black.svg');
            background-size: cover;
            width: 14px;
            height: 6px
        }

        .foot a:hover .arrow {
            background-image: url('https://www.vmcdn.ca/files/ui/weatherhood/arrow-icon_lg_white.svg');
            width: 36px;
        }
/* end of weatherhood widget */

/* weatherhood rankings widget */

.widget-weatherhoodrankings .tabs {
    margin-bottom: 10px;
}

    .widget-weatherhoodrankings .tabs .btn.btn-muted {
        color: #000;
        border-color: #000;
        border-radius: 0;
        font-size: 12px;
        font-weight: normal;
        line-height: 27px;
        padding: 0 7px;
    }

        .widget-weatherhoodrankings .tabs .btn.btn-muted.active,
        .widget-weatherhoodrankings .tabs .btn.btn-muted:hover {
            background-color: #000;
            color: #FFF;
        }

.rankings {
    font-size: 20px;
    border-bottom: 4px solid #000;
    margin-bottom: 15px;
}

.ranking {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    padding-bottom: 10px;
    margin: 5px 0 10px;
    border-bottom: 1px solid #CCCCCC;
    text-decoration: none;
    color: #000;
}

    .ranking .temperature {
        width: 40px;
    }

    .ranking .amount {
        width: 85px;
        text-align: right;
    }

    .ranking img {
        width: 30px;
        height: 30px;
        margin: 0 10px;
    }

    .ranking .time {
        width: 40px;
        margin: 0 10px 0 0;
    }

    .ranking .name {
        width: calc(100% - 146px);
    }

    .ranking .more {
        background-image: url("https://www.vmcdn.ca/files/ui/weatherhood/arrow-icon.svg");
        width: 6px;
        height: 10px;
        display: block;
    }

/* end of weatherhood rankings widget */
@charset "UTF-8";
/*
 * jQuery File Upload Plugin CSS 1.3.0
 * https://github.com/blueimp/jQuery-File-Upload
 *
 * Copyright 2013, Sebastian Tschan
 * https://blueimp.net
 *
 * Licensed under the MIT license:
 * http://www.opensource.org/licenses/MIT
 */

.fileinput-button {
    position: relative;
    overflow: hidden;
}

    .fileinput-button input {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        opacity: 0;
        -ms-filter: 'alpha(opacity=0)';
        font-size: 200px;
        direction: ltr;
        cursor: pointer;
    }


.fileinput-button-avatar {
    width: 80px;
    height: 80px;
    font-size: 24px;
    line-height: 80px;
    border-radius: 100%;
    margin-right: 20px;
    padding: 0;
}
