html {
	height:100%;
	margin:0px;
	padding:0px;
}

body {
    margin: 0px;
    padding: 0px; 
    height:100%;  
    background-color: #fdf2ec;
    font-family: verdana;
    font-size: 14px;
    font-style: normal;
}

@media (max-device-width: 480px)  { body {width:480px;} }
@media (max-width: 640px)  { body {font-size:130%;} }
@media (max-width: 960px)  { body {font-size:115%;} }

img,a { outline: none; border: 0px;}

ul.main {
	list-style-image: url(/images/arrow.png);
}

a:link,a:visited {color: #006BD7; text-decoration: none;}
a:active,a:hover {text-decoration: underline;}

.off {
    display: none;
}

select {
    font-size: inherit;
    font-style: normal;
    border: 1px solid #000;
}

/*   Top menu  */

div.container {
	display: block;
    max-width: 900px; /* ограничиваем ширину таблицы */
	height: 100%;
	margin: auto;
}

/*----------- главное меню - начало -----------------*/

#menu, #menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu {
	width: 100%;
	margin: 0px auto;
	/* border: 1px solid #B45F04; */
	border: 0px;
	background-color: #DF7401;
	background-image: -moz-linear-gradient(#fec389, #DF7401);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fec389), to(#DF7401));
	background-image: -webkit-linear-gradient(#fec389, #DF7401);
	background-image: -o-linear-gradient(#fec389, #DF7401);
	background-image: -ms-linear-gradient(#fec389, #DF7401);
	background-image: linear-gradient(#fec389, #DF7401);
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px; /* -- прямые углы -- */
	-moz-box-shadow: 0 1px 1px #777;
	-webkit-box-shadow: 0 1px 1px #777;
	box-shadow: 0 1px 1px #777;
}

#menu:before,
#menu:after {
	content: "";
	display: table;
}
#menu:after {
	clear: both;
}
#menu {
	zoom:1;
}

#menu li {
	float: left;
    border-right: 1px solid #B45F04;
    -moz-box-shadow: 1px 0 0 #fec389;
    -webkit-box-shadow: 1px 0 0 #fec389;
    box-shadow: 1px 0 0 #fec389;
    position: relative;
}
#menu a {
    float: left;
    padding: 12px 8px;
    color: #F6E3CE;
    /* text-transform: uppercase; */
    font: bold 100% Arial, Helvetica;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
}
#menu li:hover > a {
    color: #fafafa;
}
*html #menu li a:hover { /* IE6 only */
    color: #fafafa;
}

#menu ul {
    margin: 20px 0 0 0;
    _margin: 0; /*IE6 only*/
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 9999;
    background: #fec389;
    background: -moz-linear-gradient(#fec389, #DF7401);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #DF7401),color-stop(1, #fec389));
    background: -webkit-linear-gradient(#fec389, #DF7401);
    background: -o-linear-gradient(#fec389, #DF7401);
    background: -ms-linear-gradient(#fec389, #DF7401);
    background: linear-gradient(#fec389, #DF7401);
    -moz-box-shadow: 0 -1px rgba(255,255,255,.3);
    -webkit-box-shadow: 0 -1px 0 rgba(255,255,255,.3);
    box-shadow: 0 -1px 0 rgba(255,255,255,.3);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
#menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}
#menu ul ul {
    top: 0;
    left: 150px;
    margin: 0 0 0 20px;
    _margin: 0; /*IE6 only*/
    -moz-box-shadow: -1px 0 0 rgba(255,255,255,.3);
    -webkit-box-shadow: -1px 0 0 rgba(255,255,255,.3);
    box-shadow: -1px 0 0 rgba(255,255,255,.3);
}
#menu ul li {
    float: none;
    display: block;
    border: 0;
    _line-height: 0; /*IE6 only*/
    -moz-box-shadow: 0 1px 0 #B45F04, 0 2px 0 #fec389;
    -webkit-box-shadow: 0 1px 0 #B45F04, 0 2px 0 #fec389;
    box-shadow: 0 1px 0 #B45F04, 0 2px 0 #fec389;
}
#menu ul li:last-child {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#menu ul a {
    padding: 10px;
    /* width: 130px; */
    _height: 10px; /*IE6 only*/
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
    text-align: left;
    font: bold 90% Arial, Helvetica;
}
#menu ul a:hover {
    background-color: #FDB837;
    background-image: -moz-linear-gradient(#FDC04D,  #FDB837);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#FDC04D), to(#FDB837));
    background-image: -webkit-linear-gradient(#FDC04D, #FDB837);
    background-image: -o-linear-gradient(#FDC04D, #FDB837);
    background-image: -ms-linear-gradient(#FDC04D, #FDB837);
    background-image: linear-gradient(#FDC04D, #FDB837);
}

#menu ul li:first-child > a {
    -moz-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
}
#menu ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fec389;
}
#menu ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #3b3b3b;
}
#menu ul li:first-child a:hover:after {
    border-bottom-color: #FDC04D;
}

#menu ul ul li:first-child a:hover:after {
    border-right-color: #0299d3;
    border-bottom-color: transparent;
}
#menu ul li:last-child > a {
    -moz-border-radius: 0 0 3px 3px;
    -webkit-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
}

/*----------- главное меню - конец -----------------*/

div.topmenu {
    background: #fec389;
    width: 800px;
    height: 30px;
    border: 0px; 
    -moz-border-radius: 10px 10px 0 0; 
    -webkit-border-radius: 10px 10px 0 0; 
    -khtml-border-radius: 10px 10px 0 0; 
    border-radius: 10px 10px 10px 10px; 
    padding: 10px;
    margin-bottom: 10px;
}

a.topmenu:link,a.topmenu:visited {
    display: block;
    height: 52px;
    padding: 12px 5px 10px 5px;
    margin-bottom: 3px;
    vertical-align: middle;
    float: left;
    font-size: 100%;
    font-weight: bold;
    background: url("/images/topnavbg.png");
    height: 30px;
    color: #000;
    text-decoration: none;  
}

a.topmenu:hover,a.topmenu:active  {
    text-decoration: none;
    color: #fff;
}

a.menu:link,a.menu:visited {
    display: block;
    width: 100px;
    height: 20px;
    font-size: 100%;
    background: url("/images/menubutton.gif") no-repeat 0 0;
    padding-left: 5px;
    color: #FFF;
    text-decoration: none;  
}
a.menu:hover {
    background-position: 0 -20px;
}

a.menu:active {
    background-position: left bottom;
}

.whiteheader {
    display: block;
    width: 200px;
    height: 22px;
    background: url("/images/whiteheader.gif") no-repeat 0 0;
    font-size: 100%;
    font-style: bold;
    color: #FFF;
    padding-top: 3px;
}

.artist, .painting, .photography, .sculpture {
    font-size: 100%;
    font-style: normal;
    color: #FFF;
}

a.artist:link,a.artist:visited {
    display: block;
    width: 200px;
    height: 20px;
    font-size: 100%;
    background: url("/images/artistbutton.gif") no-repeat 0 0;
    color: #FFF;
    text-decoration: none;  
}
a.artist:hover {
    background-position: 0 -20px;
}

a.artist:active {
    background-position: left bottom;
}

.fbut {
    font-weight: normal;
    border: 0px;
    font-size: 100%;
    background-color: #fec389;
    color: #000;
    cursor: pointer;
    cursor: hand;
    height: 22px;
    -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px; /* -- прямые углы -- */
	-moz-box-shadow: 0 1px 1px #777;
	-webkit-box-shadow: 0 1px 1px #777;
	box-shadow: 0 1px 1px #777;
}

.textbox{
    margin: 0px;
    width: 160px;
    height: 20px;
	line-height: 20px;
    border-color: #000;
    border-width: 1px;
    border-style: solid;
    font-size: 100%;
}

.textboxonefield{
    margin: 0px;
    width: 300px;
    height: 14px;
    border-color: #000;
    border-width: 1px;
    border-style: solid; 
    padding: 2px;
    font-size: 100%;
    color: #1188FF;
}

.textarea{
    margin: 0px;
    width: 300px;
    height: 100px;
    border-color: #000;
    border-width: 1px;
    border-style: solid; 
    padding: 2px;
    font-size: 100%;
    color: #000;
    resize: none;
}

.textareabanner{
    margin: 0px;
    width: 468px;
    height: 80px;
    border-color: #666666;
    border-width: 1;
    border-style: solid; 
    padding: 2px;
    font-size: 100%;
    color: #666666;
}

.pagenav {
    font-size: 100%;
}

.pagenav span {
    color: #000;
    background-color: #fdf2ec;
    padding: 3px 4px 3px 4px;
    border-radius: 5px;
    margin-bottom: 5px;
}

.pagenav a, .pagenav a:visited {
    color: #fec389;
    background-color: #fdf2ec;
    border: 1px solid #fec389;
    padding: 3px 4px 3px 4px;
    border-radius: 5px;
    margin-bottom: 5px;
    text-decoration: none;
}

.pagenav a:hover {
    color: #000;
    background-color: #fec389;  
}

.calweek {
    font-size: 100%;
    font-weight: normal;
}

.calweek span {
    display: block;
    width: 24px;
    padding: 2px 0px 2px 0px;
    color: #fff;
    background-color: #7a7a7a;
    border: 1px solid #7a7a7a;  
}

.calnav span {
    display: block;
    width: 24px;
    padding: 2px 0px 2px 0px;
    color: #7a7a7a;
    background-color: #000;
    border: 1px solid #7a7a7a;
    font-size: 100%;
    font-weight: normal;  
}

.calnav a, .calnav a:visited {
    display: block;
    width: 24px;
    padding: 2px 0px 2px 0px;
    color: #fff;
    background-color: #000;
    border: 1px solid #7a7a7a;
    text-decoration: none;
    font-size: 100%;
    font-weight: normal;  
}

.calnav a:hover {
    color: #FFF;
    background-color: #7a7a7a;
    text-decoration: none;
    font-size: 100%;
    font-weight: normal;  
}

.calnav a:active {
    color: #000;
    background-color: #FFF;
    text-decoration: none;
    font-size: 100%;
    font-weight: normal;  
}

.blacktext {
    color: #000;
    font-size: 100%;
    font-weight: normal;
}

.creamtext {
    color: #fec389;
    font-size: 100%;
    font-weight: bold;
}

.whitetext {
    color: #FFF;
    font-size: 100%;
    font-weight: normal;
}

.bigtext {
    font-size: 125%;
    font-weight: normal;
}

.seltext {
    color: #EA7500;
    font-size: 100%;
    font-weight: normal;
}

/* Галерея */

a.navleft span{display: none;}

a.navleft   {
    display: block;
    background: url(/images/nav-prev.gif) no-repeat 0 0;
    height: 13px;
    width: 13px;
    z-index: 2;
}

a.navleft:hover{background-position:left bottom;}

a.navright span{display: none;}

a.navright   {
    display: block;
    background: url(/images/nav-next.gif) no-repeat 0 0;
    height: 13px;
    width: 13px;
    z-index: 2;
}

a.navright:hover{background-position:left bottom;}

a.whitenavright span{display: none;}

a.whitenavright   {
    display: block;
    background: url(/images/whitenav-next.gif) no-repeat 0 0;
    height: 13px;
    width: 13px;
    z-index: 2;
}

a.whitenavright:hover{background-position:left bottom;}

a.whitenavleft span{display: none;}

a.whitenavleft   {
    display: block;
    background: url(/images/whitenav-prev.gif) no-repeat 0 0;
    height: 13px;
    width: 13px;
    z-index: 2;
}

a.whitenavleft:hover{background-position:left bottom;}

a.navtop   {
    display: block;
    background: url(/images/nav-top.gif) no-repeat 0 0;
    height: 13px;
    width: 13px;
    z-index: 2;
}

a.navtop:hover{background-position:left bottom;}

img.photo {
    position: relative;
    top: 0px;
    left: 0;
    border: 1px solid black;  
    z-index: 1;
}

img.thumb {
    opacity: 0.95;
	margin: 5px;
	border-radius: 3px;
	border: 1px #DF7401 solid;
}

img.thumb:hover {
	opacity: 1;
}

img.thumbsel {
    border: 2px solid #fec389;
}

td.cellsel {
    background-color: #DDEEFF;
}

img.loading {
    position: relative;
    top:100;
    left:0;
    z-index: 2;
}

.error {color:red; font-weight: bold;}
.success {color: green; font-weight: bold;}

/* Контейнеры */

.imagewrap {
    display: block;
    background: #f8d1a8; /* фон блока fec389, #DF7401 */
    color: #000; /* цвет текста */
    border: 1px #DF7401 solid; /* стили рамки */
    -moz-border-radius: 5px 5px 5px 5px; /* закругление для старых Mozilla Firefox */
    -webkit-border-radius: 5px 5px 5px 5px; /* закругл. для старых Chrome и Safari */
    -khtml-border-radius: 5px 5px 5px 5px; /* закругл.для брауз.Konquerer сист. Linux */
    border-radius: 5px; /* закругление углов для всех, кто понимает */
    padding: 5px; /* внутренние отступы */
    text-align: center;  
}

.imagetitlewrap {
	display: block;
	width: 150px;
}

.fullimagewrap {
	display: inline-block;
    vertical-align: top;
	text-align: center;
	margin: 0px 3px 7px 0px;
	white-space: normal;
	_display:inline;
    *display:inline;
}

.parentimagewrap {
	width: 100%;
    text-align: center;
}

div.container {
	display: block;
    max-width: 1200px; /* ограничиваем ширину таблицы */
	margin: auto;
}

div.adsense_wrap {
	display: block;
	width: 100%;
}