﻿/******** mobile **********/

/******** header **********/

.navbar.navbar-main {
// background-color: rgba(254, 254, 254, 0.5);
// background-color: rgba(254, 254, 254, 0.9);
}

/******** footer **********/

/******** sidebar **********/

#sidebar-wrapper {
    background: #32bdb9;
    z-index: 2222;
    padding: 30px;
}

#sidebar-wrapper .navbar-nav > li > a {
    color: #ffffff !important;
    padding: 0;
}

#nav-icon1 span {
    width: 18px;
    padding: 1px;
    height: 0;
}

#nav-icon1 {
    width: 40px;
    height: 32px;
}

#nav-icon1 span:first-child {
    top: auto;
}

#nav-icon1.open span:first-child,
#nav-icon1.open span:nth-child(3) {
    height: 2px;
    background: #ffffff;
}

#nav-icon1.open span {
    width: 14px;
}

#nav-icon1.open {
    display: block;
    width: 10px;
}

.sidenav {
    top: 0;
    width: 100%;
    position: relative;
}

.navbar-toggle {
    margin-right: 5px;
    margin-top: 0;
}

.sidenav ul li a:hover {
    background: none;
}

.sidenav ul li {
    font-family: Arial, Helvetics, sans-serif;
    list-style: none;
    margin-bottom: 10px;
}

.sidenav ul li a {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 12px;
    padding-top: 0;
    padding-bottom: 0;
}

#wrapper.toggled #sidebar-wrapper {
    width: 270px;
}

.sidenav {
    padding-top: 0;
}

.force-collapse .navbar-toggle {
    margin-right: 3px;
}

/******** content **********/

#page-content-wrapper {
    background: #fff;
    padding-top: 80px;
}

#wrapper.toggled #page-content-wrapper {
    margin-left: -270px;
}

.featurette-heading-landing + .button-border .button-text {
    font-size: 18px;
    padding: 10px;
}

h2.featurette-heading-landing.title-card-top-spacer {
    line-height: 1;
    background: none;
}

.button-border .button-text {
    text-transform: uppercase;
    padding: 0;
    width: 100%;
}

.page-title .button-reset {
    cursor: auto;
    outline: none;
}

.mt150 {
    margin-top: 150px;
}

.lead-caption p,
.lead-caption ul li {
    font-size: 20px;
}

.lead-caption p.lead {
    font-size: 20px;
}

.lead-caption a {
    color: inherit;
    font-size: 20px;
    text-align: right;
    font-weight: bold;
    float: right;
}

.featurette-heading ul {
    font-size: 16px;
}

.featurette-heading ul li a {
    color: inherit;
}

.height55vh {
    min-height: 55vh !important;
}

.height44vh {
    min-height: 44vh !important;
}

.section-box .f16 {
    font-size: 16px;
}

.flexend-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: right;
}

.box-head {
    margin-bottom: 60px;
    margin-top: 60px;
    display: flex;
    flex-direction: row;
}

.box-head .box-counter span {
    color: #666666;
    padding-right: 10px;
    font-size: 6.2em;
    display: block;
    font-weight: 700;
    line-height: .75;
    font-family: Roboto, sans-serif;
    border-right: 2px solid #666666;
}

.box-head .box-content .featurette-heading-landing {
    font-size: 2em;
    margin: 0 0 10px;
}

.box-head .box-content .sub-heading {
    font-size: 16px;
}

.box-head .box-content {
    text-align: left;
    padding-left: 15px;
}

.button-reset .title-arrow {
    display: none;
}

.cleafix:after,
.cleafix:before {
    display: table;
    clear: both;
    content: '';
}

.custom-tooltip {
    display: inline-block;
    position: relative;
}

.custom-tooltip span.tip {
    display: block;
    background-color: rgba(0, 0, 0, .8);
    position: absolute;
    bottom: 100%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    z-index: 3;
    padding: 5px 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

    -webkit-transition: all ease-out .3s;
    -moz-transition: all ease-out .3s;
    -o-transition: all ease-out .3s;
    transition: all ease-out .3s;

    font-size: 12px;
    color: #fff;
    white-space: nowrap;
}

.custom-tooltip span.tip:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid rgba(0, 0, 0, .7);
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.full-link {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    text-indent: -9999px;
}

.content {
    color: #666;
}

.content hr {
    margin: 30px 0;
}

.content img {
    max-width: 100%;
}

.content video {
    max-width: 100%; height:auto;
}

.content h4 {
    text-transform: uppercase;
}

.content * + h4 {
    margin-top: 30px;
}

.intro h5 {
    margin: 0 0 20px;
    text-transform: uppercase;
}

.intro p {
    line-height: 24px;
    font-size: 16px;
}

.team-listing {
    margin: 60px 0 0;
}

.team-listing > .row {
  /*  letter-spacing: -10px;*/

}

.team-listing > .row > div {
    /*float: none;
    display: inline-block;
    vertical-align: top;
    letter-spacing: 0;
    width: 100%;*/
    -webkit-transition: all ease-out .3s;
    -moz-transition: all ease-out .3s;
    -o-transition: all ease-out .3s;
    transition: all ease-out .3s;
}

.team-listing .btn-link {
    border: 1px #eee solid;
    color: #666 !important;
}

.team-listing .btn-link:hover {
    border: 1px #eee solid;
    text-decoration: none;
}

.team-listing .item {
    padding-bottom: 10px;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.team-listing .item .image img {
    /*	filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
        filter: gray;
        -webkit-filter: grayscale(100%);*/

    -webkit-transition: all ease-out .3s;
    -moz-transition: all ease-out .3s;
    -o-transition: all ease-out .3s;
    transition: all ease-out .3s;
}

.team-listing .item:hover .image img {
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");

    -webkit-filter: brightness(70%);
}

.team-listing .item h5 {
    margin-bottom: 5px;
    text-transform: uppercase;
}

.team-listing .item p {
    margin-bottom: 0;
}

.team-listing .item:before,
.team-listing .item:after,
.team-listing .item-top:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
}

.team-listing .item:before {
    background-color: rgba(0, 0, 0, .3);
}

.team-listing .item:after {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;

    font-family: FontAwesome;
    content: "\f106";
    font-size: 95px;
    color: #ccc;
}

.team-listing .item.active:hover .item-top:before,
.team-listing .item.active:before,
.team-listing .item.active:after {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    content: "\f107" !important;

}

.team-listing .item:hover .item-top:before,
.team-listing .item:hover:before,
.team-listing .item:hover:after {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    // content: "\f106";
    cursor: pointer;
}

.team-listing .item .full-link {
    display: none;
}

.team-listing .item.active .full-link {
    display: block;
}

.team-listing .item-top:before {
    background-color: rgba(0, 0, 0, .1);
}

.team-listing .item.active:after {
    z-index: 2;
}

.team-listing .item-top {
    position: relative;
    margin-bottom: 10px;
}

.team-listing .excerpt-detail {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(0, -50%);
    left: 25px;
    right: 25px;
    z-index: -1;
    opacity: 0;
    visibility: hidden;

    -webkit-transition: all ease-out .3s;
    -moz-transition: all ease-out .3s;
    -o-transition: all ease-out .3s;
    transition: all ease-out .3s;

    color: #fff;
}

.team-listing .item:focus .excerpt-detail,
.team-listing .item:hover .excerpt-detail {
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

.team-listing .item.active .excerpt-detail {
    display: none;
}

.team-listing .excerpt-detail h5 {
    margin: 0 0 10px;
}

.team-listing .excerpt-detail .btn-link {
    margin: 0;
    border: none;
    background: #333;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 5px 10px;

    -webkit-transition: all ease-out .3s;
    -moz-transition: all ease-out .3s;
    -o-transition: all ease-out .3s;
    transition: all ease-out .3s;

    color: #fff !important;
    font-size: 13px;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: none;
}

.team-listing .excerpt-detail .btn-link:hover {
    background: #000;
}

.team-listing .btn-link.btn-tab-mob {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border: none;
    text-indent: -999px;
    z-index: 3;
}

.team-listing .item-details {
    margin-bottom: 30px;
    display: none;
}

.team-listing .item-details .close {
    display: block;
    background: red;
    width: 30px;
    height: 30px;
    position: relative;
}

.team-listing .item-details .close:before,
.team-listing .item-details .close:after {
    content: "";
    width: 2px;
    height: 30px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -15px 0 0 -1px;
}

.team-listing .item-details .close:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.team-listing .item-details .close:after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}

.team-listing .item-details h4 {
    margin: 0 0 10px;
    font-size: 22px;
}

.team-listing .item-details h5 {
    margin: 0 0 10px;
    font-size: 18px;
    text-transform: uppercase;
}

.team-listing .item-details ul.list-inline {
    margin-left: -5px;
    margin-right: -5px;
}

.team-listing .item-details ul.social-media li a {
    color: #666 !important;
}

.team-listing .item-details ul.social-media li a:hover {
    color: #32bdb9 !important;
}

.team-listing .item-details ul.services {
    margin-top: 20px;
}

.team-listing .item-details ul.services li {
    margin-top: 10px;
}

.team-listing .item-details ul.services .btn-link {
    cursor: default;
}

.team-listing {

    padding: 40px;
}

.team-listing h2{
    padding-top:0px!important;
}

.map {
    width: 100%;
    height: 450px;
}

#map {
    height: 100%;
}

@media (max-width: 979px) {
    .featurette-heading {

        font-size: 2em;
    }
}

/*Paul styles*/
@media (max-width: 767px) {

    .lead-caption p.lead {
        font-size: 16px!important;
    }

    .lead-caption ul li {
        font-size: 15px;
    !important;
    }

    .lead-caption a {

        font-size: 18px!important;
    }

    .lead-caption p {
        font-size: 16px!important;
    }

    .featurette-heading {
        font-size: 2.1em !important;
    }
}

.post-tag a{
	display: inline-block;
    background: #32bdb9;
    color: #fff !important;
    line-height: 1;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
}
.post-tag a + .post-tag a{
	margin-left:10px;
}

.btn.btn-inline{
	width:auto;
	padding: 6px 45px;
}

.btn.btn-inline.btn-lg{
	padding: 10px 50px;
}

@media (max-width: 991px) {
	.mb-15-below-md{
		margin-bottom:15px;
	}
}

@media (min-width: 992px) {
	.flex-above-sm{
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

hr{margin:15px 0;border-color:#e0eded}hr.delimiter{background-image:-webkit-linear-gradient(left, transparent, rgba(0,0,0,0.2), transparent);background-image:linear-gradient(to right, transparent, rgba(0,0,0,0.2), transparent);border:0;height:1px;margin:22px 0 22px 0}