/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://kalyanimehta.com
Description: Child theme of Twenty Twenty-Five with Fortuna shortcode support (tabs, image gallery, spacing, portfolio grid).
Author: Kalyani Mehta
Author URI: https://kalyanimehta.com
Template: twentytwentyfive
Version: 1.0.0
Text Domain: twentytwentyfive-child
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

/* ========================================
   ICON FONT (icomoon from Fortuna)
   ======================================== */
@font-face {
	font-family: 'icomoon';
	src:url('fonts/icomoon.eot?mb3b1k');
	src:url('fonts/icomoon.eot?#iefixmb3b1k') format('embedded-opentype'),
		url('fonts/icomoon.woff?mb3b1k') format('woff'),
		url('fonts/icomoon.ttf?mb3b1k') format('truetype'),
		url('fonts/icomoon.svg?mb3b1k#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

.icon {
	font-family: 'icomoon';
	speak: none;
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Calendar icon used in tabs */
.icon-calendar3:before{content:"\f073";}
/* Accordion arrow icons */
.icon-angle-right2:before{content:"\f105";}
/* Additional commonly used icons */
.icon-chevron-down:before{content:"\f078";}
.icon-chevron-up:before{content:"\f077";}
.icon-search3:before{content:"\f002";}
.icon-camera5:before{content:"\e012";}
.icon-video4:before{content:"\e011";}
.icon-pictures:before{content:"\e010";}


/* ========================================
   CLEARFIX / UTILITY
   ======================================== */
.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clear {
	clear: both;
}


/* ========================================
   SPACING SHORTCODE
   ======================================== */
.boc_spacing {
	display: block;
	clear: both;
}


/* ========================================
   GRID SYSTEM
   ======================================== */
.col {
	display: block;
	float: left;
	margin: 0 0 30px 3%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.col:first-child { margin-left: 0; }

.span_1_of_2 { width: 48.5%; }
.span_1_of_3 { width: 31.33%; }
.span_1_of_4 { width: 22.75%; }
.span_1_of_5 { width: 17.6%; }

/* Grid Holder */
.grid_holder {
	clear: both;
	margin: 0px -15px;
}
.grid_holder:before,
.grid_holder:after {
	content: "";
	display: table;
}
.grid_holder:after {
	clear: both;
}
.grid_holder.no_spacing {
	margin: 0;
}
.grid_holder.small_spacing {
	margin: 0 -4px;
}
.grid_holder.big_spacing {
	margin: 0 -15px;
}

.grid_holder .col.span_1_of_3{
	margin: 0px 15px 30px;
	width: calc(33.33% - 30px);
}
.grid_holder.no_spacing .col.span_1_of_3{
	margin: 0;
	width: 33.33%;
}
.grid_holder.small_spacing .col.span_1_of_3{
	margin: 0 4px 8px;
	width: calc(33.33% - 8px);
	border: 6px rgba(181, 178, 178, 0.48) solid !important;
}

.grid_holder .col.span_1_of_2{
	margin: 0px 15px 30px;
	width: calc(50% - 30px);
}
.grid_holder.no_spacing .col.span_1_of_2{
	margin: 0;
	width: 50%;
}
.grid_holder.small_spacing .col.span_1_of_2{
	margin: 0 4px 8px;
	width: calc(50% - 8px);
	border: 8px #b5b2b2 ridge;
}

.grid_holder .col.span_1_of_4{
	margin: 0px 15px 30px;
	width: calc(25% - 30px);
}
.grid_holder.no_spacing .col.span_1_of_4{
	margin: 0;
	width: 25%;
}
.grid_holder.small_spacing .col.span_1_of_4{
	margin: 0 4px 8px;
	width: calc(25% - 8px);
}

.grid_holder .col.span_1_of_5{
	margin: 0px 15px 30px;
	width: calc(20% - 30px);
}
.grid_holder.no_spacing .col.span_1_of_5{
	margin: 0;
	width: 20%;
}
.grid_holder.small_spacing .col.span_1_of_5{
	margin: 0 4px 8px;
	width: calc(20% - 8px);
}


/* ========================================
   PIC / IMAGE OVERLAY
   ======================================== */
.pic {
	position: relative;
	display: block;
	overflow: hidden;
	opacity: 0.999;
}
.pic img{
	display: block;
	width: 100%;
	height: auto;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
a .img_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	background-color: rgba(0, 0, 0, 0.3);
	opacity: 0;
	filter: alpha(opacity=0);
	z-index: 0;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
	text-align: center;
}
a:hover .img_overlay {
	opacity: 1;
	filter: alpha(opacity=100);
	z-index: 1;
}

a .img_overlay .icon_zoom{
	top: 46%;
	opacity: 0;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
	width: 36px;
	height: 36px;
	margin: 0 auto;
	margin-top: -18px;
	margin-left: -18px;
	display: inline-block;
	border-radius: 50%;
	-webkit-transition: all 0.25s cubic-bezier(.63,.08,.35,.92);
	transition: all 0.25s cubic-bezier(.63,.08,.35,.92);
	left: 50%;
}
a .img_overlay .icon_zoom:after{
	content: "\f002";
	font-family: 'icomoon';
	cursor: pointer;
	font-size: 13px;
	line-height: 35px;
	vertical-align: top;
}
a:hover .img_overlay .icon_zoom{
	top: 50%;
	opacity: 1;
}

a .img_overlay .hover_icon{
	top: 46%;
	opacity: 0;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.65);
	color: #fff;
	width: 36px;
	height: 36px;
	margin: 0 auto;
	margin-top: -18px;
	margin-left: -18px;
	display: inline-block;
	border-radius: 50%;
	-webkit-transition: all 0.25s cubic-bezier(.63,.08,.35,.92);
	transition: all 0.25s cubic-bezier(.63,.08,.35,.92);
	left: 50%;
	line-height: 38px;
	font-size: 26px;
}
a:hover .img_overlay .hover_icon{
	top: 50%;
	opacity: 1;
}

/* Image Overlay Icon (portfolio) */
.img_overlay_icon {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 38px;
	height: 38px;
	margin: -19px 0 0 -19px;
	opacity: 0;
	z-index: 0;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	-webkit-transform: translate3d(0, 0, 0);
}
a:hover .img_overlay_icon {
	opacity: 1;
	filter: alpha(opacity=100);
	z-index: 1;
}


/* ========================================
   IMAGE HOVER EFFECTS
   ======================================== */

/* Effect 1 - Zoom Out */
.pic.img_hover_effect1 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
.pic.img_hover_effect1 img{
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}
.pic.img_hover_effect1:hover img{
	-webkit-transform: scale(1);
	transform: scale(1);
}
a:hover .pic.img_hover_effect1 img{
	-webkit-transform: scale(1);
	transform: scale(1);
}

/* Effect 2 - Zoom In */
.pic.img_hover_effect2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
.pic.img_hover_effect2 img{
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.pic.img_hover_effect2:hover img{
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}
a:hover .pic.img_hover_effect2 img{
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}

/* Effect 3 - Side */
.pic.img_hover_effect3 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
.pic.img_hover_effect3 img{
	-webkit-backface-visibility: hidden;
	-webkit-transform: translate3d(-20px,0,0);
	transform: translate3d(-20px,0,0);
	width: calc(100% + 40px);
	max-width: calc(100% + 40px)!important;
}
.pic.img_hover_effect3 a:hover img,
a:hover .pic.img_hover_effect3 img{
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/* Effect 4 - Spin */
.pic.img_hover_effect4 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
.pic.img_hover_effect4 img{
	-webkit-transition: all 0.4s cubic-bezier(.63,.08,.35,.92);
	transition: all 0.4s cubic-bezier(.63,.08,.35,.92);
}
.pic.img_hover_effect4 a:hover img,
a:hover .pic.img_hover_effect4 img{
	-webkit-transform: rotate(5deg) scale(1.14);
	transform: rotate(5deg) scale(1.14);
}


/* ========================================
   IMAGE GALLERY CAPTION/DESCRIPTION
   ======================================== */
h3.img_gallery_caption {
	font-size: 15px;
	line-height: 22px;
	margin: 12px 0 4px;
}
p.img_gallery_description {
	font-size: 13px;
	line-height: 20px;
	color: #888;
	margin: 0 0 10px;
}


/* ========================================
   PORTFOLIO GRID
   ======================================== */

/* Base portfolio info */
.pic_info {
	width: 100%;
	height: 100%;
	position: relative;
	line-height: 0;
	overflow: hidden;
	-webkit-transition: all 0.4s cubic-bezier(.76,.1,.21,.9);
	transition: all 0.4s cubic-bezier(.76,.1,.21,.9);
}
.pic_info img {
	max-width: 100%;
	height: auto;
	-webkit-transition: all 0.3s cubic-bezier(.63,.08,.35,.92);
	transition: all 0.3s cubic-bezier(.63,.08,.35,.92);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
a .pic_info .plus_overlay {
	z-index: 1;
	-webkit-transform: translate3d(0, 0, 0);
}
a .pic_info .plus_overlay_icon {
	-webkit-transform: translate3d(0, 0, 0);
}
.pic_info .info_overlay {
	z-index: 2;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

/* Info overlay text */
.info_overlay h3 {
	font-size: 17px;
	line-height: 22px;
	color: #333;
	margin: 0 20px;
	padding: 12px 0 0 0;
	text-align: center;
}
.info_overlay p {
	font-style: italic;
	font-size: 12px;
	line-height: 18px;
	text-align: center;
	color: #666;
	margin: 6px 26px 0;
}

/* Portfolio link styles */
a[class^="pic_info_link_"] {
	text-decoration: none;
	display: block;
}
.portfolio_animator_class {
	position: relative;
}

/* Portfolio icon */
.portfolio_icon {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	line-height: 38px;
	font-size: 15px;
}
.portfolio_icon.icon_camera:before { content: "\e012"; }
.portfolio_icon.icon_gallery:before { content: "\e010"; }
.portfolio_icon.icon_video:before { content: "\e011"; }


/* ---- TYPE 9 (display_style=9) ---- */
.pic_info.type9 .info_overlay {
	width: calc(100% - 16px);
	height: calc(100% - 16px);
	margin: 8px;
	text-align: center;
	background-color: rgba(0,0,0,0.65);
	-webkit-transition: all 0.3s cubic-bezier(.63,.08,.35,.92);
	transition: all 0.3s cubic-bezier(.63,.08,.35,.92);
	position: absolute;
	top: 0;
	opacity: 0;
	border-radius: 0;
}
a:hover .pic_info.type9 .info_overlay {
	opacity: 1;
}
.pic_info.type9 img {
	border-radius: 0;
}
.pic_info.type9 .info_overlay .info_desc {
	top: 50%;
	margin-top: -48px;
	position: absolute;
	width: 100%;
	height: 100%;
}
a .pic_info.type9 .img_overlay_icon {
	display: none;
}
a .pic_info.type9 .plus_overlay_icon {
	z-index: 100;
}
a .pic_info.type9 .portfolio_icon {
	display: inline-block;
	color: #fff;
	opacity: 0;
	width: 38px;
	height: 38px;
	background-color: rgba(0,0,0,0.9);
	border-radius: 50%;
	top: -30px;
	position: relative;
	-webkit-transition: all 0.35s 0.1s ease-out;
	transition: all 0.35s 0.1s ease-out;
}
a:hover .pic_info.type9 .portfolio_icon {
	opacity: 1;
	top: 0;
}
.pic_info.type9 .info_overlay h3,
.pic_info.type9 .info_overlay p {
	color: #fff;
	-webkit-transition: all 0.1s 0 ease-out;
	transition: all 0.1s 0 ease-out;
	opacity: 0;
	top: 30px;
	position: relative;
}
a:hover .pic_info.type9 .info_overlay h3 {
	opacity: 1;
	top: 0;
	-webkit-transition: all 0.25s 0.2s ease-out;
	transition: all 0.25s 0.2s ease-out;
}
a:hover .pic_info.type9 .info_overlay p {
	opacity: 1;
	top: 0;
	-webkit-transition: all 0.25s 0.3s ease-out;
	transition: all 0.25s 0.3s ease-out;
}


/* ---- Portfolio Inline Filter ---- */
.portfolio_inline_filter {
	margin-bottom: 40px;
}
.portfolio_inline_filter:hover {
	background: none;
}
.portfolio_inline_filter ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.portfolio_inline_filter ul li {
	display: inline-block;
	margin-right: 8px;
	border-radius: 3px;
	background: #f7f7f7;
	color: #333;
	line-height: 32px;
}
.portfolio_inline_filter ul li div {
	border-radius: 3px;
	cursor: pointer;
	padding: 0 12px;
	-webkit-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
	white-space: nowrap;
}
.portfolio_inline_filter ul li div:hover {
	background-color: #6D5F9D;
	color: #fff;
}
.current_portfolio_item {
	background: #444;
	color: #fff;
}
.portfolio_inline_filter ul li.portfolio_filter_label {
	background: none;
}


/* ========================================
   TABS
   ======================================== */

/* New Tabs */
.newtabs {
	opacity: 0;
}

.horizontal .resp-tabs-list {
	height: 35px;
	margin: 0;
	padding: 0;
}
.horizontal .resp-tabs-list li {
	display: inline-block;
	margin: 0;
	list-style: none;
	cursor: pointer;
	float: left;
	color: #333;
	background-color: #fdfdfd;
	background-image: linear-gradient(top, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.02));
	border-top: 1px solid #e1e1e1;
	border-left: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
	margin-right: -1px;
	padding: 7px 15px 7px 15px;
	float: left;
	text-align: center;
	text-decoration: none;
	border-radius: 3px 3px 0px 0px;
	-webkit-transition: background-color 0.1s linear;
	transition: background-color 0.1s linear;
	font-size: 13px;
	font-family: Lato, Arial, sans-serif;
}

.horizontal .resp-tabs-list li:hover {
	background-color: #f3f3f3;
	color: #333;
}

.resp-tabs-container {
    padding: 0px;
    background-color: #fff;
    clear: left;
}

.horizontal .resp-tabs-list li.resp-tab-active {
	border-top: 2px solid #6D5F9D;
    border-bottom: none;
    margin-bottom: -1px;
    margin-top: -1px;
    padding: 7px 15px 7px 15px;
	background: #FFFFFF;
	color: #333;
}

.resp-tab-content {
    display: none;
    padding: 20px;
}
.resp-tab-content h4{
	margin-top: 0;
}
.resp-tab-content ul{
	margin-bottom: 6px;
}

.resp-content-active, .resp-accordion-active {
    display: block;
}

.resp-tab-content {
    border: 1px solid #e1e1e1;
	padding: 24px 30px 4px;
	z-index: 2;
	border-radius: 0 2px 4px 4px;
	overflow: auto !important;
}

/* Minimal */
.minimal_style.horizontal .resp-tab-content {
	border: 0;
	padding: 24px 0px 4px;
}
.minimal_style.horizontal .resp-tabs-list li {
	padding: 6px 20px 6px 20px;
}
.minimal_style.horizontal .resp-tabs-list li.resp-tab-active {
	border-top: 1px solid rgba(0,0,0,0.1) !important;
	border-left: 1px solid rgba(0,0,0,0.1) !important;
	border-bottom: 1px solid rgba(0,0,0,0.1) !important;
	padding: 6px 20px 6px 20px;
	border-right: 0;
	background: #6D5F9D;
	color: #fff;
	margin: 0;
}
.minimal_style.horizontal .resp-tabs-list li {
	border-bottom: 1px solid #e1e1e1;
	border-radius: 0px !important;
}
.minimal_style.horizontal .resp-tabs-list li:first-child {
	border-radius: 4px 0 0 4px !important;
}
.minimal_style.horizontal .resp-tabs-list li:last-child {
	border-radius: 0 4px 4px 0 !important;
}


/* Accordion (responsive mode) */
h2.resp-accordion {
    display: none;
	cursor: pointer;
    font-size: 13px;
    border: 1px solid #e1e1e1;
    border-top: 0px solid #e1e1e1;
    margin: 0px;
    padding: 10px 15px;
	background-color: #fefefe;
}
h2.resp-accordion:first-child{
	border-top: 1px solid #e1e1e1;
}
h2.resp-tab-active {
    margin-bottom: 0px !important;
    padding: 10px 15px !important;
}

/* Vertical tabs */
.resp-vtabs ul.resp-tabs-list {
    float: left;
    width: 25%;
}
.resp-vtabs .resp-tabs-list li {
    border-bottom: 1px solid #e1e1e1;
	border-left: 1px solid #e1e1e1;
    border-right: none;
    display: block;
    padding: 10px 15px 10px 19px !important;
    margin: 0;
    cursor: pointer;
    float: none;
	border-radius: 2px 0 0 2px;
	background-color: #fff;
	-webkit-transition: background-color 0.1s linear;
	transition: background-color 0.1s linear;
}
.resp-vtabs .resp-tabs-list li:hover {
	background-color: #f7f7f7;
	color: #333;
}
.resp-vtabs .resp-tabs-container {
	padding: 0px;
	background-color: #fff;
	border-left: 1px solid rgba(0,0,0,0.08);
	float: left;
	width: 75%;
	min-height: 250px;
	clear: none;
	box-shadow: -8px 0px 22px -12px rgba(0, 0, 0, 0.1);
	border: 1px solid #e1e1e1;
	border-radius: 0 4px 4px 4px;
}
.resp-vtabs .resp-tab-content {
    border: none;
}
.resp-vtabs .resp-tabs-list li.resp-tab-active {
    border-bottom: 1px solid #e1e1e1;
	border-left: 2px solid #6D5F9D;
    border-right: none;
    background: #fff;
    position: relative;
    z-index: 1;
    margin-right: -1px !important;
    padding: 10px 15px 10px 18px !important;
	border-radius: 2px 0 0 2px;
}
.resp-vtabs > ul li:first-child {
	border-top: 1px solid #e1e1e1;
}

/* Accordion arrow */
h2.resp-accordion span.resp-arrow {
    float: right;
	font-family: 'icomoon';
	font-size: 18px;
}
h2.resp-accordion span.icon {
	margin-right: 6px;
}

.resp-tabs-list .resp-tab-item span.icon {
	margin-right: 8px;
	margin-left: -4px;
	position: relative;
	top: 1px;
	width: 18px;
	display: inline-block;
}


/* ========================================
   MAGNIFIC POPUP
   ======================================== */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
}
.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}
.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}
.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.mfp-align-top .mfp-container:before {
  display: none;
}
.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}
.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}
.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
}
.mfp-auto-cursor .mfp-content {
  cursor: auto;
}
.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.mfp-loading.mfp-figure {
  display: none;
}
.mfp-hide {
  display: none !important;
}
.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}
.mfp-s-ready .mfp-preloader {
  display: none;
}
.mfp-s-error .mfp-content {
  display: none;
}
button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
}
.mfp-close {
	width: 44px;
	height: 44px;
	line-height: 44px;
	position: absolute;
	right: 0;
	top: 0;
	text-decoration: none;
	text-align: center;
	opacity: 0.65;
	padding: 0 0 18px 10px;
	color: #FFF;
	font-size: 34px;
	font-family: Lato, Arial, monospace;
	font-weight: 300;
}
.mfp-close:hover, .mfp-close:focus {
  opacity: 1;
}
.mfp-close:active {
  top: 1px;
}
.mfp-close-btn-in .mfp-close {
  color: #333;
}
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
	color: #FFF;
	right: -10px;
	text-align: right;
	padding-right: 6px;
	width: 100%;
	background: none;
}
.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
}
.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -38px;
  padding: 0;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 2px solid transparent;
  text-indent: -9999em;
  pointer-events: auto;
  transition: all 0.2s;
  transform: rotate(45deg);
}
.mfp-arrow:hover, .mfp-arrow:focus {
  opacity: 1;
}
.mfp-arrow-left {
  left: 45px;
  border-bottom-color: white;
  border-left-color: white;
}
.mfp-arrow-left:hover {
  margin-left: -5px;
}
.mfp-arrow-right {
  right: 45px;
  border-top-color: white;
  border-right-color: white;
}
.mfp-iframe-holder {
  padding-top: 50px;
  padding-bottom: 50px;
}
.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}
.mfp-iframe-holder .mfp-close {
  top: -50px;
}
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 50px 0 50px;
  margin: 0 auto;
}
.mfp-figure {
  line-height: 0;
}
.mfp-figure:after {
  content: '';
  position: absolute;
  left: -5px;
  top: 45px;
  bottom: 50px;
  display: block;
  right: 0;
  width: calc(100% + 10px);
  margin-bottom: -5px;
  border: 5px solid white;
  border-radius: 2px;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444;
}
.mfp-figure small {
  color: #BDBDBD;
  display: block;
  font-size: 12px;
  line-height: 14px;
}
.mfp-figure figure {
  margin: 0;
}
.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}
.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px;
}
.mfp-image-holder .mfp-content {
  max-width: 100%;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

/* Spin animation for MFP */
.boc_popup_spin.mfp-bg {
	opacity: 0.01;
	-webkit-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}
.boc_popup_spin.mfp-ready.mfp-bg {
	opacity: 0.8;
}
.boc_popup_spin.mfp-removing.mfp-bg {
	opacity: 0.01;
}
.boc_popup_spin .mfp-content {
	opacity: 0.01;
	-webkit-transition: all 0.3s cubic-bezier(.26,.87,.44,1);
	transition: all 0.3s cubic-bezier(.26,.87,.44,1);
	-webkit-transform: rotateY(60deg) scale(0.7);
	transform: rotateY(60deg) scale(0.7);
}
.boc_popup_spin.mfp-ready .mfp-content {
	opacity: 1;
	-webkit-transform: rotateY(0) scale(1);
	transform: rotateY(0) scale(1);
}
.boc_popup_spin.mfp-removing .mfp-content {
	-webkit-transform: rotateY(60deg) scale(0.7);
	transform: rotateY(60deg) scale(0.7);
	opacity: 0.01;
}


/* ========================================
   RESPONSIVE
   ======================================== */
@media screen and (max-width: 767px) {
	.resp-tabs-list li {
		font-size: 12px;
		padding: 5px 10px !important;
	}
	ul.resp-tabs-list {
		display: none;
	}
	h2.resp-accordion {
		display: block;
	}
	.resp-vtabs .resp-tabs-container {
		border: none;
		float: none;
		width: 100%;
		min-height: 0;
		clear: both;
		box-shadow: none;
	}
	.resp-vtabs ul.resp-tabs-list {
		width: 100%;
	}

	.grid_holder .col.span_1_of_2,
	.grid_holder .col.span_1_of_3,
	.grid_holder .col.span_1_of_4,
	.grid_holder .col.span_1_of_5 {
		width: calc(50% - 8px);
		margin: 0 4px 8px;
	}


	.info_overlay h3 { font-size: 14px; line-height: 18px; }
	.info_overlay p { font-size: 11px; }
}

@media screen and (max-width: 480px) {
	.grid_holder .col.span_1_of_2,
	.grid_holder .col.span_1_of_3,
	.grid_holder .col.span_1_of_4,
	.grid_holder .col.span_1_of_5 {
		width: 100%;
		margin: 0 0 8px;
	}


	.portfolio_page {
		flex-direction: column !important;
	}
	.portfolio_media,
	.portfolio_description {
		flex: 1 1 100% !important;
		max-width: 100% !important;
	}
}


/* ========================================
   ADDITIONAL GRID
   ======================================== */
.span_2_of_3 { width: 65.66%; }
.span_3_of_3 { width: 100%; }
.span_3_of_4 { width: 74.25%; }
.span_2_of_4 { width: 48.5%; }


/* ========================================
   HEADING SHORTCODE
   ======================================== */
.boc_heading {
	margin-bottom: 20px;
}
.boc_heading.center {
	text-align: center;
}
.boc_heading.al_right {
	text-align: right;
}
.boc_heading.boc_subheading {
	font-style: italic;
}
.boc_heading span strong {
	color: #6D5F9D;
}


/* ========================================
   ACCORDION SHORTCODE
   ======================================== */
.acc_holder {
}
.acc_item {
	padding: 0px 0px 8px;
	margin: 0px 0 8px;
	position: relative;
	-webkit-transition: all 0.3s linear;
	transition: all 0.3s linear;
	background: #fff;
	border-radius: 4px;
}
.acc_holder.border .acc_item {
	border-bottom: 1px dotted #eee;
}
.acc_holder.border .acc_item:last-child {
	border-bottom: none;
}
.acc_control {
	float: left;
	background-color: #6D5F9D;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
	border-radius: 3px;
	position: relative;
}
.acc_control:before {
	content: "+";
	color: #fff;
	font-size: 16px;
	line-height: 20px;
	display: block;
	text-align: center;
	font-weight: 300;
}
.active_acc .acc_control:before {
	content: "−";
}
.acc_holder.with_bgr .acc_control {
	background-color: #888;
	margin: 4px 16px 0 10px;
	width: 16px;
	height: 16px;
}
.acc_holder.rounded .acc_item {
	padding: 0px 0px 8px;
	margin: 0px 0 8px;
}
.acc_holder.with_bgr .acc_item {
	padding: 0px 0px 8px;
	margin: 0px;
}
.acc_holder.rounded .acc_item .acc_control {
	border-radius: 17px;
}
.accordion:hover .acc_control {
	background-color: #555;
}
.active_acc .acc_control {
	background-color: #888;
}
.acc_holder.with_bgr .active_acc .acc_control {
	background-color: #6D5F9D;
}
.acc_heading {
	display: block;
	margin-left: 34px;
}
h4.accordion {
	padding: 6px 0;
	margin: 0;
	-webkit-transition: all 0.2s linear;
	transition: all 0.2s linear;
	font-size: 17px;
	line-height: 24px;
	cursor: pointer;
}
.acc_holder.with_bgr h4.accordion {
	border-radius: 4px;
	font-size: 14px;
	-webkit-transition: all 0.1s linear;
	transition: all 0.1s linear;
	background-color: #fcfcfc;
	border: 1px solid #e4e4e4;
}
.acc_holder.with_bgr h4.accordion:hover {
	background-color: #f6f6f6;
}
.accordion_content {
	display: none;
	padding: 6px 10px 12px 34px;
	overflow: hidden;
}
.acc_holder.with_bgr .accordion_content {
	padding: 16px 12px 20px;
}


/* ========================================
   SINGLE PORTFOLIO PAGE
   ======================================== */
.portfolio_page {
	line-height: 1.6;
}
.portfolio_media .pic {
	border-radius: 0;
}
.portfolio_description .boc_heading {
	margin-bottom: 10px;
}
.portfolio_description p {
	font-size: 15px;
	line-height: 1.7;
	color: #555;
}

@media screen and (max-width: 767px) {
	.portfolio_page {
		flex-direction: column !important;
	}
	.portfolio_media,
	.portfolio_description {
		flex: 1 1 100% !important;
		max-width: 100% !important;
	}
}


/* ========================================
   ADDITIONAL FORTUNA CHILD OVERRIDES
   ======================================== */
.footer_light .clear.h10 {
    height: 0;
}
#menu > ul > li:not(.boc_nav_button):hover > a, #header .header_cart li a.icon:hover {
    color: #6D5F9D !important;
}
.main_menu_underline_effect #menu > ul > li > a:after {
    background-color: #6D5F9D !important;
}
#footer a:hover {
    color: #6D5F9D;
}
.breadcrumb a:hover {
    color: #6D5F9D;
}
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong {
    color: #6D5F9D;
    font-weight: inherit;
}
.boc_list_item .li_icon i.icon {
    font-size: 17px;
    color: #6D5F9D;
    line-height: 22px;
    margin: 0;
}
input.btn_purple, a.btn_purple, .btn_purple {
    background-color: #6D5F9D;
    color: #fff !important;
}
.respleft {
	padding : 50px 0px 50px 70px;
}
.respright{
	padding : 50px 0px 40px 70px;
}
.pic_info.type9 .info_overlay p{
	display : none;
}
.wp-post-navigation div a:after{
	color : #6D5F9D !important;
}
.pic_info.type7 .info_overlay{
	background-color : rgba(109, 95, 157, 0.62) !important;
}
.owl-theme .owl-controls .owl-nav div{
	background-color : #6D5F9D !important;
}

@media screen and (max-width: 500px) {
.respleft {
	padding : 10px 10px 10px 10px;
}
.respright{
	padding : 10px 10px 10px 10px;
}
}

@media screen and (min-width: 500px) and (max-width: 800px) {
.respleft {
	padding : 20px 10px 20px 10px;
}
.respright{
	padding : 20px 10px 20px 10px;
}
}


/* ========================================
   HEIGHT SPACING HELPER CLASSES
   ======================================== */
.h10 {
	height: 10px;
}
.h15 {
	height: 15px;
}
.h20 {
	height: 20px;
}
.h30 {
	height: 30px;
}
.h40 {
	height: 40px;
}
.h60 {
	height: 60px;
}
.h100 {
	height: 100px;
}


/* ========================================
   DIVIDER SHORTCODE STYLES
   ======================================== */
.boc_divider {
	position: relative;
	height: 1px;
	background: #eee;
}
.boc_divider_holder:after {
	content: " ";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.boc_divider i.icon {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	padding: 10px;
	width: auto;
	height: auto;
	color: #bbbbbb;
	background: #fff;
	font-size: 14px;
	margin: 0;
	vertical-align: top !important;
	border-radius: 50%;
}


/* ========================================
   PORTFOLIO DISPLAY STYLE 7 (RELATED ITEMS)
   ======================================== */
.pic_info.type7 .info_overlay {
	width: -moz-calc(100% - 16px);
	width: -webkit-calc(100% - 16px);
	width: calc(100% - 16px);
	height: -moz-calc(100% - 16px);
	height: -webkit-calc(100% - 16px);
	height: calc(100% - 16px);
	margin: 8px;	
	
	text-align: center;
	background-color: rgba(8, 173, 167,0.9);
	-webkit-transition: all 0.3s cubic-bezier(.63,.08,.35,.92);
	-moz-transition: all 0.3s cubic-bezier(.63,.08,.35,.92);
	-o-transition: all 0.3s cubic-bezier(.63,.08,.35,.92);
	-ms-transition: all 0.3s cubic-bezier(.63,.08,.35,.92);
	transition: all 0.3s cubic-bezier(.63,.08,.35,.92);
	position: absolute;
	top: 0;
	opacity: 0;
}	
a:hover .pic_info.type7 .info_overlay {
	opacity: 1;
}

.pic_info.type7 .info_overlay .info_desc {
	top: 50%;
	margin-top: -48px;
	position: absolute;
	width: 100%;
	height: 100%;
}

a .pic_info.type7 .img_overlay_icon {
	display: none;
}
a .pic_info.type7 .plus_overlay_icon {
	z-index: 100;
}

a .pic_info.type7 .portfolio_icon{
	display: inline-block;
	color: #fff;
	opacity: 0;
	width: 38px;
	height: 38px;
	background-color: rgba(0,0,0,0.9);
	border-radius: 50%;
	top: -30px;
	position: relative;
	
	-webkit-transition: all 0.25s 0.1s  ease-out;
	-moz-transition: all 0.25s 0.1s  ease-out;
	-o-transition: all 0.25s 0.1s  ease-out;
	-ms-transition: all 0.25s 0.1s  ease-out;
	transition: all 0.35s 0.1s  ease-out;
}
a:hover .pic_info.type7 .portfolio_icon{
	opacity: 1;
	top: 0;	
}

.pic_info.type7 .info_overlay h3, .pic_info.type7 .info_overlay p {
	color: #fff;

	-webkit-transition: all 0.1s 0 ease-out;
	-moz-transition: all 0.1s 0 ease-out;
	-o-transition: all 0.1s 0 ease-out;
	-ms-transition: all 0.1s 0 ease-out;
	transition: all 0.1s 0 ease-out;
	
	opacity: 0;	
	top: 30px;
	position: relative;
}
a:hover .pic_info.type7 .info_overlay h3 {
	opacity: 1;
	top: 0;
	-webkit-transition: all 0.25s 0.2s  ease-out;
	-moz-transition: all 0.25s 0.2s  ease-out;
	-o-transition: all 0.25s 0.2s  ease-out;
	-ms-transition: all 0.25s 0.2s  ease-out;
	transition: all 0.25s 0.2s  ease-out;	
}
a:hover .pic_info.type7 .info_overlay p {
	opacity: 1;
	top: 0;
	-webkit-transition: all 0.25s 0.3s  ease-out;
	-moz-transition: all 0.25s 0.3s  ease-out;
	-o-transition: all 0.25s 0.3s  ease-out;
	-ms-transition: all 0.25s 0.3s  ease-out;
	transition: all 0.25s 0.3s  ease-out;
}


/* ========================================
   STICKY HEADER STYLE
   ======================================== */
header.wp-block-template-part {
    transition: all 0.3s ease;
}
header.wp-block-template-part.sticky-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
header.wp-block-template-part.sticky-header .wp-block-group {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}


/* ========================================
   CAROUSEL CONTROLS & NAV STYLES
   ======================================== */
.portfolio_carousel_holder {
	position: relative;
}
.portfolio_carousel_holder .owl-theme .owl-controls .owl-nav {
	position: absolute;
	right: -2px;
	top: -46px;
	padding-left: 8px;
	background: #fff;
}
.portfolio_carousel_holder .owl-theme .owl-controls .owl-nav div {
	color: #FFF;
	display: inline-block;
	margin: 0 2px;
	font-size: 19px;
	border-radius: 35px;
	background: #6D5F9D !important;
	cursor: pointer;
	line-height: 22px;
	width: 19px;
	height: 19px;
	text-align: center;
	transition: all 0.2s linear;
}
.portfolio_carousel_holder .owl-theme .owl-controls .owl-nav div:hover {
	background: #444 !important;
}
.portfolio_carousel_holder .owl-theme .owl-controls .owl-nav div .icon {
	font-size: 11px;
	vertical-align: middle;
	position: relative;
	top: -2px;
}
.portfolio_carousel_holder .owl-theme .owl-prev .icon {
	margin-left: -1px;
}
.portfolio_carousel_holder .owl-theme .owl-next .icon {
	margin-left: 1px;
}


/* ========================================
   ICON ANGLE CHARACTERS
   ======================================== */
.icon-angle-left:before{content:"\e686";}
.icon-angle-right:before{content:"\e684";}
.icon-angle-left2:before{content:"\f104";}
.icon-angle-right2:before{content:"\f105";}


/* ========================================
   CONTACT FORM 7 STYLING
   ======================================== */
input.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-file),
textarea.wpcf7-form-control,
select.wpcf7-form-control {
    background-color: #f9f9f9 !important;
    border: 1px solid #e1e1e1 !important;
    padding: 8px 12px !important;
    border-radius: 3px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    transition: all 0.2s ease !important;
}
input.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-file):focus,
textarea.wpcf7-form-control:focus,
select.wpcf7-form-control:focus {
    background-color: #fff !important;
    border-color: #6D5F9D !important;
    outline: none !important;
}

/* Fortuna Contact Form Additional Styles */
.captcha_input,
.wpcf7-form-control-wrap .captcha_input[type="text"] {
    width: 140px;
}
.center div.wpcf7 img.ajax-loader {
    margin-left: 5px;
    margin-right: -20px;
}
.white_text div.wpcf7 img.ajax-loader {
    background: white;
    border-radius: 50%;
}	
.center .captcha_input {
    margin: auto;
    text-align:center;
}
input.input_bottom_line, select.input_bottom_line, textarea.input_bottom_line {
    background: none !important;
    padding: 8px 0 !important;
    border: none !important;
    border-bottom: 1px solid #ddd !important;
    border-radius: 0px !important;
}
input.input_bottom_line:focus, textarea.input_bottom_line:focus{
    background: none !important;
    border: none !important;
    border-bottom: 1px solid #999 !important;
    border-radius: 0px !important;
}

/* white text */
.white_text input.input_bottom_line, .white_text select.input_bottom_line, .white_text textarea.input_bottom_line{
    border-bottom: 1px solid rgba(250,250,250,0.3) !important;
    color: #eee !important;
}
.white_text input.input_bottom_line:focus, .white_text textarea.input_bottom_line:focus{
    border-bottom: 1px solid rgba(250,250,250,0.65) !important;
}
.input_bottom_line::-webkit-input-placeholder {
    font-style: italic !important;
}
.input_bottom_line::-moz-placeholder {
    font-style: italic !important;
}
.input_bottom_line:-moz-placeholder {
    font-style: italic !important;
}
.input_bottom_line:-ms-input-placeholder {
    font-style: italic !important;
}
.wpcf7-submit {
    background-color: #6D5F9D !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 3px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.2s ease !important;
}
.wpcf7-submit:hover {
    background-color: #444 !important;
}


/* ========================================
   ISOTOPE FILTERING ANIMATIONS
   ======================================== */
.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;
}

/* ========================================
   HEADER MENU STYLES
   ======================================== */
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content,
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item a {
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    color: #444 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content:hover,
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item a:hover {
    color: #6D5F9D !important;
}
.wpcf7 p{
	margin: 0 !important;
}
.vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner{
	padding-top:  0px;
}

/* ========================================
   ACCORDION (Fortuna boc_accordion)
   ======================================== */
.acc_item {
    padding: 0px 0px 8px;
    margin: 0px 0 8px;
    position: relative;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    background: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
.acc_holder.border .acc_item {
    border-bottom: 1px dotted #eee;
}
.acc_holder.border .acc_item:last-child {
    border-bottom: none;
}
.acc_control {
    float: left;
    background: #6D5F9D url('images/acc_bgr.png') center -17px no-repeat;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.acc_holder.with_bgr .acc_control {
    background-color: #888;
    margin: 4px 16px 0 10px;
    background-position: center -19px;
    width: 16px;
    height: 16px;
}
.acc_holder.rounded .acc_item {
    padding: 0px 0px 8px;
    margin: 0px 0 8px;
}
.acc_holder.with_bgr .acc_item {
    padding: 0px 0px 8px;
    margin: 0px;
}
.acc_holder.rounded .acc_item .acc_control {
    -moz-border-radius: 17px;
    -webkit-border-radius: 17px;
    border-radius: 17px;
}
.accordion:hover .acc_control {
    background-color: #555;
}
.active_acc .acc_control {
    background: #6D5F9D url('images/acc_bgr.png') center 1px no-repeat;
}
.acc_holder.with_bgr .active_acc .acc_control {
    background-color: #6D5F9D;
    background-position: center -1px;
}
.acc_heading {
    display: block;
    margin-left: 34px;
}
.accordion {
    padding: 6px 0;
    margin: 0;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    font-size: 17px;
    line-height: 24px;
    cursor: pointer;
}
.acc_holder.with_bgr .accordion {
    border-radius: 4px;
    font-size: 14px;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    -ms-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
    transition: all 0.1s linear;
    background-color: #fcfcfc;
    border: 1px solid #e4e4e4;
}
.acc_holder.with_bgr .accordion:hover {
    background-color: #f6f6f6;
}
.accordion_content {
    display: none;
    padding: 6px 10px 12px 34px;
    overflow: hidden;
}
.acc_holder.with_bgr .accordion_content {
    padding: 16px 12px 20px;
}
#sidebar .accordion {
    font-size: 14px;
}

/* Fix: Prevent WordPress block editor + icon from conflicting with accordion */
.accordion .wp-block-button__link::before,
.accordion .block-editor-block-list__block::before,
h4.accordion .wp-block-inserter,
h4.accordion > .components-button {
    display: none !important;
}

/* Fix h4.accordion conflict: ensure no default h4 margin pushes content */
h4.accordion {
    font-size: 17px;
    line-height: 24px;
    margin: 0;
    padding: 6px 0;
    font-weight: normal;
}