.filter-wrap{
	margin:30px auto 0;
	width:100%;
	background:#ededed;
	max-width:500px;
	border:1px solid #999;
}
.filter-wrap > a{
	display:block;
	text-align:center;
	font-size:16px;
	padding:6px 12px;
	color:#222;
	position:relative;
	text-decoration:none;
}
.filter-wrap > a:before{
	content:'';
	position:absolute;
	right:0;
	top:0;
	background:#2181bc;
	width:34px;
	height:100%;
}
.filter-wrap > a:after{
	content:'>';
	position:absolute;
	right:0;
	top:0;
	color:#fff;
	background:#2181bc;
	width:34px;
	line-height:32px;
	height:100%;
	font-size:28px;
	transform: rotate(90deg);
}
.filter-wrap > a.open:after{
	transform: rotate(-90deg);
}
.tile-filter, .tile-filter ul{
	list-style:none;
	margin:0;
	padding:0;
	text-align:center;
}
.tile-filter li{
	padding:3px 0;	
}
.tile-filter h5{
	font-weight:bold;
}
.button-more{
	color: white;
    padding: 9px 10px;
    background-color: #2181bc;
    border-radius: 5px;
	font-size:14px;
    margin: 5px;
	display:block;
	text-align:center;
	position:absolute;
	bottom:20px;
	left:20px;
	right:20px;
}
.tile-filter{
	display:none;	
}
.button-more:hover, .more-tiles:hover{
	color:#fff;	
}
.more-tiles{
	color: white;
    padding: 20px 50px;
    background-color: #2181bc;
    border-radius: 5px;
	font-size:20px;
    margin: 5px;
	display:inline-block;
	text-align:center;
	margin:0 auto 50px;
}

.tile-posts{
	float:left;
	width:100%;
	margin-top:40px;
	display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}
.tile-posts .tile{
	background:#ededed;
	border:6px solid #fff;
	padding:20px 20px 80px;
	display: flex;
  flex-direction: column;
	display:none;
}
.tile-posts .tile p{
	padding:0;
	margin:0;
}
.tile-posts .tile .img-container{
	width:100%;
	float:left;
}
.tile-posts .tile .img-container img{
	width:100%;
	height:auto;
	float:left;	
}
.tile-posts .tile h2{
	float:left;
	width:100%;
	margin:20px 0 20px;
}
.tile-posts .tile:nth-child(3n+1){
	clear:both;	
}

.subpage-nav{
	margin:40px 0 0;	
}

.grid-section {
	margin: 0px 0px 0px -15px;	
}



@media (max-width:1023px){
	.subpage-nav{display:none;}
}
.subpage-nav ul{
	display:table;
	width:100%;
	padding:0 0 24px;
	border-bottom:2px solid #818286;
}
.subpage-nav ul li{
	text-align:center;
	display:table-cell;
	text-transform:uppercase;
}
.subpage-nav ul li a{
	color:#818286;
}
.subpage-nav ul li a:hover{
	text-decoration:none;	
	color:#337ab7;
}
.subpage-nav ul li.current span{
	color:#337ab7;
	position:relative;
}

.subpage-nav ul li.current span:after{
	content:'';
	position:absolute;
	left:50%;
	margin:0 0 0 -10px;
	bottom:-37px;
	width:20px;
	height:20px;
	background:#fff;
	border:4px solid #316bb4;
	border-radius:50%;
}
@media (min-width:801px){
	.header {
		color: black;
		display: flex;
		text-transform: uppercase;
		position: relative;
		z-index: 500;
		position: fixed;
		width: 100%;
		background: #fff;
	}
	.headerImage, .headerSlider{
		margin-top:62px;	
	}
}

.profile-bio{
	display:none;
	position:fixed;
	z-index:400;
	width:96%;
	max-width:600px;
	background:#f2f1f2;
	left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
	padding:30px;
	border:8px solid #2782c2;
	border-radius:10px;
	color:#616366;
}
.profile-bio h3, .profile-bio h4{
	color:#616366;
}
.profile{
	padding-bottom:30px;
}
.profile:nth-child(4n+1){
	clear:both;	
}
.profile a:hover{
	text-decoration:none!important;	
}
.profile a h3,.profile a h4{
	color:#616366 !important;	
}

.bio-close{
	position:absolute;
	right:20px;
	top:20px;
}

.bio-close i{
	font-size:30px;
	color:#616366;
}

.popup-box {
    display: none;
    position: fixed;
	z-index:1000;
    top: 50%;
    left: 50%;
    z-index: 9003;
    background-color: #fff;
    -ms-transform: translate(-50%,-800%);
    transform: translate(-50%,-800%);
    padding: .9375rem 0 1.5625rem;
    text-align: center;
    border-radius: .1875rem .625rem .1875rem .1875rem;
    transition: transform 400ms;
    box-shadow: 0.1875rem 0.1875rem 0.75rem 0 rgba(50,50,50,.2);
    width: 90%;
}
.popup-box.visible{
	display:block;
	transform: translate(-50%,-50%);
}

.site-over{
	display:none;
	position:fixed;
	z-index:999;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.4);
}

.clientLogin a{
	cursor:pointer;	
}

.popup-box .Loginner {
    width: 20%;
    float: left;
    padding: 30px 15px;
    position: relative;
	text-align:center;
}

.popup-box .Loginner img{
	position:absolute;
	top:50%;
    transform: translate(-50%, -50%);
}


.popup-box .Loginner a{
	padding: 0;
    background: #ddd;
    border:1px solid #ddd;
    float: left;
    width: 100%;
    height: 200px;
    vertical-align: middle;
    text-align: center;
    position: relative;
	transition:background 0.4s;
}

.popup-box .Loginner a:hover{
	background:#f5f5f5;	
}

.popup-box .Loginner span{
	display: block;
    text-align: right;
    margin-top: .625rem;
	position: absolute;
    bottom: .5rem;
    right: 20px;
	font-size:18px;
	color:#333;
}

.popup-box .Loginner span:after{
	content:'>';
	padding-left:6px;
}
.popup-box .Loginner h3{
	font-size:16px;
	padding:10px 25px;
	margin-top:0;
}


@media (max-width:800px){
	.popup-box{
		position:absolute;	
	}
	.popup-box .Loginner{
		width:100%;
	}
}

.home-twit{
	padding:0;	
}
.home-twit .fill{
	background-color:#fff;
}

.home-twit .fill.carouselImg{
	background:none;
    background-image: url(/media/1032/edinburgh-image-72dpi-rgb.jpg);
    background-position: center;
    background-size: cover;
    height: 300px;

}
.testimonialSection{
	padding-bottom:100px !important;
}
@media (max-width:992px){
.testimonialSection{
	padding-bottom:30px !important;
}	
}
.footer{
	margin-top:0 !important;	
}


.funnyLine {
    background:url('/images/contact-line-40.png') center/cover no-repeat;
    height:70px;
    padding:0 !important;
    margin-bottom:35px;
}

.funnyLine p {
	margin-left:20px;
	margin-top:18px;
}

@media (max-width:992px){
	.funnyLine {
		padding: 5px 0 14px !important;
		height: auto;
		background: none;
		border-bottom: 8px solid #565656;
	}
	.funnyLine p {
		line-height:40px;	
	}
}

.footer a.buttonWhite{
	padding:1px 10px;
	display:inline-block;
}


    .homeIcons {
        border-left: grey 8px solid;
        height:300px;
        padding:0 25px;
    }
    @media (max-width:992px){
        .homeIcons {
            height:auto;
        }
    }
    
    .homeIcon {
        position:relative;
        font-weight:bold;
        font-size:17px;
    }
    
    .homeIcon img, .homeIcon svg {
        position:absolute;
        width:50px;
        height:50px;
        left:-54px;
        top:-2px;
    }
    
    .homeSVG{
        margin-bottom:-25px;
    }
.ethernet-titles{
	border-top:1px solid #ccc;	
	margin:30px 0 0;
}
.ethernet-titles h2{
	font-size:15px;
	display:inline-block;
	padding-right:25px;
	margin-bottom:0;
	cursor:pointer;
}
.ethernet-titles h2.active{
		color:#3163a3;
	text-decoration:underline;
}
.ethernet-wrap{
	display:none;
	padding:10px 0 50px;
}
.ethernet-wrap.active{
	display:block;	
}
.ethernet-wrap .ethernet-left{
	float:left;
	width:50%;
	padding:0 20px 30px 0;
}
.ethernet-wrap .ethernet-right{
	float:right;
	width:50%;
	padding:0 0 30px 20px;
}

.popup-box-close{
	font-size:20px;
	position:absolute;
	top:5px;
	right:10px;
	cursor:pointer;
}

#CalloutArea{
	float:left;
	width:100%;
}

.buttonWhite {
    color: #2181bc !important;
    padding: 5px 10px;
    background-color: white;
    border-radius: 5px;
    margin: 5px;
}

.getInTouch{
	position:fixed !important;	
}

.footer ul, .footer li{
	font-size:13px;
}

.featuredBlurb .featuredLink{
	padding:8px 0 0 !important;	
}

.socialLinks {
	flex-direction:row;
	justify-content:space-between;
}
.socialLinks a{
	margin-right:5px;	
}

.blog-archive-list,
.blog-archive-list ul{
	list-style:none;
	padding-left:0;
}
.blog-archive-list ul{
	padding-left:20px;
}
.brochures p{
	margin:0 0 3px;
	padding:0;
}

.brochures a{
	display: block;
    background: #f2f1f2;
    max-width: 371px;
    padding: 12px 50px 12px 16px;
    position: relative;
	color:#333;
	border:1px solid #f2f1f2;
	transition:background:
}
.brochures a:hover{
	text-decoration:none;
	background:#f5f5f5;
}
.brochures a:after{
	content:'\f019';
	font-family:"FontAwesome";
	position:absolute;
	right:20px;
	top:8px;
	color:#3163a3;
	font-size:20px;
}

.comm-slider{
	max-height:250px;
	overflow:hidden;
}

.comm-slider.slick-initialized{
	max-height:none;
	overflow:auto;
}


.headerOverlay {
	pointer-events: none;
	z-index: 1;
}

.pm-slider-header {
	/*border-bottom: 5px solid #337ab7;*/
	overflow: visible!important;
	width: 100%; 
	margin-left: 0;
}

.pm-slide-content {
	position: absolute;
	top: 10%;
	left: 2%;
	width: 30%;
	max-width: 400px;
	border: solid 10px #337ab7;
	padding: 20px;
	background-color: #ffffff;
	z-index: 1000;
}

.pm-slide-content h3,
.pm-slide-content p{
	margin: 0 0 15px;
	font-weight: bold;
	color: #337ab7;
}

.pm-slide-content h3 {
	font-size: 30px;
}

.pm-slide-content p {
	font-size: 16px;
}

.pm-slide-image {
	position: relative;
	width: 100%;
	padding: 25% 0 0 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.pm-slide-content .pm-button {
	display: inline-block;
	border: solid 2px #337ab7;
	padding: 5px;
	padding-right: 40px;
	background-color: #ffffff;
}

.pm-slide-content .pm-button:hover {
	color: #ffffff;
	background-color: #337ab7;
	text-decoration: none;
}

.pm-slider-header .comm-slider.slick-initialized {
	overflow: visible!important;
}

.pm-slider-header .slick-list {
	overflow: visible;
}

.slick-slide {
	position: relative;
}

@media (max-width:767px){
	.pm-slider-header {
		/*border-bottom: 5px solid #337ab7;*/
		overflow: visible!important;
		width: 100%!important; 
		margin-left: 0!important;
	}
	
	.pm-slide-image {
		padding: 35% 0 0 0;
	}
	
	.pm-slide-content {
		width: 40%;
		max-width: 400px;
	}
}

@media (max-width:580px){

	.pm-slide-image {
		padding: 40% 0 0 0;
	}
	
	.pm-slide-content {
		width: 50%;
		max-width: 400px;
	}
}

@media (max-width:414px){

	.pm-slide-image {
		padding: 60% 0 0 0;
	}
	
	.pm-slide-content {
		width: 70%;
	}
}

@media (max-width:375px){

	.pm-slide-image {
		padding: 80% 0 0 0;
	}
	
}
