/*
Theme Name: Divi Child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: Divi child theme via FreshySites
Author: FreshySites
Author URI: https://freshysites.com/
Template: Divi
Version: 2.0.0
*/
/* Add your own styles at the bottom */

/* -- COLORS -- */

.white,
.white h1,
.white h2,
.white h3,
.white h4,
.white h5,
.white h6,
.white li,
.white a,
h1.white,
h2.white,
h3.white,
h4.white,
h5.white,
h6.white,
li.white,
a.white,
p.white {
    color: #fff;
}

.black,
.black h1,
.black h2,
.black h3,
.black h4,
.black h5,
.black h6,
.black li,
.black a,
h1.black,
h2.black,
h3.black,
h4.black,
h5.black,
h6.black,
li.black,
a.black,
p.black {
    color: #000;
}

.primary,
.primary h1,
.primary h2,
.primary h3,
.primary h4,
.primary h5,
.primary h6,
.primary li,
.primary a,
h1.primary,
h2.primary,
h3.primary,
h4.primary,
h5.primary,
h6.primary,
li.primary,
a.primary,
p.primary {
    color: #32a709;
}

.secondary,
.secondary h1,
.secondary h2,
.secondary h3,
.secondary h4,
.secondary h5,
.secondary h6,
.secondary li,
.secondary a,
h1.secondary,
h2.secondary,
h3.secondary,
h4.secondary,
h5.secondary,
h6.secondary,
li.secondary,
a.secondary,
p.secondary {
    color: #daf238;
}

.tertiary,
.tertiary h1,
.tertiary h2,
.tertiary h3,
.tertiary h4,
.tertiary h5,
.tertiary h6,
.tertiary li,
.tertiary a,
h1.tertiary,
h2.tertiary,
h3.tertiary,
h4.tertiary,
h5.tertiary,
h6.tertiary,
li.tertiary,
a.tertiary,
p.tertiary {
    color: #e4debe;
}

/* background colors */
.bg-white,
a.bg-white {
    background-color: #fff;
}
.bg-black,
a.bg-black {
    background-color: #000;
}
.bg-primary,
a.bg-primary {
    background-color: #32a709;
}
.bg-secondary,
a.bg-secondary {
    background-color: #daf238;
}
.bg-tertiary,
a.bg-tertiary {
    background-color: #e4debe;
}

/* -- END COLORS -- */

/* -- TYPOGRAPHY -- */

.text-lowercase,
.text-lowercase h1,
.text-lowercase h2,
.text-lowercase h3,
.text-lowercase h4,
.text-lowercase h5,
.text-lowercase h6,
.text-lowercase li,
.text-lowercase a {
    text-transform: lowercase !important;
}

.text-uppercase,
.text-uppercase h1,
.text-uppercase h2,
.text-uppercase h3,
.text-uppercase h4,
.text-uppercase h5,
.text-uppercase h6,
.text-uppercase li,
.text-uppercase a {
    text-transform: uppercase !important;
}

.text-capitalize,
.text-capitalize h1,
.text-capitalize h2,
.text-capitalize h3,
.text-capitalize h4,
.text-capitalize h5,
.text-capitalize h6,
.text-capitalize li,
.text-capitalize a {
    text-transform: capitalize !important;
}

.text-transform-none,
.text-transform-none h1,
.text-transform-none h2,
.text-transform-none h3,
.text-transform-none h4,
.text-transform-none h5,
.text-transform-none h6,
.text-transform-none li,
.text-transform-none a {
    text-transform: none !important;
}

.font-weight-bold,
.font-weight-bold h1,
.font-weight-bold h2,
.font-weight-bold h3,
.font-weight-bold h4,
.font-weight-bold h5,
.font-weight-bold h6,
.font-weight-bold li,
.font-weight-bold a {
    font-weight: 700;
}

.font-weight-normal,
.font-weight-normal h1,
.font-weight-normal h2,
.font-weight-normal h3,
.font-weight-normal h4,
.font-weight-normal h5,
.font-weight-normal h6,
.font-weight-normal li,
.font-weight-normal a {
    font-weight: 400;
}

.font-italic {
    font-style: italic;
}

.text-underline-none,
.text-underline-none a {
    text-decoration: none !important;
}

.text-underline,
.text-underline a {
    text-decoration: underline !important;
}

.text-nowrap,
.text-nowrap a {
    white-space: nowrap !important;
}

.text-wrap-normal,
.text-wrap-normal a {
    white-space: normal !important;
}

/* -- END TYPOGRAPHY -- */

/* -- TEMPLATE -- */

/* -- END TEMPLATE -- */

/* -- HEADER -- */

/* helps logo to not be pixelated when scaled down */
#logo {
    transform: none !important;
}

/* when mobile menu is open, change hamburger icon to x icon */
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    content: "\4d";
}

/* makes sub sub menu icon be right arrow instead of down arrow */
#top-menu .menu-item-has-children .menu-item-has-children>a:first-child::after,
#et-secondary-nav .menu-item-has-children .menu-item-has-children>a:first-child::after {
    content: "5";
}

/* if parent link of child menu is a deadlink, then make it not clickable */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children>a[href="#0"] {
    pointer-events: none;
}

/* - mobile menu toggling elements, injected via jQuery - */

/* make menu list item be relative, to be able to position toggle within this item */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
    position: relative;
}
/* the new toggle element, which is added via jQuery */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.03);
    z-index: 1;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    top: 4px;
    right: 4px;
    cursor: pointer;
    text-align: center;
}
/* the new toggle element when popped */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
    background-color: rgba(0, 0, 0, 0.1);
}
/* toggle icon */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 36px;
    font-size: 24px;
    text-transform: none;
    speak: none;
    content: "\33";
}
/* toggle icon when triggered */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
    content: "\32";
}
/* hide sub menus by default */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle~ul.sub-menu {
    display: none !important;
    padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped~ul.sub-menu {
    display: block !important;
    background-color: rgba(0, 0, 0, 0.03);
}
/* remove sub menu list item left padding, since padding will be on anchors */
#main-header #mobile_menu.et_mobile_menu li li {
    padding-left: 0;
}

/* adjust mobile menu anchors side paddings */
#main-header #mobile_menu.et_mobile_menu li a {
    padding-left: 20px;
    padding-right: 20px;
}
/* indent sub menu */
#main-header #mobile_menu.et_mobile_menu li li a {
    padding-left: 40px;
    padding-right: 20px;
}
/* indent sub sub menus further */
#main-header #mobile_menu.et_mobile_menu li li li a {
    padding-left: 60px;
    padding-right: 20px;
}
/* if mobile menu anchor has toggle, make room for it to fit next to the link */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle+a {
    padding-right: 44px;
}

/* - end mobile menu toggling elements - */

/* undo Divi's default styling of mobile menu links that have children */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children>a {
    background-color: transparent;
    font-weight: inherit;
}

/* make the current page's mobile menu link be different */
#main-header #mobile_menu.et_mobile_menu li.current-menu-item>a {
    font-weight: bolder;
}

/* -- END HEADER -- */

/* -- FOOTER -- */

#freshy_copyright span {
    display: inline-block;
    line-height: 1.5em;
}


/* vertical pipe divider */
#freshy_copyright span.copyright_via {
    width: 33.33333%;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    text-indent: 200%;
    background: rgba(255, 255, 255, 0.25);
    vertical-align: middle;
    margin: 10px auto 15px;
    display: block;
}

#freshy_copyright a.copyright_fs {
    display: block;
    vertical-align: middle;
    width: 42px;
    height: 20px;
    background-image: url("/wp-content/uploads/fs-lettermark-white.svg");
    background-repeat: no-repeat;
    background-size: 42px 20px;
    text-indent: 200%;
    white-space: nowrap;
    overflow: hidden;
    margin: 0 auto;
}

/* fix if using Impreza to remove underline */
#freshy_copyright a:hover {
    border: 0 !important;
}

@media (min-width: 600px) {
    /* vertical pipe divider */
    #freshy_copyright span.copyright_via {
        width: 1px;
        height: 20px;
        margin: 0 10px;
        display: inline-block;
    }
    #freshy_copyright a.copyright_fs {
        display: inline-block;
    }
}

@media (max-width: 980px) {
    #footer-bottom .et-social-icons li:first-child {
        margin-left: 0;
    }
}

/* -- END FOOTER -- */

/* -- RESPONSIVE -- */

/* do for mobile */
@media screen and (max-width: 767px) {
    /* hide on mobile */
    .hide-mobile {
        display: none;
    }
}

/* do for desktop */
@media screen and (min-width: 768px) {
    /* hide on desktop */
    .hide-desktop {
        display: none;
    }
}

/* -- END RESPONSIVE -- */

/* -- CHECKLIST -- */

.checklist ul {
	margin: 0;
	padding: 0 !important;
	list-style: none;
}

.checklist ul li {
	position: relative;
	padding-left: 30px;
	margin: 0 0 6px !important;
}

.checklist-columns-2 ul li,
.checklist-columns-3 ul li,
.checklist-columns-4 ul li {
	margin-bottom: 30px !important;
}

@media (max-width: 638px) {
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		margin-bottom: 20px !important;
	}
	.checklist-columns-2 ul li:last-child,
	.checklist-columns-3 ul li:last-child,
	.checklist-columns-4 ul li:last-child {
		margin-bottom: 0 !important;
	}
}

/* create columns of list items with this class */
@media (min-width: 639px) {
	.checklist-columns-2 ul::after,
	.checklist-columns-3 ul::after,
	.checklist-columns-4 ul::after {
		content: '';
		clear: both;
		display: table;
	}
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 50%;
		padding-right: 30px;
	}
	.checklist-columns-2 ul li:nth-child(odd),
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd){
		clear: both;	
	}
	.checklist-columns-2-alt > ul,
	.checklist-columns-3-alt > ul,
	.checklist-columns-4-alt > ul {
		column-count: 2;
		column-gap: 20px;
	}
	.checklist-columns-2-alt ul li,
	.checklist-columns-3-alt ul li,
	.checklist-columns-4-alt ul li {
		break-inside: avoid-column;
	}
}
@media (min-width: 981px) {
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 33.333333%;
	}
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-3 ul li:nth-child(3n+1),
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: both;	
	}
	.checklist-columns-3-alt ul,
	.checklist-columns-4-alt ul {
		column-count: 3;
	}
}
@media (min-width: 1199px) {
	.checklist-columns-4 ul li {
		float: left;
		width: 25%;
	}
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(4n+1) {
		clear: both;	
	}
	.checklist-columns-4-alt ul {
		column-count: 4;
	}
}

.checklist ul li::before {
	font-family: 'ETModules';
	content: '\4e';
	width: 20px;
	margin: 0;
	display: inline-block;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	color: #d50404;
	/* set font size helps make icon sharper */
	font-size: 22px;
	font-weight: normal;
}
.pluslist ul li::before {
	content: '\e050';
}
.externallist ul li::before {
	content: '\e906';	
}

/* -- END CHECKLIST -- */

/* -- DIVI HACKS -- */

/* make parallax image be centered at the start */
.et_parallax_bg {
    background-position: center center;
}

/* Divi was turning off bottom padding on last paragraphs, when it should be only if it's the last child */
p:last-of-type,
p:not(.has-background):last-of-type {
    padding-bottom: 1em;
}
p:last-child,
p:not(.has-background):last-child {
    padding-bottom: 0;
}

/* if there are more than one paragraphin the Fullwidth Header module, they should have padding */
.et_pb_fullwidth_header p:not(:last-child) {
    padding-bottom: 1em;
}

/* -- END DIVI HACKS -- */

/* -- PASSWORD PROTECTED -- */

/* set a max width to make it only as wide as most content */
.post-password-required .et_password_protected_form {
    width: 80%;
    margin: 10% auto;
    max-width: 1140px;
}

/* give the input a border */
.post-password-required .et_password_protected_form p input {
    border: 1px solid !important;
}

/* remove the arrow on hover of the submit button */
.post-password-required .et_password_protected_form .et_submit_button::after {
    display: none;
}

/* -- END PASSWORD PROTECTED -- */

/* -- TESTIMONIALS PLUGIN -- */

/* flip quote so it's an opening quote icon for grid and slider versions */
.b3_archive_testimonials_grid article .b3_quote.grid_quote::before,
.et_pb_module.et_pb_testimonial_slider .et_pb_slides_testi::before {
    transform: scale(-1, -1);
}

/* -- END TESTIMONIALS PLUGIN -- */

/* -- GRAVITY FORMS -- */

/* we swap out form ajax spinner via PHP Function, and add spinning if its PNG */
img.gform_ajax_spinner[src$=".png"] {
    animation: lime-spin 1.5s linear infinite;
    padding: 0;
    margin-left: 10px;
}
@keyframes lime-spin {
    100% {
        transform: rotate(360deg);
    }
}

/* confirmation (success) message */
.gform_confirmation_wrapper .gform_confirmation_message {
    font-size: 1.2rem;
    line-height: 1.5em;
    padding: 2rem;
    background: rgba(90, 90, 90, 0.1);
    text-align: center;
}

/* -- END GRAVITY FORMS -- */

/* -- HELPERS -- */

/* use the "fullwidth-section" class on a SECTION to make a "standard" SECTION truly be fullwidth 
(NOTE: the SECTION needs THIS class) */
.fullwidth-section.et_pb_section {
    padding: 0;
}
.fullwidth-section.et_pb_section>.et_pb_row {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
}

/* use the "fullwidth-row" class on a SECTION to make a "full width" ROW truly be fullwidth 
(NOTE: the ROW module settings needs to be Gutter Width 1, and the SECTION needs THIS class,
and unlike the class above, THIS class will auto-add padding to the columns) */
.fullwidth-row.et_pb_section {
    padding: 0;
}
.fullwidth-row.et_pb_section .et_pb_row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* helps add padding to each column */
.fullwidth-row.et_pb_section .et_pb_row>.et_pb_column {
    padding: 50px 10%;
}
@media (min-width: 767px) {
    .fullwidth-row.et_pb_section .et_pb_row>.et_pb_column {
        padding: 80px 6%;
    }
}
/* for some reason Divi removes bottom margin from modules if in column with no gutters, 
so we need to add margins back */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_gutters1>.et_pb_column .et_pb_module:not(:last-child) {
    margin-bottom: 30px;
}
@media (min-width: 981px) {
    .fullwidth-row.et_pb_section .et_pb_row.et_pb_gutters1>.et_pb_column_2_3 .et_pb_module:not(:last-child) {
        margin-bottom: 4.242%;
    }
    .fullwidth-row.et_pb_section .et_pb_row.et_pb_gutters1>.et_pb_column_1_3 .et_pb_module:not(:last-child) {
        margin-bottom: 9.27%;
    }
}
/* reduce gap between toggles if in fullwidth row */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_gutters1>.et_pb_column .et_pb_module.et_pb_toggle:not(:last-child) {
    margin-bottom: 3px;
}

@media (max-width: 980px) {
    /* use the "stacked-flex" class on a ROW to make it be flexbox when stacked, to help with adjusting order of stacked columns */
    .stacked-flex {
        display: flex;
        flex-wrap: wrap;
    }
    /* add the desired class to COLUMNS to designate their order when stacked within a "stacked-flex" ROW */
    .stacked-order-negative-4 {
        order: -4;
    }
    .stacked-order-negative-3 {
        order: -3;
    }
    .stacked-order-negative-2 {
        order: -2;
    }
    .stacked-order-negative-1 {
        order: -1;
    }
    .stacked-order-1 {
        order: 1;
    }
    .stacked-order-2 {
        order: 2;
    }
    .stacked-order-3 {
        order: 3;
    }
    .stacked-order-4 {
        order: 4;
    }
    /* adds margin to former "last" column that otherwise wouldn't have it */
    .stacked-flex:last-child .et_pb_column:last-child {
        margin-bottom: 30px;
    }
}

/* -- END HELPERS -- */

/* -- BLOG -- */

/* sidebar recent posts */
.et_pb_widget.widget_recent_entries ul li {
    margin-bottom: 1em;
}

/* sidebar recent posts dates */
.et_pb_widget.widget_recent_entries ul li span.post-date {
    display: table;
    font-size: 0.85em;
}

/* -- END BLOG -- */

/*--- Custom css---*/

body {
    font-weight: 400;
}

@media all and (min-width: 981px) and (max-width: 1280px) {
    body #page-container h1 {
        font-size: 52px;
    }
    .blurb-row .et_pb_column {
        padding-right: 1em;
        padding-left: 1em;
    }

    body #page-container .h3-style h3 {
        font-size: 28px;
    }
	
	body #page-container .h2-style h2{
		font-size: 30px;
	}

	body #page-container .home-slider-style .et_pb_slide_content {
		font-size:22px !important;
}
	.get-started h2{
		padding-bottom: 0 !important
	}
	body #page-container #footer-widgets .footer-widget li{
		font-size: 17px;	
	}
}

/* column align middle */
@media (min-width: 981px) {
    .center-align {
        display: flex;
        align-items: center;
    }
    .bottom-align {
        display: flex;
        align-items: flex-end;
    }
}

/* Column reverse on tab and mobile devices */
@media (max-width: 980px) {
    .column-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
    .column-reverse .et_pb_column:first-child {
        margin-bottom: 0;
    }
    .column-reverse .et_pb_column:last-child {
        margin-bottom: 30px;
    }
}

@media (max-width: 479px) {
    .column-reverse .et_pb_column:last-child {
        margin-bottom: 30px !important;
    }
}

/*Scroll to top*/

.et_pb_scroll_top.et-pb-icon {
    right: 4vw !important;
    color: #d50404 !important;
    padding: 6px !important;
    padding-right: 8px !important;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0px 0px 12px rgb(51 51 51 / 15%) !important;
    bottom: 70px !important;
    transition: all 300ms ease 0ms;
}

.et_pb_scroll_top.et-pb-icon:hover {
    transform: translateX(0px) translateY(-5px) !important;
}

@media all and (min-width: 980px) {
    .et_pb_scroll_top:before {
        font-size: 40px !important;
    }
}

/* Header style */

@media all and (min-width: 1200px){
	body #page-container #top-menu li {
    padding-right: 4em;
}
}


.et_fixed_nav #top-header {
    display: none;
}

.color-change {
    /*color: #d50404;*/
	color:#cb1a1a;
}

@media (max-width: 980px) {
    .et_header_style_left #logo {
        max-width: 80% !important;
    }

    img#logo {
        max-height: 80%;
    }

    .et_menu_container {
        width: 88% !important;
    }
}

/*-- Home slider --*/
.home-slider-style .et_pb_slide_title:after {
    content: "";
    display: block;
    margin: 0 auto;
    background: #d50404;
    width: 120px;
    margin-top: 10px;
    height: 3px;
}

.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button,
.et_button_no_icon.et_button_left .et_pb_button:hover,
.et_button_no_icon .et_pb_button,
.et_button_no_icon .et_pb_button:hover {
    padding: 0.8em 1.6em !important;
}

.home-slider-style .et_pb_slide_content {
    padding-bottom: 40px;
}

.home-slider-style .et_pb_slide_title {
    padding-bottom: 25px;
}

.home-slider-style .et_pb_button:hover {
    transform: translateX(0px) translateY(-10px) !important;
}

@media all and (max-width: 980px) {
    .home-slider-style .et-pb-arrow-next:before,
    .home-slider-style .et-pb-arrow-prev:before {
        font-size: 30px;
    }
}

#top-menu .current-menu-item a::after,
#top-menu .current_page_item a::after {
    opacity: 1;
    background-color: #d50404 !important;
    content: "";
    display: block;
    margin: auto;
    margin-top: 9px;
    height: 2px;
    width: 60%;
    background: #d50404;
}

#top-menu-nav>ul>li>a:hover:after {
    width: 60%;
    background: #d50404;
}
#top-menu-nav>ul>li>a:hover:after {
    background-color: #d50404 !important;
}

#top-menu-nav>ul>li>a:after {
    content: "";
    display: block;
    margin: auto;
    margin-top: 9px;
    height: 2px;
    width: 0px;
    background: transparent;
    transition: width 0.5s ease, background-color 1s ease;
}

#top-menu li a {
    font-weight: 500;
}

#top-menu-nav>ul>li>a:hover {
    opacity: 0.9;
}

.et-pb-arrow-prev:before,
.et-pb-arrow-next:before {
    background: rgba(212,3,3,0.5);
    padding: 5px;
    border-radius: 50%;
    transition: width 0.4s ease, background-color 0.4s ease;
}

.et-pb-arrow-prev:hover:before,
.et-pb-arrow-next:hover:before {
    background: rgba(0,0,0,0.5);
    transform: translateX(0px) translateY(-5px) !important;
}

.et-pb-arrow-prev:hover,
.et-pb-arrow-next:hover {
    transform: translateX(0px) translateY(-5px) !important;
}

.pum-container.pum-responsive img {
    border-radius: 50%;
}

/*--- Footer ---*/

#footer-widgets .footer-widget li a {
    color: #888;
    text-decoration: none;
}

#footer-widgets .footer-widget li:before {
    display: none;
}

#footer-widgets .footer-widget li {
    padding-left: 0px;
}

body #page-container #footer-widgets .footer-widget li a:hover {
    color: #ef731f;
}

#main-footer .footer-widget .title {
    padding-bottom: 1em;
}
body #page-container #footer-widgets .textwidget a {
    transition: all 0.2s;
}
body #page-container #footer-widgets .textwidget a:hover {
    color: #d50404 !important;
}

.widgettitle {
    font-size: 24px;
}

@media (max-width: 980px) {
    .widgettitle {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .widgettitle {
        font-size: 18px;
    }
}

@media (min-width: 981px){
	.widgettitle {
    padding-bottom: 1em;
}
}

.footer-info li .fa-envelope:before, .footer-info li .fa-phone:before, .footer-info li .fa-map-marker:before {
    color: #D50404;
}

.footer-info {
    padding-left: 26px;
}
/* Project section */

@media (min-width: 981px) {
    body #page-container .project-style .et_pb_portfolio_item.project {
        width: 24.5%;
        margin-right: 0.5%;
        margin-bottom: 0.5%;
    }

    .testimonial-slider .et-pb-arrow-next,
    .testimonial-slider .et-pb-arrow-prev {
        top: 38%;
    }
}

/* testimonials */
.testimonial-slider {
    padding-bottom: 4.5%;
}

.testimonial-slider .et_pb_slide_image {
    width: 22.25%;
    margin-top: 0 !important;
    top: 0;
}

.testimonial-slider .et_pb_slide_description {
    width: 72.25%;
    padding: 0;
}

.testimonial-slider .et_pb_slider_container_inner {
    vertical-align: middle;
}

.testimonial-slider .et_pb_slide_description .et_pb_slide_title {
    font-weight: 400;
    text-transform: none !important;
}

.testimonial-slider .et_pb_slide_description .et_pb_slide_content {
    letter-spacing: 0;
    padding-top: 30px;
}

@media all and (max-width: 980px) {
    .testimonial-slider .et-pb-arrow-next:before,
    .testimonial-slider .et-pb-arrow-prev:before {
        font-size: 30px;
    }
}

/* dot navigation */
.testimonial-slider .et-pb-controllers {
    bottom: -10px;
}

.testimonial-slider .et-pb-controllers a {
    width: 11px;
    height: 11px;
    border: 2px solid #D50404;
    background-color: #fff !important;
}

.testimonial-slider .et-pb-controllers a.et-pb-active-control {
    background-color: #d50404 !important;
}

.testimonial-slider .et-pb-arrow-next,
.testimonial-slider .et-pb-arrow-prev {
    opacity: 1;
}

.testimonial-slider .et-pb-arrow-prev,
.testimonial-slider .et-pb-arrow-prev {
    left: 0 !important;
}

.testimonial-slider .et-pb-arrow-next,
.testimonial-slider .et-pb-arrow-next {
    right: 0 !important;
}

@media (max-width: 767px) {
    .testimonial-slider .et_pb_slide_description {
        width: 100%;
    }

    .testimonial-slider {
        padding-bottom: 12.5%;
    }

    .testimonial-slider .et-pb-controllers {
        bottom: 0;
    }
}

/* lines on sides of quote */
.fancy {
    line-height: 0.5;
    text-align: center;
}
.fancy span {
    display: inline-block;
    position: relative;
}
.fancy span:before,
.fancy span:after {
    content: "";
    position: absolute;
    height: 22px;
    border-bottom: 2px solid #d50404;
    top: 0;
    width: 515px;
}
.fancy span:before {
    right: 100%;
    margin-right: 15px;
}
.fancy span:after {
    left: 100%;
    margin-left: 15px;
}

@media (min-width: 981px) and (max-width: 1399px) {
    .fancy span:before,
    .fancy span:after {
        width: 340px;
    }
}

@media (min-width: 768px) and (max-width: 980px) {
    .fancy span:before,
    .fancy span:after {
        width: 260px;
    }
}

@media (max-width: 767px) {
    .fancy span:before,
    .fancy span:after {
        width: 80px;
    }
}

/*--Contact Us page--*/

.blurb-widget .et_pb_image_wrap .et-pb-icon-circle {
    padding-bottom: 15px !important;
}

body #page-container .custom-contact-form .gform_fields .ginput_container input,
body #page-container .custom-contact-form .gform_fields .ginput_container textarea {
    background-color: transparent;
    border: 1px solid #dfdfdf;
    font-size: 15px;
    color: #999;
    padding: 20px;
}

body #page-container .custom-contact-form .gform_wrapper .gform_footer input.button,
body #page-container .custom-contact-form .gform_wrapper .gform_page_footer input.button,
body #page-container .custom-contact-form div.form_saved_message div.form_saved_message_emailform form input[type="submit"] {
    padding: 0.4em 1.4em;
}

@media (max-width: 767px) {
    body #page-container .custom-contact-form .gform_wrapper .gform_footer input.button,
    body #page-container .custom-contact-form .gform_wrapper .gform_page_footer input.button,
    body #page-container .custom-contact-form div.form_saved_message div.form_saved_message_emailform form input[type="submit"] {
        padding: 0.4em 1.4em;
        font-size: 18px;
    }
}

body #page-container .custom-contact-form .gform_wrapper .gform_footer input.button:hover {
    transform: translateX(0px) translateY(-5px) !important;
}

body #page-container .custom-contact-form .gform_wrapper.gravity-theme .gform_footer,
body #page-container .custom-contact-form .gform_wrapper.gravity-theme .gform_page_footer {
    text-align: center;
}


.footer-logo a img {
    width: 150px;
}

/*Icon Animation*/
.custom-accordion .et_pb_toggle_open .et_pb_toggle_title:before {
	-ms-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}
/*Closed Icon*/
.custom-accordion .et_pb_toggle_title:before {
	width: 30px;
	height: 30px;
	text-align: center;
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
.custom-accordion .et_pb_toggle_title, .custom-accordion h5.et_pb_toggle_title {
    padding: 0 0 0 50px;
}
@media only screen and (max-width:480px){
	.custom-accordion .et_pb_toggle_title, .custom-accordion h5.et_pb_toggle_title {
    	padding: 0 0 0 0 !important;
	}
}
/* ----- Open ----- */
.custom-accordion {
	-webkit-transition: 0.7s;
	transition: 0.7s;
}
@media only screen and (max-width:290px){
	.custom-accordion .et_pb_toggle_title, .custom-accordion h5.et_pb_toggle_title{
		font-size:10px !important;
	}
	h5 {
    	font-size: 10px !important;
	}
}
/*-- team --*/

.team-member .et_pb_team_member_image {
    margin: 0 15px 20px !important;
}

@media (min-width: 768px) and (max-width: 980px){
	.team-member .et_pb_column .et_pb_team_member_description {
		display: block !important;
	}
}

/*-- header --*/
@media only screen and (max-width:1412px) and (min-width:981px){
	#main-header .container {
		width: 95% !important;
		max-width:100% !important;
	}
}

@media only screen and (max-width:457px) and (min-width:289px){
	.home-slider-style h1{
		font-size:26px !important;
	}
	.home-slider-style .et_pb_slide_content {
    	font-size: 18px!important;
	}
	.home-slider-style .et_pb_slide_description{
		padding: 16% 0 !important;
	}
	body #page-container .et_pb_button_module_wrapper .et_pb_button, #page-container .home-slider-style.et_pb_slider .et_pb_slide_description .et_pb_button_wrapper .et_pb_button.et_pb_more_button{
    	font-size: 16px!important;
	}
}
@media only screen and (max-width:288px){
	.home-slider-style h1{
		font-size:20px !important;
	}
	.home-slider-style .et_pb_slide_content {
    	font-size: 14px!important;
	}
	.home-slider-style .et_pb_slide_description{
		padding: 16% 0 !important;
	}
	body #page-container .et_pb_button_module_wrapper .et_pb_button, #page-container .home-slider-style.et_pb_slider .et_pb_slide_description .et_pb_button_wrapper .et_pb_button.et_pb_more_button{
    	font-size: 16px!important;
	}
}

@media only screen and (max-width:1170px) and (min-width:981px){
	footer .container{
		max-width:100% !important;
		width:98% !important;
	}
}

@media only screen and (max-width:980px){
	footer .container{
		max-width:100% !important;
		width:95% !important;
	}
}

@media only screen and (max-width:263px){
	#footer-widgets .footer-widget li {
   	 font-size: 12px !important;
	}
}
