body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1em;
    margin: 0;
    padding: 0;
    &.pharmacyal main > .breadcrumb + h2{
        color:#fff;
    }
}

hr{
    border: #ddd 1px dashed;
    width: 80%;
    margin: 20px auto;
}

.pd_10 {
    padding: 10px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}



.mr-40 {
    margin-right: 40px;
}


.br-6 {
    border-radius: 6px;
}

.fixed {
    position: fixed;
}

.f-w-200 {
    font-weight: 200;
}

.txt-c {
    text-align: center;
}


.txt-r {
    text-align: right;
}
.txt-l {
    text-align: left;
}

.txt-i {
    font-style: italic;
}

.flex {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

a {
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

a:active, button:active {
    left: 1px;
    position: relative;
    top: 1px;
}

a:hover, button:hover {
    background-color: white;
}

.border {
    border: 1px solid #dddddd;
}

.hidden {
    visibility: hidden;
}
header {
    position: sticky !important;
    left: 0;
    z-index: 100;
    top: 0;
    width: 100%;
    color: #286874;
    background-color: #fff;
    border-bottom: 1px solid #286874;
    height: 16vh;

    h1 {
        small {
            font-size: 0.5em;
            color: grey;
        }
    }

    img {
        vertical-align: middle;
    }

    svg {
        width: 20px;
        vertical-align: bottom;
        color: indianred;
    }
}

main {
    margin-top: 80px;

    img.arrow {
        vertical-align: middle;
        width: 30px;
    }

    div.intro {
        background-color: #fff;
        border-radius: 10px;
        font-size: 1.1em;
        margin: 20px auto auto auto;
        padding: 10px;
        width: 88%;

        img {
            vertical-align: middle;
        }
    }

    h2, h3, h4, h1 {
        font-weight: 200;
    }

}

select {
    border: 1px solid #286874;
    border-radius: 15px;
    color: #286874;
    font-size: 1em;
    height: 60px;
    margin: auto;
    width: 600px;
}

details summary::-webkit-details-marker {
    display: none;
}

div.info-browser {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #18202a;
    z-index: 300;
    opacity: 0.93;

    div {
        border: 1px solid #fff;
        border-radius: 15px;
        margin: 20px auto;
        width: 80%;

        background-color: #1f2937;
        color: #fff;
    }

    font-size: 1.5em;

}

.notyf{
    z-index: 100000;
}

div.card {
    background-color: #fff;
    border: 1px solid #286874;
    border-radius: 10px;
    text-align: center;
    margin: 10px auto;
    width: 40%;
}

div.card.card-small {
    height: 410px;
    margin: 20px auto;
    width: 24%;
    cursor: move;
    img{
        object-fit: cover;
    }

}

div.card.card-summary {
    max-height: 410px;
    margin: 10px auto;
    width: 24%;

}



.help{
    background-color: aliceblue;
    font-size: 1em;
}

div.card .card-small-choice {
    max-height: 130px;
    margin: 10px auto;
    width: 28%;

    img {
        position: relative;
        top: -20px;
        left: -5px;
        cursor: pointer;
    }

    input {
        height: auto;
    }

}

div.card h4 {
    color: #286874;
    text-align: right;
    padding-right: 10px;
    height: 50px;
}

div.card img:not(.arrow, .logo) {
    margin: auto;
    width: 100%;
    max-width: 800px;
}

form:not([name=choice-cover]) {
    background-color: #fff;
    margin: auto;
    padding: 10px;
    text-align: center;
    width: 80%;
}

form input:not([type=file]) {
    border: 1px solid #286874;
    color: #286874;
    font-size: 1em;
    height: 40px;
    margin: auto;
    padding-left: 5px;
}

form input#order_pharmacy_agree {
    position: relative;
    top: 5px;
    left: -740px;
}

form input[type=number] {
    width: 60px;
    vertical-align: middle;
}

form ul{
    color:indianred;
    list-style-type: none;
    float: right;
width: 50%;
    display: contents;

}
form ul li{
    padding: 5px;
}

input[type=radio] {
    width: 30px;
    vertical-align: middle;
}

form input:not([type=number],[type=checkbox], [type=radio]) {
    width: 600px;
}

/* form label:not(.choice-cover) { */
form label:not([for=mention-appointment], [for=order_pharmacy_agree]) {
    width: 140px;:
}
form label{
    cursor: pointer;
    display: inline-block;
    padding: 20px;
    vertical-align: middle;

}

form label.format {
    width: 200px;

    input {
        margin-right: 10px;
    }
}

form label.choice-cover {
    padding: 0;

}


form div {
    padding: 10px;
}

form div.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}


label[for=order_pharmacy_agree] {
    width: 700px;
}

svg {
    width: 40px;
    color: orange;
    vertical-align: middle;
}

label[for=logo-file], label[for=logo-cover] {
    cursor: pointer;
    color: #333;
    font-weight: 200;
    padding: 10px;
    background-color: #cecece;
    width: 56%;
    border-radius: 6px;
    margin: auto;

    &:invalid {
        border: red 3px solid;
    }
}

label[for=logo-file]:hover,label[for=logo-cover]:hover {
    background-color: #aaa;
    color: #fff;
}

input#logo-file:invalid + label[for=logo-file] ,input#logo-cover:invalid label[for=logo-cover] {
    border: red 1px solid;
}

input#logo-file:valid + label[for=logo-file], input#logo-cover:valid + label[for=logo-cover] {
    border: #00bb00 1px solid;
}

#logo-file, #logo-cover {
    display: none;
}

div#access {
    background-color: transparent;
    left: 32%;
    position: fixed;
    top: 106px;
    z-index:1000;
}

.btn {
    background-color: #ddd;
    font-size: 1em;
    cursor: pointer;
    padding: 10px;
    margin: auto;
    display: block;
    border: 0;
    color: #333;
    border-radius: 10px;

    &:hover {
        border: #ddd 1px solid;
    }

    &.btn-red {
        background-color: #ffffff;
        border: indianred 1px solid;
        color: indianred;
        min-width: 50px;
        margin-left: 10px;
    }
}

h2 {
    text-align: center;
}

div#validate {
    border: 0;
    border-radius: 10px;
    position: fixed;
    width: 80%;
    height: 860px;
    top: 20px;

    &::backdrop {
        background-color: lightslategray;
        /*   backdrop-filter: blur(5px); */
        opacity: 0.8;
    }
    svg.delete {
        background-color: #fff;
        border: indianred 1px solid;
        border-radius:6px;
        color: indianred;
        cursor: pointer;
        position: relative;
        top:-88%;
        left: 45%;
        padding: 5px;
        width: 26px;
    }

    svg#close {
        color: grey;
        cursor: pointer;
        position: relative;
        right: -30%;
        top: -10px;
        vertical-align: middle;
        width: 40px;
    }

    /*
    .swiper {

        background-color: #fff;
        width: 100%;
        border: 1px solid indianred;
        border-radius: 10px;
        height: 700px;
        margin-left: auto;
        margin-right: auto;

        .swiper-slide {
            text-align: center;
            background: #333;
            height: calc((100% - 30px) / 2) !important;

            /* Center slide text vertically
            display: flex;
            justify-content: center;
            align-items: center;

            img {
                object-fit: contain;
            }
        }
    }*/
}

span.count {
    border-radius: 15px;
    color: #fff;
    padding: 5px 10px;
}

div#action {
    text-align: center;
    margin-bottom: 100px;
    a{
        width: 30%;
    }
}

.count-valid {
    background-color: limegreen;

    &:hover {
        color: #333;
    }

}

.count-invalid {
    background-color: indianred;
}


@media (max-width: 767px) {
    * {
        box-sizing: border-box;
    }

    header {
        height: 19vh;
    }

    main {
        div.intro {
            margin-top: 180px;
        }
    }

    div#access {
        position: absolute;
        left: 0;
        top: 210px;

        select {
            width: 90%;
        }
    }

    div.card {
        width: 100%;
        height: auto;
        margin: 10px auto auto auto;

        &.card-small {
            height: auto;
            margin: 10px auto;
            width: 100%;
        }
    }

    form {
        input[type=number] {
            width: 60px;
        }

        label {
            width: 100%;
            padding: 10px;
            text-align: left;
        }

        input:not([type=number]) {
            width: 100%;
        }
    }

    div#validate {
        width: 100%;
        height: 100%;
    }

    svg#close {
        right: -30px;
    }
}

table{
background-color: white;
    border-collapse: collapse;
    margin: auto auto 100px auto;
    width: 80%;
    text-align:center;
    td, th{
        padding: 16px;
        border: #0c4a6e 1px solid;
    }
    th{
        font-weight: 400;
    }
    .no-border{
        border:0;
    }
}

div.breadcrumb{
 margin: 20px  auto 40px  auto;
    width: 80%;
    font-style: italic;
    span{
        padding: 10px;
        margin: 0;
        background-color: #f6f7fb;
        border: 1px solid #ddd6fe;
        color: #333;
        svg{
            width: 30px;
        }
        a{
            color: #333;
        }
    }
}
.turbo-progress-bar {
    height: 18px;
    background-color:#FFE458r;
}

@media (min-width: 1300px) {
    div#validate {
        svg.delete {
            top:-260px;
            left: 45%;
        }
    }
    div.card.card-small {
        height: 280px;
    }
}

@media (min-width: 1500px) {
    div#validate {
        height: 1000px;

        svg.delete {
            top:-310px;
            left: 45%;
        }
    }
    div.card.card-small {
        height: 300px;
    }
}
@media (min-width: 1600px) {
    div#validate {
        svg.delete {
            top:-320px;
            left: 45%;
        }
    }
}
@media (min-width: 1700px) {
    div.card.card-small {
        height: 360px;
    }
    div#validate {
        svg.delete {
            top:-350px;
            left: 45%;
        }
    }
}
@media (min-width: 1800px) {
    div.card.card-small {
        height: 424px;
    }
    div#access {
        left: 40%;
    }


}

@media (min-width: 2000px) {
    div.card.card-small {
        height: 460px;
    }
    div#validate {
        svg.delete {
            top:-400px;
            left: 45%;
        }
    }
}

@media (min-width: 2200px) {
    div.card.card-small {
        height: 500px;
    }
    div#validate {
        svg.delete {
            top:-440px;
            left: 45%;
        }
    }
}

@media (min-width: 2300px) {
    div.card.card-small {
        height: 520px;
    }
    div#validate {
        svg.delete {
            top:-440px;
            left: 45%;
        }
    }
}
@media (min-width: 2400px) {
    div.card.card-small {
        height: 540px;
    }
}
@media (min-width: 2500px) {
    div.card.card-small {
        height: 550px;
    }
    div#validate {
        svg.delete {
            top:-490px;
            left: 45%;
        }
    }
}
@media (min-width: 2600px) {
    div.card.card-small {
        height: 570px;
    }
}
@media (min-width: 2700px) {
    div#access {
        left: 40%;
    }
    div.card.card-small {
        height: 600px;
        margin-right: 10px;
    }

    div#validate {
        svg.delete {
            top:-530px;
            left: 45%;
        }
    }
}

@media (min-width: 3000px) {
    div#access {
        left: 40%;
        top:210px;
    }
    div.card.card-small {
        height: 660px;
    }
    div#validate {
        height: 1400px;
        svg.delete {
            top:-580px;
            left: 45%;
        }
    }

}


