/*
Theme Name: Impress Magazine
Theme URI: http://valeka.net
Author: the WordPress team
Author URI: http://valeka.net
Description: The 2012 theme for WordPress
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: valeka.net
*/


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
    font-family: 'Delius Unicase', cursive;
	color: rgb(49, 49, 49);
	pointer-events: none;
	margin:0;
	display:block;
	background-color: #fef5d6; 
	overflow: hidden;
}

/*
    Now let's bring some text styles back ...
*/
b, strong { font-weight: bold }
i, em { font-style: italic }

/*
    ... and give links a nice look.
*/
a {
    color: inherit;
    text-decoration: none;
    padding: 0 0.1em;
    text-shadow: -1px -1px 2px rgba(100,100,100,0.9);
    
    -webkit-transition: 0.5s;
    -moz-transition:    0.5s;
    -ms-transition:     0.5s;
    -o-transition:      0.5s;
    transition:         0.5s;
}

a:hover,
a:focus {
    text-shadow: -1px -1px 2px rgba(255,255,255,0.5);
}

/*
    Because the main point behind the impress.js demo is to demo impress.js
    we display a fallback message for users with browsers that don't support
    all the features required by it.
    
    All of the content will be still fully accessible for them, but I want
    them to know that they are missing something - that's what the demo is
    about, isn't it?
    
    And then we hide the message, when support is detected in the browser.
*/

#impress{
	pointer-events: auto;
	position: relative;
}
.step {
    position: relative;
    width: 820px;
	height: 800px;
    padding: 40px;
    margin: 0 auto;

    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    -ms-box-sizing:     border-box;
    -o-box-sizing:      border-box;
    box-sizing:         border-box;

    font-size: 15px;
    line-height: 1.5;
}
.impress-enabled .step {
    margin: 0;
    opacity: 0;  /*DA KAD PREDJE NA DRUGI AKTIVNA NESTANE*/

    -webkit-transition: opacity 1s;
    -moz-transition:    opacity 1s;
    -ms-transition:     opacity 1s;
    -o-transition:      opacity 1s;
    transition:         opacity 1s;
}

.impress-enabled .step.active { opacity: 1 }

/*
    These 'slide' step styles were heavily inspired by HTML5 Slides:
    http://html5slides.googlecode.com/svn/trunk/styles.css
    
    ;)
    
    They cover everything what you see on first three steps of the demo.
*/
.slide {
    display: block;
    width: 800px;
	height: 600px;
    padding: 0px 0px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, .1);
}

.slide q {
    display: block;
    font-size: 50px;
    line-height: 72px;
    margin-top: 100px;
}
.slide q strong {
    white-space: nowrap;
}

/*----------------------------- My CODE -------------------------*/
#container {
	height: 100%; 
	width: 100%; 
	overflow: hidden;
	position:relative; 
	padding-top: 0px;
	display:block;
}
#slika {
	position: absolute;
	width:800px;
	height: 600px;
	border: 2px dotted #000;
}
#slika1 {
	position: relative;
	width: 100%;
	height: 100%;
	background-image: url(../images/lutka2.png); 
	background-repeat: no-repeat;
	background-size: 100%;
	-webkit-transition: opacity 0.5s ease-out;
	-moz-transition: opacity 0.5s ease-out;
	-o-transition: opacity 0.5s ease-out;
	-ms-transition: opacity 0.5s ease-out;
	transition: opacity 0.5s ease-out;
}
.school {
	width: 780px;
	height: 600px;
	padding:  10px !important;
	font-size: 30px;
	line-height: 42px;
	text-align:justify;
	position: absolute;
}
/*day and night*/
#day {
	width: 804px;
	height: 604px;
	background-color: #000;
	opacity: 1;
}
#sun {
	width:100px;
	height:100px;
	border-radius:50px;
	background:#fef5d6;
	position: absolute;
	left: -100px;
	bottom: -100px;	
}
.star {
	color:#fef5d6;
	z-index: 1000;
}
#st1 {
	position: absolute;
	top: 30px;
	left: 650px;
	font-size: 50px;
}
#st2 {
	position: absolute;
	top: 80px;
	left: 500px;
	font-size: 70px;
}
#st3 {
	position: absolute;
	top: 60px;
	left: 100px;
	font-size: 60px;
}
#s15 {
	font-size: 70px;
}
/*text*/
.prob1 {
	position: absolute;
	top: 203px;
	left: -215px;
	letter-spacing: 12px;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
.prob2 {
	position: absolute;
	left: 85px;
	top: -5px;
	letter-spacing: 15px;
}
.prob3 {
	position: absolute;
	top: 260px;
	right: -250px;
	letter-spacing: 20px;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
.prob4 {
	position: absolute;
	top: 255px;
	left: -80px;
	letter-spacing: 14px;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
.prob5 {
	position: absolute;
	top: 250px;
	left: 17px;
	letter-spacing: 0px;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
.prob6 {
	position: absolute;
	top: 240px;
	left: 455px;
	letter-spacing: 16px;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
.prob7 {
	position: absolute;
	top: 250px;
	left: 363px;
	letter-spacing: 0px;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
.prob8 {
	position: absolute;
	bottom: -10px;
	left: 15px;
	letter-spacing: 40px;
}
#s0, #s18 {
	position: relative;
	text-align: center;
}
h1 {
	position: relative;
	margin: 150px auto;
	font-size: 100px;
	font-weight: 600;
}
h2 {
	position: relative;
	margin: 70px auto;
	font-size: 100px;
	font-weight: 600;
}
h3 {
	position: relative;
	margin: -220px auto;
	font-size: 145px;
	font-weight: 600;
}

/*Notation*/
#note {
	font-size: 40px;
	position: absolute;
	bottom: 25px;
	width: 800px;
    text-align: center;
    animation: fadein 4s;
	opacity:0;
    -moz-animation: fadein 4s; /* Firefox */
    -webkit-animation: fadein 4s; /* Safari and Chrome */
    -o-animation: fadein 4s; /* Opera */
}
@keyframes fadein {
    from {
        opacity:1;
    }
    to {
        opacity:0;
    }
}
@-moz-keyframes fadein { /* Firefox */
    from {
        opacity:1
    }
    to {
        opacity:0;
    }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity:1;
    }
    to {
        opacity:0;
    }
}
@-o-keyframes fadein { /* Opera */
    from {
        opacity:1;
    }
    to {
        opacity: 0;
    }
}

/*preload images*/
#img1 { background: url(../images/lutka1.png);  no-repeat -9999px -9999px; }
#img2 { background: url(../images/lutka2.png);  no-repeat -9999px -9999px; }
#img3 { background: url(../images/lutka3.png);  no-repeat -9999px -9999px; }
#img4 { background: url(../images/lutka4.png);  no-repeat -9999px -9999px; }
#img5 { background: url(../images/lutka5.png);  no-repeat -9999px -9999px; }




/* ============================================================================================================================
== OVAL SPEECH BUBBLE WITH QUOTATION MARKS (BLUE)
** ============================================================================================================================ */

.oval-quotes {
	position:relative;
	width:300px;
	height:250px;
	margin: -50px 500px 10px;
	color:#000;
	background:#b3e1d6;
	/* css3 */
	/*
	NOTES:
	-webkit-border-radius:Apx Bpx; // produces oval in safari 4 and chrome 4
	-webkit-border-radius:Apx / Bpx; // produces oval in chrome 4 (again!) but not supported in safari 4
	Not correct application of the current spec, therefore, using longhand to avoid future problems with webkit corrects this
	*/
	
	-webkit-border-top-left-radius:400px 350px;
	-webkit-border-top-right-radius:400px 350px;
	-webkit-border-bottom-right-radius:400px 350px;
	-webkit-border-bottom-left-radius:400px 350px;
	-moz-border-radius:400px / 350px;
	border-radius:400px / 350px;
}

.oval-quotes p {
	width:250px;
	height:250px;
	padding:50px 0 0;
	margin:0 auto;
	text-align:center;
	font-size:35px;
}

/* creates smaller curve */
.oval-quotes p:before {
	content:"";
	position:absolute;
	z-index:-1;
	bottom:-30px;
	right:55%;
	width:80px; /* wider than necessary to make it look a bit better in IE8 */
	height:160px;
	background:#fef5d6; /* need this for webkit - bug in handling of border-radius */
	/* css3 */
	-webkit-border-bottom-right-radius:40px 50px; 
	-moz-border-radius-bottomright:40px 50px; 
	border-bottom-right-radius:40px 50px; 
	/* using translate to avoid undesired appearance in CSS2.1-capabable but CSS3-incapable browsers */
	-webkit-transform:translate(-30px, -2px);
	-moz-transform:translate(-30px, -2px);
	-ms-transform:translate(-30px, -2px);
	-o-transform:translate(-30px, -2px);
	transform:translate(-30px, -2px);
}

/* creates larger curve */
.oval-quotes p:after {
	content:"";
	position:absolute;
	z-index:-2;
	bottom:-30px;
	right:25%;
	height:80px;
	border-right:200px solid #b3e1d6;
	background:#b3e1d6; /* need this for webkit - bug in handling of border-radius */
	/* css3 */
	-webkit-border-bottom-right-radius:200px 100px;
	-moz-border-radius-bottomright:200px 100px;
	border-bottom-right-radius:200px 100px;
	/* using translate to avoid undesired appearance in CSS2.1-capabable but CSS3-incapable browsers */
	-webkit-transform:translate(0, -2px);
	-moz-transform:translate(0, -2px);
	-ms-transform:translate(0, -2px);
	-o-transform:translate(0, -2px);
	transform:translate(0, -2px);
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}

.oval-quotes + p {
	position:relative; /* part of the IE8 width compromise */
	width:150px;
	margin:0 0 2em;
	font-size:18px;
	font-weight:bold;
}
	
.stap {
	position: absolute;
	left: 330px;
	top: 90px;
}
	
	
	
/* ============================================================================================================================
== OVAL SPEECH BUBBLE WITH QUOTATION MARKS (PINK)
** ============================================================================================================================ */

.oval-quotes-pink {
	position:relative;
	width:300px;
	height:250px;
	margin:-50px 3px 10px;
	color:#000;
	background:#f7b2b7;
	/* css3 */
	/*
	NOTES:
	-webkit-border-radius:Apx Bpx; // produces oval in safari 4 and chrome 4
	-webkit-border-radius:Apx / Bpx; // produces oval in chrome 4 (again!) but not supported in safari 4
	Not correct application of the current spec, therefore, using longhand to avoid future problems with webkit corrects this
	*/
	
	-webkit-border-top-left-radius:400px 350px;
	-webkit-border-top-right-radius:400px 350px;
	-webkit-border-bottom-right-radius:400px 350px;
	-webkit-border-bottom-left-radius:400px 350px;
	-moz-border-radius:400px / 350px;
	border-radius:400px / 350px;
}

.oval-quotes-pink p {
	width:250px;
	height:250px;
	padding:50px 0 0;
	margin:0 auto;
	text-align:center;
	font-size:35px;
}

/* creates smaller curve */
.oval-quotes-pink p:before {
	content:"";
	position:absolute;
	z-index:-1;
	bottom:-30px;
	left:55%;
	width:160px; /* wider than necessary to make it look a bit better in IE8 */
	height:160px;
	background:#fef5d6; /* need this for webkit - bug in handling of border-radius */
	/* css3 */
	-webkit-border-bottom-left-radius:40px 50px; 
	-moz-border-radius-bottomleft:40px 50px; 
	border-bottom-left-radius:40px 50px; 
	/* using translate to avoid undesired appearance in CSS2.1-capabable but CSS3-incapable browsers */
	-webkit-transform:translate(-30px, -2px);
	-moz-transform:translate(-30px, -2px);
	-ms-transform:translate(-30px, -2px);
	-o-transform:translate(-30px, -2px);
	transform:translate(-30px, -2px);
}

/* creates larger curve */
.oval-quotes-pink p:after {
	content:"";
	position:absolute;
	z-index:-2;
	bottom:-30px;
	left:25%;
	height:80px;
	border-left:200px solid #f7b2b7;
	background:#f7b2b7; /* need this for webkit - bug in handling of border-radius */
	/* css3 */
	-webkit-border-bottom-left-radius:200px 100px;
	-moz-border-radius-bottomleft:200px 100px;
	border-bottom-left-radius:200px 100px;
	/* using translate to avoid undesired appearance in CSS2.1-capabable but CSS3-incapable browsers */
	-webkit-transform:translate(0, -2px);
	-moz-transform:translate(0, -2px);
	-ms-transform:translate(0, -2px);
	-o-transform:translate(0, -2px);
	transform:translate(0, -2px);
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}

.oval-quotes-pink + p {
	position:relative; /* part of the IE8 width compromise */
	width:150px;
	margin:0 0 2em;
	font-size:18px;
	font-weight:bold;
}	
	
/*---------------------------- OPERA -----------------------------------*/

x:-o-prefocus,#container {
	min-height:1090px;
	max-height:1090px; 
	min-width:100%; 
	overflow: hidden; 
	margin:0 auto; 
	display:block;
	}
.fallback-message{
	display:none;
	}
#impress{
	margin:0 auto;
	}

	
	
