:root {
    --border-color: #e9e9e9;
    --border-color-middark: #cbd4d8;
    --main-color-red: #ff0000;
}
html {
    height: 100%;
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    background-color: #f8f8f8;
    position: relative;
    height: 100%;
    min-height: 100%;
}
input.form-control,
select.form-control,
textarea.form-control {
    font-size: .8rem;
}
.text-red {
    color: var(--main-color);
}
.text-highlight {
    color: #337ab7;
}
a {
    color: var(--main-color);
}
.btn {
    border-radius: 4px;
    padding: 7px 20px;
    font-weight: 600;
    pointer-events: all;
    font-size: 14px;
}
.btn.btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}
.btn.btn-xs {
    padding: .25rem .5rem;
    font-size: .625rem;
    line-height: 1.3;
    border-radius: .2rem;
}
.btn.btn-primary {
    border: none;
    background: var(--main-color);
    color: #ffffff;
}
.btn-outline-primary {
    color: var(--main-color);
    border-color: var(--main-color);
    pointer-events: all;
    font-size: 14px;
    font-weight: 600;
}
.btn-outline-primary:hover {
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.btn.btn-danger {
    background: #dc3545;
    color: #ffffff;
}
.btn.btn-danger:hover {
    background: #bd2130;
}
.form-control::placeholder {
    color: rgba(6, 6, 6, 0.5);
    opacity: 1;
    font-size: 13px;
    font-style: italic;
}
.help-block.with-errors,
.error-message {
    font-size: 12px;
    color: #ff0000;
}
.help-block.with-errors ul {
    margin: 0;
}
.gray-text {
    color: #6c757d;
}
.cb-red, .cb-red:hover, .btn-primary:not(:disabled):not(.disabled):active{
    background: var(--main-color);
    border: var(--main-color);
}
.dropdown-toggle, .dropdown-menu {
    font-size: .9rem;
}
.select2-container--default .select2-selection--single {
    border-color: #ced4da;
    height: 35px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 35px;
    line-height: 32px;
    font-size: .8rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 35px;
    line-height: 32px;
}
.card-xs .card-header {
    padding: .35rem .65rem;
    font-size: 12px;
}
.card-xs .card-body {
    padding: .65rem;
    font-size: 13px;
}
.card-xs h5 {
    font-size: .875rem;
}
.text-smaller {
    font-size: .8rem;
}
.list-group-sm a {
    display: block;
    padding: .5rem .85rem;
    border-bottom: 1px solid var(--border-color);
}
.m0 {
    margin: 0;
}
.custom-alert {
    margin: 10px auto;
    font-size: 12px;
    text-align: center;
    display: inline-block;
    padding: .35rem .75rem;
}
.custom-alert.alert-info {
    background-color: #eaf7f9;
    border-color: #d0f2f7;
}
.alert-with-icon {
    display: flex;
    align-items: center;
    padding: .5rem 1rem;
}
.alert-with-icon .icon {
    font-size: 1.6rem;
    margin-right: 1rem;
}
.alert-with-icon p {
    font-size: 0.8rem;
    margin: 0;
}
.alert-with-icon strong {
    display: block;
    font-size: .875rem;
}
.custom-badge {
    background-color: #ecebeb;
    margin: 0 2px;
}
.badge-faded.badge-info {
    background-color: #e0f3ff;
    color: #0a466d;
    font-weight: normal;
}
.accordion h2 {
    border-bottom: 1px solid var(--border-color-middark);
}
.accordion h2 button {
    display: flex;
    flex: 1 1 auto;
    padding: 10px;
    justify-content: space-between;
    background-color: #f1f4f5;
}
.accordion h2 button::after {
    display: inline-block;
    margin-top: 7px;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}
.bg-dark-less {
    background-color: #f5f4f2;
}
body.swal2-height-auto {
    height: 100% !important;
}
/*---------------- HEADER CSS --------------------*/
.main-header {
    height: 130px;
}
#search-field {
    padding: 5px 10px;
    width: 230px;
    display: block;
    border-radius: 4px;
    border: 1px solid #d7d3d3;
}
a:hover{
    text-decoration:none;
}
.white{
    color:#ffffff;
}
#date {
    color: gray;
    font-size: 14px;
}
.h80{
    height:80px;
}
.search-icon {
    position: absolute;
    right: 10px;
    top: 5px;
    width: 20px;
}
.menu-icon {
    width: 50px;
    height: 35px;
    padding: 10px 15px;
    font-size: 20px;
    text-align: center;
}
.mobile-menu-icon{
    background-image:url('/assets/images/icon_menu_white.png');
    width:22px;
    position: absolute;
    left: 0;
    top: 5px;
    background-size: cover;
    height: 22px;
}
.user-block{
    position:absolute;
    right:0;
    top:10%;
}
.header-block{
    width:100%;
}
.authentication-button {
    color: #ffffff;
    background: var(--main-color);
    padding: 4px 14px 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.menu-side a {
    text-decoration: none;
    color: #ffffff;
}
.menu-side li.separator {
    border-bottom: 1px solid rgba(255,255,255,.5);
}
.authentication-button img {
    width: 25px;
    text-align: left;
    margin-right: 10px;
}
#authentication .register-button {
    width: 320px;
}
.logo-img {
    width: 160px;
}
.material-icons {
    color: #009688;
    margin: 10px;
    position: fixed;
}
.material-icons:hover {
    color: #00BCD4;
}
#dropdownCompanies.dropdown-toggle {
    white-space: initial;
    background: #AAA;
    border: none;
}
.menu {
    overflow-x: hidden;
    position: absolute;
    left: 55px;
    padding: 10px;
    top: 10px;
    z-index: 101;
    background-color: var(--main-color);
    border-radius: 5px;
}
.menu-open {
    left: 230px;
}
.menu-open .menu-side {
    width: 230px;
}
.menu-side,
.menu {
    -webkit-transition: left 300ms ease-in-out;
    -moz-transition: left 300ms ease-in-out;
    transition: left 300ms ease-in-out;
}
.menu-side {
    background-color: var(--main-color);
    color: #fff;
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 55px;
    overflow: hidden;
    transition: 300ms ease-in-out;
}
.menu-toggle {
    color: #fff;
    font-size: 25px;
    text-decoration: none;
    margin: 0;
    padding: 0;
}
.menu-side ul {
    padding-top: 30px;
    margin: 0;
    width: 230px;
    padding-left: 0;
}
.menu-side ul li img{
    width: 40px;
    margin: 0 15px 0 1px;
    padding: 5px 8px;
}
.menu-side ul li {
    list-style: none;
    margin-bottom: 10px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    padding-left: 10px;
}
.menu-open .new-hover:hover {
    background: #ffffff54;
    margin: 0 10px 0 0;
    border-radius: 4px;
}
.new-hover a {
    display: flex;
    align-items: center;
}
.menu-open .menu-side ul li img:hover {
    background: transparent;
}
#nav-icon3{
    width: 30px;
    height: 25px;
    position: relative;
    margin: 25px 15px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}
#nav-icon3 span {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background: #2a86bd;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
#nav-icon3 span:nth-child(1) {
    top: 0;
}

#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
    top: 10px;
}

#nav-icon3 span:nth-child(4) {
    top: 20px;
}

#nav-icon3.open span:nth-child(1) {
    top: 18px;
    width: 0;
    left: 50%;
}

#nav-icon3.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
#nav-icon3.open span{
    height: 1px;
}
#nav-icon3.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
    top: 18px;
    width: 0;
    left: 50%;
}
.menu-logged-user {
    border-width: 1px 0;
    border-style: solid;
    border-color: rgba(255,255,255,.3);
    padding: 10px 15px !important;
    margin: 10px 0 !important;
}
.page-container {
    min-height: 100%;
}

/* ---- mobile menu --------- */
.home-category-menu ul {
    list-style: none;
    padding: 0;
    text-align:right;
}
.mega-menu-home-subcat a {
    color: #000000;
    text-transform: uppercase;
    text-align: right;
    padding-right: 33px;
}
.mobile-menu-content {
    background: #fff;
    border-top: 1px solid #d9d5d5;
    padding-top: 20px;
    position: fixed;
    width: 100%;
}
.icon-down{
    background-image:url('/assets/images/icon_down.svg');
    width:12px;
    height:12px;
}
.icon-right{
    background-image:url('/assets/images/icon_right.svg');
    width:12px;
    height:12px;
}
.icon-up-red{
    background-image:url('/assets/images/icon_up_red.svg');
    width:12px;
    height:12px;
}
.mobile-arrow {
    position: absolute;
    right: 3px;
    top: 3px;
}
.subcateg-link .icon-right {
    position: absolute;
    right: 3px;
    top: 3px;
}
.mega-menu-home-children {
    background: #eee;
    padding: 10px 15px !important;
    margin: 5px -15px 0 -15px;
}
.dark-layer {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #242424c9;
    z-index: 1099;
    top: 0;
}
.subcateg-link {
    padding-bottom: 12px;
}
.subcateg-link:last-child {
    padding-bottom: 0;
}
.closed-menu{
    margin-top: -150vh !important;
}
.mobile-overflow{
    overflow-y:scroll;
    overflow-x:hidden;
}
/* ---------- footer -----------*/
.footer  {
    background: #23262d;
    height: 230px;
}
.copyright-block {
    background: #23262d;
}
.footer ul {
    list-style: none;
    padding: 15px 0 0 5px;
}
.footer ul li span, .copyright {
    color: #fff;
    font-size: 12px;
}
.footer-left-col ul li {
    line-height: 23px;
}

.social-link i {
    font-size: 24px;
}
.footer-left-col {
    position: absolute;
    left: 0;
    top: 30px;
}
.footer-text{
    margin:20px auto;
    color:#eae4e4;
    width:500px;
}
.white-logo {
    width: 80px;
}
.bottom-graphic {
    background-image: url("/assets/images/square_down.png");
    background-repeat: repeat-x;
    height: 40px;
}
.hidden-overflow{
    overflow-y: hidden;
}
.main-menu .menu-side {
    position: relative;
    width:auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.main-menu{
    width:230px;
}
.menu-side .logos {
    margin: 20px auto;
    text-align: center;
}
.menu-side .logos > div {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- HOME PAGE -------------- */
#searchCategories {
    border: 2px solid #aaa;
}
#searchCategories:focus {
    outline: none 0 !important;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}
.red-h4 {
    color: #dc3232;
}
.categories-wrapper {
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
}
.notice-category h2 {
    font-size: 1.2em;
    background-color: var(--border-color);
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-align: center;
}
.notice-subcategory {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
}
.notice-category h3 {
    width: 100%;
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    margin: 15px 0;
}
.home-notices-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px 20px;
    padding-top: 20px;
}
.notice {
    display: flex;
    align-items: stretch;
}
.notice a {
    display: block;
    color: #000;
    text-decoration: none;
    padding: 20px;
    background-color: #fff;
    width: 100%;
    border: 1px solid var(--border-color);
    box-shadow: 3px 3px 6px rgba(0,0,0,.05);
    border-radius: .25rem;
}
.notice a:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}
.notice-img {
    width: 50px;
    height: 50px;
    position: relative;
    display: inline-block;
    margin: 10px 0;
    align-self: center;
}
.notice-img .img-top {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

.notice:hover .img-top {
    display: inline;
}
.notice-title {
    font-size: 13px;
    line-height: 15px;
}
.content-wrapper {
    background: #efefef7a;
}

.numbers li a {
    border: 1px solid #c2c2c2;
    padding: 8px 10px;
    font-weight: bold;
    color: gray;
}
.numbers .active a {
    color: #dc3232;
    font-weight: bold;
}
.prev-arrow li a{
    border-radius: 4px 0 0 4px;
}
.next-arrow li a {
    border-radius: 0 4px 4px 0;
}
.pagination span li a:hover {
    text-decoration: none;
    color: #000000;
}
.sim-row-delete {
    display: none;
}
#text br {
    display: none;
}

#text br {
    display: block !important;
}
.login-form {
    background: #ffffff;
    max-width: 320px;
    margin: 0 auto;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 1px 1px 5px 1px #0000000a;
}
.login-form .le-input {
    border-radius: 4px;
    border: 1px solid #e6e3e3;
    padding: 7px;
}

.authentication-button a {
    color: #ffffff;
    text-decoration: none;
}

[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

.auth-button {
    width: 100%;
    background: var(--main-color);
    color: #ffffff;
    border-radius: 4px;
    border: none;
    padding: 7px;
    font-weight: 600;
    pointer-events: all;
    cursor: pointer;
}
.forgot-password {
    margin: 0 auto;
    padding: 10px;
    font-size: 13px;
}
.forgot-password a{
    color: rgba(6, 6, 6, 0.85);
}
.register-button {
    margin: 0 auto;
    text-align: center;
    background: transparent;
    border-radius: 4px;
    padding: 7px;
    border: 1px solid var(--main-color);
    transition: .5s fade-in;
    color: var(--main-color);
    font-weight: 600;
}
.register-button a{
    color: var(--main-color);
    font-weight:600;
    text-transform: none;
}
.register-button:hover{
    background: var(--main-color);
    transition: .5s fade-in;
    color: #ffffff;
}
.register-form .term {
    color: #2d2c2c;
    font-size: 13px;
    float: left;
    width: 15px;
    height: 15px;
}
.register-button:hover a{
    color: #ffffff;
    text-decoration:none;
}
.register-form {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 15px;
    box-shadow: 1px 1px 5px 1px #eee;
}
.register-form .form-group{
    font-size: 12px;
}

.apartment-fields {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/*----------- Autentificare -------------*/
#authentication {
    display: flex;
    width: 100%;
    height: 100%;
}
/*--------- Cookie disclaimer ------------*/
#cookie-disclaimer {
    width: 100%;
    font-size: .825rem;
    line-height: 1.3rem;
    padding: 10px;
    background: rgba(0,0,0,.8);
    color: #ffffff;
    position: fixed;
    z-index: 102;
    bottom: 0;
}
#cookie-disclaimer .container {
    max-width: 1160px;
}
#cookie-disclaimer a {
    color: #ffffff;
    border: 1px solid var(--main-color);
    padding: 3px 8px;
    display: inline-block;
    margin: 8px 10px 0 0;
    transition: all 500ms;
}
#cookie-disclaimer a:hover {
    text-decoration: none;
    background: var(--main-color);
}
.note-big-title {
    font-size: 1rem;
    font-weight: 600;
}
.note-title {
    font-size: .725rem;
    font-weight: 600;
}
/* ------- formulare ---------------- */
.bottom-link {
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
}
.notice-form .field-row.form-group {
    background: #ffffff;
    border-radius: 4px;
    margin-bottom: 10px;
    padding-bottom: 12px;
}
.notice-form .form-row .form-group {
    margin-bottom: 0;
}
.form-check {
    border: 1px solid #ced4da;
    padding: 5px 30px;
    border-radius: 4px;
}
.form-check:focus-within {
    border: 1px solid #222;
}
.checked-input{
    border: 1px solid #222;
}
.notice-form .form-row {
    width: 60%;
    margin: 0 auto;
}
.notice-form .form-row label {
    font-size: 12px;
    margin-bottom: .25rem;
}
.notice-form.edit-form .form-row {
    width: auto;
    margin: 0 -5px;
}

#notice-form .btn-download {
    line-height: 1.4;
}
.validation-error {
    font-size: 12px;
    color: #ff0000;
    margin: 0;
}
.floating-label {
    position: absolute;
    right: 12px;
    top: 7px;
    font-size: .725rem;
    background-color: #faebcc;
    color: #8a6d3b;
    padding: 2px 5px;
    border-radius: 3px;
}
.form-control , .custom-select{
    padding: 5px 10px;
    height: 35px;
}
.badge-secondary {
    white-space: initial;
    background: #a6a5a4;
    padding: 5px 7px;
}
.form-check-label {
    font-size: 13px;
    color: rgba(6, 6, 6, 0.7);
}
.custom-file-label, .custom-select {
    font-size: 13px;
    color: rgba(6, 6, 6, 0.7);
}
div.fileinputs {
    position: relative;
    width: 100%;
}
.top-details-holder p {
    font-size: 13px;
}
div.fakefile {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 5px;
}
.fakefile input{
    width:95%;
    border:none;
}
input.file {
    position: relative;
    text-align: right;
    -moz-opacity:0 ;
    filter:alpha(opacity: 0);
    opacity: 0;
    z-index: 2;
    width:100%;
}
.fakefile span{
    position: absolute;
    left: 10px;
    font-size: 13px;
    color: rgba(6, 6, 6, 0.7);
}
.fakefile img{
    position: absolute;
    width: 25px;
    right: 5px;
}
.small-text {
    font-size: 11px;
    color: #8c8c8c;
    padding: 0 5px;
}
.select2-container {
    width: 100% !important;
}
.new-hover:hover {
    background: #ffffff52;
    margin-right: 10px;
    border-radius: 4px;
}
#no-street-check {
    line-height: 2.5;
}
#payment-form .is-company:not(.is-person) {
    display: none;
}
/*-------------- Contul meu --------------*/
.user-menu .nav-link {
    text-transform: uppercase;
    color: #222;
    background-color: #f8f8f8;
    border: 1px solid #e9e9e9;
    width: 100%;
}
.user-menu .nav-link.active {
    font-weight: 700;
    background-color: var(--main-color);
}
.user-menu.nav-fill .nav-item {
    flex: 1 1 0;
    height: auto;
    display: flex;
}
#my-payments-dropdown .dropdown-item {
    border-bottom: 1px solid var(--border-color);
}
#my-payments-dropdown .dropdown-item:last-of-type {
    border: 0;
}
.my-account-label {
    margin-top: 8px;
    display: block;
}
/*--------- Pagini de confirmare ---------*/
.order-placed-container {
    background-color: #fff;
    font-size: 0.925rem;
    padding: 20px;
    text-align: center;
}

.order-placed-container h1 {
    font-size: 1.75rem;
    color: #080;
}
.confirm-check-icon {
    font-size: 52px;
}
.confirm-registry-number {
    margin: 0 auto;
    border: 1px solid #ddd;
    width: 150px;
    padding: 5px 10px;
    color: #444;
    font-size: 24px;
    letter-spacing: 2px;
    text-align: center;
}
/*-------------- Pagination --------------*/
.pagination {
    margin: 17px 0;
}
.pagination li:hover a,
.pagination li.current a {
    background-color: #ffffff;
}
.pagination a {
    border: 1px solid #e0e0e0;
    color: #3d3d3d !important;
    border-radius: 2px;
    padding: 5px 10px!important;
    font-size: 12px;
    margin: 0 4px 0 0;
    text-transform: capitalize;
    background: #ffffff;
}
.pagination li.active a {
    background: var(--main-color);
    color: #ffffff !important;
}
.top-details-holder {
    position: absolute;
    right: 10px;
}
.page-content .container {
    z-index: 100;
    position: relative;
}
/*------------- help tip ------------*/
.help-tip{
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: center;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #cecbcb;
    width: 20px;
    height: 20px;
    font-size: 13px;
    cursor: default;
}
.help-tip:before{
    content:'?';
    color:#cecbcb;
}

.help-tip:hover p{
    display:block;
    transform-origin: 100% 0;
    -webkit-animation: fadeIn 0.3s ease-in-out;
    animation: fadeIn 0.3s ease-in-out;

}
.help-tip p{    /* The tooltip */
    display: none;
    background-color: #9F9FA09C;
    padding: 10px;
    width: 200px;
    position: absolute;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    right: -4px;
    color: #FFF;
    font-size: 13px;
    line-height: 1.4;
    z-index: 100;
}
.help-tip p:before{ /* The pointer of the tooltip */
    position: absolute;
    content: '';
    width:0;
    height: 0;
    border:6px solid transparent;
    border-bottom-color:#C6C6C6;
    right:10px;
    top:-12px;
}
.help-tip p:after{ /* Prevents the tooltip from being hidden */
    width:100%;
    height:40px;
    content:'';
    position: absolute;
    top:-40px;
    left:0;
}
/*------------- Price holder ------------*/
#price-holder {
    width: 140px;
    position: absolute;
    left: 100%;
    margin-left: 10px;
}
#price-holder .inner {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: var(--main-color);
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 15px 15px 5px;
}
#price-holder .inner h4 {
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid #fff;
    padding-bottom: 15px;
}
#price-holder .inner p {
    padding: 10px 0 0 0;
    font-size: .85rem;
}
#price-holder .inner p span {
    font-size: 1.35rem;
    display: block;
    margin: 3px 0;
}

.display-price {
    font-size: 15px;
    color: #000;
    font-weight: bold;
}

/*---------------- My Costs Page ----------------*/
.filter-container {
    background-color: #dfe6ed;
    margin: 0 -15px;
}
.cost-line {
    padding: 6px 2px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.cost-line .name {
    width: 50%;
    padding-left: 5px;
}
.cost-line .name span {
    color: lightslategrey;
}
.cost-line .delta {
    width: 25%;
}
.cost-line .price {
    width: 25%;
    text-align: right;
}
.cost-line .price i.fa-info-circle {
    cursor: pointer;
}
.cost-line:last-of-type {
    border: 0;
}
.cost-line.total-line {
    background: #a4c485;
    margin-top: 10px;
    padding: 8px 10px 8px 5px;
    border-radius: 4px;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
}
.cost-line.total-line.grand-total-line {
    background: #697a81;
}
.btn-pay {
    background: #0d6efd !important;
    padding: 9px 30px;
}
.no-results {
    border: 1px solid #ecebeb;
    text-align: center;
    padding: 30px 10px;
    border-radius: 8px;
}
.no-results i.fa {
    display: block;
    font-size: 30px;
    margin: 0 0 20px 0;
    color: #34a4e7;
}
.subtitle {
    color: var(--main-color);
}
h4.service-name {
    font-size: 14px;
    border-bottom: 1px solid #ecebeb;
    margin: 6px 0;
    padding: 5px 2px;
    font-weight: bold;
}

.apartment-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.apartment-pills .pill {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid dodgerblue;
    margin: 5px;
    font-size: 12px;
}
.apartment-pills .pill:hover {
    background-color: dodgerblue;
    color: #fff;
}

/*---------------- Due invoices page ----------------*/
.invoice-line {
    display: flex;
    align-items: center;
}
.invoice-line .checkbox {
    width: 40px;
    flex-shrink: 0;
}
.invoice-line .apartment-details {
    width: 200px;
    align-self: start;
    flex-shrink: 0;
}
.invoice-line .invoice-details {
    width: 280px;
    align-self: start;
    flex-shrink: 0;
}
.invoice-line .invoice-price {
    width: 150px;
}
.invoice-line .invoice-price p {
    display: inline-block;
}
.invoice-line .invoice-links {
    flex: 1;
    text-align: right;
}
#btn-pay-invoices {
    display: none;
}

/* Custom styles for popovers */
.custom-popover {
    background-color: #243247;
    border: 1px solid #141a24;
}
.custom-popover .arrow::before {
    border-right-color: #141a24;
}
.custom-popover .arrow::after {
    border-right-color: #243247;
}
.custom-popover .popover-body {
    color: #fff;
}

/*---------------- Custom stuff ----------------*/
#payment-form-buttons {
    justify-content: space-between;
    gap: 5px;
}

/* CSS animation */
@-webkit-keyframes fadeIn {
    0% {
        opacity:0;
        transform: scale(0.6);
    }

    100% {
        opacity:100%;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:100%; }
}


.legal-info-button {
    display: inline-block;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: normal;
    color: #cccccc; /* Light grey text color */
    background-color: #333333; /* Dark grey background */
    border: 1px solid #444444; /* Slightly lighter grey border */
    border-radius: 3px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
}

.legal-info-button:hover {
    background-color: #444444; /* Slightly lighter grey background on hover */
    color: #ffffff; /* White text color on hover */
}

.green-button {
    background-color: #8aaf69 !important;
    padding: 10px 20px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.green-button.disabled {
    background-color: #ACACAC !important;
    cursor: not-allowed;
}

.labeled-row {
    display: flex;
    padding: 10px 0;
    align-items: center;
}

.labeled-row label {
    width: 160px;
    padding: 0;
    border-bottom: 1px solid #ddd;
}

.labeled-row .cards,
.labeled-row .phones {
    display: flex;
    gap: 10px;
    padding: 0 0 0 20px;
    border-left: 2px solid #ddd;
}

.labeled-row .cards > div {
    padding: 2px 5px;
    border: 1px solid #0e90d2;
    border-radius: 4px;
    color: #0e90d2;
    min-width: 175px;
    text-align: center;
}

.labeled-row .phones {
    flex-direction: column;
}

.labeled-row .phone {
    display: flex;
    align-items: center;
}

.labeled-row .phone .description {
    padding: 0 20px;
    font-style: italic;
    color: #0a466d;
}

.labeled-row .phone .description p {
    display: inline-block;
    margin: 0;
}

.labeled-row .phone .description .label {
    background-color: #47a447;
    color: #fff;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 20px;
}

.labeled-row .phone a.btn {
    padding: 0 .25rem;
}

#add-number-form {
    margin: 10px 0 30px 0;
}

#add-number-form form {
    background-color: #f5f5f5;
    padding: 20px 40px;
    border-radius: 5px;
}