body {
    background-color: #fafafa;
}

.container-fluid {
    padding: 0px;
    min-height: 100%;

    /* Hack for IE */
    height: auto !important;
    height: 100%;

    margin: 0 auto -56px;
}

.normal {
    font-weight: normal;
}

.why-page h3.normal {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 5px;
}

.navbar {
    margin-bottom: 0px;
}

.navbar-inner {
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
}

.header {
    position: relative;

    padding: 6px 0px;
    height: 29px;

    background-color: #fff;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.1);

    z-index: 100;
}

.navbar.footer .nav > li {
    line-height: 56px;
}

.navbar.footer .nav > li > a {
    padding-top: 0;
    padding-bottom: 0;
}

.push {
    height: 56px;
}

.breakpoint {
    display: inline-block;
}

html {
    height: 100%;
}

body {
    font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
    line-height: 150%;
    height: 100%;
    font-weight: 300;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.code-section ul.nav {
    margin: 0;
}

.code-section ul.nav li {
    display: inline-block;
    padding: 3px 10px;
    margin: 0;

    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 4px 4px 0px 0px;

    cursor: pointer;
}

.code-section ul.nav li.active {
    color: hsl(176, 46%, 41%);
}

.code-section .blocks {
    padding: 20px;

    background-color: #fafafa;
    border: 1px solid #ddd;

    border-radius: 0px 4px 4px 4px;
}

.code-section .blocks > div {
    display: none;
}

.code-section .blocks > .active {
    display: block;
}

.app.help {
    position: fixed;
    width: 100vw;
    height: calc(100vh - 59px);
    left: 0px;

    box-shadow: 0px -20px 50px rgba(0, 0, 0, 0.04);
    overflow: auto;

    color: hsl(0, 0%, 27%);
}

.help .sidebar {
    width: 300px;

    position: fixed;
    z-index: 1;
    /* 100vh - navbar - paddingTop - paddingBottom - bottomNav */
    height: calc(100vh - 59px - 10px - 10px);
    padding: 10px 20px 10px 20px;

    border-right: 1px solid hsl(219, 10%, 97%);
    overflow: auto;

    background-color: hsl(153, 32%, 55%);
    color: hsl(0, 0%, 100%);

    -webkit-overflow-scrolling: touch;
}

.help .sidebar h1,
.help .sidebar h2 {
    font-weight: 400;
}

.help .sidebar h1 {
    font-size: 1.25em;
    line-height: 1.5;
    margin-bottom: 0px;
}

.help .sidebar h1:not(:first-of-type) {
    margin-top: 20px;
}

.help .sidebar h2 {
    font-size: 1.2em;
    line-height: 1.05;
    margin-bottom: 5px;
}

.help .sidebar.slide h2 {
    cursor: pointer;
}

.help .sidebar.slide h2::before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    content: "\f107";
    margin-right: 5px;

    opacity: 0.5;
}

.help .sidebar h1.home-link {
    font-size: 1em;
}

.help .sidebar h1.home-link a::before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    content: "\f0d9";
    margin-right: 10px;
}

.help .sidebar ul {
    margin: 5px 0px 10px 12px;
}

.help .sidebar.slide ul {
    margin-left: 19px;
}

.help .sidebar.slide ul {
    display: none;
}

.help .sidebar li {
    list-style-type: none;
    font-size: 0.95em;
    font-weight: 400;
    line-height: 1.7;

    cursor: pointer;
}

.help .sidebar li a,
.help .sidebar h1 a {
    color: inherit;
    display: block;
}

.help .sidebar a.highlighted {
    background-color: hsl(152, 40%, 42%);

    /* Extend highlight to entire width of sidebar, not just link area */
    /* This has been changed from "+" to "- -" because of issue #8403.
       If the issue has been fixed, please change this back to "+" again. */
    width: calc(100% - -20px);
    margin-left: -40px;
    padding-left: 40px;
}

.app.help .hamburger {
    display: none;
}

.markdown h1[id]:before,
.markdown h2[id]:before,
.markdown h3[id]:before,
.markdown h4[id]:before {
    display: block;
    content: " ";
    visibility: hidden;
}

.markdown h1[id]:before {
    margin-top: -30px;
    height: 30px;
}

.markdown h2[id]:before,
.markdown h3[id]:before,
.markdown h4[id]:before {
    margin-top: -10px;
    height: 10px;
}

.markdown ul,
.markdown ol {
    margin-left: 30px;
}

.markdown li {
    line-height: 150%;
}

.markdown ol {
    counter-reset: item;
    list-style: none;
}

.markdown ol > li,
.portico-landing.integrations ol > li {
    counter-increment: item;
    margin-bottom: 5px;
}

.markdown ol > li:before,
.portico-landing.integrations ol > li:before {
    content: counter(item);
    display: inline-block;
    vertical-align: top;
    padding: 3px 6.5px 3px 7.5px;
    margin-right: 5px;
    background-color: hsl(170, 47%, 54%);
    color: white;
    border-radius: 100%;
    font-size: 0.9em;
    line-height: 1.1;
    text-align: center;
}

.markdown ol > li > p,
.portico-landing.integrations ol > li > p {
    display: inline-block;
    vertical-align: top;
    max-width: calc(100% - 30px);
    position: relative;
    top: -2px;
}

.markdown ol > li > ul {
    padding-left: 20px;
}

.markdown ol > li > p:not(:first-child) {
    padding-left: 30px;
}

.markdown ul > li:before {
    content: none;
}

#hubot-integrations {
    margin-top: 30px;
}

.title {
    font-family: Helvetica;
    font-size: 100px;
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 60px;
}

.lead {
    font-weight: bold;
}

.pitch {
    width: 600px;
    max-width: 100%;
}

.help-box {
    max-width: 500px;

    padding: 10px;
    margin: 10px 0px;

    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.2;

    color: hsl(0, 0%, 27%);

    border: 1px solid hsl(0, 0%, 86%);
    border-radius: 4px;
    background-color: hsl(0, 0%, 98%);
}

.display-none {
    display: none;
}

.help-box .blob {
    margin-top: 0px;
}

.help-inline {
    font-weight: 400;
    font-size: 0.9rem;
}

.help-inline.text-error {
    color: hsl(1, 54%, 61%);
}

a.title {
    color: black;
}

a.title:hover {
    color: gray;
    text-decoration: none;
}

.fakecontrol {
    padding-top: 5px;
    font-weight: bold;
}

img.screenshot {
    /* This makes it so screenshots are still shown if they are larger than their span.*/
    max-width: 100%;
}

.android-screenshot {
    margin-top: -30px;
    width: 221px;
}

.iphone-screenshot {
    width: 184px;
    margin: 0 32px;
}

.full-width-screenshot {
    width: 100%;
}

/* Silly easter egg for /integrations */
.integral {
    font-weight: normal;
    display: none;
}

.show-integral {
    position: relative;
}

.show-integral:hover:after {
    content: "dx";
    font-weight: normal;
    font-style: italic;
    font-size: 70%;
}

.integration {
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px dashed black;
}

.integration p {
    margin-top: 2em;
}

#pw_strength {
    /* Same width as a Bootstrap default text <input> with padding */
    width: 220px;
    height: 8px;
}

#registration #pw_strength {
    width: 325px;
    margin-top: 20px;
}

.def:before {
    content: " - ";
}

.api-details {
    margin-left: 2em;
}

.api-details ul {
    list-style-type: none;
}

.api-details dd {
    margin-bottom: 1em;
}

.python {
    display: none;
}

.commandline {
    display: none;
}

@media print {
    #portico-area {
        margin-left: 1.5em;
    }
}

.landing-page {
    padding: 2em 0em;
}

.landing-page-bottom {
    padding-bottom: 2em;
}

.landing-page h2,
.landing-page h4 {
    font-weight: lighter;
}

.landing-page p {
    font-size: 120%;
}

.laptop-image {
    width: 787px;
    height: 414px;
    background-image: url('/static/images/landing-page/laptop.png');
    background-size: contain;
}

.laptop-screen {
    position: relative;
    top: 32px;
    width: 507px;
}

.platform-icon {
    width: 33%;
}

.portico-page h1 {
    font-weight: 300;
}

.shaded-background {
    background-color: hsl(0, 0%, 93%);
}

.darker-background {
    background-color: hsl(0, 0%, 28%);
    color: white;
}

.alert-hidden {
    display: none;
}

label.text-error {
    display: inline;

    padding-left: 5px;
}

input.text-error {
    border-color: red;
    outline-color: red;
}

.portico-container {
    position: relative;
}

.portico-container .if-zulip-electron {
    display: none;
}

/* detect if the platform is `ZulipDesktop` and if so, hide this tag! */
.portico-container[data-platform="ZulipElectron"] .if-zulip-electron {
    display: block;
}

.footer {
    margin: 20px;
    z-index: 100;
    width: calc(100% - 40px);

    text-align: center;
}

.footer .footer-navigation {
    margin-left: 0px;
    margin-right: 0px;
}

/* -- new footer -- */
.footer {
    font-size: 0.9em;
}

.footer a {
    color: inherit !important;
}

.footer section {
    width: calc(25% - 40px);
    margin: 0px 20px;
    max-width: 150px;

    display: inline-block;
    vertical-align: top;

    text-align: left;
}

.footer section h3 {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.2;

    margin-bottom: 5px;
}

.footer section ul {
    color: #aaa;

    list-style-type: none;
    margin-left: 0;

    font-weight: 400;
}

/* -- end new footer -- */

.header {
    padding: 15px 0;
}

.header-main .logo {
    display: block;
    text-decoration: none;
    position: relative;
    line-height: 0.8;
}

.header-main .logo .light {
    display: inline-block;
    vertical-align: top;
    margin-top: 8px;

    font-size: 1.2em;
    font-weight: 400;
    color: #333;
    opacity: 0.5;
}

.header-main .logo pipe {
    position: relative;
    top: -1px;
}

.header-main .logo .brand-logo {
    width: 25px;
    margin-top: 3px;
}

.header-main .logo span {
    display: inline-block;
    vertical-align: top;
    margin-top: 8px;
    margin-left: 10px;

    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.header-main .portico-logo {
    height: 28px;
    width: auto;
    padding: 6px 0px 6px 0px;
}

.portico-header .dropdown {
    position: relative;
    display: inline-block;
}

.portico-header .dropdown ul {
    display: none;

    position: absolute;
    right: 0px;
    margin: 10px 0 0 0;
    list-style-type: none;
    width: 200px;

    background: #fff;
    padding: 5px 0px;

    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.portico-header .dropdown.show ul {
    display: block;
}

.portico-header .dropdown ul::before {
    content: "\25B2";

    position: absolute;
    top: -4px;
    right: 9px;

    font-size: 0.5em;
    color: #ddd;

    line-height: 0;

    -webkit-transform: scale(1.8, 1);
}

.portico-header .dropdown ul li {
    display: list-item;
    margin: 0;
    padding: 3px 10px;
    text-align: left;

    opacity: 1;

    cursor: pointer;
}

.portico-header .dropdown ul li:hover {
    background: linear-gradient(to bottom,#08c,#0077b3);
    transition: none;
}

.portico-header .dropdown ul li a {
    display: block;
    margin: 2px 0px;

    transition: none;
    font-size: 0.9em;
    font-weight: 400;

    color: #444;
}

.portico-header .dropdown ul li:hover a {
    background: transparent;
    color: #fff;
}

.portico-header .dropdown ul li a i {
    margin-right: 5px;
}

.portico-header .dropdown-pill {
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    font-weight: 400;
    cursor: pointer;
}

.portico-header .dropdown-pill .realm-name {
    display: inline-block;
    vertical-align: top;

    margin: 0px 5px 0px -4px;
    padding: 1px 0px 1px 5px;

    font-size: 0.9em;
    font-weight: 600;

    line-height: 1.6;
}

.portico-page-container .portico-header .dropdown-pill .realm-name {
    margin-left: -3px;
}

.portico-header .dropdown-pill .realm-name i.fa {
    position: relative;
    top: -2px;

    font-size: 0.6em;
    margin-left: 5px;

    opacity: 0.5;
    transition: all 0.2s ease;
}

.portico-header .dropdown-pill:hover .realm-name i.fa {
    opacity: 1;
}

.portico-header .dropdown-pill .header-realm-icon {
    width: 26px;
    height: 26px;
    vertical-align: top;
    border-radius: 4px;
}

.app {
    width: 100%;
    z-index: 99;
}

.main-headline {
    background-color: hsl(218, 84%, 85%);
    background: url("/static/images/landing-page/gg.jpg");
    background-position: center;
    background-size: cover;
}

a.bottom-signup-button {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 20px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: 300;
}

.signup-signature {
    margin-top: 20px;
    padding-bottom: 50px;
}

.devlogin_subheader {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-top: 0px;
    text-align: center;
    font-size: 16px;
}

.portico-page-header {
    font-weight: 300;
    font-size: 35px;
    display: block;
    padding-top: 40px;
    margin-bottom: 20px;
}

.portico-page-header .portico-page-header-icon {
    margin-right: 12px;
}

.portico-page-header a,
.portico-page-header a:hover {
    color: hsl(0, 0%, 0%);
    text-decoration: none;
    display: inline-block;
}

.portico-large-text {
    font-size: 16px;
    line-height: 20px;
}

.portico-secondary-header {
    font-weight: 300;
    font-size: 25px;
}

.table.table-striped {
    background: #fff;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.1);
}

.team-profiles {
    /* Compensate for gutter width */
    margin: -10px;
    margin-bottom: 20px;
}

.team .profile .profile-name {
    font-weight: 600;
}

.team .profile .profile-role {
    opacity: 0.5;
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: 400;
}

.team .bdfl {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.team .bdfl .profile-picture {
    flex: 0 auto;
    width: 200px;
    margin: 10px;
}

.team .bdfl .profile-picture>img {
    height: auto;
    border-radius: 5px;
}

.team .bdfl .profile-information {
    flex: 1;
    /* Wrap when screen is small to prevent very short line */
    min-width: 300px;
    font-size: 1.4em;
    margin: 10px 10px 0 10px;
}

.team .bdfl .profile-description {
    margin-top: 20px;
    font-weight: 400;
    font-size: 0.8em;
    opacity: 0.8;
}

.team .core-team {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.team .core-team .profile {
    flex: 1;
    min-width: 130px;
    text-align: center;
    align-content: center;
    margin-bottom: 20px;
    margin: 10px;
}

.team .core-team .profile .profile-picture {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 1px 2px 2px hsla(217, 47%, 17%, 0.03), 2px 2px 12px hsla(217, 47%, 17%, 0.09);
    margin-bottom: 10px;
}

.team input {
    display: none;
}

.team label {
    font-size: initial;
    display: inline-block;
    padding: 10px;
    border: 1px solid transparent;
    margin: 0 0 -1px 0;
}

.team label:hover {
    cursor: pointer;
}

.team input:checked + label {
    border: 1px solid #eee;
    border-top: 2px solid yellowgreen;
    border-bottom-color: #fff;
}

.contributors {
    display: none;
}

/* Activated .contributors */
input#total:checked ~ #tab-total,
input#server:checked ~ #tab-server,
input#desktop:checked ~ #tab-desktop,
input#mobile:checked ~ #tab-mobile,
input#python-zulip-api:checked ~ #tab-python-zulip-api,
input#zulip-js:checked ~ #tab-zulip-js,
input#zulipbot:checked ~ #tab-zulipbot {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.contributors .person a {
    color: inherit;
}

.contributors .person {
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contributors .person:hover {
    border: 1px solid #bbb;
}

.contributors .person .avatar {
    width: 60px;
    text-align: center;
    display: inline-block;
    vertical-align: top;
}

.contributors .person .info {
    width: 50%;
    text-align: left;
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
}

.avatar_img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80%;
    border-radius: 20%;
}

.last-updated {
    color: #aaa;
    font-size: 0.8em;
    text-align: center;
}

.integration-instruction-block .integration-lozenge {
    float: left;
    margin-top: 5px;
}

.integration-lozenge .square-wrapper {
    height: 80px;
}

.integration-lozenge-static:hover {
    box-shadow: none;
    background: hsl(0, 0%, 93%);
}

.integration-lozenge .integration-link:hover {
    text-decoration: none;
}

.integration-lozenge .integration-label {
    display: block;
    text-align: center;
    padding-bottom: 18px;
    padding-top: 10px;
}

.integration-instructions {
    margin-left: 220px;
}

.api-page-header,
.authors-page-header,
.integrations-page-header,
.register-page-header {
    font-weight: 300;
    font-size: 40px;
    display: block;
    margin: auto;
    width: 360px;
    text-align: center;
    margin-bottom: 50px;
}

.register-page-header {
    text-align: left;
}

.login-page-header {
    width: 100%;
}

.login-page-subheader {
    font-weight: 300;
    font-size: 24px;
    display: block;
    margin: auto;
    width: 300px;
    text-align: center;
    margin-top: -30px;
    margin-bottom: 50px;
}

.api-page-header,
.authors-page-header,
.integrations-page-header {
    padding-top: 56px;
}

.integrations-page-header,
.register-page-header,
.api-page-header {
    line-height: 42px;
    width: auto;
    margin-bottom: 10px;
}

.apps-muted {
    font-weight: 300;
    font-size: 20px;
    display: block;
    margin: auto;
    text-align: center;
    margin-bottom: 30px;
}

.integrations-page-header,
.api-page-header {
    text-align: left;
}

.integrations-page-header {
    font-size: 25px;
    padding-top: 20px;
}

.integration-instruction-block {
    position: relative;
}

#integration-list-link {
    position: absolute;
    top: 200px;
    left: 30px;
    text-align: center;
    display: none;
    margin-left: 5px;
}

#integration-list-link span {
    display: inline-block;
    margin-left: 5px;
}

.integrations-page-header .integrations-icon {
    font-size: 22px;
    margin-right: 10px;
}

.apps-instructions-header {
    font-weight: 300;
    font-size: 25px;
}

.btn-app-download {
    font-size: 25px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.btn-direct {
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 8px;
    font-size: 18px;
    border-radius: 0px;
    min-width: 300px;
}

.btn-user {
    background-color: #ffffff;
    border-color: hsl(169, 44%, 54%);
    border-style: solid;
    color: hsl(170, 40%, 41%);
}

.btn-admin {
    background-color: #ffffff;
    border-color: hsl(198, 100%, 48%);
    border-style: solid;
    color: hsl(207, 89%, 54%);
}

.login-page {
    text-align: center;
}

.login-page .alert {
    width: 320px;
    margin: auto;
    margin-top: -30px;
    margin-bottom: 15px;
    text-align: center;
}

.login-form {
    margin: auto;
    /* plus input padding. */
    width: calc(300px - -28px);
    margin-bottom: 10px;
}

.register-form {
    display: inline-block;
    text-align: center;
}

.register-button {
    margin-left: 10px;
}

.new-organization-button {
    margin-top: 10px;
}

input.new-organization-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-form .control-label,
.register-form .control-label {
    margin-bottom: 2px;
}

.login-form .direct-label {
    margin-top: 50px;
    margin-bottom: 6px;
}

.login-form .control-group,
.register-form .control-group {
    margin-right: 10px;
}

.login-forgot-password {
    float: right;
    line-height: 40px;
    position: relative;
    right: -15px;
    font-weight: 300;
}

.login-google,
.register-google,
.login-sso,
.login-github {
    max-width: 100%;
    min-width: 300px;
    margin: auto;
    text-align: center;
    margin-top: 10px;
}

.login-google-button,
.register-google-button,
.login-github-button {
    margin-left: 10px;
}

.main-headline-container {
    position: relative;
    height: 100%;
    padding-top: 40px !important;
}

.main-headline-logo {
    display: block;
    width: 200px;
    height: auto;
    margin: auto;
    margin-bottom: 20px;
}

.main-image {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 900px;
    height: auto;
    position: relative;
    bottom: -10px;
}

.main-headline-text {
    display: block;
    text-align: center;
    color: black;
    font-weight: 300;
}

.main-headline-text .tagline {
    font-size: 40px;
    line-height: 42px;
}

.main-headline-text .footnote {
    display: block;
    font-size: 18px;
    color: black;
    margin-top: 15px;
}

.main-signup-button {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 22px;
}

.app-main,
.header-main,
.footer-main {
    min-width: 350px;
    margin: 0px auto;
    padding: 0px 20px 0px 20px;
    position: relative;
}

.footer-main {
    text-align: center;
}

.hello-main {
    max-width: none;
    min-width: 0;
    padding: 0 !important;
}

.footer-navigation {
    list-style: none;
    padding-top: 16px;
}

.footer-navigation li,
.footer-navigation li a {
    display: inline-block;
    vertical-align: middle;
    color: hsl(0, 0%, 46%);
    font-size: 0.9em;
    font-weight: 400;
    cursor: pointer;
}

.footer-navigation li:hover a {
    color: hsl(0, 0%, 27%);
    text-decoration: none;
}

.little-bullet {
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
}

.column-left {
    float: left;
}

.column-right {
    float: right;
}

.top-links {
    text-align: right;
}

.top-links a {
    display: inline-block;
    color: #fff;
    padding: 2px 7px 1px 8px;
    font-weight: 600;
    font-size: 16px;
    -moz-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    border-radius: 4px;
}

.top-links a:hover {
    text-decoration: none;
    background-color: hsla(0, 0%, 100%, 1.0);
    color: hsl(170, 50%, 40%);
}

.centered-button {
    text-align: center;
}

.button-muted {
    display: block;
    font-size: 12px;
    color: hsl(0, 0%, 86%);
}

/* -- password reset container -- */
.password-reset {
    display: inline-block;
    text-align: left;
}

.password-reset form {
    margin: 0px;
}

.password-reset #pw_strength {
    width: 328px;
    margin-top: 20px;
}

.password-reset .control-group .control-label {
    display: block;
}

.password-reset {
    width: 328px;
}

.password-reset .pitch {
    width: auto;
}

.input-group.margin {
    margin: 10px 0px;
}

.input-group .progress {
    margin: 0;
    margin-top: 5px;
    display: inline-block;
}

.password-reset .input-group {
    margin: 15px 0px;
}

.password-reset p {
    margin: 0;
}

.password-reset .progress {
    margin: 0;
}

.password-reset #email-section .fakecontrol {
    display: inline-block;
    margin: 0;
}

.password-reset .input-group input[type=text],
.password-reset .input-group input[type=password] {
    width: calc(100% - 14px);
}

.password-reset .input-group #pw_strength {
    width: 100%;
}

.password-reset .input-group.m-t-30 {
    margin-top: 30px;
}

.center-container {
    min-height: calc(100vh - 94px);
    min-height: 700px;
    display: flex;
    align-items: center;
    -wekbit-box-align: center;
    justify-content: center;
    text-align: center;
}

.center-block .submit-button-box .controls {
    margin: 0px;
}

.center-block {
    text-align: left;
    display: inline-block;
}

.center-block .pitch {
    width: 100%;
    margin-bottom: 20px;
}

.center-block .control-group {
    margin-bottom: 10px;
}

.center-block .control-group label {
    width: 100%;
    display: block;
    margin: 0;
    text-align: left;
}

.center-block .control-group .controls {
    margin: 0;
    text-align: left;
}

.center-block #send_confirm input[type=text] {
    margin-top: 20px;
}

.center-block .button {
    margin-top: 20px;
    padding: 5px 10px;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 300;
}

/* -- markdown styling -- */
.markdown {
    position: absolute;
    right: 0px;
    /* 100vw - sidebar width - paddingTop - paddingBottom */
    width: calc(100vw - 340px - 30px);
    padding: 0px 30px 0px 30px;

    height: calc(100vh - 59px);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;

    background-color: #fff;

    overflow: auto;

    -webkit-font-smoothing: antialiased;
}

.markdown .content {
    padding: 30px;
    max-width: 768px;
    margin-left: 0px;

    min-height: calc(100% - 60px);

    background: #fff;
}

.markdown a {
    color: hsl(176, 46%, 41%);
    font-weight: 600;
}

.markdown .back-to-home {
    float: right;
    margin-top: 13px;
}

.markdown .back-to-home .icon-vector-chevron-left {
    position: relative;
    top: 1px;
    margin-right: 5px;
}

.markdown .back-to-home a:hover {
    text-decoration: none;
}

.markdown strong {
    font-weight: 600;
    white-space: pre;
}

.markdown h1,
.markdown h2,
.markdown h3,
.why-page h1,
.why-page h2,
.why-page h3 {
    font-weight: 700;
}

.markdown h1:hover,
.markdown h2:hover,
.markdown h3:hover {
    cursor: pointer;
}

.markdown h1:hover:after,
.markdown h2:hover:after,
.markdown h3:hover:after {
    display: inline-block;
    font: normal normal normal 16px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    cursor: pointer;
    content: "\f0c1";
    margin-left: 5px;
    vertical-align: middle;
}

.markdown h1,
.why-page .main h1 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.markdown h1#using-zulip,
.markdown h1#zulip-administration {
    font-size: 1.75em;
    padding: 10px 0;
    margin-bottom: 0px;
    line-height: 100%;
}

.markdown h2,
.why-page h2 {
    font-size: 1.4em;
    margin: 5px 0 0 0;
}

.markdown h3,
.why-page h3 {
    font-size: 1.1em;
    opacity: 1;
    margin-bottom: 0px;
}

.markdown img {
    vertical-align: top;
    box-shadow: 0px 0px 4px hsla(0, 0%, 0%, 0.05);
    border: 1px solid #ddd;
    border-radius: 4px;
}

.markdown img.inline {
    height: 1.4em;
    box-shadow: none;
}

.markdown .warn,
.markdown .tip {
    position: relative;
    display: block;
    background-color: hsl(210, 22%, 96%);
    border: 1px solid hsl(210, 22%, 90%);
    border-radius: 4px;
    padding: 10px;
    margin: 5px 0px;
}

.markdown .tip {
    background-color: hsl(46, 63%, 95%);
    border: 1px solid hsl(46, 63%, 84%);
}

.markdown .warn p,
.markdown .tip p {
    margin-bottom: 0;
}

.markdown .tip::before {
    display: inline;
    content: "\f0eb   Tip:  ";
    font-family: FontAwesome, "Yantramanav", Source Sans Pro;
    font-weight: 600;
}

.markdown .tip p:first-of-type {
    display: inline;
}

.markdown ol > li > div.tip,
.markdown ol > li > div.warn {
    margin: 5px 25px 5px;
}

.markdown ol p {
    margin: 0 0 2px;
}

.markdown .indicator {
    position: relative;
    display: inline-block;
    top: 1px;
    padding: 5px;
    border-radius: 6px;
}

.markdown .indicator.grey {
    border: 1px solid hsl(0, 0%, 80%);
}

.markdown .indicator.orange {
    border: 1px solid hsl(29, 84%, 51%);
    background: linear-gradient(to bottom,hsla(0, 0%, 100%, 0.0) 50%,hsla(29, 84%, 51%, 1.0) 50%);
}

.markdown .indicator.green {
    border: 1px solid hsl(106, 74%, 44%);
    background-color: hsla(106, 74%, 44%, 0.3);
}

.markdown .indicator.green.solid {
    background-color: hsl(106, 74%, 44%);
}

/* make sure that it doesn't wrap and disappear around the line.. odd bug. */
.markdown a {
    white-space: pre;
}

.markdown ul {
    margin: 0px 10px 15px 25px;
}

.markdown ul li {
    margin: 5px 0px;
}

.markdown .footer {
    position: relative;
    margin-top: -240px;
    height: auto;
    width: calc(100% - 40px);
    max-width: calc(768px - -20px);
}

.error_page {
    padding: 20px 0px;
    min-height: calc(100vh - 290px);
    background-color: #c9e9e0;
    font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
}

.error_page .row-fluid {
    margin-top: 60px;
}

.error_page img {
    display: block;
    clear: right;
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
}

.error_page .errorbox {
    margin: auto;
    border: 2px solid #44A98C;
    max-width: 500px;
    background-color: white;
    box-shadow: 0 0 4px #44A98C;
    font-size: 18px;
}

.error_page .errorbox.config-error {
    max-width: 750px;
}

.error_page p {
    color: #333333;
}

.error_page .errorcontent {
    text-align: left;
    padding: 40px 40px 30px 40px;
}

.error_page .lead {
    color: #39a688;
    font-size: 35px;
    margin-bottom: 20px;
    line-height: normal;
}

.hourglass-img {
    width: initial !important;
    margin-bottom: 25px !important;
}

@media (max-width: 1000px) {
    .app.help .markdown {
        width: calc(100vw - 50px);
        height: calc(100vh - 59px);
        left: 50px;
        padding: 0px;
    }

    .app.help .markdown .content {
        max-width: none;
    }

    .app.help .hamburger {
        display: block;
        position: fixed;
        top: 70px;
        left: 9px;
        fill: hsl(0, 0%, 100%);
        z-index: 2;


        transition: all 0.3s ease;
        cursor: pointer;
    }

    .app.help .sidebar {
        right: calc(100vw - 50px);
        padding-right: 80px;
        transform: translateX(0);
        transition: all 0.3s ease;
        overflow: hidden;
        height: 100vh;
    }

    .app.help .sidebar.show {
        padding-right: 20px;
        transform: translateX(280px);
    }

    .app.help .sidebar.show + .hamburger {
        transform: translateX(280px);
    }

    .app.help .sidebar.show ~ .markdown {
        -webkit-filter: brightness(0.7);
    }

    .app.help .sidebar:not(.show) .ps__scrollbar-y-rail {
        display: none; /* Hide y-scrollbar on collapsed sidebar view */
    }
}

@media (max-width: 950px) {
    .footer-main {
        text-align: center;
    }

    .footer-navigation {
        margin-left: 0px;
    }
}

@media (max-width: 815px) {
    .footer {
        width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer section {
        width: calc(50% - 40px);
    }
}

@media (max-width: 767px) {
    body {
        padding: 0px !important;
    }

    .input-medium,
    .input-large {
        display: block !important;
        width: 100% !important;
        min-height: 30px !important;
        margin: 0px !important;
        padding: 4px 6px !important;
        line-height: 20px !important;
        box-sizing: border-box !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .postal-envelope {
        transform: none;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
    }

    .letter-form {
        text-align: center;
    }

    .punc {
        display: none;
    }

    .signup-section {
        display: inline-block;
        margin-top: 10px;
    }
}

@media (max-width: 648px) {
    /* this is when the .markdown .footer collapses to two lines. */
    .markdown .footer {
        margin-top: -95px;
    }
}

@media (max-height: 600px) {
    .password-container {
        margin-top: 10px;
    }
}

@media (max-width: 558px) {
    .team .bdfl .profile-name,
    .team .bdfl .profile-role {
        text-align: center;
    }
}

@media (max-width: 500px) {
    .error_page .lead {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .markdown .content {
        padding: 30px 10px 80px 10px;
    }

    .brand.logo .light {
        display: none;
    }

    .center-container {
        display: block;
    }

    .app.help {
        position: absolute;
        height: calc(100vh - 40px);
    }

    .app.help .sidebar {
        width: calc(100% - 40px);
        height: calc(100vh - 40px - 10px - 9px);
    }

    .app.help .sidebar.show {
        transform: translateX(calc(100% - 50px));
    }

    .app.help .sidebar.show + .hamburger {
        transform: translateX(calc(100vw - 50px));
    }

    .app.help .hamburger {
        top: 50px;
    }

    .app.help .markdown {
        height: 100%;
    }

    .app.help .footer-main {
        padding: 0;
    }

    .app-main,
    .header-main,
    .footer-main {
        min-width: auto;
    }

    .app-main {
        padding: 0px;
    }

    .header {
        padding: 4px 0px 6px 0px;
    }

    .header-main {
        max-width: 100vw;
    }

    .markdown ol {
        margin-left: 0px;
    }

    .footer-navigation {
        font-size: 12px;
    }

    .markdown a {
        white-space: pre-wrap;
    }

    .markdown strong {
        white-space: pre-wrap;
    }

    .main-headline-text .tagline {
        font-size: 32px;
        line-height: 34px;
    }

    #apps-tabs li a {
        padding-left: 6px;
        padding-right: 6px;
    }
}

@media (max-width: 475px) {
    .footer {
        width: auto;
    }

    .footer section {
        margin: 0px 3px;
        width: calc(50% - 8px);
    }
}

@media (max-width: 400px) {
    .footer section {
        width: calc(100% - 40px);
        max-width: none;
        text-align: center;
    }
}

@font-face {
    font-family: 'Stamp';
    src: url(data:application/x-font-woff;charset=utf-8;base64,[encoded data, 19992 characters]) format('woff');
    font-weight: normal;
    font-style: normal;
}

.emoji {
    height: 25px;
    width: 25px;
    vertical-align: text-bottom;
}

/* --- new settings styling --- */
.input-group input[type=radio],
.input-group input[type=checkbox] {
    margin: 0 10px 0 0;
}

.input-group input[type=radio] {
    position: relative;
    top: 8px;
}

.input-group label {
    padding: 5px 0px;
}

.input-group label {
    margin: 0;
    padding: 5px 0px;
}

.m-v-20 {
    margin: 20px 0px;
}

.input-group.radio {
    margin-left: 25px;
}

.input-group.grid label.inline-block {
    width: 200px;
}

.input-group.grid {
    padding: 10px 0px;
    border-bottom: 1px solid hsl(0, 0%, 86%);
}

label.label-title {
    font-weight: 600;
}

input.new-organization-button {
    margin-left: auto;
}

.input-group label.inline-block {
    /* eyeballing off-centered aesth. */
    margin-top: 1px;
}

.display-none {
    display: none;
}

.inline-block {
    display: inline-block;
    vertical-align: top;
}

.button-new {
    padding: 8px 15px;
    margin: 0;
    min-width: 130px;

    font-weight: 400;

    background-color: hsl(207, 55%, 53%);
    color: #FFF;
    outline: none;
    border: none;
    border-radius: 2px;

    cursor: pointer;
    transition: all 0.3s ease;
}

/* -- button states -- */
.button-new:hover {
    -webkit-filter: brightness(1.1);
    -moz-filter: brightness(1.1);
    filter: brightness(1.1);
}

.button-new:active {
    -webkit-filter: brightness(0.9);
    -moz-filter: brightness(0.9);
    filter: brightness(0.9);
}

.button-new.sea-green {
    background-color: hsl(177, 70%, 46%);
    color: #fff;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

#find_account .form-control {
    height: 30px;
}

#find_account .btn {
    height: 40px;
    border-radius: 5px;
}

.documentation-footer {
    font-size: .85rem;
    color: hsl(0, 0%, 66%);
}

#devtools-wrapper {
    text-align: right;
}

#devtools-page {
    max-width: 800px;
    margin: 0 auto;
}

.portico-page.error {
    padding-bottom: 0px;
}

.portico-page.error .portico-page-container {
    padding: 0;
}
