/*
Theme Name: Regaltheme Pro
Theme URI: http://inkthemes.com/
Description: The Regaltheme for WordPress is simple and beautiful with lots of customization options that can tweaked by Theme Options Panel like logos, intro texts and background. Regaltheme supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Fullwidth" and "Gallery" categories, and has an optional one-column page template that removes the sidebar.
Author: InkThemes.com
Author URI: http://www.inkthemes.com
Version: 1.2
License: GNU General Public License
License URI: license.txt
Tags: green,red,pink,black, blue, white,  two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu, full width
*/
@import url(css/base.css);
@import url(css/prettyPhoto.css);
@import url(css/sliderota.css);
@import url(css/shortcode.css);
@import url(http://fonts.googleapis.com/css?family=Abel);
@font-face {
    font-family: "Nadia Serif";
    src: url(fonts/nadia_serif.ttf);
}
body#regal_body {
    font:15px/1.5 'Cambria', Arial, 'Liberation Sans', FreeSans, sans-serif;
    background:#373202 url(images/bg.png) repeat-x;
    background-attachment:fixed;
    color: #333333;
}
pre, code {
    font-family:'DejaVu Sans Mono', Monaco, Consolas, monospace;
}
hr {
    border:0 #ccc solid;
    border-top-width:1px;
    clear:both;
    height:0;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Nadia Serif";
    text-shadow:0 1px 0 #fff;
}
:focus {
    outline:0;
}
blockquote:before, blockquote:after, q:before, q:after {
    content:"";
}
a {
    text-decoration:none;
}
a img {
    border:0;
}
.logo {
    padding-left:14px;
}
input[type="submit"] {
    cursor:pointer;
}
/*--------------------------------------------------------------------*/
/* Containers */
/*--------------------------------------------------------------------*/
.mobieMenu{
    width: 41.5%;
    min-width: 232px;
    -webkit-appearance: none;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background-image:url('images/select.png');
    background-position: center right;
    background-repeat: no-repeat;
    border: 1px solid #ccc;
    display:block;
    margin:20px auto 5px auto;
    text-align: center;
    height: 30px;
}
.main_container {
    border-top:6px solid #93771e;
    margin-top:40px;
    border-bottom:6px solid #93771e;
    background:#f9f9f9;
    padding:20px 0;
    -moz-box-shadow: 0 0 5px 3px #323131;
    -webkit-box-shadow: 0 0 5px 3px #323131;
    box-shadow: 0 0 5px 3px #323131;
}
.slider {
    margin-bottom:20px;
    margin-top:27px;
}
.slides_container{overflow:hidden;position:relative;display:none;}
#slides {width:940px;display:block;position:relative;margin-top:20px;}
#slides .slide {position:relative;width:940px;height:450px;background:#fff url(images/ajax-loader.gif) no-repeat center center;display:block;overflow:hidden;}
#slides .slide img,#slides iframe {width:940px;height:450px;}
.content {
    padding-left:14px;
    padding-right:14px;
    overflow:hidden;
}
/*--------------------------------------------------------------------*/
/* Menus */
/*--------------------------------------------------------------------*/
#menu {
    position:relative;
    z-index:1000;
    display: block;
}
#menu li {
    font-size:13px;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    background:none;
    margin:0 3px 0 0;
    padding:0;
}
#menu li a {
    position:relative;
    color:#000;
    text-align:center;
    text-decoration:none;
    text-transform:uppercase;
    margin:0;
    padding:5px 10px;
    font-size:16px;
    font-family: 'Abel', sans-serif;
}
#menu li a.selected {
    border-radius:8px 0 0 8px;
    -moz-border-radius:8px 0 0 8px;
    -khtml-border-radius:8px 0 0 8px;
    -webkit-border-top-left-radius:8px;
    -webkit-border-top-right-radius:8px;
    -webkit-box-shadow: 0px -2px 7px #e6e6e6;
    -moz-box-shadow: 0px -2px 7px #e6e6e6;
    box-shadow: 0px -2px 7px #e6e6e6;
    color:#c54510;
    background:#f3f3f3 ;
    padding-bottom:10px;
}
#menu li.current_page_item a, #menu a:hover {
    color:#c54510;
}
#menu li ul li a, #menu li ul li a.selected, #menu li ul li a:hover {
    border:none;
    border-radius:0;
    -moz-border-radius:0;
    -khtml-border-radius:0;
    -webkit-border-radius:0;
    -webkit-box-shadow:0;
    -moz-box-shadow:0;
    box-shadow:0;
}
#menu .ddsmoothmenu {
    list-style:none;
    position:relative;
    z-index:10000;
    margin:8px 0 0;
    padding:0;
    text-align: right;
    margin-right: 14px;
}
#menu .ddsmoothmenu li ul.children li {
   font:12px Arial, Helvetica, sans-serif!important;
    text-transform:capitalize;
    background: url(images/bullet.png) no-repeat 10px 15px;
}
#menu .ddsmoothmenu li ul {
    list-style-type: none;
    margin-top:10px;
    background:#f3f3f3;
}
#menu .ddsmoothmenu li ul li ul {
    background:#f3f3f3  left repeat-x;
    margin-top:0.5px;
}
#menu .ddsmoothmenu li {
    position:relative;
    display:inline;
    margin-right:15px;
}
#menu .ddsmoothmenu li li {
    font:12px Arial, Helvetica, sans-serif!important;
    text-transform:capitalize;
    background: url(images/bullet.png) no-repeat 10px 15px;
}
#menu .ddsmoothmenu li li a {
    width:130px;
    height:auto;
    float:none;
    display:block;
    font-size:13px;
    text-align:left;
    color:#FFF;
    text-shadow:none;
    text-decoration:none;
    background:none;
    position:relative;
    margin:0;
    background:url(images/menu-border.png) top repeat-x !important;
    padding:10px 18px 10px 25px;
    text-transform:capitalize;
}
#menu .ddsmoothmenu li li:first-child a{
    background: none;
}
#menu .ddsmoothmenu li li a:after {
    width:100%;
    content:'';
    position:absolute;
    left:0;
    top:0;
}
#menu .ddsmoothmenu li li li li:last-child a, #menu .ddsmoothmenu li li li li:last-child a:after {
    border-top:none;
}
#menu .ddsmoothmenu li li:last-child a:after {
    width:100%;
    content:'';
    position:absolute;
    left:0;
    bottom:0;
}
* html #menu .ddsmoothmenu li li a {
    display:inline-block;
}
#menu .ddsmoothmenu li li a:link, #menu .ddsmoothmenu li li a:visited {
    color:#565555;
}
#menu .ddsmoothmenu li li a.selected, #menu .ddsmoothmenu li li a:hover {
    color:#000;
    border-radius:0;
    -moz-border-radius:0;
    -khtml-border-radius:0;
    -webkit-border-top-left-radius:0;
    -webkit-border-top-right-radius:0;
    -webkit-box-shadow:0;
    -moz-box-shadow:0;
    box-shadow:0;
}
#menu .ddsmoothmenu li ul {
    position:absolute;
    left:0;
    display:none;
    visibility:hidden;
}
#menu .ddsmoothmenu li ul li {
    display:list-item;
    float:none;
}
#menu .ddsmoothmenu li ul li ul {
    padding-top:0;
    top:0;
}
* html .ddsmoothmenu {
    height:1%;
}
.downarrowclass {
    position:absolute;
    width:8px;
    height:5px;
    overflow:hidden;
    top:14px;
    right:-10px;
    background:url(images/right.png) 0 0 no-repeat;
}
.rightarrowclass {
    display:block;
    width:8px;
    height:5px;
    position:absolute;
    margin-top:-3px;
    top:50%;
    right:8px;
    background:url(images/right.png) 0 0 no-repeat;
}
.ddshadow { /*shadow for NON CSS3 capable browsers*/
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
}
/*--------------------------------------------------------------------*/
/* Footer Styles */
/*--------------------------------------------------------------------*/
.footer {
    padding-top:12px;
}
.footer ul.footer_menu {
    list-style-type:none
}
.footer ul.footer_menu li {
    display:inline;
    margin-left:0;
    margin-right:16px;
}
.footer ul.footer_menu li a {
    text-decoration:none;
    color:#918940;
}
.footer .copyright {
    color:#918940;
    text-align:right;
}
.footer .copyright a {
    color:#918940;
}
/*--------------------------------------------------------------------*/
/* Pages Style */
/*--------------------------------------------------------------------*/
.banner{
    margin-top: 10px;
}
.banner img {
    width:100%;
    height: 158px;
}
.breadcrums {
    background:#e9e9e9;
    border-bottom:1px solid #bcbcbc;
    padding-top:5px;
    padding-bottom:5px;
    color:#8e8e8e;
    margin-top:5px;
    padding-left:14px;
    margin-bottom:20px;
    text-shadow:0 1px 0 #fff;
}
.breadcrums a {
    color:#8e8e8e;
    text-decoration:none;
    margin-right:5px;
}
.content_wrap {
    padding-top:20px;
    padding-left:14px;
    padding-right:5px;
    overflow:hidden;
}
.content_wrap img {
    max-width:100%;
}
.content_wrap .post {
    margin-bottom:60px;
}
.content_wrap .post .tag {
    margin-bottom: 15px;
}
.content_wrap .post .post_date {
    background:#242424;
    width:70px;
    height:70px;
    color:#fff;
    text-align:center;
    float:left;
    margin-right:10px;
}
.content_wrap .post .post_date span.month {
    font-size:22px;
    clear:both;
    display:block;
    background:url(images/date-border.png) bottom center no-repeat;
}
.content_wrap .post .post_date span.date {
    font-size:22px;
}
.content_wrap .post .post_data {
    background:#e9e9e9;
    overflow:hidden;
}
.content_wrap .post .post_title {
    font-size:22px;
    margin-bottom:10px;
    font-weight:normal;
}
.content_wrap .post .post_title a {
    color:#000;
}
.content_wrap .post .p_meta {
    list-style-type:none;
    margin-bottom:0;
}
.content_wrap .post .p_meta .posted_by {
    background:url(images/admin.png) left no-repeat;
}
.content_wrap .post .p_meta .post_comment {
    background:url(images/comment.png) left no-repeat;
}
.content_wrap .post .p_meta .post_category {
    background:url(images/category.png) left no-repeat;
}
.content_wrap .post .p_meta li {
    display:inline;
    margin-left:0;
    color:#816666;
    padding-left:17px;
    margin-right:10px;
}
.content_wrap .post .p_meta li a {
    color:#6e926f;
}
.content_wrap .post .post_content {
    margin-top:16px;
}
.content_wrap .post .post_content .postimg {
    margin-bottom:20px;
    width:100%;
}
.content_wrap .post .read_more {
    display:block;
    width:121px;
    height:34px;
    background:url(images/readmore.png) no-repeat;
}
.content_wrap .post .read_more:hover {
    opacity:0.8;
    filter: alpha(opacity = 80);
}
#nav-single {
    overflow:hidden;
    margin-bottom:10px;
}
.nav-previous {
    float: left;
    width: 50%;
}
.nav-next {
    float: right;
    text-align: right;
    width: 50%;
}
/*--------------------------------------------------------------------*/
/* Sidebar Styles */
/*--------------------------------------------------------------------*/
.sidebar_wrap {
    padding-top:20px;
    padding-left:14px;
    padding-right:14px;
}
.sidebar_wrap .sidebar {
    border-bottom:1px solid #e0dfdf;
    margin-bottom:24px;
    padding-bottom:20px;
    color:#333;
}
.sidebar_wrap .sidebar:last-child {
    border-bottom:none;
}
.sidebar_wrap .sidebar ul {
    list-style-type:none;
}
.sidebar_wrap .sidebar h4 {
    color:#3e9ecf;
}
.sidebar_wrap .sidebar ul li {
    margin-left:5px;
}
.sidebar_wrap .sidebar ul li a {
    color:#333;
}
.sidebar_wrap .sidebar ul li.cat-item {
    display:inline;
}
.sidebar_wrap .sidebar ul li.cat-item a {
    background:#fff;
    padding:0 5px 3px 5px;
    margin-bottom:5px;
    display:inline-block;
    color:#333;
    -webkit-box-shadow: 0 2px 2px -2px #ccc;
    -moz-box-shadow: 0 2px 2px -2px #ccc;
    box-shadow: 0 2px 2px -2px #ccc;
}
.sidebar_wrap .sidebar #recentcomments li {
    background:url(images/recentcomment.png) left no-repeat;
    padding-left:20px;
    color:#333;
}
.sidebar_wrap .sidebar #recentcomments li a {
    color:#333;
}
/*-----------------------------------------------------*/
/* Searchform Style*/
/*-----------------------------------------------------*/
.searchform {
    background: url('images/searchbg.png') no-repeat;
    width: 255px;
    height: 36px;
    position: relative;
}
.searchform #search {
    position: absolute;
    top: 5px;
    left:48px;
    height: 22px;
    width: 180px;
    background: transparent;
    border: none;
    color: #676767;
}
.searchform #searchsubmit {
    background: url('images/search.png') no-repeat;
    width: 17px;
    height: 17px;
    border: none;
    position: absolute;
    top: 10px;
    left: 15px;
}
/*-----------------------------------------------------*/
/* Contact Page Style*/
/*-----------------------------------------------------*/
#contactForm input[type="text"] {
    border:1px solid #e4e4e4;
    width:520px;
    height:32px;
    padding-left:5px;
}
#contactForm td {
    padding-bottom:18px;
    vertical-align:middle;
}
#contactForm td.message {
    vertical-align:top;
}
#contactForm textarea {
    border:1px solid #e4e4e4;
    width:520px;
    height:160px;
    padding-left:5px;
    padding-top:5px;
}
#contactForm label.error {
    color:red;
}
#contactForm .label {
    padding-right:10px;
    color:#323231;
    font-size:14px;
}
#contactForm .submit {
    background:#252525;
    border:none;
    padding:5px 20px 5px 20px;
    color:#fff;
    text-transform:uppercase;
    font-size:18px;
    font-family:Tw Cen MT;
}
#contactForm .submit:hover {
    opacity:0.8;
    filter: alpha(opacity = 80);
}
/*-----------------------------------------------------*/
/* Commentlist Style*/
/*-----------------------------------------------------*/
#commentsbox h3 {
    color:#000408;
    font-size:25px;
}
ol.commentlist {
    margin:0px 0 0;
    clear:both;
    overflow:hidden;
    list-style:none;
}
.post-info {
    color: #1e678d;
    font-size:16px;
    border-bottom:1px solid #ebebeb;
    margin-bottom:10px;
    padding-bottom:5px;
}
ol.commentlist li.comment {
    margin:5px 0;
    line-height:18px;
    margin-bottom:15px;
    overflow: hidden;
}
ol.commentlist li.comment .comment-body {
    padding:18px;
    position:relative;
    background:#fff;
    border:1px solid #e4e4e4;
    margin-top:30px;
    margin-left:99px;
}
ol.commentlist li.comment .comment-author {
}
ol.commentlist li.comment .comment-author a:link, ol.commentlist li.comment .comment-author a:visited {
    color:#000;
    font-weight:bold;
    text-decoration:none !important;
}
ol.commentlist li.comment .comment-author .fn {
    color:#444444;
    font-weight:bold;
}
ol.commentlist li.comment .comment-author a.url {
    color:#444444;
}
cite.fn {
    color:#000;
    font-style:normal;
}
ol.commentlist li.comment .comment-author .avatar {
    position:absolute;
    left:-99px;
    top:-30px;
    float:left;
    margin-right:10px;
    margin-bottom:10px;
    width:59px;
    height:52px;
    padding:5px;
    padding-right:12px;
    background:url(images/avtarframe.png) no-repeat;
}
ol.commentlist li.comment .comment-meta {
}
ol.commentlist li.comment .comment-meta .commentmetadata {
    color:#000;
    clear:both;
}
ol.commentlist li.comment .comment-meta a {
    color:#8d8d8d;
    text-decoration:none !important;
}
ol.commentlist li.comment p {
    line-height:22px;
    margin-top:5px;
    color:#666;
}
ol.commentlist li.comment .reply {
    position:absolute;
    top:0;
    right:0;
    text-align:center;
    margin:0;
    padding:0;
}
ol.commentlist li.comment .reply a {
    color: #fff;
    font-size:11px;
    display:block;
    background:url(images/reply.png) no-repeat;
    width:50px;
    height:25px;
}
ol.commentlist li.odd {
}
ol.commentlist li.even {
}
ol.commentlist li.comment ul.children {
    list-style:none;
    margin:1em 0 0;
    text-indent:0;
}
ol.commentlist li.comment ul.children li.depth-2 {
    margin:0 0 0px 50px;
}
ol.commentlist li.comment ul.children li.depth-3 {
    margin:0 0 0px 50px;
}
ol.commentlist li.comment ul.children li.depth-4 {
    margin:0 0 0px 50px;
}
ol.commentlist li.comment ul.children li.depth-5 {
    margin:0 0 0px 50px;
}
.comment-nav {
    padding:5px;
    height:20px;
}
.comment-nav a:link, .comment-nav a:visited {
    color:#f96e02;
}
#respond {
    padding:0px 0px;
    margin:10px 0px;
}
#respond h3 {
    font-size:14px;
    color:#000;
    font-weight:bold;
    padding:10px 10px;
}
#commentform {
    margin-bottom:50px;
}
#commentform p {
    color:#444;
}
#commentform a {
    color:#0454A8;
    margin-top:15px;
    margin-bottom:0;
}
#respond label {
    margin-right:15px;
    color:#585656;
}
#respond .required {
}
#respond label small {
    font-size:10px;
}
#respond input[type="text"] {
    width:450px;
    height:32px;
    margin-bottom:20px;
    padding-left:5px;
    border:1px solid #e3e3e3;
    color:#585656;
}
#respond textarea {
    width:450px;
    padding-left:5px;
    border:1px solid #e3e3e3;
    color:#585656;
    margin-bottom:10px;
}
#respond #commentSubmit {
    background:#252525;
    border:none;
    padding:5px 20px 5px 20px;
    color:#fff;
    text-transform:uppercase;
    font-size:18px;
    font-family:Tw Cen MT;
}
#respond #commentSubmit:hover {
    opacity:0.8;
    filter: alpha(opacity = 80);
}
/*-----------------------------------------------------*/
/* Gallery Page Style*/
/*-----------------------------------------------------*/
.gallery .thumbnails {
    list-style-type:none;
    margin-left:-15px;
    padding-left:10px;
    width:940px;
}
.gallery .thumbnails li {
    display:inline-block;
    margin-bottom:45px;
    margin-left:0;
    margin-right:15px;
    position:relative;
}
.gallery .thumbnails li img {
    background:url(images/gallerybg.png) no-repeat;
    padding:12px 20px 12px 30px;
    width:163px;
    height:141px;
}
.gallery ul.thumbnails li span.fade {
    background:url(images/fade.png) no-repeat;
    position:absolute;
    top:12px;
    left:30px;
    display:block;
    opacity:0;
    width:277px;
    height:193px;
}
/*--------------------------------------------------------------------*/
/* Social Logos */
/*--------------------------------------------------------------------*/
.social_logos {
    list-style-type:none;
}
.social_logos li {
    display:inline;
    margin-left:0;
    margin-right: 2px;
}
.social_logos li a {
    display:inline-block;
    opacity:0.5;
}
.social_logos li a:hover{
    opacity:1;
}
.social_logos li a.facebook {
    background: url('images/sprite.png') no-repeat 0 0;
    width: 24px;
    height: 25px;
}
.social_logos li a.twitter {
    background: url('images/sprite.png') no-repeat -33px 0;
    width: 24px;
    height: 25px;
}
.social_logos li a.rss {
    background: url('images/sprite.png') no-repeat -65px 0;
    width: 24px;
    height: 25px;
}
.social_logos li a.youtube {
    background: url('images/sprite.png') no-repeat -97px 0;
    width: 24px;
    height: 25px;
}
.social_logos li a.linkedin {
    background: url('images/sprite.png') no-repeat -129px 0;
    width: 24px;
    height: 25px;
}
.social {
    list-style-type:none;
}
.social li {
    display:inline;
    margin-left:0;
    ;
}
.social li a {
    display:inline-block;
}
.social li.facebook a {
    background: url('images/social.png') no-repeat -237px -12px;
    width: 24px;
    height: 24px;
}
.social li.flickr a {
    background: url('images/social.png') no-repeat -205px -12px;
    width: 23px;
    height: 24px;
}
.social li.digg a {
    background: url('images/social.png') no-repeat -269px -12px;
    width: 24px;
    height: 24px;
}
.social li.google a {
    background: url('images/social.png') no-repeat -170px -12px;
    width: 24px;
    height: 23px;
}
.social li.delicious a {
    background: url('images/social.png') no-repeat -139px -12px;
    width: 24px;
    height: 24px;
}
.social li.linkedin a {
    background: url('images/social.png') no-repeat -107px -11px;
    width: 24px;
    height: 24px;
}
.social li.myspace a {
    background: url('images/social.png') no-repeat -74px -11px;
    width: 24px;
    height: 24px;
}
.social li.rss a {
    background: url('images/social.png') no-repeat -41px -11px;
    width: 23px;
    height: 24px;
}
/*--------------------------------------------------------------------*/
/* Tipsy */
/*--------------------------------------------------------------------*/
.tipsy {
    margin-bottom:5px;
    padding: 5px;
    font-size: 10px;
    opacity: 0.8;
    filter: alpha(opacity=80);
    background-repeat: no-repeat;
    background-image: url(images/tipsy.gif);
}
.tipsy-inner {
    padding: 5px 8px 4px 8px;
    background-color: black;
    color: white;
    max-width: 200px;
    text-align: center;
}
.tipsy-inner {
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}
.tipsy-north {
    background-position: top center;
}
.socials li {
    float: left;
    margin-right: 10px;
}
/*--------------------------------------------------------------------*/
/* Special Columns */
/*--------------------------------------------------------------------*/
pre {
    margin: 10px 0px 40px 0px;
    padding: 0 10px 0px 10px;
    display: block;
    clear: both;
    background: #cccccc url('images/codebg.jpg');
    line-height: 20px;
    font-size: 11px;
    border: 1px solid #cfcfcf;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}
.one_half, .one_third, .two_third, .three_fourth, .one_fourth {
    float:left;
    position:relative;
}
.one_third {
    width:30%;
    margin-right:5%;
}
.one_half {
    width:48%;
    margin-right:4%;
}
.one_third {
    width:30%;
    margin-right:5%;
}
.two_third {
    width:65%;
    margin-right:5%;
}
.one_fourth {
    width:22%;
    margin-right:4%;
}
.three_fourth {
    width:74%;
    margin-right:4%;
}
.col2, .col3, .col4 {
    float:left;
    position:relative;
}
.col3 {
    width:280px;
    margin-right:60px;
}
.col2 {
    width:460px;
    margin-right:40px;
}
.col4 {
    width:210px;
    margin-right:40px;
}
.last {
    margin-right:0 !important;
}
/*--------------------------------------------------------------------*/
/* Wordpress Core Classes */
/*--------------------------------------------------------------------*/
blockquote {
    padding-left:60px;
    min-height:40px;
    background:url(images/blockqoute.png) no-repeat;
}
blockquote {
    margin-top:40px;
    margin-bottom:40px;
}
blockquote img {
    float: left;
    margin-right:15px;
}
.gallery-caption {
    color: #666;
    font-family: Georgia, serif;
    font-size: 12px;
}
.alignnone {
    margin: 5px 20px 20px 0;
    display: block;
    clear:both;
}
.aligncenter, div.aligncenter {
    display:block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    background:#fff;
    border:1px solid #f0f0f0;
    max-width:96%;
    text-align:center;
    padding:8px 3px 10px;
}
.wp-caption.alignright {
    margin:5px 0 20px 20px;
}
.wp-caption img {
    border:0 none;
    height:auto;
    max-width:98.5%;
    width:auto;
    margin:0;
    padding:0;
}
.wp-caption p.wp-caption-text {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:8px 4px 5px;
}
/*Calendar style*/
#wp-calendar caption {
    text-align: center;
    background: #4b5d67;
    color: #fff;
    border-bottom: 2px solid #e6eef7;
}
#wp-calendar {
    color: #555;
    width: 95%;
    text-align: center;
    color:fff;
}
#wp-calendar a {
    color: #000;
}
.footer #wp-calendar a {
    color:#fff;
}
#wp-calendar caption, #wp-calendar td, #wp-calendar th {
    text-align: center;
}
#wp-calendar caption {
    font-size: 11px;
    font-weight: 500;
    padding: 5px 0 3px 0;
    text-transform: uppercase;
}
#wp-calendar th {
    background: #f4f4f4;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
}
.footer #wp-calendar th {
    background: #e0e0e0;
}
#wp-calendar tfoot td {
    background: #f4f4f4;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    color:#fff;
}
.footer #wp-calendar tbody td {
    color:#fff;
}
#wp-calendar tbody td {
    color:c0c0c0;
}
#calendar_wrap {
    display: block;
    margin-bottom: 30px;
}
/*--------------------------------------------------------------------*/
/* Auto Flexible Layout */
/*--------------------------------------------------------------------*/
@media only screen and (max-width: 1000px) {
    #gallery a img {
        width:940px;
        height: 350px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 959px) {
    .gallery .thumbnails {
        width:748px;
    }
    #contactForm textarea, #contactForm input[type="text"], #respond input[type="text"], #respond textarea {
        width:380px;
    }
    #slides iframe,
    #slides,
    #slides .slide img,
    #slides .slide{
        width:748px;
        height:300px;
    }
    .banner img {
        height: 138px;
    }
    .searchform {
        background: url('images/searchbg1.png') no-repeat;
        width: 188px;
    }
    .searchform #search {
        height: 22px;
        width: 120px;
        background: transparent;
    }
}
@media only screen and (max-width: 767px) {
    .gallery .thumbnails {
        width:300px;
    }
    #contactForm textarea, #contactForm input[type="text"], #respond input[type="text"], #respond textarea {
        width:280px;
    }
    #slides iframe,
    #slides,
    #slides .slide img,
    #slides .slide{
        width:747px;
        height:300px;
    }
    .banner img {
        height: 100px;
    }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .gallery .thumbnails {
        width:420px;
    }
    #slides iframe,
    #slides,
    #slides .slide img,
    #slides .slide{
        width:420px;
        height:250px;
    }
    #contactForm textarea, #contactForm input[type="text"], #respond input[type="text"], #respond textarea {
        width:280px;
    }
    .banner img {
        height: 70px;
    }
    .logo{
        text-align:center;
    }
    #menu .ddsmoothmenu {
        text-align:center; 
    }
}
@media only screen and (min-width: 300px) and (max-width: 480px) {
    #slides,
    #slides iframe,
    #slides .slide img,
    #slides .slide{
        width:300px;
        height:200px;
    }
    #contactForm textarea, #contactForm input[type="text"], #respond input[type="text"], #respond textarea {
        width:180px;
    }
    .banner img {
        height: 50px;
    }
    .logo{
        text-align:center;
    }
    #menu .ddsmoothmenu {
        text-align:center; 
    }
}
