/*
 Theme Name: Ally Child Theme
 Theme URI:  https://ally.divilover.com
 Description:Multipurpose Child Theme Template for Divi
 Author:     Divi Lover
 Author URI: https:/divilover.com
 Template:   Divi
 Version:    1.5
 License:    GNU General Public License v2 or later
 License URI:http://www.gnu.org/licenses/gpl-2.0.html
*/


/* ----- Typography ----- */


/* Heading Styles */

/* H1 styling */
h1 {
    font-weight:400;
    font-size:3em;
}

/* H2 styling */
h2,
.et_pb_post h2 {
    font-weight:400;
    font-size:2.4em;
}

/* H3 styling */
h3,
.et_pb_post h3 {
    font-weight:400;
    font-size:2em;
}

/* H4 styling */
h4 {
    font-weight:400;
    line-height:1.2em;
    font-size:2em;
}

/* H5 styling */
h5 {
    line-height:1.2em;
    font-size:1.6em;
}

/* H6 styling */
h6 {
    line-height:1.2em;
    font-size:1.2em;
}

/* ----- Header & Navigation ----- */

/* Remove box shadow from header */
#main-header {
    box-shadow:none;
    position:relative;
}
#main-header.et-fixed-header {
	box-shadow:none!important;
}

/* Reset bolder font on top navigation */
#et-top-navigation {
	font-weight:400;
}

/* Style CTA menu item */
#top-menu.nav > li.cta-menu-link > a {
	padding:12px!important;
	margin-top:-12px;
	border-radius:3px;
	border:1px #fff solid;
	font-weight:700;
	letter-spacing:1px;
}
#top-menu.nav > li.cta-menu-link > a:hover {
	background:#fff;
	color:#000;
	border-color:#fff;
	opacity:1;
	transform:scale(1.1);
}

/* Style the submenu */
.nav li ul.sub-menu {
	border-top:none;
	margin-left:-20px;
	margin-top:-5px;
	padding:0 0 10px;
	box-shadow:none;
}
#top-menu.nav li ul.sub-menu li {
	padding:0;
	display:block;
}
#top-menu.nav li ul.sub-menu li a {
	padding:7px 20px;
	width:100%;
	display:block;
	transition:all .3s ease-in-out;
}
#top-menu.nav li ul.sub-menu li a:hover {
	background:none;
}

/* Style the mobile menu */
.mobile_nav .mobile_menu_bar:before {
	color:#fff;
}

/* Change mobile menu icon when open */
.opened .mobile_menu_bar:before {
	content:'M';
}
.et_mobile_menu {
	border-top:none;
	padding:0;
}

/* Style the mobile menu item */
.et_mobile_menu li a {
	color:#fff;
	text-transform:uppercase;
}

/* Style mobile CTA menu item */
.et_mobile_menu li.cta-menu-link > a {
	padding:12px!important;
	margin:15px;
	border-radius:3px;
	border:1px #fff solid;
	font-weight:700;
	letter-spacing:1px;
	text-align:center;
}
.et_mobile_menu li.cta-menu-link > a:hover {
	background:#fff;
	color:#000!important;
	border-color:#fff;
	opacity:1;
	transform:scale(1.1);
}


/* ----- FOOTER Styling ----- */


/* Style "back to top" link */
.et_pb_scroll_top.et-pb-icon {
	background:rgba(0,0,0,0.2);
	border:1px #fff solid;
	margin-right:20px;
	border-radius:100%;
	color:#fff;
	transition:all .3s ease-in-out;
}

.et_pb_scroll_top.et-pb-icon:hover {
	background:#000;
}

/* Contact form styling */
.ally-contact-form p input, .ally-contact-form p textarea {
	border:1px #fff solid;
	background:rgba(255,255,255,0.2);
	color:#000;
}
.ally-contact-form p input:focus, .ally-contact-form p textarea:focus {
	color:#000;
	border-color:#000;
}
.ally-contact-form p input::-moz-placeholder, .ally-contact-form p textarea::-moz-placeholder {
	color:#fff;
	font-weight:bold;
	letter-spacing:0.5px;
	text-transform:uppercase;
}
.ally-contact-form p input:-ms-input-placeholder, .ally-contact-form p textarea:-ms-input-placeholder {
	color:#fff;
	font-weight:bold;
	letter-spacing:0.5px;
	text-transform:uppercase;
}
.ally-contact-form p input::-webkit-input-placeholder, .ally-contact-form p textarea::-webkit-input-placeholder {
	color:#fff;
	font-weight:bold;
	letter-spacing:0.5px;
	text-transform:uppercase;
}
.ally-contact-form .et_contact_bottom_container {
	overflow: auto;
	padding:10px;
	float:none;
	width:100%;
	text-align:center;
}

/* Social follow links */
.ally-social li a.icon {
	width:50px;
	height:50px;
}
.ally-social li a.icon::before {
	width:50px;
	height:50px;
	font-size:20px;
	line-height:50px;
	box-shadow:inset 0 0 5px 50px rgba(255,255,255,0);
	border-radius:100%;
	transition:all .3s ease-in-out;
	transform:scale3d(0.9, 0.9, 1);
}
.ally-social li a.icon:hover::before {
	box-shadow:inset 0 0 0 1px rgba(255,255,255,1);
	color:#fff;
	transform:scale3d(1, 1, 1);
}
/* Bottom Footer Styling */
#et-footer-nav {
	margin-bottom:50px;
}
#footer-bottom {
	height:50px;
	margin-top:-50px;
	padding:10px 0 0;
	z-index:10;
	position:relative;
}
@media all and (max-width:480px) {
	#footer-bottom {
		height:80px;
		margin-top:-80px;
		line-height:1.4;
	}
}
#ally-footer {
	width:100%;
}

/* ----- GENERAL site-wide styling ----- */

/* Set the overlays */
.ally-gradient-overlay {
	position:relative;
}
.ally-gradient-overlay:after {
	content:'';
	display:block;
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background:rgba(0,0,0,0.1);
	z-index:6; /* VER 1.1 changed z-index value */
}
.ally-gradient-overlay .et_pb_row {
	position: relative;
	z-index:9; /* VER 1.1 changed z-index value */
}

/* Buttons styles */
.et_pb_module .et_pb_button {
	padding-top:0.5em !important;
	padding-bottom:0.5em !important;
}
.et_pb_module .et_pb_button:hover {
	transform:scale(1.1);
	padding-top:0.5em !important;
	padding-bottom:0.5em !important;
}
.et_pb_module .et_pb_button.et_pb_bg_layout_dark {
	color:#fff !important;
	background:#000 !important;
	border-color:#fff !important;
}
.et_pb_module .et_pb_button.et_pb_bg_layout_dark:hover {
	color:#000 !important;
	background:#fff !important;
	border-color:#fff !important;
}

/* Blockquotes styling */
blockquote {
	border:none;
	padding-left:40px;
	position:relative;
}
blockquote p {
	font-style:italic;
}
blockquote:before {
	content:'\7b';
	display:block;
	font-family:'ETModules', monospace;
	color:rgba(0,0,0,0.1);
	font-size:60px;
	position:absolute;
	top:-10px;
	left:-15px;
}


/* Magnific Popup CSS */
.mfp-wrap .mfp-container button:hover{background:transparent!important}.mfp-wrap .mfp-arrow:active{position:absolute;top:50%}.mfp-wrap .mfp-close:active{position:absolute;top:-10px}.mfp-arrow-left .mfp-a,.mfp-arrow-left:after,.mfp-arrow-right .mfp-a,.mfp-arrow-right:after{font-family:ETmodules;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mfp-fade.mfp-bg{opacity:.001;transition:all .5s ease-out}.mfp-fade.mfp-bg.mfp-ready{opacity:.8}.mfp-fade.mfp-bg.mfp-removing{opacity:0}.mfp-fade .mfp-wrap.mfp-wrap.mfp-ready .mfp-content{opacity:1}.mfp-fade .mfp-wrap.mfp-wrap.mfp-removing .mfp-content{opacity:0}.mfp-fade .mfp-wrap .mfp-content{opacity:.001;transition:all .5s ease-out}.mfp-bg{z-index:1000000;overflow:hidden;background:#0b0b0b;opacity:.8;filter:alpha(opacity=80)}.mfp-bg,.mfp-wrap{top:0;left:0;width:100%;height:100%;position:fixed}.mfp-wrap{z-index:1000001;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-ajax-holder .mfp-content,.mfp-inline-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom{cursor:pointer;cursor:zoom-in}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:zoom-out}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-webkit-user-select:none;-moz-user-select:none;-ms-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:-.8em;left:8px;right:8px;z-index:1044}.mfp-preloader a{color:#ccc}.mfp-preloader a:hover{color:#fff}.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1046;box-shadow:none}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;position:absolute;right:0;top:0;text-decoration:none;text-align:center;opacity:.65;filter:alpha(opacity=65);padding:0 0 18px 10px;color:#fff;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:focus,.mfp-close:hover{opacity:1;filter:alpha(opacity=100)}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px}.mfp-arrow{position:absolute;opacity:.55;filter:alpha(opacity=55);margin:0;top:50%;margin-top:-32px;padding:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mfp-arrow:hover{opacity:1;filter:alpha(opacity=100)}.mfp-arrow-left{left:10px}.mfp-arrow-right{right:10px}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.mfp-arrow{background:none!important;margin-top:-32px!important;line-height:1em!important}.mfp-arrow,.mfp-arrow:after{width:48px!important;height:48px!important}.mfp-arrow:after{margin:0!important;top:0!important;border:none!important}.mfp-arrow-left{left:0!important}.mfp-arrow-left .mfp-a,.mfp-arrow-left:after,.mfp-arrow-right .mfp-a,.mfp-arrow-right:after{border:none;font-size:64px;color:#fff}.mfp-arrow-left:before,.mfp-arrow-right:before{display:none}.mfp-arrow-left .mfp-a,.mfp-arrow-left:after{content:"4"}.mfp-arrow-right .mfp-a,.mfp-arrow-right:after{content:"5"}.mfp-iframe-holder .mfp-close,.mfp-image-holder .mfp-close{font-size:64px;font-family:Open Sans,Arial,sans-serif;font-weight:200;top:-10px;opacity:.2}.mfp-iframe-holder .mfp-close:hover,.mfp-image-holder .mfp-close:hover{opacity:1}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;box-sizing:border-box;padding:40px 0;margin:0 auto}.mfp-figure,img.mfp-img{line-height:0}.mfp-figure:after{content:"";position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(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}@media screen and (max-height:300px),screen and (max-width:800px) and (orientation:landscape){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media (max-width:900px){.mfp-arrow{transform:scale(.75)}.mfp-arrow-left{transform-origin:0}.mfp-arrow-right{transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}
/* Ally Popup Styling */
.ally-white-popup {
	position: relative;
	background: #FFF;
	padding: 30px;
	width: 80%;
	max-width: 850px;
	margin: 20px auto;
	text-align:center;
	border-radius:5px;
	box-shadow:1px 1px 12px rgba(0,0,0,0.2);
	transform: scale(0.7);
	opacity: 0;
	transition: all 0.3s;
}
.blurred #page-container {
	transition:all .3s ease-in-out;
}
.blurred #page-container {
	filter:blur(2px);
}
.blurred .mfp-bg {
	background-color:#fff;
	opacity:1;
}
.blurred .mfp-wrap .mfp-close:active {
	top:0;
}
.mfp-ready .ally-white-popup {
	transform: scale(1);
	opacity: 1;
}

/* Contact form in popup */
.ally-contact-form-dark p input, .ally-contact-form-dark p textarea {
	background:#fff;
}
.ally-contact-form-dark .et_contact_bottom_container {
	overflow: auto;
	padding:10px;
	float:none;
	width:100%;
	text-align:center;
}
.mfp-wrap .mfp-container .et_pb_button:hover {
	background:#000!important;
}

/* Decorative lines after heading tags */
.ally-lines:before,
.ally-lines:after {
	content:'';
	display:inline-block;
	width:100px;
	height:1px;
	background:#000;
	margin: 0 .5em .25em 0;
}
.ally-lines:after {
	margin: 0 0 .25em .5em;
}
.et_pb_post_title h1.entry-title:after {
	content:'';
	display:block;
	width:100px;
	height:1px;
	background:#000;
	margin: 0 auto .25em;
}
.et_pb_post_title h1.entry-title:after {
	margin:.25em auto .125em;
}
.et_pb_bg_layout_dark h1.entry-title:after {
	background:#fff;
}
@media (max-width:980px) {
	.ally-lines:before,
	.ally-lines:after {
		width:30px;
	}
}
@media (max-width:479px) {
	.ally-lines:before,
	.ally-lines:after {
		display:none;
	}
}
.et_pb_text_align_left h2:after,
.et_pb_text_align_left h3:after,
.et_pb_text_align_left h4:after,
.et_pb_text_align_right h2:after,
.et_pb_text_align_right h3:after,
.et_pb_text_align_right h4:after,
#sidebar h4.widgettitle:after {
	content:'';
	display:block;
	width:100px;
	height:1px;
	margin:10px 0 20px;
	background:#000;
}
.et_pb_text_align_right h2:after,
.et_pb_text_align_right h3:after,
.et_pb_text_align_right h4:after {
	margin-left:calc(100% - 100px);
}
@media (max-width:767px) {
	.et_pb_text_align_right h2:after,
	.et_pb_text_align_right h3:after,
	.et_pb_text_align_right h4:after {
		margin-left:0;
	}
}
.et_pb_bg_layout_dark h2:after,
.et_pb_bg_layout_dark h3:after,
.et_pb_bg_layout_dark h4:after,
.et_pb_bg_layout_dark .ally-lines:after,
.et_pb_bg_layout_dark .ally-lines:before,
.et_pb_bg_layout_dark .ally-line:after {
	background:#fff!important;
}
h2.no-line:after,
h3.no-line:after,
h4.no-line:after {
	display:none!important;
}
strong.ally-lines {
	letter-spacing:1px;
}


/* ----- MODULES ----- */


/* Fullscreen slider */
.ally-fullscreen-slider .et_pb_slides,
.ally-fullscreen-slider .et_pb_slide,
.ally-fullscreen-slider .et_pb_container {
    min-height:100vh !important;
    height:100vh !important;
}

/* Fullscreen slider - logo image styling */
.ally-fullscreen-logo {
	margin-top:-100vh;
	min-height:100vh !important;
    height: 100vh !important;
    display:flex;
    width:100%;
    align-items:center;
    justify-content:center;
}
.ally-fullscreen-logo a {
	width:auto;
	height:auto;
	z-index:99;
	max-width:60%;
}
.ally-fullscreen-logo a img {
	transition:all .3s ease-in-out;
}
.ally-fullscreen-logo a:hover img { /* grow logo image on hover */
	transform:scale(1.05);
}

/* Fullscreen slider scroll down icon */
.ally-scroll {
	position:absolute;
	z-index:5;
	bottom:10px;
	left:50%;
	display:block;
}
.ally-scroll:before {
	content:'3';
	display:inline-block;
	color:#fff;
	font-family:"ETModules";
	font-size:60px;
	margin-left:-30px;
	-moz-animation: bounce 2s infinite;
	-webkit-animation: bounce 2s infinite;
	animation: bounce 2s infinite;
}
.ally-scroll:hover:before {
	cursor:pointer;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* Hide scroll down icon on mobile */
@media all and (max-width:767px) {
	.ally-scroll {
		display:none;
	}
}

/* Blurbs - style 1 */
.ally-blurb1:hover {
	box-shadow:0 3px 47px rgba(0, 0, 0, 0.2);
}

/* Blurbs - style 2 */
/* VER 1.1 deleted lines due to Safari bug */
.ally-blurb2 {
	transform-style: preserve-3d;
	width:100%;
	background-size:cover;
	position:relative;
	z-index:2;
}
.ally-blurb2 .et_pb_blurb_container,
.ally-blurb2 .et_pb_main_blurb_image {
	transition:all .3s ease-in-out;
	position:relative;
	z-index:3;
}
.ally-blurb2:hover {
	box-shadow:1px 1px 30px rgba(0,0,0,0.15);
	z-index:15;
}
.ally-blurb2:hover .et_pb_blurb_container,
.ally-blurb2:hover .et_pb_main_blurb_image {
	text-shadow:1px 1px 4px rgba(0,0,0,0.4);
	transform: translateZ(40px);
}
.ally-blurb2:after{
	content:'';
	display:block;
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	z-index:2;
}

/* Blurbs - style 3 */
.ally-blurb3 .et_pb_blurb_content {
    display: flex;
}
.ally-blurb3 h4:after {
	display:none!important;
}
.ally-blurb3 .et-pb-icon {
	padding:20px;
	border-radius:100px;
	z-index:3;
	position:relative;
}
.ally-blurb3 .et_pb_main_blurb_image {
	position:relative;
	border-radius:100px;
	margin-bottom:0;
	width:74px;
	float:left;
}
.ally-blurb3 .et_pb_main_blurb_image:before {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 74px;
    height: 74px;
    border-radius: inherit;
    z-index: 1;
	box-shadow:inset 0 0 20px 50px #000;
	transition:all .3s ease-in-out;
	transform:scale3d(0.9, 0.9, 1);
}
.ally-blurb3:hover .et_pb_main_blurb_image:before {
	box-shadow:inset 0 0 0 1px #000;
	transform:scale3d(1, 1, 1);
}
.ally-blurb3.ally-icon .et_pb_main_blurb_image:before {
	box-shadow:inset 0 0 20px 50px #f4f4f4;
}
.ally-blurb3.ally-icon:hover .et_pb_main_blurb_image:before {
	box-shadow:inset 0 0 0 1px #f4f4f4;
}
.ally-blurb3:hover .et-pb-icon {
	color:#000!important;
}
.ally-blurb3 .et_pb_blurb_container {
	vertical-align:middle;
	transition:all .3s ease-in-out;
	display:block;
}
.ally-blurb3 .et_pb_blurb_content:afer {
	content:'';
	display:block;
	height:0;
	width:0;
	clear:both;
}
.ally-blurb3:hover .et_pb_blurb_container {
	animation: woble_right .5s;
}
@keyframes woble_right {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(15px);
  }
}

/* Blurbs - style 3 - icon on the right */
.ally-blurb3-left .et_pb_blurb_content {
    flex-direction: row-reverse;
}
.ally-blurb3-left {
	clear:both;
}
.ally-blurb3-left .et_pb_main_blurb_image {
	float:right;
	width:74px;
}
.et_pb_text_align_right .et_pb_blurb_content,
.ally-blurb3-left .et_pb_blurb_content {
	text-align:right;
}
.et_pb_text_align_right .et_pb_blurb_container,
.ally-blurb3-left .et_pb_blurb_container {
	padding-right:15px;
	padding-left:0;
}
.ally-blurb3-left:hover .et_pb_blurb_container {
	animation: woble_left .5s;
}
@keyframes woble_left {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-15px);
  }
}

/* Blurbs - style 4 */
.ally-blurb4 .et_pb_main_blurb_image {
	vertical-align:middle;
}
.ally-blurb4:hover .et_pb_main_blurb_image {
	animation: woble_left .5s;
}
.ally-blurb4:hover .et_pb_blurb_container {
	animation: woble_right .5s;
}

/* Blurbs - style 5 & gradient Icon */
.ally-blurb5 .et-pb-icon,
.ally-icon .et-pb-icon {
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.ally-icon .et_pb_main_blurb_image {
	margin-bottom:0;
}
.ally-blurb5 {
	transition:all .3s ease-in-out;
	min-width:100%;
	padding:20px;
}
.ally-blurb5:hover {
	box-shadow:1px 1px 15px rgba(0,0,0,0.1);
	transform:scale(1.05);
}
.et_pb_bg_layout_dark a {color:#fff;}

/* Style the testimonial module */
.ally-testimonial .et_pb_testimonial_portrait {
	margin-top:-15px;
	transition:all .3s ease-in-out;
}
.ally-testimonial .et_pb_testimonial_portrait:before {
	box-shadow:1px 1px 10px rgba(0,0,0,0.2);
}
.ally-testimonial:hover .et_pb_testimonial_portrait {
	transform:scale(1.1);
}
.ally-testimonial:before {
	content:"\7b";
	opacity:0.1;
	font-size:220px;
	top:-80px;
	left:-70px;
}
.ally-testimonial .et_pb_testimonial_description_inner {
	width:100%!important;
}

/* Testimonial slider styling */
.ally-testimonial-slider {
	text-shadow: none;
}
.ally-testimonial-slider .et_pb_slide_image {
	max-width:23%;
	margin-left:2%;
}
.ally-testimonial-slider .et_pb_slide_image img {
	border-radius:100%;
}
.ally-testimonial-slider .et_pb_slide:first-child .et_pb_slide_image img.active {
	animation:none;
}
.ally-testimonial-slider .et_pb_slide_description {
	width:68%;
	margin-right:2%;
	text-shadow:none;
}
.ally-testimonial-slider .et-pb-arrow-prev, .ally-testimonial-slider .et-pb-arrow-next {
	color:#000!important;
}
.ally-testimonial-slider .et_pb_slide_description .et_pb_slide_title:before {
	content:'\7b';
	display:block;
	font-family:'ETModules', monospace;
	font-style:normal;
	color:rgba(0,0,0,0.05);
	font-size:140px;
	top:30px;
	left:-60px;
	position:absolute;
	animation-name: fadeBottom;
	animation-duration: 0.7s;
	animation-timing-function: ease-in-out;
}
@media (max-width:767px) {
	.ally-testimonial-slider .et_pb_slide_image {
		width:30%;
		margin:0 auto!important;
		display:block!important;
	}
	.ally-testimonial-slider .et_pb_slide_description {
		width:96%;
		margin:0 auto;
	}
}

/* Images with overlay */
.ally-image-overlay img .et_pb_image_wrap { /* VER 1.1 changed to match new Divi markup */
	filter:grayscale(1);
	transition:all .3s ease-in-out;
	position:relative;
}
.ally-image-overlay .et_pb_image_wrap { /* VER 1.1 changed to match new Divi markup */
	position:relative;
	-webkit-transform: translate3d(0,0,0);
}
.ally-image-overlay .et_pb_image_wrap:after { /* VER 1.1 changed to match new Divi markup */
	position:absolute;
	display:block;
	top:0;
	right:0;
	left:0;
	bottom:0;
	content:'';
	background:rgba(0,0,0,0.1);
	transition:all .3s ease-in-out;
}
.ally-image-overlay .et_pb_image_wrap:hover:after { /* VER 1.1 changed to match new Divi markup */
	opacity:0;
}
.ally-image-overlay .et_pb_image_wrap:hover img { /* VER 1.1 changed to match new Divi markup */
	filter:grayscale(0);
	box-shadow:1px 1px 30px rgba(0,0,0,0.3);
}
.ally-image-overlay .et_pb_image_wrap:hover { /* VER 1.1 changed to match new Divi markup */
	z-index:15;
}

/* Team member styling */
.ally-person {
	text-align:center;
}
.ally-person .et_pb_team_member_image {
	border-radius:100%;
	max-width:250px;
	margin:0 auto;
	overflow: hidden;
	-webkit-transform: translate3d(0,0,0);
}
.ally-person .et_pb_team_member_image img{
	min-width:100%;
	transition:all .3s ease-in-out;
	filter:grayscale(1);
}
.ally-person:hover .et_pb_team_member_image img{
	transform:scale(1.1);
	filter:grayscale(0);
}
@media (min-width:768px) and (max-width:980px) {
	.ally-person {
	text-align:left;
	}
	.ally-person .et_pb_team_member_image {
		max-width:150px;
	}
}

/* Person module with overlay */
.ally-person-overlay .et_pb_team_member_image:after {
	content:'';
	display:block;
	position:absolute;
	top:0;
	bottom:0;
	right:0;
	left:0;
	border-radius:100%;
	transition:all.3s ease-in-out;
}
.ally-person-overlay:hover .et_pb_team_member_image:after {
	opacity:0;
}

/* FAQ Accordion Styling */
.ally-faq h5.et_pb_toggle_title {
	font-weight:400;
}
.ally-faq .et_pb_toggle {
	border-top:none!important;
	border-left:none!important;
	border-right:none!important;
	margin-bottom:0 !important;
}
.et_pb_toggle_title:before {
	content:'3'!important;
	font-size:26px;
	transition:all .3s ease-in-out;
}
.et_pb_toggle_open .et_pb_toggle_title:before {
	transform:rotate(180deg);
}

/* Toggles Styling */
.ally-toggle {
	border:none;
	transition:all .3s ease-in-out;
}
.ally-toggle.et_pb_toggle_open, .ally-toggle:hover {
	box-shadow:1px 1px 15px rgba(0,0,0,0.1);
}
.ally-toggle .et_pb_toggle_title:before {
	font-size:50px;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Number counters */
.ally-number-counter div.percent:after {
	content:'';
	display:inline-block;
	width:50px;
	height:1px;
	background:#fff;
	margin:-8px 0 10px;
}
.ally-number-counter.et_pb_bg_layout_light div.percent:after {
	background:#000;
}
@media (max-width: 1100px) and (min-width: 981px) {
	.ally-number-counter div.percent:after {
		margin-bottom:20px;
	}
}

/* Bar counters */
.ally-bar-counter .et_pb_counter_container {
	border-radius:3px;
	overflow:hidden;
}
.ally-bar-counter .et_pb_counter_amount_number {
	line-height:2.5em;
}

/* Pricing tables */
.ally-pricing .et_pb_pricing_table {
	border:none;
	background:#fff;
	box-shadow:1px 1px 7px rgba(0,0,0,0.1);
	border-radius:5px;
	overflow:hidden;
	transition:all .3s ease-in-out;
}
.ally-pricing .et_pb_pricing_table:hover {
	transform:scale(1.05);
	z-index:11;
}
.ally-pricing .et_pb_pricing_content_top {
	border-bottom:none;
}
.ally-pricing .et_pb_pricing_content {
	padding-top:0;
}
.ally-pricing li {
	padding-bottom:10px;
}

/* Portfolio & Gallery overlay */
.ally-portfolio {
	display:block!important;
}
.ally-portfolio .et_pb_portfolio_item {
	position:relative;
	overflow:hidden;
}
.ally-portfolio .et_pb_portfolio_item .et_portfolio_image {
	overflow:hidden;
}
.ally-portfolio .et_pb_portfolio_item .et_overlay,
.ally-gallery .et_pb_gallery_item .et_overlay {
	opacity:1;
	z-index:2;
	top:-200%;
	border:0;
	transition:none;
}
.ally-portfolio .et_pb_portfolio_item .et_overlay:before {
	top:25%;
	font-size:24px;
}
.ally-portfolio .et_pb_portfolio_item .et_overlay:hover:before {
	top:25%;
}
.ally-portfolio .et_pb_portfolio_item h2 {
	position: absolute;
    top:40%;
    text-align: center;
    width: 100%;
    opacity: 0;
    transition:all .4s ease-in-out;
    z-index:3;
    transform:scale(0);
}
.ally-portfolio .et_pb_portfolio_item:hover h2 {
	opacity:1;
    transform:scale(1);
}
@media only screen and (max-device-width : 1024px) {
	.ally-portfolio .et_pb_portfolio_item:hover .et_overlay,
	.ally-gallery .et_pb_gallery_item:hover .et_overlay {
		top:0!important;
		left:0!important;
	}
}
/* Style portfolio filters */
.ally-portfolio .et_pb_portfolio_filters ul {
	margin-top:40px;
	text-align:center;
}
.ally-portfolio .et_pb_portfolio_filters ul li {
	display:inline-block;
	float:none;
}
.ally-portfolio .et_pb_portfolio_filters ul li a {
	background:transparent!important;
	text-transform:uppercase;
	transition:all .3s ease-in-out;
	letter-spacing:1px;
}
.ally-portfolio .et_pb_portfolio_filters ul li a:hover {
	opacity:0.7;
}
.ally-portfolio .et_pb_portfolio_filters ul li a.active {
	font-weight:bold;
}
.ally-portfolio .et_pb_portfolio_filters ul li a {
	border:1px #000 solid;
	color:#000!important;
}
.et_pb_bg_layout_dark.ally-portfolio .et_pb_portfolio_filters ul li a {
	border:1px #fff solid;
	color:#fff!important;
}
/* Portfolio 2 Styles */
.ally-portfolio2 .et_pb_portfolio_item .et_overlay:before {
	font-size:36px;
}
.ally-portfolio2 .et_pb_portfolio_item .et_overlay:before {
	font-size:36px;
}
.ally-portfolio2 .et_pb_portfolio_filters ul li {
	float:left;
}
@media (min-width: 981px) {
	.ally-portfolio2 .et_pb_portfolio_item {
		width:33.333%!important;
	}
}

/* Blog Grid Styling */
.ally-blog-grid .et_pb_post {
	border:none;
	transition:all .3s ease-in-out;
}
.ally-blog-grid .et_pb_post:hover {
	transform:scale(1.05);
	box-shadow:1px 1px 15px rgba(0,0,0,0.08);
}
.ally-blog-grid .et_pb_post .entry-title {
	min-height:2.8em;
}
.ally-blog-grid .et_pb_post .post-content > p {
	display:none;
}
.ally-blog-grid .et_pb_post .more-link {
	float: right;
    font-size: 12px;
    margin-bottom: -30px;
}
.ally-blog-grid .et_pb_post .et_overlay {
	border:none;
}

/* Blog Two Columns Styling */
.ally-blog-list .entry-featured-image-url {
	width:60%;
	float:left;
}
.ally-blog-list .wrapped {
	width:60%;
	margin-left:-20%;
	margin-top:5%;
	float:right;
	padding:10px 40px 40px;
	background:#fff;
	box-shadow:1px 1px 15px rgba(0,0,0,0.1);
	z-index:12;
	position:relative;
}
.ally-blog-list .wrapped h2.entry-title {
	line-height:1em;
}
@media all and (max-width:767px) {
	.ally-blog-list .wrapped {
		width:80%;
		margin-left:-40%;
		padding:0 20px 20px;
		margin-top:10%;
	}
}
@media all and (max-width:479px) {
	.ally-blog-list .wrapped {
		width:90%;
		margin-left:-45%;
		margin-top:-20%;
	}
}
.ally-blog-list .et_pb_post .more-link {
	float: right;
	display:inline-block;
    margin:10px 0 -50px;
}
.ally-blog-list .et_pb_post .more-link:hover {
	color:#fff!important;
	background:#000;
}
.ally-blog-list .et_pb_post .et_overlay {
	border:none;
}


/* ----- Blog & archive pages styling ----- */


/* Remove the default border from sidebar */
#main-content .container::before {
	display:none;
}
.et_pb_widget_area_right {
	border-left:none;
}

/* Clear floats after each post */
.blog:not(.et-tb-has-body) .et_pb_post:after, .archive:not(.et-tb-has-body) .et_pb_post:after, .search:not(.et-tb-has-body) .et_pb_post:after {
	content:'';
	clear:both;
	display:block;
	height:0;
}

/* Style the post image link */
.blog:not(.et-tb-has-body) .et_pb_post > a, .archive:not(.et-tb-has-body) .et_pb_post > a, .search:not(.et-tb-has-body) .et_pb_post > a {
	max-width:60%;
	float:left;
	overflow:hidden;
	transition:all .3s ease-in-out;
	position:relative;
}
.blog:not(.et-tb-has-body) .et_pb_post > a:hover, .archive:not(.et-tb-has-body) .et_pb_post > a:hover, .search:not(.et-tb-has-body) .et_pb_post > a:hover {
	box-shadow:1px 1px 25px rgba(0,0,0,0.15);
}

/* Add an overlay to post thumbnail */
.blog:not(.et-tb-has-body) .et_pb_post > a:after, .archive:not(.et-tb-has-body) .et_pb_post > a:after, .search:not(.et-tb-has-body) .et_pb_post > a:after {
	content:'';
	display:block;
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	z-index:2;
	transition:all .3s ease-in-out;
	opacity:0;
}
.blog:not(.et-tb-has-body) .et_pb_post > a:hover:after, .archive:not(.et-tb-has-body) .et_pb_post > a:hover:after, .search:not(.et-tb-has-body) .et_pb_post > a:hover:after {
	opacity:1;
}

/* Set the styles for post content */
.blog:not(.et-tb-has-body) .et_pb_post .wrapped, .archive:not(.et-tb-has-body) .et_pb_post .wrapped, .search:not(.et-tb-has-body) .et_pb_post .wrapped {
	width:80%;
	float:right;
	margin-left:-60%;
	margin-top:20%;
	background:#fff;
	box-shadow:1px 1px 15px rgba(0,0,0,0.1);
	padding:10px 40px 40px;
	position:relative;
	z-index:12;
}
@media all and (max-width:767px) {
	.blog:not(.et-tb-has-body) .et_pb_post .wrapped, .archive:not(.et-tb-has-body) .et_pb_post .wrapped, .search:not(.et-tb-has-body) .et_pb_post .wrapped {
		width:90%;
		padding:0 20px 20px;
	}
}

/* Styles for post without thumbnail */
.et_pb_post:not(.has-post-thumbnail) .wrapped {
	width:100% !important;
	margin:0!important;
}

/* Post Heading Styles */
.blog:not(.et-tb-has-body) .et_pb_post h2.entry-title, .archive:not(.et-tb-has-body) .et_pb_post h2.entry-title, .search:not(.et-tb-has-body) .et_pb_post h2.entry-title {
	line-height:1em;
	transition:all .3s ease-in-out;
	transform-origin: 0 50%;
}
.blog:not(.et-tb-has-body) .et_pb_post h2.entry-title:hover, .archive:not(.et-tb-has-body) .et_pb_post h2.entry-title:hover, .search:not(.et-tb-has-body) .et_pb_post h2.entry-title:hover {
	transform:scale(1.05);
}

/* Pagination Styles */
.pagination .alignleft a, .pagination .alignright a, .pagination .alignleft a:hover, .pagination .alignright a:hover {
	padding-top:0.5em!important;
	padding-bottom:0.5em!important;
}
.pagination {
	line-height:1.7em;
	margin-bottom:3em;
}

/* Sidebar Styling */
#sidebar h4.widgettitle {
	font-size:1.4em;
	letter-spacing:0;
}

#sidebar h4.widgettitle:after {
	margin-bottom:0;
}
#sidebar a {
	transition:all .3s ease-in-out;
}

/* Recent post widget styling */
.widget_recent_entries ul li {
	margin-bottom:10px;
	line-height:1.2em;
}
.widget_recent_entries ul li a {
	display:table;
}
.widget_recent_entries ul li a img {
	display:table-cell;
	opacity:0.7;
	transition:all .3s ease-in-out;
	max-width:70px;
	min-width:70px; /* VER 1.1 Added*/
}
.widget_recent_entries ul li a:hover img {
	opacity:1;
}
.widget_recent_entries ul li a span {
	display:table-cell;
	vertical-align: middle;
	padding-left:10px;
}
.widget_recent_entries ul li a small {
	opacity:0.8;
	font-size:80%;
}

/* Comment Form Styling */
#commentform input[type="text"], #commentform input[type="email"], #commentform input[type="url"], #commentform textarea {
	background:#f8f8f8;
	border:1px #f8f8f8 solid;
	border-radius:3px;
	width:100%;
	transition:all .3s ease-in-out;
}
#commentform input[type="text"]:focus, #commentform input[type="email"]:focus, #commentform input[type="url"]:focus, #commentform textarea:focus {
	border:1px #000 solid;
}
#commentform textarea {
	height:185px;
}
@media (min-width:768px) {
	body:not(.logged-in) #commentform p.comment-form-comment {
		width:48%;
		float:left;
	}
	#commentform p.comment-form-author, #commentform p.comment-form-email, #commentform p.comment-form-url {
		width:50%;
		float:right;
	}
}
#commentform p.form-submit {
	clear:both;
}
#commentform:after {
	content:'';
	display:block;
	height:0;
	clear:both;
}

.comment-form-cookies-consent {
	clear:both;
}

/* VER 1.1 - Added Safari transform 3d bug fix */
.blog:not(.et-tb-has-body) .et_pb_post > a, .archive:not(.et-tb-has-body) .et_pb_post > a, .search:not(.et-tb-has-body) .et_pb_post > a  {
	-webkit-transform: translate3d(0,0,0)!important;
}