/*
Theme Name: Cgstudionyc
Author: Anonymous
Author URI:
Version: 1
Description: Base theme for Wordpress
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: base
Tags: one-column, two-columns
Theme URI:
*/
* {
	margin: 0;
	padding: 0;
	max-height: 1000000px;
}
ul,
ol,
dl,
p,
h1,
h2,
h3,
h4,
h5,
h6,
address,
form,
table,
blockquote,
applet,
embed,
object,
iframe,
frameset,
mejs-container {
	margin: 0 0 14px;
}
html,
body,
div,
span,
applet,
embed,
object,
iframe,
frameset,
p,
q,
blockquote,
sub,
sup,
a,
abbr,
acronym,
font,
img,
small,
center,
h1,
h2,
h3,
h4,
h5,
h6,
b,
strong,
big,
u,
ins,
i,
cite,
em,
var,
dfn,
address,
s,
strike,
del,
dl,
dt,
dd,
ol,
ul,
li,
pre,
code,
kbd,
samp,
tt,
fieldset,
legend,
form,
label,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
	border: 0;
	background: none;
}
header,
footer,
article,
section,
hgroup,
nav,
figure,
aside,
main {
	display: block;
}
figure {
	margin: 0;
	padding: 0;
}
html {
  background: #333;
}
body {
	margin: 0;
	color: #ccc;
	font: 12px/16px Verdana, Geneva, Helvetica, Arial, sans-serif;
	background: #333;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: none;
	min-width: 320px;
}
.krumo-root {
	color: black;
}
a {
	text-decoration: underline;
	color: #aeb0b3;
	outline: none;
}
a:hover {
	color: #ffce00;
	text-decoration: none;
}
img {
	max-width: 100%;
	height: auto;
}
video,
iframe,
object,
embed {
	max-width: 100%;
}
input,
textarea,
select {
	font: 100% Arial, Helvetica, sans-serif;
	vertical-align: middle;
	color: #000;
	overflow: auto;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	background: #fff;
	margin: 0;
	border: 1px solid #faaa34;
	padding: 3px 4px;
}
label {
	vertical-align: middle;
}
button,
input {
	width: auto;
	overflow: visible;
}
button::-moz-focus-inner {
	padding: 0;
	border: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
b,
strong,
th {
	font-weight: bold;
}
h1 {
	font-size: 14px;
	line-height: 14px;
}
h2 {
	font-size: 13px;
	line-height: 15px;
}
h3 {
	font-size: 12px;
	line-height: 15px;
}
h4 {
	font-size: 12px;
	line-height: 15px;
	font-weight: normal;
}
h5 {
	font-size: 11px;
	line-height: 14px;
}
h6 {
	font-size: 11px;
	line-height: 14px;
	font-weight: normal;
}
i,
cite,
em,
var,
dfn,
address {
	font-style: italic;
}
u,
ins {
	text-decoration: underline;
}
s,
strike,
del {
	text-decoration: line-through;
}
blockquote,
blockquote:before,
blockquote:after,
q,
q:before,
q:after {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
}
blockquote {
	border-left: 4px solid #ccc;
	padding-left: 10px;
	margin-left: 14px;
}
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
	border-collapse: collapse;
	border-spacing: 0;
}
th,
td {
	border: 1px solid #ccc;
	padding: 3px 7px;
	text-align: left;
	vertical-align: top;
}
th {
	border-color: #999;
	text-align: center;
	vertical-align: middle;
}
ul {
	margin-left: 1px;
}
ul,
ol {
	padding-left: 3em;
}
ul ul,
ul ol,
ol ul,
ol ol {
	padding-left: 3em;
	margin: 0;
}
ul>li {
	list-style-type: disc;
}
dl dt {
	float: left;
	clear: left;
	padding-right: 4px;
	font-weight: bold;
}
.widget {
	margin-bottom: 14px;
	overflow: hidden;
}
.widget ul {
	padding-left: 2em;
}
.widget select {
	min-width: 150px;
}
.comment-form textarea,
.post-password-form input[type="password"],
.comment-form input[type="text"],
.search-form input[type="text"] {
	margin: 0 4px 0 0;
	width: 300px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 2px 10px;
	border-radius: 4px;
	height: 22px;
}
.comment-form .error textarea,
.post-password-form .error input[type="password"],
.comment-form .error input[type="text"],
.search-form .error input[type="text"] {
	border-color: #f00;
}
.post-password-form input[type="password"],
.search-form input[type="text"] {
	width: 150px;
}
.commentlist {
	margin: 0 0 14px;
}
.commentlist .edit-link {
	margin: 0;
}
.commentlist-item .commentlist-item {
	padding: 0 0 0 3em;
}
.comment,
.commentlist-holder {
	overflow: hidden;
}
.commentlist-item .commentlist-item,
.commentlist-item + .commentlist-item {
	padding-top: 14px;
}
.commentlist .avatar-holder {
	float: left;
	margin: 0 14px 4px 0;
}
.comment-form label {
	display: block;
	padding-bottom: 4px;
}
.comment-form textarea {
	padding: 3px 4px;
	overflow: auto;
	margin: 0;
	height: 120px;
	min-height: 120px;
	width: 300px !important;
}
.comment-form input[type="submit"],
.search-form input[type="submit"],
.post-password-form input[type="submit"] {
	border: none;
	background: #ffcf0b;
	font-weight: bold;
	border-radius: 5px;
	cursor: pointer;
	height: 22px;
	line-height: 22px;
	padding: 0 5px;
	vertical-align: top;
}
.comment-form input[type="submit"]:hover,
.search-form input[type="submit"]:hover,
.post-password-form input[type="submit"]:hover {
	opacity: 0.8;
}
.gallery-item dt {
	float: none;
	padding: 0;
}
.navigation {
	overflow: hidden;
	margin: 0 0 14px;
}
.navigation .next {
	float: left;
}
.navigation .prev {
	float: right;
}
.wp-caption {
	max-width: 98%;
	clear: both;
	border: 1px solid #ccc;
	padding: 5px;
	width: auto !important;
}
.wp-caption img {
	vertical-align: top;
}
.wp-caption p {
	margin: 10px 0 0;
}
div.aligncenter {
	margin: 0 auto 14px;
}
img.aligncenter {
	display: block;
	margin: 0 auto;
}
.alignleft {
	float: left;
	margin: 0 14px 4px 0;
}
.alignright {
	float: right;
	margin: 0 0 4px 14px;
}
#calendar_wrap th,
#calendar_wrap td {
	text-align: center;
}
input[type=text],
input[type=password],
input[type=email],
input[type=tel],
input[type=file],
input[type=submit],
input[type=search],
textarea {
	-webkit-appearance: none;
	border-radius: 0;
}
input[type="search"] {
	-webkit-appearance: none;
}
input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}
input[type="search"]::-webkit-search-decoration {
	display: none;
}
#wrapper {
	position: relative;
	overflow: hidden;
}
.w1 {
	max-width: 1920px;
}
#header {
	position: relative;
	padding: 17px 10024px 18px 10px;
	margin: 0 -9999px 0 0;
	background: #000;
	z-index: 2;
}
#header:after {
	content: '';
	display: block;
	clear: both;
}
.logo {
	float: right;
}
.logo img {
	display: block;
}
#main {
	padding: 0 7px 0 31px;
}
#main.home-page {
	padding-right: 0;
}
.twocolumns:after {
	content: '';
	display: block;
	clear: both;
}
.twocolumns {
	padding: 0 0 10px;
}
.home-page .twocolumns {
	float: left;
	margin: 0 10px 0 0;
	width: 500px;
}
.cycle-gallery02,
.cycle-gallery {
	position: relative;
	overflow: hidden;
}
.cycle-gallery02 .mask,
.cycle-gallery .mask {
	position: relative;
	overflow: hidden;
	width: 100%;
}
.cycle-gallery02 .mask .slide {
	height: auto;
}
.cycle-gallery02 .mask .slideset,
.cycle-gallery .mask .slideset {
	width: 99999px;
	float: left;
}
.cycle-gallery02 .mask .slide,
.cycle-gallery .mask .slide {
	float: left;
	overflow: hidden;
}
.cycle-gallery02 .mask .slide.active,
.cycle-gallery .mask .slide.active {
	z-index: 1;
}
.cycle-gallery02 .mask .slide img,
.cycle-gallery .mask .slide img {
	width: 100%;
	height: auto;
	display: block;
}
.cycle-gallery .btn-prev,
.cycle-gallery .btn-next {
	position: absolute;
	z-index: 250;
	left: 0;
	top: 50%;
	margin-top: -15px;
	background: url('images/sprite.png') no-repeat;
	background-size: 126px 66px;
	background-position: 0px 0px;
	width: 33px;
	height: 30px;
	overflow: hidden;
	text-indent: -9999px;
}
.cycle-gallery .btn-next {
	left: auto;
	right: 0;
	background-position: -33px 0px;
}
#sidebar {
	font-size: 12px;
	line-height: 15px;
}
.inner #sidebar {
	float: left;
	width: 151px;
}
.aside {
	overflow: hidden;
}
.posters-gallery .aside {
	/* max-width:500px; */
	max-width: 60%;
	margin: 0 !important;
}
.posters-gallery .aside .cycle-gallery02 [class^=fit-the-] {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
}
.posters-gallery .aside .cycle-gallery02 .fit-the-height img {
	height: 100%;
	width: auto;
	display: inline;
}
.posters-gallery .aside .cycle-gallery02 .fit-the-width:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 1px;
	height: 100%;
	margin: 0 -5px 0 0;
}
.posters-gallery .aside .cycle-gallery02 .fit-the-width img {
	width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
}
.aside img {
	width: 100%;
	height: auto;
	display: block;
}
.map-holder {
	position: relative;
}
.open-close a {
	text-decoration: none;
}
.open-close .opener {
	display: none;
}
#nav {
	position: absolute;
	top: 7px;
	left: 11px;
	font-size: 11px;
	z-index: 10;
}
#nav ul {
	margin: 0;
	padding: 11px 0 2px 20px;
	background: #111;
	float: left;
}
#nav ul li {
	list-style: none outside;
	float: left;
	margin: 0 60px 0 0;
}
#nav ul li:first-child {
	margin-right: 137px;
}
/* portfolio menu padding was 113 changed to 137 added March 27 15*/
#nav ul li:last-child {
	margin-right: 44px;
}
#nav ul .active a {
	color: #ffce00;
}
.navbar {
	padding: 0 0 19px;
}
.open-close .holder {
	overflow: hidden;
	padding: 0 0 36px;
	margin: 0 -380px 0 0;
}
.add-nav {
	float: left;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 12px 20px 0 0;
	width: 300px;
	display: none;
}
.add-nav:first-child {
	width: 160px;
}
.add-nav.active {
	display: block;
}
.add-nav ul,
.navbar ul {
	margin: 0;
	padding: 0;
	font-size: 11px;
}
.add-nav.submenu-about {
	padding-left: 24px;
}
.navbar ul ul {
	padding-top: 5px;
	margin-bottom: -5px;
	padding-left: 14px;
	text-indent: -7px;
}
.add-nav li,
.navbar li {
	list-style: none outside;
	padding: 0 0 5px;
	-moz-transition: all 0.4s ease;
	-webkit-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
.add-nav li div {
	position: relative;
	display: inline-block;
}
.add-nav .active > div > a,
.navbar > .active > a,
.navbar > .active02.active > a,
.navbar .active02 .active a {
	color: #ffce00;
}
.add-nav ul ul {
	display: none;
}
.navbar ul ul a {
	position: relative;
}
.navbar ul ul a:before {
	display: inline-block;
	vertical-align: top;
	content: '>';
	margin: 0 5px 0 0;
}
.navbar li.active02 > a,
.navbar li.active > a {
	color: #ffce00;
}
.add-nav ul ul li {
	display: inline;
	white-space: nowrap;
	padding: 0 10px 0 0;
}
.add-nav ul .active ul {
	display: block;
	top: 0;
	position: absolute;
	z-index: 100;
	padding: 0 0 0 36px;
	/*margin: 0 0 0 -200px;*/
	left: 100%;
	white-space: nowrap;
}
.add-nav ul .active ul:after {
	position: absolute;
	vertical-align: top;
	top: 0;
	left: 16px;
	content: '>';
	color: #ffce00;
}
.inner #content {
	padding: 149px 33px;
	float: left;
	width: 302px;
}
.inner.alt02 #content {
	width: 809px;
}
.inner.pre_ajax_load #content {
	width: 809px;
}
.inner.alt #content {
	width: 809px;
}
#content {
	padding: 0 10px 0 0;
}
#content p {
	margin-bottom: 33px;
}
.content-section {
	overflow: hidden;
}
.home-block {
	font-size: 23px;
	line-height: 29px;
}
.home-block a {
	text-decoration: none;
}
.home-block ul {
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 12px;
	line-height: 15px;
}
.home-block ul li {
	list-style: none outside;
	padding-bottom: 3px;
}
.contact-block {
	padding: 0 0 15px;
	font-size: 12px;
	line-height: 14px;
}
.contact-block a {
	text-decoration: none;
}
.contact-block mark {
	background: none;
	color: #fff;
}
.contact-block address {
	font-style: normal;
	margin: 0 0 26px;
	color: #fff;
}
.contact-block address .tel-link {
	color: #fff;
}
#content .contact-block p {
	margin-bottom: 14px;
}
.social-netwoks {
	padding: 0 0 0 1px;
	margin: 0;
	list-style: none;
	font-size: 11px;
	line-height: 14px;
}
.social-netwoks li {
	list-style: none outside;
	padding: 7px 0 2px 33px;
}
.social-netwoks a {
	position: relative;
	text-decoration: none;
}
.social-netwoks a:before {
	position: absolute;
	content: '';
	top: -3px;
	left: -34px;
	background-image: url('images/sprite.png');
	background-repeat: no-repeat;
	background-color: white;
	background-size: 126px 66px;
	background-position: 0px 0px;
	width: 20px;
	height: 20px;
	z-index: 5;
	transition: 1s 0s ease 0s;
}
.social-netwoks a:hover:before {
	background-color: #ffc91f !important;
}
.social-netwoks a.twitter:before {
	background-position: -66px -30px;
}
.social-netwoks a.facebook:before {
	background-position: -86px -30px;
}
.social-netwoks a.behance:before {
	background-position: -106px -30px;
}
.home-block p {
	margin-right: 17%;
}
.intro-page-block p,
.home-block p
{
	color: #ffffff;
	font-family: 'Whitney A', 'Whitney B';
	font-weight: 300;
	font-size: 27px;
	line-height: 34px;
	margin-top: -5px;
}
.intro-page-block p:after {
	content: ' >';
	color: #ffce00;
}
.intro-page-block {
	font-size: 23px;
	line-height: 29px;
	text-decoration: none;
}
.intro-page-block:hover {
	color: #ffffff;
}
.content-holder {
	color: #fff;
	margin-right: 20px;
}
.content-holder h1 {
	margin: 0 0 21px;
}
.content-holder .aligncenter {
	padding: 0 0 10px;
	margin: 0;
}
#content .aligncenter img {
	display: block;
	max-width: 100%;
	height: auto;
}
.alt .content-holder h1 {
	margin-bottom: 9px;
}
#content .content-holder p {
	margin-bottom: 16px;
}
.content-holder .holder {
	overflow: hidden;
}
.content-holder .alignleft {
	margin-right: 22px;
}
.alt .content-holder .holder h1 {
	margin-bottom: 1px;
}
#content .content-holder .holder p {
	margin-bottom: 10px;
}
#content .content-holder .holder h1 + p {
	margin-bottom: 20px;
}
.main-post {
	font-size: 13px;
	line-height: 15px;
}
.main-post .alignleft {
	margin-right: 27px;
}
#content .main-post .holder p {
	margin-bottom: 15px;
	margin-right: 32%;
}
/* Narrower paragraphs on bio pages. */
.body-class-parent-pageid-34 #content p {
  margin-right: 25%;
}
/* Narrower content area on Awards and Publications pages. */
.body-class-page-id-36 .content-holder,
.body-class-page-id-38 .content-holder
{
  padding-right: 25%;
}
.link-more {
	position: relative;
	text-decoration: none;
}
.link-more:before {
	display: inline-block;
	vertical-align: top;
	margin: -1px 5px 0 0;
	content: '>';
	color: #ccc;
}
.jcf-hidden {
	display: block !important;
	position: absolute !important;
	left: -9999px !important;
}
.scrollable-area-wrapper {
	position: relative;
	overflow: hidden;
	width: 100% !important;
	height: 100% !important;
}
.scrollable-area.hscrollable {
	max-height: 735px !important;
}
.scrollable-area-wrapper .hscrollbar {
	width: 100%;
	position: static;
	height: 15px;
}
.scrollable-area-wrapper .hscroll-left .scrollable-area-wrapper .hscroll-right {
	background: #777;
	width: 0;
	height: 0;
	float: left;
}
.scrollable-area-wrapper .hscroll-line {
	background: #666;
	width: 100% !important;
	float: left;
	height: 15px;
}
.scrollable-area-wrapper .hscroll-slider {
	background: #ffce00;
	width: 20px;
	height: 15px;
}
.scrollable-area .cycle-gallery .mask .slide img {
	max-width: none;
	max-height: 720px;
}
.scrollable-area .cycle-gallery {
	width: 10408px;
	margin: 0 0 15px;
	height: 720px;
}
.scrollable-area .cycle-gallery .mask {
	height: 720px !important;
}
.scrollable-area .cycle-gallery .btn-prev,
.scrollable-area .cycle-gallery .btn-next {
	width: 38px;
	height: 66px;
	margin-top: -33px;
	background-position: -92px 0;
	display: none;
}
.scrollable-area .cycle-gallery .btn-next {
	background-position: -148px 0;
}
.details-info {
	overflow: hidden;
	color: #fff;
	padding: 14px 0 0;
}
.details-info .date02 {
	float: right;
	margin: 0 0 0 10px;
}
.details-info .date01 {
	float: left;
	margin: 0 10px 0 0;
}
#main.verical-gallery {
	padding: 0 0 0 31px;
}
.inner04 .content-section {
	overflow: hidden;
}
.video-holder {
	padding: 0;
	position: relative;
}
.body-class-timeline-page .aside-desktop {
	padding: 0;
}
/* carousel basic styles */
.gallery {
	position: relative;
	margin: 0;
}
.gallery .mask {
	position: relative;
	overflow: hidden;
	height: 100%;
}
.gallery .mask .slideset {
	width: 99999px;
	overflow: hidden;
}
.gallery .mask .slide {
	width: 100%;
	float: left;
	overflow: hidden;
}
.gallery .default-state {
	margin: 3em;
}
.gallery .full-state {
	overflow: hidden;
}
.gallery .mask .slide img {
	width: auto;
	margin: 0 auto;
	max-width: 100%;
}
.gallery .mask .slide .img-holder.fit-the-width img {
	width: 100%;
}
.gallery .mask .slide .full-state img {
	display: inline;
	max-width: none;
	vertical-align: top;
}
.gallery .btn-prev,
.gallery .btn-next,
.cycle-gallery02 .btn-prev,
.cycle-gallery02 .btn-next {
	position: absolute;
	z-index: 50;
	left: 0;
	top: 50%;
	margin-top: -15px;
	background: url('images/sprite.png') no-repeat;
	background-size: 126px 66px;
	background-position: -66px 0px;
	width: 29px;
	height: 30px;
	overflow: hidden;
	text-indent: -9999px;
	opacity: 0.4;
	-moz-transition: opacity 0.4s ease;
	-webkit-transition: opacity 0.4s ease;
	-o-transition: opacity 0.4s ease;
	transition: opacity 0.4s ease;
}
.gallery .btn-next,
.cycle-gallery02 .btn-next {
	left: auto;
	right: 0;
	background-position: -95px 0px;
}
.gallery.hover .btn-prev,
.gallery.hover .btn-next,
.cycle-gallery02.hover .btn-prev,
.cycle-gallery02.hover .btn-next {
	opacity: 1;
}
.gallery iframe,
.gallery02 iframe {
	max-width: none;
}
.acf-map img {
	max-width: none;
}
.cycle-gallery02 .img-holder,
.gallery .img-holder {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	white-space: nowrap;
	text-align: center;
}
.gallery .img-holder:after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	width: 1px;
	margin: 0 -5px 0 0;
}
.gallery .img-holder img {
	vertical-align: middle;
	display: inline-block;
}
.cycle-gallery02 .fluid-width-video-wrapper,
.gallery .img-holder {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
/* .cycle-gallery02 .fit-the-height img, */
.cycle-gallery02 .fit-the-height img {
	width: auto;
	margin: 0px auto;
	max-width: 100%;
}
.gallery .fit-the-height img {
	width: auto !important;
	margin: 0 auto;
	height: 100% !important;
}
.cycle-gallery02 .full-state .fit-the-height img,
.gallery .full-state .fit-the-height img {
	height: auto !important;
	width: auto !important;
}
.gallery .mask .slide .full-state img,
/* .cycle-gallery02 .mask .slide .full-state img{height: auto !important;} */
/* .cycle-gallery02 .mask .slide a > img{height: auto !important;} */
.cycle-gallery02 .mask .slide a > img {
	width: auto;
	margin: 0 auto;
	max-width: 100%;
}
.gallery .mask .slide .full-state .img-holder img {
	width: auto !important;
	height: auto !important;
	max-width: none !important;
	margin: 0 !important;
}
.gallery .mask .slide a > img {
	width: 100% !important;
	height: auto !important;
	max-width: none !important;
	margin: 0 !important;
}
.cycle-gallery02 .alignleft {
	text-align: left !important;
	margin: 0 !important;
}
.cycle-gallery02 .alignright {
	text-align: right !important;
	margin: 0 !important;
}
.gallery .alignleft {
	text-align: left !important;
	margin: 0 !important;
}
.gallery .alignright {
	text-align: right !important;
	margin: 0 !important;
}
.cghPagination {
	margin: 0;
	padding: 0;
}
.cghPagination li {
	list-style-type: none;
	display: inline-block;
	margin-right: 3px;
}
.cghPagination li.prev:after {
	content: '\e900';
}
.cghPagination li.slide.active:after {
	content: '\e901';
}
.cghPagination li.slide:after {
	content: '\e902';
}
.cghPagination li.next:after {
	content: '\e903';
}
.cghPagination li:after {
	cursor: pointer;
	color: #ababab;
	font: 8px/8px icomoon;
}
.cghPagination li:hover:after {
	color: white;
}
.blog_posts p,
.body-class-single-post #content .content-holder p
{
  padding-right: 37.5%;
}
.blog_posts p img,
.blog_posts p iframe,
.body-class-single-post #content .content-holder p img,
.body-class-single-post #content .content-holder p iframe
{
  /* 1 / (1 - 0.375) = 1.6 */
  max-width: 160%;
  width: 160%;
}
li.page-item-6078 {
  margin-bottom: 24px;
}
body.loading, body.loading * {
  cursor: wait;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1219px){
  .content-section{
    padding: 0 0 0 33px;
  }
  .aside{
    padding: 0;
  }
  .ajax-tabs-container {
    padding-right: 25px;
  }
}
@media only screen and (max-width: 1200px) {
  .home-page .twocolumns {
    float: none;
    width: 100%;
    padding: 0 0 30px;
    margin: 0;
  }
  #main.home-page {
    padding: 0 31px 10px;
  }
  #main.posters-gallery {
    padding-right: 0;
  }
  .home-page .aside {
    margin: 0 -31px;
  }
  .content-section {
    overflow: hidden;
  }
  .verical-gallery .content-section .frame {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .verical-gallery .content-section .aside {
    min-height: 10px !important;
    display: table-header-group;
    width: 100%;
  }
  .verical-gallery .content-section #content {
    float: none;
    display: table-footer-group;
  }
  .verical-gallery .content-holder {
    width: 50%;
  }
  .verical-gallery .ajax-tabs-container {
    margin: 0px 0 20px;
  }
  .body-class-home main#main {
    display: table;
    width: 100%;
    box-sizing: border-box;
    table-layout: fixed;
    padding: 20px 20px 0 20px;
  }
  .body-class-home .aside {
    display: table-header-group;
  }
  .body-class-home .twocolumns {
    display: table-footer-group;
  }
}
@media only screen and (max-width: 1099px) {
	.inner.pre_ajax_load #content,
	.inner.alt #content,
  .inner.alt02 #content
  {
		float: none;
		overflow: hidden;
		width: auto;
		max-width: 809px;
	}
	.inner.alt #content {
		max-width: 809px;
	}
	.inner.inner04.alt #content {
		float: left;
		width: 540px;
		overflow: visible;
	}
	.twocolumns.inner03 {
		width: 420px;
  }
  .body-class-parent-pageid-34 #content p {
    margin-right: 0;
  }
  .gallery .fill-state {
		margin: 0;
		overflow: hidden;
	}
}
@media only screen and (min-width: 1025px) {
	.tel-link {
		cursor: default;
		pointer-events: none;
	}
}
@media only screen and (max-width: 1023px) {
	.body-class-project-page #wrapper {
		overflow: visible;
	}
	.body-class-project-page #wrapper.active {
		overflow: hidden;
	}
	#header {
		padding-right: 25px;
		margin-right: 0;
	}
	#nav ul li:last-child {
		margin-right: 10px;
	}
	.content-section {
		overflow: hidden;
	}
	.content-section .frame {
		display: table;
		width: 100%;
		table-layout: fixed;
	}
	.content-section .aside {
		min-height: 10px !important;
		display: table-header-group;
		width: 100%;
	}
	.posters-gallery .content-section .aside {
		display: block;
		width: auto;
	}
	.content-section #content {
		float: none;
		display: table-footer-group;
	}
	.posters-gallery .content-section #content {
		display: block;
		float: left;
	}
	.contact-page .content-section #content {
		display: table-header-group;
	}
	.contact-page .content-section .aside {
		display: table-footer-group;
	}
	.contact-page .content-section.alt {
		padding-top: 13px;
	}
	.posters-gallery .content-holder {
		width: auto;
	}
	.alt05 .content-holder {
		width: auto;
		max-width: 599px;
	}
	.alt05 #content {
		padding-right: 10px;
	}
	.content-section.alt {
		padding-top: 149px;
	}
	.map-holder,
	.acf-map {
		padding-top: 30px;
	}
	.content-holder.main-post,
	.content-holder.full-widht {
		width: 100%;
	}
	.main-post .alignleft {
		width: 30%;
	}
	.twocolumns.inner03 {
		width: 400px;
	}
	.inner.inner04.alt #content {
		width: 300px;
	}
	pre {
		white-space: pre-line;
		word-break: normal;
		word-wrap: normal;
	}
	.ajax-tabs-container {
		margin: 152px 0 20px;
	}
}
@media only screen and (max-width: 974px) {
	.posters-gallery .content-section .frame {
		display: table;
		width: 100%;
		table-layout: fixed;
	}
	.posters-gallery .content-section #content {
		float: none;
		display: table-footer-group;
	}
	.posters-gallery .content-section .aside {
		min-height: 10px !important;
		display: table-header-group;
		width: 100%;
	}
	.posters-gallery .content-section {
		max-width: 400px;
	}
	.posters-gallery .cycle-gallery02 {
		margin: 152px 0 20px;
	}
	.posters-gallery .aside {
		max-width: 500px;
	}
}
@media only screen and (min-width: 768px) and (max-width: 10000px) {
	.open-close .slide {
		height: auto !important;
	}
}

@media only screen and (max-width: 767px) {
	.posters-gallery .cycle-gallery02 {
		margin-top: 0;
	}
	.posters-gallery .content-section {
		max-width: none;
	}
	.posters-gallery .content-section #content,
	.posters-gallery .content-section .aside {
		display: block;
		width: 100%;
		margin: 0 auto !important;
	}
	#main.posters-gallery {
		padding: 0 20px 20px;
	}
	#header {
		padding: 17px 25px 18px 10px;
		margin: 0;
	}
	.cycle-gallery02 .mask .slide img {
		min-height: 10px;
	}
	.twocolumns,
	.twocolumns.alt,
	.twocolumns.pre_ajax_load {
		float: none;
		margin: 0 0 10px;
		width: 100%;
	}
	.twocolumns:after {
		content: '';
		display: block;
		clear: both;
	}
	.hide-logo .logo {
		position: relative;
	}
	.hide-logo .logo:after {
		position: absolute;
		content: '';
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: transparent;
	}
	#main {
		padding: 0 20px 20px;
	}
	.inner #sidebar,
	#sidebar {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		z-index: 100;
		right: 0;
		width: 100%;
	}
	.open-close {
		position: relative;
		-webkit-transition: all 0.25s linear;
		transition: all 0.25s linear;
	}
	.open-close .opener {
		position: absolute;
		top: 13px;
		left: 50px;
		display: block;
		z-index: 100;
		color: #fff;
	}
	.active .open-close .opener {
		left: 50%;
		margin-left: 37px;
	}
	.open-close .opener:after {
		position: absolute;
		content: '';
		top: 4px;
		background: url('images/sprite.png') no-repeat;
		background-size: 126px 66px;
		background-position: -66px -50px;
		width: 22px;
		height: 10px;
		left: -30px;
	}
	.open-close .slide {
		width: 50%;
		position: absolute;
		top: 0;
		left: -50%;
		bottom: 0;
		-webkit-transition: all 0.25s linear;
		transition: all 0.25s linear;
		overflow: auto;
		background: #000;
		z-index: 1;
	}
	.active .open-close .slide {
		left: 0;
	}
	.active .w1 {
		margin: 0 0 0 50%;
		min-width: 768px;
		width: auto;
	}
	#nav {
		position: relative;
		top: 0;
		left: 0;
		background: #000;
		padding: 47px 20px 0;
		border-bottom: 1px solid #5d5d5d;
	}
	#nav ul {
		background: none;
		padding: 0;
		float: none;
	}
	#nav ul li,
	#nav ul li:first-child,
	#nav ul li:last-child {
		float: none;
		margin: 0 0 10px;
	}
	.open-close .holder {
		margin: 0;
		padding: 0;
	}
	.add-nav,
	.add-nav:first-child,
	.navbar {
		float: none;
		padding: 20px;
		background: #000;
		border-bottom: 1px solid #5d5d5d;
		width: 100%;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
	.add-nav li,
	.navbar li {
		padding-bottom: 10px;
	}
	.add-nav ul .active ul {
		display: block;
		margin: 0;
		padding: 10px 0 0 10px;
		position: relative;
		left: 0;
		right: 0;
	}
	.add-nav ul .active ul:after {
		display: none;
	}
	.add-nav ul ul li {
		white-space: normal;
		padding: 0 0 10px;
		display: block;
	}
	.inner #content {
		padding: 20px 5px 10px;
	}
	.aside {
		padding: 0 5px;
	}
	.home-page .aside {
		padding: 0;
	}
	#content {
		padding: 20px 0 0;
	}
	#wrapper:after {
		position: absolute;
		content: '';
		top: 0;
		left: 0;
		right: 0;
		background: #000;
		height: 47px;
		z-index: 1;
	}
	.content-holder,
	.verical-gallery .content-holder {
		width: 100%;
		padding: 0 20px;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
    margin-top: 20px;
	}
	.alt05 .content-holder {
		padding: 0;
	}
	.content-section {
		padding: 20px 0 0;
	}
  /* The following will switch the slider and the text. */
  /*
  .content-section #content,
	.verical-gallery .content-section #content {
		display: table-header-group;
	}
	.content-section .aside,
	.verical-gallery .content-section .aside {
		display: table-footer-group;
	}
  */
	.inner04 .content-section #content,
	.inner04 .content-section .aside {
		display: block;
	}
	.content-section.alt {
		padding-top: 20px;
	}
	.main-post .alignleft {
		width: 100%;
	}
	#content .alignleft {
		float: none;
		margin: 0 0 15px;
		text-align: center;
	}
	#content .alignleft img {
		display: inline-block;
		vertical-align: top;
	}
	.twocolumns.inner03 {
		width: auto;
		margin: 0;
	}
	.scrollable-area-wrapper {
		margin-top: 15px;
	}
	.inner.inner04.alt #content {
		float: none;
		width: 100%;
		padding: 0;
	}
	.inner04 .content-section {
		overflow: visible;
	}
	.ajax-tabs-container,
	.verical-gallery .ajax-tabs-container {
		margin: 0;
		padding: 0 20px;
	}
	#main.verical-gallery {
		padding: 0;
	}
	.aside-desktop {
		display: none;
	}
	html,
	body {
		height: 100%;
	}
	.body-class-timeline-page #wrapper {
		min-height: 100%;
	}
	.timeline {
		display: none !important;
	}
	.gallery .mask {
		margin-bottom: -1px;
	}
  .intro-page-block p,
  .home-block p
  {
    font-size: 24px;
    line-height: 32px;
  }
  #content .main-post .holder p
  {
    margin-right: 0;
  }
  .content-section{
    padding: 20px 0 0;
  }
  .ajax-tabs-container {
    padding-right: 0px;
  }
	.commentlist-item .commentlist-item {
		padding: 0;
	}
  .blog_posts p,
  .body-class-single-post #content .content-holder p
  {
    padding-right: 0;
  }
  .blog_posts p img,
  .blog_posts p iframe,
  .body-class-single-post #content .content-holder p img,
  .body-class-single-post #content .content-holder p iframe
  {
    /* 1 / (1 - 0.375) = 1.6 */
    max-width: 100%;
    width: 100%;
  }
}
@media only screen and (max-width: 479px) {
	.logo {
		width: 180px;
		padding-top: 2px;
	}
	.home-block {
		font-size: 20px;
		line-height: 24px;
	}
	#main,
	#main.home-page {
		padding: 0 10px 20px;
	}
	.home-page .aside {
		margin: 0 -10px;
	}
	.active #header:before {
		position: absolute;
		content: '';
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background: #000;
	}
}
