html {
    font-size: 14px;
}

body {
    background: #e5ebf0;
    font-family: "Segoe UI";
}

body #root {
    font-family: "Segoe UI";
    min-height: 100vh;
}

*:focus {
    outline: none !important;
}

.btn:focus {
    box-shadow: none;
}

.pointer {
    cursor: pointer;
}

.btn-red {
    border-radius: 50px;
    background: var(--red);
    box-shadow: 2px 2px 3px #7f1317, -2px -2px 3px #f6f8f9;
    color: #e9eff7;
    padding: .8rem 1.8rem;
    text-transform: uppercase;
    border: none;
}

.btn-red:hover, .btn-red:focus {
    box-shadow: inset 3px 3px 6px #7f1317, inset -1px -1px 3px #f6f8f9;
}

.btn-red-small {
    border-radius: 1rem;
    background: var(--red);
    box-shadow: 2px 2px 3px #7f1317, -2px -2px 3px #f6f8f9;
    color: #e9eff7;
    padding: .4rem .8rem;
    border: none;
}

.btn-red:hover, .btn-red-small:hover {
    box-shadow: inset 3px 3px 6px #7f1317, inset -1px -1px 3px #f6f8f9;

}

.btn-grey {
    padding: .8rem 1.8rem;
    border: none;
    border-radius: 2rem;
    color: black;
    text-transform: uppercase;
    box-shadow: 2px 2px 3px #797979, -2px -2px 3px #f6f8f9;
    background: #ecf0f4;
}

.btn-grey-small{
    padding: .4rem .8rem;
    border: none;
    border-radius: 1rem;
    color: black;
    box-shadow: 2px 2px 3px #797979, -2px -2px 3px #f6f8f9;
    background: #ecf0f4;
}

.btn-grey:hover, .btn-grey-small:hover {
    box-shadow: inset 2px 2px 3px #797979, inset -2px -2px 3px #f6f8f9;
}

.fs-h1 {
    font-size: 2.5rem
}

.fs-h2 {
    font-size: 2rem
}

.fs-h3 {
    font-size: 1.75rem;
}

.fs-h4 {
    font-size: 1.5rem;
}

.fs-h5 {
    font-size: 1.25rem;
}

.fs-h5-h6 {
    font-size: 1.15rem;
}

.fs-h6 {
    font-size: 1rem;
}

:root {
    --red: #ca1e25;
    --grey: #525252;
    --default: #e1ebf5;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('https://use.fontawesome.com/releases/v5.0.6/css/all.css');
}

.text-dark-grey {
    color: #757575;
}

.smaller{
    font-size:.85rem;
}

.table-custom thead tr th{
    border-bottom:0;
    border-top:0;
}

.table-custom tbody td{
    border-top:2px solid white;
}

.table-custom td, .table-custom th{
    border-right:2px solid white;
}

.table-custom td:last-child, .table-custom th:last-child{
    border-right:none;
}

.table .second-table-head th{
    color: #5e5e5e;
    font-weight: 600;
    border-bottom: 0;
    border-top: 0;
}

.textarea-border{
    border: 1px solid #b9b9b9;
    background: white;
    padding: .2rem .5rem;
    border-radius: 1rem;
}

.textarea-border textarea{
    border:none;
    padding:.5rem;
    width:100%;
}

.App{
    background: #e5ebf0;
    min-height: 100vh;
}

.container{
    background: white;
}

.bg-blue-grey{
    background: #e5ebf0;
}

.comment-grey .bg-comment {
    background: #7b8186;
}

.br-2 {
    border-radius: 2px;
}

.comment-arrow-left {
    left: 4px;
}

.comment-arrow {
    width: 22px;
    height: 22px;
    position: absolute;
    top: 50%;
    margin-right: 0;
    transform: translate(-50%, -50%) rotateZ(45deg);
}

.br-30 {
    border-radius: 30px;
}

.min-h-75 {
    min-height: 75px;
}

.comment-grey .bg-comment {
    background: #9ea7af;
}

.comment-grey .comment-border {
    border: 1px solid #9ea7af;
    background: white;
}

.comment-arrow-border {
    background: white;
    right: -17px;
}

.comment-arrow-border-width {
    width: 18px;
    height: 18px;
}

.border-none {
    border: none;
}

.comment-arrow-right {
    right: -18px;
}

.min-h-100vh{
    min-height: 100vh;
}

.container-custom{
    box-shadow: 9px 9px 22px #bfc8d0, -9px -9px 22px #f6f8f9;
    border-radius: 2rem;
}

.vybrat-klik{
    text-decoration: underline;
    cursor:pointer;
}

.popis-text{
    word-break: break-word;
    max-height: 165px;
    overflow-y: auto;
}

.pretahnete{
    border: 1px dotted #9ea7af;
    min-height: 50px;
    font-size:.9rem;
    min-width: 304px;
    text-align: center;
}

.pretahnete p, .pretahnete-pripominky p{
    margin:0;
    padding: 1.5rem 2rem;
}

.pretahnete-pripominky{
    font-size:.9rem;
    min-width: 304px;
    text-align: center;
}

.close-btn{
    font-size: 1.4rem;
    height: 21px;
    font-weight: bold;
    font-family: montserrat sans-serif;
    color: var(--red);
    line-height: 1;
    border: none;
    padding: 0;
    background:white;
}

.close-btn:hover{
    color: #9A181A;
}

body p.tree{
    margin:0;
}

body .p-tree .p-tree-container .p-treenode .p-treenode-content:focus {
    outline: 0 none;
    outline-offset: 0;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    background: #dc3545;
    color: white;
}

body .p-tree .p-tree-container .p-treenode .p-treenode-content.p-treenode-selectable:not(.p-highlight):not(.p-disabled):hover {
    background-color: #dc3545 !important;
    color: #e5ebf0 !important;
}

body .p-tree .p-tree-container .p-treenode .p-treenode-content{
    line-height: 1.2;
}

body .p-tree .p-tree-container .p-treenode .p-treenode-content:focus span,
body .p-tree .p-tree-container .p-treenode .p-treenode-content:hover span{
    color:white;
}

body .pi:before {
    font-size: 1.1rem;
}

.scroll-box{
    max-height: 300px;
    overflow: auto;
}

.box-pretahnout{
background: #e9edf1;
margin-bottom: 1rem;
margin-top: .2rem;
box-shadow: 0 0 2px 0 #9ea7af;
padding: .5rem 1rem;
}

.pripominky-text {
    display: block;
    overflow: hidden;
    word-wrap: break-word;
    text-overflow: ellipsis;
    max-height: 42px;
}

.no-resize {
    resize: none;
}

.pripominka-message {
    border: 1px solid grey;
    border-radius: 8px;
    padding: 4px;
}

.pripominka-message div:first-of-type {
    border-bottom: 1px solid grey;
}

.pripominka-message div:nth-of-type(2) {
    border-bottom: 1px solid grey;
}
