﻿@import url("bootstrap-icons-1.10.5/font/bootstrap-icons.css");

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

.invalid {
    outline: 1px solid #ED694A;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    color: #fff !important;
}

*[disabled], *:disabled {
    cursor: not-allowed !important;
    pointer-events: all !important;
}

/** 
 * CUSTOM CSS, SOURCE OF INSPIRATION:
 * https://www.behance.net/gallery/89790125/Flame-Dating-Mobile-Application
 * https://appstack.bootlab.io
 */

html {
}

body {
    font-family: Poppins, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif;
    font-size: .825rem;
    font-weight: 400;
    line-height: 1.625;
    color: #0D0D0D;
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    color: #0D0D0D;
}

h4 {
    font-size: 24px; /* = 1.5rem since 1rem = 16px = base */
    font-weight: bold;
}

h6 {
    font-size: 1rem; /* = 1rem since 1rem = 16px = base */
    font-weight: 600;
}

p {
    font-size: 14px;
}

a, .text-primary, .btn-link, .text-link {
    color: #3f80ea;
}

a.text-reset {
    text-decoration: none !important;
}

a, .bi, img {
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}

h5 > .bi, .btn-block > .bi, .top-bar .bi, .top-close-bar .bi, .characteristics-container .bi {
    font-size: 18px;
}

h6 > .bi {
    font-size: 16px;
}

.bi-lg {
    font-size: 22px;
}

.bi-xl {
    font-size: 36px;
}

.text-danger {
    color: #ED694A !important;
}

.text-warning {
    color: #E89528 !important;
}

.text-success {
    color: #4CD964 !important;
}

.text-dark {
    color: #0D0D0D !important;
}

.text-purple {
    color: #6f42c1!important;
}

/* Took these .text-gray-* from Admin project */
.text-gray-200, .text-grey-200 {
    color: #e2e8f0 !important;
}

.text-gray-300, .text-grey-300 {
    color: #cbd5e1 !important;
}

.text-gray-400, .text-grey-400 {
    color: #94a3b8 !important;
}

.text-gray-500, .text-grey-500 {
    color: #64748b !important;
}

.btn {
    font-size: 14px;
    font-weight: 500;
}

.btn-light, .bg-light {
    background-color: #F8F8F8 !important;
}

.btn-light-grey, .bg-light-grey, .btn-light-gray, .bg-light-gray {
    background-color: #F2F2F2 !important;
}

.btn-primary, .btn-outline-primary.active, .bg-primary {
    background-color: #3f80ea !important;
    border-color: #3f80ea !important;
}

.btn-danger, .btn-outline-danger.active, .bg-danger {
    background-color: #ED694A !important;
    border-color: #ED694A !important;
}

.btn-warning, .btn-outline-warning.active, .bg-warning {
    color: #fff !important;
    background-color: #E89528 !important;
    border-color: #E89528 !important;
}

.btn-success, .btn-outline-success.active, .bg-success {
    background-color: #4CD964 !important;
    border-color: #4CD964 !important;
}

.bg-danger-light {
    background-color: #FFF5F1 !important;
    border-color: #FFF5F1 !important;
}

.badge-danger {
    background-color: #ED694A !important;
}

.badge-light {
    color: #7C7C7C !important;
    background-color: #F8F8F8 !important;
}

.btn-purple {
    color: #fff !important;
    background-color: #6f42c1 !important;
    border-color: #6f42c1 !important;
}

.btn-indigo {
    color: #fff !important;
    background-color: #6610f2 !important;
    border-color: #6610f2 !important;
}

/* .btn-outline-primary:not(.active) {
    color: #3f80ea!important;
} */

/* .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:hover {
    background-color: transparent;
} */

.btn-circle {
    border-radius: 50%;
    height: 55px;
    width: 55px;
    font-size: 22px;
}

.btn.multiline-pill {
    border-radius: 15px;
}

.border-primary {
    border-color: #3f80ea !important;
}

.border-light {
    border-color: #F8F8F8 !important;
}

.border-light-grey, .border-light-gray {
    border-color: #F2F2F2 !important;
}

.border-2 {
    border-width: 2px !important;
    border-style: solid !important;
}

.border-3 {
    border-width: 3px !important;
    border-style: solid !important;
}

.border-4 {
    border-width: 4px !important;
    border-style: solid !important;
}

.border-top-5 {
    border-top: 5px solid #F8F8F8;
}

.border-bottom-5 {
    border-bottom: 5px solid #F8F8F8;
}

::placeholder {
    color: #a1a1a1 !important;
    font-style: italic;
}

.icon-notification-badge {
    position: absolute;
    right: -4px;
    top: 2px;
    background-color: #3f80ea;
    border-radius: 50%;
    height: 9px;
    width: 9px;
}

ul > li {
    cursor: pointer;
}

#loading {
    width: 80%;
    text-align: center;
}

.main {
    flex: 1;
    background-color: #fff;
    margin: auto;
    max-width: 960px;
}

.website-main {
    flex: 1;
    background-color: #fff;
    margin: auto;
}

.content {
    margin-top: 79px; /* margin-bottom top bar 39px + 40px (height top bar + top bar margin-top) */
    margin-bottom: 152px;
}

.website-main .content {
    margin-top: 0px !important;
}

.main .container, .main .content {
    max-width: 960px;
}

h6.intertitle {
    font-style: italic;
    text-transform: uppercase;
    color: #ED694A;
    margin-top: 24px;
    margin-bottom: 20px;
}

h6.intertitle.active {
    color: #0D0D0D !important;
    border-bottom: 3px solid #ED694A;
}

h6.intertitle.d-inline {
    cursor: pointer;
}

.top-bar {
    /*padding: 11px 0px;*/
    padding: 11px 30px 32px;
    background-color: #fff;
    cursor: pointer;
    max-width: 960px;
}

.top-bar .bi {
    color: #ADADAD;
}

.top-bar .bi.active, .top-bar .bi-list {
    color: #0D0D0D !important;
}

.top-bar .bi-lightning-charge-fill.active {
    color: #6f42c1 !important;
}

.top-bar .bi-heart-fill.active {
    color: #4CD964 !important;
}

.top-back-bar {
    padding: 25px 40px;
    background-color: #fff;
    margin: auto;
    cursor: pointer;
    max-width: 960px;
}

.top-back-bar .bi {
    font-size: 18px;
}

.top-close-bar {
    padding: 25px 40px;
    background-color: #fff;
    margin: auto;
    cursor: pointer;
    max-width: 960px;
}

.top-close-bar.transparent span.bi {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 100%;
}

.transparent {
    background-color: transparent !important;
}

.absolute-top {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.back-label {
    text-transform: uppercase;
    margin-left: 8px;
    font-size: 16px;
}

.brand-container {
    margin: 0 auto;
}

#loading .brand-container {
    max-width: 200px;
}

.brand-logo {
    cursor: pointer;
    height: 60px;
}

.top-bar .brand-logo-icon {
    cursor: pointer;
    height: 40px;
    margin-top: -5px;
    border-radius: 50%;
}

.top-bar .belgian-doggos-logo {
    border-radius: unset;
}

/* SIDEBAR */

.collapsible-sidebar {
    background: #202020;
    border-left: 0 solid transparent;
    display: block;
    height: 100%;
    position: fixed;
    width: 280px;
    z-index: 1050;
    top: 0;
    bottom: 0;
    /*box-shadow: 0 0 20rem 5rem rgb(41 48 66 / 10%);*/
    padding: 22px 35px;
    color: #fff;
}

.collapsible-sidebar.collapse-left {
    left: -280px;
    transition: left .2s ease-in-out;
}

.collapsible-sidebar.collapse-right {
    right: -280px;
    transition: right .2s ease-in-out;
}

.collapsible-sidebar.collapse-left.open {
    left: 0;
}

.collapsible-sidebar.collapse-right.open {
    right: 0;
}

.collapsible-sidebar .sidebar-footer {
    position: absolute;
    bottom: 46px;
    max-width: 200px;
    cursor: pointer;
}

#law-sidebar .tos-container {
    text-align: left !important;
    max-height: 750px;
}

#law-sidebar {
    z-index: 1053 !important;
}

/* MODAL */

.modal.show {
    display: block;
}

.modal-content {
    border: none !important;
    border-radius: 15px !important;
    padding: 25px 13px;
    min-height: 175px;
    min-width: 315px;
}

.modal-header, .modal-footer {
    border: none !important;
    display: block;
}

.modal-header, .modal-body, .modal-footer {
    text-align: center;
}

.modal-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    padding: 0 !important;
    margin: 0 !important;
}

.modal-title {
    font-weight: bold !important;
}

.modal-backdrop {
    z-index: 1051 !important;
}

.modal {
    z-index: 1052 !important;
}

#tos-modal {
    z-index: 1053 !important;
}

/* TOAST */

.custom-toast {
    display: none;
    position: fixed;
    z-index: 1031;
    margin: auto;
    min-width: 220px;
    max-width: 960px;
    bottom: 105px;
    left: 0;
    right: 0;
    transition: visibility .3s linear, opacity .3s linear;
}

.custom-toast.visible {
    display: block;
}

.toast-container {
    opacity: 0.8;
    margin: 0 auto;
    background-color: #0D0D0D;
    text-align: center;
    border-radius: 50rem;
    color: #F2F2F2;
    padding: .375rem .75rem;
}

/* NAV */

.nav-sidebar ul.main-list {
    margin-top: 90%;
}

.nav-sidebar ul li.list-group-item {
    background-color: transparent;
    border: none;
    font-size: 16px;
    font-weight: normal;
    padding: 0 0;
    margin-bottom: 20px;
}

.nav-sidebar ul li.list-group-item:last-child {
    margin-bottom: 0px;
}

.nav-sidebar ul li.list-group-item:hover, .nav-sidebar ul li.list-group-item.active, .nav-sidebar ul li a:hover {
    color: #E89528;
    font-weight: bold;
}

.nav-sidebar.collapsible-sidebar ul li, .nav-sidebar.collapsible-sidebar ul li a {
    color: #fff;
    text-decoration: none;
}

.nav-sidebar ul li .bi {
    margin-right: 16px;
}

.nav-sidebar .sub-list-toggle:hover, .sub-list:hover {
    color: #F2F2F2 !important;
    font-weight: normal !important;
}

.nav-sidebar .sub-list ul {
    margin-top: -4px;
    margin-left: 16px;
}

.nav-sidebar .sub-list ul li.list-group-item {
    margin-bottom: 10px;
}

/* CARDS */

.cards-group {
    cursor: pointer;
    margin-bottom: 36px;
}

.cards-group h4.intertitle, .content > h4.intertitle, .website-main .content > .row > .col > h4.intertitle {
    margin-bottom: 24px;
    text-transform: capitalize;
    color: #333333;
    cursor: pointer;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0 solid transparent;
    border-radius: 15px;
    /*box-shadow: 0 0 0.875rem 0 rgb(41 48 66 / 5%);*/
}

.cards-group .card.large {
    height: 270px;
    border-radius: 15px;
}

.card-header {
    background-color: transparent;
    cursor: pointer;
}

.card-footer {
    border: none;
    background-color: transparent;
    padding: 1.25rem 0 0;
}

.card-footer .card-text {
    font-weight: normal;
}

.card-title, .card-text {
    text-transform: capitalize;
}

.cards-group .card > img, .cards-group .card > .card-body {
    width: 100%;
    height: 134px;
    border-radius: 15px;
    object-fit: cover;
}

.cards-group .bi-chevron-down, .cards-group .bi-chevron-right, td > .bi {
    font-size: 18px;
}

.card-date {
    background-color: #F8F8F8;
}

.card-bg-right {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: right !important;
}

.card-bg-center {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}


li.media, ul.status-message-container li, div.status-message-container, .cards-group .media, .info-card, .validation-message {
    border: none;
    background-color: #F8F8F8;
    border-radius: 15px;
    cursor: pointer;
    padding: 15px;
    margin-bottom: 15px;
}

li.media img, .media-img, .cards-group .media img {
    height: 50px;
    width: 50px;
    object-fit: cover;
}

li.media.multiple-images img:first-child {
    margin-left: 0px;
}

li.media.multiple-images img {
    margin-left: -20px;
}

.cards-group .media-body p {
    font-size: 12px;
    font-weight: normal;
    color: #7C7C7C;
    margin-bottom: 0;
}

.cards-group .media-footer .badge-container {
    text-align: right;
    height: 14px;
    margin-bottom: 16px;
}

.cards-group .media-footer .bi {
    font-size: 1.2rem;
    color: #f7f9fc;
    text-shadow: -1px 0 #a1a1a1, 0 1px #a1a1a1, 1px 0 #a1a1a1, 0 -1px #a1a1a1;
}

.cards-group .media .bi.active {
    text-shadow: -1px 0 #f7f9fc, 0 1px #f7f9fc, 1px 0 #f7f9fc, 0 -1px #f7f9fc;
}

.cards-group .media .bi.bi-star-fill.active {
    color: #e5a54b;
}

.cards-group .media .bi.bi-check.active, .cards-group .media .bi.bi-check-lg.active {
    color: #4bbf73;
}

.info-card td, .info-card td a {
    word-break: break-all;
}

.info-card tr.brand-row {
    padding-right: 16px;
}

.info-card h6 {
    margin-bottom: 1.5rem;
}

/* Source horizontal scrolling container: https://codeburst.io/how-to-create-horizontal-scrolling-containers-d8069651e9c6 */

.container-h-scroll {
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.container-h-scroll::-webkit-scrollbar {
    display: none;
}

.h-scroll {
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
}

.h-scroll:hover {
    overflow-x: auto;
    padding-bottom: 4px;
}

.h-scroll > .card {
    display: inline-block;
    margin-right: 16px;
    cursor: pointer;
    border-radius: 15px;
}

.h-scroll .card.thumbnail {
    height: 160px;
}

.h-scroll > .card.narrow {
    width: 110px;
}

.h-scroll > .card.wide {
    width: 270px;
}

.h-scroll > .card > img, .h-scroll > .card > .card-body, .h-scroll > .card > a > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    background-color: #F8F8F8;
}

.h-scroll > .card.thumbnail .btn-circle, .h-scroll > .card.thumbnail .rounded-pill, .horizontal-card .img-overlay {
    position: absolute;
    left: 10px;
    bottom: 10px;
    height: 30px;
    border: none !important;
}

.horizontal-card .img-overlay .btn-circle {
    /*bottom: 10px!important;*/
    height: 30px;
    border: none !important;
    margin-right: 10px;
}

.cards-group .card.thumbnail .btn-circle, .cards-group .card.thumbnail .rounded-pill, .horizontal-card .rounded-pill {
    position: absolute;
    left: 10px;
    top: 94px;
    height: 30px;
    border: none !important;
}

.horizontal-card .rounded-pill {
    top: 10px!important;
}

.h-scroll > .card.thumbnail .btn-circle, .cards-group .card.thumbnail .btn-circle, .horizontal-card .btn-circle {
    width: 30px;
    padding: 4px 0 0;
    font-size: 16px;
}

.h-scroll > .card.thumbnail .rounded-pill, .cards-group .card.thumbnail .rounded-pill, .horizontal-card .rounded-pill {
    padding: 4px 12px;
    font-size: 14px;
}

.text-small, .text-small > .bi {
    font-size: 12px !important;
}

/* OVERLAYS */

.overlay {
    position: absolute;
    border-radius: 15px;
    top: 0;
    cursor: pointer;
    height: 134px;
    width: 100%;
}

.horizontal-card .overlay {
    height: 100%!important;
}

.h-scroll .overlay {
    width: 110px !important;
    height: 160px !important;
}

.h-scroll .wide .overlay {
    width: 270px !important;
}

.overlay-icon-container {
    position: absolute;
    top: -1px;
    right: -1px;
    padding: 2px 4px 4px 8px;
    border-radius: 0px 5px 0px 15px;
}

.overlay-icon-container .bi {
    font-size: 16px;
    color: #fff;
}

.boost-overlay {
    border: 4px solid #6f42c1 !important;
}

.boost-overlay .overlay-icon-container {
    background-color: #6f42c1 !important;
}

.version-overlay {
    border: 4px solid #3f80ea !important;
}

.version-overlay .overlay-icon-container {
    background-color: #3f80ea !important;
    color: #fff;
}

.card .placeholder-overlay {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.65);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    border-radius: 15px;
    object-fit: cover;
    padding-top: 50px;
}

.card .placeholder-overlay h6 {
    font-size: 16px;
    color: #fff;
    font-weight: normal;
    width: 100%;
}

.card .placeholder-overlay .bi {
    color: #fff;
    width: 100%;
}

/*DETAIL*/

.detail-page {
    margin-top: 0px !important;
}

.detail-description-layout {
    margin-bottom: 25px;
}

.description-container {
    overflow-y: hidden;
    margin-bottom: 25px;
}

.description-container.shrunk {
    max-height: 150px;
}

.expand-shrink-label {
    margin-top: -40px;
    position: relative;
    display: block;
}

.expand-shrink-label > a {
    padding: 8px;
    background-color: #fff !important;
}

.shrink-overlay {
    background: linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255));
    height: 150px;
    margin-top: -150px;
    position: relative;
    display: block;
    width: 100%;
}

.object-contain {
    object-fit: contain !important;
}

/* DETAIL */

.detail-with-fab {
    display: inline-block;
    margin-top: -35px !important;
    width: 100%;
}

.btn-boost, .btn-fab {
    position: relative;
    z-index: 999;
    float: right;
    margin-top: -35px;
    margin-right: 10px;
    display: inline;
}

.btn-fit-image {
    display: inline;
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 1;
}

.btn-fit-image .bi {
    font-size: 32px;
}

.detail-block h4 {
    font-style: italic;
}

h6.intertitle {
    font-style: normal;
    text-transform: uppercase;
    color: #ED694A;
    margin-top: 24px;
    margin-bottom: 20px;
}

.detail-description {
    font-weight: normal;
}

.v-scroll {
    overflow-y: auto;
}

.detail-block {
    border-radius: 15px;
    margin-top: -15px;
    position: relative;
    padding: 40px 20px;
    background-color: #fff;
}

/*FOOTER*/

footer.container {
    padding-bottom: 39px;
    padding-top: 11px;
}

.round-buttons-container .btn {
    margin-right: 28px;
}

.round-buttons-container .btn:last-child {
    margin-right: 0;
}

/* SCROLLBARS */

::-webkit-scrollbar {
    -webkit-appearance: none;
    cursor: pointer;
}

::-webkit-scrollbar:vertical {
    width: 6px;
}

::-webkit-scrollbar:horizontal {
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: grey;
    opacity: 0.5;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

/*SCROLLBAR BUTTONS*/

::-webkit-scrollbar-button
{
    background-repeat: no-repeat;
}

/* Left */
::-webkit-scrollbar-button:horizontal:decrement
{
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%0D0D0D' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

/* Right */
::-webkit-scrollbar-button:horizontal:increment
{
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%0D0D0D' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

/*FORMS*/

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 10px;
}

.form-group .form-control {
    border-radius: 20px;
    background-color: #F1F1F1;
    border: none;
    font-size: 14px;
    font-weight: normal;
}

.input-group-prepend .button-group, .input-group-append .button-group, .input-group-text {
    background-color: #F1F1F1;
    border: none !important;
    font-size: 14px;
}

.input-group-prepend .input-group-text:first-child, .input-group-prepend .button-group:first-child {
    border-radius: 20px;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group-append .input-group-text:last-child {
    border-radius: 20px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    background-color: #ED694A !important;
    color: #fff;
    cursor: pointer;
}

.input-group-append .input-group-text:disabled {
    background-color: #F1F1F1 !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #3f80ea !important;
    border-color: #3f80ea !important;
}

.custom-control, .custom-control-input, .custom-control-label {
    cursor: pointer;
}

.form-control-plaintext {
    font-weight: bold;
}

.complex-forms-container select, .complex-forms-container option {
    text-transform: capitalize;
}

.complex-forms-container .form-group, .complex-forms-container .form-group .form-control, .complex-forms-container .form-group label, .complex-forms-container .form-group .form-control-plaintext {
    text-align: center !important;
}

.complex-forms-container .form-group:first-child {
    margin-top: 0.75rem;
}

.complex-forms-container .list-group-item .custom-switch {
    margin-bottom: 0px !important;
}

.complex-forms-header, .complex-forms-container .list-group-item {
    padding: 0.75rem 0 !important;
}

.complex-forms-container .list-group-item span {
    text-align: left !important;
}

.candidacy-section .complex-forms-header {
    border-bottom: 5px solid #F8F8F8 !important;
}

.candidacy-section .list-group-item {
    border: none !important;
}

.characteristics-container .card-header {
    background-color: #F8F8F8;
    border-radius: 15px;
    padding: 15px !important;
}

.characteristics-container .card-header, .characteristics-container .list-group-item {
    border: none !important;
}

.characteristics-container .list-group-item {
    padding: 0.75rem 15px !important;
}

.characteristic-title {
    font-weight: normal !important;
    font-size: 14px !important;
}

/*FILE UPLOAD*/

input[type="file"] {
    display: none;
}

.custom-image-upload {
    border: 2px dashed #DDDDDD;
    display: block;
    padding-top: 40px;
    height: 160px;
    cursor: pointer;
    border-radius: 15px;
    text-align: center;
}

.custom-image-upload h6 {
    font-size: 16px;
    color: #C4C4C4;
    font-weight: normal;
}

.custom-image-upload .bi {
    color: #0D0D0D;
}

/*FORM VALIDATION*/

.validation-errors {
    padding-left: 0;
    list-style: none;
    margin-top: 20px;
}

.validation-message {
    color: #ED694A;
    background-color: #FFF5F1 !important;
    border-color: #FFF5F1 !important;
    font-size: 14px;
    text-align: center;
}

/*LEASHR WEBSITE*/

section h1, section h2, section h3, section h4, section h5, section h6 {
    font-weight: bolder;
}

.sticky-top {
    top: -1px !important;
}

.main-nav {
    margin-top: 1rem;
}

.main-nav ul {
    align-items: center;
}

.main-nav .nav-item {
    border: none;
    font-size: 1rem;
    font-weight: normal;
}

.main-nav .nav-item.active a, nav .main-nav a:hover, .dropdown-item.active, .dropdown-item:hover, .dropdown-item a:hover,
footer .nav-item > a.active, footer .nav-item > a:hover, footer a:hover {
    color: #E89528 !important;
    background-color: transparent !important;
}

.main-nav a, .navbar-light .navbar-nav .nav-link {
    color: #0D0D0D;
    text-decoration: none;
    padding-left: .8rem!important;
    padding-right: .8rem!important;
}

/*.navbar-inline .nav-item > a {*/
/*    color: inherit;*/
/*    text-decoration: none;*/
/*}*/

.navbar-light .navbar-toggler {
    margin-top: 1rem;
    color: #0D0D0D !important;
    border-color: transparent !important;
    font-size: 18px;
}

.navbar-toggler:focus {
    outline: none !important;
}

.main-nav .dropdown-toggle:hover, .dropdown-menu:hover {
    color: #0D0D0D !important;
    font-weight: normal !important;
}

.dropdown-menu {
    background-color: #F8F8F8 !important; /* #F2F2F2 */
    border: none !important;
    border-radius: 15px !important;
    padding: 15px 5px !important;
    box-shadow: 0.875rem 0.875rem 0.875rem 0 rgb(41 48 66 / 10%);
    z-index: 1021 !important;
}

.dropdown-item {
    font-size: 14px;
}

.dropdown-toggle::after, .dropdown-toggle::before {
    display: none !important;
}

.hover-elevation:hover {
    box-shadow: 0.875rem 0.875rem 0.875rem 0 rgb(41 48 66 / 10%);
}

.footer {
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.prev-section-link h1, .next-section-link h1 {
    color: #ED694A !important;
}

section h1.bi-chevron-up, section h1.bi-chevron-down {
    margin-bottom: 0px !important;
}

section {
    padding-top: 105px;
    padding-bottom: 60px;
}

section h2 {
    margin-bottom: 40px;
}

section .justify-content-center p {
    max-width: 600px;
}

section .row.justify-content-center .cta {
    margin-bottom: 60px;
}

.next-section-link {
    margin-top: 25px;
    display: block;
}

.prev-section-link {
    margin-bottom: 25px;
    display: block;
}

section .brand-container {
    margin-top: 75px;
    margin-bottom: 120px;
    max-height: 100px;
}

section .brand-logo {
    cursor: pointer;
    max-height: 100px;
}

.social-icons-container {
    margin-top: 130px;
}

.social-icons-container ul, .social-icons-footer ul {
    list-style: none;
    padding: 0px;
}

.social-icons-container ul li {
    display: inline-block;
    margin-right: 25px;
}

.social-icons-container .bi {
    font-size: 30px;
    color: #0D0D0D;
}

.social-icons-footer ul li {
    display: inline-block;
    margin-right: 10px;
}

.social-icons-footer .bi {
    font-size: 18px;
    color: #0D0D0D;
}

.overlap {
    position: absolute;
    top: 100px;
    right: 70px;
}

/*ACCORDION*/

.accordion .cards-group .collapsed h4.intertitle {
    margin-bottom: 0px !important;
}

/*CAROUSEL*/

.carousel.slide {
    min-height: 175px;
}

.carousel.slide, .carousel.slide img {
    object-position: top;
}

.carousel-control-prev-icon.dark {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23212529' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon.dark {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23212529' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-indicators {
    bottom: 15px;
    cursor: pointer;
}

.carousel-indicators li {
    border-radius: 50%;
    width: 7px;
    height: 7px;
    border: none;
}

.carousel-indicators li.active {
    width: 11px;
    border-radius: 10rem;
}

.carousel-control-prev, .carousel-control-next {
    cursor: pointer;
}

.carousel-inner, .carousel-item {
    overflow: hidden;
}

.carousel-item img {
    margin: auto;
}

section .carousel-item, section .carousel-item img {
    border-radius: 15px;
}

.detail-page .carousel-item, .detail-page .carousel-item img {
    border-radius: 0px!important;
}

.carousel-caption {
    position: unset;
    color: #0D0D0D;
}

.carousel-caption h5 {
    margin-bottom: 1rem !important;
}

/*ADOPT APP*/

/* SWIPE LAYOUT */

.swipe-layout {
    position: relative;
    margin: auto 15px;
}

.swipe-layout .card {
    display: none;
    transform-origin: 50% 100%;
    transition: visibility .3s linear, opacity .3s linear;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 15px;
}

.swipe-layout .card:first-child {
    display: flex;
    opacity: 1;
    z-index: 3;
    top: 28px;
}

.swipe-layout .card:nth-child(2), .swipe-layout .card:nth-child(3), .swipe-layout .card:nth-child(2) img, .swipe-layout .card:nth-child(3) img {
    display: flex;
    max-height: 150px !important;
    box-shadow: none !important;
}

.swipe-layout .card:nth-child(2) {
    opacity: 0.8;
    z-index: 2;
    top: 14px;
    left: 22px;
    right: 22px;
}

.swipe-layout .card:nth-child(3) {
    opacity: 0.6;
    z-index: 1;
    left: 29px;
    right: 29px;
}

.swipe-layout h5.card-title {
    font-size: 18px;
    font-weight: 600;
}

.swipe-layout .card:nth-child(3) .card-footer {
    display: none;
}

.swipe-layout .card-img-top {
    width: auto;
    object-fit: cover;
    object-position: top;
    border-radius: 15px;
    box-shadow: 0.875rem 0.875rem 0.875rem 0 rgb(41 48 66 / 10%);
}

.swipe-layout .card-img-overlay.status {
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius: 15px;
}

.swipe-layout .card-img-overlay.status.bg-danger {
    background: rgba(237, 105, 74, 0.7) !important;
}

.swipe-layout .card-img-overlay.status.bg-success {
    background: rgba(76, 217, 100, 0.7) !important;
}

.swipe-layout .card-img-overlay.status > button {
    margin-top: 50%;
    background-color: #fff;
}

/* Source: https://codepen.io/suez/pen/MaeVBy */

.swipe-layout > .card.to-left {
    transform: translateX(-30rem) rotate(-30deg) !important;
}

.swipe-layout > .card.to-right {
    transform: translate(30rem) rotate(30deg) !important;
}

.swipe-layout > .card.reset {
    transition: transform 0.3s;
    transform: translateX(0) !important;
}

.swipe-layout > .card.inactive {
    transition: transform 0.3s;
}

/* SWIPE BUTTONS */

#swipe-buttons.row.fixed-bottom {
    padding-bottom: 39px;
}

#swipe-buttons {
    padding-top: 11px;
    background-color: #fff;
}

.swipe-buttons-container {
    width: 222px;
    margin: 0 auto;
}

.btn-swipe {
    margin-right: 28px;
}

.btn-swipe {
    font-size: 18px !important;
}

.btn-swipe:last-child {
    margin-right: 0px;
}

/*INBOX*/

.faded {
    opacity: 0.4;
}

/*SPOTLIGHT*/

img.spotlight, .boost-border {
    border: 4px solid #6f42c1;
}

.spotlight .overlay {
    height: 134px;
    width: 100%;
}

.swipe-layout .overlay {
    border: none !important;
    right: 4px !important;
    top: 4px !important;
}

/* PREFERENCES */

.preferences-container {
    right: -100px;
    top: 65%;
    background-color: #F2F2F2;
    z-index: 1050;
    box-shadow: none;
    padding: 15px 22px;
    border-radius: 0 0 0 15px;
    color: #0D0D0D;
    width: 260px;
    height: 210px;
}

.preferences-container.open {
    right: 0;
    box-shadow: 0 0 0.875rem 0 rgb(41 48 66 / 5%);
}

.preferences-container h6 {
    margin-bottom: 16px;
}

.preferences-container table th, .preferences-container table td {
    padding-bottom: 8px;
}

.preferences-container table th {
    font-weight: 500;
}

.btn-preferences-container {
    right: -5px;
    position: fixed;
    top: 65%;
    z-index: 1050;
    cursor: pointer;
    border-radius: 15px 0 0 15px;
    border: none;
}

.btn-preferences-container.open {
    right: 255px;
    transition: right .2s ease-in-out;
}

.btn-preferences-container:focus {
    box-shadow: none;
}

.btn-preferences-container > .bi {
    font-size: 18px !important;
}

.preference-screen input {
    border: none;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.preference-screen ul.list-group {
    max-height: 300px;
    overflow-y: auto;
}

.preference-screen li > .bi.bi-check, .preference-screen li > .bi.bi-check-lg {
    display: none;
}

.preference-screen li.active > .bi.bi-check, .preference-screen li.active > .bi.bi-check-lg {
    display: inline-block;
}

.preference-screen li {
    border: none !important;
    cursor: pointer;
}

.preference-screen li span {
    min-height: 29px;
}

.preference-screen li span.bi-check {
    font-size: 18px;
}

.modal-body .list-group-item.active {
    z-index: 0;
    color: #ED694A;
    background-color: #fff;
    border-color: rgba(0, 0, 0, .125);
}

/* TODO: AUTH SCREENS - PROFILE SCREENS - PREFERENCE SCREENS */

.auth-screen, .profile-screen {
    padding-left: 35px;
    padding-right: 35px;
}

.auth-screen h4, .profile-screen h4 {
    color: #333333;
    margin-bottom: 30px;
}

.website-main .auth-screen > h4 {
    margin-top: 30px !important;
}

.website-main .auth-screen > .profile-section {
    margin-top: 30px !important;
}

.auth-screen button, .profile-screen button.btn-lg {
    margin: 30px 0;
    font-size: 16px;
    font-weight: 500;
}

.action-section button.btn-lg {
    margin: 8px 0 !important;
}

.profile-section {
    margin-bottom: 60px;
}

.auth-screen p, .profile-screen p {
    font-size: 14px;
    font-weight: normal;
}

.profile-page .profile-picture {
    width: 115px;
    height: 115px;
    object-fit: cover;
    object-position: center;
}

.profile-page .profile-picture.mini {
    width: 50px;
    height: 50px;
}


/* MEDIA QUERIES */

/* iPhone 5 */
@media (min-width: 320px) {
    #loading {
        margin: 50% auto;
    }

    .nav-sidebar ul.main-list {
        margin-top: 10%;
    }

    .main .carousel.slide, .carousel.slide img {
        max-height: 345px;
    }

    .swipe-layout .card, .swipe-layout .card img {
        max-height: 270px;
    }

    section {
        padding-top: 85px;
        padding-bottom: 30px;
    }
}

/*GOOGLE MAPS*/

/*INFO WINDOW HEADER*/

.gm-style-iw.gm-style-iw-c {
    border-radius: 15px;
}

.gm-style-iw.gm-style-iw-c, .gm-style-iw-chr, .gm-style-iw-ch {
    padding: 0!important;
}

.gm-style-iw-chr button {
    position: absolute!important;
    right: 0!important;
    z-index: 999!important;
    background: rgba(255, 255, 255, 0.4) !important;
    border-radius: 100%!important;
}

/*INFO WINDOW BODY*/

.gm-style-iw-d, .gm-style-iw-chr {
    overflow: hidden!important;
}

.gm-style-iw-d .horizontal-card.mb-3 {
    margin-bottom: 0!important;
}

/*MEDIA QUERIES*/

@media (max-width: 360px) {
    .modal-dialog {
        margin: 0.15rem;
    }
}

/* Galaxy S5, S8+  */
@media (min-width: 360px) {
    .nav-sidebar ul.main-list {
        margin-top: 20%;
    }

    .main .carousel.slide, .carousel.slide img {
        max-height: 415px;
    }

    .swipe-layout .card, .swipe-layout .card img {
        max-height: 350px;
    }

    section {
        padding-top: 85px;
        padding-bottom: 30px;
    }
}

/* iPhone SE */
@media (max-width: 375px), (max-height: 900px) {
    .complex-forms-container {
        overflow-y: auto;
        overflow-x: hidden !important;
        max-height: 380px;
    }
}

/* iPhone 6/7/8 */
@media (min-width: 375px) {
    .nav-sidebar ul.main-list {
        margin-top: 30%;
    }

    .main .carousel.slide, .carousel.slide img {
        max-height: 445px;
    }

    .swipe-layout .card, .swipe-layout .card img {
        max-height: 350px;
    }

    .profile-page .carousel-item img {
        max-height: 200px;
    }

    section {
        padding-top: 85px;
        padding-bottom: 30px;
    }
}

@media (max-width: 375px) {

}

/* Pixel 2 */
@media (min-width: 411px) {
    .nav-sidebar ul.main-list {
        margin-top: 40%;
    }

    .main .carousel.slide, .carousel.slide img {
        max-height: 470px;
    }

    .profile-page .carousel-item img {
        max-height: 200px;
    }

    .swipe-layout .card, .swipe-layout .card img {
        max-height: 415px;
    }

    section {
        padding-top: 105px;
        padding-bottom: 30px;
    }
}

@media (max-width: 540px) {

}

/* Surface Duo */
@media (min-width: 540px) {
    .nav-sidebar ul.main-list {
        margin-top: 50%;
    }

    .main .carousel.slide, .carousel.slide img {
        max-height: 500px;
    }

    .swipe-layout .card, .swipe-layout .card img {
        max-height: 415px;
    }

    .profile-page .carousel-item img {
        max-height: 200px;
    }
}

@media (max-width: 540px) {
    .container > .detail-page {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (max-width: 768px) {
    .detail-page .carousel-item img {
        aspect-ratio: unset!important;
    }
}

/* iPad */
@media (min-width: 768px) {
    /* TODO: and max-with: 968px (to check) */
    .main .carousel.slide, .carousel.slide img {
        max-height: 800px;
    }

    .swipe-layout .card, .swipe-layout .card img {
        max-height: 700px;
    }

    .swipe-layout .overlay .overlay-icon-container {
        padding: 4px 6px 6px 10px !important;
    }

    .swipe-layout .overlay .bi {
        font-size: 18px !important;
    }

    .swipe-layout .boost-border {
        border: 6px solid #6f42c1;
    }

    section {
        padding-top: 105px;
        padding-bottom: 60px;
    }
}

/* iPad Pro but also Macbook and all the rest */
@media (min-width: 1024px) {
    .main .carousel.slide, .carousel.slide img {
        max-height: 625px;
    }

    #loading {
        margin: 15% auto;
    }

    .swipe-layout .card, .swipe-layout .card img {
        max-height: 600px;
    }
}

/*Checking for cursor accuracy to know when on touch screen or using mouse.*/
@media (pointer: coarse) {
    .h-scroll::-webkit-scrollbar {
        display: none;
    }

    .h-scroll {
        overflow-x: auto;
    }
}