/*
Theme Name: Magia Dereva
Theme URI: http://3dom.com.ua/
Description: Magia Dereva Theme.
Version: 4.0
Author: Maxim Protsenko
*/ 
html * { margin:0; padding: 0; font-family: Tahoma, Arial, Geneva, sans-serif; font-size:12px }
body { color: black; background-color: #cccccc; margin: 0 auto; }
td { background-color: white; }
img {border:0;}
a:link, a:visited, a:hover, a:active { color: black }
a { border: 0; text-decoration: none }
.mdheader { background-color: #fffbe2; font-family: Verdana; width:760px;height:100px;-adbe-g:p,4,4;}
.md5y { background-image: url(images/md5ybg.png); background-position: top left; background-repeat: no-repeat; }
.mdtext, p {font-size: 12px; line-height: 17px; font-family: Verdana; text-align: justify; margin-bottom: 16px; }
.mdgreen { background-color:#004B21; position:relative;width:760px;height:33px;-adbe-g:p,5,5; clear:both; }
.mdhome1 {position: relative; width: 760px; background-color: #fff; margin: auto; -adbe-g: n,5,5;}
.mdtop1 {width: 760px; height: 100px;}
.mdlogo {height:59px;margin:26px 0 0 36px;float:left;}
.mdtoptxt {float:right;text-align: right; margin:62px 18px 0 0;height:33px; font-family: Arial, Tahoma, Geneva, sans-serif; font-size: 12px; font-style: italic; color: #817f7d;}
.mdhomeimg {width: 760px;}
img.mdhome {border-bottom: 1px solid #fff; border-top: 1px solid #fff;}
.mdfoot1 {width: 760px; height: 155px; }
.mdfoot1_1 {width:730px; height: 155px; padding: 15px; background-color:#004B21; -adbe-g:p,5,5;}
span.home {font-size: 11px; float: left; width: 650px; color: #ffffff; margin-bottom: 10px; }
.mdenter {float:right;text-align:right;margin-top:35px;margin-right:10px;}
a.mdent, a.mdent:hover,a.mdent:link,a.mdent:visited,a.mdent:active {color:#b0d2c9;text-decoration:none;font-size:16px;}
.mdfoot2 {width: 760px; height: 50px;}
.mdfoot2_1 {width:760px;height:50px;-adbe-g:p,4,4; background-color:#cccccc}
.mdfootaddr {float:right;color:#878787;font-size:11px;margin-top:10px;margin-right:18px;}
.mdin {width:760px;background-color:#fff;margin:0 auto;-adbe-g:p,5,5;}
.mdimg1{width:282px;height:195px;float:left;border-top:1px solid #ffffff;}
.mdimg2{width:477px;height:195px;float:right;border-top:1px solid #ffffff;}
.mdmenu1 {width:760px;height:33px;clear:both;border-top:1px solid #ffffff;}
.mdleft1 {width:230px;height:30px;background-color:#004B21;margin-top:0;padding-top:0;}
.mdleft3 {width:104px;}
#mdtext { margin-top: 32px; color: #666; margin-left:285px;width:458px;-adbe-c:c; float: none;  }
.mdh {float:left; text-align: right; width:230px;height:75px;-adbe-c:c }
h1 {margin-top: 28px; color: #000000; font-size: 16px; font-family: Verdana; font-weight: normal; margin-left: 16px; margin-bottom: 0;}
h2 {margin-top: 28px; color: #000000; font-size: 15px; font-family: Verdana; font-weight: normal; margin-bottom: 0;}
.mdleft {margin-bottom:18px;float:left; clear:left;width:230px;-adbe-c:c }
a.mdpr,a.mdpr:link,a.mdpr:hover,a.mdpr:active,a.mdpr:visited {font-size:10px;text-decoration:none;color:#ffffff}
a.mdpr {font-weight:bold;color:#ffffff;display:block;text-align:right;padding:7px 5px;height:16px;}
ul.mdmenu { list-style:none; float:right; margin-top: 9px;}
li.page_item { display:block; float:left; margin-right:18px; }
li.page_item a, li.page_item a:link, li.page_item a:active, li.page_item a:hover, li.page_item a:visited {display:block; text-decoration:none; color:#b5e3c7; font-size: 11px;}
li.page_item a:hover, li.current_page_item, li.current_page_item a, li.current_page_item a:link, li.current_page_item a:active, li.current_page_item a:visited {color:#ffffff}
.mdtextfull { margin-top: 32px; color: #666; margin-left:16px;width:720px;-adbe-c:c; float: none;  }
#map {width: 458px; height: 280px}
a {text-decoration:none;}
.mdah2 { font-size: 14px; font-weight: bold; }
sup {font-size:7px;}
.mdtbl td { padding-bottom: 18px; }
a.mdngi:hover img {border: 1px solid #000000; margin:0 }
.mdfooti1 {width: 760px; height: 42px;}
.mdfooti1_1 {width:760px; height:42px; background-color:#004B21; -adbe-g:p,5,5;}