/*
Theme Name: YPLAW
Theme URI: http://wordpress.org/themes/twentyten
Author: the WordPress team

*/
ul.menu {margin:0 0 18px 0;}
.readmore {display:inline;}
.articbutton {text-align:center; width:230px; border:2px inset; background-color:#fff; margin-bottom:5px; float:right; margin-right:70px;}
.articbutton a {text-decoration:none; color:#000; padding:2px;}
.articbutton a:hover {color:grey;}
#cooooon {width:936px; margin:0 auto; height:auto;}
#sidecontact {width: 200px; float:left; margin-top:18px}
#sidecontact ul, li  {list-style:none;}
#tophead {height:224px; width:936px;}
#phone {font-size: 18px; float: left; margin: 121px 0 0 0; color:#e0cd8f; line-height:25px; width:240px;}
#header {width: 936px; margin: 0 auto; color: #ddd; padding: 0;}
#logo {float: right; width: 450px; height:217px;}

#menu {float:right; width:969px; text-align:right; margin:0 auto; font-size:15px;}
#menu li {float:right; list-style:none; line-height:30px; position:relative; }
#menu a {text-decoration:none; color:#fff; float:right; padding:0 15px; height:35px;}
#menu ul ul {
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	display: none;
	position: absolute;
	top: 35px;
	right: -40px;
	float: right;
	width: 120px;
	z-index: 99999;
	margin-right: 0px!important;
}
#menul li:hover > ul {display:block;}
#menu ul ul li a {width:200px; color:#000; text-align:center;}
#menu ul ul li {background:#fff;}
#menu ul ul li:hover {background:#8F7A45;}
#googleplus {float:left;}
#menu li:hover > a {background: url('images/libottom.jpg') bottom repeat-x;}
#menu  ul li:hover > ul {display: block;}
#menu ul li.current_page_item > a,
#menu ul li.current_page_ancestor > a,
#menu ul li.current-menu-ancestor > a,
#menu ul li.current-menu-item > a,
#menu ul li.current-menu-parent > a {
background: url('images/libottom.jpg') bottom repeat-x;
}


#menuunderline {background:url('images/menubg.jpg') repeat-x; height:5px; width:936px; margin-top:-5px;}

#slider {width:936px; height:296px; margin: -205px auto 0;}
#slideshow {width:936px;height:296px; margin: 0 auto}
.slider-item{width:100% !important; height:296px}
#wrapperhome {background:#1d1d1d; height:490px;}
#wrapper {background:#1d1d1d; height:300px;}
#wrapper2 {background:#1d1d1d; height:280px;}
#main {margin: auto; width: 700px; height: auto; padding-top: 20px; line-height:25px; float:right;}

.ribua {width:936px; height:436px; background:url('images/widgetbg.jpg') repeat; border-radius:10px; margin:20px 0 0 0;}
.cube {width:255px; list-style:none; padding:20px; line-height:25px; height:380px; float:right; margin:0 5px;}
.cube a {text-decoration:none; color:#3a3a3a; float:left; line-height:28px;}

.entry-title a {color:#786639; text-decoration:none;}
#post {margin-bottom:20px;}

#links a {float:right; margin-left:10px; display:block;}


#line {width:936px; height:1px; background:#474747; margin: 40px 0 40px 0;}
#contactpage {width:900px; height:262px;}
#contactpage input {width: 202px; height: 25px; background: #fff; border: 1px solid #aeaeae; float: left; margin-left: 580px; padding-left:5px;}
#contactpage textarea {width: 500px; height: 102px; background: #fff; border: 1px solid #aeaeae; float: left; margin-top: 0px; padding-right:5px; margin-left:282px;}
#contactpage input[type="submit"] {width: 207px; height: 30px; float: left; margin-top: 5px; margin-bottom:0px; cursor:pointer;}



#footer {margin: 15px auto 0 0; text-align: center; font-size: 12px; height:70px; background:url('images/footerbg.jpg') repeat-x; padding: 5px 0 10px 0;}
#footer a {color:#3a3a3a;}


html {margin: 0; padding: 0;}
body {border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	font: 14px arial; 
	background: url('images/bg.jpg') repeat;
	color:#3a3a3a;
	direction:rtl;
	}
h1, h2, h3, h4, h5, h6 {clear: both;color: #786639; margin: 4px 0}
h1 {font-size: 22px; line-height:38px;}
h2 {font-size: 18px; border-bottom: 1px solid #bebebe; line-height:25px; height:35px; padding-right:10px; margin-top:45px;}
h3 {font-size: 18px;}
ol, ul {list-style: none;}
a img {border: none;}
img {margin-right:5px;}


/* =Global Elements
-------------------------------------------------------------- */

/* Text elements */
ul {
	list-style: square;
	margin: 0 1.5em 18px 0;

}
ol {
	list-style: decimal;
	margin: 0 1.5em 18px 0;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 0 24px 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 18px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea {
	border: 1px solid #c0c0c0;
    width: 200px;
	height:25px;
}

/* =Gallery listing
-------------------------------------------------------------- */

.format-gallery .size-thumbnail img,
.category-gallery .size-thumbnail img {
	margin-bottom: 0;
}
.format-gallery .gallery-thumb,
.category-gallery .gallery-thumb {
	float: right;
	margin-left: 20px;
	margin-top: -4px;
}

/* =Attachment pages
-------------------------------------------------------------- */

.attachment .entry-content .entry-caption {
	font-size: 140%;
	margin-top: 24px;
}
.attachment .entry-content .nav-previous a:before {
	content: '\2190\00a0';
}
.attachment .entry-content .nav-next a:after {
	content: '\00a0\2192';
}


/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-left: 24px;

}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-right: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-right: auto;
	margin-left: auto;
}

img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
	margin-right:5px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
	max-width: 622px; /* caption width - 10px */
}
.wp-caption p.wp-caption-text {
	color: #777;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: right;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
/*	max-width: 84%;*/
	height: auto;
}
.gallery .gallery-caption {
	color: #777;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery br+br {
	display: none;
}

