/* 
    Created on : 12.5.2016, 11:17:34
    Author     : Evička
*/
body { font-family: 'Dosis', sans-serif; margin: 0;}

#up { height: 80px; width: 100%; background: #d82d2d; text-align: center; color: #000; }
#up ul { list-style: none;  width: 100%; height: 80px; margin: 0; padding: 0; line-height: 80px; font-weight: bold; }
#up ul li:last-child { float: right; width: 50px; font-size: 35px; }
#up ul li:first-child { font-family: 'Oswald', sans-serif; }

#up ul li:hover { color: #fff; }
#up li a { text-decoration: none; color: #000; }
#up li a:hover { color: #fff; }

nav { background: #fff; color: #d82d2d; position: relative; width: 100%; }
nav ul { list-style: none; margin: 0; padding: 0;  }
nav ul li { float: right;  margin: 0; padding: 0;  font-size: 18px; text-align: center; }
nav ul li:hover { font-size: 25px; }
nav ul li:first-child { float: left; font-size: 75px; margin-left: 20px; line-height: 120px; width: 75px; padding: 0; }
nav ul li:first-child:hover { border-top: none; }
nav ul li a { text-decoration: none; color: #d82d2d; text-align: center; font-weight: bold; padding: 30px 50px; }
#ok { padding: 0; }
#logo_korunka { position: absolute; margin: 3px 0 0 0; left: 15px; }

#promo { background: url("../images/smes_bw.jpg"); height: 575px; text-align: center; color: #fff; font-weight: normal; position: relative; }
#promo_stripe { background: rgba(64,64,64,0.7); height: 280px; position: absolute ; top: 100px; width: 100%; }
#promo_stripe h1 { font-size: 70px; margin: 10px 0; }
#promo_stripe h2 { font-weight: normal; height: 55px; margin: 20px 0; }
#promo_stripe a { text-decoration: none; color: #fff; border: 3px solid #d82d2d;  }
#chci { padding: 5px; font-size: 30px; font-weight: bold; margin-top: 5px; }
#chci:hover { color: #fff; border: 3px solid #fff; }

#tips { height: 400px; width: 100%; background: #d82d2d; color: #000; margin: 0; }
#tips_stripe { height: 400px; margin: 0 auto; background: #d82d2d; }
.tip { width: 227px; margin: 20px 40px; height: 300px; float: left; text-align: center; }
.tip_icon { text-align: center; height: 150px; width: 150px; margin: auto; color: #000; font-size: 70px; }
.tip_text { font-size: 40px; margin-bottom: 20px; }
.tip_info { font-size: 24px; }

#info { width: 100%; height: 900px; color: #d82d2d; }
#info p { margin: 18px auto; text-align: center; padding: 0; font-size: 24px; }
#info p a { text-decoration: none; color: black; }
#info p a:hover { color: #d82d2d; }
.korunka { margin: 30px auto; width: 50px; height: 30px; }
.korunka img { width: 50px; height: 30px; }

#foto { height: 900px; width: 100%; background: #000; color: #fff; }
#foto h2 { text-align: center; margin: 9px auto; padding-top: 81px; }

#kontakt { width: 100%; height: 405px; background: #fff; text-align: center; font-size: 30px; }
#kontakt h3 { margin-top: 60px; font-size: 23px; }
#kontakt ul { padding: 18px 0 0 0; margin: 0; width: 100%; height: 360px; list-style: none; font-weight: bold; }
#kontakt ul li { width: 100%; height: 50px; }
#kontakt ul li:first-child { font-size: 40px; font-weight: normal; }
#kontakt ul li:first-child, #kontakt ul li:last-child { color: #d82d2d; font-weight: normal; }
#kontakt ul li:nth-child(2) { color: #d82d2d; font-size: 54px; margin: 39px 0; font-weight: normal; }
#kontakt ul li:nth-child(3) { font-size: 36px; }
#kontakt ul li:nth-child(4) { font-size: 45px; }
#kontakt ul li:last-child { margin: 10px 0 80px 0; font-weight: bold; }
#kontakt ul li a { text-decoration: none; color: #000;  }
#kontakt ul li a:hover { color: #d82d2d; }


#kontakt ul li:first-child {
	-webkit-animation: flash linear 1s infinite;
	animation: flash linear 1s infinite;
}
@-webkit-keyframes flash {
	0% { opacity: 1; } 
	50% { opacity: .1; } 
	100% { opacity: 1; }
}
@keyframes flash {
	0% { opacity: 1; } 
	50% { opacity: .1; } 
	100% { opacity: 1; }
}

#srdce{
	-webkit-animation: pulse linear .5s infinite;
	animation: pulse linear .5s infinite;
}
@-webkit-keyframes pulse {
	0% { width:200px; } 
	50% { width:240px; } 
	100% { width:200px; }
}
@keyframes pulse {
	0% { width:200px; } 
	50% { width:240px; } 
	100% { width:200px; }
}

footer { width: 100%; height: 50px; background: #d82d2d; color: #000; }
footer a { text-decoration: none; color:black; }
footer a:hover { color: white; }
#copyright { width: 100%; height: 50px; float: left; line-height: 50px; font-weight: bold; text-align: center;}

#up li a, #up ul li, #chci, nav ul li, #kontakt ul li a, footer a, #promo stripe a, #info p a {
    -webkit-transition: all 0.30s ease-out;
    -moz-transition: all 0.30s ease-out;
    -ms-transition: all 0.30s ease-out;
    -o-transition: all 0.30s ease-out;
    transition: all 0.30s ease-out;}

@media only screen and (max-width: 479px) {
    #up ul li:first-child { width: 240px;  font-size: 24px;}
    #up ul li:nth-child(2) { width: 10px; float:left; height: 50px; }
    #up ul li:last-child { margin: -80px 0 0 0; }
    nav ul li a { padding: 10px 0; }    
    nav{ height: 50px; }
    nav ul li{ width: 80px; height: 50px; line-height: 50px; } 
    nav ul li:first-child { visibility: hidden; }
    #ok, #logo_korunka { visibility: hidden; }
    #promo_stripe { height: 342px; }
    #tips { height: 1000px; }
    #tips stripe { width: 100%; }
    .tip { margin: 0 auto; float: none; padding-bottom: 30px; }
    .tip_icon { height: 108px }
    #info { height: 792px; }
    #info p { width: 100%; }
    #foto { height: 500px; }
    #kontakt { height: 420px; }
    #kontakt h3 { margin-top: 30px; }
   footer { margin-top: 50px; }
  
}
@media only screen and (min-width: 480px) {
    #up ul li:first-child { width: 240px; font-size: 27px; }
    #up ul li:nth-child(2) { width: 10px; float:left; height: 50px;}
    #up ul li:last-child { margin: -80px 0 0 0; }
    nav{ height: 50px; }
    nav ul li{ width: 80px; height: 50px; line-height: 50px; } 
    nav ul li a { padding: 10px 0; }
    nav ul li:first-child { visibility: hidden; }
    #ok { visibility: hidden; }
    #promo_stripe { height: 280px; }
    #tips { height: 1080px; }
    #tips stripe { width: 100%; }
    .tip { margin: 0 auto; float: none; padding-bottom: 40px; }
    #info p { width: 100%; }
    #info { height: 600px; }
    #foto { height: 700px; }
   footer { margin-top: 50px; }

}

@media only screen and (min-width: 700px) {
    #up ul li:first-child { width: 270px; }
    #up ul li { width: 10px; float: left; font-size: 27px; }
    #up ul li:nth-child(2) { width: 360px; height: 80px; }
    #up ul li:last-child { margin: 0; }
    nav{ height: 90px; }
    nav ul li{ width: 100px; height: 100px; line-height: 100px; }
    nav ul li:first-child { visibility: visible; }
    nav ul li a { padding: 10px 0; }
    #tips { height: 450px; padding-bottom: 0; }
    .tip { float: left; margin: 20px 0px; }
    #info p { width: 700px; }
    #info { height: 600px; }
    #foto { height: 800px; }
    
}

@media only screen and (min-width: 800px) {
    #up ul li:first-child { width: 300px; }
    #up ul li { width: 300px; float: left; font-size: 30px; }
    #up ul li:nth-child(2) { width: 400px; }
    nav{ height: 105px; }
    #up ul li:last-child { margin: 0; }
    .tip { margin: 100px 17px; } 
}

@media only screen and (min-width: 960px) {
    #up ul li:first-child { width: 300px; font-size: 35px;}
    #up ul li { width: 10px; float: left; font-size: 35px; }
    #up ul li:nth-child(2) { width: 500px; }
    #up ul li:last-child { margin: 0; }
    nav ul li{ width: 150px; height: 100px; line-height: 100px; }
    nav ul li:first-child { visibility: visible; }
    nav ul li a { padding: 10px 0; }
    #tips_stripe { width: 1000px; }
    .tip { margin: 50px 45px; width: 240px; } 
    #ok { visibility:visible; }
    #logo_korunka { visibility: visible; }
}
