/* General Demo Style */
@import url(http://fonts.googleapis.com/css?family=Lato:100,400,700,900);

html { height: 100%; font-size: 100%;}

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

body {
	font-family: Comic Sans MS, cursive;
	background: #f9f9f9;
	font-weight: 400;
	font-size: 1em;
	color: #333;
	overflow: scroll;
	overflow-x: hidden;
}

a {
	color: #039;
	text-decoration: none;
}

.container {
	width: 100%;
	position: relative;
}

.main,
.container > header {
	width: 90%;
	max-width: 76em;
	margin: 0 auto;
	padding: 0 1.875em 3.125em 1.875em;
}

.container > header {
	padding: 1.875em;
}

.container > header h1 {
	font-size: 2.125em;
	line-height: 1.3;
	margin: 0;
	font-weight: 700;
	color: #333;
	float: left;
}

.container > header h1 span {
	display: block;
	font-size: 65%;
	font-weight: 300;
}

/* Header Style */
.codrops-top {
	line-height: 2.5;
	font-size: 0.688em;
	background: #fff;
	background: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	z-index: 9999;
	position: relative;
	box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
}

.codrops-top a {
	padding: 0 1em;
	letter-spacing: 0.1em;
	color: #333;
	display: inline-block;
}

.codrops-top a:hover {
	background: rgba(255,255,255,0.8);
	color: #000;
}

.codrops-top span.right {
	float: right;
}

.codrops-top span.right a {
	float: left;
	display: block;
}

/* Demo Buttons Style */
.codrops-demos {
	float: right;
	padding-top: 0.625em;
}

.codrops-demos a {
    display: inline-block;
    margin: 0.625em;
    color: #666;
    font-weight: 700;
    font-size: 90%;
    line-height: 2;
    border-bottom: 4px solid transparent;
}

.codrops-demos a:hover {
	color: #000;
	border-color: #000;
}

.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover {
	color: #aaa;
	border-color: #aaa;
}

.support-note {
	clear: both;
}

.support-note span{
	color: #ac375d;
	display: none;
	font-weight: bold;
	text-align: center;
	padding: 0.313em 0;
}
.st-content{
    padding: 5px 0px 30px 0px;
	
}
.st-content p{
    font-size: 20px;
    font-family: Georgia, "Times New Roman", Times, serif;
    line-height:  28px;
    padding: 0px 4px 12px 4px; 
}/*podnaslovi*/
.st-content m{
    font-size: 32px;
    font-family: Georgia, "Times New Roman", Times, serif;
	font-weight:bold;
    line-height:  28px;
    padding: 0px 4px 12px 4px; 
}/*podnaslovi*/
.st-images{
    margina-left: 5px;
	margin-right: 5px;
	margin-top: 360px;
	
}
.st-images1{
    margina-left: 5px;
	margin-right: 5px;
	margin-top: 175px;
	
}

.rb-grid {
	list-style: none;
	text-align: center;
	margin: 0 auto;
}

.rb-grid li {
	width: 24%; /*Promena vel.kocke*/
	height: 15em;
	margin: 0.5%;
	background: #8CC7DF;
	color: #fff;
	display: block;
	float: left;
	padding: 1.6em;
	cursor: pointer;
	position: relative;
}

.rb-grid li.rb-span-2 {
	width: 24%; /*Promena vel.kocke*/
}

.rb-grid li.rb-span-4 {
	width: 24%; /*Promena vel.kocke*/
}

.rb-grid li h3 {
	font-size: 2.4em;/*pocetna vel.slova*/
	font-weight: 100;
	font-family: "Comic Sans MS", cursive;
}

.rb-grid li[class^="icon-"]:before,
.rb-grid li[class*=" icon-"]:before {
	font-size: 10em;/*vel.slov.poc.ikon.*/
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	line-height: 3;
	opacity: 0.4;
	text-align: right;
	pointer-events: none;
}

.rb-temp {
	display: block;
	font-size: 2em;
	opacity: 0.5;
	-webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
}

.rb-grid li:hover .rb-temp {
	opacity: 1;
}

.rb-overlay {
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	transition: all 0.4s ease;
	z-index: -1;
	pointer-events: none;
	cursor: default;
}

.rb-close {
	position: absolute;
	top: 0.4em;
	right: 0.4em;
	width: 2em;
	height: 2em;
	text-indent: -9000px;
	cursor: pointer;
	z-index: 1000;
}

.rb-close::before {
	content: 'x';
	font-weight: 100;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	font-size: 3em;
	line-height: 0.6;
	text-align: center;
	text-indent: 0px;
}

.rb-week {
	width: 100%;
	height: 100%;
}

.rb-week > div {
	width: 20%; /*promena vel.preloma*/
	height: 100%;
	float: left;
	position: relative;
	padding: 3% 0;
}

.rb-week > div:first-child {
	width: 40%; /*promena vel.preloma*/
}

.rb-week span {
	padding: 5% 0;
	font-size: 2em;
	font-weight: 100;
	display: block;
	margin: auto 0;
	height: 30%;
	width: 100%;
	line-height: 0.8;
}

.rb-week span.rb-city {
	font-weight: 700;
	padding: 1% 10%;
	font-size:24px;
	line-height: 1.2;
	font-family: "Comic Sans MS", cursive;
}

.rb-week [class^="icon-"]:before {
	font-size: 2.5em;
	font-weight: normal;
}

.rb-week > div:first-child [class^="icon-"] {
	opacity: 0.1;
}

.spread-image{
    background-size: contain;
}

/* boja kockica*/
.rb-grid li:nth-child(1) { background: #3399CC; }
.rb-grid li:nth-child(2) { background: #33CCCC; }
.rb-grid li:nth-child(3) { background: #996699; }
.rb-grid li:nth-child(4) { background: #C24747; }
.rb-grid li:nth-child(5) { background: #e2674a; }
.rb-grid li:nth-child(6) { background: #FFCC66; }
.rb-grid li:nth-child(7) { background: #99CC99; }
.rb-grid li:nth-child(8) { background: #669999; }
.rb-grid li:nth-child(9) { background: #CC6699; }
.rb-grid li:nth-child(10) { background: #339966; }
.rb-grid li:nth-child(11) { background: #666699; }
.rb-grid li:nth-child(12) { background: #a983e3; }
.rb-grid li:nth-child(13) { background: #99CC99; }

/* Overlay Columns */
.rb-grid li:nth-child(1) .rb-week > div:nth-child(1) {background: #3399CC; }
.rb-grid li:nth-child(1) .rb-week > div:nth-child(2) { background: #2c87b4; }
.rb-grid li:nth-child(1) .rb-week > div:nth-child(3) { background: #297ba3; }
.rb-grid li:nth-child(1) .rb-week > div:nth-child(4) { background: #256d93 }

.rb-grid li:nth-child(2) .rb-week > div:nth-child(1) { background: #33CCCC;}
.rb-grid li:nth-child(2) .rb-week > div:nth-child(2) { background: #2eb4b5;}
.rb-grid li:nth-child(2) .rb-week > div:nth-child(3) { background: #29a3a4;}
.rb-grid li:nth-child(2) .rb-week > div:nth-child(4) { background: #259394;}

.rb-grid li:nth-child(3) .rb-week > div:nth-child(1) { background: #996699;}
.rb-grid li:nth-child(3) .rb-week > div:nth-child(2) { background: #936192;}
.rb-grid li:nth-child(3) .rb-week > div:nth-child(3) { background: #885a88;}
.rb-grid li:nth-child(3) .rb-week > div:nth-child(4) { background: #7b527a;}

.rb-grid li:nth-child(4) .rb-week > div:nth-child(1) { background: #C24747;}
.rb-grid li:nth-child(4) .rb-week > div:nth-child(2) { background: #b93d3d;}
.rb-grid li:nth-child(4) .rb-week > div:nth-child(3) { background: #a93938;}
.rb-grid li:nth-child(4) .rb-week > div:nth-child(4) { background: #9a3334;}

.rb-grid li:nth-child(5) .rb-week > div:nth-child(1) { background: #e2674a;}
.rb-grid li:nth-child(5) .rb-week > div:nth-child(2) { background: #e15b3e;}
.rb-grid li:nth-child(5) .rb-week > div:nth-child(3) { background: #dd4d2b;}
.rb-grid li:nth-child(5) .rb-week > div:nth-child(4) { background: #d34321;}


.rb-grid li:nth-child(6) .rb-week > div:nth-child(1) { background: #FFCC66; }
.rb-grid li:nth-child(6) .rb-week > div:nth-child(2) { background: #ffc146;}
.rb-grid li:nth-child(6) .rb-week > div:nth-child(3) { background: #ffbb34;}
.rb-grid li:nth-child(6) .rb-week > div:nth-child(4) { background: #ffb420;}

.rb-grid li:nth-child(7) .rb-week > div:nth-child(1) { background: #99CC99;}
.rb-grid li:nth-child(7) .rb-week > div:nth-child(2) { background: #85c185;}
.rb-grid li:nth-child(7) .rb-week > div:nth-child(3) { background: #78bb78;}
.rb-grid li:nth-child(7) .rb-week > div:nth-child(4) { background: #6bb46b;}

.rb-grid li:nth-child(8) .rb-week > div:nth-child(1) { background: #669999;}
.rb-grid li:nth-child(8) .rb-week > div:nth-child(2) { background: #629292;}
.rb-grid li:nth-child(8) .rb-week > div:nth-child(3) { background: #5b8788;}
.rb-grid li:nth-child(8) .rb-week > div:nth-child(4) { background: #527a7a;}

.rb-grid li:nth-child(9) .rb-week > div:nth-child(1) { background: #CC6699;}
.rb-grid li:nth-child(9) .rb-week > div:nth-child(2) { background: #c8578f;}
.rb-grid li:nth-child(9) .rb-week > div:nth-child(3) { background: #c34785;}
.rb-grid li:nth-child(9) .rb-week > div:nth-child(4) { background: #b93d7b;}

.rb-grid li:nth-child(10) .rb-week > div:nth-child(1) { background: #339966;}
.rb-grid li:nth-child(10) .rb-week > div:nth-child(2) { background: #2e895d;}
.rb-grid li:nth-child(10) .rb-week > div:nth-child(3) { background: #297952;}
.rb-grid li:nth-child(10) .rb-week > div:nth-child(4) { background: #246c47;}

.rb-grid li:nth-child(11) .rb-week > div:nth-child(1) { background: #666699;}
.rb-grid li:nth-child(11) .rb-week > div:nth-child(2) { background: #626294;}
.rb-grid li:nth-child(11) .rb-week > div:nth-child(3) { background: #595a88;}
.rb-grid li:nth-child(11) .rb-week > div:nth-child(4) { background: #53527a;}

.rb-grid li:nth-child(12) .rb-week > div:nth-child(1) { background: #a983e3;}
.rb-grid li:nth-child(12) .rb-week > div:nth-child(2) { background: #a983e3;}
.rb-grid li:nth-child(12) .rb-week > div:nth-child(3) { background: #a983e3;}
.rb-grid li:nth-child(12) .rb-week > div:nth-child(4) { background: #a983e3;}

.rb-grid li:nth-child(13) .rb-week > div:nth-child(1) { background: #99CC99;}
.rb-grid li:nth-child(13) .rb-week > div:nth-child(2) { background: #85c185;}
.rb-grid li:nth-child(13) .rb-week > div:nth-child(3) { background: #78bb78;}
.rb-grid li:nth-child(13) .rb-week > div:nth-child(4) { background: #6bb46b;}

@media screen and (max-width: 63.125em) {

	.rb-grid li,
	.rb-grid li.rb-span-2,
	.rb-grid li.rb-span-4 {
	width: 100%;
	height: 10em;
	text-align: left;
	font-weight: bold;
	font-family: "Lucida Console", Monaco, monospace;
	}

	.rb-grid li[class^="icon-"]:before,
	.rb-grid li[class*=" icon-"]:before {
		font-size: 6em;
		left: auto;
		right: 0;
		line-height: 2.5;
	}

	.rb-grid li > div {
		text-align: center;
	}
}
