@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: "Montserrat", sans-serif!important;
    background-color: #EFEFEF;
}

h1, h2 {
    font-weight: bold;
}

a, a:visited, .btn-link {
    color: #000;
    font-weight: bold;
}

a:hover, a:active, a:focus {
    color: #000;
}

a.btn-primary, .btn-primary {
    color: #FFF;
    background-color: #fbbb44;
    border:none;
    font-size: x-large;
    font-weight: bold;
}

a.btn-primary:hover, a.btn-primary:focus, a.btn-primary:active,
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
    box-shadow: none;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

header {
    color: #fff;
    background-color: #191A1C;
    padding: 1rem;
}

header .brand img {
    width: 150px;
    margin-right: 15px;
}

footer {
    color: #fff;
    background-color: #191A1C;
    padding: 1rem;
}

footer a, footer a:active, footer a:hover, footer a:visited {
    color: #fff;
}

footer a.active {
    text-decoration: underline;
}

img.img-rent-comparison {
    max-width: 500px;
}

#collapseRegistrationForm .form-control {
    border: 1px solid black;
    font-size: 1em;
}

.btn {
    border-radius: 0%;
}

.input-group-text {
    min-width: 50px;
}

.my-reconnect-modal > div{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
    background-color: #fff;
    opacity: 0.85;
    text-align: center;
    font-weight: bold;
    padding: 50px;
}
.components-reconnect-hide > div
{
    display: none;
}

.components-reconnect-show > div
{
    display: none;
}
.components-reconnect-show > .show
{
    display: block;
}

.components-reconnect-failed > div
{
    display: none;
}
.components-reconnect-failed > .failed
{
    display: block;
}

.components-reconnect-rejected >div
{
    display: none;
}
.components-reconnect-rejected > .rejected
{
    display: block;
}

.top-row {
    /* height: 3.5rem; */
    display: flex;
    align-items: center;
    color: #ffffff;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

img.profile-image {
    max-width: 500px;
    width: 100%;
}

.sidebar {
    background-color: #191A1C;
    /* background-image: linear-gradient(180deg, #333333 0%, #000000 70%); */
}

    /* .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    } */

    .sidebar .navbar {
        flex-wrap: nowrap;
    }
    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .navbar-brand img {
        width: 90%;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: transparent;
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

            .sidebar .nav-item a.nav-link {
                opacity: 30%; 
            }
            
            .sidebar .nav-item a.nav-link.active {
                opacity: 100%;
            }

.content {
    padding-top: 1.1rem;
}

.col-form-label {
    font-size: 1em;
}

.col-result {
    font-size: 1.3em;
    text-align: right;
}

.form-control {
    border-radius: 0;
    border: 0;
    background-color: #ffffff;
    font-size: 1.3em;
    font-weight: bold;
    color: black;
    text-align: right;
}

.form-control-left {
    text-align: left!important;
}

.form-control-plaintext {
    background-color: transparent!important;
    font-size: 1.3em;
    font-weight: normal;
    color: black;
    text-align: right;
    padding: .375rem .75rem;
}

.hs-form {
    background-color: #ffffff;
    font-family: "Montserrat", sans-serif!important;
    width: 100%;
    padding: 20px;
}

    .hs-form .hs-input {
        width: 100%;
    }

    .hs-form .field label {
        font-weight: bold;
    }

/* Form Field (selector for form field wrapper) */
.hs-form .hs-form-field {
    padding-bottom: 16px;
  }
  
  /* Descriptions (targets class applied to Help Text divs) */
  .hs-form .hs-field-desc,
  .hs-form .legal-consent-container {
    font-size: 14px;
    line-height: 1.2em;
    padding-bottom: 8px;
  }

/* HubSpot Forms
   ========================================================================== */
   
   li.hs-form-booleancheckbox,
   .hs-error-msgs li {
     list-style: none;
     margin-left: -16px;
     margin-top: 8px;
   }
   
   .hs-form div.submitted-message {
     border:2px solid #009900;
     padding:1.4em 1.4em 1.8em 1.4em;
     background-color:#eeffee;
     margin-bottom:48px;
   }

  /* Labels (selects field labels and error messages) */
  .hs-form label {
    font-weight: bold;
  }
  
  /* Inputs (selectors for all inputs)  */
  .hs-form input[type="text"],
  .hs-form input[type="password"],
  .hs-form input[type="datetime"],
  .hs-form input[type="datetime-local"],
  .hs-form input[type="date"],
  .hs-form input[type="month"],
  .hs-form input[type="time"],
  .hs-form input[type="week"],
  .hs-form input[type="number"],
  .hs-form input[type="email"],
  .hs-form input[type="url"],
  .hs-form input[type="search"],
  .hs-form input[type="tel"],
  .hs-form input[type="color"],
  .hs-form input[type="file"],
  .hs-form textarea,
  .hs-form select {
    border:1px solid #333;
    padding:8px;
    font-size: 16px;
    line-height: 1.7em;
    width:100%;
  }
  
  /* Multi-line inputs (selectors to target multi-line fields */
  .hs-form textarea {
    height:8em;
  }
  
  /* Dropdowns (selectors for dropdowns) */
  .hs-form select {
    padding-top:12px;
    padding-bottom:12px;
  }
  
  /* Error message (selector for validation messages) */
  .hs-form .hs-error-msgs label{
    color: red;
  }
  
  /* Submit buttons (selectors for all non-CTA buttons)
     ========================================================================== */
  
  body .hs-button.primary {
    background-color: #ffcf21;
    border-width: 0px;
    padding: 1em 1.4em;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 2.0em;
  }
  
  body .hs-button.primary:hover {
      background-color: black;
      color: #ffffff;
  }

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.input-group-text {
    border-radius: 0;
    padding: .375rem .55rem;
    background-color: #EFEFEF;
    border:0;
}

.input-group-append {
    width: 53px;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.btn.oi-info, .btn.oi-info:hover, .btn.oi-info:focus, .btn.oi-info:active {
    margin-top: -10pt;
    margin-left: -10pt;;
    font-size: small;
    border-style:none;
    box-shadow: none;
    color: #000;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }

    .col-result {
        text-align: left;
    }

        .col-result span {
            padding: .375rem .75rem;
        }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .hs-form {
        width: 500px;
    }

    .sidebar {
        width: 150px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

        .sidebar .nav-item {
            font-size: 0.9rem;
            padding-bottom: 3rem;
        }

        .sidebar .nav-item:first-of-type {
            padding-top: 7rem;
        }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .col-border-bottom {
        /* border-bottom: 1px solid #000; */
    }
}