body {
    margin: 0;
    padding-top: 3.5rem;
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
    background-image: url(/assets/images/background.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pagination .page-item.disabled .page-link {
    background-color: transparent;
    border: none;
    color: #6c757d;
}

.pagination .page-item.active .page-link {
    background-color: #FF8A81;
    border: none;
    color: #ffffff;
    font-weight: bolder;
    border-radius: 5px;
}

.pagination .page-item .page-link {
    background-color: transparent;
    border: none;
    color: #FF8A81;
}

.pagination .page-item:not(.active) .page-link.page-link:hover {
    color: #fb4e41;
}

.navbar-default {
    -webkit-box-shadow: 0 0 6px 1px rgba(0, 0, 0, .3);
    box-shadow: 0 0 6px 1px rgba(0, 0, 0, .3);
    background-color: white !important;
}

.navbar-default .btn-new-ad {
    color: #fff;
    background-color: #69B3FF;
    border-color: #69B3FF;
    font-weight: 600;
    border-radius: 15px;
    padding: 0.25rem 1rem;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: rgba(255, 255, 255, .8) !important;
    }
}

.custom-select {
    border-radius: 1rem;
    line-height: 1;
    height: calc(1em + .75rem + 2px);
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb
}

.alert-error hr {
    border-top-color: #f1b0b7
}

.alert-error .alert-link {
    color: #491217
}

.hidden {
    display: none;
}

textarea.form-control {
    border-radius: 1rem;
    line-height: 1;
    padding: 0.75rem 1rem;
}

input.form-control {
    border-radius: 1rem;
    line-height: 1;
    height: calc(1em + .75rem + 2px);
}

label.custom-file-label {
    border-radius: 1rem;
    line-height: 1;
    height: calc(1em + .75rem + 2px);
    text-align: left;
    overflow: hidden;
}

label.custom-file-label:after {
    border-radius: 1rem;
    line-height: 1;
    height: calc(1em + .75rem);
}

.left-sidebar .navbar-nav {
    position: sticky;
    top: 4.5rem;
}

.left-sidebar .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
}

.left-sidebar .navbar-nav .nav-item > .nav-link {
    display: flex;
    align-items: center;
    border: 1px solid #FF8A81;
    border-radius: 8px;
    background-color: #FF8A81;
    color: #ffffff;
    padding: .25rem 1rem;
    text-align: left;
}

.left-sidebar .navbar-nav .nav-item > .nav-link > div {
    min-width: 25%;
}

.left-sidebar .navbar-nav .nav-item > .nav-link.have-collapse:not(.collapsed) {
    border: 1px solid #FF8A81;
    background-color: transparent;
    color: #FF8A81;
}

.left-sidebar .navbar-nav .nav-item > .nav-link i {
    text-align: center;
    font-size: 1rem;
    line-height: 0;
}

.left-sidebar .collapse-inner .collapse-item {
    color: #FF8A81;
    text-transform: uppercase;
    font-size: 0.75rem;
    display: block;
}

.left-sidebar .collapse-inner .collapse-item.active {
    border-bottom: 2px solid;
    text-decoration: none;
}

.left-sidebar .collapse-inner .collapse-item .count {
    font-size: 0.7rem;
    color: #69B3FF;
}

.list-title {
    border-bottom: 1px solid #FF8A81;
}

.list-title .title {
    border-bottom: 4px solid #FF8A81;
    color: #FF8A81;
    margin: 0;
    font-size: 1rem;
}

.list .list-item {
    border-bottom: 2px solid #FF8A81;
}

.list .list-item .info {
    color: #000000;
    font-size: 0.8rem;
    min-width: 90px;
}

.info .favorite {
    font-size: 0.7rem;
    color: #333333;
    cursor: pointer;
}

.info .favorite:hover {
    color: #000000;
}

.info .favorite.active {
    color: #000000;
}

.info .favorite img {
    width: 16px;
    height: 16px;
    background-size: cover;
    background-image: url(/assets/images/favorite.png);
}

.info .favorite.active img {
    background-image: url(/assets/images/favorited.png);
}

.list .list-item .image img {
    width: 100px;
    height: 100px;
    background-size: cover;
    border-radius: 5px;
}

.list .list-item .text {
    color: #000000;
}

.list .list-item .text h2 {
    font-size: 0.8rem;
    margin: 0;
}

.list .list-item .text p {
    font-size: 0.7rem;
    margin: 0;
    max-height: 45px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .list .list-item .info {
        min-width: 100px;
        width: 100px;
    }

    .list .list-item .text h2 {
        font-size: 1rem;
    }

    .list .list-item .text p {
        max-height: 100%;
        font-size: 0.9rem;
    }
}

.offer .title {
    border-bottom: 4px solid #FF8A81;
    color: #FF8A81;
}

.offer h3 {
    font-size: 0.8rem;
}

.offer h4 {
    font-size: 0.8rem;
}

.offer p {
    font-size: 0.8rem;
    letter-spacing: 0.02rem;
}

@media (min-width: 768px) {
    .offer h3 {
        font-size: 1rem;
    }

    .offer h4 {
        font-size: 1rem;
    }

    .offer p {
        font-size: 1rem;
    }
}

.offer .photos {
    position: relative;
    height: 250px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .offer .photos {
        height: 400px;
    }
}

.offer .photos .additional-photos {
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
}

.offer .photos .additional-photos > div {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 0.25rem;
    text-align: center;
    overflow: hidden;
}

.offer .photos .additional-photos > div:last-child {
    margin: 0;
}

.offer .photos img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.offer-edit .photos img {
    width: 140px;
    height: 140px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.offer-edit .delete-media {
    cursor: pointer;
}

.offer-edit .messengers .custom-control-label{
    display:block;
}

.offer-edit .messengers .custom-control-label img{
    display:block;
    margin-left:auto;
    margin-right:auto;
}

.offer-edit .messengers .custom-control-label span{
    display:none;
    left:100%;
    position:absolute;
    top:0;
}

.offer-edit .messengers .additional-input{
    display:none;

}

.offer-edit .messengers .additional-input input{
    font-size:14px;
}

.offer-edit .messengers .mobile-additional-inputs{
    display:none;
}

.offer .info {
    font-size: 0.8rem;
    border-top: 2px solid #FF8A81;
}

.offer .more-info .about {
    line-height: 1.3rem;
    font-size: 0.8rem;
}

.offer .more-info .about span {
    color: #7b7b7b;
}

@media (min-width: 768px) {
    .offer .info {
        font-size: 1rem;
    }

    .offer .more-info .about {
        line-height: 1.7rem;
        font-size: 1rem;
    }


}

.offer .photo-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.2);
}

.additional .text {
    border: 1px solid #FF8A81;
    background-color: rgba(255, 255, 255, 0.2);
    color: #A1A1A1;
    border-radius: 8px;
    font-size: 0.8rem;
    text-indent: 30px;
}

.additional h1 {
    font-size: 16px;
}

.additional h2 {
    font-size: 16px;
}

.additional h3 {
    font-size: 16px;
}

.additional p {
    font-size: 12px;
}

.footer {
    background-color: #FF8A81;
}

.footer .flags {
    font-size: 0;
}

.footer .flags img {
    width: 18px;
}

.footer .copyright {
    font-size: 0.9rem;
}

.footer .links {
    font-size: 0.7rem;
}

/* ------------------------------------------------- */

.modal-custom .modal-content {
    border: none;
}

.modal-custom .modal-content .modal-header {
    background-color: #69B3FF;
    padding: 0.5rem 1rem;
    align-items: center;
    text-transform: uppercase;
    border: none;
}

.modal-custom .modal-content .modal-header .modal-title {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 0.85;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    color: #fff;
}

.age-modal .modal-title {
    font-size: 30px;
    margin-bottom: 15px;
    text-align: center;
}

.age-modal .modal-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.age-modal .modal-buttons .modal-button {
    text-align: center;
    margin: 10px;
    padding: 5px 15px 10px;
    border: 2px solid;
    cursor: pointer;
}

.age-modal .modal-buttons .modal-button > div:first-child {
    font-size: 30px;
}

.modal-custom .messengers .custom-control-label{
    display:block;
}

.modal-custom .messengers .custom-control-label img{
    display:block;
    margin-left:auto;
    margin-right:auto;
}

.modal-custom .messengers .custom-control-label span{
    display:none;
    left:100%;
    position:absolute;
    top:0;
}

.modal-custom .messengers .additional-input{
    display:none;
}

.modal-custom .messengers .additional-input input{
    font-size:14px;
}

.modal-custom .messengers .mobile-additional-inputs{
    display: none;
}

/* ------------------------------------------------- */

.rotate {
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.rotate.down {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* ------------------------------------------------- */

.dropzone .dz-preview {
    margin: 2px !important;
    min-height: auto !important;
}

.dropzone .dz-preview.dz-image-preview {
    background-color: transparent !important;
}

.dropzone .dz-preview .dz-image {
    border-radius: 10px !important;
    width: 80px !important;
    height: 80px !important;
}

.dropzone .dz-preview .dz-image img {
    width: 100% !important;
}

.dropzone .dz-preview .dz-details {
    padding: 5px !important;
    font-size: 10px !important;
}

.dropzone .dz-preview .dz-success-mark svg,
.dropzone .dz-preview .dz-error-mark svg {
    width: 27px !important;
    height: 27px !important;
}

.dropzone .dz-preview .dz-remove {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    padding: 5px;
    color: #eee;
    cursor: pointer;
}

.dropzone .dz-preview .dz-remove:hover {
    text-decoration: none !important;
}

.offer-messengers {
    left: 75%;
    position: absolute;
    top: 65%;
}

.hidden-desktop {
    display: none;
}

@media only screen and (min-width: 768px) {
    .messengers .mobile-additional-inputs {
        display: none !important;
    }
}

@media only screen and (max-width: 768px) {
    .messengers .additional-input {
        display:none!important;
    }

    .messengers .messenger-item {
        width: 33%;
    }

    .messengers .messenger-item.has-input {
        order: 99;
    }

    .messengers .mobile-additional-inputs {
        padding-bottom: 10px;
    }

    .offer-messengers {
        left: 60%;
    }

    .messengers-list-item {
        width: 33%;
    }

    .hidden-desktop {
        display: inherit;
    }

    .hidden-mobile {
        display: none;
    }
}
