@import "fonts.css";

* {
    font-family: IRANSans-web !important;
    font-size: 14px;
}

html, body {
    background-color: #f7f7f7;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    padding-top:85px;
}

form {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.navbar-brand h4 {
    margin-bottom: 0 !important;
}

.navbar-brand.inner-page h4 {
    padding: 10px 0;
}

.navbar-brand h4 i {
    position: relative;
    bottom: -3px;
    font-size: 20px;
    font-weight: bold;
}

.error {
    color: red;
}

.farm-list > div {
    border: solid 1px #ededed;
    border-radius: 5px;
    background-color: white;
    margin-top: 30px;
    padding: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075) !important;
}

    .farm-list > div div {
        margin: 10px 0;
    }

    .farm-list > div a {
        width: 100%;
    }

        .farm-list > div a i {
            margin-left: 5px;
            position: relative;
            bottom: -2px;
        }

a i {
    margin-left: 5px;
    position: relative;
    bottom: -2px;
}

.farm-detail {
    position: relative;
}

    .farm-detail > div {
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
        /*border: solid 1px #dfdfdf;*/
        border-radius: 5px;
        background-color: white;
        margin-top: 30px;
        padding: 10px;
        padding-top: 40px;
        position: relative;
    }

        .farm-detail > div a {
            margin-bottom: 10px;
            float: left;
        }

            .farm-detail > div a i, .farm-detail > div button i {
                margin-left: 5px;
                position: relative;
                bottom: -2px;
            }

    .farm-detail > tr td:first-child {
        width: 45%;
        color: #145DA0;
    }

    .farm-detail h3 {
        position: absolute;
        top: -17px;
        background-color: #2E8BC0;
        color: white;
        padding: 10px 15px;
        border-radius: 5px;
        font-size: 16px;
    }
h3 {
    position: absolute;
    top: -17px;
    background-color: #2E8BC0;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px !important;
    z-index: 9;
    margin-right: 20px;
}
.card {
    padding-top: 15px;
    padding-bottom: 15px;
}

.btn:not(.remove-row) {
    margin-top: 10px;
}

.rounded-3 {
    border-radius: 10px !important;
}



.btn-primary {
    color: black;
    background-color: #B1D4E0;
    border-color: #B1D4E0;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #145DA0;
        border-color: #145DA0;
    }

    .btn-primary:focus, .btn-primary:active {
        color: #fff;
        background-color: #0C2D48;
        border-color: #0C2D48;
        box-shadow: box-shadow: 0 0 0 0.25rem rgb(12 45 72 / 50%);
    }

    .btn-primary:disabled {
        color: #fff;
        background-color: #2E8BC0;
        border-color: #2E8BC0;
    }

nav {
    background-color: #145DA0 !important;
}

.map-marker {
    position: absolute;
    top: calc(50% - 6px);
    left: 50%;
    transform: translateY(-50%)translateX(-50%);
    font-size: 50px;
    color: red;
}

.row-template {
    display: none;
}

table tr td:last-child {
    position: relative;
}

.remove-row {
    /*position: absolute;
    left: -33px;
    top: 0;*/
    min-width: 72px;
    padding: 5px 0 !important;
    margin-top: 1px;
}


.salon-form form .card {
    padding: 10px 0 !important;
}

    .salon-form form .card .row {
        padding: 0 !important;
    }

@media screen and (max-width: 760px) {

     .card table tr td[data-label]:before {
        content: attr(data-label);
        width: 70%;
    }

     .card table thead {
        display: none
    }

     .card table tr td {
        display: flex;
        justify-content: space-between;
        border-bottom: 0px solid gray;
    }

    .table-striped > tbody > tr:nth-of-type(odd) {
        --bs-table-accent-bg:white!important;
    }
    .table-striped > tbody > tr {
        border-bottom: 1px solid #ebebeb;
    }
    .table-striped > tbody > tr td:first-child {
        margin-top:10px;
    }
    .table-striped > tbody > tr td:last-child {
        margin-bottom:10px;
    }
}


.table tr th {
    background-color: #B1D4E0;
    border-bottom:none;

}
label{
    margin-top:10px;
}