/* 
    Created on : 4. 11. 2024, 12:48:05
    Author     : ripas
*/
svg {
    max-width: 100%;
    height: auto;
}
.page-title {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(233, 233, 233, 1));	
    background-position: top left;	
    background-size: 100%;	
    background-repeat: repeat;
}
#kategorie {
    background-image: linear-gradient(rgb(248, 248, 248), rgb(248, 248, 248)); 
    background-position: left top; 
    background-size: 100%; 
    background-repeat: repeat;
}
.dropdown-toggle::after {
    margin-top: 0.6em;
    position: absolute;
    right: 0.6em;
}
.dropdown-item {
    cursor: pointer;
}
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.dropdown-item-selected {
   background-color: #ccc;
}
.message {
	margin-top: 10px;
	display: none;
    color: #FFFFFF;
	text-align:center;
	padding: 5px;
	border: 0px solid green;
	font-weight: 600;
    font-size: 15px;
    width: 100%;
    margin-bottom: 10px;
    background-color: green;
}
label.error {
    border: 0px solid red;
    color: #CD2701;
    margin-top: 5px;
    display: block;
}
.message.error {
	display: block;
	border-color: red;
        
}
.message.success {
	border-color: green;
	display: block;
}
.message.processing  {
	border-color: yellow;
	display: block;
}
.uploadPreview {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zabezpečí správne orezanie */
}
.custom-file {
	position: relative;
	display: inline-block;
	width: 100%;
	height: calc(2.125rem + 2px);
	margin-bottom: 0;
}
input[type="file"] {
	color: #71748d;
	background-color: #fff;
	border-color: #a7a7f0;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(214, 214, 255, .75);
}
.custom-file-input, .custom-file-input-gallery {
	position: relative;
	z-index: 2;
	width: 100%;
	height: calc(2.25rem + 2px);
	margin: 0;
	opacity: 0;
}

.profile-link.item-active {
    color: #212529;
    background-color: #e5e5e5;
    border-color: #dfdfdf;
}
.col-kat {
    padding-bottom: 8px;
    padding-top: 8px;
}
.col-kat input[data-name="kategorie"] + .icon-check  {
    width: 25px;
    height: 25px;
    position:absolute;
    top:20%;
    left: 35%;
    display:block;
    display:none;
}
.col-kat input[data-name="kategorie"] + .icon-check img  {
    width: 100%;
    height: auto;
}
.col-kat input[data-name="kategorie"]:checked + .icon-check  {
    display:inline-block;
}
.col-kat label {
    cursor: pointer;
}
.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 100%;
}

.profile-link:hover {
	color: #212529;
	background-color: #e5e5e5;
	border-color: #dfdfdf;
}
.toast-body h4 {
	color: #F94800;
}
.dark-bg {
	background: #252525;
	color: #fff;
}
.custom-file-label::after {
    display: none;
}
label a {
    color: #495057;
}

.uploadPreviewImage-image {
    height: 200px;
    width: 200px;
    overflow: hidden;
}
.uploadPreviewImage-image img{
      object-fit: cover;
      margin: 0 !important;
}
.archived {
    opacity: 0.7;
}
.archived h6, .archived h6 .text-danger {
    color: #003399 !important;
}

.btn.processing {
    padding-right: 22px;
    background-position: right center;
    background-image: url('images/loading.gif');
    background-size: 20px 20px;
    background-repeat: no-repeat;
}

.avatar-wrapper {
	height: 150px;
	width: 150px;
	margin: 0 auto 1rem;
	overflow: hidden;
}

#bottom-to-top {
    bottom: 0px;
   position: fixed;
   right: 80px;
}
#toTop {
    --totop_border_radius: 6px;
    --totop_background: #333333;
    --totop_background_hover: var(--awb-color5);
    --totop_icon_color: #ffffff;
    --totop_icon_hover: #ffffff;
}
#toTop {
    background-color: var(--totop_background);
    border-radius: 4px 4px 0 0;
    height: 35px;
    display: block;
    text-align: center;
    width: 48px;
        position: relative;
    z-index: 100000;
    transition: opacity .4s ease-in-out,background .2s ease-in-out;
    line-height: 1;
    pointer-events: none;
}
#toTop:hover {
    text-decoration: none;
}
#toTop::before {
    line-height: 35px;
    -webkit-font-smoothing: antialiased;
    
    font-size: 22px;
    color: var(--totop_icon_color);
}
.screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
#toTop.active {
    pointer-events: auto;
}
.dropdown-item {
    padding: 0.25rem 1.5rem 0.25rem 2rem !important;
    
}
.bootstrap-select .dropdown-toggle .filter-option {
    border: 0px solid #ced4da !important;
    border-radius: 0.25rem;
}
.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    left: 15px !important; 
    right: auto !important;
    
}