/* ================= GRID ================== */

.grid .panel-grid-cell { padding: 0 20px 0 20px }
.grid .panel-grid { margin: 0 -20px 0 -20px }

/* ================= OUR TEAM ================== */

.our-team {
    position: relative;
    overflow: hidden;
}
.our-team h5 {
    margin-bottom: 20px;
    margin-top: 5px;
}
.our-team .button {
    display: block;
}
.our-team > img {
    width: 100%;
    padding: 0;
}
.our-team > figcaption {
    width: 100%;
    height: 100%;
}
.our-team > figcaption div {
    padding: 25px;
    height: 100%;
    text-align: center;
}
.our-team > figcaption p {
    margin-bottom: 0px;
}
.readmore-button {
    word-spacing: 0.1em;
    letter-spacing: 0.01em;
    padding: 10px 0px;
    line-height: 1;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    display: inline-block;
    outline: none !important;
}
.our-team img {
    -webkit-transition: border 0.2s ease-in-out;
    -moz-transition: border 0.2s ease-in-out;
    -o-transition: border 0.2s ease-in-out;
    -ms-transition: border 0.2s ease-in-out;
    transition: border 0.2s ease-in-out;
}
.readmore-button:hover {
    padding: 10px 15px;
}
.our-team > figcaption div .readmore-button {
    padding: 10px 15px;
    display: block;
}
/* ================= TESTIMONIALS ================== */

#testimonials {
    position: relative;
    width: 100%;
    margin: 0px;
    padding: 0px;
}
.testimonial .testimonial-text {
    margin: 0px;
    width: 100%;
    padding: 25px;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.testimonial .testimonial-text p{
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial .testimonial-text p:last-child{
    margin-bottom: 0px;
}
.testimonial-image {
    width: 100%;
    margin-top: 25px;
    min-height: 85px !important;
}
.testimonial-image img {
    width: 100%;
    max-width: 85px !important;
    height: auto;
    float: left;
    margin-right: 20px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}
.testimonial .testimonial-text:before {
    top: 100%;
    left: 30px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-width: 10px;
    margin-left: 0px;
    z-index: 9;
}
.testimonial-name {
    padding-top: 20px;
    margin-bottom: 5px;
    margin-top: 0px;
    line-height: 1;
}
/* ================= LATEST NEWS ================== */

.latest-news {
    position: relative;
    overflow: hidden;
}
.latest-news h5 {
    margin-bottom: 10px;
    margin-top: 0px;
}
.latest-news .button {
    display: block;
}
.latest-news > img {
    width: 100%;
    padding: 0;
}
.latest-news > figcaption {
    width: 100%;
    height: 100%;
}
.latest-news > figcaption div {
    padding: 25px;
    height: 100%;
}
.latest-news p {
    margin-bottom: -10px;
}
.latest-news .latest-news-date {
    margin-bottom: 0px;
    font-style: italic;
}
.latest-news hr {
    margin-right: -25px;
    margin-left: -25px;
    margin-top: 20px;
    margin-bottom: 20px;
}
/* ================= SINGLE Member ================== */
.member-info {
    padding: 30px;
    margin-top: -30px;
}
.no-member-thumb {
    margin-top: 0px !important;
}
.member-info h5{
    margin-bottom: 10px;
}
.member-info p{
    margin-bottom: 20px;
}
.member-info hr{
    margin-top: 30px;
    margin-bottom: 30px;
    margin-right: -30px;
    margin-left: -30px;
}
.member-icons {
    list-style-type: none;
    display: inline-block;
    margin: 0px;
    padding: 0px;
    vertical-align:bottom;
}
.member-icons li {
    float: left;
    display: block;
    margin: 0px 5px 0px 0px;
    padding: 0;
}
.member-icons li img {
    width:30px;
    height:auto;
    vertical-align:bottom;
    padding: 5px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
/* ================= GALLERY ================== */
.gallerycontainer {
    position: relative;
    width: 100%;
    height: auto;
    display: inline-block;
    margin: 0px 0px 40px 0px;
    padding: 0;
    vertical-align: bottom;
}
.gallerycontainer:last-child {
    margin-bottom: 0px;
}
.gallerycontainer h4,.serviceh4{
    margin-bottom: 30px !important;
}
.gallerycontainer p {
    margin-bottom: 0px;
}
.gallerycontainer p.postdate {
    line-height: 1;
    font-style: italic;
    margin: 0px;
}
.gallerycontainer .button{
    margin: 0px;
}
.gallerycontent {
    float: right;
    width: 38.2%;
    padding: 40px;
    position: relative;
}
.gallerycontent.withoutfimage {
    width: 100% !important;
}
.galleryimage {
    position: absolute;
    left:0;
    right: 0;
    bottom: 0;
    top:0;
    width: 61.8%;
    height: 100%;
    vertical-align: bottom;
}
.galleryimage a{
    position: absolute;
    left:0;
    top:0;
    width: 100.1%;
    height: 100%;
    opacity: 0;
    -webkit-transition:opacity 0.4s ease-in-out;
    -moz-transition:opacity 0.4s ease-in-out;
    -o-transition:opacity 0.4s ease-in-out;
    -ms-transition:opacity 0.4s ease-in-out;
    transition:opacity 0.4s ease-in-out;
    background-position:center center;
    background-repeat:no-repeat;
    background-image:url('icons/zoom-1.png');
    vertical-align: bottom;
}
.galleryimage.projectimage a{
    background-image:url('icons/link-1.png');
}
.videogal{
    background-image:url('icons/video-1.png') !important;
}
.galleryimage a:hover{
    opacity: 0.9;
}
.gallery-title {
	height: 50px;
	left: 0;
	position: absolute;
    display: inline-block;
	right: 0;
	top: 0;
	z-index: 9;
    font-size: 20px;
    line-height: 50px;
    margin: 0px;
    padding: 0px;
}
/* ================= TABS ================== */
.buildtabs {
    position: relative;
    margin: 0px 0px 30px 0px;
    padding: 0px;
}
ul.resp-tabs-list {
    margin: 0px;
    padding: 0px;
    display: inline-block;
    width: 100%;
    vertical-align: bottom;
}
.resp-tabs-list li {
    display: inline-block;
    padding: 20px;
    margin: 0px;
    list-style: none;
    cursor: pointer;
    float: left;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    border-top:3px solid transparent;
}
.resp-tabs-container {
    padding: 0px;
    clear: left;
}
.resp-tab-content {
    display: none;
}
.resp-tab-content img{
    max-width: 100%;
    height: auto;
}
.resp-content-active, .resp-accordion-active {
    display: block;
}
.resp-tab-content {
    border: none;
    padding: 40px;
}
/*-----------Vertical tabs-----------*/
.resp-vtabs ul.resp-tabs-list {
    float: left;
    width: 30%;
    border-bottom: none;
}
.resp-vtabs .resp-tabs-list li {
    display: block;
    padding: 20px !important;
    margin: 0;
    cursor: pointer;
    float: none;
    border-top: none !important;
}
.resp-vtabs .resp-tabs-container {
    padding: 0px;
    float: left;
    width: 70%;
    clear: none;
}
.resp-vtabs li.resp-tab-active {
    position: relative;
    z-index: 1;
    padding: 20px !important;
    border-top: none !important;
}
h2.resp-tab-active {
    margin-bottom: 0px !important;
    padding: 20px;
}
h2.resp-tab-active span.resp-arrow {
    border: none;
}
.resp-arrow {
    width: 0;
    height: 0;
    float: right;
    margin-top: 3px;
}
.service-tab p{
    margin: 0px;
}
/*-----------Accordion styles-----------*/
h2.resp-accordion {
    cursor: pointer;
    display: none;
    margin: 0px;
    padding: 30px;
}
.resp-easy-accordion h2.resp-accordion {
    display: block;
}
.resp-jfit {
    width: 100%;
    margin: 0px;
}
.resp-tab-content-active {
    display: block;
}
.resp-easy-accordion.resp-tab-active {
    border-top: none !important;
}
.resp-easy-accordion .resp-tab-content {
    padding: 30px;
}
/* ================= RESPONSIVE IFRAME ================== */
.flex-video {
    position:relative;
    padding-bottom:67.5%;
    height:0;
    overflow:hidden;
    margin-bottom:30px;
}
.flex-video.widescreen {
    padding-bottom:37.25%;
}
.flex-video.vimeo {
    padding-top:0;
}
.flex-video iframe, .flex-video object, .flex-video embed, .flex-video video {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    outline:none;
    border:none;
}
#google-map {
    width: 100%;
    height: 470px;
    margin: 0px;
    padding: 0px;
    z-index: -1;
}
/* ================= ACCORDION  ================== */
#accordion-container {
	padding: 0px;
	margin: 30px 0px 30px 0px;
	width: 100%;
	position: relative;
}
.accordion-header {
	margin: 0px;
	padding: 20px 20px 20px 0px;
	cursor: pointer;
    -webkit-transition:color 0.2s ease-in-out;
    -moz-transition:color 0.2s ease-in-out;
    -o-transition:color 0.2s ease-in-out;
    -ms-transition:color 0.2s ease-in-out;
    transition:color 0.2s ease-in-out;
    font-weight: 700;
}
.active-header {
	background: url(icons/minus-1.png);
	background-repeat: no-repeat;
	background-position: right 50%;
}
.inactive-header {
	background: url(icons/plus-1.png);
	background-repeat: no-repeat;
	background-position: right 50%;
}
.inactive-header:hover {
	background: url(icons/plus-1.png);
	background-repeat: no-repeat;
	background-position: right 50%;
}
.accordion-content {
	display: none;
	padding: 30px 0px 30px 0px;
	width: 100%;
}
/* ================= FLEX IMAGE ================== */
.caption-image {
    position:relative;
    margin-bottom:80px;
    margin-top: 40px;
}
.caption-image img {
    width:100%;
    height:auto;
    vertical-align: bottom;
    border-bottom: none !important;
}
.caption-image figcaption {
    position: absolute;
    bottom: -50px;
    left:0;
    width:100%;
    text-align:center;
    height: 50px;
    line-height: 50px;
}
.flex-image {
    margin-bottom: 30px;
}
.flex-image a {
    outline: none !important;
}
.flex-image img {
    width: 100% !important;
    height: auto !important;
    vertical-align: bottom;
}
/* ================= FLICKR  ================== */
 .flickr-box {
    margin: 0px 0px -5px 0px;
    padding: 0px;
    overflow: hidden;
    width: 105%;
    position: relative;
}
.flickr-box li {
    list-style:none;
    float:left;
    margin-right:5px;
    margin-bottom:5px;
    padding:0px;
    height:65px;
    background-image:none !important;
    display: inline-block;
}
.flickr-box li:last-child {
    margin-right:0px;
}
.flickr-box li {
    border:none !important;
}
.flickr-box li img {
    display:block;
    -webkit-transition:all 0.4s ease-in-out;
    -moz-transition:all 0.4s ease-in-out;
    -o-transition:all 0.4s ease-in-out;
    transition:all 0.4s ease-in-out;
    width: 65px;
    height: auto;
    opacity:0.7;
    cursor: pointer;
}
.flickr-box li img:hover {
    opacity:1;
}
/* ================= INFO BOX ================== */
 .build-message {
    background-size: 40px 40px;
    width: 100%;
    padding: 40px;
    margin-bottom:30px;
    -webkit-animation: animate-bg 5s linear infinite;
    -moz-animation: animate-bg 5s linear infinite;
    -o-animation: animate-bg 5s linear infinite;
    animation: animate-bg 5s linear infinite;
    position:relative;
}
.build-message-close {
    position:absolute;
    width:25px;
    height:25px;
    right:5px;
    top:5px;
    cursor:pointer;
    background-image:url('icons/close-s-1.png');
    background-repeat:no-repeat;
    background-position:center center;
    -webkit-transition:opacity 0.2s ease-in-out;
    -moz-transition:opacity 0.2s ease-in-out;
    -o-transition:opacity 0.2s ease-in-out;
    -ms-transition:opacity 0.2s ease-in-out;
    transition:opacity 0.2s ease-in-out;
    opacity: 0.3;
}
.build-message-close:hover {
    opacity:1;
}
.build-message p {
    margin: 0;
}
@keyframes animate-bg {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -80px 0;
    }
}
@-webkit-keyframes animate-bg {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -80px 0;
    }
}
@-moz-keyframes animate-bg {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -80px 0;
    }
}
@-o-keyframes animate-bg {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -80px 0;
    }
}
@media only screen and (max-width: 1400px) {
    .page-title {
        padding: 300px 0px 0px 0px;
    }
    #google-map {
        height: 420px;
    }
}
/* ================= MEDIA ================== */
@media only screen and (max-width: 1200px) {
.slider-container {
    min-height:inherit !important;
}
}
@media only screen and (max-width: 800px) {
    .ns_nerveSlider .ns_slideContent div span {
        font-size: 24px;
        padding: 20px 40px;
    }
}
@media only screen and (max-width: 768px) {
    ul.resp-tabs-list {
        display: none;
    }
    h2.resp-accordion {
        display: block;
    }
    .resp-tab-content {
        padding: 30px !important;
    }
    .resp-vtabs .resp-tabs-container {
        border: none;
        float: none;
        width: 100%;
        min-height: initial;
        clear: none;
    }
    .resp-tab-active {
        border: none !important;
    }
    .resp-accordion-closed {
        display: none !important;
    }
    .resp-tabs-container > div {
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .postcontent,.gallerycontent {
        float:none;
        width: 100%;
    }
    .blogimage,.galleryimage {
        position: relative !important;
        width: 100%;
        height: 200px;
    }
}
@media only screen and (max-width: 480px) {
    .ns_nerveSlider .ns_slideContent div span{
        display: none !important;
    }
    blockquote p,.testimonial .testimonial-text {
        font-size: 15px;
    }
}