.btn, #submit, .comment-reply-link,
.btn:active, #submit:active, .comment-reply-link:active,
.btn:visited, #submit:visited, .comment-reply-link:visited
{cursor:pointer;border:none;outline:none;border:0;padding:6px 12px;color:#fff; background:#45295A; white-space:nowrap;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px}

.btn:hover, #submit:hover, .comment-reply-link:hover{
color:#FFF;
background: #C45994;
}


/* Recent Projects Shortcode */

.rec-proj {
margin: 15px 0 !important;
}

.rec-proj li{
margin: 0 !important;
}

.rec-proj ul, .gallery.gallery-size-thumbnail{text-align:center; padding:5px 0; margin: 0 !important; overflow: visible !important}
.rec-proj li, .gallery dl{
display:inline;
padding:0 5px;
position:relative;
}
.rec-proj h3{
background:url(images/bg12.png);
font-size:13px;
text-transform:uppercase;
line-height:13px;
text-align:center;
margin-bottom:5px;
}
.rec-proj h3 span{
padding:0 3px;
}
.rec-proj li img{
margin:5px 0;
border: 2px solid #CFCFCF;
padding: 1px;
}
.rec-proj .rec-proj-list img{
width:100px;
height: 100px;
}

/* Gallery Shortcode */
.gallery dl, .gallery dt{
width:auto !important;
float:none !important;
margin:0 !important;
display:inline !important;
}
#lightbox{
position:fixed;
height:100%;
width:100%;
z-index:99999;
text-align:center;
display:block;
top:0;
}
#lightbox_content, #lightbox_content ul{
height:100%;
width:100%;
}
#lightbox_content li{
height:100%;
width:100%;
text-align:center;
overflow:hidden;
vertical-align:middle;
display:block;
}
#lightbox_content img{
max-width:100%;
max-height:100%;
height:auto;
box-shadow:0 0 15px #111;
-webkit-box-shadow:0 0 15px #111;
-moz-box-shadow:0 0 15px #111;
-o-box-shadow:0 0 15px #111;
margin:auto;
position:absolute;
text-align:center;
top:0;
bottom:0;
left:0;
right:0;
}
/* Opera & IE7 Fix to center align responsive images*/
noindex:-o-prefocus, #lightbox_content img{
position:relative;
vertical-align:middle;
top:auto;
left:auto;
right:auto;
bottom:auto;
display:inline-block;
}
noindex:-o-prefocus, #lightbox_content span{
display:inline-block;
height:100%;
vertical-align:middle;
}

/* IE8 Fix */
@media \0screen{
#lightbox_content img{
width:auto;
}
}

.prev, .next{
position: fixed;
top:50%;
margin-top:-15px;
width:30px;
height:30px;
display:block;
overflow:hidden;
background:#333 url(images/arrow_right_left_dark.png);
text-indent:-9999px;
left:0;
cursor:pointer;
}
.popup-container{
background:#333;
position:fixed;
width:100%;
height:100%;
z-index:9998;
display:none;
opacity:.8;
top:0;
}
.popup-container:hover{
cursor:default;
}
.popup-div{
position: relative;
display:none;
z-index:9999;
top:50%;
position:fixed;
left:50%;
width:80%;
margin-left:-40%;
}
.next{
right:0;
left:auto;
background-position:0 bottom;
}
.close{ display:block; width:30px; height:30px; overflow:hidden; cursor:default; background:#000; position:fixed; right:0; top:0; overflow:hidden; text-indent:-999px; background:url(images/close_btn.png) no-repeat center}

.gallery_nav{
position:fixed;
width:100%;
height:100%;
overflow:hidden;
top:0;
left:0;
}

.gallery img{
margin:5px 0 !important;
padding: 1px;
}

.gallery p{display:block; clear: both; width:100%; padding:0 !important;}
.gallery p br{ display: none;}


/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
.rec-proj .rec-proj-list img{width:80px; height: 80px;}
}
