/*
Template Name: Ambleside HTML
Template URI: http://ambleside-html.cmsmasters.net/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: The Ambleside Responsive HTML5 Site Template.
Version: 1.0
License: 
License URI: 
Tags: light, white, one-column, two-columns, left-sidebar, right-sidebar, custom-colors, post-formats, responsive, html5, css3
*/

html, body, #page {height:100%;}

body {
	background:url(../images/bg-body.png) repeat-x 0 0;
	text-align:left;
	margin:0;
	padding:0;
}

header, 
footer, 
article, 
section, 
nav, 
figure, 
address, 
hgroup, 
abbr, 
figcaption, 
aside {
	margin:0;
	padding:0;
	display:block;
}

abbr {border:none;}

address {font-style:normal;}

a {
	outline:none;
	text-decoration:none;
	cursor:pointer;
    -webkit-transition:color .2s ease-out;
    -moz-transition:color .2s ease-out;
    -ms-transition:color .2s ease-out;
    -o-transition:color .2s ease-out;
    transition:color .2s ease-out;
}

p {
	margin:0;
	padding:0 0 18px;
}

table {
	padding:0;
	margin:0;
	border-collapse:collapse;
}

td, 
th, 
tr {
	padding:0;
	margin:0;
}

ol, 
ul, 
li, 
dl, 
dt, 
dd {
	padding:0;
	margin:0;
}

ol, 
ul {margin:0 0 18px;}

ol {list-style-position:inside;}

ol li {line-height:24px;}

ul li {
	background:url(../images/arrow_list.png) no-repeat 0 9px;
	list-style:none;
	line-height:24px;
	padding-left:18px;
}

.social_list li, 
.footer_nav li, 
div.jp-interface li, 
.tabs li, 
#navigation li, 
#responsive_navigation li, 
div.jp-playlist li, 
.tour li, 
ul.cmsms_slides_nav li, 
.commentlist li, 
.sitemap li, 
.cms_category li, 
.cms_archive li, 
.widget_custom_advertising_entries li, 
.responsiveSlider > li, 
.tp-simpleresponsive > ul > li {
	background:none;
	padding-left:0;
}

img {
	padding:0;
	border:0;
}

a img {
	border:0;
	display:block;
}

.fullwidth {
	display:block;
	min-width:100%;
	max-width:100%;
}

img.fullwidth {
	image-rendering:optimizeQuality;
	-ms-interpolation-mode:bicubic;
}

.preloader {
	background:url(../images/loader.gif) 50% 50% no-repeat;
	display:block;
	width:100%;
	height:0;
	padding-bottom:56.25%;
	position:relative;
}

.resizable_block {
	width:100%;
	height:0;
	padding-bottom:56.25%;
	position:relative;
	overflow:hidden;
}

.preloader .fullwidth, 
.portfolio_container .preloader .fullwidth, 
.resize .preloader .fullwidth, 
.resizable_block .fullwidth {
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
}

div	{
	text-align:left;
	margin:0;
	padding:0;
}

blockquote, 
code, 
input, 
textarea {
	padding:0;
	margin:0;
}

object, 
video, 
audio, 
embed, 
canvas {display:block;}

form {
	border:none;
	margin:0;
	padding:0;
}

fieldset {
	border:0;
	margin:0;
	padding:0;
}

label {
	display:block;
	margin:0;
	padding:0;
}

input {
	border:0;
	background:none;
	outline:none;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

textarea {
	background:none;
	border:0;
	min-height:260px;
	overflow:hidden;
	outline:none;
	resize:none;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
	margin:0 0 18px;
	padding:0;
}

.cl {clear:both;}

.ovh {overflow:hidden;}

.fl {float:left;}

.fr {float:right;}

#page {
	height:auto;
	min-height:100%;
	margin:30px auto 0;
	position:relative;
}

.container {padding-bottom:172px;}


/* ---------- Header ---------- */

#header {
	position:relative;
	width:40%;
}
 
#header:before {
    content:"";
    position:absolute;
    z-index:-2;
}
 
#header:before {
	height:550px;
	top:10px;
	left:0;
	right:0;
	-webkit-box-shadow:0 0 30px rgba(0, 0, 0, .25);
	-moz-box-shadow:0 0 30px rgba(0, 0, 0, .25);
	box-shadow:0 0 30px rgba(0, 0, 0, .25);
	-webkit-border-radius:10px / 100px 100px 275px 275px;
	-moz-border-radius:10px / 100px 100px 275px 275px;
	border-radius:10px / 100px 100px 275px 275px;
}

#header {
	width:1000px;
	position:relative;
	margin:0 auto;
}

.header_inner {
	background:url(../images/bg-footer.jpg) repeat 0 0;
	height:118px;
	position:relative;
}

.custom_html {
	position: absolute;
	top: 57px;
	right: 31px;
}

.logo {
	display: block;
	width: 236px;
	position: absolute;
	left: 11px;
	top: 15px;
	height: 46px;
}

.navi_wrap .social_list {display:none;}

.social_list {
	position:absolute;
	top:52px;
	right:285px;
}

.social_list li {
	list-style:none;
	float:left;
	margin:0;
	padding-right:7px;
}


/* ---------- Navigation ---------- */

.navi_right, .navi_left {
	display:table-cell;
	border-radius:5px 5px 0 0;
	-moz-border-radius:5px 5px 0 0;
	-webkit-border-radius:5px 5px 0 0;
}

.navi_left {
	background:url(../images/navi_grad.png) repeat-x 0 0;
	width:6%;
}

.navi_right {
	background:url(../images/navi_grad.png) repeat-x 0 0;
	width:100%;
}

.navi_wrap {
	width:100%;
	display:table;
	border-bottom:6px solid;
}

.navi_wrap nav {display:table-cell;}

.navi_right_inner {
	background:url(../images/navi-sep.png) no-repeat 0 100%;
	height:40px;
}

.resp_navigation{display:none;}

#navigation, 
#navigation ul {
	margin:0;
	padding:0;
	list-style:none;
}

#navigation:after {clear:both;}

#navigation {
	background:url(../images/navi-sep.png) no-repeat right bottom;
	display:table-cell;
	z-index:202;
	zoom:1;
}

#navigation > li.current_page_item > a, 
#navigation > li > a:hover, 
#navigation > li:hover > a {border:none;}

#navigation li {
	line-height:20px;
	padding-left:0;
	margin:0 0 0 30px;
	position:relative;
	z-index:203;
}

#navigation a {z-index:204;}

#navigation > li > a {
	background:url(../images/navi-sep.png) no-repeat left bottom;
	border-bottom:2px solid #1c353d;
	color:#ffffff;
	text-align:center;
	font-weight:600;
	display:block;
	min-width:130px;
	border-radius:5px 5px 0 0;
	-moz-border-radius:5px 5px 0 0;
	-webkit-border-radius:5px 5px 0 0;
	-webkit-transition:border .2s ease-in-out;
	-moz-transition:border .2s ease-in-out;
	-ms-transition:border .2s ease-in-out;
	-o-transition:border .2s ease-in-out;
	transition:border .2s ease-in-out;
}

#navigation > li {
	display:table-cell;
	margin:0;
	vertical-align:bottom;
}

#navigation > li > a > span {
	background:url(../images/navi_grad.png) repeat-x 0 0;
	display:block;
	padding:14px 0 8px;
}

#navigation ul {
	background-color:#ffffff;
	padding:5px 0;
	margin:20px 0 0 0;
	opacity:0;
	visibility:hidden;
	position:absolute;
	z-index:9998;
	-webkit-box-shadow:0 0 1px rgba(0, 0, 0, .1);
	-moz-box-shadow:0 0 1px rgba(0, 0, 0, .1);
	box-shadow:0 0 1px rgba(0, 0, 0, .1);
	-webkit-transition:opacity .2s ease-in-out, margin .2s ease-in-out;
	-moz-transition:opacity .2s ease-in-out, margin .2s ease-in-out;
	-ms-transition:opacity .2s ease-in-out, margin .2s ease-in-out;
	-o-transition:opacity .2s ease-in-out, margin .2s ease-in-out;
	transition:opacity .2s ease-in-out, margin .2s ease-in-out;
}

#navigation > li > ul {
	top:44px;
	border-radius:0 0 5px 5px;
	-moz-border-radius:0 0 5px 5px;
	-webkit-border-radius:0 0 5px 5px;
	-webkit-box-shadow:0 5px 5px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:0 5px 5px rgba(0, 0, 0, 0.2);
	box-shadow:0 5px 5px rgba(0, 0, 0, 0.2);
}

#navigation li:hover > ul {
	opacity:1;
	visibility:visible;
	margin:0;
}

#navigation ul ul {
	margin:0 0 0 20px;
	left:174px;
	top:-5px;
	z-index:9999;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-webkit-box-shadow:0 0 5px rgba(0, 0, 0, .2);
	-moz-box-shadow:0 0 5px rgba(0, 0, 0, .2);
	box-shadow:0 0 5px rgba(0, 0, 0, .2);
}

#navigation ul li {
	display:block;
	padding:0 10px;
	margin:0;
	float:none;
}

#navigation ul li.drop > a span {
	background:url(../images/arrow_acc.png) no-repeat right 7px;
	padding-right:7px;
	display:block;
}

#navigation ul li:first-child > a {background-image:none;}

#navigation ul li a {
	background:url(../images/divider.png) repeat-x 0 0;
	font-size:13px;
	line-height:20px;
	display:block;
	width:145px;
	float:none;
	padding:10px 5px;
	margin-right:5px;
}


/* ---------- Top ---------- */

#top {
	padding-bottom:17px;
	overflow:hidden;
}

#slider {
	background:url(../images/loader.gif) no-repeat scroll 50% 50%;
	list-style:none;
	padding:0;
	margin:0;
	overflow:hidden;
	position:relative;
}

#top .cmsms_nav_wrap_wrap {bottom:-16px;}

/* ---------- Top Sidebar ---------- */

#top_sidebar {
	background:url(../images/divider.png) repeat-x 0 bottom;
	padding:40px 10px;
	margin:0 30px;
	overflow:hidden;
	position:relative;
}


/* ---------- Middle ---------- */

#middle {
	background-color:#ffffff;
	width:1000px;
	margin:0 auto;
	position:relative;
}

#middle_content {
	background-color:#ffffff;
	padding:40px 30px 20px;
	margin:0 auto;
	position:relative;
}

#slide_top {
	background: url(../images/top_slide.png) no-repeat 21px 24px;
    border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
    bottom: 10px;
    display: none;
    opacity: 0.5;
    position: fixed;
    right: 10px;
    z-index: 998;
    height:50px;
    width:50px;
	text-indent:-9999px;
	-webkit-transition:opacity .2s ease-in-out;
	-moz-transition:opacity .2s ease-in-out;
	-ms-transition:opacity .2s ease-in-out;
	-o-transition:opacity .2s ease-in-out;
	transition:opacity .2s ease-in-out;
}

#slide_top:hover {
	opacity:1;
}

#middle li p {line-height:20px;}

.image_border {
	background-color:#ffffff;
	padding:10px;
}

video {background-color:#000000;}

.cont_nav {
	background-color:#f7f7f7;
	border-bottom:1px solid #dedede;
	color:#353535;
	padding:10px 30px;
}

.headline {
	border-bottom:1px solid #e5e5e5;
	padding:22px 35px 25px;
}

.headline h2 {margin:6px 0 10px;}

.headline table h2 {margin:0;}

.headline img {margin:0 20px -10px 0;}

.headline table td {vertical-align:middle;}

.cms_home {
	background:url(../images/icon_home.png) no-repeat 0 2px;
	display:inline-block;
	padding:1px 8px;
	opacity:.8;
	-webkit-transition:opacity .2s ease-in-out;
	-moz-transition:opacity .2s ease-in-out;
	-ms-transition:opacity .2s ease-in-out;
	-o-transition:opacity .2s ease-in-out;
	transition:opacity .2s ease-in-out;
}

.cms_home:hover {opacity:1;}

.one_first {
	width:100%;
	padding-bottom:20px;
}

.one_half {
	width:48%;
	float:left;
	padding-bottom:20px;
	padding-right:4%;
}

.one_half.last {
	width:48%;
	float:right;
	padding-right:0;
}

.one_third {
	width:30.6%;
	float:left;
	padding-bottom:20px;
	padding-right:4%;
}

.one_third.last {
	width:30.6%;
	float:right;
	padding-right:0;
}

.two_third {
	width:65.2%;
	float:left;
	padding-bottom:20px;
	padding-right:4%;
}

.two_third.last {
	width:65.2%;
	float:right;
	padding-right:0;
}

.one_fourth {
	width:22%;
	float:left;
	padding-bottom:20px;
	padding-right:4%;
}

.one_fourth.last {
	width:22%;
	float:right;
	padding-right:0;
}

.three_fourth {
	width:74%;
	float:left;
	padding-bottom:20px;
	padding-right:4%;
}

.three_fourth.last {
	width:74%;
	float:right;
	padding-right:0;
}

.one_half+.one_half, 
.one_third+.two_third, 
.two_third+.one_third, 
.one_third+.one_third+.one_third, 
.one_fourth+.one_fourth+.one_half, 
.one_fourth+.one_half+.one_fourth, 
.one_half+.one_fourth+.one_fourth, 
.one_fourth+.three_fourth, 
.three_fourth+.one_fourth, 
.one_fourth+.one_fourth+.one_fourth+.one_fourth {
	float:right;
	padding-right:0;
}


/* ---------- Content ---------- */

.content_wrap {
	background:url(../images/content_sep.png) repeat-y 68% 0;
	padding-bottom:65px;
	margin:0 30px;
	position:relative;
	top:65px;
}

.content_wrap.sidebar_left {background-position:32% 0;}

.content_wrap.sidebar_left #content {
	float:right;
	padding:40px 0 40px 3.5%;
}

.content_wrap.sidebar_left #sidebar {padding:40px 3.5% 40px 0;}

.content_wrap.sidebar_left .sidebar_inner {
	left:auto;
	right:-1px;
}

#content {
	width:64.5%;
	float:left;
	padding:0 3.5% 70px 0;
	position:relative;
}

figure img {display:block;}

.sitemap li, 
.cms_archive li {
	list-style:none;
	line-height:30px;
	padding-left:0;
} 

.sitemap {margin-bottom:0;}

.sitemap ul, 
.cms_archive ul {margin-bottom:0;}

.sitemap > li {
	background:url(../images/divider.png) repeat-x 0 bottom;
	width:100%;
	padding-bottom:30px;
	margin-bottom:30px;
}

.sitemap > li:last-child {
	background:none;
	margin-bottom:0;
}

.sitemap > li > ul {
	overflow:hidden;
	position:relative;
	width:100%;
	margin-top:20px;
}

.sitemap > li > ul > li > ul {margin-top:15px;}

.sitemap > li > ul > li {
	float: left;
	width: 25%;
}

.sitemap > li > ul > li:nth-child(4n+1) {clear:both;}

.cms_category {margin-bottom:40px;}

.cms_archive li {
	width:25%;
	float:left;
	padding-bottom:30px;
}

.cms_archive li:nth-child(4n+1) {clear:both;}


/* ---------- Sidebar ---------- */

#sidebar {
	width:28.5%;
	padding:0 0 70px 3.5%;
	float:right;
	position:relative;
}

.sidebar_inner {
	border-left:3px solid;
	height:42px;
	position:absolute;
	left:-1px;
	top:-54px;
}

#sidebar .widget {
	background:url(../images/divider.png) repeat-x 0 bottom;
	padding-bottom:30px;
	overflow:hidden;
}

#sidebar .widgettitle {margin-bottom:43px;}

#sidebar > div:last-child .widget {background:none;}

#sidebar .widget_custom_flickr_entries, 
#sidebar .widget_custom_advertisement_entries {padding-bottom:5px;}

#sidebar.fl {float:left;} 

#sidebar .one_half, 
#sidebar .one_half.last, 
#sidebar .one_third, 
#sidebar .one_third.last, 
#sidebar .two_third, 
#sidebar .two_third.last, 
#sidebar .one_fourth, 
#sidebar .one_fourth.last, 
#sidebar .three_fourth, 
#sidebar .one_fourth.last {
	width:auto;
	float:none;
	padding-right:0;
}

#sidebar .one_half+.one_half, 
#sidebar .one_third+.two_third, 
#sidebar .two_third+.one_third, 
#sidebar .one_third+.one_third+.one_third, 
#sidebar .one_fourth+.one_fourth+.one_half, 
#sidebar .one_fourth+.one_half+.one_fourth, 
#sidebar .one_half+.one_fourth+.one_fourth, 
#sidebar .one_fourth+.three_fourth, 
#sidebar .three_fourth+.one_fourth, 
#sidebar .one_fourth+.one_fourth+.one_fourth+.one_fourth {float:none;}


/* ---------- Middle Sidebar ---------- */

.middle_sidebar {
	background:url(../images/divider.png) repeat-x 0 0;
	padding:30px 0 10px;
	margin:0 30px;
	position:relative;
	overflow:hidden;
}

.middle_sidebar .widgettitle {margin-bottom:30px;}


/* ---------- Shortcodes ---------- */

.alignleft {
	float:left;
	margin:0 20px 18px 0;
}

.alignright {
	float:right;
	margin:0 0 18px 20px;
}

.aligncenter {
	text-align:center;
	margin:0 auto;
}

.wp-caption {
	background-color:#ffffff;
	border:1px solid #c5c5c5;
	padding:5px;
}

.wp-caption-text {
	text-align:center;
	padding:5px 0 0;
}

.divider {
	background:url(../images/divider.png) repeat-x 0 0;
	height:1px;
	margin:18px 0 36px;
	clear:both;
}

.divider a {
	font-size:13px;
	float:right;
	margin-top:-20px;
}

.table {
	width:100%;
	margin-bottom:20px;
}

.table thead th:first-child {
	border-radius:5px 0 0 0;
	-moz-border-radius:5px 0 0 0;
	-webkit-border-radius:5px 0 0 0;
}

.table thead th:last-child {
	border-radius:0 5px 0 0;
	-moz-border-radius:0 5px 0 0;
	-webkit-border-radius:0 5px 0 0;
}

.table td {padding:15px 0 15px 20px;}

.table th {
	color:#ffffff;
	text-align:left;
	padding:15px 0 15px 20px;
} 

.table tfoot td {padding:10px 0 10px 20px;}

.table tbody tr:first-child td {background-image:none;}

.table td {
	background:#ffffff url(../images/divider.png) repeat-x 0 0;
}

.tooltip {
	border:1px solid #dedede;
	border:1px solid rgba(255, 255, 255, .3);
	background:#010101;
	background:rgba(0, 0, 0, .7);
	color:#fefefe;
	font-size:12px;
	display:none;
	padding:3px 10px;
	margin:0 0 20px;
	z-index:999;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

span.dropcap {
	float:left;
    font-size:48px;
	line-height:46px;
	font-weight:300;
	margin-top:3px;
	padding:0 23px 0 15px;
}

span.dropcap2 {
	color:#ffffff;
	font-size:32px;
	font-weight:300;
	line-height:56px;
    text-align:center;
    width:56px;
	height:56px;
    float:left;
	margin-right:10px;
	border-radius:28px;
	-moz-border-radius:28px;
	-webkit-border-radius:28px;
}

q, 
blockquote {
	padding:0 0 20px 37px;
	margin:0;
	position:relative;
	vertical-align:baseline;
}

q:before, 
blockquote:before {
	font-size:28px;
	content:'\201C';
	display:block;
    padding:0;
	position:absolute;
	left:0;
	top:0;
}

q:after, 
blockquote:after {clear:both;}

blockquote p, 
q p {padding-bottom:0;}

code {
	border-top:3px solid;
	background:#fdfdfd;
	display:block;
	width:96%;
	padding:19px 20px 18px;
	position:relative;
}

.cmsms_plus {
	display:block;
	width:25px;
	height:25px;
	position:absolute;
	top:50%;
	left:0;
	margin-top:-13px;
	border-radius:12.5px;
	-moz-border-radius:12.5px;
	-webkit-border-radius:12.5px;
	background:#868686;
	background:linear-gradient(#868686, #505050);
	background:-moz-linear-gradient(#868686, #505050);
	background:-webkit-gradient(linear, left top, left bottom, from(#868686), to(#505050));
	background:-o-linear-gradient(#868686, #505050);
	background: -ms-linear-gradient(top, #868686 0%,#505050 100%);
}

.togg .tog:hover .cmsms_plus, 
.togg .tog.current .cmsms_plus {
	background:#505050;
	background:linear-gradient(#505050, #868686);
	background:-moz-linear-gradient(#505050, #868686);
	background:-webkit-gradient(linear, left top, left bottom, from(#505050), to(#868686));
	background:-o-linear-gradient(#505050, #868686);
	background: -ms-linear-gradient(top, #505050 0%,#868686 100%);
}

.cmsms_plus .vert_line, 
.cmsms_plus .horiz_line {background-color:#ffffff;}

.cmsms_plus .vert_line {
	display:block;
	width:1px;
	height:9px;
	position:absolute;
	left:12px;
	top:8px;
	z-index:2;
}

.cmsms_plus .horiz_line {
	display:block;
	width:9px;
	height:1px;
	position:absolute;
	left:8px;
	top:12px;
}

.togg {
	overflow:hidden;
	position:relative;
}

.tog {font-size:14px;}

.togg .tog {
	line-height:40px;
	display:inline-block;
	padding:10px 0 10px 40px;
	margin:0;
	position:relative;
}

.tog.current .cmsms_plus .vert_line {display:none;}

.togg .tab_content {
	padding:5px 0 5px 40px;
	display:none;
}

.accordion {
	background:url(../images/divider.png) repeat-x 0 0;
	position:relative;
}

.accordion .acc {
	background:url(../images/divider.png) repeat-x 0 bottom;
	padding:5px 0;
}

.accordion .tog {
	display:block;
	padding:10px 13px 10px 13px;
	position:relative;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

.accordion .tog.current {
	background:#727272;
	background:linear-gradient(#727272, #434343);
	background:-moz-linear-gradient(#727272, #434343);
	background:-webkit-gradient(linear, left top, left bottom, from(#727272), to(#434343));
	background:-o-linear-gradient(#727272, #434343);
	background: -ms-linear-gradient(top, #727272 0%,#434343 100%);
	color:#ffffff;
}

.accordion .tog span {
	background:url(../images/arrow_acc.png) no-repeat right 6px;
	display:block;
}

.accordion .tog.current span {background-position:right -31px;}

.accordion .tab_content {
	display:none;
	padding:25px 0;
	overflow:hidden;
	position:relative;
}

.related_posts ul {
	list-style:none;
	overflow:hidden;
}

.related_posts ul li, 
.tabs li {
	line-height:20px;
	padding-left:0;
	display:block;
	float:left;
}

.related_posts_content .alignleft {
	display:table-cell;
	margin-bottom:0;
}

.related_posts .one_half {
	display:table;
	padding-bottom:30px;
}

.tab {
	margin-bottom:20px;
	overflow:hidden;
	position:relative;
}

.tabs li, 
.related_posts > ul > li {
	background:url(../images/tabs_sep.png) no-repeat 0 50%;
	padding:0 4px 0 5px;
	position:relative;
}

.tabs li:first-child, 
.related_posts > ul > li:first-child {
	background:none;
	padding-left:0;
}

.tabs li a, 
.related_posts > ul > li a {
	font-size:14px;
	font-weight:500;
	display:block;
	padding:11px 13px;
}
 
.tabs li a.current, 
.related_posts > ul > li a.current {
	color:#ffffff;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	background:#727272;
	background:linear-gradient(#727272, #434343);
	background:-moz-linear-gradient(#727272, #434343);
	background:-webkit-gradient(linear, left top, left bottom, from(#727272), to(#434343));
	background:-o-linear-gradient(#727272, #434343);
	background: -ms-linear-gradient(top, #727272 0%,#434343 100%);
}

.tab .tab_content, 
.related_posts_content {border-top:4px solid;}

.tab_content {width:100%;}

.related_posts_content, 
.tabs_tab, 
.tabs {
	overflow:hidden;
	position:relative;
}

.related_posts_content {
	font-size:15px;
	padding-top:30px;
}

.related_posts_content p {
	width:100%;
	display:table-cell;
	vertical-align:middle;
	padding:0;
}

.tabs_tab {
	background-color:#ffffff;
	display:none;
	padding:30px 0;
}

.google_map {margin-bottom:18px;}

.tour_content {
	overflow:hidden;
	position:relative;
	margin-bottom:20px;
}

.tour {
	border-top:1px solid #f5f5f5;
	width:25%;
	float:left;
	padding:30px 3% 0 0;
	margin:3px 0 0;
}

.tour li {
	background:url(../images/divider.png) repeat-x 0 0;
	position:relative;
	padding:5px 0 4px;
}

.tour li:first-child {
	background:none;
	padding-top:4px;
}

.tour li a {
	line-height:20px;
	display:block;
	position:relative;
	padding:11px 10px 11px 14px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

.tour li.current a {
	color:#ffffff;
	background:#727272;
	background:linear-gradient(#727272, #434343);
	background:-moz-linear-gradient(#727272, #434343);
	background:-webkit-gradient(linear, left top, left bottom, from(#727272), to(#434343));
	background:-o-linear-gradient(#727272, #434343);
	background: -ms-linear-gradient(top, #727272 0%,#434343 100%);
}

.tour li a span {
	background:url(../images/arrow_acc.png) no-repeat right 7px;
	display:block;
	padding-right:10px;
}

.tour li.current a span {
	background-position:right -30px;
}

.tour_box {
	border-top:4px solid;
	width:72%;
	float:right;
	display:none;
	overflow:hidden;
	padding:30px 0 0;
	position:relative;
}


/* ---------- Buttons ---------- */

.button,
.button_medium,
.button_large, 
.comment-reply-link {
	display:inline-block;
	margin-bottom:5px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-webkit-box-shadow:1px 1px 0 rgba(0, 0, 0, .3);
	-moz-box-shadow:1px 1px 0 rgba(0, 0, 0, .3);
	box-shadow:1px 1px 0 rgba(0, 0, 0, .3);
}

.button > span, 
.button_medium > span, 
.button_large > span, 
.comment-reply-link > span {
	color:#ffffff;
	display:block;
	line-height:20px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
    -webkit-transition:background .2s ease-out;
    -moz-transition:background .2s ease-out;
    -ms-transition:background .2s ease-out;
    -o-transition:background .2s ease-out;
    transition:background .2s ease-out;
}

.button > span, 
.comment-reply-link > span {
	background:url(../images/button_gradient.png) repeat-x 0 0;
	font-size:14px;
	padding:6px 14px;
}

.comment-reply-link > span {
	font-size:12px;
	padding:4px 14px;
}

.button_medium > span {
	background:url(../images/button_medium.png) repeat-x 0 0;
	font-size:18px;
	font-weight:300;
	padding:8px 18px;
}

.button_large > span {
	background:url(../images/button_large.png) repeat-x 0 0;
	font-size:24px;
	font-weight:300;
	padding:11px 18px;
}

.button:hover > span, 
.comment-reply-link:hover > span, 
.related_posts ul li a.current span {background-position:0 -32px;}

.button_medium:hover span {background-position:0 -36px;}

.button_large:hover span {background-position:0 -42px;}

.box {margin:0 0 20px;}

.box table {width:100%;}

.box table td p {padding:0 20px 0 0;}

.box table td {
	text-align:left;
	padding:25px 0;
}

.box table td:first-child {width:80px;}

.error_box {
	background:#f8d9cf;
	background:rgba(255, 132, 89, .25);
	border:1px solid #fac0ad;
	border:1px solid rgba(255, 132, 89, .4);
}

.warning_box {
	background:#f5e5b8;
	background:rgba(244, 177, 0, .25);
	border:1px solid #ffd35a;
	border:1px solid rgba(244, 177, 0, .4);
}

.success_box {
	background:#d9eecb;
	background:rgba(129, 211, 72, .25);
	border:1px solid #b3e68b;
	border:1px solid rgba(129, 211, 72, .4);
}

.notice_box {
	background:#cde0f1;
	background:rgba(90, 166, 234, .25);
	border:1px solid #b3d6f7;
	border:1px solid rgba(90, 166, 234, .4);
}

.download_box {
	background:#c5f1d1;
	background:rgba(67, 242, 112, .25);
	border:1px solid #9bd5a9;
	border:1px solid rgba(67, 242, 112, .4);
}

.box.error_box table td:first-child {background:url(../images/error.png) center center no-repeat;}

.box.success_box table td:first-child {background:url(../images/success.png) center center no-repeat;}

.box.notice_box table td:first-child {background:url(../images/notice.png) center center no-repeat;}

.box.warning_box table td:first-child {background:url(../images/warning.png) center center no-repeat;}

.box.download_box table td:first-child {background:url(../images/download.png) center center no-repeat;}

.box.css_box {
	border:1px solid #ececec;
	border:1px solid rgba(0, 0, 0, .1);
	padding:20px;
}

.box.css_box p {padding:0;}

.error {
	text-align:center;
	margin-bottom:50px;
}

.error .search_line {
	width:30%;
	margin:60px auto 30px;
	overflow:hidden;
}

.error h1 {
	font-size:360px;
	line-height:1em;
	margin-bottom:10px;
}

.error h2 {
	font-size:24px;
	font-style:normal;
}


/* ---------- Widgets ---------- */

.widget_custom_contact_form_entries .loading {margin-right:20px;}

.widget_custom_contact_form_entries textarea {min-height:130px;}

.widget_custom_contact_form_entries .cmsms_input {width:95%;}

.widget_custom_popular_portfolio_entries figure {margin-bottom:20px;}

.widget_custom_popular_portfolio_entries h3 {margin-bottom:15px;}

.widget_custom_popular_portfolio_entries .cmsms_nav_wrap_wrap {
	bottom:0;
	text-align:left;
}

.widget_custom_popular_portfolio_entries .responsiveContentSlider > li {padding-bottom:32px;}

.widget_custom_popular_portfolio_entries .responsiveContentSlider > li {padding-bottom:40px;}

.widget_custom_popular_portfolio_entries .cmsms_content_prev_slide, 
.widget_custom_popular_portfolio_entries a.cmsms_content_next_slide {
	background:url(../images/slide_navi_sep.png) no-repeat 100% 50%;
	float:left;
	z-index:11;
}

.widget_custom_popular_portfolio_entries a.cmsms_content_prev_slide span, 
.widget_custom_popular_portfolio_entries a.cmsms_content_next_slide span {
	background:url(../images/arrow_slide.png) no-repeat 10px 8px;
	display:block;
	width:32px;
	height:32px;
}

.widget_custom_popular_portfolio_entries a.cmsms_content_next_slide span {background-position:12px -18px;}

.widget_custom_popular_portfolio_entries a.cmsms_content_next_slide {
	background-position:0 50%;
	float:right;
}

.widget_custom_popular_portfolio_entries  a.cmsms_content_prev_slide, 
.widget_custom_popular_portfolio_entries  a.cmsms_content_next_slide {
	top:8px;
	right:auto;
	opacity:1;
}

.widget_custom_popular_portfolio_entries .cmsms_content_slider_parent ul.cmsms_slides_nav {float:left;}

.widget_custom_popular_portfolio_entries  a.cmsms_content_prev_slide {left:9px;}

.widget_custom_popular_portfolio_entries  a.cmsms_content_next_slide {left:30px;}

.widget_custom_advertising_entries ul li {
	float:left;
	padding:0 3% 3% 0;
}

.widget_custom_popular_entries li {
	background:url(../images/divider.png) repeat-x 0 0;
	list-style:none;
	padding:27px 0 10px;
	overflow:hidden;
	position:relative;
}

.widget_custom_popular_entries li:first-child {
	background:none;
	padding-top:0;
}

.widget_custom_popular_entries .post-title {font-size:15px;}

.widget_custom_popular_entries .published {padding:8px 0;}

.widget {padding-bottom:20px;}

.widget_custom_flickr_entries #flickr_images {overflow:hidden;}

.widget_custom_flickr_entries li {
	list-style:none;
	float:left;
	padding:0 8% 8% 0;
}

.widget_custom_flickr_entries li a img, 
.preloader .image_container_img {
    -webkit-transition:opacity .3s ease-out;
    -moz-transition:opacity .3s ease-out;
    -ms-transition:opacity .3s ease-out;
    -o-transition:opacity .3s ease-out;
    transition:opacity .3s ease-out;
}

.widget_custom_flickr_entries:hover  #flickr_images a img {opacity:.6;}

.widget_custom_flickr_entries:hover  #flickr_images a:hover img {opacity:1;}

.adv_widget_image {
	float:left;
	padding:0 8% 8% 0;
}

.widget ul {margin-bottom:0;}

.widgetinfo {
	border:1px solid #a8a8a8;
	background:#f1f1f1;
	text-align:center;
	display:none;
	padding:5px 10px;
	margin:0 0 15px;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}

.loader {
	background:url(../images/loader.gif) center 0 no-repeat;
	height:5px;
	width:100%;
	display:block;
}

.search_line {width:100%;}

.search_line input[type="text"] {
	width:90%;
	float:left;
	padding-right:45px;
}

.search_line input[type="text"]:focus {padding-right:44px;}

.search_line input[type="submit"] {
	background:url(../images/icon_search.png) no-repeat 50% 50%;
	width:45px;
	height:35px;
	float:left;
	margin-left:-45px;
	cursor:pointer;
}

.widget_custom_tweets_entries li {
	background:none;
	padding-left:0;
}

.widget_custom_tweets_entries abbr {padding:12px 10px 17px 13px;}

.jta-tweet-text {
	background-color:#f4f4f4;
	padding:13px 15px;
	position:relative;
}

#bottom .jta-tweet-text {background-color:#ffffff;}


/* ---------- Blog ---------- */

.blog .post {
	background:url(../images/divider.png) repeat-x 0 100%;
	margin-bottom:30px;
}

.post {
	padding-bottom:20px;
	margin:0 0 0 30px;
	position:relative;
}

.blog .post:last-child {background:none;}

.post footer {padding-bottom:20px;}

.cmsms_format{
	background:url(../images/tabs_sep.png) no-repeat 100% 4px;
	padding:0 6px 0 0;
	position:absolute;
	left:-69px;
}

.cmsms_format span {
	background:#353535 url(../images/icon_format.png) no-repeat 8px -142px;
	display:block;
	width:58px;
	height:30px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

.format-aside .cmsms_format span {background-position:8px 8px;}

.format-audio .cmsms_format span {background-position:8px -21px;}

.format-image .cmsms_format span,
.format-gallery .cmsms_format span {background-position:8px -52px;}

.format-link .cmsms_format span {background-position:8px -174px;}

.format-video .cmsms_format span {background-position:8px -90px;}

.format-quote .cmsms_format span {background-position:8px -113px;}

.post .published, 
.portfolio .entry-meta .published, 
.comment-content .published {
	line-height:30px;
	display:inline-block;
	padding:0 15px;
	margin:0 0 10px;
}

.post .more_button {margin-bottom:20px;}

.more_button {
	background:url(../images/arrow_acc.png) no-repeat right 6px;
	font-size:15px;
	display:inline-block;
	padding:0 10px 0 0;
    -webkit-transition:padding-right .2s ease-out;
    -moz-transition:padding-right .2s ease-out;
    -ms-transition:padding-right .2s ease-out;
    -o-transition:padding-right .2s ease-out;
    transition:padding-right .2s ease-out;
}

.more_button:hover {padding-right:13px;}

.cmsms_comments {
	float:right;
	margin-bottom:10px;
}

.user_name, 
.cmsms_category {
	display:inline-block;
	margin-bottom:10px;
}

.user_name a, 
.cmsms_category a, 
.cmsms_comments {
	color:#ffffff;
	font-size:12px;
	line-height:30px;
	display:inline-block;
	padding:0 10px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
    -webkit-transition:background-color .3s ease-out;
    -moz-transition:background-color .3s ease-out;
    -ms-transition:background-color .3s ease-out;
    -o-transition:background-color .3s ease-out;
    transition:background-color .3s ease-out;
}

.cmsms_category a {margin:0 1px 10px;}

.user_name a:hover, 
.cmsms_category a:hover, 
.cmsms_comments:hover {
	background-color:#353535;
	color:#ffffff;
}

.portfolio .entry-meta span+.published,
.portfolio .entry-meta .published+span,
.post .published+span, 
.user_name+.cmsms_category {
	background:url(../images/tabs_sep.png) no-repeat 0 4px;
	padding-left:6px;
	margin:0 2px 0 0;
}

.portfolio .entry-meta .user_name {margin-right:2px;}

.portfolio .entry-meta span+.published {padding-left:22px;}

.opened-article .portfolio footer {
	padding:20px 0;
	overflow:hidden;
}

.cmsms_media {padding-bottom:15px;}

.cmsms_tags {padding:20px 0 0;}

.cmsms_tags a {
	background-color:#cbcbcb;
	color:#ffffff;
	font-size:12px;
	line-height:30px;
	display:inline-block;
	padding:0 10px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
    -webkit-transition:background-color .3s ease-out;
    -moz-transition:background-color .3s ease-out;
    -ms-transition:background-color .3s ease-out;
    -o-transition:background-color .3s ease-out;
    transition:background-color .3s ease-out;
}

.cmsms_tags a:hover {
	background-color:#353535;
	color:#ffffff;
}

.link_subtitle {
	font-size:15px;
	display:block;
	padding-bottom:30px;
}

.wp-pagenavi {
	font-size:14px;
	line-height:32px;
	font-weight:bold;
	padding-bottom:2px;
	overflow:hidden;
}

.wp-pagenavi .current {color:#2e2e2e;}

.wp-pagenavi a {
	position:relative;
	float:left;
	margin-left:7px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-webkit-box-shadow:0 1px 0 rgba(0, 0, 0, 0.3);
	-moz-box-shadow:0 1px 0 rgba(0, 0, 0, 0.3);
	box-shadow:0 1px 0 rgba(0, 0, 0, 0.3);
}

.wp-pagenavi a:before {
	background:url(../images/tabs_sep.png) no-repeat 0 5px;
	width:1px;
	height:32px;
	position:absolute;
	left:-4px;
	content:'';
}

.wp-pagenavi > span {
	text-align:center;
	display:block;
	height:32px;
	width:20px;
	float:left;
	margin-right:5px;
}

.wp-pagenavi a span {
	background:url(../images/button_gradient.png) repeat-x 0 0;
	color:#ffffff;
	text-align:center;
	display:block;
	width:32px;
	height:32px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-webkit-transition:background 0.2s ease;
	-moz-transition:background 0.2s ease;
	-ms-transition:background 0.2s ease;
	-o-transition:background 0.2s ease;
	transition:background 0.2s ease;
}

.wp-pagenavi a:hover span {background-position:0 -32px;}


/* ---------- Open Post ---------- */

.project_navi, 
.share_posts, 
.about_author, 
#comments, 
#commentform, 
.related_posts {
	background:url(../images/divider.png) repeat-x 0 0;
	overflow:hidden;
	padding:25px 0 0;
	margin:25px 0 0;
}

.project_navi a[rel="prev"] {
	background:url(../images/arrow_acc.png) no-repeat 0 -70px;
	padding-left:25px;
}

.project_navi a[rel="next"] {
	background:url(../images/arrow_acc.png) no-repeat right 5px;
	padding-right:25px;
	float:right;
}

.about_author_inner {
	border:1px solid #dbdbdb;
	overflow:hidden;
	padding:20px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

.about_author_inner .alignleft,
.about_author_inner p {
	margin-bottom:0;
	padding-bottom:0;
}

.cmsmsLike {
	background:url(../images/heart.png) no-repeat 4px 6px;
	text-decoration:none;
	display:block;
	height:22px;
	width:22px;
	float:left;
	margin:-1px 60px 3px 0;
	border-radius:11px;
	-moz-border-radius:11px;
	-webkit-border-radius:11px;
	-webkit-transition:background-color 0.2s ease;
	-moz-transition:background-color 0.2s ease;
	-ms-transition:background-color 0.2s ease;
	-o-transition:background-color 0.2s ease;
	transition:background-color 0.2s ease;	
}

.cmsmsLike span {
	line-height:22px;
	padding-left:34px;
}

.cmsms_social {
	display:none;
	margin-top:25px;
	overflow:hidden;
}

.cmsms_share {margin:20px 0 0;}

.cmsms_social a {
	display:inline-block;
	padding:5px 10px 0 2px;
}

.comment-body h3 {float:left;}

.comment-body .published {float:right;}

.comment-reply-link {
	float:right;
}

.comment-body .alignleft img {
	display:block;
	margin-bottom:10px;
}

.comment-body {
	border:1px solid #dbdbdb;
	padding:20px;
	margin:0 0 10px;
	overflow:hidden;
	position:relative;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

.comment-content {overflow:hidden;}

.commentlist {
	padding-top:10px;
	margin-bottom:30px;
}

.commentlist li {
	list-style:none;
	line-height:20px;
	padding-left:0;
}

.commentlist ul {
	padding-left:40px;
	margin-bottom:0;
}

.comment-body p {padding-bottom:0;}

#commentform label {
	line-height:35px;
	display:inline-block;
	padding-left:20px;
}


/* ---------- Portfolio ---------- */

.portfolio_container {
	margin-right:-4%;
	position:relative;
	overflow:visible !important;
}

.post_type_shortcode {
	overflow:hidden;
	position:relative;
}

.post_type_shortcode article {
	padding-right:4%;
	padding-bottom:20px;
	margin-left:0;
	float:left;
}

.post_type_shortcode.four_blocks article {width:21%;}

.post_type_shortcode.three_blocks article {width:29.3%;}

.post_type_shortcode.two_blocks article {width:46%;}

.post_type_shortcode.one_block {margin:0;}

.post_type_shortcode.one_block article, 
.format-album.one_block .resize .cmsms_media_box {
	width:100%;
	float:none;
	padding-right:0;
}

.post_type_shortcode .entry-title {margin:20px 0;}

.resize {overflow:hidden;}

.format-album .resize {margin-bottom:0;}

.format-album .resize .cmsms_media_box {
	float:left;
	padding-right:4%;
	padding-bottom:20px;
}

.format-album.four_blocks .resize .cmsms_media_box {width:22%;}

.format-album.three_blocks .resize .cmsms_media_box {width:30.6%;}

.format-album.two_blocks .resize .cmsms_media_box {width:48%;}

.format-album.four_blocks .resize .cmsms_media_box+.cmsms_media_box+.cmsms_media_box+.cmsms_media_box, 
.format-album.three_blocks .resize .cmsms_media_box+.cmsms_media_box+.cmsms_media_box, 
.format-album.two_blocks .resize .cmsms_media_box+.cmsms_media_box {padding-right:0;}

.portfolio_inner .cmsms_category {float:none;}

.portfolio_container .portfolio_inner {
	background-color:#ffffff;
	-webkit-box-shadow:0 0 5px rgba(0, 0, 0, 0.2);	
	-moz-box-shadow:0 0 5px rgba(0, 0, 0, 0.2);
	box-shadow:0 0 5px rgba(0, 0, 0, 0.2);
}

.portfolio_container .portfolio_inner .cmsms_category {padding:10px 20px;}

.portfolio_container .portfolio_inner header {
	overflow:hidden;
	padding:0 20px;
}

.portfolio_container .portfolio_inner .entry-content {
	background:url(../images/divider.png) repeat-x 0 0;
	margin:0 20px;
	padding:10px 0 20px;
}

.portfolio_container .portfolio_inner .entry-content p {padding-bottom:0;}

.portfolio_container .portfolio_inner footer {
	border-top:1px solid #e5e5e5;
	background:#fbfbfb;
	padding:11px 20px 14px;
}

.portfolio_container .portfolio_inner .entry-title {margin:16px 0 12px;}

.portfolio_container .portfolio {
	float:left;
	padding-right:4%;
	padding-bottom:30px;
}

.portfolio_container.four_blocks .portfolio .jp-duration, 
.portfolio_container.four_blocks .portfolio .jp-current-time, 
.portfolio_container.four_blocks .portfolio .jp-time-sep {display:none;}

.portfolio_container.four_blocks {margin-right:-3.9%;}

.portfolio_container.four_blocks .portfolio {width:21%;}

.portfolio_container.three_blocks .portfolio {width:29.3%;}

.portfolio_container.two_blocks .portfolio {width:46%;}

.portfolio_container.one_block {margin:0;}

.portfolio_container.one_block .portfolio {
	width:100%;
	float:none;
	padding-right:0;
}

.portfolio_container.one_block .portfolio_inner, 
.portfolio_container.one_block .entry-content, 
.portfolio_container.one_block .post_category {text-align:center;}

.pj_sort {
	border-bottom:1px solid #e5e5e5;
	padding-top:58px;
	position:relative;
}

.pj_sort .divider {margin:0;}

.p_options_loader {
	background:url(../images/loader_white.gif) no-repeat 0 0;
	display:block;
	width:160px;
	height:20px;
	position:absolute;
	top:21px;
	right:40px;
}

.p_options_block {
	padding:0;
	display:none;
	position:absolute;
	right:30px;
	top:13px;
	z-index:29;
	opacity:1;
}

.p_sort_block {float:left;}

.p_sort_block p {margin-left:10px;}

.p_options_block a:hover {text-decoration:none;}

.p_sort {
	float:right;
	position:relative;
}

.p_sort a[name="p_date"] {
	display:block;
	float:left;
}

.p_cat_filter.button span span,
.p_sort a[name="p_name"] span span, 
.p_sort a[name="p_date"] span span {
	background:url(../images/arrow_sort.png) no-repeat right 8px;
	display:block;
	padding:0 40px 0 0;
}

.p_cat_filter.button span span {padding-right:20px;}

.p_sort a.current.reversed[name="p_name"] span span, 
.p_sort a.current.reversed[name="p_date"] span span {background-position:right 10px;}

.p_sort a[name="p_name"] > span, 
.p_sort a[name="p_date"] > span {padding-right:10px;}

.p_sort a[name="p_name"]:hover > span, 
.p_sort a[name="p_date"]:hover > span, 
.p_sort a.current[name="p_name"] > span, 
.p_sort a.current[name="p_date"] > span {background-position:right -32px;}

.p_sort a.current.reversed[name="p_name"] span span, 
.p_sort a.current.reversed[name="p_date"] span span {background-position:right -11px;}

.p_sort a[name="p_name"] {
	margin-right:10px;
	display:block;
	float:left;
}

div.p_filter, 
.p_filter_container {
	position:relative;
	z-index:29;
}

div.p_filter {
	float:right;
	padding:0 10px 0 0;
}

a.p_cat_filter {
	display:block;
	position:relative;
	z-index:31;
}

a.p_cat_filter > span {
	display:block;
	width:150px;
}

.p_filter_container:hover .p_cat_filter.button span span, 
a.p_cat_filter:hover span span {background-position:right -11px;}

.p_filter_container:hover .p_cat_filter.button > span {background-position:0 -32px;}

.p_filter_container ul.p_filter {
	background-color:#ffffff;
	list-style:none;
	display:block;
	width:178px;
	padding:0;
	overflow:hidden;
	position:absolute;
	top:20px;
	left:0;
	z-index:30;
	opacity:0;
	-webkit-box-shadow:0 0 5px rgba(0, 0, 0, 0.2);	
	-moz-box-shadow:0 0 5px rgba(0, 0, 0, 0.2);
	box-shadow:0 0 5px rgba(0, 0, 0, 0.2);
	border-radius:0 0 4px 4px;
	-moz-border-radius:0 0 4px 4px;
	-webkit-border-radius:0 0 4px 4px;
	-webkit-transition:opacity 0.5s ease;
	-moz-transition:opacity 0.5s ease;
	-ms-transition:opacity 0.5s ease;
	-o-transition:opacity 0.5s ease;
	transition:opacity 0.5s ease;
}

.p_filter_container:hover ul.p_filter {
	opacity:1;
	padding:10px 0 5px;
}

ul.p_filter li a {
	background:url(../images/divider.png) repeat-x 0 0;
	color:#333333;
	font-size:14px;
	text-decoration:none;
	display:block;
	height:0;
	z-index:30;
	-webkit-transition:height 0.5s ease, padding-top 0.5s ease, padding-bottom 0.5s ease;
	-moz-transition:height 0.5s ease, padding-top 0.5s ease, padding-bottom 0.5s ease;
	-ms-transition:height 0.5s ease, padding-top 0.5s ease, padding-bottom 0.5s ease;
	-o-transition:height 0.5s ease, padding-top 0.5s ease, padding-bottom 0.5s ease;
	transition:height 0.5s ease, padding-top 0.5s ease, padding-bottom 0.5s ease;
}

ul.p_filter li:first-child a {background:none;}

.p_filter_container:hover ul.p_filter li a {
	height:24px;
	padding:8px 4px;
}

ul.p_filter li.current a, ul.p_filter li a:hover {
	display:block;
	height:20px;
}

ul.p_filter li:first-child {padding-top:6px;}

ul.p_filter li {
	background:none;
	padding:0 10px;
	position:relative;
	overflow:hidden;
	display:block;
	z-index:30;
}

.p_date, 
#middle .portfolio_container .portfolio .jp-video .jp-restore-screen, 
#middle .portfolio_container .portfolio .jp-video .jp-full-screen {display:none;}

a span.image_rollover {
	background:transparent url(../images/hover_content.png) 50% -100px no-repeat;
	display:block;
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	opacity:.7;
	-webkit-transition:background-color .2s ease-in-out, background-position .3s ease-in-out;
	-moz-transition:background-color .2s ease-in-out, background-position .3s ease-in-out;
	-ms-transition:background-color .2s ease-in-out, background-position .3s ease-in-out;
	-o-transition:background-color .2s ease-in-out, background-position .3s ease-in-out;
	transition:background-color .2s ease-in-out, background-position .3s ease-in-out;
}

a[rel="prettyPhoto"] span.image_rollover {background-image:url(../images/hover_image.png);}

.format-link a span.image_rollover {background-image:url(../images/hover_link.png);}

.format-video a span.image_rollover {background-image:url(../images/hover_video.png);}

a:hover span.image_rollover {
	background-color:#000000;
	background-position:50% 50%;
}

/* ---------- Bottom ---------- */

#bottom {
	background-color:#f4f4f4;
	border-top:1px solid #e1e1e1;
	padding:40px 0 0;
	overflow:hidden;
	position:relative;
}

.bottom_inner {
	width:940px;
	margin:0 auto;
	overflow:hidden;
	position:relative;
}

#bottom .widgettitle {margin-bottom:30px;}

#bottom input, 
#bottom textarea, 
#bottom select {background-color:#ffffff;}

/* ---------- Footer ---------- */

#footer {
	background:url(../images/bg-footer.jpg) repeat-x 0 0;
	border-top:3px solid;
	height:169px;
	margin-top:-169px;
	overflow:hidden;
	position:relative;
}

.footer_inner {
	width:940px;
	height:19px;
	padding:75px 0;
	margin:0 auto;
	overflow:hidden;
	position:relative;
}

.footer_nav {margin-bottom:0;}

.footer_nav li {
	display:inline-block;
	padding:0 4px;
}

.footer_nav li a {
	text-decoration:none;
}

/* ---------- Form builder ---------- */

.cmsms-form-builder label {padding-bottom:8px;}

.cmsms-form-builder label span.color_3 {font-size:12px;}

select {
	border:1px solid #e5e5e5;
	background-color:#f9f9f9;
	height:40px;
	line-height:20px;
	width:275px;
	padding:9px;
	margin:0 0 3px;
}

select:focus {
	background-color:#ffffff;
	border-width:2px;
	padding:8px;
}

option {
	background-color:#ffffff;
	border:none;
	height:20px;
	padding:0;
	margin:0;
}

.cmsms-form-builder .form_info {padding-bottom:20px;}

.widget .cmsms-form-builder .form_info {padding-bottom:16px;}

.widget .cmsms-form-builder input[type="text"] {width:95%;}

.cmsms-form-builder span.db {font-size:.915em;}

#commentform {padding-bottom:20px;}

.cmsms-form-builder input[type="text"]{width:50%;}

input[type="text"], 
textarea {
	background-color:#f9f9f9;
	border:1px solid #e5e5e5;
	line-height:20px;
	height:35px;
	width:95%;
	padding:5px 10px;
}

input[type="text"]:focus, 
textarea:focus {
	background-color:#ffffff;
	border:2px solid;
	padding:4px 9px;
}

#commentform input[type="text"] {
	width:50%;
	float:left;
}

#commentform textarea {
	width:90%;
	min-height:260px;
	margin-top:10px;
	resize:none;
}

#commentform p {
	overflow:hidden;
	clear:both;
}

#commentform input[type="text"]+label {
	line-height:42px;
	float:left;
	padding-left:20px;
}

.cmsms-form-builder .check_parent {
	padding:6px 0;
	position:relative;
	overflow:hidden;
}

.cmsms-form-builder .check_parent label {padding:0;}

.cmsms-form-builder .check_parent input[type="checkbox"], 
.cmsms-form-builder .check_parent input[type="radio"] {
	float:left;
	position:absolute;
	top:0;
	left:0;
	opacity:0;
}

.cmsms-form-builder .check_parent input[type="radio"]+label {background:url(../images/radio_check.png) no-repeat 0 -71px;}

.cmsms-form-builder .check_parent input[type="radio"]:checked+label {background:url(../images/radio_check.png) no-repeat 0 -108px;}

.cmsms-form-builder .check_parent input[type="checkbox"]+label {background:url(../images/radio_check.png) no-repeat 0 2px;}

.cmsms-form-builder .check_parent input[type="checkbox"]:checked+label {background:url(../images/radio_check.png) no-repeat 0 -34px;}

.cmsms-form-builder .check_parent input[type="checkbox"]+label, 
.cmsms-form-builder input[type="radio"]+label {
	line-height:20px;
	font-weight:normal;
	display:block;
	height:20px;
	float:left;
	padding:0 0 0 25px;
	margin:0;
	overflow:hidden;
	position:relative;
	cursor:pointer;
	z-index:1;
}

.cmsms-form-builder .cmsms_checkbox .db, 
.cmsms-form-builder .cmsms_radio .db, 
.cmsms-form-builder .cmsms_checkboxes .db {
	display:block;
	padding-bottom:15px;
}

.loading {
	background:url(../images/loader.gif) no-repeat 0 0;
	height:5px;
	width:40px;
	float:right;
	opacity:0;
	position:relative;
	margin-top:11px;
}


/* ---------- Form Error ---------- */

.inputContainer {
	position:relative;
	float:left;
}

.formError {
	display:block;
	position:absolute;
	top:300px;
	left:300px;
	cursor:pointer;
	z-index:5000;
}

.ajaxSubmit {
	border:1px solid #999999;
	background:#55ea55;
	display:none;
	padding:20px;
}

.formError .formErrorContent {
	border:1px solid #333333;
	background:#000000;
	color:#ffffff;
	font-family:Tahoma;
	font-size:11px;
	width:150px;
	padding:4px 10px;
	position:relative;
	z-index:5001;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

.greenPopup .formErrorContent {background:#33be40;}

.blackPopup .formErrorContent {
	background:#393939;
	color:#ffffff;
}

.formError .formErrorArrow {
	width:15px;
	margin:-2px 0 0 13px;
	position:relative;
	z-index:5006;
}

.formError .formErrorArrowBottom {
	margin:0 0 0 12px;
	top:2px;
}

.formError .formErrorArrow div {
	border-left:1px solid #333333;
	border-right:1px solid #333333;
	background:#000000;
	font-size:0;
	line-height:0;
	display:block;
	height:1px;
	margin:0 auto;
}

.greenPopup .formErrorArrow div {background:#33be40;}

.blackPopup .formErrorArrow div {
	background:#393939;
	color:#ffffff;
}

.formError .formErrorArrow .line10 {
	border:0;
	width:15px;
}

.formError .formErrorArrow .line9 {
	border:0;
	width:13px;
}

.formError .formErrorArrow .line8 {width:11px;}

.formError .formErrorArrow .line7 {width:9px;}

.formError .formErrorArrow .line6 {width:7px;}

.formError .formErrorArrow .line5 {width:5px;}

.formError .formErrorArrow .line4 {width:3px;}

.formError .formErrorArrow .line3 {
	border-bottom:0;
	border-left:1px solid #333333;
	border-right:1px solid #333333;
	width:1px;
}

.formError .formErrorArrow .line2 {
	border:0;
	background:#333333;
	width:1px;
}

.formError .formErrorArrow .line1 {
	border:0;
	background:#333333;
	width:0;
}

.content_wrap {
	-webkit-transition:background-position .3s ease-in-out;
	-moz-transition:background-position .3s ease-in-out;
	-ms-transition:background-position .3s ease-in-out;
	-o-transition:background-position .3s ease-in-out;
	transition:background-position .3s ease-in-out;
}

.error h1 {
	-webkit-transition:font-size .3s ease-in-out, padding .3s ease-in-out;
	-moz-transition:font-size .3s ease-in-out, padding .3s ease-in-out;
	-ms-transition:font-size .3s ease-in-out, padding .3s ease-in-out;
	-o-transition:font-size .3s ease-in-out, padding .3s ease-in-out;
	transition:font-size .3s ease-in-out, padding .3s ease-in-out;
}


/* ---------- Responsive Top Main Slider ---------- */

.cmsms_slider_parent, 
#slider {
	width:100%;
	height:0;
	padding-bottom:47%;
	position:relative;
}

.cmsms_slider_parent #slider {background:none;}

.responsiveSlider {
	text-align:left;
	display:block;
	list-style:none;
	padding:0;
	margin:0;
	position:relative;
	overflow:hidden;
	opacity:0;
	filter:alpha(opacity=0);
	-webkit-transition:opacity .5s ease-in-out;
	-moz-transition:opacity .5s ease-in-out;
	-ms-transition:opacity .5s ease-in-out;
	-o-transition:opacity .5s ease-in-out;
	transition:opacity .5s ease-in-out;
}

.responsiveSlider .cmsms_img {
	min-width:100%;
	max-width:100%;
	display:block;
}

.cmsms_slider_parent>.responsiveSlider {
	width:100%;
	height:100%;
	opacity:1;
	filter:alpha(opacity=100);
}

.responsiveSlider, 
.responsiveSlider>li {
	display:block;
	width:100%;
	height:100%;
	padding:0;
	margin:0;
	overflow:hidden;
	position:absolute;
}

.responsiveSlider {
	top:0;
	left:0;
}

ul.responsiveSlider {list-style:none;}

.responsiveSlider>li {
	top:0;
	left:100%;
	z-index:1;
}

.responsiveSlider>li div.cmsms_img_pattern {
	background-position:0 0;
	background-repeat:repeat;
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
}

.responsiveSlider>li.link a.cmsms_img_link, 
.responsiveSlider>li.video a.cmsms_img_video {
	background:url(../images/video.png) 0 0 no-repeat;
	display:block;
	width:100px;
	height:100px;
	margin:-50px 0 0 -50px;
	position:absolute;
	top:50%;
	left:50%;
	cursor:pointer;
	opacity:0.33;
	filter:alpha(opacity=33);
	-webkit-transition:opacity .5s ease-in-out;
	-moz-transition:opacity .5s ease-in-out;
	-ms-transition:opacity .5s ease-in-out;
	-o-transition:opacity .5s ease-in-out;
	transition:opacity .5s ease-in-out;
}

.responsiveSlider>li.link a.cmsms_img_link {
	background:url(../images/link.png) 0 0 no-repeat;
	display:none;
}

.responsiveSlider>li.video a.cmsms_img_video {background:url(../images/video.png) 0 0 no-repeat;}

.responsiveSlider>li.link a.cmsms_img_link:hover, 
.responsiveSlider>li.video a.cmsms_img_video:hover {
	opacity:1;
	filter:alpha(opacity=100);
}

.cmsms_slider_video {
	background:#000000;
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	z-index:150;
	visibility:visible;
}

.cmsms_slider_video.hidden {visibility:hidden;}

.cmsms_slider_video iframe {
	width:100%;
	height:100%;
	position:absolute;
}

.responsiveSlider>li.left-img img {
	min-width:50%;
	max-width:50%;
	height:100%;
	max-height:100%;
	float:left;
}

.responsiveSlider>li.right-img img {
	min-width:50%;
	max-width:50%;
	max-height:100%;
	height:100%;
	float:right;
}

.responsiveSlider>li.right-img .slideCaption.left,
.responsiveSlider>li.left-img .slideCaption.right {
	margin:0;
	width:50%;
}

.responsiveSlider>li.right-img .slideCaption.left .slideCaptionInnerBlock,
.responsiveSlider>li.left-img .slideCaption.right .slideCaptionInnerBlock {height:86%;}

.responsiveSlider .slideCaption {
	display:table;
	width:35%;
	margin:0 50px 0 0;
	position:absolute;
}

.responsiveSlider .slideCaption.left, 
.responsiveSlider .slideCaption.right {
	width:35%;
	margin:0 80px;
}

.responsiveSlider .slideCaption.top, 
.responsiveSlider .slideCaption.bottom {
	display:block;
	width:auto;
	margin:0;
}

.responsiveSlider .slideCaption {
	top:auto;
	bottom:0;
}

.responsiveSlider>li.left-img .slideCaption.top, 
.responsiveSlider>li.right-img .slideCaption.top, 
.responsiveSlider>li.left-img .slideCaption.bottom, 
.responsiveSlider>li.right-img .slideCaption.bottom {
	display:table;
	width:43%;
	padding:2%;
	margin:0;
	display:block\0/IE9;
}

.responsiveSlider .slideCaption>.slideCaptionInner {
	display:table-cell;
	width:100%;
	vertical-align:middle;
}

.responsiveSlider .slideCaption.top>.slideCaptionInner, 
.responsiveSlider .slideCaption.bottom>.slideCaptionInner {
	display:block;
	vertical-align:baseline;
}

.responsiveSlider>li.left-img .slideCaption.top>.slideCaptionInner, 
.responsiveSlider>li.right-img .slideCaption.top>.slideCaptionInner, 
.responsiveSlider>li.left-img .slideCaption.bottom>.slideCaptionInner, 
.responsiveSlider>li.right-img .slideCaption.bottom>.slideCaptionInner {
	display:table-cell;
	padding:4%;
	vertical-align:middle;
}

.slideCaptionInnerBlock {
	padding:7% 10%;
	position:relative;
}

.responsiveSlider .slideCaption.top .slideCaptionInnerBlock,
.responsiveSlider .slideCaption.bottom .slideCaptionInnerBlock {
	position:absolute;
	width:90%;
	padding:2% 5%;
}

.responsiveSlider .slideCaption.bottom .slideCaptionInnerBlock {bottom:0;}

a.cmsms_prev_slide, 
a.cmsms_next_slide {
	background:url(../images/slide_navi_sep.png) no-repeat 100% 50%;
	float:left;
	z-index:11;
}


a.cmsms_prev_slide span, 
a.cmsms_next_slide span {
	background:url(../images/arrow_slide.png) no-repeat 10px 8px;
	display:block;
	width:32px;
	height:32px;
}

a.cmsms_next_slide span {background-position:12px -18px;}

a.cmsms_next_slide {
	background-position:0 50%;
	float:right;
}

a.cmsms_prev_slide:hover, 
a.cmsms_next_slide:hover {opacity:1;}

a.cmsms_close_video {
	background-color:#ffffff;
	width:41px;
	height:41px;
	display:block;
	overflow:hidden;
	position:absolute;
	border-radius:20.5px;
	-moz-border-radius:20.5px;
	-webkit-border-radius:20.5px;
	-webkit-transition:background-color .3s ease-in-out, background-position .3s ease-in-out;
	-moz-transition:background-color .3s ease-in-out, background-position .3s ease-in-out;
	-ms-transition:background-color .3s ease-in-out, background-position .3s ease-in-out;
	-o-transition:background-color .3s ease-in-out, background-position .3s ease-in-out;
	transition:background-color .3s ease-in-out, background-position .3s ease-in-out;
}

a.cmsms_close_video {
	background-image:url(../images/video_close.png);
	background-position:12px -49px;
	background-repeat:no-repeat;
	bottom:50px;
	right:15px;
	z-index:200;
	opacity:0;
}

a.cmsms_close_video:hover {background-position:12px 11px;}

ul.cmsms_slides_nav {
	list-style:none;
	float:left;
	padding:11px 10px;
	margin:0;
	z-index:10;
	-webkit-transition:opacity .3s ease-in-out;
	-moz-transition:opacity .3s ease-in-out;
	-ms-transition:opacity .3s ease-in-out;
	-o-transition:opacity .3s ease-in-out;
	transition:opacity .3s ease-in-out;
}
 
ul.cmsms_slides_nav li {
	display:block;
	float:left;
	padding:0 0 0 8px;
}

ul.cmsms_slides_nav li.active a, 
ul.cmsms_slides_nav li:hover a {background-color:#000000;}

ul.cmsms_slides_nav li:first-child {padding:0;}

ul.cmsms_slides_nav li a {
	background-color:#ffffff;
	display:block;
	text-indent:-9999px;
	width:10px;
	height:10px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-webkit-transition:background-color .3s ease-in-out;
	-moz-transition:background-color .3s ease-in-out;
	-ms-transition:background-color .3s ease-in-out;
	-o-transition:background-color .3s ease-in-out;
	transition:background-color .3s ease-in-out;
}

.cmsms_slider_timer {
	position:absolute;
	bottom:15px;
	right:15px;
	z-index:10;
	-webkit-transition:opacity .3s ease-in-out;
	-moz-transition:opacity .3s ease-in-out;
	-ms-transition:opacity .3s ease-in-out;
	-o-transition:opacity .3s ease-in-out;
	transition:opacity .3s ease-in-out;
}


/* ---------- Responsive Content Slider ---------- */

.cmsms_content_slider_parent {
	width:100%;
	height:0;
	padding-bottom:56.25%;
	position:relative;
}

.responsiveContentSlider {
	background:url(../images/loader.gif) 50% 50% no-repeat;
	text-align:left;
	display:block;
	list-style:none;
	width:100%;
	height:0;
	padding:0 0 56.25%;
	margin:0;
	position:relative;
	overflow:hidden;
}

.cmsms_content_slider_parent>.responsiveContentSlider, 
.responsiveContentSlider>li {
	display:block;
	width:100%;
	height:100%;
	padding:0;
	margin:0;
	overflow:hidden;
	position:absolute;
}

.responsiveContentSlider {
	top:0;
	left:0;
}

.responsiveContentSlider>li {
	top:0;
	left:100%;
	z-index:1;
}

.cmsms_content_slider_parent ul.cmsms_slides_nav {
	list-style:none;
	float:right;
	padding:11px 10px;
	margin:0;
	z-index:10;
	-webkit-transition:opacity .3s ease-in-out;
	-moz-transition:opacity .3s ease-in-out;
	-ms-transition:opacity .3s ease-in-out;
	-o-transition:opacity .3s ease-in-out;
	transition:opacity .3s ease-in-out;
}
 
.cmsms_content_slider_parent ul.cmsms_slides_nav li {
	display:block;
	float:left;
	padding:0 0 0 8px;
}

.cmsms_content_slider_parent ul.cmsms_slides_nav li.active a, 
.cmsms_content_slider_parent ul.cmsms_slides_nav li:hover a {background-color:#000000;}

 .cmsms_content_slider_parent ul.cmsms_slides_nav li:first-child {padding:0;}

.cmsms_content_slider_parent ul.cmsms_slides_nav li a {
	background-color:#ffffff;
	display:block;
	text-indent:-9999px;
	width:10px;
	height:10px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-webkit-transition:background-color .3s ease-in-out;
	-moz-transition:background-color .3s ease-in-out;
	-ms-transition:background-color .3s ease-in-out;
	-o-transition:background-color .3s ease-in-out;
	transition:background-color .3s ease-in-out;
}

.cmsms_nav_wrap_wrap {
	text-align:center;
	width:100%;
	height:33px;
	position:absolute;
	bottom:0;
	z-index:3;
}

.widget_custom_popular_portfolio_entries .cmsms_nav_wrap, 
#top  .cmsms_nav_wrap {
	background:url(../images/button_gradient.png) repeat-x 0 0;
	display:inline-block;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-webkit-box-shadow:0 1px 0 rgba(0, 0, 0, 0.3);	
	-moz-box-shadow:0 1px 0 rgba(0, 0, 0, 0.3);
	box-shadow:0 1px 0 rgba(0, 0, 0, 0.3);
}

/* ---------- Large Monitor (Note: Design for a width more than 1440px) ---------- */

@media only screen and (min-width: 1440px) {
	
	#header, 
	#middle {width:1220px;}
	
	.bottom_inner, 
	.footer_inner {width:1160px;}
	
	.widget_custom_advertising_entries ul li {padding:0 8% 8% 0;}
	
}

/* ---------- Medium Monitor (Note: Design for a width more than 1023px but less than 1440px) ---------- */

@media only screen and (min-width: 1124px) and (max-width: 1439px) {
	
	.navi_left {width:9%;}
	
	.adv_widget_image {padding:0 3% 3% 0;}
	
	.widget_custom_flickr_entries li {padding:0 5% 5% 0;}
	
}


/* ---------- Tablet Portrait (Note: Design for a width more than 767px but less than 1024px) ---------- */

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	
	#header, 
	#middle {width:90%;}
	
	.bottom_inner, 
	.footer_inner {
		width:90%;
		padding-left:30px;
		padding-right:30px;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		box-sizing:border-box;
	}
	
	.navi_left {width:15%;}
	
	#navigation > li > a {min-width:115px;}
	
	.widget_custom_popular_entries li .ovh {overflow:visible;}
	
}


/* ---------- Small Tablet (Note: Design for a width more than 540px but less than 768px) ---------- */

@media only screen and (min-width: 541px) and (max-width: 767px) {
	
	.one_fourth, 
	.one_fourth+.one_fourth+.one_fourth, 
	.portfolio_container.four_blocks .portfolio:nth-child(odd), 
	.format-album.four_blocks .resize .cmsms_media_box:nth-child(odd),
	.post_type_shortcode.four_blocks article:nth-child(odd),
	.cms_archive li:nth-child(odd),  
	.sitemap > li > ul > li:nth-child(odd) {
		width:48%;
		float:left;
		padding-right:4%;
	}
	
	.one_fourth.last, 
	.one_fourth+.one_fourth, 
	.one_fourth+.one_fourth+.one_fourth+.one_fourth, 
	.portfolio_container.four_blocks .portfolio:nth-child(even),  
	.format-album.four_blocks .resize .cmsms_media_box:nth-child(even), 
	.post_type_shortcode.four_blocks article:nth-child(even), 
	.cms_archive li:nth-child(even), 
	.sitemap > li > ul > li:nth-child(even) {
		width:48%;
		float:right;
		padding-right:0;
	}
	
	.portfolio_container.four_blocks, 
	.post_type_shortcode.four_blocks {margin-right:0;}
	
}

/* ---------- Small Monitor (Note: Design for a width less than 1024px) ---------- */

@media only screen and (max-width: 1023px) {
	
	#middle {
		width:90%;
		margin:0 5%;
	}
	
	.navi_left, 
	.navi_right {width:50%;}
	
	.error .search_line {width:40%;}
	
}

/* ---------- Small Tablet & Mobile (Note: Design for a width less than 768px) ---------- */

@media only screen and (max-width: 768px) {
	
	
	.commentlist ul {padding-left:10px;}
	
	.tabs li:first-child, 
	.related_posts > ul > li:first-child {padding-left:10px;}
	
	.tabs li, 
	.related_posts > ul > li	{
		background:none;
		float:none;
		padding:0 10px 2px;
		text-align:center;
	}
	
	.footer_inner, .footer_inner .fr {
		text-align:center;
		float:none;
	}
	
	.tour, 
	.tour_box{
		width:100%;
		float:none;
	}
	
	.portfolio_container.four_blocks .portfolio .cmsms_content_slider_parent .cmsms_nav_wrap_wrap {display:none;}
	
	#content .comment-content {overflow:visible;}
	
	.error .search_line {width:60%;}
	
}

/* ---------- Small Tablet & Mobile (Note: Design for a width less than 768px) ---------- */

@media only screen and (max-width: 767px) {
	
	#header, 
	#middle {width:90%;}
	
	.bottom_inner, 
	.footer_inner {
		width:90%;
		padding-left:30px;
		padding-right:30px;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		box-sizing:border-box;
	}
	
	.resp_navigation  {
		background:#333333 url(../images/resp_navi_bg.png) no-repeat 50% 50%;
		display:block;
		width:36px;
		height:27px;
		margin:9px 10px;
		border-radius:5px;
		-moz-border-radius:5px;
		-webkit-border-radius:5px;
		box-shadow:0 1px 0 rgba(255, 255, 255, .3);
		-moz-box-shadow:0 1px 0 rgba(255, 255, 255, .3);
		-webkit-box-shadow:0 1px 0 rgba(255, 255, 255, .3);
	}
	
	#navigation, 
	.navi_left, 
	.header_inner .social_list {display:none;}
	
	.navi_wrap {
		border:none;
		display:block;
		overflow:hidden;
	}
	
	.navi_right_inner {
		background-position:0 45%;
		width:56px;
		height:45px;
		float:right;
		overflow:hidden;
	}
	
	.navi_right {
		display:block;
		width:100%;
		height:45px;
		position:absolute;
		top:0;
		left:0;
	}
	
	.navi_wrap .social_list {
		display:block;
		left:30px;
		right:auto;
		top:15px;
	}
	
	.navi_wrap nav {
		display:block;
		width:100%;
		margin-top:45px;
	}
	
	#navigation {
		background-color:#515151;
		border-top:2px solid #3b3b3b;
		display:none;
		padding:5px 10px;
		margin:0;
		overflow:hidden;
		position:relative;
	}

	#navigation li {
		background:url(../images/resp_navi_divider.png) repeat-x 0 0;
		display:block;
		overflow:hidden;
	}
	
	#navigation > li:first-child {background:none;} 
	
	#navigation li.current_page_item > a, 
	#navigation li > a:hover {background-color:#424242;}
		
	#navigation li > a {
		background:none;
		border:none;
		color:#ffffff;
		font-size:14px;
		line-height:20px;
		text-decoration:none;
		text-align:left;
		display:block;
		padding:6px 7px 5px 10px;
		margin:5px 0 4px;
		border-radius:5px;
		-moz-border-radius:5px;
		-webkit-border-radius:5px;
		-webkit-transition:background-color 0.3s ease-in-out;
		-moz-transition:background-color 0.3s ease-in-out;
		-o-transition:background-color 0.3s ease-in-out;
		-ms-transition:background-color 0.3s ease-in-out;
		transition:background-color 0.3s ease-in-out;
	}
	
	#navigation ul li a {
		background-image:none;
		width:auto;
		padding:6px 7px 5px 10px;
		margin:5px 0 4px 30px;
	}
	
	#navigation ul ul li a {margin-left:60px;}
	
	#navigation > li > a > span {background:none;}
	
	#navigation li > a > span {padding:0;}
	
	#navigation li.drop > a > span, 
	#navigation ul li.drop > a span {
		background:url(../images/arrow_acc.png) no-repeat right -31px;
		display:block;
	}
	
	#navigation ul, 
	#navigation ul ul, 
	#navigation > li > ul {
		background-color:transparent;
		display:none;
		padding:0;
		margin:0;
		visibility:visible;
		position:relative;
		left:auto;
		top:auto;
		opacity:1;
		-webkit-box-shadow:none;
		-moz-box-shadow:none;
		box-shadow:none;
		-webkit-border-radius:0;
		-moz-border-radius:0;
		border-radius:0;
		-webkit-transition:none;
		-moz-transition:none;
		-ms-transition:none;
		-o-transition:none;
		transition:none;
	}
	
	#navigation ul li {padding:0;}
	
	.header_inner {
		overflow:hidden;
		text-align:center;
		padding-bottom:30px;
	}
	
	.custom_html {
		display:inline-block;
		margin-top:20px;
		position:relative;
		top:auto;
		right:auto;
	}
	
	.logo {
		position:relative;
		top:auto;
		left:auto;
		margin:30px auto 0;
	}
	
	#content,
	.content_wrap.sidebar_left #content,
	#sidebar, 
	.content_wrap.sidebar_left #sidebar {
		width:100%;
		float:none;
		padding:25px 0;
	}
	
	.sidebar_inner {
		border-top:3px solid;
		width:100%;
		height:0;
		top:0;
	}
	
	.content_wrap.sidebar_left .sidebar_inner {right:auto;}
	
	.content_wrap {
		background:none;
		top:auto;
		padding-bottom:0;
	}
	
	.portfolio_container.three_blocks, 
	.portfolio_container.one_blocks {margin-right:0;}
	
	.one_half, 
	.one_half.last, 
	.one_third, 
	.one_third.last, 
	.two_third, 
	.two_third.last, 
	.three_fourth, 
	.three_fourth.last, 
	.three_fourth+.one_fourth, 
	.one_fourth+.one_half+.one_fourth, 
	.portfolio_container.three_blocks .portfolio, 
	.format-album.two_blocks .resize .cmsms_media_box, 
	.format-album.three_blocks .resize .cmsms_media_box {
		width:100%;
		float:none;
		padding-right:0;
	}
	
	.responsiveSlider .slideCaption>.slideCaptionInner {padding:10px 0;}
	
	.responsiveSlider .slideCaption.top, 
	.responsiveSlider .slideCaption.left, 
	.responsiveSlider .slideCaption.right, 
	.responsiveSlider .slideCaption.bottom {display:none;}
	
	.widget_custom_popular_entries li .ovh {overflow:visible;}
	
	.cmsms-form-builder input[type="text"] {width:85%;}
	
	.error h1 {font-size:200px;}
	
}

/* ---------- Mobile (Note: Design for a width less than 541px) ---------- */

@media only screen and (max-width: 540px) {
	
	div.jp-video div.jp-current-time, 
	div.jp-audio div.jp-current-time, 
	div.jp-video div.jp-time-sep, 
	div.jp-audio div.jp-time-sep, 
	div.jp-video div.jp-duration, 
	div.jp-audio div.jp-duration {display:none;}
	
	.one_fourth, 
	.one_fourth.last,  
	.one_fourth+.one_fourth, 
	.one_fourth+.one_fourth+.one_fourth, 
	.one_fourth+.one_fourth+.one_fourth+.one_fourth, 
	.portfolio_container.two_blocks .portfolio, 
	.portfolio_container.four_blocks .portfolio:nth-child(odd), 
	.portfolio_container.four_blocks .portfolio:nth-child(even), 
	.format-album.four_blocks .resize .cmsms_media_box:nth-child(odd), 
	.format-album.four_blocks .resize .cmsms_media_box:nth-child(even), 
	.post_type_shortcode.four_blocks article:nth-child(odd), 
	.post_type_shortcode.four_blocks article:nth-child(even),
	.cms_archive li:nth-child(odd),  
	.cms_archive li:nth-child(even), 
	.sitemap > li > ul > li:nth-child(odd),
	.sitemap > li > ul > li:nth-child(even) {
		width:100%;
		float:none;
		padding-right:0;
	}
	
	.responsiveSlider .slideCaption {display:none;}
	
	input[type="text"], 
	textarea, 
	#commentform input[type="text"], 
	#commentform textarea{width:95%;}
	
	.post_type_shortcode.four_blocks, 
	.post_type_shortcode.two_blocks, 
	.portfolio_container.two_blocks .portfolio, 
	.portfolio_container.four_blocks	{margin-right:0;}
	
	.cmsms-form-builder .cmsms_input {width:100%;}
	
	.comment-body h3, 
	.comment-reply-link, 
	.comment-body .published, 
	.p_sort{float:none;}
	
	.comment-body .published {padding-left:0;}
	
	.pj_sort {padding-top:105px;}
	
	div.p_filter {padding:10px 0 0;}
	
	.cmsms_format {
		position:relative;
		left:auto;
		float:left;
	}
	
	.post {margin-left:0;}
	
	.comment-content {overflow:visible;}
	
	.error h1 {font-size:160px;}
	
	.error .search_line {width:90%;}
	
}
