/* =========================================================================================== 
BOOTSTRAP 3 MODALS MODIFIED ------------------------------------------------------------------
============================================================================================== */
.modal {
	overflow-y: auto;
	padding: 0px;
	overflow-x: hidden;
}
.modal-content {
	position: relative;
	background-color: #fff;
	border: 0px solid #999;
	border: 0px solid rgba(0,0,0,.2);
	border-radius: 0px;
	-webkit-box-shadow: 0 3px 9px rgba(0,0,0,.1);
	box-shadow: 0 3px 9px rgba(0,0,0,.1);
	background-clip: padding-box;
	outline: 0;
}
.modal-footer {
	margin-top: 0px;
	padding: 0px;
	border-top: none;
	background: #212121;
}
ul.modal-tags,
ul.modal-links {
	list-style: none;
	padding: 0px;
}
ul.modal-links li a:hover { color: #ffffff; }
ul.modal-tags li {
	color: #a0a0a0;
	display: inline-block;
}
.modal-header {
	border-bottom: none;
	min-height: 16.42857143px;
	background: #212121;
	color: #ffffff;
	padding: 35px;
}
.modal-body {
	position: relative;
	padding: 0px;
}
.modal-header .close {
	float: right;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	color: #ffffff;
	text-shadow: none;
	opacity: 1;
	filter: alpha(opacity=100);
}
.modal-header .close:hover { color: #e8230f; }
.modal-open {
	overflow: auto;
	margin-right: 0px;
}
.modal-backdrop { background-color: #000000; }

/* =========================================================================================== 
MODAL RESPONSIVENESS -------------------------------------------------------------------------
============================================================================================== */

@media (min-width: 768px) {
.modal-dialog {
	width: 600px;
	margin: 30px auto;
}
#teamModal .modal-dialog {
	width: 500px;
	margin: 30px auto;
}
}
/* =========================================================================================== 
FLEX VIDEO SETTINGS FOR MODAL ----------------------------------------------------------------
============================================================================================== */
.flex-video {
	position: relative;
	padding-top: 25px;
	padding-bottom: 67.5%;
	height: 0;
	margin-bottom: 16px;
	overflow: hidden;
}
.flex-video.widescreen {
	padding-bottom: 57.25%;
	margin: 0px;
}
.flex-video.vimeo { padding-top: 0; }
.flex-video iframe,
.flex-video object,
.flex-video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
 @media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px), only screen and (max-width: 767px) {
.flex-video { padding-top: 0; }
}
/* =========================================================================================== 
BOOTSTRAP 3 IMAGE THUMB MODIFIED -------------------------------------------------------------
============================================================================================== */

.img-thumbnail {
	padding: 0px;
	line-height: 1.42857143;
	background-color: #fff;
	border: 0px solid #ddd;
	border-radius: 0px;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	display: inline-block;
	max-width: 100%;
	height: auto;
	width: 100%;
}
/* =========================================================================================== 
BOOTSRAP 3 BUTTON DEFAULT MODIFIED -----------------------------------------------------------
============================================================================================== */

.btn {
	display: inline-block;
	margin-bottom: 0;
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-image: none;
	border: none;
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	border-radius: 0px;
}
a.btn-default {
	color: #ffffff;
	background-color: #e8230f;
	border-color: #ccc;
	text-transform: uppercase;
}
.sidebar .widget a.btn-default:hover {
	color: #1b1b1b;
	background-color: #ffffff;
}
/* =========================================================================================== 
FILTERS DROPDOWN -----------------------------------------------------------------------------
============================================================================================== */
.work-filter {
	margin-bottom: 40px;
	margin-top: 0px;
}
.work-filter i {
	font-size: 24px;
	margin-right: 5px;
}
.work-filter a {
	color: #212121;
	font-size: 22px;
	font-family: 'Fjalla One', sans-serif;
	text-decoration: none;
	outline: none;
}
.work-filter a:hover { color: #e8230f; }
.work-filter .dropdown-menu li a {
	font-size: 13px;
	font-family: 'PT Sans', sans-serif;
}
.work-filter .dropdown-menu:before {
	position: absolute;
	top: -7px;
	left: 3px;
	display: inline-block;
	border-right: 16px solid transparent;
	border-bottom: 16px solid #ccc;
	border-left: 16px solid transparent;
	border-bottom-color: rgba(0, 0, 0, 0);
	content: '';
}
.work-filter .dropdown-menu:after {
	position: absolute;
	top: -6px;
	left: 3px;
	display: inline-block;
	border-right: 16px solid transparent;
	border-bottom: 16px solid #ffffff;
	border-left: 16px solid transparent;
	content: '';
}
.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	display: none;
	float: left;
	min-width: 160px;
	padding: 10px 0px;
	margin: 10px 0 0;
	list-style: none;
	font-size: 14px;
	background-color: #fff;
	border: 0px solid #ccc;
	border: 0px solid rgba(0,0,0,.15);
	border-radius: 0px;
	-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
	box-shadow: 0 6px 12px rgba(0,0,0,.175);
	background-clip: padding-box;
}
.dropdown-menu>li { border-bottom: 1px dashed #e7e7e7; }
.dropdown-menu>li>a {
	display: block;
	padding: 8px 20px;
	clear: both;
	font-weight: 400;
	line-height: 1.42857143;
	color: #212121;
	white-space: nowrap;
}
.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
	text-decoration: none;
	color: #ffffff;
	background-color: #212121;
}
.open > .dropdown-menu {
	animation-name: slidenavAnimation;
	animation-duration: .4s;
	animation-iteration-count: 1;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
	-webkit-animation-name: slidenavAnimation;
	-webkit-animation-duration: .4s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: ease;
	-webkit-animation-fill-mode: forwards;
	-moz-animation-name: slidenavAnimation;
	-moz-animation-duration: .4s;
	-moz-animation-iteration-count: 1;
	-moz-animation-timing-function: ease;
	-moz-animation-fill-mode: forwards;
}
@keyframes slidenavAnimation { from {
 opacity: 0;
}
to { opacity: 1; }
}
@-webkit-keyframes slidenavAnimation { from {
 opacity: 0;
}
to { opacity: 1; }
}
/* =========================================================================================== 
PORTFOLIO ISOTOPE ----------------------------------------------------------------------------
============================================================================================== */

.isotope-item { z-index: 2; }
.isotope-hidden.isotope-item {
	pointer-events: none;
	z-index: 1;
}
.isotope,
.isotope .isotope-item {
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	-ms-transition-duration: 0.8s;
	-o-transition-duration: 0.8s;
	transition-duration: 0.8s;
}
.isotope {
	-webkit-transition-property: height, width;
	-moz-transition-property: height, width;
	-ms-transition-property: height, width;
	-o-transition-property: height, width;
	transition-property: height, width;
}
.isotope .isotope-item {
	-webkit-transition-property: -webkit-transform, opacity;
	-moz-transition-property: -moz-transform, opacity;
	-ms-transition-property: -ms-transform, opacity;
	-o-transition-property: -o-transform, opacity;
	transition-property: transform, opacity;
}
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
	-webkit-transition-duration: 0s;
	-moz-transition-duration: 0s;
	-ms-transition-duration: 0s;
	-o-transition-duration: 0s;
	transition-duration: 0s;
}
.portfolio {
	margin-bottom: 40px;
	/*margin-top: 40px;*/
}
.portfolio-item {
	margin-bottom: 40px;
	/*background: #ffffff;*/
}
.portfolio-content-wrap {
	display: table;
	width: 100%;
	padding: 0px 35px;
	overflow: hidden;
	height: 220px;
}
.portfolio-content {
	position: relative;
	width: 50%;
}
.portfolio-content-center {
	display: table-cell;
	vertical-align: middle;
}
a.more-plus {
	position: absolute;
	top: 15px;
	right: 15px;
}
.portfolio-image { width: 50%; }
.more-masterpieces { margin-top: 40px; }
#portfolio-items .row .col-md-6:first-child { padding-left: 0px; }
#portfolio-items .row .col-md-6:last-child { padding-right: 0px; }

/* All Under 1024 */
@media screen and (max-width: 1025px) {
#portfolio-items .row .col-md-6:first-child { padding-left: 15px; }
#portfolio-items .row .col-md-6:last-child { padding-right: 15px; }
}

/* iPad Landscape */
@media screen and (min-width: 1023px) and (max-width: 1025px) and (orientation:landscape) {
.portfolio-content-wrap { height: 185px; }
.portfolio-content-center p { display: none; }
}

/* iPad Portrait */
 @media screen and (min-width: 767px) and (max-width: 769px) and (orientation:portrait) {
.portfolio-content-wrap { height: 295px; }
}

/* iPhone 3+4 Landscape */
 @media screen and (min-width: 479px) and (max-width: 481px) and (orientation:landscape) {
.portfolio-content-center p { display: none; }
.portfolio-content-wrap { height: 175px; }
}

/* iPhone 5 Landscape */
 @media screen and (min-width: 567px) and (max-width: 569px) and (orientation:landscape) {
.portfolio-content-wrap { height: 215px; }
}

/*  Full Width Image & Content */
@media screen and (max-width: 425px) {
.portfolio-image {
	width: 100%;
	float: none;
}
.portfolio-content {
	position: relative;
	width: 100%;
	float: none;
}
}
/* =========================================================================================== 
OWL SLIDER -----------------------------------------------------------------------------------
============================================================================================== */
#owl-demo .item {
	background: #ffffff;
	padding: 0px;
	margin: 0px;
	color: #FFF;
	padding: 40px 0px;
	border: 1px solid #e7e7e7;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	text-align: center;
	z-index: 1;
}
#owl-demo .item:hover { cursor: url(images/grabbing.png) 8 8, move; }
#owl-portfolio .item {
	background: #ffffff;
	padding: 0px;
	margin: 0px;
	color: #FFF;
	padding: 0px 0px;
	border: none;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	text-align: center;
	z-index: 1;
	width: 100%;
	display: block;
}
.owl-buttons {
	position: absolute;
	top: 50%;
	margin-top: -50px;
	width: 100%;
	z-index: 9999;
	font-family: 'FontAwesome';
}
.owl-next {
	float: right;
	background: #212112;
	color: #ffffff;
	padding: 30px 15px;
}
.owl-prev {
	float: left;
	background: #212112;
	color: #ffffff;
	padding: 30px 15px;
}
.owl-next:hover { background: #e8230f; }
.owl-prev:hover { background: #e8230f; }
#owl-portfolio .item:hover { cursor: url(images/grabbing.png) 8 8, move; }
.owl-carousel .owl-wrapper:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.owl-carousel {
	display: none;
	position: relative;
	width: 100%;
	-ms-touch-action: pan-y;
}
.owl-carousel .owl-wrapper {
	display: none;
	position: relative;
	-webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper-outer {
	overflow: hidden;
	position: relative;
	width: 100%;
	background: #ffffff;
	height: 100%;
	z-index: 1;
}
.owl-carousel .owl-wrapper-outer.autoHeight {
	-webkit-transition: height 500ms ease-in-out;
	-moz-transition: height 500ms ease-in-out;
	-ms-transition: height 500ms ease-in-out;
	-o-transition: height 500ms ease-in-out;
	transition: height 500ms ease-in-out;
}
.owl-carousel .owl-item { float: left; }
.owl-controls .owl-page,
.owl-controls .owl-buttons div { cursor: pointer; }
.owl-controls {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.grabbing { cursor: url(images/grabbing.png) 8 8, move; }
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
}
/* =========================================================================================== 
MORE PLUS ICON -------------------------------------------------------------------------------
============================================================================================== */
a.more-plus {
	font-size: 18px;
	color: #a0a0a0;
}
a.more-plus:hover {
	font-size: 18px;
	color: #e8230f;
}