﻿/*
Theme Name: DavidLaw
Theme URI: http://www.mani-design.com
Description: A theme by <a href="http://www.mani-design.com">Mani Design</a>.
Version: 0.1
Author: Mani Design
Author URI: http://www.mani-design.com
*/

html{margin-top: 0 !important}
body{padding:0; margin:0 auto; color:#000; background:url('images/bg.jpg') repeat-x right top #fff; font-family: Arial; font-size: 15px; text-align: right; direction: ltr; }
img {border: 0px none;}
h1 {color: #00498f; font: normal 24px Tahoma; background:url('images/h1.jpg') repeat-x bottom left; padding-bottom: 15px; margin: 10px 0}
h2 {color: #00498f; font-size: 18px;}
a {color: #00498f}

#header {width:1000px; margin:12px auto 0 auto; height: 110px; padding: 0;}
#logo {width: 186px; float: left;}

#main{width:1000px; margin:0px auto 0 auto; padding: 0 10px;direction: ltr;}
#topPic {width: 1000px; margin: 0; background: url('images/shad.png') no-repeat center bottom; padding-bottom: 11px;}


#txt {padding: 0 28px; text-align: center; padding-bottom: 11px;}

#itxt {padding: 0;  background: #fff; box-shadow: 1px 7px 18px -1px #B4B4B4; min-height: 520px; margin-bottom: 1px; }
#itxt #text {float: left; width: 625px; text-align: justify; padding: 17px 0 0 33px; line-height: 140%}

#rolltext {float: left; width: 475px; text-align: justify; padding: 15px 0 0 18px; line-height: 150%; direction: rtl; overflow: auto; margin: 15px; height: 475px;}
#rolltext #ltr {direction: ltr}

#footer {text-align: center; font-size: 12px; background: url('images/shad.png') no-repeat center top; padding-top: 10px; color: #646464}

/*=========== MAIN MENU =============*/
.menu2 {border-radius: 0 8px 0 0; padding:0; height:48px; width: 813px; background: url('images/menu.jpg') repeat-x; float: right; margin-top: 58px; border-right: 1px solid #dfe2e4}
.menu2 ul {margin: 0; padding: 0}
.menu2 li {display:block; float:left; position:relative; text-align: center;background: url('images/li.jpg') no-repeat right center}
.menu2 li a {display:block;cursor:pointer; text-decoration: none; float:right; color:#00498f; line-height: 48px; width: /*162*/203px;}

.menu2 li:hover > a, .menu2 ul li.current_page_item > a, .menu2 ul li.current-menu-ancestor > a, .menu2 ul li.current-menu-item > a, .menu2 ul li.current-menu-parent > a {color: #5686b4; font-weight: bold}

#right_side .wp-post-image, #right_side2 .wp-post-image{display: none;}

    img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }

    img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
    }

    .alignright {
    float: right;
    }

    .alignleft {
    float: left;
    }
input, textarea {border:none; font: small Arial; width: 138px; border-radius: 8px; margin-bottom: 7px; height: 26px; padding: 0;}
textarea {width: 280px}
input[type="submit"] {background: url('images/send.jpg') repeat-x; float: left; margin-bottom: 0px; color: #404040; font-weight: bold}