/* Eric Meyer's CSS Reset */
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: 11px;
	font: inherit;
	vertical-align: baseline;
	color: #000;
	text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
		background:url("background.png");
}
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;
}
/* End of Eric Meyer's CSS Reset */

html {
	height: 100%;

}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
body {
	font: 12px/18px Arial, sans-serif;
	height: 100%;
}
.wrapper {
	width: 100%;
	min-width: 1000px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}
a.orange{
color: #dc2d28;
}

a.orange:href {
color: #dc2d28;
text-decoration: underline;
}

input {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding: 10px 15px 10px 10px;
border: 1px solid #000;
border-radius: 2px;

}
h1 {
font-size: 30px;
margin: 25px 10px 25px 10px;
text-align: center;
line-height: 1.6;
}

h2 {
font-size: 22px;
margin: 25px 10px 25px 10px;
}

h3 {
font-size: 24px;
margin: 25px 10px 5px 10px;
}

i {
font-style: italic;	
}
b {
font-weight: bold;	
}
u {
text-decoration: underline;	
}

table.listing {
margin: 20px 40px 20px 40px;
width: 95%;
}

table.listing td {
padding: 5px;
border: 1px solid #ddd;
}

select {
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding: 10px 15px 10px 35px;
border: 1px solid #000;
border-radius: 2px;
width: 80%;
background: url(images/select.svg) top left no-repeat;
}

input[type="checkbox"] {
display:none;
}
input[type="checkbox"] + label span {
display:inline-block;
width:19px;
height:19px;
margin:2px 4px 2px 6px;
vertical-align:middle;
background:url(images/select.svg) -29px top no-repeat;
cursor:pointer;
border: 1px solid #000;
border-radius: 2px;
background: #fff;
}

.list {
background-color: #fff;
}

.list:hover {
background-color: #aaa;
}

.header_tr {
color: #fff;
background-color: #000;
}

.header_tr:hover {
background-color: #000;
color: #fff;
}
/* Header
-----------------------------------------------------------------------------*/
.header {
	height: 60px;
	background: #000;
	border-bottom: 2px dotted #fff;
}

.button_menu {
background-color: #04a0d3;
color: #fff;
padding: 15px 25px 15px 25px;
margin: 10px 0px 0px 10px;
border-radius: 3px;
font-weight: bold;
}

.button_menu:hover {
background-color: #2c7e99;
padding: 15px 25px 15px 25px;
margin: 10px 0px 0px 10px;
border-radius: 3px;
font-weight: bold;	
}

.button_menu_hover {
background-color: #ffc000;
color: #000;
padding: 15px 25px 15px 25px;
margin: 10px 0px 0px 10px;
border-radius: 3px;
font-weight: bold;
}

.button_add {
background-color: #2c7e99;
color: #fff;
padding: 15px 25px 15px 25px;
margin: 10px 0px 0px 10px;
border-radius: 3px;
font-weight: bold;
}

.button_add:hover {
background-color: #a1c900;
padding: 15px 25px 15px 25px;
margin: 10px 0px 0px 10px;
border-radius: 3px;
font-weight: bold;	
}

.button_list {
background-color: #f57b03;
color: #fff;
padding: 15px 25px 15px 25px;
margin: 10px 0px 0px 10px;
border-radius: 3px;
font-weight: bold;
}

.button_list:hover {
background-color: #A65500;
padding: 15px 25px 15px 25px;
margin: 10px 0px 0px 10px;
border-radius: 3px;
font-weight: bold;	
}

#up {
margin-left: 30px;
}

.unactive1 {
padding: 10px;
background-color: #000;
color: #fff;
margin: 5px;
border-radius: 3px;
font-weight: bold;		
}

.unactive1:hover {
padding: 10px;
background-color: #636262;
color: #fff;
margin: 5px;
border-radius: 3px;
font-weight: bold;		
}

.unactive {
padding: 10px;
background-color: #000;
color: #fff;
margin: 5px;
border-radius: 3px;
font-weight: bold;		
}

.unactive:hover {
padding: 10px;
background-color: #636262;
color: #fff;
margin: 5px;
border-radius: 3px;
font-weight: bold;		
}

.unactive2 {
padding: 10px;
background-color: #04a0d3;
color: #fff;
margin: 5px;
border-radius: 3px;
font-weight: bold;		
}

.unactive2:hover {
padding: 10px;
background-color: #cf5e5c;
color: #fff;
margin: 5px;
border-radius: 3px;
font-weight: bold;		
}


.button_cat {
background-color: #2c7e99;
color: #fff;
padding: 16px;
margin: 10px 0px 0px 10px;
border-radius: 6px;
cursor: pointer;
border: 1px solid #fff;
font: 14px/14px Arial, sans-serif;
}

.button_cat:hover {
background-color: #a1c900;

}
/* Middle
-----------------------------------------------------------------------------*/
.content {
	padding: 0 0 20px;
}



.img_v {
position:relative;
float:left;
width:180px;
height:120px;
margin:3px;
padding: 5px;
border: 1px solid #ddd;
background: #fff;
cursor: pointer;
}

.img_v:hover {
position:relative;
float:left;
width:180px;
height:120px;
margin:3px;
padding: 5px;
border: 1px solid #ddd;
background: #e2e2e2;
cursor: pointer;
}

#img_v {
position:relative;
float:left;
width:180px;
height:120px;
margin:3px;
padding: 5px;
border: 1px solid #ddd;
background: #fff;
cursor: pointer;
}

#img_v:hover {
position:relative;
float:left;
width:180px;
height:120px;
margin:3px;
padding: 5px;
border: 1px solid #ddd;
background: #e2e2e2;
cursor: pointer;
}

#img_ac {
position:relative;
float:left;
width:180px;
height:180px;
margin:3px;
padding: 5px;
border: 1px solid #ddd;
background: #fff;
cursor: pointer;
}

.button_attach {
background-color: #b61f74;
color: #fff;
padding: 16px;
margin: 10px 0px 0px 10px;
border-radius: 6px;
cursor: pointer;
border: 1px solid #fff;
font: 14px/14px Arial, sans-serif;
}

.button_attach:hover {
background-color: #9a2b6a;

}

.attach_file {
background:  #; 
height: 25px;
width: 25px;
cursor: pointer;	
}

.background_dark {
min-height: 100%;
width: 100%;
background: rgba(0,0,0,0.8);
float: left;
position: fixed;
margin: auto;
z-index: 44;
display: none;	
}
.close_background_dark {
background:  url(images/close_dark.svg)  no-repeat; 
height: 40px;
width: 40px;
margin: -5px -5px 20px 0px;
float: right;
cursor: pointer;
}

.image_add_message {
width: 300px;
float: left;
padding: 2px;
border: 1px solid #ddd;
margin-left: 2px;
}
/* Footer
-----------------------------------------------------------------------------*/


.photo_block_upload  {
width: 500px;

}

.photo_block_upload img {
height: 120px;
float: left;
padding: 6px;
margin: 6px;
border: 1px solid #ddd;	
}