/*
Theme Name: Desalasworks 1.0
Theme URI: http://desalasworks.com/
Description: A gallery of works ideal for a web designer/developer to showcase their work
Author: Steven de Salas
Tags: maroon, purple, showcase, gallery, desalasworks, web, designer, developer
*/


/* HTML TAGS */
body {
	font-family: "Trebuchet MS", Tahoma, Arial, sans serif;
	padding: 0px;
	margin: 0px;	
}
img {
	border: 0px;
}
a {
	color: #cc0000;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

/* BODY AND WRAP */
.body {
	margin: 0px;
	background: #120000 url(img/back-dark-gradient.gif) repeat-x 0 top;
}
.body-wrap {
	position: relative;
	background: #f5f5f5 url(img/diag-bar.gif) repeat-x 0 top;
	width: 100%;
}
.body-main {
	padding-top: 54px;
	padding-left: 30px;
	padding-bottom: 15px;
	width: 970px;
}
h1.logo {
	font-size: 260%;
	color: #ffffff;
	letter-spacing: -1px;
	margin: 0px 0px 0px 30px;
	padding: 5px 0px 0px 0px;
}
h1.logo .presents {
	color: #ff0000;
	font-size: 40%;
	margin-left: 5px;
	letter-spacing: 0px;
}
h1.logo a, h1.logo a:hover {
	color: #ffffff;
	text-decoration: none;
}
h2.description {
	font-size: 120%;
	color: #d6bfbf;
	margin: 0px 0px 20px 30px;
	padding: 0px;
}
#container {
	float: left;
	width: 685px;
	margin-right: 20px;
}

/* NAVIGATION */

#nav {
	position: absolute;
	z-index: 999;
	left: 510px;
	top: 0px;
	width: 440px;
	background: #472727;
	color: #ffffff;
	padding: 0px;
	margin: 0px;
	border: 1px solid #d6bfbf;
}
#nav ul, nav li {
	margin: 0px;
	padding: 0px;
}
#nav li {
	list-style: none;
	display: inline;
	font-weight: bold;
}
#nav li ul {
	position: absolute;
	top: 30px;
	left: -1px;
	z-index: 99;
	border: 1px solid #d6bfbf;
}
#nav li a {
	background: #472727;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
	padding: 4px 15px;
	width: 140px;
	height: 30px;
	line-height: 30px;
	margin: 0px;
}
#nav li li a {
	display: block;
	padding: 2px 15px;
	height: 25px;
	line-height: 25px;
}
#nav ul
{
	display: none;
}
#nav li:hover ul, #nav li.over ul
{
	display: block;
}
#nav a:hover{
	background: #683f3e;
}

/* SIDEBAR */

#sidebar {
	width: 250px;
	float: right;
	overflow: hidden;
	margin-top: 40px;
}
#sidebar .sidebar-box {
	width: 180px;
	border: 1px solid #ccc;
	background: #ffffff url(img/back-gradient.gif) repeat-x 0 top;
	padding: 10px;
	margin-bottom: 20px;
	font-size: 75%;
}
#sidebar .sidebar-heading {
	margin-left: 10px;
	margin-bottom: 20px;
	font-weight: bold;
	font-size: 85%;
}
.sidebar-box ul, #sidebar li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
.sidebar-box p {
	margin: 10px 0px 0px 0px;;
	padding: 0px;
}
.sidebar-box .sb-title {
	font-weight: bold;
	font-size: 120%;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.sidebar-box .categories ul {
	border-top: 1px solid #ccc;
}
.sidebar-box .cat-item {
	border-bottom: 1px solid #ccc;
}

/* BIG BOX AND SMALL BOX */
.big-box, .small-box {
	position: relative;
	font-size: 70%;
	float: left;
	margin-right: 40px;
	margin-bottom: 40px;
	border: 1px solid #cccccc;
	background: #ffffff url(img/back-gradient.gif) repeat-x 0 top;
}
.new {
	width: 40px;
	height: 40px;
	position: absolute;
	top: -15px;
	z-index: 100;
	background: transparent url(img/icon-new.png) no-repeat 0 0;
}
.big-box .new {
	left: 413px;
}
.small-box .new {
	left: 173px;
}
.thumbnail-back {
	position: absolute;
	display: block;
	border: 1px solid #ffffff;
	background: #333333;
	margin: 10px;
}
a.thumbnail {
	position: absolute;
	display: block;
	border: 1px solid #cccccc;
	background: #dddddd url(img/back-play.gif) no-repeat center center;
	margin: 10px;
	opacity:1;filter:alpha(opacity=100)
	z-index: 99;
}
a.thumbnail:hover {
	border: 1px solid #333333;
	background-color: #dddddd;
	opacity:1;filter:alpha(opacity=100)
}
.big-box p.title {
	padding: 355px 5px 0px 15px;
	margin: 0px;
}
.big-box p.title, big-box p.category {
	width: 410px;
}
.small-box p.title {
	padding: 138px 5px 0px 15px;
	margin: 0px;
}
.small-box p.title, small-box p.category {
	width: 170px;
}
p.title, p.category {
	height: 17px;
	text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
p.title a {
	font-weight: bold;
	text-decoration: none;
	color: #333333;
}
p.title a:hover {
	text-decoration: underline;
}
p.category {
	padding: 0px 5px;
	margin: 0px;
}
p.category a {
	color: #cc0000;
	text-decoration: none;
}
p.category a:hover {
	text-decoration: underline;
}
a.zoom {
	position: absolute;
	display: block;
	width: 20px;
	height: 20px;
	opacity:0.40;filter:alpha(opacity=40);
	background: transparent url(img/zoom.gif) no-repeat 0 0;
}
a.zoom:hover {
	opacity:1;filter:alpha(opacity=100)
}
.big-box a.zoom {
	top: 375px;
	left: 415px;
}
.small-box a.zoom {
	top: 155px;
	left: 175px;
}
a.counter {
	float: left;
	display: inline;
	color: #333333;
	text-decoration: none;
}
a.counter:hover {
	text-decoration: underline;
}
a.counter {
	background: transparent url(img/heart.gif) no-repeat 1px 2px;
	padding-left: 14px;
	float: left;
	display: inline;
	color: #333333;
	text-decoration: none;
}
a.like {
	background: transparent url(img/like.gif) no-repeat 1px 2px;
	padding-left: 14px;
	float: right;
	margin-right: 3px;
}
a.comment {
	background: transparent url(img/comment.gif) no-repeat 1px 2px;
	padding-left: 14px;
	float: right;
}

/* SMALL BOX */

.small-box {
	width: 200px;
	height: 180px;
}
.small-box .thumbnail-back {
	width: 178px;
	height: 120px;
}
.small-box a.thumbnail {
	width: 178px;
	height: 120px;
}
.small-box .bottom {
	position: absolute;
	width: 198px;
	text-align: right;
	font-size: 80%;
	top: 182px;
}

/* BIG BOX */

.big-box {
	width: 440px;
	height: 400px;
}
.big-box .thumbnail-back {
	width: 418px;
	height: 335px;
}
.big-box a.thumbnail {
	width: 418px;
	height: 335px;
}
.big-box .bottom {
	position: absolute;
	width: 438px;
	text-align: right;
	font-size: 80%;
	top: 402px;
}


/* CONTENT */

.container-box {
	border: 1px solid #ccc;
	background: #ffffff url(img/back-gradient.gif) repeat-x 0 0;
	padding: 40px;
	margin-bottom: 20px;
	padding-top: 30px;
	font-size: 95%;
}
.container-box img {
	border: 1px solid #999;
}
.container-box a:hover img {
	border: 1px solid #333;
}
.container-box li {
	margin-bottom: 5px;
}
h3.page-title, h3.big-grey {
	display: block;
	font-size: 300%;
	color: #bbb;
	margin: 10px 0px 0px 0px;
	padding: 0px;
	height: 32px;
	line-height: 32px;
	overflow: hidden;
}
h3.page-title a {
	color: #ccc;
}
h3.page-title a:hover {
	text-decoration: none;
}
h3.post-title {
	font-size: 150%;
	margin: 0px 0px 10px 0px;
	padding: 0px;
}
blockquote {
	font-style: italic;
	margin: 0px;
	padding: 0px;
	line-height: 100%;
}
.full-thumbnail {
	width: 600px;
	border: 1px solid #999;
}

/* POPUP */

#tinybox {position:absolute; display:none; padding:10px; background:#fff url(img/preload.gif) no-repeat 50% 50%; border:10px solid #e3e3e3; z-index:2000}
#tinymask {position:absolute; display:none; top:0; left:0; height:100%; width:100%; background:#000; z-index:1500}
#tinycontent {background:#fff}

a.popup-button {
	position: absolute;
	left: 540px;
	width: 50px;
	height: 22px;
	color: #ffffff;
	opacity:0.50;filter:alpha(opacity=50);
	padding-top: 25px;
	font-size: 10px;
	text-align: center;
	border: 1px solid #120000;
	background-color: #120000;
	background-repeat: no-repeat;
	background-position: center 10px;
}
a.popup-button-on {
	border: 1px solid #fff;
	background-color: #cc0000;
	opacity:1;filter:alpha(opacity=100);
}
a.popup-button:hover {
	opacity:1;filter:alpha(opacity=100);
	text-decoration: none;
	border: 1px solid #fff;
	background-color: #cc0000;
}
a.popup-close {
	top: 30px;
	background-image: url(img/icon-white-close.gif);
}
a.popup-like {
	top: 90px;
	background-image: url(img/icon-white-like.gif);
}
a.popup-comment {
	top: 150px;
	background-image: url(img/icon-white-comment.gif);
}
a.popup-open {
	top: 210px;
	background-image: url(img/icon-white-open.gif);
}


/* COMMENTS */

ol.comment-list {
	margin: 10px 0px 0px 0px;
	padding: 0px;
}
ol.comment-list li {
	position: relative;
	list-style-type: none;
	margin-left: 50px;
	margin-bottom: 10px;
	background: #ffffff url(img/bg-comment.gif) no-repeat 0px 10px;
}
ol.comment-list p {
	margin: 0px;
	padding: 5px 0px;
}
ol.comment-list .comment-meta {
	display: none;
}
ol.comment-list li.byuser {
	background: #ffffff url(img/bg-comment-byuser.gif) no-repeat 0px 10px;
}
ol.comment-list li div.comment-body {
	margin-left: 10px;
	padding: 10px;
	background: #f5f5f5;
}
ol.comment-list li.byuser div.comment-body {
	background: #ede0e0;
}
ol.comment-list li .avatar {
	position: absolute;
	left: -50px;
	_left: -70px;
	top: 0px;
	margin-left: 0px;
}

/* FOOTER */

.footer {
	color: #ffffff;
	padding-left: 35px;
	height: 800px;
	font-size: 80%;
  background: transparent url(img/diag-bar.gif) repeat-x 0 top;
}
.footer-top {
	padding-bottom: 20px;
	height: 20px;
}
.footer h1 {
	margin-top: 20px;
}
.footer a {
	color: #ffffff;
}
.footer-left {
	float: left;
	width: 450px;
	padding-left: 90px;
	background: transparent url(img/pic-me.jpg) no-repeat 0 30px;
}
.footer-right {
	background: transparent url(img/footer-break.gif) no-repeat 0 30px;
	padding-left: 55px;
	margin-left: 50px;
	float: left;
	width: 300px;
}
.footer textarea {
	float: left;
	font: 12px/16px Helvetica, Arial, sans serif;
	font-weight: bold;
	padding: 4px;
	border: 1px solid #000000;
}
.icon-facebook {
	float: left;
	background: transparent url(img/icon-facebook.gif) no-repeat 0 0;
	padding-left: 40px;
	height: 32px;
	width: 180px;
	line-height: 32px;
	margin-bottom: 15px;
}
.icon-mobile {
	float: left;
	background: transparent url(img/icon-mobile.gif) no-repeat 0 0;
	padding-left: 40px;
	width: 180px;
	height: 32px;
	line-height: 32px;
	margin-bottom: 15px;
	margin-left: 10px;
}
.icon-email {
	float: left;
	background: transparent url(img/icon-email.gif) no-repeat 0 0;
	padding-left: 40px;
	height: 32px;
	width: 180px;
	line-height: 32px;
	margin-bottom: 15px;
}
.icon-skype {
	float: left;
	background: transparent url(img/icon-skype.gif) no-repeat 0 0;
	padding-left: 40px;
	width: 180px;
	height: 32px;
	line-height: 32px;
	margin-bottom: 15px;
	margin-left: 10px;
}
a.icon-wordpress {
	display: block;
	background: transparent url(img/icon-wp.gif) no-repeat 2px 2px;
	padding-left: 40px;
	height: 36px;
	line-height: 36px;
	margin-bottom: 15px;
	border: 1px solid #120000;
}
a.icon-wordpress:hover {
	background-color: #472727;
	text-decoration: none;
	border: 1px solid #ffffff;
}
a.icon-download {
	display: block;
	background: transparent url(img/icon-download.gif) no-repeat 2px 2px;
	padding-left: 40px;
	height: 36px;
	line-height: 36px;
	margin-bottom: 15px;
	border: 1px solid #120000;
}
a.icon-download:hover {
	background-color: #472727;
	text-decoration: none;
	border: 1px solid #ffffff;
}
a.icon-redarrow {
	display: block;
	float: left;
	background: transparent url(img/icon-redarrow.gif) no-repeat center 35px;
	text-align: center;
	font-weight: bold;
	font-size: 120%;
	padding: 87px 0px 30px 0px;
	margin-left: 5px;
	margin-top: 1px;
	border: 1px solid #120000;
	width: 80px;
}
a.icon-redarrow:hover {
	background-color: #472727;
	text-decoration: none;
	border: 1px solid #ffffff;
}


/* UNIVERSAL CLEARFIX HACK */
html .clearfix { display: block; }
* html .clearfix { height: 1%; }
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }

