@view-transition {
    navigation: auto;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: 0px;
    background: none repeat scroll 0 0 #EFEFEF;
    background: white;
    overflow-y: scroll;
    margin-bottom: 7em;
    font-family: "Open Sans",Arial,sans-serif;
}

.navbar-default {
    background: none;
    border: 0px;
    border-radius: 0px;
}

.form-group {
    max-width: 500px;
}

.cs-wide-form .form-group {
    max-width: 100%;
}

.deform p.has-error {
    margin-top: 8px;
}

.deform ul.inline {
    margin: 0px;
    padding: 0px;
}

.deform ul.inline > li{
    display:inline-block;
}

.deform .deform-seq > ul {
    margin: 0;
    padding: 0;
}

.deform .deform-seq > ul > li {
    list-style: none;
    margin: 6px 0px;
    padding: 3px;
}

.deform span.req {
    color: red;
}
/*
  sequence item container has 3-4 children: close button, order
  button, widget, error. We want the first 3 layed out in a single row
  and then the error message below the widget.
*/
.deform-seq > ul > li {
    display: grid;
    grid: 1fr / max-content max-content 1fr;
    padding-right: 0px;
}
.deform-seq > ul > li > .close {
    padding-right: 8px;
}
.deform-seq > ul > li > .deform-close-button {
    grid-column-start: 1;
    grid-column-end: 1;
}
.deform-seq > ul > li > .deform-order-button {
    grid-column-start: 2;
    grid-column-end: 2;
}
.deform-seq > ul > li > .form-control {
    grid-column-start: 3;
    grid-column-end: 3;
}
.deform-seq > ul > li > p.has-error {
    grid-column-start: 3;
    grid-column-end: 3;
}

.well {
    background: none repeat scroll 0 0 #FFF;
}

.list-group {
    font-size: 0.9em;
}

.navbar-nav > ul > li > a {
    border-bottom: 4px solid transparent;
}

.navbar-default .navbar-nav > li > a:hover {
    background: #eee;
}

.navbar-default .navbar-nav > .active > a, .navbar-nav li.active > a, .navbar-default .navbar-nav > .active > a:focus {
    background: none ;
}

.cn-header {
    margin-top: 8px;
}

.cn-logo {
    margin-top: 4px;
}

.cn-sitename {
    font-size: 1em;
    position: relative;
    top: 5px;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid #7f7f7f;
}

.cn-header a .cn-sitename {
    color: #7f7f7f;
}

.cn-header a:hover, .cn-header a:active, .cn-header a:focus {
    text-decoration: none;
}

.cn-header .navbar-toggle {
    margin-top: 4px;
    margin-left: 8px;
    margin-right: 0px;
}

.usernav {
    display: inline-block;
}

@media(min-width: 768px) {
    .navbar-collapse {
        padding-left: 0px;
        padding-right: 0px;
    }
}

.caret-up {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-bottom: 4px solid #000000;
  border-right: 4px solid transparent;
  border-top: 0 dotted;
  border-left: 4px solid transparent;
  content: "";
}

.pagetitle {
  font-size: 30px;
  text-align: center;
  text-transform: capitalize;
  margin-top: 5px;
  margin-bottom: 20px;
}

.help-block {
  font-size: small
}

.cs-brand .dropdown-menu {
  margin-left: -15px;
}

ul.cs-brand {
  margin-left: 0px;
}

.deform-seq > ul > li > .select2-container--bootstrap {
  clear: both;
}

.cs-footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 30px;
    color: #FFF;
    padding: 5px 5px 0 0;
}

#cs-chatbutton {
    position: fixed;
    right: 1em;
    bottom: 2em;
}

#cs-chatbutton a {
    display: block;
    padding: 1em;
    border-radius: 6em;
    color: white;
    font-weight: bold;
    background: #003d79;
}

@keyframes cs-progress-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.1;
        transform: scale(0.8);
    }
}

.cs-in-progress {
    animation: cs-progress-pulse 0.7s infinite;
}

.cs-alert {
  display: flex;
}
.cs-alert-icon {
  font-size: 3em;
}
.cs-alert-body {
  padding-left: 15px;
}

dl.dl-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1em;
  row-gap: 0.3em;
}

dl.dl-grid > dt {
  text-align: right;
}


h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0px;
}

.admonition {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.admonition p:last-child {
  margin-bottom: 0px;
}

.admonition .admonition-title {
  font-weight: bold;
}

.admonition.warning {
  background: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}

.app-store-badge {
  background-image: url(img/download-on-the-app-store-badge.svg);
  background-repeat: no-repeat;
  background-size: 160px 54px;
  height: 54px;
  width: 160px;
  margin: 8px;
  display: block;
  font-size: 0px;
}

.play-store-badge {
  background-image: url(img/download-on-the-play-store-badge.svg);
  background-repeat: no-repeat;
  background-size: 160px 54px;
  height: 54px;
  width: 160px;
  margin: 8px;
  display: block;
  font-size: 0px;
}
