/*
Theme Name: OCI law
Theme URI: http://ocilaw.com/
Description: A custom wordpress theme for OCI law
Version: 1
Author: Good dog design
Author URI: http://gooddogdesign.com/
*/

body {
  line-height: 1;
  color: #333;
  background: transparent; }

div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, button {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline; }

*:focus {
  outline: 0; }

ol, ul {
  list-style: none; }

table {
  border-collapse: separate;
  border-spacing: 0; }

caption, th, td {
  text-align: left;
  font-weight: normal; }

blockquote:before, blockquote:after, q:before, q:after {
  content: ""; }

blockquote, q {
  quotes: "" ""; }

button {
  background: 0 none;
  cursor: pointer;
  padding: 0; }

button::-moz-focus-inner {
  padding: 0;
  border: none; }

strong, b {
  font-weight: 700; }

em, i {
  font-style: italic; }

article, aside, figure, footer, header, hgroup, nav, section {
  display: block; }

.clearfix, #contact-form p {
  display: inline-block;
  display: block;
  zoom: 1; }
  .clearfix:after, #contact-form p:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    overflow: hidden; }
  * html .clearfix, * html #contact-form p {
    height: 1%; }

body {
  background:#0f1d2c url(images/bg-body.png) 0 0 repeat-x;
  font-family: "skolar-1","skolar-2", Georgia, serif;
  font-size:15px;
  color:#4b4b4b;
}

#wrap {
  background:#fff;
  width:946px;
  margin:0 auto 10px;
  -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
}

#header {
  background:url(images/header-page.jpg) 0 100% no-repeat;
  height:256px;
  padding-top:15px;
  position:relative;
  z-index:100;
}

#header h1 {
  float:left;
  margin-left:36px;
}

#header h1 a {
  display:block;
  text-indent:-9999px;
  background:url(images/logo.png) 0 0 no-repeat;
  width:159px;
  height:107px;
}

#header nav ul {
  float:right;
  width:609px;
}

#header nav ul li {
  float:left;
  background:url(images/bg-nav.png) 0 0 no-repeat;
  position:relative;
}

#header nav ul li a {
  color:#868181;
  display:block;
  padding:62px 30px 5px 11px;
  text-decoration:none;
  font-size:14px;
  text-transform:uppercase;
  font-weight:300;
  border-bottom:4px solid transparent;
  -webkit-transition: border-color 0.5s ease-in;
  -moz-transition:border-color 0.5s ease-in;  
  -o-transition:border-color 0.5s ease-in;  
  transition:border-color 0.5s ease-in;
}

#header nav ul li a:hover,
#header nav ul li a.current {
  border-bottom:4px solid #5a9cc8;
}

#header nav li ul {
  position:absolute;
  left:-9999px;
  width:120px;
}

#header nav li ul#nav-5{
  width: 153px;
}

#header nav li ul.active {
  left:0;
}

#header nav li li {
  float:none;
  background:#eef1f6;
  margin-bottom:1px;
  
  background:rgba(238,241,246,0.95);
}

#header nav li li a {
  padding:8px 5px;
  font-size:12px;
  border:0 none;
  color:#666;
}

#header nav li li a:hover {
  border:0 none;
  background:#abdcfd;
  background:rgba(171,220,253,0.8);
  
}

.home #header {
  padding:0;
  height:341px;
  background:url(images/header-home.jpg) 0 0 no-repeat;
}

.home #header h1 {
  position:absolute;
  top:-9999px;
}

.home #header nav ul li {
  border-left:1px solid #8997b8;
  background:0 none;
}

.home #header nav ul li a{
  padding:30px 30px 10px 10px;
  border-bottom:0 none;
  border-top:4px solid transparent;
  color:#fff;
}

.home #header nav ul li a:hover {
  border-top:4px solid #5a9cc8;
  border-bottom:0 none;
}

.home #header nav li li {
  background:#eef1f6;
  border:0 none;
  background:rgba(238,241,246,0.95);
}

.home #header nav li li a {
  padding:8px 5px;
  font-size:12px;
  border:0 none;
  color:#666;
}

.home #header nav li li a:hover {
  border:0 none;
  background:#abdcfd;
  background:rgba(171,220,253,0.8);
}


#content {
  padding:0 0 45px 0;
}

#content p {
  font-size:15px;
  line-height:22px;
  padding-bottom:12px;
}

#content a {
  color:#5a9cc8;
  -webkit-transition: color 0.25s ease-in;
}

#content a:hover {
  color:#101e2d;
}

#content .address {
  font-size:12px;
  line-height:18px;
  margin-bottom:18px;
}

#content .contact {
  font-size:12px;
  line-height:18px;
  width:200px;
}

#content .contact th {
  width:90px;
}

#main, #map {
  width:563px;
  float:left;
  padding-top:30px;
  margin-right:30px;
  margin-left:45px;
}

#main h1,
#contact-title {
  color:#4d8bbe;
  font-size:24px;
  border-bottom:1px solid #ccc;
  padding-bottom:10px;
  margin-bottom:11px;
  font-weight:500;
}

#main h2 {
  font-size:18px;
  line-height:22px;
  margin-bottom:22px;
}

#main table {
  margin-bottom:22px;
  width:100%;
}

#main td {
  padding-right:30px;
}

#main td strong {
  display:block;
  margin-bottom:4px;
}

.page-id-7 #main {
  width:700px;
}

#main li {
  font-size:15px;
  line-height:22px;
  padding-left:10px;
  background:url(images/bullet.png) 0 7px no-repeat;
  margin-bottom:11px;
}

#main li li {
	margin-left: 20px;
}
#sidebar, #contact-form, .home #address {
  width:230px;
  padding:10px;
  float:left;
  background:#f1f1f1;
  margin:30px 0 0 30px;
}

#sidebar h1 {
  text-transform:uppercase;
  letter-spacing:1px;
  line-height:22px;
  margin-bottom:22px;
  color:#939393;
  font-weight:300;
}

#sidebar ul li {
  font-size:13px;
  line-height:22px;
  border-bottom:1px solid #ddd;
	padding-top: 5px;
	padding-bottom: 5px;
}

#sidebar ul li:last-child {
  border:0 none;
}

#sidebar ul a {
  font-weight:500;
  color:#3b3b3b;
  text-decoration:none;
}

#sidebar p {
  font-weight:500;
}

.home #sidebar-pad {
  border-left:1px solid #ccc;
  display: block;
  float: left;
  width: 280px;
}

.home #address {
  margin:0;
  background:#fff;
  padding:30px 0 30px 30px;
  width:230px;
  border-left:1px solid #ccc;
}

.home #sidebar p {
  font-weight:300;
}

#sidenav {
  width:181px;
  padding:10px 10px 10px 0;
  float:left;
  margin:18px 0 0 0px;
}

#sidenav ul li {
  padding-left:30px;
  border-left:4px solid transparent;
  -webkit-transition: border-color 0.5s ease-in;
  -moz-transition:border-color 0.5s ease-in;  
  -o-transition:border-color 0.5s ease-in;  
  transition:border-color 0.5s ease-in;
}

#sidenav ul li:hover,
#sidenav ul li.current_page_item,
#sidenav ul li.current_page_ancestor,
#sidenav ul li.hover {
  border-left-color:#5a9cc8;
}

#sidenav ul li a {
  color:#868181;
  display:block;
  padding:6px 0 6px 10px;
  text-decoration:none;
  font-size:14px;
  font-weight:300;
  border-bottom:1px solid #eee;
}

#sidenav ul li a:hover,
#sidenav ul li.current_page_item a,
#sidenav ul li.current_page_ancestor a {
  color:#5a9cc8;
  font-weight:500;
}

#contact-title {
  padding-top:30px;
  margin-right:30px;
  margin-left:45px;
  margin-bottom:0;
}

#map {
  width:400px;
  margin-right:0;
}

#map table {
  margin-bottom:36px;
}

#map .address,
#map .contact {
  font-size:14px;
}

#map .map {
  font-size:12px;
}

#contact-form {
  width:450px;
  background:#fff;
}

#contact-form .wpcf7-not-valid-tip-no-ajax {
  font-size:10px;
  color:red;
  display:block;
  clear:left;
}

#contact-form .wpcf7-validation-errors {
  color:red;
}

#contact-form label {
  width:130px;
  float:left;
}

#contact-form input[type="text"] {
  width:260px;
  border:0 none;
  font-size:15px;
  padding:3px;
  margin-right:10px;
  background:url(images/bg-input.png) 0 0 no-repeat;
  float:left;
}

#contact-form textarea {
  width:390px;
  border:0 none;
  font-size:15px;
  padding:3px;
  background:url(images/bg-input.png) 0 0 no-repeat;
}

#contact-form button {
  background:#4d8bbe;
  color:#fff;
  float:right;
  display:block;
  padding:5px 15px;
  border-right:1px solid #666;
  border-bottom:1px solid #666;
  margin-right:53px;
  font-size:16px;
}

#contact {
  width: 268px;
  float:right;
  clear:both;
  margin-top:24px;
  background:#fff;
}

#footer {
  width:926px;
  margin:0 auto;
  color:#b1b1b1;
  font-size:12px; 
  font-weight:500;
  -moz-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
  -webkit-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
}

#footer a {
  color:#b1b1b1;
}
