﻿/*
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: rtl; }
img {border: 0px none;}
h1 {color: #00498f; font: normal 25px 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: right;}

#main{width:1000px; margin:0px auto 0 auto; padding: 0 10px;}
#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: right; width: /*475*/625px; text-align: justify; padding: /*30px 50px 0 0*/17px 33px 0 0 ; line-height: 140%}

#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: 8px 0 0 0; padding:0; height:48px; width: 813px; background: url('images/menu.jpg') repeat-x; float: left; margin-top: 58px; border-left: 1px solid #dfe2e4}
.menu2 ul {margin: 0; padding: 0}
.menu2 li {display:block; float:right; position:relative; text-align: center;background: url('images/li.jpg') no-repeat left center}
.menu2 li a {display:block;cursor:pointer; text-decoration: none; float:right; color:#00498f; line-height: 48px; width: /*203*/162px;}

.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;
    }
form {width: 200px; line-height: 160%}
input, textarea {border:none; font: small Arial; width: 165px; border-radius: 8px; margin-bottom: 7px; height: 26px; padding: 0; background: #e3ecf6; float: left;}
textarea {width: 200px; height: 80px;}
input[type="submit"] {background: #00498e; float: left; margin-top: 7px; color: #fff; font-weight: bold; width: 200px}