/* ************************* */
/* Custom CSS - basic styles */
/* ************************* */
/* @import url('https://fonts.googleapis.com/css2?family=Dosis:wght@300;400;500;700&family=Parisienne&family=Ubuntu:wght@300;400;500;700&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&family=Parisienne&display=swap');
* {
	scroll-behavior: smooth;
}

:root {
	/* main cms color */
	--main-color: #198754;
	--main-color-hover: #157347;
}

/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
	width: 10px;
}
::-webkit-scrollbar-track {
	background: silver;
}
::-webkit-scrollbar-thumb {
	background: var(--main-color);
	border-radius: 12px;
	transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
	background: var(--main-color-hover);
}

/* basic html & classes */
html {
	height: 100% !important;
}
body {
	height: 100% !important;
	font-family: 'Montserrat', sans-serif;
}
.text-nakovcms-color {
	color: var(--main-color);
}
.text-shadow {
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
}
.img-fluid {
	transition: 0.5s;
}
@media (max-width: 576px) {
	.w-100-small {
		width: 100% !important;
	}
}

.block-title {
	display: flex;
	justify-content: center;
	margin-bottom: 5rem;
	font-family: 'Montserrat', cursive;
	font-size: 3rem;
	line-height: 1.4;
}
.block-title span {
	font-weight: 500;
	text-align: center;
	position: relative;
	padding-bottom: 8px;
}
.block-title span::before,
.block-title span::after {
	content: '';
	position: absolute;
	height: 3px;
	width: 100%;
	background: var(--main-color);
	left: 0;
	bottom: 0;
}
.block-title span::after{
	bottom: -7px;
	width: 70%;
	left: 50%;
	transform: translateX(-50%);
}

.block-text {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2rem;
	line-height: 1.6;
	color: #333333ff;
}

/* ************************ */
/* navigation & breadcrumbs */
/* ************************ */
#navbar {
	transition: all 0.15s ease;
}
.text-navbar {
	color: white !important;
	color: rgba(255, 255, 255, 0.55) !important;
}

#breadcrumbs a {
	text-decoration: none !important;
}
#scroll-to-top {
	position: fixed;
	background: var(--main-color);
	bottom: 20px;
	right: 20px;
	color: white !important;
	text-decoration: none !important;
	padding: 7px 12px;
	font-size: 18px;
	border-radius: 6px;
	box-shadow: rgba(0, 0, 0, 0.15) !important;
	display: none;
	z-index: 999;
}
#scroll-to-top:hover {
	cursor: pointer;
	background: var(--main-color-hover);
}

/* ********** */
/* page index */
/* ********** */

.img-index-service {
	max-height: 300px;
	transition: all 0.75s ease-in-out;
}

.img-index-service:hover {
	cursor: pointer;
}

/* breakpont md */
@media (min-width: 768px) {
	.img-index-service {
		max-height: 350px;
	}
	.img-index-service:hover {
		transform: rotate(360deg);
	}
}

/* ********* */
/* page luck */
/* ********* */

#img-luck {
	width: 100%;
	max-height: 200px;
	object-fit: cover;
}

.qrcode-img-container {
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.modal-img-qrcode {
	align-self: center;
	max-width: 100px;
	max-height: 100px;
}




/* ************* */
/* page contacts */
/* ************* */
.contact-icon-circle {
	background-color: var(--main-color);
	color: white;
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	font-size: 2.5em;
	transition: all 0.5s;
	padding-top: 0.75em;
}
.contact-icon-circle:hover {
	background-color: var(--main-color-hover);
	cursor: pointer;
}
@media (min-width: 768px) {
	.contact-icon-circle:hover {
		box-shadow: 0px 0px 6px 4px silver;
	}
}
#contact-form .sg-form-input {
	/* spam control, real users cant fill it in */
	display: none !important;
}

/* ************* */
/* Footer styles */
/* ************* */
footer {
	border-top: 5px solid var(--main-color);
}
.footer-bottom {
	background-image: linear-gradient(rgba(0, 0 , 0, 0), rgba(0, 0, 0, 1));
}
.footer-item {
	background-color: rgba(52, 58, 64, 0.9);
}
.nav-footer {
  position: relative;
  display: block;
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}
.nav-footer-item {
  display: flex;
  margin: 0px;
  padding: 0px;
}
.nav-footer-item a {
	cursor: pointer;
	display: inline-flex;
	overflow: hidden;
	width: 100%;
	text-decoration: none;
}
.nav-footer-item:hover > a > span {
	color: white !important;
}
@media (min-width: 768px) {
	.nav-footer-item > a > span {
	    position: relative;
	}
	.nav-footer-item > a > span::before {
	    content: "";
	    position: absolute;
	    bottom: 0;
	    left: 0;
	    right: 0;
	    height: 1px;
	    background-color: gray;
			opacity: 0;
			transform: translateX(-110%);
	    transition: all 0.5s ease-in-out;
	}
	.nav-footer-item:hover > a > span::before {
	    position: absolute;
	    height: 1px;
	    background-color: gray;
			opacity: 1;
	    transform: translateX(0);
	    transition: all 0.2s ease-in-out;
	}
}

/* social icons */
.navbar-icon-mail:hover {
	color: var(--main-color-hover) !important;
}
.navbar-icon-log-in:hover, .navbar-icon-log-out:hover, .navbar-icon-admin:hover {
	color: var(--main-color-hover) !important;
}
.navbar-icon-facebook, .navbar-icon-admin, .navbar-icon-log-out, .navbar-icon-log-in, .navbar-icon-instagram, .navbar-icon-mail {
	font-size: 1.2rem;
}
.navbar-icon-facebook:hover, .footer-icon-facebook:hover, #admin-social-icons .footer-icon-facebook {
	color: #1877f2 !important;
}
.navbar-icon-twitter:hover, .footer-icon-twitter:hover, #admin-social-icons .footer-icon-twitter {
	color: #1DA1F2 !important;
}
.navbar-icon-youtube:hover, .footer-icon-youtube:hover, #admin-social-icons .footer-icon-youtube {
	color: red !important;
}
.navbar-icon-instagram:hover, .footer-icon-instagram:hover, #admin-social-icons .footer-icon-instagram {
  color: transparent !important;
  background: -webkit-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  background: -o-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
}

.we-use-cookies-container {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 11;
}

/* ************************** */
/* Bootstrap styles overwrite */
/* ************************** */
.accordion-button:focus {
	border: solid rgba(0,0,0,.125) !important;
	box-shadow: 0px 0px 1px var(--main-color-hover) !important;
}
.accordion-button:not(.collapsed)::after {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='green' %3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
textarea:focus, input:focus {
  outline: none !important;
}
.bg-modal {
	background-color: rgb(32, 33, 36);
	background-color: rgba(32, 33, 36, 0.85);
}

/* ********** */
/* page admin */
/* ********** */

@media (min-width: 992px) {

	.animate_content {
		animation: animate 2s ease;
		animation-iteration-count: 1;
		animation-fill-mode: forwards;
	}
	
	@keyframes animate {
		0% {
			transform: scale(0.2, 0.002);
			opacity: 0;
		}
		50% {
			transform: scale(1, 0.002);
			opacity: 0.5;
		}
		100% {
			transform: scale(1, 1);
			opacity: 1;
		}	
	}
}

#admin-body-loader {
	animation: fadeInAnimation ease 1s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

#admin-nav {
	padding: 0 !important;
	margin: 0 !important;
}

#admin-nav .navbar-brand {
	font-size: 1.3rem;
}

#admin-nav ~ main {
	display: flex;
	flex-direction: column;
	/* height: calc(100% - 64px); */
	min-height: calc(100vh - 64px);
}

#admin-main {
	height: 100vh !important;
}

.select-sort {
	width: 50% !important;
}

@media (min-width: 576px) {
	.select-sort {
		width: 45% !important;
	}
}
@media (min-width: 768px) {
	.select-sort {
		width: 35% !important;
	}
}

@media (max-width: 991px) {

	#admin-main-menu .nav-link {
		padding: 1rem;;
	}

}

@media (min-width: 992px) {

	#admin-nav > [class*=container] {
		align-items: stretch;
    	flex-direction: column;
    	min-height: 100%;
	}

	#admin-nav .navbar-brand {
		display: flex;
		flex-direction: column;
		text-align: center;
	}

	#admin-nav .navbar-brand {
		margin: 0;
		border-bottom: 1px solid silver;
		margin-bottom: 1rem;
	}

	#admin-nav {
		border-right: 1px solid var(--bs-navbar-vertical-border-color);
		bottom: 0;
		display: block;
		max-width: 16.25rem;
		overflow-y: auto;
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 1000;
	}

	#admin-nav .navbar-collapse {
		align-items: stretch;
		display: flex;
		flex: 1;
		flex-direction: column;
	}

	#admin-nav .navbar-nav {
		flex-direction: column;
		margin-left: calc(var(--bs-navbar-padding-x) * -1);
		margin-right: calc(var(--bs-navbar-padding-x) * -1);
	}

	#admin-main-menu .navbar-nav {
		--bs-nav-link-padding-x: 0;
		--bs-nav-link-padding-y: 0.90625rem;
		--bs-nav-link-font-weight: ;
		--bs-nav-link-color: var(--bs-navbar-color);
		--bs-nav-link-hover-color: var(--bs-navbar-hover-color);
		--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);
	    display: flex;
	    flex-direction: column;
	    list-style: none;
	    margin-bottom: 0;
	}

	#admin-main-menu a.nav-link {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	#admin-main-menu a.nav-link i {
		min-width: 24px;
	}

	#admin-nav ~ main {
	  	margin-left: 16.25rem;
		height: 100%;
		min-height: 100vh;
	  }

	#admin-nav .navbar-brand {
		font-size: 2rem;
	}
	.select-sort {
		width: 25% !important;
	}

}

@media (min-width: 1200px) {
	.select-sort {
		width: 15% !important;
	}
}

.scrollbar {
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	overscroll-behavior: contain;
	scrollbar-color: #989ea6 transparent;
	scrollbar-gutter: auto;
	scrollbar-width: thin;
}
.nav-item.first-level:hover {
	background-color: rgba(150, 150, 150, 0.15);
}

.nav-item-dropdown:hover {
	background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
	border-bottom: 1px solid silver;
}

.nav-item-dropdown:hover span {
	color: var(--main-color-hover);
}

li.nav-item-dropdown .nav-link.active i {
    color: var(--bs-success);
}
li.nav-item-dropdown .nav-link.active span {
    color: var(--bs-navbar-active-color);
}

.nav-items-dropdown span {
	color: silver;
}

.nav-items-dropdown li:not(:last-child) {
	border-bottom: 1px solid silver;
}


#admin-main-menu [aria-expanded=true], 
#admin-main-menu [data-bs-toggle=collapse]:not(.collapsed),
#admin-main-menu [data-bs-toggle=collapse]:not(.collapsed) ~ .nav-items-dropdown.show {
	background-color: rgba(150, 150, 150, 0.15);
}

#admin-main-menu [data-bs-toggle=collapse]:before {
	border: solid;
	border-width: 0 0.2rem 0.2rem 0;
	border-color: var(--bs-success);
	content: " ";
	display: inline-block;
	padding: 0.15rem;
	position: absolute;
	right: 1rem;
	top: 1.1rem;
	transform: rotate(45deg);
	transition: all 0.2s ease-out;
}

#admin-main-menu [aria-expanded=true]:before, 
#admin-main-menu [data-bs-toggle=collapse]:not(.collapsed):before {
	top: 1.4rem;
	border-color: var(--bs-danger);
	transform: rotate(-135deg);
}
