/*
Theme Name: Japanese Village Plaza
Theme URI: 
Description: Wordpress Theme for Japanese Village Plaza
Version: 1.00
Author: Digitalvaliance
Tags: 
*/

body {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	color: #111;
	line-height: 1.6;
	background-color: #D3D3D3;
}

html {
    margin-top: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Oswald', sans-serif;
	color: #160c0f;
	letter-spacing: 1px;
	text-transform: uppercase;
}

h1,
h2 {
	font-size: 26px;
}

h4 {
	color: #646464;
}

h5 {
	font-size: 16px;
	color: #f11715;
	margin-bottom: 0;
}

a {
	color: #a81810;
}

a:hover, a:focus, a:active {
	text-decoration: none !important;
}

#preloader {
	background-color: #f4f4f4;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  -webkit-transform: translate3d(0,0,0);
  z-index: 9999999;
}

.site-header {
	background: #fff;
	background-image:url(http://karachiites.com.php53-3.dfw1-2.websitetestlink.com/japanese-village-plaza/wp-content/uploads/2015/07/bg_upper_new.png);
}

.site-header .container {
	position: relative;
}

.socials {
	position: absolute;
	right: 0;
	top: 40px;
}
.header-top {
	padding-top: 30px;
	padding-bottom: 30px;
}

.header-bottom {
	background-color: #d52b1e;
}

.navbar-nav {
	text-align: center;
	float: none;
	font-family: 'Oswald', sans-serif;
}

.navbar-nav li {
	float: none;
	vertical-align: middle;
	display: inline-block;
}

.navbar-nav li a {
    text-transform: uppercase;
	color: #fff;
	font-size: 20px;
	letter-spacing: 1px;
	position: relative;
	display: block;
	overflow: hidden;
	z-index: 0;
	transition-duration: .2s;
}

.navbar-nav li a:hover {
	color: #000;
}

.navbar-nav li a:before {
	content: ' ';
	width: 2px;
	height: 0%;
	background-color: #000;
	-webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
  	transition:         all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
	left: 0;
	bottom: 0;
	z-index: -1;
	position: absolute;
}

.navbar-nav li a:after {
	content: ' ';
	width: 2px;
	height: 0%;
	background-color: #000;
	-webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
  	transition:         all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
	right: 0;
	top: 0;
	z-index: -1;
	position: absolute;
}

.navbar-nav li a:hover:before {
	height: 100%;
}

.navbar-nav li a:hover:after {
	height: 100%;
}

.content-wrapper {
	padding: 0;
	position: relative;
	background-color: #fff;
}

.left-bar,
.right-bar {
	position: absolute;
  	top: 0;
  	height: 100%;
  	width: 42px;
  	text-align: center;
  	background: linear-gradient(to bottom, rgba(217,39,29,1) 0%,rgba(217,39,29,1) 10%,rgba(136, 7, 36, 1) 68%);
}

.left-bar {
	left: -42px;
}

.right-bar {
	right: -42px;
}

section {
	width: 90%;
	margin: 0 auto;
	padding: 20px 0;
}

mark {
	background: transparent;
	color: #a81810;
}

.row .each-category:last-child {
	border: none;
}

.each-category {
	border-right: 2px solid #DFDFDF;
	padding-bottom: 30px;
}

.category-name {
	color: #f4231d;
	font-size: 20px;
	text-align: center;
	background: url(images/icon_sep.png) center 14px no-repeat;
}

.category-name span {
	background-color: #fff;
	padding: 0 8px;
}

.circle-icon {
	-webkit-transition: all 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
  	transition:         all 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
	display: block;
	height: 150px;
	width: 150px;
	background-color: #2d1a20;
	border-radius: 50%;
	margin-top: 30px;
	margin-bottom: 30px;
	text-align: center;
	line-height: 135px;
}

.each-category:hover .circle-icon {
	background-color: #d52b1e;
}

.circle-icon img {
	-webkit-transition: all 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  	transition:         all 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.each-category h4 {
	min-height: 50px;
}

.read-more {
	text-align: center;
	width: 100%;
	color: #111;
	margin-top: 10px;
	-webkit-transition: all 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  	transition:         all 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.read-more:hover {
	color: #d52b1e;
	letter-spacing: 3px;
}

hr {
	background: url(images/content_sep.png) repeat-x;
	border: none;
	height: 3px;
}

.accent-text {
	color: #d52b1e !important;
}

img {
	max-width: 100%;
}

.btn {
	font-family: 'Oswald', sans-serif;
	letter-spacing: 1px;
}

footer.site-footer {
	background-color: #160b0f;
	padding: 20px 0;
	color: #fff;
  font-size: 14px;
}

footer.site-footer ul {
	padding: 0;
	list-style: none;
	text-align: center;
	font-size: 14px;
}

footer.site-footer ul li {
	display: inline-block;
	text-transform: uppercase;
}

footer.site-footer ul li a {
	transition-duration: .1s;
	color: #fff;
	padding: 0 8px;
	display: block;
	line-height: 1;
	border-left: 1px solid #fff;
}

footer.site-footer ul li:first-child a {
	border: none;
}

footer.site-footer ul li a:hover {
	color: #f4231d;
}

.mobile-menu {
	display: none;
}

.menu-button {
	float: right;
	top: 5px;
}

.menu-button.active {
	top: 10px;
}

.menu-button img {
	display: block;
	margin-bottom: 8px;
	transition-duration: .3s;
}


.menu-button #second-line {
	transition-duration: .6s;
	opacity: 1;
}

.menu-button.active #first-line {
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	transform: rotate(-135deg);
	transition-duration: .1s;
}

.menu-button.active #second-line {
	opacity: 0;
	transition-duration: 0.1s;
}

.menu-button.active #third-line {
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	transform: rotate(135deg);
	transition-duration: .1s;
	margin-top: -22px;
}

.image-right,
.image-left {
	position: fixed;
	height: 100%;
	top: 0;
	width: 25%;
	z-index: -1;
  background-repeat: no-repeat;
  background-position: center top;
	background-size: cover;
}

.image-right {
	right: 0;
  
}

.image-left {
	left: 0;
}

.contact-details {
	padding: 0;
	list-style: none;
	font-size: 13px;
	margin-top: 10px;
}

.contact-details li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 15px;
}

.contact-details img {
	position: absolute;
	left: 0;
	top: 3px;
}

.each-slide {
	position: relative;
	border-right: 4px solid #fff;
}

.each-slide:hover .overlay {
	background-color: rgba(213, 43, 30, 0.75);
	height: 100%;
}

.each-slide .overlay {
	-webkit-transition: all 200ms cubic-bezier(0.23, 1, 0.32, 1);
  	transition:         all 200ms cubic-bezier(0.23, 1, 0.32, 1);
	position: absolute;
	left: 0;
	bottom: 0;
	height: 10%;
	content: ' ';
	width: 100%;
	background-color: rgba(0,0,0,0.3);
}

.each-slide h5 {
	position: absolute;
	font-size: 15px;
	bottom: 12px;
	text-align: center;
	left: 0;
	right: 0;
	color: #fff;
	z-index: 1;
}

.each-slide .view-more {
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	padding-top: 125%;
	right: 0;
	margin: 0 auto;
	display: block;
	height: 100%;
	width: 100%;
	z-index: 1;
	-webkit-transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  	transition:         all 300ms cubic-bezier(0.23, 1, 0.32, 1);
	opacity: 0;
}

.each-slide:hover .view-more {
	-webkit-transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
  	transition:         all 600ms cubic-bezier(0.23, 1, 0.32, 1);
	padding-top: 70%;
	opacity: 1;
}

.each-slide>img {
	width: 100%;
}

.heading-with-line {
	position: relative;
  margin-bottom: 50px;
}

.heading-with-line:after {
  content: " ";
  width: 100%;
  height: 4px;
  background-color: #d52b1e;
  position: absolute;
  right: 0;
  left: 0;
  bottom: -12px;
  margin-bottom: 0px;
}

.each-gallery-image-box-wrapper {
	padding: 8px;
}

.each-gallery-image-box {
	background-color: #d52b1e;
	position: relative;
}

.each-gallery-image-box img {
	width: 100%;
	transition-duration: .3s;
}

.each-gallery-image-box-wrapper:hover .each-gallery-image-box>img {
	opacity: 0.2;
}

.each-gallery-image-box-wrapper:hover .open-lightbox {
	opacity: 1;
}

.open-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	padding-top: 74px;
	text-align: center;
	opacity: 0;
	transition-duration: .3s;
}

.open-lightbox img {
	width: auto;
}

.each-slide .attachment-post-thumbnail {
    width: 100%;
    height: 350px;
}

.clear {
    clear: both;
}

.banner {
    margin: 0 -6% -20px -6%;
}

.banner img {
    width: 100%;
}

.slideshowlink {
    display: none;
}

.ngg-gallery-thumbnail-box {
    margin: 0 !important;
    padding: 15px;
    width: 33.3333%;
}

.ngg-gallery-thumbnail img {
    max-width: 100% !important;
  	height: auto !important;
}

.events-container {
	position: relative;
}

.events-container:before {
	  content: ' ';
  width: 42px;
  height: 100%;
  position: absolute;
  background-color: rgba(136, 7, 36, 1);
  left: -42px;
  top: 0;
  display: block;
}

.events-container:after {
	  content: ' ';
  width: 42px;
  height: 100%;
  position: absolute;
  background-color: rgba(136, 7, 36, 1);
  right: -42px;
  top: 0;
  display: block;
}

.event-date {
	color: #000;
}

.events-loop .col-sm-6:nth-child(2) {
	border-left: 2px solid #DFDFDF;
}


.events-loop .btn {
	margin-top: 23px;
}


.business-details h3 {
	margin-top: 0;
}

.find-a-business {
	text-align: right;
}

.find-a-business select {
	outline: 0;
  height: 48px;
  min-width: 300px;
  padding: 0 15px;
  background-color: #E7E7E7;
  border: 2px solid #D52B1E;
  font-weight: bold;
}

.business-details p {
  font-size: 26px;
  margin: 0;
  line-height: 1;
}

.business-details .row {
	margin-bottom: 20px;
}

.location_img img {
	max-width: 100%;
  margin: 0 auto;
  display: block;
}

.category-title {
	font-size: 24px;
  margin-top: 30px;
}

table.tbl_directory tr th.category-title {
	background-color: #E0E0E0;
  padding: 3px 15px;
  font-size: 18px;
  text-align: left;
  color: #4A4A4A !important;
  border: 2px solid #BEBEBE;
  padding-left: 30px !important;
}

.company_logo {
	text-align: center;
}

.company_name,
.company_ph, 
.company_addr {
	font-size: 20px;
}

.company_name p {
	font-size: 16px !important;
  font-family: 'Lato', sans-serif;
}


tr.row td {
  padding: 15px 0;
  border-bottom: 1px solid #BEBEBE;
}

.directory_wrapper {
	max-height: 700px;
  overflow-x: hidden;
  overflow-y: scroll;
}

tbody>tr>th {
	background-color: #d52b1e;
  padding: 3px 15px;
  font-size: 24px;
  text-align: left;
  color: #fff !important;
  border: 2px solid #BEBEBE;
  border-color: #000;
  padding-left: 10px !important;
}







.directory-type {
	/*background-color: #D52B1E;*/
  background-color: #000000;
  padding: 0px 15px;
  font-size: 24px;
  color: #fff !important;
  text-align: center;
  text-transform: uppercase;
}


.directory-sub-type {
	background-color: #C2C2C2;
  padding: 1px 15px;
  font-size: 15px;
  color: #444444 !important;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
}

.vendor-logo {
	padding-top: 14px;
}

.each-listing {
  font-family: 'Oswald' sans-serif;
  border-bottom: 1px solid #ddd;
}

.each-listing div {
  min-height: 100px;
  border-left: 1px solid #ddd;
  padding-top: 20px;
  padding-bottom: 20px;
}


.company_ph,
.company_addr {
	padding: 15px 15px;
}

.menu-item-has-children:hover .sub-menu {
	display: block;
}

ul.sub-menu {
	position: absolute;
  z-index: 99999;
  background-color: #AA1421;
  left: 0;
  top: auto;
  display: none;
  padding: 0;
  min-width: 250px;
  text-align: left;
}

.sub-menu a {
	display: block;
  padding: 5px 8px;
}

.sub-menu a:after,
.sub-menu a:before {
	content: none !important;
}

.page-section {
	min-height: 310px;
}

.single-list-logo {
	text-align: right;
}

.vendor-logo img {
  width: auto;
  max-height: 81px;
  margin: 0 auto;
}

.suite-number {
	color: #555;
}

.ngg-breadcrumbs{
  display:none;
}

.ngg-album-compactbox .Thumb {
	width: 100% !important;
}

.ngg-album-compact {
	width: 33.3333%;
  
}

.ngg-album-compact p {
	margin-bottom: 40px !important;
}

.ngg-album-compact h4 .ngg-album-desc {
	height: 24px !important;
}

@media(max-width: 1199px) {
    .heading-with-line:after,
    .left-bar,
    .right-bar {
        display: none;
    }
  
  	.events-container:before,
  	.events-container:after {
  		content: none;
  	}
}

@media(max-width: 991px) {
	.mobile-menu {
		display: block;
	}

	.desktop-nav {
		display: none;
	}

	.each-category {
		border: none;
	}
  
  .find-a-business {
  	text-align: left;
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 2px solid #d52b1e;
  }
  
  .each-listing * {
    font-size: 18px;
  }
  
  .ngg-gallery-thumbnail-box {
  	width: 50%;
  }
  
  .each-slide .attachment-post-thumbnail {
  	/*height: 570px;*/
    height: 654px;
  }
}

@media (max-width: 767px) {
  .ngg-album-compact {
  	width: 100%;
  }
	
	/*.each-slide .attachment-post-thumbnail{
		width:288px;
		height:563px;
	}*/
	
	.logo {
		margin-top: 30px;
		display: block;
	}

	.socials {
		top: 15px;
		right: 15px;
	}
  
  .company_ph,
  .company_addr {
    padding: 0 15px;
  }
  
  .events-loop .col-sm-6:nth-child(2) {
		border-left: 0;
    margin-top: 15px;
	}
  
  .events-loop .btn {
		margin-top: 5px;
	}
  
  .events-loop {
  	text-align: center;
  }
  
  .each-listing {
  	text-align: center;
    margin-top: 9px;
  }
  
  .vendor-logo img {
  	display: block;
    margin: 0 auto;
  }
  
  .each-listing div {
    margin-bottom: 5px;
    min-height: 1px;
    border-left: 0;
    padding-top: 0;
  }  
  
  .ngg-gallery-thumbnail-box {
  	width: 100%;
  }
  
  .heading-with-line {
  	text-align: center;
  }
  
  .single-list-logo {
		text-align: left;
	}
  
  
  
}


.ngg-album-gallery-image-counter {
	display: none !important;
}

.ngg-album-compact h4 {
	margin-bottom: 30px !important;
}
/*
Theme Name: Japanese Village Plaza
Theme URI: 
Description: Wordpress Theme for Japanese Village Plaza
Version: 1.00
Author: Digitalvaliance
Tags: 
*/

body {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	color: #111;
	line-height: 1.6;
	background-color: #D3D3D3;
}

html {
    margin-top: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Oswald', sans-serif;
	color: #160c0f;
	letter-spacing: 1px;
	text-transform: uppercase;
}

h1,
h2 {
	font-size: 26px;
}

h4 {
	color: #646464;
}

h5 {
	font-size: 16px;
	color: #f11715;
	margin-bottom: 0;
}

a {
	color: #a81810;
}

a:hover, a:focus, a:active {
	text-decoration: none !important;
}

#preloader {
	background-color: #f4f4f4;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  -webkit-transform: translate3d(0,0,0);
  z-index: 9999999;
}

.site-header {
	background: #fff;
	background-image:url(/wp-content/uploads/2015/07/bg_upper_new.png);
}

.site-header .container {
	position: relative;
}

.socials {
	position: absolute;
	right: 0;
	top: 40px;
}
.header-top {
	padding-top: 30px;
	padding-bottom: 30px;
}

.header-bottom {
	background-color: #d52b1e;
}

.navbar-nav {
	text-align: center;
	float: none;
	font-family: 'Oswald', sans-serif;
}

.navbar-nav li {
	float: none;
	vertical-align: middle;
	display: inline-block;
}

.navbar-nav li a {
    text-transform: uppercase;
	color: #fff;
	font-size: 20px;
	letter-spacing: 1px;
	position: relative;
	display: block;
	overflow: hidden;
	z-index: 0;
	transition-duration: .2s;
}

.navbar-nav li a:hover {
	color: #000;
}

.navbar-nav li a:before {
	content: ' ';
	width: 2px;
	height: 0%;
	background-color: #000;
	-webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
  	transition:         all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
	left: 0;
	bottom: 0;
	z-index: -1;
	position: absolute;
}

.navbar-nav li a:after {
	content: ' ';
	width: 2px;
	height: 0%;
	background-color: #000;
	-webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
  	transition:         all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
	right: 0;
	top: 0;
	z-index: -1;
	position: absolute;
}

.navbar-nav li a:hover:before {
	height: 100%;
}

.navbar-nav li a:hover:after {
	height: 100%;
}

.content-wrapper {
	padding: 0;
	position: relative;
	background-color: #fff;
}

.left-bar,
.right-bar {
	position: absolute;
  	top: 0;
  	height: 100%;
  	width: 42px;
  	text-align: center;
  	background: linear-gradient(to bottom, rgba(217,39,29,1) 0%,rgba(217,39,29,1) 10%,rgba(136, 7, 36, 1) 68%);
}

.left-bar {
	left: -42px;
}

.right-bar {
	right: -42px;
}

section {
	width: 90%;
	margin: 0 auto;
	padding: 20px 0;
}

mark {
	background: transparent;
	color: #a81810;
}

.row .each-category:last-child {
	border: none;
}

.each-category {
	border-right: 2px solid #DFDFDF;
	padding-bottom: 30px;
}

.category-name {
	color: #f4231d;
	font-size: 20px;
	text-align: center;
	background: url(images/icon_sep.png) center 14px no-repeat;
}

.category-name span {
	background-color: #fff;
	padding: 0 8px;
}

.circle-icon {
	-webkit-transition: all 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
  	transition:         all 200ms cubic-bezier(0.645, 0.045, 0.355, 1);
	display: block;
	height: 150px;
	width: 150px;
	background-color: #2d1a20;
	border-radius: 50%;
	margin-top: 30px;
	margin-bottom: 30px;
	text-align: center;
	line-height: 135px;
}

.each-category:hover .circle-icon {
	background-color: #d52b1e;
}

.circle-icon img {
	-webkit-transition: all 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  	transition:         all 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.each-category h4 {
	min-height: 50px;
}

.read-more {
	text-align: center;
	width: 100%;
	color: #111;
	margin-top: 10px;
	-webkit-transition: all 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  	transition:         all 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.read-more:hover {
	color: #d52b1e;
	letter-spacing: 3px;
}

hr {
	background: url(images/content_sep.png) repeat-x;
	border: none;
	height: 3px;
}

.accent-text {
	color: #d52b1e !important;
}

img {
	max-width: 100%;
}

.btn {
	font-family: 'Oswald', sans-serif;
	letter-spacing: 1px;
}

footer.site-footer {
	background-color: #160b0f;
	padding: 20px 0;
	color: #fff;
  font-size: 14px;
}

footer.site-footer ul {
	padding: 0;
	list-style: none;
	text-align: center;
	font-size: 14px;
}

footer.site-footer ul li {
	display: inline-block;
	text-transform: uppercase;
}

footer.site-footer ul li a {
	transition-duration: .1s;
	color: #fff;
	padding: 0 8px;
	display: block;
	line-height: 1;
	border-left: 1px solid #fff;
}

footer.site-footer ul li:first-child a {
	border: none;
}

footer.site-footer ul li a:hover {
	color: #f4231d;
}

.mobile-menu {
	display: none;
}

.menu-button {
	float: right;
	top: 5px;
}

.menu-button.active {
	top: 10px;
}

.menu-button img {
	display: block;
	margin-bottom: 8px;
	transition-duration: .3s;
}


.menu-button #second-line {
	transition-duration: .6s;
	opacity: 1;
}

.menu-button.active #first-line {
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	transform: rotate(-135deg);
	transition-duration: .1s;
}

.menu-button.active #second-line {
	opacity: 0;
	transition-duration: 0.1s;
}

.menu-button.active #third-line {
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	transform: rotate(135deg);
	transition-duration: .1s;
	margin-top: -22px;
}

.image-right,
.image-left {
	position: fixed;
	height: 100%;
	top: 0;
	width: 25%;
	z-index: -1;
  background-repeat: no-repeat;
  background-position: center top;
	background-size: cover;
}

.image-right {
	right: 0;
  
}

.image-left {
	left: 0;
}

.contact-details {
	padding: 0;
	list-style: none;
	font-size: 13px;
	margin-top: 10px;
}

.contact-details li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 15px;
}

.contact-details img {
	position: absolute;
	left: 0;
	top: 3px;
}

.each-slide {
	position: relative;
	border-right: 4px solid #fff;
}

.each-slide:hover .overlay {
	background-color: rgba(213, 43, 30, 0.75);
	height: 100%;
}

.each-slide .overlay {
	-webkit-transition: all 200ms cubic-bezier(0.23, 1, 0.32, 1);
  	transition:         all 200ms cubic-bezier(0.23, 1, 0.32, 1);
	position: absolute;
	left: 0;
	bottom: 0;
	height: 10%;
	content: ' ';
	width: 100%;
	background-color: rgba(0,0,0,0.3);
}

.each-slide h5 {
	position: absolute;
	font-size: 15px;
	bottom: 12px;
	text-align: center;
	left: 0;
	right: 0;
	color: #fff;
	z-index: 1;
}

.each-slide .view-more {
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	padding-top: 125%;
	right: 0;
	margin: 0 auto;
	display: block;
	height: 100%;
	width: 100%;
	z-index: 1;
	-webkit-transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  	transition:         all 300ms cubic-bezier(0.23, 1, 0.32, 1);
	opacity: 0;
}

.each-slide:hover .view-more {
	-webkit-transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
  	transition:         all 600ms cubic-bezier(0.23, 1, 0.32, 1);
	padding-top: 70%;
	opacity: 1;
}

.each-slide>img {
	width: 100%;
}

.heading-with-line {
	position: relative;
  margin-bottom: 50px;
}

.heading-with-line:after {
  content: " ";
  width: 100%;
  height: 4px;
  background-color: #d52b1e;
  position: absolute;
  right: 0;
  left: 0;
  bottom: -12px;
  margin-bottom: 0px;
}

.each-gallery-image-box-wrapper {
	padding: 8px;
}

.each-gallery-image-box {
	background-color: #d52b1e;
	position: relative;
}

.each-gallery-image-box img {
	width: 100%;
	transition-duration: .3s;
}

.each-gallery-image-box-wrapper:hover .each-gallery-image-box>img {
	opacity: 0.2;
}

.each-gallery-image-box-wrapper:hover .open-lightbox {
	opacity: 1;
}

.open-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	padding-top: 74px;
	text-align: center;
	opacity: 0;
	transition-duration: .3s;
}

.open-lightbox img {
	width: auto;
}

.each-slide .attachment-post-thumbnail {
    width: 100%;
    height: 350px;
}

.clear {
    clear: both;
}

.banner {
    margin: 0 -6% -20px -6%;
}

.banner img {
    width: 100%;
}

.slideshowlink {
    display: none;
}

.ngg-gallery-thumbnail-box {
    margin: 0 !important;
    padding: 15px;
    width: 33.3333%;
}

.ngg-gallery-thumbnail img {
    max-width: 100% !important;
  	height: auto !important;
}

.events-container {
	position: relative;
}

.events-container:before {
	  content: ' ';
  width: 42px;
  height: 100%;
  position: absolute;
  background-color: rgba(136, 7, 36, 1);
  left: -42px;
  top: 0;
  display: block;
}

.events-container:after {
	  content: ' ';
  width: 42px;
  height: 100%;
  position: absolute;
  background-color: rgba(136, 7, 36, 1);
  right: -42px;
  top: 0;
  display: block;
}

.event-date {
	color: #000;
}

.events-loop .col-sm-6:nth-child(2) {
	border-left: 2px solid #DFDFDF;
}


.events-loop .btn {
	margin-top: 23px;
}


.business-details h3 {
	margin-top: 0;
}

.find-a-business {
	text-align: right;
}

.find-a-business select {
	outline: 0;
  height: 48px;
  min-width: 300px;
  padding: 0 15px;
  background-color: #E7E7E7;
  border: 2px solid #D52B1E;
  font-weight: bold;
}

.business-details p {
  font-size: 26px;
  margin: 0;
  line-height: 1;
}

.business-details .row {
	margin-bottom: 20px;
}

.location_img img {
	max-width: 100%;
  margin: 0 auto;
  display: block;
}

.category-title {
	font-size: 24px;
  margin-top: 30px;
}

table.tbl_directory tr th.category-title {
	background-color: #E0E0E0;
  padding: 3px 15px;
  font-size: 18px;
  text-align: left;
  color: #4A4A4A !important;
  border: 2px solid #BEBEBE;
  padding-left: 30px !important;
}

.company_logo {
	text-align: center;
}

.company_name,
.company_ph, 
.company_addr {
	font-size: 20px;
}

.company_name p {
	font-size: 16px !important;
  font-family: 'Lato', sans-serif;
}


tr.row td {
  padding: 15px 0;
  border-bottom: 1px solid #BEBEBE;
}

.directory_wrapper {
	max-height: 700px;
  overflow-x: hidden;
  overflow-y: scroll;
}

tbody>tr>th {
	background-color: #d52b1e;
  padding: 3px 15px;
  font-size: 24px;
  text-align: left;
  color: #fff !important;
  border: 2px solid #BEBEBE;
  border-color: #000;
  padding-left: 10px !important;
}







.directory-type {
	/*background-color: #D52B1E;*/
  background-color: #000000;
  padding: 0px 15px;
  font-size: 24px;
  color: #fff !important;
  text-align: center;
  text-transform: uppercase;
}


.directory-sub-type {
	background-color: #C2C2C2;
  padding: 1px 15px;
  font-size: 15px;
  color: #444444 !important;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
}

.vendor-logo {
	padding-top: 14px;
}

.each-listing {
  font-family: 'Oswald' sans-serif;
  border-bottom: 1px solid #ddd;
}

.each-listing div {
  min-height: 100px;
  border-left: 1px solid #ddd;
  padding-top: 20px;
  padding-bottom: 20px;
}


.company_ph,
.company_addr {
	padding: 15px 15px;
}

.menu-item-has-children:hover .sub-menu {
	display: block;
}

ul.sub-menu {
	position: absolute;
  z-index: 99999;
  background-color: #AA1421;
  left: 0;
  top: auto;
  display: none;
  padding: 0;
  min-width: 250px;
  text-align: left;
}

.sub-menu a {
	display: block;
  padding: 5px 8px;
}

.sub-menu a:after,
.sub-menu a:before {
	content: none !important;
}

.page-section {
	min-height: 310px;
}

.single-list-logo {
	text-align: right;
}

.vendor-logo img {
  width: auto;
  max-height: 81px;
  margin: 0 auto;
}

.suite-number {
	color: #555;
}

.ngg-breadcrumbs{
  display:none;
}

.ngg-album-compactbox .Thumb {
	width: 100% !important;
}

.ngg-album-compact {
	width: 33.3333%;
  
}

.ngg-album-compact p {
	margin-bottom: 40px !important;
}

.ngg-album-compact h4 .ngg-album-desc {
	height: 24px !important;
}

@media(max-width: 1199px) {
    .heading-with-line:after,
    .left-bar,
    .right-bar {
        display: none;
    }
  
  	.events-container:before,
  	.events-container:after {
  		content: none;
  	}
}

@media(max-width: 991px) {
	.mobile-menu {
		display: block;
	}

	.desktop-nav {
		display: none;
	}

	.each-category {
		border: none;
	}
  
  .find-a-business {
  	text-align: left;
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 2px solid #d52b1e;
  }
  
  .each-listing * {
    font-size: 18px;
  }
  
  .ngg-gallery-thumbnail-box {
  	width: 50%;
  }
  
  .each-slide .attachment-post-thumbnail {
  	/*height: 570px;*/
    height: 654px;
  }
}

@media (max-width: 767px) {
  .ngg-album-compact {
  	width: 100%;
  }
	
	/*.each-slide .attachment-post-thumbnail{
		width:288px;
		height:563px;
	}*/
	
	.logo {
		margin-top: 30px;
		display: block;
	}

	.socials {
		top: 15px;
		right: 15px;
	}
  
  .company_ph,
  .company_addr {
    padding: 0 15px;
  }
  
  .events-loop .col-sm-6:nth-child(2) {
		border-left: 0;
    margin-top: 15px;
	}
  
  .events-loop .btn {
		margin-top: 5px;
	}
  
  .events-loop {
  	text-align: center;
  }
  
  .each-listing {
  	text-align: center;
    margin-top: 9px;
  }
  
  .vendor-logo img {
  	display: block;
    margin: 0 auto;
  }
  
  .each-listing div {
    margin-bottom: 5px;
    min-height: 1px;
    border-left: 0;
    padding-top: 0;
  }  
  
  .ngg-gallery-thumbnail-box {
  	width: 100%;
  }
  
  .heading-with-line {
  	text-align: center;
  }
  
  .single-list-logo {
		text-align: left;
	}
  
  
  
}


.ngg-album-gallery-image-counter {
	display: none !important;
}

.ngg-album-compact h4 {
	margin-bottom: 30px !important;
}
