.shape{
    border-style: solid;
    border-radius: 7px;
    padding: 1em;
}
.media-reg {    border-color: #d9534f; }
.media-group {  border-color: #005ece; }
.media-medal {  border-color: #ff9600; }

#docview {
    width: 100%;
    height: 75px;
    background: transparent url(tp3.jpg) 0% 0.4%;
    -webkit-transition:background-position .1s ease-in;
    -moz-transition:background-position .1s ease-in;
    -o-transition:background-position .1s ease-in;
    transition:background-position .1s ease-in;
}
#docview img {
    position: relative;
    top: 38px;
    left: 5%;
    display:none;
    border: 2px solid #fff;
    border-radius: 40px;
}

.tooltip-inner {
    text-align: left !important;
}
.modal-body {
    padding: 0 !important;
}
.s90p {
    font-size: 90%;
}
.btn-add-tax {
    margin-top: 3px;
    margin-left: 20px;
}
/* jednoduche's jedno.css forces a pale teal .btn-success:hover background (!important),
   which loses contrast with the button's white text - restore a readable hover color. */
.btn-add-tax:hover,
.btn-add-tax:active,
.btn-add-tax:focus {
    background-color: #449d44 !important;
    color: #fff !important;
}

.btn-delete:hover i {
    color: #922;
}
.nav-sub > li > a {
    font-size: 100% !important;
}
.nav-editor-category {
    margin-bottom: 8px;
    padding-bottom: 0;
    border-bottom: 1px solid #ddd;
}
.nav-editor-category > li > a {
    padding: 4px 15px;
    color: #777;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .03em;
    background: transparent;
}
.nav-editor-category > li > a:hover,
.nav-editor-category > li > a:focus {
    color: #337ab7;
    background: transparent;
}
#tax-menu-items > li {
    display: flex;
    align-items: stretch;
    padding: 0;
    border-radius: 4px;
}
#tax-menu-items > li:hover {
    background-color: #eee;
}
#tax-menu-items > li.active {
    background-color: #337ab7;
}
#tax-menu-items > li.active > a {
    color: #fff;
}
#tax-menu-items > li.active > .tax-actions a {
    color: #fff;
}
#tax-menu-items > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    padding: 10px 15px 10px 0;
    background: transparent;
}
#tax-menu-items > li > a:hover,
#tax-menu-items > li > a:focus {
    background: transparent;
}
#tax-menu-items > li > .tax-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 10px 8px 10px 15px;
}
#tax-menu-items > li > .tax-actions .fa {
    font-size: 85%;
    opacity: .55;
}
#tax-menu-items > li > .tax-actions a:hover .fa {
    opacity: 1;
}
#tax-menu-items > li > .tax-actions-confirm {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    flex: 1 1 auto;
    color: #333;
}
#tax-menu-items > li.active > .tax-actions-confirm {
    color: #fff;
}
.list-months label {
    width: 15%;
    margin-left: 0px !important;
    white-space: nowrap;
}

#fetch-company,
.only-legal,
.only-fyz,
.only-prav {
    display: none;
}
.legal-prav #fetch-company {
    display: inline-block;
}
.legal-fyz .only-legal,
.legal-prav .only-legal {
    display: block;
}
.legal-fyz .only-fyz {
    display: block;
}
.legal-prav .only-prav {
    display: block;
}

.box-title strong {
    padding-left: 5px;
}
.compact-form .form-group {
    margin-bottom: 0;
}

.dmv-tax-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 6px;
    border-bottom: 1px solid #fff;
}
.dmv-tax-header-main {
    font-size: 16px;
}
.dmv-tax-header-company {
    color: #777;
    font-weight: 400;
}
.dmv-tax-header-sep {
    margin: 0 6px;
    color: #999;
}
.dmv-tax-header-reg {
    font-family: monospace;
    font-weight: 700;
    letter-spacing: .02em;
}
.dmv-tax-header-year {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 3px;
    background: #f0f0f0;
    color: #555;
    font-weight: 600;
    font-size: 13px;
}
