/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 19.2.2015, 9:35:17
    Author     : Jakub
*/

html{
    height: 100%;
}
a{
    text-decoration: none;
    color: #a7b8a5;
    font-family: 'Roboto', sans-serif;
}
ul{
    margin: 0px;
    padding: 0px;
}

ul{
    display: inline-table;
}


nav ul li{
    margin-left: 1.5%;
    margin-right: 1.5%;
    display: inline-table;
}


.box h2{
    font-size: 4.5em;
    line-height: 42px;
}
h2 span{
    font-size: 50px;
    margin-top: -36px;
}

nav{
    position: relative;
    padding-bottom: 9px;
    z-index: 3;
    height: 80px;
    color:#fff;
    margin-top: -100px;
    margin-left: auto;
    margin-right: auto;

}

#nav{
    width: 100%;
}

nav a{
    color:#fff;  
    margin-left: 1.5%;
    margin-right: 1.5%;
}
nav a:hover{
    color:#fff;
    border-bottom: 1px solid #fff;
}

.box{
    min-height: 760px;
    padding-top: 70px;
}
.box img{
    width: 100%;
}

h1,h2,h3,h4{
    font-family: 'Sorts Mill Goudy', serif;

    -webkit-font-smoothing: antialiased;
    moz-osx-font-smoothing: grayscale;
    font-weight: 100;
}

body{
    margin:0px;
    padding:0px;
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    moz-osx-font-smoothing: grayscale;
    height: 100%;
}
.logoImg{
    margin-top: 0px; 
    position: relative;
    left: 100%;
    margin-left: -200%;
}

.under_tittle{
    font-size: 4em;
    margin-bottom: 0px;
    letter-spacing: 8px;
}
.under_tittle2{
    font-size: 2.6em;
    margin-top: -15px;
    letter-spacing: 4px;
}

#page{
    color:#a7b8a5;
    position: relative;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1500px;
    display: inline;

}
.fb_icon{
    width: 68px;
    display: inline-block;
    float: left;
    padding-top: 5px;
    background-color: #fff;

    -webkit-animation: downOut 0.5s;
    animation: downOut 0.5s;
}
.fb_icon:hover{
    width: 68px;
    display: inline-block;
    float: left;
    padding-top: 5px;
    margin-top: -23px;
    -webkit-animation: downIn 0.5s;
    animation: downIn 0.5s;
}

.email_icon{
    width: 68px;
    display: inline-block;
    float: right;
    padding-top: 10px;
    background-color: #fff;  
    -webkit-animation: downOut 0.5s;
    animation: downOut 0.5s;
}
.email_icon:hover{
    width: 68px;
    display: inline-block;
    float: right;
    padding-top: 10px;
    margin-top: -23px;
    -webkit-animation: downIn 0.5s;
    animation: downIn 0.5s;
}


/* Chrome, Safari, Opera */
/* Chrome, Safari, Opera */
@-webkit-keyframes downIn {
    0% {margin-top: 0px;}
    100% {margin-top: -23px;}
}

/* Standard syntax */
@keyframes downIn {
    0% {margin-top: 0px;}
    100% {margin-top: -23px;}
}
/* Chrome, Safari, Opera */
@-webkit-keyframes downOut {
    0% {margin-top: -23px;}
    100% {margin-top: 0px;}
}

/* Standard syntax */
@keyframes downOut {
    0% {margin-top: -23px;}
    100% {margin-top: 0px;}
}

#content{
    text-align: center;
    max-width: 1359px;
    margin-left: auto;
    margin-right: auto;
    position: relative;

}

.arrow{
    margin-top: 60px;
    display: block;
    width: 52px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}
.arrow img{
    width: 50px; 
}

header{
    width: 100%;
    text-align: center;
    overflow: hidden;
}
footer{

    color: #fff;
    text-align: center;
    max-width: 1359px;
    margin-left: auto;
    margin-right: auto;
    height: 450px;
    background-color: #a7b8a5;
    background-image: url(../images/kontakt_line.png);
    bottom: 0;
    margin-top: -17px;
    background-repeat: repeat-x;
    background-position: 0 -33px;
}
.foot_rose{
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
    width: 22%;
    margin-top: 85px;
}

.infofoot{
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    height: 200px;
    margin-top: -120px;
    font-weight: 400;
    font-size: 1.2em;
    line-height: 23px;
    position: relative;
    z-index: 2;
}
.infofoot a{
    color:#fff;
    text-decoration: none;
    font-weight: 400;

}

.tel{
    padding-top: 18px;
    display: inline-table;
    float: left;

}
.tel p{
    margin: 5px;

}
.open{
    margin-top: 20px;
    display: inline-table;
    float: right;
    margin-right: 30px;
}
.open p{
    margin: 5px;
}
.social{
    height: 50px;
    width: 137px;
    background-image: url(../images/down.png);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
}

#sign{
    width: 15%;
    margin-left: 45%;
    margin-top: -55px;
}

#into{
    background-image: url('../images/uvod.jpg');
    background-position: -300px 311px;
    background-repeat: no-repeat;
    margin-top: -103px;
    padding-top: 110px;
}

#service{
    min-height: 480px;
}
#service h2, #references h2{
    line-height: 65px;
}
#references h2{
    font-size: 50px;
    margin-bottom: 25px;
}
#references span{
    font-size: 1.5em;
    margin-bottom: -68px;
    display: block;
}
#weddings{
    min-height: 610px;
  background-image: url('../images/svatba.jpg');
  background-position: 0 0px;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 70px;
  width: 99.8%;
}
#gallery{
     padding-top: 0px;
    margin-top: -155px;
    position: relative;
    z-index: 1;
}
#references{
    padding-top: 160px;
    margin-top: -10px;
    background-color: #fff;
    z-index: 10;
    position: relative;
}


#job{
    background-color: #899486;
    min-height: 450px;
    color:#fff;
}

.contact_line{
    margin-top: -33px;
    width: 100%;
}
#desk_nav{
    display: table;
  width: 100%;
  height: 90px;
}

#gallery_block{
     margin-top: -159px;
      padding-top: 100px;
    position: relative;
    z-index: 1
}

#gallery_block ul{
    width: 100%;
}
#gallery_block ul li{
    float: left;
    margin-top: -4px;
    width: 25%;
    max-height: 350px;
    display: inline-table;
}
#gallery_block ul li:hover{
   background-color: #000;
  
}
#gallery_block ul li a{
    background-color: #a7b8a5;
    display: inline-table;
}
#gallery_block ul li a:hover{
    background-color: #899486;
    cursor: pointer;
}
#gallery_block ul li a:hover img{
     opacity: 0.5;
    cursor: pointer;
}
#gallery_block ul li a h3{
    color:#fff;
    font-size: 1.5em;
    text-transform: uppercase;
    padding-top: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    border-left: 1px solid #899486;
}
#gallery_block ul li a span{
    color:#fff;
    margin-top: -5px;
    padding-bottom: 10px;
    margin-bottom: 0px;
    display: block;
    height: 15px;
    border-left: 1px solid #899486;
}
#gallery_block ul li a img{
    margin-top: 0px;

}

#job h2 {
    line-height: 53px;
    margin-bottom: 20px;
}

.f-nav{  
    z-index: 9999;
    position: fixed;
    left: 0;
    top: 100px;
    border: none;
    width: 100%;
    height: 65px;

}
.f-nav #nav{  
    padding-top: 15px;
    background-image: url('../images/perola_web.png');
    background-size: inherit;
    background-position: 50% -620px;
    background-repeat: repeat-y;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    height: 80px;

}

#rmm{
    display: none;
    min-width: 100%;
}

#siteloader{
    margin-bottom: -22px;
}

#nav .current{

}

#gal_ar{
    display: none;
}

.nav{
    display: none;
}
#sob_bott{
    position: relative;
    bottom: -45px;
    height: 50px;
    width: 100%; 
    z-index: 5;  
    background-color: #a7b8a5;
}
.gal_text_div{
 display: table;
  width: 100%;
 
}