﻿@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins.ttf') format('truetype');
}

* {
    font-family: Poppins;
}

body {
    padding: 65px 0;
    overflow-x: hidden;
}

h1, h2 {
    margin: 1em 0 0.5em 0 !important;
}

h3, h4 {
    margin: 1em 0 0.5em 0 !important;
}

.text-primary, .navbar-brand {
    color: #a02031 !important;
}

.bg-primary {
    background-color: #a02031 !important;
}

.iti {
    --iti-path-flags-1x: url('../img/flags.png');
    --iti-path-flags-2x: url('../img/flags@2x.png');
    --iti-path-globe-1x: url('../img/globe.png');
    --iti-path-globe-2x: url('../img/globe@2x.png');
    display: block !important;
}

input {
    display: inline-block;
    background-color: #fff;
    padding: 1px 2px;
    border-width: 1px;
    border-style: inset;
    border-color: rgb(118, 118, 118);
    border-image: initial;
    border-radius: 0.25rem;
    line-height: 1.5;
}
.navbar{padding: 0 !important}
.nav-item.active a {
    text-decoration: underline;
    color: #a02031 !important;
    font-weight: 600;
}
.navbar-brand > img{ height:60px; width:auto;margin:0 2em 0 0;}
.t-able {
    display: table;
    border: 1px solid #666;
    border-radius: 0.25rem;
    padding: 0 !important;
    background: transparent !important;
}

.t-row {
    display: table-row;
}

.cell {
    display: table-cell;
    padding: 0.3em 0.2em !important;
    vertical-align: top;
    white-space: nowrap;
}

.fb {
    position: absolute;
    z-index: 10015;
    top: 0px;
    left: 0px;
    width: 100%;
}

.mfa {
    line-height: 1.5em;
    width: 6rem;
}

div.country-select {
    width: 100%;
}

.accordion-body label {
    display: block;
    font-size: 0.9em;
    color: blue;
    opacity: 0.8;
}

.document-item:hover {
    background-color: #eeeeee !important;
}

.card-congress .card-img-top, .card-congress .card-body, .sort {
    cursor: pointer
}

.sortlist-entry {
    border: none;
    border-bottom: solid 1px #ccc;
}
.row-page{
    cursor:grab;
}
.row-page:active{
    cursor:grabbing;
}
.tox-promotion {
    display: none;
}
.tox-tinymce--toolbar-sticky-on .tox-editor-header{
    top:70px !important;
}
.product-description {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 1.4em;
}

    .product-description:hover {
        overflow: unset;
        white-space: unset;
        height: unset;
    }

.accordion-body label {
    display: inline-block;
}

.circle {
    width: 20px;
    height: 20px;
    background: red;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

#mask, #wait {
    position: absolute;
    z-index: 10001;
    background-color: #99f;
    display: none;
    top: 0px;
    left: 0px;
}

#wait {
    z-index: 10010;
}

.overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 10002;
    display: none;
    background-color: #fff;
    border: solid 1px #a0a0a0;
    border-radius: 6px;
    padding: 10px;
    max-width: 80%;
    height: 90%;
    float: left;
    padding: 15px;
}

    .overlay.confirmation {
        width: 80%;
    }

@media (max-width:992px) {
    .overlay.confirmation {
        width: 100%;
    }
}

.overlay .row {
    margin-bottom: 5px;
}

.overlay embed {
    width: 100%;
    height: 100%;
    zoom: 1;
}

.ov_shadow {
    box-shadow: 10px 10px 13px 0px rgba(82, 49, 29, 0.8);
}

.close-button {
    width: 30px;
    height: 30px;
    background: #d00;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    border: solid 2px #fff;
    padding: 4px;
    display: none;
    z-index: 20000;
}

.cross {
    background: #fff;
    width: 2px;
    height: 17px;
    position: relative;
    margin-left: 8px;
    transform: rotate(45deg);
}

    .cross:before {
        background: #fff;
        content: "";
        width: 17px;
        height: 2px;
        position: absolute;
        top: 8px;
        left: -8px;
    }

#divFeedback {
    margin-top: 10px;
    padding: 5px;
    font-weight: 600;
}

.wait_animation {
    position: absolute;
    top: calc(50% - 32px);
    left: calc(50% - 32px);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    perspective: 800px;
}

    .wait_animation > div {
        position: absolute;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }

.r1 {
    left: 0%;
    top: 0%;
    animation: rotate-1 1s linear infinite;
    border-bottom: 3px solid #092cd7;
}

.r2 {
    right: 0%;
    top: 0%;
    animation: rotate-2 1s linear infinite;
    border-right: 3px solid #0aad09;
}

.r3 {
    right: 0%;
    bottom: 0%;
    animation: rotate-3 1s linear infinite;
    border-top: 3px solid #cc0000;
}

@keyframes rotate-1 {
    0% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@keyframes rotate-2 {
    0% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes rotate-3 {
    0% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}

.msgText {
    width: 100%;
    height: 4em;
}

.btn {
    margin-bottom: 4px;
}

.fb {
    position: absolute;
    z-index: 10015;
    top: 0px;
    left: 0px;
    width: 100%;
}

.sort {
    cursor: pointer;
}

    .sort:after {
        content: ' ';
        position: relative;
        left: 2px;
        border: 8px solid transparent;
    }

.sort-up, .sort-down {
    padding-right: 10px
}

    .sort-down:after {
        top: 10px;
        border-top-color: #7ad1e2
    }

    .sort-up:after {
        bottom: 15px;
        border-bottom-color: #7ad1e2
    }

.sortitem-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -8px;
}

.sortitem-placeholder {
    border: 1px dotted black;
    margin: 0 1em 1em 0;
    height: 50px;
}

.accordion-button {
    border: solid 1px #999;
}

.orderlist {
    position: relative;
    display: inline-block;
}

.country-select.off {
    opacity: 0.3;
}

.input-group-text.country-select {
    cursor: pointer;
}

.form-control, .form-check-input, .form-select {
    border-color: #9e8286 !important
}

.form-value {
    display: inline-block;
}

.contact-person {
    background-image: linear-gradient(to bottom, rgba(100,100,100,0.4), rgba(245,245,245,1))
}

div.select > select {
    padding: 0.5em 1em;
    line-height: 2em;
    border-radius: 0.5em 0.5em;
    border: none;
    font-weight: bold;
}

    div.select > select > option:hover {
        background-color: white !important;
        color: black !important;
    }

.cb-status {
    margin-left: -1.3em !important;
}

.orderproduct.active {
    background: #97e8fa;
}

.order-confirmation-rule {
    height: 1em;
    border: none;
    border-bottom: 1px solid #a02031;
    margin: 1em 0;
}

.order-header {
    cursor: pointer;
}

    .order-header:hover {
        background-color: #ccc;
    }

.orderconfirmation-placeholder {
    display: inline-flex;
    border: dotted 1px #333;
    border-radius: 5px;
    background-color: lightblue;
}

.editable:empty:before {
    content: attr(data-placeholder);
    color: #aaa;
    position: absolute;
    pointer-events: none;
}

.letterhead {
    width: 21cm;
    height: 29.7cm;
    outline: 1px solid #ccc;
}

.letterhead-logo {
    top: 1cm;
    right: 1cm;
    width: 3cm;
}

    .letterhead-logo img {
        max-width: 3cm;
        height: auto;
    }

.letterhead-sender {
    top: 5cm;
    left: 2.5cm;
    font-size: .6em;
    text-decoration: underline;
    min-width: 5cm;
    min-height: .3cm;
}

.letterhead-address {
    top: 5.5cm;
    left: 2.5cm;
}

.letterhead-employees {
    min-width: 4cm;
    min-height: .8em;
    font-size: .8em;
    top: 9.2cm;
    right: 4.8cm;
}

.letterhead-date {
    top: 8.5cm;
    right: 4.8cm;
}

.letterhead-content {
    top: 9.6cm;
    left: 2.5cm;
    max-width: 13.8cm;
    overflow: hidden;
}

.letterhead-company {
    width: 3.8cm;
    min-height: 2em;
    overflow: hidden;
    top: 9.2cm;
    right: .5cm;
    font-size: .7em;
}

.letterhead-control {
    top: 8.1cm;
    right: 3.3cm;
}

[data-items]:not([data-items="0"])::after {
    content: attr(data-items);
    font-size: 12px;
    color: #fff;
    background: #dc3545;
    border-radius: 50%;
    position: relative;
    left: 4px;
    top: -6px;
    opacity: 0.9;
    display:inline-block;
    font-weight:700;
    width:20px;
    height:20px;
    text-align:center;
    line-height:20px;
}
.frontend-product {
    background: linear-gradient(180deg, rgba(180, 180, 180, 0.15), rgba(180, 180, 180, 0));
}
.form-label {
    margin-bottom: .5rem;
    margin-top: .5rem;
}
.form-check .form-check-input {
    margin-top: .7rem;
}
.form-check-label{
    margin-top: .5rem;
}
.btn_to_top {
    all: unset;
    font-size: 1.5rem;
    position: fixed;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
    transform: scale(1.8);
    opacity: 0;
    transition: .3s;
}
#logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content:center;
    align-items:center;
    background-color: #fff;
}
.dot {
    fill: #cccccc;
    opacity: 0;
}
.line {
    stroke: #cccccc;
    stroke-width: 2;
    opacity: 0;
}
.letter {
    fill: #A02031;
    font-weight: 700;
    font-size: 48px;
    text-anchor: middle;
    opacity: 0;
}
.byline {
    fill: #A02031;
    font-weight: 500;
    font-size: 18px;
    text-anchor: middle;
    opacity: 0;
}

.centered {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

@media print {
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: left;
    }

    .col-md-12 {
        width: 100%;
    }

    .col-md-11 {
        width: 91.66666667%;
    }

    .col-md-10 {
        width: 83.33333333%;
    }

    .col-md-9 {
        width: 75%;
    }

    .col-md-8 {
        width: 66.66666667%;
    }

    .col-md-7 {
        width: 58.33333333%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-5 {
        width: 41.66666667%;
    }

    .col-md-4 {
        width: 33.33333333%;
    }

    .col-md-3 {
        width: 25%;
    }

    .col-md-2 {
        width: 16.66666667%;
    }

    .col-md-1 {
        width: 8.33333333%;
    }
}
