/*!
Theme Name: customTheme
Theme URI: http://underscores.me/
Author: HAA
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: customtheme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

customTheme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> 


/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	height: 100% ;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
		height: 100% ;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}
.h2, h2 {
    font-size: 1.5rem !important;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0px; 
      margin-left: 0px; 
}


/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
p {
    margin-top: 1em ;
    margin-bottom: 1rem;
}
/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #000;
	font-family: 'Lato', sans-serif;
	font-size: 1.02rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Merriweather', serif;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

/* .main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}
*/
.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}



/********************************** Custom styles *********************************/

/*********************  Colors ********************
  
Red: #A30000  /  Blue: #2a2761  /  Grey: #f2f2f2

font-family: 'Merriweather', serif;
font-family: 'Lato', sans-serif; 
  
*********************************************************/
:root{
  --MA-blue: #2a2761;
  --MA-red: #A30000;
  --MA-grey: #f2f2f2;
}



.containermain {
	width:100%;
	margin:0 auto;
	max-width:1800px;
}

.frame {
    width:96%;
    margin:0 auto;
    max-width:1200px;

}
.frameservice {
    width:100%;
	margin-left: 10%;

}
.frameproject {
    width:100%;
	margin-left: 14%;

}


.frame2 {
    width:96%;
    margin:0 auto;
    max-width:800px;

}
.frame3 {
    width:96%;
    margin:0 auto;
    max-width:1000px;

}
.section {
	padding: 0;
	margin:0;
}
.clear {
	height: 30px;
	margin: 0;
	padding:0;
	width:100%;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/


      .headcta {
		text-align: right; 
		display: flex;
		justify-content: right; 
		margin-bottom: 29px;
		margin-right: 15px;
		margin-top: -2px;
		
	}

	.headerbtn {
	     font-size: 0.8em;
		 text-align: right; 
		 flex: 1;
	}
    
    .headerbtn:hover {opacity: 0.8;}
    .btnbook30min a, .btnbook30min a:visited {
        background-color: #A30000;
        color: #fff;
        padding: 11px 15px;
        text-align: center;
        text-decoration: none;
    }
	.btnbook30min {
		max-width: 220px;
	}
	
	.btnservice{ 
		max-width: 164px;
		min-width: 164px;
	}
    .btnservice a, .btnservice a:visited {
        background-color: #2a2761;
        color: #fff;
        padding: 11px 15px;
        text-align: center;
        text-decoration: none;
    }



	.frameheader{
		 width:98%;
		margin:0px auto 0 auto;
		max-width:1200px;
		
	}
	.custom-logo-link {text-decoration:none;}
	.logo .smalllogo { 
		display:none; 
		-webkit-transition: all 800ms ease-out;
				-moz-transition: all 0.8s ease-out;
				-o-transition: all 0.8s ease-out;
				-ms-transition: all 0.8s ease-out;
				transition: all 0.8s ease-out;
		
		
     }
     
	.logo  {
		width: 18%;
		display: inline-block;
		text-align: left;
		-webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		-ms-transition: all 0.3s;
		-o-transition: all 0.3s;
		transition: all 0.3s;
		margin-right: 11%;
		margin-top: 15px;
		float: left;
		
	}
	

	
	.menu1 {
		display: inline-block;
		
		margin-right: 0%;
		text-align: right;
		/* font-size: 1.2em; */
		font-weight: 500;
		text-transform: none;
		vertical-align: bottom;
		margin-left: 0%;
		-webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		-ms-transition: all 0.3s;
		-o-transition: all 0.3s;
		transition: all 0.3s;
		margin-top: 10px;
	}
			.menu-menu-1-container {
				display: inline-block;
				margin-right: 0;
				text-align: right;
				/*font-size: 1.2em;*/
				font-weight: 500;
				text-transform: none;
				vertical-align: bottom;
				margin-bottom: 0px;
				float: right;
				margin-top: 10px;
			}
			.menu-menu-1-container > ul.menu1 {
				display:inline-block;
				padding:0;
				margin-top:0;
				margin-left:0;
				margin-right:0;
				list-style-type:none;
				width:72%;
				text-align:right;
			}
			.menu-menu-1-container > ul > li {
					display: inline-block;
					padding: 5px 15px 8px 15px;
					font-size: 1em;
			}
			

			.menu-menu-1-container > ul > li > a {
				        text-decoration: none;
						color: #000;
						font-weight: 500;
						font-size: 1em; 
						font-family: 'Lato', sans-serif;
            }
			.menu-menu-1-container > ul > li > a:hover {
					  border-bottom: 2px solid;
					  border-color: var(--MA-blue);
				
			}
			
			
			.menu-menu-1-container > ul > li.hm-menuarrow > a::after {
					display: inline-block;
					margin-left: .255em;
					vertical-align: middle;
					content: "";
					border-top: .4em solid;
					border-left: .3em solid transparent;
					border-bottom: 0;
					border-right: .3em solid transparent;
					color:var(--MA-blue);
					height: 9px;
					

			}
		
			.fixedscroll {
				 background: rgba(255,255,255,0.95);
				 box-shadow: 1px 2px 10px #adadad;
				-webkit-box-shadow: 1px 2px 10px #adadad;
				-moz-box-shadow: 1px 2px 10px #adadad;
				-webkit-transition: all 800ms ease-out;
				-moz-transition: all 0.8s ease-out;
				-o-transition: all 0.8s ease-out;
				-ms-transition: all 0.8s ease-out;
				transition: all 0.8s ease-out;
				
			}
			.fixed {
				 position:fixed;
				 top:0;
				 z-index:50;
				 width:100%;
			}
			.fixed .logo {
				-webkit-transition: all 800ms ease-out;
				-moz-transition: all 0.8s ease-out;
				-o-transition: all 0.8s ease-out;
				-ms-transition: all 0.8s ease-out;
				transition: all 0.8s ease-out;
			}
			.fixedscroll .logo {	
				width: 12%;
				margin-right: 15%;
				-webkit-transition: all 800ms ease-out;
				-moz-transition: all 0.8s ease-out;
				-o-transition: all 0.8s ease-out;
				-ms-transition: all 0.8s ease-out;
				transition: all 0.8s ease-out;
			}
			.fixedscroll .logo .smalllogo { 
				display:block; 
				-webkit-transition: all 800ms ease-out;
				-moz-transition: all 0.8s ease-out;
				-o-transition: all 0.8s ease-out;
				-ms-transition: all 0.8s ease-out;
				transition: all 0.8s ease-out;
			}
			.fixedscroll  .logo .mainlogo { 
				display:none; 
				-webkit-transition: all 800ms ease-out;
				-moz-transition: all 0.8s ease-out;
				-o-transition: all 0.8s ease-out;
				-ms-transition: all 0.8s ease-out;
				transition: all 0.8s ease-out;
		     }
			.fixedscroll .menu1 {
				-webkit-transition: all 800ms ease-out;
				-moz-transition: all 0.8s ease-out;
				-o-transition: all 0.8s ease-out;
				-ms-transition: all 0.8s ease-out;
				transition: all 0.8s ease-out;
				
				margin-top: 9px;
			}
			.fixed  .menu-menu-1-container {
			    margin-top: -15px;
			}
			.fixed .menu ul {
				 -webkit-transition: all 800ms ease-out;
				-moz-transition: all 0.8s ease-out;
				-o-transition: all 0.8s ease-out;
				-ms-transition: all 0.8s ease-out;
				transition: all 0.8s ease-out;
			}

			.second-level-menu-nav-list { 
        			background-color: var(--MA-blue);
        			color: #fff;
        			display: none;
        			height: auto;
        			left: 0;
        			opacity: 0.98;
        			padding: 0;
        			position: absolute;
        			/*top: 38px;*/
        			width: 100%;
        			margin-top: 0;
        			list-style-type: none;
        			overflow: hidden;
        			margin: 0;
        			text-align: left;
        			min-height: 400px;
    				 -webkit-transition: all 800ms ease-out;
    				-moz-transition: all 0.8s ease-out;
    				-o-transition: all 0.8s ease-out;
    				-ms-transition: all 0.8s ease-out;
    				transition: all 0.8s ease-out;
			}
			.easyout {
			    -webkit-transition: all 800ms ease-out;
				-moz-transition: all 0.8s ease-out;
				-o-transition: all 0.8s ease-out;
				-ms-transition: all 0.8s ease-out;
				transition: all 0.8s ease-out;
	
                }
.mega-menu-content{
	width:100%;
	padding: 45px 0% 40px 19%;
}

div.menurow {
	display:inline-block;
	vertical-align:top;
	margin:0 ;
	padding:0;
	color: #fff;
}
.rcol1 {	width:39%; }  .rcol2 {	width:59%; }

.second-level-menu-nav-list ul.menuhoverul {
	list-style:none;
	display:inline-block;
	width:100%;
	vertical-align:top;
	margin:0 ;
	padding:0;
}

ul.menuhoverul ul.ulsubservices li {
	
}
.rcol2 ul.menuhoverul {
	
	padding: 0;
    margin: 0;
    list-style-type: none;
    -webkit-columns: 1;
    columns: 1;
    -webkit-column-gap: 0;
    column-gap: 0;
}
.second-level-menu-nav-list ul.menuhoverul li{
	padding: 3px 0;
	font-size: 1.05em;

}

/******  Mobile Menu ******/

	
	 /* Main menu positionning */
				.device { position: relative; }
				.device > div  {  display:none; }
				.device > div.is-open {  display: block; }
				
				.containermobile {
						position: absolute;
						top: 0;
						right: -10px;
						bottom: 0;
						left: 0;
						overflow: hidden;
						min-width: 324px;
						min-height: 800px;
						height:100%;
				 }
				.main-nav {
					position: absolute;
					top: 0;
					right: 0;
					left: 0;
					bottom: 0;
					text-align: center;
					background: #FFF;
					opacity: 0;
					z-index: -1;
					visibility: hidden;
					transition: all .375s;
				}

				.main-nav.is-open {
					opacity: 1;
					z-index: 100;
					visibility: visible;
				}

				/* Red band effect */
				.main-nav::before {
					 content: '';
					position: absolute;
					top: 0;
					bottom: 0;
					left: 0;
					right: 0px;
					background: rgba(163, 0, 0, 0.85);
					transform-origin: 0 0;
					transform: skew(-14deg) translateX(-120%);
					transition: all .275s .1s;
				}

				.main-nav.is-open::before {
					transform: skew(-14deg) translateX(0);
				}

				/* Skewing effect on menu links */
				.main-nav ul {
					display: inline-flex;
					flex-direction: column;
					/* height: 93%;  // Should be 100%, but we have a notice message :D */
					align-items: flex-end;
					justify-content: center;
					display:none;
					transform: translateX(-18%) skew(-16deg);
					margin: 26% 14% 0 0;
				}
	            .socialmedia { width: 65%; margin-top: 45px; margin-left: 7%; }
				.socialmedia span a {float: left;}
				.main-nav li {
					display: block;
					margin: .5rem 0;
					text-align: right;
					transform: skew(16deg);
				}

				/* Apparition effect on links */
				.main-nav a {
					opacity: 0;
					transform: translateY(-10px);
				}

				.main-nav.is-open a {
					opacity: 1;
					transform: translateY(0);
				}
				.main-nav li:nth-child(1) a {
					transition: all 275ms 175ms
				}
				.main-nav li:nth-child(2) a {
					transition: all 275ms 225ms
				}
				.main-nav li:nth-child(3) a {
					transition: all 275ms 275ms
				}
				.main-nav li:nth-child(4) a {
					transition: all 275ms 325ms
				}
				.main-nav li:nth-child(5) a {
					transition: all 275ms 375ms
				}


				/* Decoration */
				.main-nav ul,
				.main-nav li {
					list-style: none;
					padding: 0;
				}
				.main-nav a {
				display: block;
				padding: 9px 0;
				color: #fff;
				font-size: 1.1em;
				text-decoration: none;
				font-weight: bold;
				}
				

				/* Burger Style */
				.open-main-nav {
					position: absolute;
					top: 12px;
					padding-top: 20px;
					right: 5px;
					z-index: 1000;
					background: none;
					border: 0;
					cursor: pointer;
				}
				.open-main-nav:focus {
					outline: none;
				}
				.burger {
					position: relative;
					display: block;
					width: 28px;
					height: 4px;
					margin: 0 auto;
					background: var(--MA-red);
					transform: skew(-17deg);
					transition: all .275s;
				}

				.burger:after,
				.burger:before {
					content: '';
					display: block;
					height: 100%;
					background: var(--MA-red);
					transition: all .275s;
				}

	            button.is-open .burger, button.is-open .burger:after, button.is-open .burger:before { background: #fff;}
				.burger:after {
					transform: translateY(-12px) translateX(0px) skew(-20deg);
				}

				.burger:before {
					transform: translateY(-16px) skew(-20deg);
				}

				/* Toggle State part */
				.is-open .burger {
					transform: skew(5deg) translateY(-8px) rotate(-45deg);
				}

				.is-open .burger:before {
					transform: translateY(0px) skew(-10deg) rotate(75deg);
				}

				.is-open .burger:after {
					transform: translateY(-12px) translateX(10px) skew(-20deg);
					opacity: 0;
				}

				/* MENU Text part */

				.burger-text {
					display: block;
					font-size: .675rem;
					letter-spacing: .05em;
					margin-top: .5em;
					text-transform: uppercase;
					font-weight: 500;
					text-align: center;
					color: #fff;
				}

				

/**********************    End Menu         ***********************/

/**********************    Home      ***********************/

.home  .sloganheader img {max-width:550px;}
/***  Home header  ***/
.headerbg {	
    width: 100%;
    background-repeat: no-repeat;
	background-size: cover;
	min-height: 460px;
	z-index: -1;
}


.sloganheader {
    position: absolute;
    margin-top: -30%;
    /* margin-left: 6.5%; */
    color: #fff;
	
	
}

.sloganheader h1 {
	color: #fff; 
	font-size: 3.4em; 
	font-weight:900; 
	line-height: 1.2em;
	margin-left:10px; 
	font-family: 'Merriweather', serif; 
	text-transform:uppercase;
}

/***  Header pages **/
.headerbgpage {	
    width: 100%;
    background-repeat: no-repeat;
	background-size: cover;
	height: 560px;
	z-index: -1;
	  background-attachment: fixed;

	-webkit-box-shadow: 0px 0px 6px 3px #dedede;
    box-shadow: 0px 0px 6px 3px #dedede;
	 -webkit-transition: all 800ms ease-out;
	 -moz-transition: all 0.8s ease-out;
	 -o-transition: all 0.8s ease-out;
	 -ms-transition: all 0.8s ease-out;
	 transition: all 0.8s ease-out;
}
.headerbgpageabout {	
    width: 100%;
    background-repeat: no-repeat;
	background-size: cover;
	height: 560px;
	z-index: -1;
	  background-attachment: fixed;

	-webkit-box-shadow: 0px 0px 6px 3px #dedede;
    box-shadow: 0px 0px 6px 3px #dedede;
	 -webkit-transition: all 800ms ease-out;
	 -moz-transition: all 0.8s ease-out;
	 -o-transition: all 0.8s ease-out;
	 -ms-transition: all 0.8s ease-out;
	 transition: all 0.8s ease-out;
}

.sloganpage {
    margin-top: 24%;
    /* margin-left: 6.5%; */
    color: #fff;
	margin-bottom: 5%;
}

.sloganpagelp{
	  margin-top: 13%;
    /* margin-left: 6.5%; */
  
}

.sloganpage h1 {
	color: #fff; 
	font-size: 3.4em; 
	font-weight:900; 
	line-height: 1.2em;
	margin-left:10px; 
	font-family: 'Merriweather', serif; 
	text-transform:uppercase;
}

span.opa {
	opacity: 0.8;
}


/***************** CAT Read More - Styling  ********************************/
	
	.cta-button:hover.cta-button::after{width: calc(50px + 5px); 
	
				-webkit-transition: all 300ms ease-out;
				-moz-transition: all 0.3s ease-out;
				-o-transition: all 0.3s ease-out;
				-ms-transition: all 0.3s ease-out;
				transition: all 0.3s ease-out;
	
	}
   
    .cta-button:hover::after{
	   left: -12px;
	   transition: all .3s cubic-bezier(.77,0,.175,1);
	}
	.cta-button::after {
		_content: "\27F6";
		content: "";
		position: absolute;
		left: -25px;
		top: 25%;
		width: 50px;
		height: 23px;
		background-image: url('/wp-content/themes/customtheme/img/arrow-right.png');
        background-repeat: no-repeat;
		background-position: 100% 100%;
		background-size: cover;
		transition: all .3s cubic-bezier(.77,0,.175,1);
	}
	.cta-button {
		display: inline-block;
		position: relative;
		text-align: center;
		padding: 10px 40px;
		cursor: pointer;
		border: 1px solid #1a1a1a;
		cursor: pointer;
		margin-left: 25px;
		margin-right: 25px;
		transition: all .3s cubic-bezier(.77,0,.175,1);
		color: #1a1a1a;
		background-color: transparent;
		font-family: 'Lato', sans-serif; 
		text-decoration: none;
	}
	.js-animate {
		transition: all 1.2s cubic-bezier(.77,0,.175,1);
		transform: none;
		visibility: visible;
	}
	
	.cta-button.cta-button--light::after {
        background-color: transparent;
	}
	
	.cta-button.cta-button--light {
       color: #A30000;
       border: 1px solid #A30000;
	   text-decoration: none;
	   font-size: 16px;
	}
	
	.visible {
		visibility: visible!important;
	}

	.font-weight-700 {
	  font-weight: 700;
	}
	.min-height {min-height:auto;}
/****************************************************/

/******** Home title and content col *********/

.hm-col-title {
	width: 17.66%; display: inline-block; vertical-align: top;
	background-color: #fff;
	
}

.hm-col-content{
		width: 82%; display: inline-block; vertical-align: top;
		background-color: var(--MA-grey);
	
}
.hm-sec-content h1, .hm-sec-content h2 { font-family: 'Merriweather', serif;  margin-top:0;}
.hm-sec-content p { font-family: 'Lato', serif; padding-bottom: 0; margin-bottom: 0;}
.hm-sec-content { padding: 6%  10%  7%  21% ;}
.hm-sec-content1 { padding: 7%  5%  5%  21% ;}
.hm-title-ovelay {
		position: absolute;
		background-color: #fff;
		padding: 40px 24px 40px 30px;
		margin-left: 0%;
		margin-top: 4.45%;
		z-index: 2;
}

.hm-title-ovelay2 {
		background-color: #fff;
		padding: 40px 24px 40px 30px;
		margin-left: 0%;
		margin-top: 4.45%;
		z-index: 2;
}
.hm-title-ovelay1 {
		position: absolute;
		background-color: #fff;
		padding: 40px 24px 40px 30px;
		margin-left: 0%;
		margin-top: 9%;
}

.hm-title-text {
	    float: right;
		width: 61%;
		color: var(--MA-blue);
		border-bottom: 3px solid ;
		line-height: 1.2em;
		font-size: 1.7em;
		font-family: 'Merriweather', serif;
		background-color: #fff;
}


/***********************************/
/********* Home Sections  **********/

section.aboutsection {
	 /* margin-top:-5px;  */
}

.servicessection {
	background-image: url(/wp-content/themes/customtheme/img/Moubarak-Homepage-Blue-Background-2021.png);
	background-size: cover;
    background-repeat: no-repeat;
	background-position: top center;
	background-attachment: fixed;
	
}

	#imagemap {
		margin-top: -120px;
		width:1800px; 
		height:600px; 
		background-repeat: no-repeat;
		/* background:url(/wp-content/themes/customtheme/img/Moubarak-Homepage-Map-2021.png);  */
		background:url(/wp-content/themes/customtheme/img/Moubarak-Homepage-Map-2021.jpg);
		background-repeat: no-repeat;
		background-position: top right;
		position: relative;
		background-size: contain;
	}

    #imagemap li {list-style-type:none;}
	#imagemap li > a {display:block; position:absolute;}

	#imagemap  ul  > span {display:none;}
	
	#imagemap  li > a:hover > span {display:block; width: 200px; height: 33px; position:absolute;}
	
	#imagemap li div.info { display:none; width:330px; height:190px; border: 2px solid var(--MA-red); padding: 15px 20px 30px 20px; 
	background-color: #fff; position:absolute; }
	
	#imagemap  li#usa > a {     top: 303px;
								left: 140px;
								width: 280px;
								height: 40px; 
								_background-color: red;
						  }
	#imagemap li#usa div.info {     margin-top: 105px; left: 180px; }
	
	
	/**** #imagemap  li#doha > a { top: 265px; left: 783px; width: 200px; height: 33px; _background-color: blue; }
	#imagemap  li#doha a:hover > span {top:-50px; left:-550px;}
	#imagemap li#doha div.info { margin-top:69px; left: 782px; }
	
	#imagemap  li#dubai > a { top: 304px; left: 800px; width: 200px; height: 33px; _background-color: gray; }
	#imagemap  li#dubai > a:hover > span {top:-50px; left:-550px;}
	#imagemap li#dubai div.info { margin-top: 108px; left: 798px; }  ****/
	
	
	#imagemap  li#uk > a {  top: 203px;
							left: 711px;
							width: 280px;
							height: 40px; 
							_background-color: green;
						 }
	#imagemap li#uk div.info { margin-top: 5px; left: 710px; }

	#imagemap  li#beirut > a {  top: 324px; 
								left: 880px; 
								width: 280px; 
								height: 40px; 
								_background-color: brown;
							 }
	#imagemap li#beirut div.info { margin-top: 130px; left: 880px; }
	
	#imagemap li#riyadh > a { top:377px; 
							  left:935px; 
							  width: 280px; 
							  height: 40px; 
							  _background-color: yellow;
							}
	
	#imagemap li#riyadh div.info { margin-top: 184px; left: 935px; }
	

	
.seperatorbg {
	font-size: 1.13em;
    line-height: 1.3;
    width: 100%;
    padding: 0 0;
    background-repeat: repeat;
    min-height: 500px;
    background-attachment: fixed;
    background-size: cover;
	-webkit-box-shadow: 0px 0px 6px 1px #dedede;
    box-shadow: 0px 0px 6px 1px #dedede;
	
	
	 -webkit-transition: all 800ms ease-out;
	 -moz-transition: all 0.8s ease-out;
	 -o-transition: all 0.8s ease-out;
	 -ms-transition: all 0.8s ease-out;
	 transition: all 0.8s ease-out;
}

.seperatorbghome {
	font-size: 1.13em;
    line-height: 1.3;
    width: 100%;
    padding: 0 0;
    background-repeat: repeat;
    min-height: 500px;
	background-position-x: 55%;
    background-attachment: fixed;
    background-size: cover;
	-webkit-box-shadow: 0px 0px 6px 1px #dedede;
    box-shadow: 0px 0px 6px 1px #dedede;
	
	
	 -webkit-transition: all 800ms ease-out;
	 -moz-transition: all 0.8s ease-out;
	 -o-transition: all 0.8s ease-out;
	 -ms-transition: all 0.8s ease-out;
	 transition: all 0.8s ease-out;
}



.seperatorbgabout {
	font-size: 1.13em;
    line-height: 1.3;
    width: 100%;
    padding: 0 0;
    background-repeat: repeat;
    min-height: 500px;
	background-position-x: 32%;
    background-attachment: fixed;
    background-size: cover;
	-webkit-box-shadow: 0px 0px 6px 1px #dedede;
    box-shadow: 0px 0px 6px 1px #dedede;
	
	
	 -webkit-transition: all 800ms ease-out;
	 -moz-transition: all 0.8s ease-out;
	 -o-transition: all 0.8s ease-out;
	 -ms-transition: all 0.8s ease-out;
	 transition: all 0.8s ease-out;
}
	
}

.quote{  font-family: "Times New Roman", Georgia, serif; font-size: 2em;  }
.qleft {float:left;}
.qright {float:right;}
.slogantext .qright {margin-right:15%;}
.slogantextpt .qright {margin-right:8%;}
.slogantextbigger .qright {margin-right:17%;}
.slogantext {
    font-family: 'Merriweather', serif;
    padding-top: 12%;
    color: #fff; font-size: 1.8em; font-weight:900; line-height: 1.5em; margin-left:10px; float:left; width: 32%;
	text-shadow: 2px 5px 8px #000000;
}
.slogantextbigger {
    font-family: 'Merriweather', serif;
    padding-top: 12%;
    color: #fff; font-size: 2em; font-weight:900; line-height: 1.6em; margin-left:10px; float:left; width: 60%;
	text-shadow: 2px 5px 8px #000000;
}


.slogantextpt{
	font-family: 'Merriweather', serif;
    padding-top: 12%;
    color: #fff; font-size: 2em; font-weight:900; line-height: 1.5em; margin-left:10px; float:left; width: 36%;
	text-shadow: 2px 2px 6px #000000;
}


.slogantext1 {
    font-family: 'Lato', serif;
    padding-top: 11%;
    color: #fff; font-size: 1.8em; font-weight:500; line-height: 1.5em; margin-left:10px; float:left; width: 42%;
	text-shadow: 2px 5px 8px #000000;
}
.slogantext2 {
    font-family: 'Merriweather', serif;
    padding-top: 12%;
    color: #fff; font-size: 1.8em; font-weight:900; line-height: 1.5em; margin-left:10px; float:left; width: 52%;
	text-shadow: 2px 5px 8px #000000;
}

.mapsection .hm-col1-servies { background-color: transparent !important; }

.hm-col1-servies, .hm-col2-servies {
    display: inline-block; vertical-align: top;
}
.hm-col1-servies {	background-color: #fff; padding: 4% 4% 4% 10%; margin: 6% 0; width:44.5%; }
.hm-col2-servies {  background-color: transparent; padding: 0; margin:0; width:55.4%; }


.hm-col1-srv-title {
		color: var(--MA-blue);
		border-bottom: 3px solid ;
		line-height: 1.2em;
		font-size: 1.7em;
		font-family: 'Merriweather', serif;
		max-width: 45%;
	
}
.hm-col1-srv-content p {
		font-size: 1.35em;
		font-family: 'Merriweather', serif;
		font-weight: 700;
		margin-bottom: 12px;
}
.hm-col1-srv-content h6 {
	font-style: normal !important;
	font-size: 1em;
	font-family: 'Lato', serif !important;
	font-weight: 500 !important;
	padding: 0;
    margin:0;
	
}

/***************/
.hm-col2-servies {
	margin: 6% 0;
	
}



ul.ulsubservices{
	list-style:none;
	display:inline-block;
	width:100%;
	margin:0 ;
	padding:0;
}

ul.ulsubservices > li {
	
    vertical-align:top;
	width:99%;
	padding:  2px 0px 0px 15px;
	margin:0;
	text-align:left;
	color: #fff;
	border-bottom: 0px solid #dedede !important;
}
ul.ulsubservices > li::before{
    content: "-";
	padding: 0 5px;
	
} 

.hm-col2-servies > ul, .hm-col2-servies ul.servicesulct {
	list-style:none;
	display:inline-block;
	width:100%;
	margin:0 ;
	padding:0;

}
.hm-col2-servies > ul > li:last-child{ margin:0 0% 0 8%;}
.hm-col2-servies > ul > li > h2 {
	max-width: 70%;
	margin: 15px 0;
}
.hm-col2-servies ul > li img {
	max-width:70px;
}
.hm-col2-servies > ul > li {
	display:inline-block;
    vertical-align:top;
	width:39.5%;
	padding: 0;
	margin:0 0% 0 5%;
	text-align:left;
	color: #fff;
	
}

.hm-col2-servies > ul > li > ul.servicesulct > li {
	display:inline-block;
    vertical-align:top;
	width:99%;
	padding:  8px 0;
	margin:0;
	text-align:left;
	color: #fff;
	border-bottom: 1px solid #dedede;

}
.hm-col2-servies ul > li > ul.servicesulct > li:first-child {	border-top: 1px solid #dedede;  }

.hm-col2-servies ul > li.hm-engconslt > ul.servicesulct > li:first-child {	border-top: 1px solid #dedede; margin-top:13px; }

/*********************************************/
.bggrey { background-color: var(--MA-grey); }

.bgblue { background-color:var(--MA-blue); }

.bgwhite { background-color: #fff; }

.padding-t-15 {padding: 15%;}
.padding-t-25 {padding: 14% 8% 9% 26.5%;}

.fonttitle { font-family: 'Merriweather', serif; }
.fontcontent { font-family: 'Lato', serif; }

.fontsize16 {  font-size: 1.6em; }
.fontsize15 {  font-size: 1.5em; }
.fontsize14 {  font-size: 1.4em; }
.fontsize12 {  font-size: 1.2em; }
div.servicedescp {
	margin: 0 19px; 
}
div.servicedescp  p{
	font-size: 1.1em; 
	color: var(--MA-blue);
	font-weight: bold;
	margin: 30px 0 10px 0;
	padding-bottom:0;
}
div.servicedescp  ul {
	margin: 0 0 0 3px;
	padding: 0 0 0 0;
}
div.servicedescp  ul li{
	font-size: 1em; 
	color: var(--MA-blue);
	margin-left: 18px;
}
	
	
.overlayright { margin-right: -40%; }
.abtcol1 {padding-right: 20%;}
.page-id-9 .col-xl-4 {    padding-right: 0px;
    padding-left: 0px;}

.colorgradientgey {
	background: rgb(255,255,255);
background: -moz-linear-gradient(90deg, rgba(255,255,255,1) 41%, rgba(242,242,242,1) 41%);
background: -webkit-linear-gradient(90deg, rgba(255,255,255,1) 41%, rgba(242,242,242,1) 41%);
background: linear-gradient(90deg, rgba(255,255,255,1) 41%, rgba(242,242,242,1) 41%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#f2f2f2",GradientType=1);
	
}

/*******************  Tab styling   ******************/
button {
    outline: none !important;
}


section.contenttabnav {
    width: 100%;
    margin-bottom: 25px;
    padding: 0;
	margin:0;
    height: auto;
    display: inline-block;
	min-height: 420px;
	height: auto;
}
.gridct{
    width: 100%;
	display: block;
	padding: 0;
	margin:0;
	height: 100%;
}
.fontposition{
	font-size: 0.95rem;
}

.elementwidth { /* min-width: 1000px; max-width: 1150px; */     min-width: 75%; }

.tagsections {
    width: 100%;
    position: relative;
  
}

section.tappednav {
    padding: 20px 0 0 0;
    width: 100%;
}
.button-group {
	margin-top: -100px;
    background-color: var(--MA-grey); 
    z-index: 9;
	padding-left: 10px;
    padding-right: 10px;
}

.maxwidth0 {  /* 1 tabs */   width:fit-content; }
.maxwidth {  /* 2 tabs */   width:fit-content; }
.maxwidth2 { /* 3 tabs */ width:fit-content; }
.maxwidth1 { /* 3 tabs */ width:fit-content; }


.client-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-row-gap: 0.5rem;
    padding: 20px;
    
    min-height: 930px;
}
.clientitem {
    padding: 2rem 0.7rem;
    margin: 10px;
    text-align: center;
    background-color: #fff;
    transition: background-color 0.3s;
}
.clientitem img {
    width: fit-content;
    text-align: center;
    height: auto;
}
.clientitem p {
    margin: 0;
    text-align: center;
    font-weight: bold;
}

.button-group .button p {
	margin:0;
	padding:0;
	min-height: 60px;
	border-bottom: 1px solid var(--MA-blue);
}
.button-group .button.is-checked p {
   border-bottom: 1px solid #fff;	
}
/*
.button-group .button hr {
    background-color:  var(--MA-blue);
    border: 0;
    height: 1px;
    margin-bottom: 0em;
}
.button-group .button.is-checked hr {
    background-color: #fff;
	 border: 0;
    height: 1px;
    margin-bottom: 0em;
	
}
*/
.tabcontents:first-child{
	 padding: 2% 0 2% 0;
}
.tabcontents:last-child{
	 padding: 4% 0 6% 0;
	 border-bottom: 0px solid #a4a4a4;
}
.tabcontents{
	  width:97%;
	  
	  margin: 0 17px;
	  padding: 4% 0 2% 0;
      -webkit-transition: all 800ms ease-out;
	 -moz-transition: all 0.8s ease-out;
	 -o-transition: all 0.8s ease-out;
	 -ms-transition: all 0.8s ease-out;
	 transition: all 0.8s ease-out;
	 
	 border-bottom: 2px solid #a4a4a4;
	
}
.tabcontents div {
	display: inline-block;
	vertical-align: top;	
	
}

.tabcontents div:first-child {
	max-width: 90px;
	width: 7%;
}

.tabcontents div:last-child {
	width: 91%;
}

.button-group .button {
    display: inline-block;
    padding: 25px 18px 25px 18px;
    margin: 25px 10px;
    text-align: left;
	background-color: #fff; 
	color: var(--MA-blue);
	line-height: 1.2em;
	border: 1px solid #a4a4a4; 
    cursor: pointer;
    border-radius: 0;
	height: 120px;
	width: 203px;
	vertical-align: top;
}
.button-group .button.is-checked { 
	background-color: var(--MA-blue); 
	color: #fff;
	border: 1px solid var(--MA-blue);
}

.subtabcontents{
	  width:100%;
	  margin: 0 17px;
	  height: auto;
}
.tabcontents1:first-child{
	 padding: 3% 0 4% 0;
}
.tabcontents1:last-child{
	 padding: 4% 0 6% 0;
	 border-bottom: 0px solid #a4a4a4;
}

.tabcontents1 {
	width:99%;
    padding: 4% 0 4% 0; 
	border-bottom: 1px solid #a4a4a4;
	  -webkit-transition: all 800ms ease-out;
	 -moz-transition: all 0.8s ease-out;
	 -o-transition: all 0.8s ease-out;
	 -ms-transition: all 0.8s ease-out;
	 transition: all 0.8s ease-out;
}

.tabcontents1 .col-xl-7, .tabcontents1 .col-xl-4  {
	margin:0;
	padding:0;
}

/************* People Contents ****************/

.textleft {text-align: left; }
.textright {text-align: right;}

.pp-marginright {margin-right:6%;}
.pp-marginleft {margin-left:5px;}

.peoplect > div {
	display: inline-block;
	vertical-align: top;
	padding: 10px ;
}

.peoplect > div.ctpic {
	max-width: 200px;
	width: 32%;
	margin: 0% 1% 0 0;
}

.peoplect > div.ctcont {
	width: 100%;
	margin: 0  0% 0 0%;
}

.peoplect > div.ctcont h3 {font-size: 1.35em;}

/**************  Tab protfolio style **********/
ul.tagslist  {
	display:inline-block;
	list-style:none;
	margin:10px 0;
	padding:0;
	width:98%;
}
ul.tagslist li:first-child{
	margin: 0px 0px 0 20px;
}
ul.tagslist li {
	display: inline-block;
	margin: 0px 0px;
    padding: 0;
	font-family: 'Lato' , sans-serif;
    width: auto;
    text-align: center;
}
ul.tagslist li  span{
	margin: 0 30px;
}
ul.tagslist li:nth-child(2), ul.tagslist li:nth-child(3){
	/*margin: 0px 0px -1px 20px; */
}

ul.tagslist li a, ul.tagslist li a:visited{
	font-size: 1.09em;
	color:var(--MA-blue);
	font-family: 'Lato' , sans-serif;
	font-weight: 500;
	text-decoration:none;
}
ul.tagslist li a:hover{ opacity: 0.8;}
ul.tagslist li a.active {
	color: var(--MA-blue);
	font-weight: 700;
}
.portsubcontent  h2{
	line-height: 1.6em;
}
.portsubcontent ul{
	width:100%;
	margin:0;
	padding:0;
}
 .portsubcontent ul li {
	width:100%;
	margin:0 0 0 18px;
	padding:0;
 }
 .pageintro {padding: 10px 0 50px 0; width:100%;}
.pageintro a, .pageintro a:visited {
	color: var(--MA-blue);
}


/***********************************/
/************  Contact us *********/
div.contactsul {
	padding:40px 0 16px 4px;
	width:100%;

}
div.contactsul p > i { color:#fff; margin-right: 10px; }
div.contactsul div {padding:0; margin:0;}
div.contactsul a, div.contactsul a:visited {color: #fff; }
div.contactsul a:hover { color: #fff;  opacity: 0.8; } 
div.contactsul span { color: #fff; }

div.contactsul  span[class^="footer-icon"] {margin: 1px 13px 1px 2px;}
div.contactsul div:last-child {
    background-color: var(--MA-grey);
    padding: 23px 20px 20px 35px;
    color: var(--MA-blue);
    border-radius: 4px;
    margin: 7px 0 26px 0;
    
}

div.contactsul div.ct-padding-right {  padding: 9px 0 9px 35px;}

div.contactsul div:last-child span.bigtitle { 	font-size: 1.45em;      color: var(--MA-red); }
div.contactsul div:last-child span.smalltitle { 	font-size: 1.1em; }
div.contactsul div:last-child span{ color: var(--MA-blue); font-weight: bold;}
div.contactsul div:last-child a, div.contactsul div:last-child a:visited {color: var(--MA-blue); }


/* div.contactsul ul {
	
    margin: 0px 0 0px 0;
    text-align: left;
    padding: 0;
    margin: 0;
    list-style-type: none;
    -webkit-columns: 3;
    columns: 3;
    -webkit-column-gap: 0;
    column-gap: 0;
    line-height: 1;
}

div.contactsul ul > li {
	display:inline-block;
    vertical-align:top;
	width:99%;
	padding:0 ;
	margin:6px 0;
	text-align:left;
	color: #fff;
} */

	


    
    .contactinfo {
    	margin: 30px 0 0 0 ;
    	width:100%;
    	text-align:left;
    }
    span[class^="footer-icon"] {
        display: inline-block;
        height: 31px;
        margin: 3px 13px 5px 2px;
        vertical-align: middle;
        width: 30px;
        opacity: 1;
    }
    span[class^="map-icon"] {
        display: inline-block;
        height: 31px;
        margin: 3px 13px 5px 2px;
        vertical-align: middle;
        width: 30px;
        opacity: 1;
    }

    .footer-text a, .footer-text a:visited, .map-text a , .map-text a:visited  { 
    	color: #000; text-decoration: none;
    }
    
    .footer-text a:hover, .map-text a:hover {
    	color: var(--MA-blue);
    }
    
    .footer-icon-phone {
        background: url(/wp-content/themes/customtheme/img/Phone-2021.png) 50% 0 no-repeat;
    }
    .footer-icon-email {
        background: url(/wp-content/themes/customtheme/img/Email-2021.png) 50% 0 no-repeat;
    }
    .footer-icon-insta {
        background: url(/wp-content/themes/customtheme/img/insta-2021.png) 50% 0 no-repeat;
    }
    .footer-icon-fb {
        background: url(/wp-content/themes/customtheme/img/fb-2021.png) 50% 0 no-repeat;
    }
    
    .map-icon-phone {
        background: url(/wp-content/themes/customtheme/img/phone-red-2021.png) 50% 0 no-repeat;
    }
    .map-icon-email {
        background: url(/wp-content/themes/customtheme/img/email-red-2021.png) 50% 0 no-repeat;
    }


/****************************************************************/

/************************   Footer    **************************/
footer  {
	background-color: var(--MA-blue);
	padding: 45px 0 25px 0;
}
footer > div > div {
    display: inline-block;
    vertical-align: top;
}
.footer-sec2 {
	width: 37%;
    margin: 0 12.1% 0 6.1%;
}
.footer-sec1, .footer-sec3 {
     width: 22%;
}

.footer-sec3 {
   text-align: left;
}

.footer-sec3 ul{
	list-style:none;
	display:inline-block;
	width:100%;
	margin: 0 0 0 0 ;
	padding:0;
	
}
.footer-sec3 ul li, .footer-sec3 ul li a, .footer-sec3 ul li a:visited{ 
    color: #fff;
	text-decoration: none;
	font-family: 'Lato' , sans-serif;
	font-size: 1em;
	border-bottom: 0px solid;
}
.footer-sec3 ul li a:hover{
	text-decoration: underline;
	font-size: 1em;
	border-bottom: 0px solid;
}

.footermenu .footer-menu {
	margin: 1px 0 0 0;
	text-align: left;
}

.footermenu .footer-menu > ul {
	margin: 0 0 0 0;
	text-align: left;
	padding: 0;
    margin: 0;
    list-style-type: none;
    -webkit-columns: 2;
    columns: 2;
    -webkit-column-gap: 0;
    column-gap: 0;
    line-height: 1;
	height:70px;
}
.footermenu .footer-menu > ul > li {
	width:100%;
	padding: 5px 0px 0px 0px;
}
.footermenu .footer-menu > ul > li > a {
	color: #fff;
	text-decoration: none;
}
.footermenu .footer-menu > ul > li > a:hover{
	opacity: 0.8;
	text-decoration: none;
}

/******************** Start project style  *******************************/

.margintop20 {margin-top: 20px;}
.filterct h3{
	font-size: 1.3em !important;
    margin-top: 10px;
	
}

.filterct h6{
	border-bottom: 2px solid #000;
	margin-bottom: 20px;
	margin-top: 38px;
	width: 75%;
	padding: 4px 0;
}
.filterct  .list-spacer {height: 7px;}
.filterct label {
	margin-left: 6px;
	margin-bottom: 0px !important; 
}

.displayct h2 {
    font-size: 0.85em !important;
    min-height: 75px;
}

button.filterbtn {
    color: #A30000 !important;
    transition: all .5s ease;
    border: 1px solid #A30000 !important;
    text-transform: capitalize !important;
    font-weight: 800;
    background-color: transparent !important;
    margin: 0px 0 0px 0;
    padding: 10px 25px;
    font-size: 16px;
    float: left;
    border-radius: 0;
    transition: all .3s cubic-bezier(.77,0,.175,1);
    font-family: 'Lato', sans-serif;
}


.colinline { display: inline-block; vertical-align: top; }
.clearbtn a , .clearbtn a:visited  {font-size: 1.4em; color: #A30000; margin-left: 20px; }
.clearbtn a:hover { opacity: 0.7; } 

/* Popup CSS Outer */
.popup {
    width:100%;
    height:100%;
    display:none;
    position:fixed;
    top:0px;
    left:0px;
       background:rgba(42, 39, 97, 0.75);
    z-index: 99999999;
}
 
/* Inner */
.popup-inner {
    width:80%;
    position:absolute;
    top:50%;
    left:50%;
    -webkit-transform:translate(-50%, -50%);
    transform:translate(-50%, -50%);
    /* box-shadow:0px 1px 2px rgba(0,0,0,.8); */
    box-shadow:0px;
    border-radius:3px;
    background:#fff;
    z-index: 99999999;
}
.popup-inner div.row {  padding:22px 30px 20px 30px; }
.popup-inner > img{
    width:100%;
}
/* Close Button */
.popup-close {
    width:35px;
    height:35px;
    padding-top:4px;
    display:inline-block;
    position:absolute;
    top:20px;
    right:20px;
    transition:ease 0.25s all;
    -webkit-transform:translate(50%, -50%);
    transform:translate(50%, -50%);
    background:rgba(0,0,0,0);
    font-family:Arial, Sans-Serif;
    font-size:22px;
    text-align:center;
    line-height:100%;
    color:#000 !important;
    text-decoration:none;
}
 
.popup-close:hover {
    -webkit-transform:translate(50%, -50%) rotate(180deg);
    transform:translate(50%, -50%) rotate(180deg);
    background:rgba(0,0,0,0);
    text-decoration:none;
}

/** Popup Content **/

/************************** End project style  *********************/

.practicearea{ margin-bottom: 10px; }
.practicearea p { margin-bottom: 5px;  margin-top: 2px; }
.practicearea ul{ margin:0; padding:0; }
.practicearea ul li{ padding:0; margin-left: 22px; }

.practicemenu p { margin-bottom: 5px; font-size: 1.05em; font-weight: bold; }
.practicemenu ul{ margin:0; list-style: disc; padding:0;  }
.practicemenu ul li{ padding:0; margin-left: 22px; }

/***************************************************************/

/***************   JEMCO   *********************/

.sloganheaderlg {
    position: absolute;
    top: 20px;
    /* margin-left: 6.5%; */
    color: #fff;
}
.sloganheadertlt{
	 position: absolute;
    margin-top: -20%;
    /* margin-left: 6.5%; */
    color: #fff;
}

.jm-padding {
	padding-top: 100px;
}
.jm-poeplebg {
	height: 200px; 
}
.jm-poepleimg {
	text-align:left;
	width:100%;
	margin:0;
	padding: 0 1% 0 9%;
}
.jm-poepleimg img {
	max-width: 40%;
	margin-top: -220px;
	border: 10px solid #fff;
}

.jm-poeplect {
	text-align:left;
	width:100%;
	margin:0;
	padding: 2% 9%;
}
.jm-poeplect h2 {
		font-family: 'Merriweather', serif;
		font-size: 1.6em !important;
		margin-bottom:20px;
}
.jm-poeplect h3{
	font-size: 1.1em;
	font-weight: 700;

	font-family: 'Lato', serif;
}

.jm-poeplect p{
		font-family: 'Lato', serif;
		margin-top:0;
	    padding-top:0;

}

.jm-footer div { color: #fff;}
.jm-alignleft {text-align:left;}
.jm-alignright {text-align:right;}


@media screen and (min-width:1000px) {	
		.menu1 { display: inline-block; }
		.device { display: none; }	
}

@media screen and (max-width:900px) {	

        .headcta {
            text-align: right;
            display: block;
            justify-content: right;
            margin-bottom: 29px;
            margin-right: 15px;
        }
        
        .btnbook30min {
            max-width: 250px;
            min-width: 250px;
        }
        
        .btnservice {
            max-width: 250px;
            min-width: 164px;
        }
              
		.frameservice {
			width: 98%;
			margin-left: 2%;
		}
		.frameheader { with:100%;}
		.menu1 { display: none; }
		.device { display: block;  } /* hide mobile menu for now */
		.main-nav ul { display: block; }
		.fixedscroll .logo .mainlogo, .logo .mainlogo  {
			    display: none;
		}
		.fixedscroll .logo .smalllogo,  .logo .smalllogo{
			display: block;
		}
		.logo,.fixedscroll .logo { width: 36%; margin-top: 1px;}
		.headerbg {min-height: auto;}
		.elementwidth { min-width: auto; padding: 50px 0; } 
		.pp-marginleft, .pp-marginright { margin-left: 4%; }
		.footer-sec1 {    width: 28%;  } .footer-sec2 {    width: 62%;     margin: 0 1% 0 7%; }
		.footer-sec3 {    width: 100%;  }  .footer-sec3 ul li{text-align:center;}
		.hm-col-content, .hm-col-title {display: block; width:100%; text-align: left;}
		.hm-sec-content {padding: 5% 20px 50px 20px;}
		.hm-title-text {float:none; }
		.hm-title-ovelay {position: relative; padding:0; text-align:left;}
		.padding-t-15, .padding-t-25 { padding: 40px 0 40px 0;} .overlayright { margin-right: 0; }
		.sloganpage { margin-top: 38%;  max-width: 350px; }
		.slogantext1 , .slogantext { width:70%;}
				.hm-col1-servies {  padding: 50px 20px 45px 20px; margin: 0% 0; width: 100%; }
		.hm-col2-servies > ul > li {width:44%; margin-top: 55px; margin-bottom: 55px; margin: 0 1% 0 4%;}

		.hm-col2-servies { width:96%;  }
		.hm-col2-servies > ul > li > ul.servicesulct > li {width:83%; }
		.hm-sec-content1 {padding: 7%  5%  5%  3%}
		#imagemap { background: none; margin: 0 20px 80px 0px; height: auto; }
		#imagemap ul { margin:0;padding:0; display:inline-block; }
	     #imagemap li { margin:0 20px;padding:0; display:inline-block;vertical-align: top;  min-width: 300px;}
		#imagemap li > a { position: static;display: none; }
		#imagemap li div.info {display: block; width:98%; position: static; padding: 15px 20px 0px 20px; margin-top: 20px!important; }
		
		.client-container { grid-template-columns: repeat(4, 1fr);    }
}

@media screen and (max-width:800px) {
	.frameservice {
			width: 98%;
			margin-left: 2%;
	}
    
	.elementwidth { min-width: auto; padding: 50px 0; } 
	.pp-marginleft, .pp-marginright { margin-left: 3%; }
	.footer-sec1 {    width: 28%;  } .footer-sec2 {    width: 62%;     margin: 0 1% 0 7%; }
	.footer-sec3 {    width: 100%;  }  .footer-sec3 ul li{text-align:center;}
	.hm-col-content, .hm-col-title {display: block; width:100%; text-align: left;}
    .hm-sec-content {padding: 5% 20px 50px 20px;}
	.hm-title-text {float:none; }
	.hm-title-ovelay {position: relative; padding:0; text-align:left;}
	.padding-t-15, .padding-t-25 { padding: 40px 0 40px 0;} .overlayright { margin-right: 0; }
	.sloganpage { margin-top: 38%;  max-width: 350px; }
	.slogantext1 , .slogantext { width:70%;}
	.hm-col1-servies {  padding: 50px 20px 45px 20px; margin: 0% 0; width: 100%;  }
	.hm-col2-servies > ul > li {width:44%; margin-top: 55px; margin-bottom: 55px; margin: 0 1% 0 4%;}

	.hm-col2-servies { width:96%;  }
	.hm-col2-servies > ul > li > ul.servicesulct > li {width:83%; }
	.hm-sec-content1 {padding: 7%  5%  5%  3%}
	#imagemap { background: none; margin: 0 20px 80px 0px; height: auto; }
	#imagemap ul { margin:0;padding:0; display:inline-block; }
	#imagemap li { margin:0 20px;padding:0; display:inline-block;vertical-align: top;  min-width: 300px;}
	#imagemap li > a { position: static;display: none; }
	#imagemap li div.info {display: block; width:98%; position: static; padding: 15px 20px 0px 20px; margin-top: 20px!important; }
	.client-container { grid-template-columns: repeat(4, 1fr);    }
}

@media screen and (max-width: 769px) {
	
		.frameservice {
			width: 98%;
			margin-left: 2%;
		}

		.elementwidth { min-width: auto; padding: 50px 0; } 
		.pp-marginleft, .pp-marginright { margin-left: 2%; }
		.footer-sec1 {    width: 28%;  } .footer-sec2 {    width: 62%;     margin: 0 1% 0 7%; }
		.footer-sec3 {    width: 100%;  }  .footer-sec3 ul li{text-align:center;}
		.hm-col-content, .hm-col-title {display: block; width:100%; text-align: left;}
		.hm-sec-content {padding: 5% 20px 50px 20px;}
		.hm-title-text {float:none; }
		.hm-title-ovelay {position: relative; padding:0; text-align:left;}
		.padding-t-15, .padding-t-25 { padding: 40px 0 40px 0;} .overlayright { margin-right: 0; }
		.sloganpage { margin-top: 38%;  max-width: 350px; }
		.slogantext1 , .slogantext { width:70%;}
		.slogantextbigger {font-size: 1.35em; width:70%;}
		.hm-col1-servies {  padding: 50px 20px 45px 20px; margin: 0% 0; width: 100%;  }
		.hm-col2-servies > ul > li {width:44%; margin-top: 55px; margin-bottom: 55px; margin: 0 1% 0 4%;}

		.hm-col2-servies { width:96%;  }
		.hm-col2-servies > ul > li > ul.servicesulct > li {width:83%; }
		.hm-sec-content1 {padding: 7%  5%  5%  3%}
		
		#imagemap { background: none; margin: 0 20px 80px 0px; height: auto; }
		#imagemap ul { margin:0;padding:0; display:inline-block; }
	     #imagemap li { margin:0 20px;padding:0; display:inline-block;vertical-align: top;  min-width: 300px;}
		#imagemap li > a { position: static;display: none; }
		#imagemap li div.info {display: block; width:98%; position: static; padding: 15px 20px 0px 20px; margin-top: 20px!important; }
		div.contactsul div.ct-padding-right { padding-left: 0px; }
		div.contactsul div:last-child{	padding: 15px 10px 20px 10px; }
		.client-container { grid-template-columns: repeat(4, 1fr); }
}




@media screen and (max-width:427px) {
	
		
	.client-container { grid-template-columns: repeat(2, 1fr); }
	
	.seperatorbgabout {
		background-position-x: 22%;
	}
	
	.frameservice {
			width: 98%;
			margin-left: 2%;
	}

	.popup-inner {
        width:100%;
        padding:10px 10px 10px 10px;
        top:50%;
		position: relative !important;
        left:50%;
	}
	.popup-inner div.row {
		padding: 15px 5px 20px 5px;
	}
	.popup {
		width: 100%;
		height: 100%;
		display: none;
		position: relative !important;
		top: -550px !important;
		left: 0px;
		background: transparent !important;
		z-index: 99999999;
	}
	 /****  Home, header and footer */
	 .tabcontents:last-child  {   padding: 4% 0 30% 0; }
	.hm-col-content, .hm-col-title {display: block; width:100%;}
	.hm-sec-content {padding: 5% 20px 50px 20px;}
	.hm-title-ovelay {position: relative; padding:0; text-align:left; padding:0 14px;}
	.hm-title-text {float:none; }
	#aboutus .hm-col-title .hm-sec-content { padding: 20px 10px; }
	.hm-col1-servies {  padding: 50px 20px 45px 20px; margin: 0% 0; width: 100%;  }
    .hm-col2-servies > ul > li {width:100%; margin-top: 55px; margin-bottom: 55px;}
	.hm-col2-servies > ul > li:first-child{ margin-top: 30px;}
	.hm-col2-servies { width:96%;  }
	.hm-col2-servies > ul > li > ul.servicesulct > li {width:83%; }
	#imagemap { background: none; margin: 0 20px 80px 0px; height: auto; }
	#imagemap ul { margin:0;padding:0; }
	#imagemap li > a { position: static;display: none; }
	#imagemap li div.info {display: block; width: 98%; position: static; margin-top: 20px !important; padding: 15px 10px 0px 10px;}
	.seperatorbg{ background-repeat: no-repeat; min-height: 200px; background-attachment: inherit; }
	 .seperatorbghome { background-repeat: no-repeat; min-height: 200px; background-attachment: inherit; background-position-x: 49%; }
	 .seperatorbgabout { background-repeat: no-repeat; min-height: 200px; background-attachment: inherit;
		background-position-x: 22%;
	}
	
	.slogantext { width:100%; font-size: 1.35em; padding-top: 11%; }
	.hm-sec-content1 { padding: 20px; }
	div.contactsul { padding: 40px 0 40px 4px;}
	div.contactsul div { width:98%;   margin: 0px 0 20px 0; }
	div.contactsul div:last-child { margin: 0px 0 0px 0; }
	.footer-sec1 { width: 28%; } .footer-sec2 { width: 62%;  margin: 0 1% 0 7%;  }  .footermenu .footer-menu > ul {height: 100px;}
	.footer-sec3 { width: 100%; }  .footer-sec3 ul li {text-align:center;}
	.hm-col2-servies > ul > li:last-child { margin: 0 0% 0 4%; }
	
	 /**** About us */
	.headerbgpage  { height: auto; background-attachment: inherit;  }
	
	.headerbgpageabout { height: auto; background-attachment: inherit;  background-size: cover;}
	.sloganpage { margin-top: 35%;  max-width: 270px;  }
	.padding-t-15, .padding-t-25 { padding: 10% 0 40px 0;} .overlayright { margin-right: 0; }
	.page-id-9 .seperatorbg { min-height: 320px;}
	.page-id-9 .slogantext1 {font-size: 1.1em; width:94%;}
	.page-id-9 .fontsize16 { font-size: 1.25em; }
	.slogantextbigger {font-size: 1em; width:100%;}
	
	 /**** Our People */
	.button-group { margin-top: 0; }
	.button-group .button {  padding: 10px 10px 10px 8px; margin: 8px 4px; height: 95px; width: 168px; }
	.page-id-13 .button-group .button { width: 170px; }

	.page-id-11 .seperatorbg { min-height: 300px;}
	.page-id-11 .slogantext2 {font-size: 1em; width:100%;}
	
	.elementwidth { min-width: auto; padding: 50px 0; } 
	.pp-marginright, .pp-marginleft {margin-right: 0%; margin-left: 0%;}
	.peoplect { padding-bottom: 0px;}
	.peoplect > div {padding: 5px 4px 20px 4px; }
	.peoplect > div.ctpic, .peoplect > div.ctcont {width:96%;margin: 0% 0 0px 0;}

	 /**** Our Services */
	.tabcontents { width: 90%; padding: 30px 0px 30px 0px }
	.tabcontents:first-child { padding: 40px 0 30px 0; }
	.tabcontents div:first-child, .tabcontents div:last-child { width: 99%; }
	.tabcontents div:last-child {margin: 15px 0 0px 0;}
	
	 /**** Portfolio */
	.tabcontents1:first-child { padding: 10px 0 40px 0;  }
	.tabcontents1 { width: 90%; padding: 40px 0px 40px 0px }
	ul.tagslist {width:96%; padding: 0 0 20px 15px;}
	ul.tagslist li:first-child {margin: 0px 0px 0 0px;}
	ul.tagslist li {width: auto;}
	ul.tagslist li span { margin: 0 5px; }
	.portsubcontent ul {padding: 0px 0 20px 0;}

	.min-height {min-height:auto;}
	.jm-poepleimg img {    margin-top: 20px;}
	div.contactsul div.ct-padding-right { padding-left: 0px; }
	div.contactsul div:last-child{	padding: 15px 10px 20px 10px; }

}

@media screen and (max-width:320px) { 
	.pp-marginleft div.ctpic { margin-left: 29%;}
	.slogantextbigger {font-size: 0.9em; width:100%;}
	
	.main-nav ul { margin: 26% 11% 0 0; }
	div.contactsul div.ct-padding-right { padding-left: 0px; }
	div.contactsul div:last-child{	padding: 15px 10px 20px 10px; }
	.client-container { grid-template-columns: repeat(1, 1fr); }
}



/* Transparent Overlay */
.map_loading:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.1);
}


.map_loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 0.8em;
  height: 0.8em;
  margin-top: -30%;
  margin-left: 50%;
  -webkit-animation: spinner 2000ms infinite linear;
  -moz-animation: spinner 2000ms infinite linear;
  -ms-animation: spinner 2000ms infinite linear;
  -o-animation: spinner 2000ms infinite linear;
  animation: spinner 2000ms infinite linear;
  border-radius: 0.4em;
  -webkit-box-shadow: rgba(163, 0, 0, 0.75); 1.5em 0 0 0, rgba(163, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(163, 0, 0, 0.75) 0 1.5em 0 0, rgba(163, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(163, 0, 0, 0.5) -1.5em 0 0 0, rgba(163, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(163, 0, 0, 0.75) 0 -1.5em 0 0, rgba(163, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(163, 0, 0, 0.75) 1.5em 0 0 0, rgba(163, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(163, 0, 0, 0.75) 0 1.5em 0 0, rgba(163, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(163, 0, 0, 0.75) -1.5em 0 0 0, rgba(163, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(163, 0, 0, 0.75) 0 -1.5em 0 0, rgba(163, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}