﻿@font-face {
    font-family: 'Mulish-Medium';
    src: url(../fonts/Mulish-Medium.ttf);
}

body {
    font-family: 'Mulish-Medium';
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.img-fluid-custom {
    max-width: 110px;
    width: 110px;
    height: auto;
    position: relative;
}

.a-navbar-logo {
    margin-right: 200px;
    margin-left: 80px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

ul.info {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
    column-gap: 1rem; /* adds spacing between columns */
}

    ul.info.column-1 {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }

    ul.info li {
        color: #444;
        list-style: none;
        break-inside: avoid; /* prevent list items from splitting across columns */
        margin-bottom: 0.3em;
    }

        ul.info li:before {
            color: #D03131;
            content: "\25AA";
            font-size: 1.5em;
            padding-right: .25em;
            position: relative;
            top: .1em;
        }

/* ✅ Responsive rule for small screens */
@media (max-width: 768px) {
    ul.info {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }
}


/* QR code generator */
#qrCode {
    margin: 15px;
}

a.major {
    background-color: #D03131;
    color: white !important;
    height: 100%;
    width: 100%;
}
a.major:active,
a.major:hover {
    background-color: darkred !important;
}

.btn.btn-success {
    background-color: #D03131;
    color: white !important;
    width: 100%;
    border-radius: 0px;
    border: 0px;
    outline: none !important;
    box-shadow: none !important;
}
.btn.btn-success:active,
.btn.btn-success:hover {
    background-color: darkred !important;
}
.btn.btn-success:disabled {
    background-color: #D03131 !important;
}

.btn.btn-secondary {
    background-color: #6C757D;
    color: white !important;
    width: 100%;
    border-radius: 0px;
    border: 0px;
    outline: none !important;
    box-shadow: none !important;
}
.btn.btn-secondary:active,
.btn.btn-secondary:hover {
    background-color: #5A6268 !important;
}
.btn.btn-secondary:disabled {
    background-color: #6C757D !important;
}

a.main-nav-bar {
    color: white !important;
}
a.main-nav-bar:active,
a.main-nav-bar:hover {
    color: grey !important;
}
a.small-nav-bar {
    font-size: 14px !important;
}
button.small-nav-bar {
    font-size: 14px !important;
}

a.advertisement-main-link {
    color: black !important;
    font-size:large;
    font-weight:bold;
}

a.advertisement-main-link:active,
a.advertisement-main-link:hover {
    color: grey !important;
    text-decoration: none;
}

a.advertisement-secondary-link {
    color: black !important;
    font-size: medium;
    font-weight: bold;
}

a.advertisement-secondary-link:active,
a.advertisement-secondary-link:hover {
    color: grey !important;
    text-decoration: none;
}

li.small-margin-left-1{
    margin-left:0.2rem;
}
li.small-margin-left-2 {
    margin-left: 0.7rem;
}
li.small-margin-left-3 {
    margin-left: 1.4rem;
}
li.small-margin-right-2 {
    margin-right: 0.7rem;
}
li.small-margin-right-3 {
    margin-right: 1.4rem;
}

.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 650px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }

    textarea {
        resize: both !important;
        min-width: 220px;
        width: 90%;
        max-width: 90%;
        min-height: 150px;
        height: 250px;
        border: 1.5px solid rgba(53, 53, 53, 0.15);
    }
}

.dark-background {
    background-color: darkgrey;
}

.form-label {
    min-width: 120px;
    margin-right: 10px;
}
.form-label-sm {
    min-width: 80px;
    margin-right: 10px;
}
.form-label-xsm {
    min-width: 30px;
    margin-right: 5px;
}
.form-label-lg {
    min-width: 150px;
    margin-right: 10px;
}
.form-label-xlg {
    min-width: 180px;
    margin-right: 10px;
}
.form-label.description {
	height: 80px;
    vertical-align: top;
}
.form-label-sm.title {
    font-weight: bold;
}
.form-label-lg.title {
    font-weight: bold;
}
.form-label.mandatory {
    font-weight: bold;
}

.filter-form-label {
    display:block;
}

input.filter-form-input {
    min-width: 50px;
    width: 48%;
    max-width: 48%;
}

select.filter-form-select {
    min-width: 50px;
    width: 100%;
    max-width: 100%;
}

input {
    min-width: 220px;
    max-width: 220px;
    border: 1.5px solid rgba(53, 53, 53, 0.15);
}
input[type="file"] {
    border: none;
}
input[type="checkbox"] {
    min-width: 20px;
    max-width: 20px;
}
select {
    min-width: 220px;
    min-height: 29px;
    max-width: 220px;
    border: 1.5px solid rgba(53, 53, 53, 0.15);
}
select.lg-select-1 {
    min-width: 320px;
    min-height: 330px;
    max-width: 320px;
    border: 1.5px solid rgba(53, 53, 53, 0.15);
}
    select.driven-volume-unit {
        margin-left: 5px;
        min-width: 80px;
        max-width: 80px;
        width: 80px;
    }

textarea {
    resize: both !important;
    min-width: 220px;
    width: 70%;
    max-width: 70%;
    min-height: 150px;
    height: 250px;
    border: 1.5px solid rgba(53, 53, 53, 0.15);
}

.field-validation-error.validation-message {
    display: block;
    color: red;
}

.anonymous-advertisement-delete-form-unvisible {
    display: none;
}

.commercial-image
{
    max-width: 440px;
    max-height: 300px
}

.commercial-price-info {
    font-size: large;
    font-weight: bold;
}

.commercial-error-info {
    font-size: large;
    font-weight: bold;
    color: red;
}

.pager {
    list-style-type: none;
}

.pager-page {
    width: 41px;
    height: 41px;
    border: 1px solid #DCDCDC;
    line-height: 38px;
    text-align: center;
    font-weight:bold;
}
.pager-page-dots {
    width: 19px;
    height: 41px;
    line-height: 41px;
    text-align: center;
    font-weight: bold;
}

.pager-page-selected {
    width: 41px;
    height: 41px;
    line-height: 38px;
    text-align: center;
    background: #D03131;
    color: white;
    font-weight: bold;
}
.image-vertical-middle-align-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.item-card-container {
    border: solid 2px #DCDCDC;
    height: 18rem;
}
.item-card-container-paid-service {
    height: 13.5rem !important;
}
.item-card-container-paid-service-big {
    height: 20.0rem !important;
}
.item-card-description-block {
    height: 30%;
    font-size: small;
}
.item-card-description-block-big {
    height: 55%;
}
.item-card-price-block {
    height: 20%;
}
.item-card-price-block-small {
    height: 10%;
}
.item-card-image {
    margin-left: -1px;
    margin-right: -1px;
    margin-top: -1px;
    width: 101%;
    height: 50%;
    object-fit: cover;
}
.item-card-anchor {
    max-width: 100%;
}
.item-card-info-text1 {
    font-size: medium;
    color: #7E7E7E;
    max-width: 100%;
}
.item-card-info-text2 {
    font-size: small;
    color: #7E7E7E;
    max-width: 100%;
}
.item-card-info-text3 {
    font-size: large;
    color: black;
    font-weight: 500;
}
.item-card-info-text4 {
    font-size: large;
    color: black;
    font-weight: 700;
}
.item-card-separator {
    width: 100.5%;
    height: 2px;
    border-top: solid 2px #DCDCDC;
    margin-left: -1px;
    margin-right: -1px;
}
.item-card-button-success {
    width: 43% !important;
}
.item-card-button-secondary {
    width: 43% !important;
}
.info-text-md {
    width: 9rem;
    min-width: 9rem;
    display: inline-block;
}

.social-icons {
    position: absolute;
    width: 100%;
    bottom: 10px;
    padding: 0;
    margin: 0;
    text-align: left;
}

.social-icons li {
    display: inline-block;
    margin-right: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 15px;
}

.social-icons li:last-child {
    margin-right: 0px;
}

.social-icons li a {
    font-size: 28px;
    color: #fff;
    transition: all 0.5s;
}

.social-icons li a:hover {
    color: #45489a;
}

.fa {
    padding: 20px;
    font-size: 30px;
    width: 57px;
    text-align: center;
    text-decoration: none;
}

.fa:hover {
    opacity: 0.7;
}
 
.fa-facebook {
    background: #3B5998;
    color: white;
}

.fa-facebook:before {
    content: "\f09a";
}

.dropzone-visual {
    max-width: 500px;
}
.btn-dropzone {
    width: 30% !important;
    min-width: 150px;
}

.feature-grid {
    margin: 0;
}

.feature-item {
    font-family: 'Mulish-Medium', sans-serif;
    border: 3px solid rgba(255, 255, 255);
    text-align: center;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 14rem; /* default height */
    cursor: pointer;
    background-color: rgba(220, 220, 220);
}

    .feature-item a {
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
    }

.feature-img-wrapper {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 70%;
    overflow: hidden;
}

    .feature-img-wrapper img {
        max-width: 90%;
        max-height: 100%;
        object-fit: contain;
    }

.feature-label {
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 1.2rem;
    word-wrap: break-word;
    white-space: normal;
    text-align: center;
    padding-top: 0.5rem;
}

/* 📱 On small devices */
@media (max-width: 768px) {
    .feature-item {
        height: 10rem;
        padding: 0.25rem;
    }

    .feature-label {
        font-size: 0.75rem;
        line-height: 1rem;
    }

    .feature-img-wrapper {
        max-height: 60%;
    }
}