*{
	box-sizing: border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
   user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox*/
   -webkit-tap-highlight-color: transparent;
   outline: 0;							  
}

.notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

/*
html, body {
	margin: 0;
	padding: 0;
	overflow: hidden; 
	touch-action: none;
	-ms-touch-action: none;
}

canvas {
		touch-action-delay: none;
		touch-action: none;
		-ms-touch-action: none;
}
*/

html, body {
	margin: 0;
	padding: 0;
	overflow: hidden;
	touch-action: manipulation; /* dozvoljava tap/touch ali blokira pinch/zoom */
	-ms-touch-action: manipulation;
	height: 100%;
}

canvas {
	touch-action: manipulation; /* dozvoljava normalan touch */
	-ms-touch-action: manipulation;
}


@font-face {
    font-family: 'comic_sans';
    src: url('../ComicSansMS.woff2') format('woff2'),
         url('../ComicSansMS.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

#loading-screen {
	position: fixed;
	width: 41.3vw; 
	top:50%;
	left:50%;
	z-index: 190000002;
	transform: translate(-50%, 59%);
	visibility: hidden;
	transition: opacity 0.4s ease-in-out;
	opacity: 0;
}

#loading-particle-container {
	visibility: hidden;
}

#loading-base {
	width: 100%;
	-webkit-animation-name: dance;
    -webkit-animation-duration: 0.85s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
	-webkit-animation-timing-function: ease-in-out;
	
    animation-name: dance;
    animation-duration: 0.85s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-timing-function: ease-in-out;
	
	transition: 0.5s;
}

.particle-icon {
	transition: top 1.1s ease-out, left 1.3s ease-in-out, opacity 0.4s ease-in-out 0.8s;
	top: 0;
	left: 0;
	opacity: 1;
	position: absolute;
	width: 18%;
	visibility: hidden;/**/
	
	opacity: 0;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease-in-out;
	
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

.move-part-1 {
	-webkit-animation-name: particle-anim-1;
	-webkit-animation-duration: 4.2s;
	
	animation-name: particle-anim-1;
	animation-duration: 4.2s;
}

.move-part-2 {
	-webkit-animation-name: particle-anim-2;
    -webkit-animation-duration: 4.2s;
	-webkit-animation-delay: 0.35s;
	
	animation-name: particle-anim-2;
    animation-duration: 4.2s;
	animation-delay: 0.35s;
}


.move-part-3 {
	-webkit-animation-name: particle-anim-3;
    -webkit-animation-duration: 4.2s;
	-webkit-animation-delay: 0.7s;
	
	animation-name: particle-anim-3;
    animation-duration: 4.2s;
	animation-delay: 0.7s;
}

.move-part-4 {
	-webkit-animation-name: particle-anim-4;
    -webkit-animation-duration: 4.2s;
	-webkit-animation-delay: 1.05s;
	
	animation-name: particle-anim-4;
    animation-duration: 4.2s;
	animation-delay: 1.05s;
}

@-webkit-keyframes particle-anim-1 {
    /* Phase 1 */	
	0% {
			top: -70%;
			opacity: 0;
			left: 41%;
		}
		
	9%  {
			opacity: 1;
			left: 41%;
		}	
		
	33% {
			opacity: 0;
			top: -370%;
			left: 16%;
		}
		
	/* Phase 2 */	
	34% {
			top: -70%;
			opacity: 0;
			left: 37%;
		}
		
	42%  {
			opacity: 1;
			left: 37%;
		}	
		
	66% {
			opacity: 0;
			top: -360%;
			left: 67%;
		}	
		
	/* Phase 3 */	
	67% {
			top: -70%;
			opacity: 0;
			left: 43%;
		}
		
	83%  {
			opacity: 1;
			left: 47%;
		}	
		
	100% {
			opacity: 0;
			top: -360%;
			left: 65%;
		}
		
}

@-webkit-keyframes particle-anim-2 {
	/* Phase 1 */	
	0% {
			top: -70%;
			opacity: 0;
			left: 41%;
		}
		
	16%  {
			opacity: 1;
			left: 40%;
		}	
		
	33% {
			opacity: 0;
			top: -370%;
			left: 45%;
		}
		
	/* Phase 2 */	
	34% {
			top: -70%;
			opacity: 0;
			left: 38%;
		}
		
	37%  {
			opacity: 1;
			left: 37%;
		}	
		
	66% {
			opacity: 0;
			top: -360%;
			left: 16%;
		}	
		
	/* Phase 3*/	
	67% {
			top: -70%;
			opacity: 0;
			left: 39%;
		}
		
	74%  {
			opacity: 1;
			left: 40%;
		}	
		
	100% {
			opacity: 0;
			top: -360%;
			left: 58%;
		}	
}


@-webkit-keyframes particle-anim-3 {
	 /* Phase 1 */	
	 0% {
			top: -70%;
			opacity: 0;
			left: 41%;
		}
		
	8%  {
			opacity: 1;
			left: 41%;
		}	
		
	33% {
			opacity: 0;
			top: -370%;
			left: 14%;
		}
		
	/* Phase 2 */	
	34% {
			top: -70%;
			opacity: 0;
			left: 44%;
		}
		
	41%  {
			opacity: 1;
			left: 44%;
		}	
		
	66% {
			opacity: 0;
			top: -360%;
			left: 29%;
		}	
		
	/* Phase 3 */	
	67% {
			top: -70%;
			opacity: 0;
			left: 43%;
		}
		
	83%  {
			opacity: 1;
			left: 41%;
		}	
		
	100% {
			opacity: 0;
			top: -360%;
			left: 37%;
		}	
}

@-webkit-keyframes particle-anim-4 {
		/* Phase 1 */	
	 0% {
			top: -70%;
			opacity: 0;
			left: 40%;
		}
		
	16%  {
			opacity: 1;
			left: 41%;
		}	
		
	33% {
			opacity: 0;
			top: -370%;
			left: 42%;
		}
		
	/* Phase 2 */	
	34% {
			top: -70%;
			opacity: 0;
			left: 43%;
		}
		
	50%  {
			opacity: 1;
			left: 33%;
		}	
		
	66% {
			opacity: 0;
			top: -360%;
			left: 29%;
		}	
		
	/* Phase 3 */	
	67% {
			top: -70%;
			opacity: 0;
			left: 39%;
		}
		
	70%  {
			opacity: 1;
			left: 37%;
		}	
		
	100% {
			opacity: 0;
			top: -360%;
			left: 27%;
		}	
}


@keyframes particle-anim-1 {
    /* Phase 1 */	
	0% {
			top: -70%;
			opacity: 0;
			left: 41%;
		}
		
	9%  {
			opacity: 1;
			left: 41%;
		}	
		
	33% {
			opacity: 0;
			top: -370%;
			left: 16%;
		}
		
	/* Phase 2 */	
	34% {
			top: -70%;
			opacity: 0;
			left: 37%;
		}
		
	42%  {
			opacity: 1;
			left: 37%;
		}	
		
	66% {
			opacity: 0;
			top: -360%;
			left: 67%;
		}	
		
	/* Phase 3 */	
	67% {
			top: -70%;
			opacity: 0;
			left: 43%;
		}
		
	83%  {
			opacity: 1;
			left: 47%;
		}	
		
	100% {
			opacity: 0;
			top: -360%;
			left: 65%;
		}
		
}

@keyframes particle-anim-2 {
	/* Phase 1 */	
	0% {
			top: -70%;
			opacity: 0;
			left: 41%;
		}
		
	16%  {
			opacity: 1;
			left: 40%;
		}	
		
	33% {
			opacity: 0;
			top: -370%;
			left: 45%;
		}
		
	/* Phase 2 */	
	34% {
			top: -70%;
			opacity: 0;
			left: 38%;
		}
		
	37%  {
			opacity: 1;
			left: 37%;
		}	
		
	66% {
			opacity: 0;
			top: -360%;
			left: 16%;
		}	
		
	/* Phase 3*/	
	67% {
			top: -70%;
			opacity: 0;
			left: 39%;
		}
		
	74%  {
			opacity: 1;
			left: 40%;
		}	
		
	100% {
			opacity: 0;
			top: -360%;
			left: 58%;
		}	
}


@keyframes particle-anim-3 {
	 /* Phase 1 */	
	 0% {
			top: -70%;
			opacity: 0;
			left: 41%;
		}
		
	8%  {
			opacity: 1;
			left: 41%;
		}	
		
	33% {
			opacity: 0;
			top: -370%;
			left: 14%;
		}
		
	/* Phase 2 */	
	34% {
			top: -70%;
			opacity: 0;
			left: 44%;
		}
		
	41%  {
			opacity: 1;
			left: 44%;
		}	
		
	66% {
			opacity: 0;
			top: -360%;
			left: 29%;
		}	
		
	/* Phase 3 */	
	67% {
			top: -70%;
			opacity: 0;
			left: 43%;
		}
		
	83%  {
			opacity: 1;
			left: 41%;
		}	
		
	100% {
			opacity: 0;
			top: -360%;
			left: 37%;
		}	
}


@keyframes particle-anim-4 {
		/* Phase 1 */	
	 0% {
			top: -70%;
			opacity: 0;
			left: 40%;
		}
		
	16%  {
			opacity: 1;
			left: 41%;
		}	
		
	33% {
			opacity: 0;
			top: -370%;
			left: 42%;
		}
		
	/* Phase 2 */	
	34% {
			top: -70%;
			opacity: 0;
			left: 43%;
		}
		
	50%  {
			opacity: 1;
			left: 33%;
		}	
		
	66% {
			opacity: 0;
			top: -360%;
			left: 29%;
		}	
		
	/* Phase 3 */	
	67% {
			top: -70%;
			opacity: 0;
			left: 39%;
		}
		
	70%  {
			opacity: 1;
			left: 37%;
		}	
		
	100% {
			opacity: 0;
			top: -360%;
			left: 27%;
		}	
}


@-webkit-keyframes dance {
    from {-webkit-transform: scale(1)}
	to {-webkit-transform: scale(1.1)}
}

@keyframes dance {
    from {
		transform: scale(1)
		}
	to {
		transform: scale(1.1)
		}
}

/* Hide recaptcha badge*/
.grecaptcha-badge {
   visibility: hidden;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 50000000s ease-in-out 0s;
}

#info-text{
	position: absolute;
	opacity: 0;
	filter: alpha(opacity=0);  /* Opacity for IE8 and lower */
	z-index: 1;
}

#canvasdiv {
	position: relative;
	z-index: 10;
}

#yt-iframe {
	z-index: 50;
}

/*
* Contact form
*/
.modal {
   /* display: none;  Hidden by default */
    display: flex;
    visibility: hidden;/**/
	align-items: center;
	justify-content: center;
    position: fixed; /* Stay in place */
    z-index: 90000000; /* Sit on top */
    padding: 0;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow-x: hidden; /* Hide overflow  */
	background: url(../assets/form-back.jpg) no-repeat center center; 
	-webkit-background-size: cover;
	-moz-background-size:  cover;
	-o-background-size:  cover;
	background-size:  cover%;
	
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.modal-contact-form {
	position: relative; 
    background: #fff;
    margin: auto;
	width: 100%;
	padding: 0;
    background: url(../assets/form-scroll-background.png) no-repeat center center; 
    -webkit-background-size: auto 100%;
    -moz-background-size:  auto 100%;
    -o-background-size:  auto 100%;
    background-size:  auto 100%;
	
	/*
	transform: scale(0);
	-webkit-transform: scale(0);
	*/
	
	transform: scale(0.98);
	-webkit-transform: scale(0.98);
	transition: transform 0.3s ease-in-out;
}

#modal-subcontainer {
	position: relative; 
	max-width: 350px;
	margin: auto;
}

#contact-submessage {
	position: absolute;
    font-size: 18px;
    color: #5d0004;
	padding: 6px 2px;
	margin: 0;
	left: 40px;
	bottom: 0;
	font-family: comic_sans;
	width: 200px;
}

#modal-message-error {
	font-size: 17px;
	position: absolute;
	bottom: 55px;
}

#modal-message-sent{
	position: absolute;
	bottom: 65px;
}

#modal-message-sending {
	position: absolute;
	bottom: 65px;
}

.modal-contact-form h2 {
    padding: 9px 15px 6px 15px;
	margin: 0;
	font-weight: normal;
	font-family: 'comic_sans';
	font-size: 22px;
	line-height: 118%;
}

.modal-contact-form .submit-container {
    padding-left: 0;
    padding-right: 50px!important;
	padding-bottom: 0;
	padding-top: 0;
    text-align: right!important;
	margin-bottom: 54px;
}

.modal-contact-form .input-container {
	padding: 8px;
    padding-bottom: 10px;
	margin-left: 10%;
	width: 80%;
}

.modal-contact-form .input-container.half {
	width: 40%;
}

.modal-contact-form .input-container.half.right {
	margin-left: 0%;
}

.modal-contact-form input {
    display: block;
    padding: 4px 8px;
	border: none;
	background: none;
    width: 92%;
	margin:auto;
    font-size: 22px;
	font-family: 'comic_sans';
	position:relative;
	z-index: 90000002;
}

.modal-contact-form .input-container.half input {
	 padding: 4px 16px;
}

.input-underline {
	display: block;
	width: 100%;
	height: 15px;
	margin-top: -19px;
	background-image: url('../assets/underline.png');
	background-repeat: no-repeat;
	background-size: contain;
}

.input-underline-short {
	display: block;
	width: 100%;
	height: 15px;
	margin-top: -19px;
	background-image: url('../assets/underline-short.png');
	background-repeat: no-repeat;
	background-size: contain;
}

/* Hide up and down arrows for number input*/
/* Chrome, Safari, Edge, Opera */
.modal-contact-form input::-webkit-outer-spin-button,
.modal-contact-form input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.modal-contact-form input[type=number] {
  -moz-appearance: textfield;
}

.modal-contact-form input:focus {
    outline: none;
}

/* submit button */
.modal-contact-form .submit-container input {
	-webkit-appearance: none;
	-moz-appearance: none;
	background: url("../assets/submitbtn.png") no-repeat center center;
	background-size: contain;
    width: auto;
    padding: 8px 10px;
    border: none;
  /*  background-color: #a345a3; */
    font-size: 22px;
    color: #000;
    display: inline-block;
    cursor: pointer;
}

.modal-contact-form .submit-container input:hover {
   color: #444;
}

#input-submit.disabled {
  /*  background-color: #977b97; */
	background-color: transparent;
	cursor: default!important;
}

/* Set placeholder color */
.modal-contact-form input::placeholder {
  color: #555!important;
  opacity: 1; /* Firefox */
}

.modal-contact-form input:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: #555!important;
}

.modal-contact-form input::-ms-input-placeholder { /* Microsoft Edge */
 color: #555!important;
}

/* Add Animations 
.modal {
	/*
    -webkit-animation-name: modal-intro;
    -webkit-animation-duration: 0.5s;
    animation-name: modal-intro;
    animation-duration: 0.5s;
	*/
	/*
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}
*/

@-webkit-keyframes modal-intro {
    from {
		opacity: 0;
	} 
	to {
		opacity: 1;
	}
}

@keyframes modal-intro {
	from {
		/* 
		background-color: rgb(255,255,255);
		background-color: rgba(255,255,255, 0);
	   */
	   opacity: 0;
	} 
	to {
		/*
		background-color: rgb(255,255,255);
		background-color: rgba(255,255,255,1);
		 */
		opacity: 1;
	}
}

/*
.modal-contact-form {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.4s;
    animation-name: zoom;
    animation-duration: 0.4s;
}
*/

@-webkit-keyframes zoom {
    from {-webkit-transform: scale(0)}
to {-webkit-transform: scale(1)}
}

@keyframes zoom {
    from {transform: scale(0.1)}
to {transform: scale(1)}
}

/* The Close Button */
.close-contact-dialog {
    position: absolute;
    top: -2px;
    right: 15px;
    color: #222;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-contact-dialog:hover,
.close-contact-dialog:focus {
    color: #555;
    text-decoration: none;
    cursor: pointer;
}


/* 
* CSS trigered animations
*/
@keyframes scalein {
        0% {
            transform: scale(0.1);
            -webkit-transform: scale(0.1);
        }
        100% {
            transform: scale(1);
            -webkit-transform: scale(1);
        }
}

@keyframes trans-from-right {
        0% {
           
			 transform: translate(100vw, 0);
			 -webkit-transform: translate(100vm, 0);
        }
        100% {
            transform: translate(0, 0);
			 -webkit-transform: translate(0, 0);
        }
}

@keyframes trans-from-left {
        0% {
           
			 transform: translate(-100vw, 0);
			 -webkit-transform: translate(-100vm, 0);
        }
        100% {
            transform: translate(0, 0);
			 -webkit-transform: translate(0, 0);
        }
}

/* 
* Grid view
*/
.row::before, .row::after {
    content:" ";
    display: table;
}

.row::after {
    clear: both;
}

.row {
    *zoom: 1;
}

[class*="col-"] {
    float: left;
    /* for mobile */
    width: 100%;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

/* Stilizacija Grid View sitema*/
/* ZA TABLETE */
@media only screen and (min-width: 600px) {
    /* Za Tablete: */
    .col-m-1 {width: 8.33%;}
    .col-m-2 {width: 16.66%;}
    .col-m-3 {width: 25%;}
    .col-m-4 {width: 33.33%;}
    .col-m-5 {width: 41.66%;}
    .col-m-6 {width: 50%;}
    .col-m-7 {width: 58.33%;}
    .col-m-8 {width: 66.66%;}
    .col-m-9 {width: 75%;}
    .col-m-10 {width: 83.33%;}
    .col-m-11 {width: 91.66%;}
    .col-m-12 {width: 100%;}

/*
    .modal-contact-form .input-container {
        padding: 8px;
    }


    .modal-contact-form { 
        padding: 15px;
        max-width: 70%;
    }
	*/
 }

/* ZA DESKTOP */
/* @media only screen and (min-width: 769px) { */
@media only screen and (min-width: 1025px) {
    /* Za Desktop: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
}
 
@media (orientation: landscape) {
	#loading-screen {
	  width: 17vw;
	  transform: translate(-50%, 75%)!important;
	}
}