*{
	padding: 0px;
	margin: 0px;
	
}

.modalDialog {
	/*position: fixed;*/
	position: absolute;
	/*display: flex;*/
	/*font-family: Arial, Helvetica, sans-serif;*/
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
	border-radius: 5px;
}

.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialog > div {
	width: 600px;
	position: relative;
	margin: 10% auto;
	/*padding: 5px 20px 13px 20px;
	border-radius: 10px;*/
	/*background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
	*/
}

.modalDialog > div > div > img{
	max-width: 598px;
	max-height: 598px;
	border-radius: 5px;
	/*display: none;*/
	/*margin-left: auto;
    margin-right: auto;*/
	padding: 1px;
	pointer-events:none;
}

.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	/*font-weight: bold;*/
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.close:hover { background: #00d9ff; }

#img_container_modal{
	/*display: -webkit-flex; /* Safari */
	/*display: flex;*/
	-webkit-justify-content: space-around; /* Safari */
	justify-content:         space-around;
	-webkit-flex-direction: column; /* Safari */
	flex-direction:         column;
	-webkit-align-items: center; /* Safari */
	align-items:         center;
}

#modal_dialog_content{
	/*background: white;
	border: 2px solid #fb6f58;*/
	border-radius: 5px;
	display: -webkit-flex; /* Safari */
	display: flex;
	-webkit-justify-content: space-around; /* Safari */
	justify-content:         space-around;
	-webkit-flex-direction: column; /* Safari */
	flex-direction:         column;
	/*-webkit-align-items: center; /* Safari */
	/*align-items:         center;*/
}

#modal_dialog_text {
	/*border-top: 1px dashed #fb6f58;
	background: lightgray;*/
	padding: 3px;
	border-radius: 3px;
}

#modal_dialog_text_title {
		font-size: 12px;
		font-weight: bold;
		color: #fb6f58;
		padding: 10px;
}

#modal_dialog_text_detail {
		font-size: 12px;
		color: gray;
		padding-bottom: 10px;
		padding-right: 10px;
		padding-left: 10px;
}

h1{
	/*font: bold 20px 'Open Sans';*/
}

h2{
	/*font: bold 14px 'Open Sans';*/
}

h3{
	border-bottom: 1px dashed #444C4E;
	padding: 5px;
}

header,section,footer,aside,nav,article,hgroup{
	display:block;
}
a{
	text-decoration: none;
}
body{
	width:100%;
	display: -webkit-flex; /* Safari */
	display: flex;
  -webkit-justify-content: space-around; /* Safari */
  justify-content:         space-around;
	-webkit-flex-direction: column; /* Safari */
	flex-direction:         column;
/*	display:-webkit-box;
	-webkit-box-pack: center; */
	/*background:silver;*/
	background-image: url("img/background.png");
	/*border: 5px solid blue;*/
	font-size: 12px;
	font-weight: normal;
	font-family:  Verdana, Open Sans, sans-serif;
	font-style: normal;
}

#big_wrapper{
	/*max-width: 1300px;*/
	margin: 10px 0px;
	/*display: -webkit-box;*/
	/*-webkit-box-orient: vertical;
	-webkit-box-flex: 1;
	*//*border: 1px solid green;*/
}

#top_header{
	padding: 5px 15px;
	display: -webkit-flex; /* Safari */
	display: flex;
	-webkit-justify-content: center; /* Safari */
	justify-content:         center;
	-webkit-flex-direction: row; /* Safari */
	flex-direction:         row;
	/*border: 1px solid blue;*/
}

nav{
	display: -webkit-flex; /* Safari */
	display: flex;
	-webkit-justify-content: center;
	justify-content:         center;
	-webkit-align-items: stretch;
	align-items: stretch;
	-webkit-flex-direction: row; /* Safari */
	flex-direction:         row;

	background: #444C4E;
	border-top: 2px solid #fb6f58;
	border-bottom: 2px solid #fb6f58;
	/*border-radius: 5px;*/
	box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
}

nav ul {
	background: #444C4E;
/*	padding: 0 40px;
	position: relative;
	display: inline-table;
*/
	list-style: none;
	display: -webkit-flex; /* Safari */
	display: flex;
	-webkit-justify-content: space-around; /* Safari */
	justify-content:         space-around;
	-webkit-flex-direction: row; /* Safari */
	flex-direction:         row;

}

nav ul li {
	float: left;
	padding-left: 20px;
	padding-right: 20px;
}

nav ul li:hover {
	background: #fb6f58;
}

nav ul li a {
	display: block;
	padding: 15px 20px;
	color: white;
	font-size: 14px;
	font-weight: bold;
}

#main{
	/*display:-webkit-box;
	-webkit-box-orient:horizontal;
	*/display: -webkit-flex; /* Safari */
	display: flex;
	-webkit-justify-content: center; /* Safari */
	justify-content:         center;
	-webkit-flex-direction: row; /* Safari */
	flex-direction:         row;
}

#main_section{
	/*border: 1px solid blue;*/
	/*-webkit-box-flex: 1;*/
	margin: 12px;
	/*padding: 20px;*/
	/*display:-webkit-box;
	-webkit-box-orient:vertical;*/
	/*width:675px;
	height: 528px;*/
	display: -webkit-flex; /* Safari */
	display: flex;
	/*-webkit-justify-content: center; /* Safari */
	/*justify-content:         center;*/
	-webkit-flex-direction: column; /* Safari */
	flex-direction:         column;
}

#video_frame{
	border-radius: 5px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
}

#works_main_section{
	width: 736px;
	/*display: -webkit-flex; /* Safari */
	/*display: flex;
	-webkit-justify-content: center; /* Safari */
	/*justify-content:         center;
	-webkit-flex-direction: column; /* Safari */
	/*flex-direction:         column;*/
	border: 2px solid #fb6f58;
	margin: 20px;
	padding: 10px;
	border-radius: 5px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
}

#grid_title{
	font-size: 16px;
	font-weight: bold;
	color: #444C4E;
	padding: 5px;
	margin: 5px;
	border-bottom: 1px dashed #444C4E;
}

#grid_title_slider{
	width: 779px;
	height: 250px;
	padding: 5px;
	margin: 5px;
}

#not_found{
	font-size: 14px;
	font-weight: bold;
	color: #444C4E;
	padding: 10px;
	border: 1px solid red;
    margin: 0 auto;
	border: 1px solid #fb6f58;
	border-radius: 5px;
}

#pagination{
	/*border: 1px solid red;*/
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	justify-content: center;
}

#page_nr{
	border: 1px solid #fb6f58;
	margin: 2px;
	padding: 2px;
	background:#e0e0e0;
	width:18px;
	height:18px;
	text-align:center;
	border-radius: 5px;
	color: #444C4E;
}

#page_nr:hover{
    background: #f0f0f0;
	color: #fb6f58;
}

#left_menu{
	border: 2px solid #fb6f58;
	width:220px;
	margin: 20px 0px;
	padding: 10px;
	/*background: #e0e0e0;*/
	border-radius: 5px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
}

#left_menu ul a{
	display: block;
	padding:5px;
	border-radius: 5px;
}

#left_menu ul a li{
	list-style:none;
/*	font: bold 14px 'Open Sans';*/
	font-size: 14px;
	font-weight: bold;
	/*color: #444C4E;*/
	color: black;
	border-bottom: 1px dashed lightgray;
}

#left_menu ul a:hover {
	background: #f0f0f0;
}

#left_menu ul a:hover li{
	color: #fb6f58;
}

#the_footer{
	text-align:center;
	vertical-align:center;
	background: #444C4E;
	border-top: 2px solid #fb6f58;
	border-bottom: 2px solid #fb6f58;
	color: white;
	height: 37px;
	line-height: 37px;
	/*border-radius: 5px;*/
	box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
}

#div_cnt {
	display: -webkit-flex;
	display: flex;
    -webkit-justify-content:center;
    justify-content:center;
    -webkit-align-content:center;
    align-content:center;
    -webkit-flex-direction:column;
    flex-direction:column;
	padding-left: 380px;
    padding-right: 420px;
}

#div_cnt p {
	vertical-align:center;

}

#p_txt{
	/*font: normal 12px 'Open Sans';*/
	color: #fb6f58;
	font-size: 14px;
	font-weight: bold;
}

#p_nr{
	/*font: bold 14px 'Open Sans';*/
	font-size: 14px;
	font-weight: bold;
	color: #444C4E;
	padding: 3px;
}


#div_src{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: space-around;
	justify-content: space-around;
	/*border: 1px solid green;*/
}
#search_div div{
    display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

#search_div div input[type="search"]{
	height: 30px;
	width: 200px;
	border-radius: 5px;
		box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
}

#search_div div input[type="button"]{
	height: 30px;
	width: 30px;
	background-image: url(img/search_icon.png);
	background-color: Transparent;
/*	background-color: #fb6f58;*/
    background-repeat:no-repeat;
    border: none;
    cursor:pointer;
    overflow: hidden;
    outline:none;
	margin-left: 10px;
}

#div_lang{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row-reverse;
	flex-direction: row-reverse;
}

#div_lang a img{
	max-height: 15px;
	max_width: 15px;
		box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
}


#div_src input{
	align: right;
}


#parent{
	width: 800px;
	/*border: 3px solid black;
	display: -webkit-flex; /* Safari */
	/*height: 500px;*/
	display: -webkit-flex; /* Safari */
	display: flex;
	-webkit-justify-content: space-around; /* Safari */
	justify-content:         space-around;
	-webkit-flex-direction: row; /* Safari */
	flex-direction:         row;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
	/*justify-content:         center;*/
	/*-webkit-justify-content: space-around;
	-webkit-align-content: space-around;	*/
}

#img_set{
	display: -webkit-flex; /* Safari */
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center; /* Safari */
	justify-content:         center;
	-webkit-justify-content: space-around; /* Safari */
	justify-content:         space-around;
/*border: 1px solid yellow;*/

padding: 0px;
margin: 5px;
width: 185px;
height: 185px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
}

#img_descr{
	padding: 0px;
	margin:0px;
	background: #e0e0e0;
	border-top: 0px;
	border-left: 1px solid gray;
	border-right: 1px solid gray;
	border-bottom: 1px solid gray;
	text-align:left;

/*	font: bold 12px 'Open Sans';*/
	/*font-weight: bold;*/
	display: -webkit-flex;
	display: flex;
	color: #444C4E;
	/*border-radius: 5px;*/
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;

}

#img_code{
	vertical-align:middle;
	/*border-right: 1px solid gray;*/
	display: -webkit-flex;
	display: flex;
	padding: 3px;
	-webkit-justify-content:center;
    justify-content:center;
    align-content:center;
    flex-direction:column;
}

#img_text{
/*	font: italic 8px 'Open Sans';*/
	font-size: 8px;
	/*font-style: italic;*/
	text-align:left;
	padding: 3px;
}

#img_container{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-justify-content: space-around;
	justify-content: space-around;
	border: 1px solid gray;
	background: white;
	/*-webkit-flex-basis: 200px;*/
	padding: 0px;
	margin: 0px;
	overflow:hidden;
	height: 185px;
	/*width: 100px;*/
    /*max-height: 150px;*/
/*	width: auto;
    height: auto;
*/	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

#img_container img{
		pointer-events:none;
}
#img_val{
    max-height: 150px;
	max-width: 100%;
}

#side_title{
		/*border: 1px solid gray;*/
		/*font: bold 16px 'Open Sans';*/
		font-size: 16px;
		font-weight: bold;
		text-align:center;
		width: 220px;
		color: #fb6f58;
		border-bottom: 1px solid #fb6f58;
		padding-bottom: 5px;
		margin-bottom: 5px;
		/*-webkit-box-shadow:0px 0px 1px #fb6f58;
		-moz-box-shadow:0px 0px 1px #fb6f58;
		box-shadow:0px 0px 1px #fb6f58;*/
}

#map-canvas {
    width: 1260px;
    height: 450px;
	margin: 10px;
	border: 2px solid #fb6f58;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 8px;
}

#works{
		font-style: tahoma;
		font-size: 16px;
}

#contact_descr{
	width: 100%;
	padding: 10px;
	color: #474E69;
}