/*
Theme Name: Company Profiles SA
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Content Area
---------------------------------------------------------- */
.content-area p {
    letter-spacing: 1px;
    line-height: 1.8;
}
.content-area a:hover {
	color: #0b4a6c !important;
}

/* Header
----------------------------------------------------------- */
.header-main .nav > li > a {
	letter-spacing: 1px;
}
.header-block.block-html-after-header {
	top: 0 !important;
}

/* Banners
------------------------------------------------------------ */
.banner-homepage .container,
.banner-services .container,
.banner-whoweare .container {
	max-width: 100%;
}
.banner-homepage .text {
	background: url(images/bg-home-banner.png) left no-repeat;
	background-position-x: -160px;
}
.banner-services .text {
	background: url(images/bg-services-banner.png) right no-repeat;
}
.banner-whoweare .text {
	background: url(images/bg-whoweare-banner.png) right no-repeat;
}
.banner.testimonial .is-italic {
	font-style: normal !important;
}

a.button:hover {
	color: #78bc9b !important;
}

/* Footer 
------------------------------------------------------------- */
footer ul.menu li {
	border-top: 0;
}
footer ul.menu a {
	text-transform: uppercase;
	padding-top: 3px;
	padding-bottom: 3px;
	font-weight: bold;
}
footer ul.menu a:hover {
	text-decoration: underline;
}
footer .social-icons a.facebook.button.icon:not(.is-outline) {
	background-color: #3C8484 !important;
    border-color: #3C8484 !important;
}
footer .social-icons a.linkedin.button.icon:not(.is-outline) {
	background-color: #fff !important;
    border-color: #fff !important;
}
footer .social-icons a.linkedin.button.icon:not(.is-outline)>i {
	color: #78bd9b !important;
}
.absolute-footer.dark {
	color: #fff;
}
footer .social-icons a {
	border-color: #0b4a6c;
	color: #0b4a6c;
}
section.subscribe a:hover,
div.footer-cta a:hover {
	color: rgb(120, 188, 155) !important;
}

/* Gravity Forms
---------------------------------------------------------- */
/*.gform_wrapper .top_label .gfield_label,
.gform_wrapper .gfield_checkbox li label {
	color: #0b4a6c;
    font-weight: normal;
    margin-bottom: 0;
}*/
.gform_wrapper .gfield_required {
	display: none;
}
.gform_wrapper .top_label li.gfield {
    margin-top: 0;
}
.gform_wrapper .gfield_checkbox li {
	margin-bottom: 0;
}
.gform_wrapper ul.gfield_checkbox li input[type=checkbox] {
    margin-bottom: 5px;
}
/*.gform_wrapper .gform_footer {
	text-align: center;
}*/
.gform_wrapper div.validation_error {
	display: none;
}
.gform_wrapper li.gfield.gfield_error {
	background: none;
	border: 0;
}
.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper li.gfield_error textarea {
	border: 1px solid #ddd;
}
.gform_wrapper .field_description_below .gfield_description {
	padding-top: 5px;
}
.gform_wrapper .ginput_container_email input {
	margin-bottom: 2px;
}
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {
	color: #fff;
	font-weight: normal;
}
#gform_submit_button_1 {
	background: #78bc9b;
	color: #fff;
}
.gform_wrapper li.gf_list_inline ul.gfield_radio li {
	margin-bottom: 0;
}
.gform_wrapper li.gf_list_inline ul.gfield_radio li input {
	margin-bottom: 0;
	margin-right: 0;
}
.gform_legacy_markup_wrapper ul.gfield_radio li label {
	display: inline !important;
}

form.contact-form {
	text-align: left;
}

/* TablePress --------------------------------------------------------- */
table#tablepress-1 .column-1 {
	max-width: 290px;
}
table#tablepress-1 .column-2,
table#tablepress-1 .column-3,
table#tablepress-1 .column-4,
table#tablepress-1 .column-5,
table#tablepress-1 .column-6 {
	min-width: 110px;
}
table#tablepress-1.table-packages tbody td {
	vertical-align: middle;
	border-right: 2px solid #fff;
}
table#tablepress-1.table-packages tbody td {
	border: 2px solid #fff;
}
table#tablepress-1.table-packages thead th,
table#tablepress-1.table-packages tr {
	background: #0b4a6c;
	color: #fff;
	font-size: 16px;
}
table#tablepress-1.table-packages td:first-child,
table#tablepress-1.table-packages th:first-child {
	font-size: 16px;
	background: #fff;
	color: #0b4a6c !important;
	text-transform: uppercase;
	font-weight: bold;
	text-align: right !important;
}
table#tablepress-1.table-packages thead th {
	border-bottom: 2px solid #fff;
	text-align: center;
	padding-top: 15px;
	padding-bottom: 15px;
}
table#tablepress-1.table-packages td:first-child {
	border-bottom: 2px solid #78bc9b;
	border-right: 0;
}
table#tablepress-1.table-packages tr:last-child td,
table#tablepress-1.table-packages tr.row-16 td {
	color: #fff;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
}
table#tablepress-1.table-packages img {
	margin: auto;
	display: block;
}
table#tablepress-1.table-packages tr.row-3 td:first-child,
table#tablepress-1.table-packages tr.row-4 td:first-child,
table#tablepress-1.table-packages tr.row-5 td:first-child,
table#tablepress-1.table-packages tr.row-11 td:first-child,
table#tablepress-1.table-packages tr.row-13 td:first-child,
table#tablepress-1.table-packages tr.row-14 td:first-child,
table#tablepress-1.table-packages tr.row-16 td:first-child {
	border-bottom: 0;
}
table#tablepress-1.table-packages tr.row-4 td,
table#tablepress-1.table-packages tr.row-5 td,
table#tablepress-1.table-packages tr.row-6 td,
table#tablepress-1.table-packages tr.row-12 td,
table#tablepress-1.table-packages tr.row-14 td,
table#tablepress-1.table-packages tr.row-15 td,
table#tablepress-1.table-packages tr.row-17 td {
	border-top: 0;
	padding-top: 0px;
	padding-bottom: 0px;
}
table#tablepress-1.table-packages tr.row-11 td:first-child,
table#tablepress-1.table-packages tr.row-13 td:first-child {
	padding-bottom: 0px;
}
table#tablepress-1.table-packages tr.row-6 td,
table#tablepress-1.table-packages tr.row-12 td,
table#tablepress-1.table-packages tr.row-15 td,
table#tablepress-1.table-packages tr.row-17 td {
	padding-bottom: 8px;
}

/* Packages Page */
section.packages-section {
	padding-top: 50px !important;
}
body.page-id-525 .banner h1 {
	margin-top: 0;
	line-height: 31px;
}

/* Sample Content on Packages Page */
.row.examples-content p {
	margin-bottom: 0;
}
.row.examples-content img {
	box-shadow: 1px 2px 2px 2px #ccc;
}
.row.examples-content .no-shadow img {
	box-shadow: none;
}

/* Contact Section - Packages page */
img.icon-phone {
	margin-bottom: 10px;
	margin-right: 5px;
}

/* fix z-index for sections that cover the chat button */
section.push-back {
	z-index: 0;
}

section.reviews a:hover {
	color: #fff !important;
	text-decoration: underline;
}

/* Individual Digital Profile pages for clients */
body.page-id-641 .header-block {
	display: none;
}

/* Mailchimp Subscribe Form */
.subscribe-form .mc_merge_var {
	margin-bottom: 0;
}
.subscribe-form #mc-indicates-required {
	margin-top: 0;
}

@media only screen and (max-width: 767px) {
/*************** ADD TABLET ONLY CSS HERE  ***************/
	img.mobile-align-fix {
		display: block;
		margin: auto;
	}
	section.banner-home .bg {
		background-position: 0
	}
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.banner-homepage .text {
    background-position-x: -440px;
	}
	footer ul.menu li {
		text-align: center;
	}
	footer .textwidget img {
		display: block;
		margin: auto;
	}
	.banner.brochures {
		padding-top: 0 !important;
    	height: 270px;
	}
	section.banner-home .bg {
		background-position: 0
	}

}
@media only screen and (min-width: 960px) {
	.tablepress-scroll-wrapper {
		overflow-x: hidden;
	}
}