@import url("reset.css");
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,700&subset=latin,latin-ext);

html, body { height:100%; }
body {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 24px;
    font-weight: 500;
    color: #444; /*868277*/
    background: #e4e4e4 url("../images/bg-2.jpg")no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
stong, b {
	font-weight: bold;
}
h1 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 20px; 
    padding-top: 5px;
    font-weight: 500;
    color: #e8b631;
}
h2 {
    font-size: 17px;
    text-transform: uppercase;
    margin-bottom: 14px;    
    font-weight: 500;
    color: #e8b631;
}
h3 {
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 14px;    
    font-weight: 500;
    color: #e8b631;
    margin-top: 30px;
}
small {
    font-size: 9px;
}
p {
	margin-bottom: 10px;
}
table {
    width: 100%;
}
table tr td {
    border-bottom: 1px solid #eeeeee;
    text-align: left;
}

#wrapper {
    width: 1200px;
    margin: 0 auto;
    overflow: auto;
}
#content {
    width: 800px;
    height: 650px;
    float: left;
    background: #FFF;
}
    .page {
        padding: 30px;
        width: 740px;
        display: none;
        overflow: auto;
        height: 590px;
    }
#sidebar {
    width: 400px;
        height: 650px;
    float: right;
    background: #4b4b49 url("../images/navBG.jpg")no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 999;
    text-align: center;
    overflow: auto;
}
    #logo {
        display: block;
        margin: 0 auto;
        margin-top: 65px;
        margin-bottom: 35px;
    }
    #nav {
        width: 100%;
        overflow: auto;
    }
         #nav a {
             padding: 5px 0;
             font-size: 18px;
             text-transform: uppercase;
             display: inline-block;
             width: 100%;
             text-decoration: none;
             color: #ccc8bd;
             font-weight: 500;
         }
        #nav a:hover, #nav a.active {
            color: #e8b631;
        }
        #nav a.active {
            font-weight: 400;
        }
    .location {
        position: absolute;
        bottom: 30px;
        left: 30px;
        padding: 0 0 0 60px;
        background: url("../images/location.png") no-repeat left top;
        text-align: left;
        line-height: 18px;
    }
        .location p {
            margin-bottom: 20px;
            color: #b9b4a7;
        }
        .location p:last-child {
        margin-bottom: 0px !important;
        }
        .location h1 {
            font-size: 14px;
            color: #b9b4a7;
            font-weight: 400;
            margin:0 0 5px 0;
            text-transform: uppercase;
        }
        .location h1 span {
	       
	        color: #e8b631;
	        font-size: 18px;
	        display: inline-block;
	        margin-bottom: 5px;
        }
#sideImage {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    width:calc(50% - 400px);
    height: 100%;
    background: #d3a62e;
    background:url("../images/bg-1.jpg") no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#kontakti {
	position: relative !important;
	overflow: hidden !important;
}
#map {
	    width: 400px;
	    height: 650px;
	    position: absolute !important;
	    right: 0 !important;
	    top:0 !important;
	    background: red;

}
.smallText {
	width: 45%;
	width: calc(100% - 400px);
	float: left;
}

@media all and (max-width: 1250px) {
   #wrapper {
       width:calc(100% - 50px);
        
   }
    #content {
        width:calc(100% - 300px);
        box-sizing: border-box;
        height: 100%;
    }
    .page {
        width: 90%;
        width:calc(100% - 60px);
    }
    #sidebar {
        width: 300px;
    }
    #sideImage {
        display: none;
    }
    .location {
        bottom: 15px;
        left: 25px;
    }
    
	#map {
		    width: 300px;
	}
	.smallText {
		width: 45%;
		width: calc(100% - 300px);
	}
    
}
@media all and (max-width: 940px) {
	#map {
		    width: 250px;
	}
	.smallText {
		width: 45%;
		width: calc(100% - 250px);
	}
}
@media all and (max-width: 870px) {
    #wrapper {
        height: auto;
        margin-top: 25px;
    }
    #sidebar {
        width: 100%;
        height: auto !important;
    }
    #logo {
        margin-bottom: 15px;
        margin-top: 35px;
    }
        #nav {
            width: 90%;
            margin: 0 auto;
            text-align: center;
            margin-bottom: 15px;
        }
         #nav a {
             padding: 0;
             width: auto;
             margin: 0 10px;
         }
    .location {
        display: none;
    }
     #content {
         width: 100%;
         min-height: 50px !important;
     }
    .page {
        height: auto;
    }
    
	#map {
		    width: 100%;
		    position: inherit !important;
		    height: 200px;
		    float: left;
		    left: 0;
		    top: 10px;
	}
	.smallText {
		width: 100%;
	}
    
}

@media all and (max-height: 700px) {
    #sideImage {
        display: none;
    }
    #wrapper {
        height: auto !important;
        margin-top: 25px;
        margin-bottom: 25px;
        min-height: 550px;
    }
     #content {
         min-height: 375px;
         height: auto;
     }
    .page {
        height: 100% !important;
    }
	#sidebar {
	    height: 375px;
	}
	#map {
		position: inherit !important;
		top:0;
		right: 0;
		height: 350px;
	}
     .location {
	     display: none;	
     }
    html, body { height:100% !important; }
}

.viewGallery {
    /*background-color: #e8b556;*/
    border: 2px solid #e8b556;
    height: 100px;
    width: 100%;
    display: block;
    line-height: 103px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-size: 17px;
    
        -webkit-transition: all 0.2s ease;
        -moz-transition: all 0.2s ease;
        -ms-transition: all 0.2s ease;
        -o-transition: all 0.2s ease;
        transition: all 0.2s ease;
}
    .viewGallery img {
        float: left;
    }
    .viewGallery .buttonText {
        /*margin-left: -50px;*/
        color: #e8b556;
    }
    .viewGallery:hover .buttonText {
    	color: #FFF;
    }
	.viewGallery:hover {
		background: #e8b556;
	}
