/* fonts */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

*, *:focus, *:hover {
    outline: 0px transparent !important;
}

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

.no-padding {
    padding: 0;
}

.bold {
    font-weight: 800;
}

.npr {
    padding-right: 0;
}

.npl {
    padding-left: 0;
}


/*
header
 */
.header-wrapper{
  position: relative;
  background-color: #ffffff;
  /* height: 86px; */
  z-index: 999;
  width: 100%;
  transition: 0.3s;
}

.header-inner{
  /* margin-top: 4px; */
  background-color: white;
}
.site-branding {
	background-color: transparent !important;
}

.site-branding img.site-logo {
    /* width: 100%; */
    height: auto;
}

.header-contact, .header-contact p, .header-contact a, .header-contact li {
    font-size: 15px;
}


.main-title {
    /* background: #eee;
    padding: 20px;
    margin-bottom: 20px; */

}
.main-title.white {
    background: white;
}

.main-title h1.page-title {


}

.breadcrumb {
    background-color: #eee;
    margin-top: 20px;
    margin-left: 0;
    padding-left: 0;
}


.site-content {
  position: relative;
}
/*
Bx Banner
 */
.home-banner {
    padding: 0;
    margin: 0;
}

.slider-wrapper {
    width: 100%;
    position: relative;
}

.banner-content {
    position: absolute;
    width: 100%;
    left: 0;
    top: 30%;
    z-index: 99;
    height: 100%;
    display: block;
    animation: fadein .5s ease-in-out;

}

.video-overlay {
    background-image: url("../images/gridtile.png");
    background-repeat: repeat;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    overflow: hidden;
}

.slider-wrapper .bx-wrapper {
    padding: 0;
    margin: 0;
}

.slider-wrapper .bx-wrapper img.main-img {
    width: 100%;
    height: auto;
}

.slider-wrapper .bx-pager {
    position: absolute;
    width: 100%;
    bottom: 50px;
}

.slider-wrapper .bx-wrapper .bx-pager.bx-default-pager a.active, .slider-wrapper .bx-wrapper .bx-pager.bx-default-pager a:focus, .slider-wrapper .bx-wrapper .bx-pager.bx-default-pager a:hover {
    background: #1074bc;
}



/*
Cards 
 */

.card {

}

.card .card-inner {
    background-color: #ffffff;
    margin-bottom: 35px;
}

.card .card-inner .entry {
    margin-bottom: 20px;
}

.card .card-inner.entry-thumb,
.card .card-inner .entry-text {
}

.card .card-inner .entry-thumb {
    position: relative;
    overflow: hidden;
}

.card .card-inner .entry-thumb .thumb-link img {
    vertical-align: bottom;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
	width: 100%;
	height: 420px;
	object-fit: cover;
}

.card .card-inner .entry-thumb .thumb-link::before {
    content: "";
    display: block;
    background: rgba(240, 240, 240, 0.35);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.card .card-inner .entry-thumb .thumb-link::after {
    content: "";
    font-size: 4.5rem;
    z-index: 1;
    display: block;
    height: 90px;
    width: 90px;
    letter-spacing: -2.6px;
    line-height: 90px;
    margin-left: -45px;
    margin-top: -45px;
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    color: #FFFFFF;
    opacity: 0;
    visibility: hidden;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform: scale(0.5);
}

.card .card-inner .entry-thumb:hover .thumb-link::before {
    opacity: 1;
    visibility: visible;
}

.card .card-inner .entry-thumb:hover .thumb-link::after {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.card .card-inner .entry-thumb:hover .thumb-link img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.card .card-inner .entry-text {
    padding: 9px;
    background-color: white;
}

.card .card-inner .entry-header .entry-title {
    font-size: 20px;
    line-height: 1.32;
    margin-bottom: 1.8rem;
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.card .entry-excerpt {
    min-height: 90px;
}

.card .portfolio-content {
  background: #f7f7f7;
  margin: 0px 10px;
  padding: 40px 20px;

}

 .portfolio-separator {
  height: 4px;
  background: #919296;
  width: 40px;
}


.card .portfolio-title h3 {
  color: #494949;
  font-weight: 300;
  font-size: 38px;
  line-height: 44px;
  text-align: left;
}

.card .portfolio-button {
  margin-top: 30px;
}

.card .portfolio-button a.btn-block{
  display: initial;
}

.card .portfolio-button a.btn-primary{
  background: transparent;
  border: 1px solid #222;
  font-size: 14px;
  color: #494949;
  padding: 10px 20px;
  letter-spacing: 1px;
  cursor: pointer;
}

.card .portfolio-button a.btn-primary:hover{
  background: #41484E;
  border: 1px solid #41484E;
  font-size: 14px;
  color: #ffffff;
  transition: 0.3s;
}






/*Back to top*/
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 30px;
    background: transparent;
    color: #494949;
    cursor: pointer;
    border: 1px solid #222;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
}



#back-to-top:hover {
    background: #5F5F5F;
	color: #fff;
	border: 1px solid #222;
}

#back-to-top.show {
    opacity: 1;
}

/*
Widgets
 */
#secondary .widget ul, #colophon .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/*
Content
 */


/*
News Widget
 */

.latest-news .blog-img {
    padding: 0;
}

.latest-news .post-title h3 {
    margin-top: 0;
}

.latest-news .date {
    font-size: 12px;
}

.latest-news .date::before {
    font-family: FontAwesome;
    content: "\f073";
    margin-right: 8px;
}

/* ===================================================================
 *  Blog
 *
 * ------------------------------------------------------------------- */
.posted-on time::before {
    font-family: FontAwesome;
    content: "\f073";
    margin-right: 3px;
}


body.blog .content-area {
    background: white;
}

#bricks {
    padding-top: 4.2rem;
}

#bricks .masonry {
    max-width: 1200px;
}

#bricks .pagination {
    margin-top: 6rem;
}

#bricks.with-top-sep {
    position: relative;
}

#bricks.with-top-sep::before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -100px;
    width: 200px;
    height: 1px;
    background-color: #D1D1D1;
}

.bricks-wrapper:before,
.bricks-wrapper:after {
    content: "";
    display: table;
}

.bricks-wrapper:after {
    clear: both;
}

.bricks-wrapper .grid-sizer,
.bricks-wrapper .brick {
    width: 33.33333%;
}

.bricks-wrapper .brick {
    float: left;
    padding: 0 20px;
}

.bricks-wrapper .featured-grid {
    width: 50%;
}

.bricks-wrapper .featured-grid .entry-content {
    width: 100%;
    background: #151515;
}

@media only screen and (max-width: 1280px) {
    .bricks-wrapper .grid-sizer,
    .bricks-wrapper .brick {
        width: 33.33333%;
    }

    .bricks-wrapper .featured-grid {
        width: 66.66667%;
    }
}

@media only screen and (max-width: 1024px) {
    .bricks-wrapper .brick {
        padding: 0 18px;
    }

}

@media only screen and (max-width: 960px) {
    .bricks-wrapper .grid-sizer,
    .bricks-wrapper .brick {
        width: 50%;
    }

    .bricks-wrapper .featured-grid {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .bricks-wrapper .brick {
        padding: 0 15px;
    }

}

@media only screen and (max-width: 600px) {
    #bricks .row {
        max-width: 460px;
    }

    .bricks-wrapper .grid-sizer,
    .bricks-wrapper .brick {
        width: 100%;
        padding: 0 10px;
        clear: both;
    }
}

@media only screen and (max-width: 400px) {
    .bricks-wrapper .brick {
        width: 100% !important;
        float: none !important;
        clear: both !important;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

}

.js .animate-this {
    opacity: 0;
}

.oldie .animate-this
.no-cssanimations .animate-this {
    opacity: 1;
}

.bricks-wrapper .entry {
    margin-bottom: 40px;
}

.bricks-wrapper .entry-thumb,
.bricks-wrapper .entry-text {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
}

.bricks-wrapper .entry-thumb {
    position: relative;
    overflow: hidden;
}

.bricks-wrapper .entry-thumb img{
      width: 100%;
      max-height: 300px;
      object-fit: cover;
      object-position: center;
}

.bricks-wrapper .entry-thumb .thumb-link img {
    vertical-align: bottom;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.bricks-wrapper .entry-thumb .thumb-link::before {
    content: "";
    display: block;
    
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.bricks-wrapper .entry-thumb .thumb-link::after {
    
    font-size: 4.5rem;
    z-index: 1;
    display: block;
    height: 90px;
    width: 90px;
    letter-spacing: -2.6px;
    line-height: 90px;
    margin-left: -45px;
    margin-top: -45px;
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    color: #FFFFFF;
    opacity: 0;
    visibility: hidden;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform: scale(0.5);
}

.bricks-wrapper .entry-thumb:hover .thumb-link::before {
    opacity: 1;
    visibility: visible;
}

.bricks-wrapper .entry-thumb:hover .thumb-link::after {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.bricks-wrapper .entry-thumb:hover .thumb-link img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.bricks-wrapper .entry-text {
    padding: 1.8rem 2.8rem 3.6rem;
    background-color: white;
}

.bricks-wrapper .entry-header .entry-title {
    font-size: 2.5rem;
    line-height: 1.32;
    margin-bottom: 1.8rem;
}

.bricks-wrapper .entry-header .entry-title a,
.bricks-wrapper .entry-header .entry-title a:visited {
    color: #000000;
}

.bricks-wrapper .entry-header .entry-meta {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.bricks-wrapper .entry-header .entry-meta a,
.bricks-wrapper .entry-header .entry-meta a:visited {
    color: #000000;
}


.bricks-wrapper .entry-header .cat-links a:last-child::after {
    display: none;
}

.bricks-wrapper .entry-excerpt {
    font-size: 1.5rem;
    line-height: 2.7rem;
    color: #999999;
}


.blog-single .post-thumb img{
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: cover;
    margin-bottom: 30px;
	margin-top: 50px;
}
.blog-single .entry-meta {
    font-size: 1.5rem;
    list-style: none;
    margin-left: 0;
    margin-bottom: 8px;
    margin-top: 8px;
    color: #999999;
}

.blog-single .entry-meta a,
.blog-single .entry-meta a:visited {
    color: #000000;
}

.blog-single .entry-meta li {
    display: inline-block;
    padding-left: 0;
}

.blog-single .entry-meta .date {
    margin-right: 1rem;
}

.blog-single .entry-meta .cat a {
    margin-right: 5px;
}

.blog-single .entry-meta .cat a:last-child {
    margin-right: 0;
}

.blog-single .entry-meta .cat a::after {
    content: ",";
}

.blog-single .entry-meta .cat a:last-child::after {
    content: none;
}

.blog-single .tags {
    margin: 6rem 0 4.2rem;
}

.blog-single .tags span {
    color: #151515;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.blog-single .tags a {
    color: #999999;
    margin-right: 1rem;
}

.blog-single .author-profile {
    margin-top: 9rem;
    padding-left: 9rem;
    position: relative;
}

.blog-single .author-profile a,
.blog-single .author-profile a:visited {
    color: #000000;
}

.blog-single .author-profile img {
    margin: 0.6rem 0 0 0 !important;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
}

.blog-single .author-profile p {
    margin-bottom: 1.2rem;
}

.blog-single .author-profile .author-social {
    list-style: none;
    margin-left: 0;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.blog-single .author-profile .author-social li {
    display: inline-block;
    margin-right: 0.8rem;
    padding-left: 0;
}

.blog-single .author-profile .author-social a {
    color: #999999;
}

.blog-single .pagenav {
    padding-top: 1.5rem;
    margin: 12rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-single .pagenav div {
    padding-top: 1.5rem;
    float: left;
    width: 50%;
}

.blog-single .pagenav a {
    font-size: 2.1rem;
    line-height: 1.571;
    border: none;
    color: #000000;
}

.blog-single .pagenav a span {
    font-size: 1.5rem;
    line-height: 3rem;
    display: block;
    margin-bottom: 1.5rem;
    color: #999999;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.blog-single .pagenav a:hover span {
    color: #000000;
}


@media only screen and (max-width: 768px) {
    .blog-single .entry-meta {
        font-size: 1.5rem;
    }

    .blog-single .pagenav div {
        float: none;
        width: 100%;
    }

    .blog-single .pagenav div:first-child {
        margin-bottom: 0.9rem;
    }

}

@media only screen and (max-width: 600px) {
    .blog-single .author-profile {
        padding-left: 0;
        text-align: center;
    }

    .blog-single .author-profile img {
        position: static;
        width: 6.6rem;
        height: 6.6rem;
        margin: 0 0 0.6rem 0 !important;
    }

    .blog-single .pagenav {
        text-align: center;
    }

}


/*
Social Menu Top Nav
 */
ul#menu-social {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0;
}

ul#menu-social li {
    display: inline-block;
}

ul#menu-social li a span {
    display: none;
}

ul#menu-social li a::before {
    font-family: FontAwesome;
    color: #fff;
    display: inline-block;
    font-size: 21px;
    margin-left: 5px;
    margin-right: 0;
    line-height: 32px;
}

ul#menu-social li.fb a::before {
    content: "\f230";

}

ul#menu-social li.twitter a::before {
    content: "\f081";

}

ul#menu-social li.yt a::before {
    content: "\f166";

}

ul#menu-social li.email a::before {
    content: "\f199";

}

ul#menu-social li.tel a::before {
    content: "\f098";

}





/* -------------------
  Theme
  -- STYLES
 ------------------- */

 /*__________________________
 __________Custom Header____________
 */

 #top-search {
     background: #41484E;
     padding: 20px 0px;
     display: none;
 }

 .site-header {
   background-color: rgba(255,255,255,0);
 }

 .site-branding {
   float: left;
   max-width: 524px;
   height: 86px;
   background-color: #fff;
   padding-left: 20px;
   padding-right: 10px;
   display: -webkit-box;
   display: -webkit-flex;
   display: -ms-flexbox;
   display: flex;
   align-items: center;
 }

 .header-contact {
   float: right;
   background-color: #fff;
   display: -webkit-box;
   display: -webkit-flex;
   display: -ms-flexbox;
   display: flex;
   align-items: center;
 }

 .col-header {
   color: #494949;
   font-size: 15px;
 }

 .col-header a {
   color: #494949;
 }

 .col-header .fa{
   color: #AB1E24;
   margin-right: 2px;
   font-size: 20px;
 }

 .col-header.gr-tel {

 }

 .col-header.gr-email {
   padding-left: 20px;
 }

 .col-header.gr-socials {

 }

/* Header Menu */

 .gr-menu {
   height: 86px;
   width: 86px;
   background-color: #AB1E24;
   text-align: center;
   line-height: 86px;
 }

.gr-menu i::after {
    font-family: FontAwesome;
    content: "\f0c9";
    font-style: initial;
}

.gr-menu.open i::after {
    font-family: FontAwesome;
    content: "\f00d";
    font-style: initial;
}

.gr-menu .gr-nav-btn {
   color: #fff;
   z-index: 100;
}


/* Header Search */

 .gr-search {
   height: 86px;
   width: 86px;
   background-color: #41484e;
   text-align: center;
   line-height: 86px;
 }

 .gr-search i::after{
   font-family: FontAwesome;
   content: "\f002";
   font-style: initial;
 }

 .gr-search.open i::after{
   font-family: FontAwesome;
   content: "\f077";
   font-style: initial;
 }

 .gr-nav-btn {
    background: transparent;
    border: 0;
    margin: auto;
    font-size: 30px;
    color: #fff;
    width: 100%;
}

 .gr-search .gr-nav-btn {
    color: #fff;
    z-index: 100;
}



 /*__________________________
 __________Header____________
 */

 ul#primary-menu li.current-menu-item a, ul#primary-menu li a:hover {
   /* background: none; */
   /* border-bottom: 3px solid #00c237; */
 }
 ul#primary-menu li a {
   /* background: none;
   border-bottom: 3px solid rgba(#00c237,0); */
 }
 header#masthead {

}

/* Menu Reveal */

    .menu-reveal {
      height: 0%;
      width: 100%;
      position: fixed;
      z-index: 999;
      top: 0;
      left: 0;
      background-color: #919296;
      overflow-y: hidden;
      transition: 0.5s;
    }

    .menu-reveal-content {
      position: relative;
      top: 15%;
      width: 100%;
      margin-top: 30px;

    }

    .menu-reveal a {
      padding: 8px;
      text-decoration: none;
      font-size: 36px;
      color: #ffffff;
      display: block;
      transition: 0.3s;
      padding: 16px 0px;
    }

    .menu-reveal a:hover, .menu-reveal a:focus {
      color: #AB1E24;
    }

    .menu-reveal .closebtn {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 70px;
      line-height: 70px;
      font-weight: 400;
      color: #ffffff;
    }


/* Logo in Reveal */


/* Menu in Reveal */

ul#primary-menu {
    margin: 0;
    padding: 0;
    display: block;
}


ul#primary-menu > li {
    padding: 0;
    list-style: none;
    list-style-image: none;
    position: relative;
}

ul#primary-menu > li a{
  color: #ffffff;
  font-size: 28px;
  font-weight: 600;
}

ul#primary-menu > li a:hover{
  color: #AB1E24;
}



/*__________________________
__________Global____________
*/

@media (max-width:768px) {
  .wpcf7-form input, .wpcf7-form textarea {
      width: 100% !important;
  }
}

div#page {
  /* overflow-x: hidden; */
}


body, p, h1, h2, h3, h4, h5, h6, li {
  font-family: 'Montserrat', sans-serif;
  color:#494949;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 58px;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 48px;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 42px;
}

h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}


p, li {
    color: #494949;
    line-height: 27px;
    font-size: 16px;
    font-weight: 400;
}

a.e-btn, .wpcf7-submit {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
  padding: 14px 35px;
  background: #09357a;
  color: white;
  border-radius: 50px;
  transition: 0.3s;
}
/* rounded */
a.e-btn.e-btn__rounded, .wpcf7-submit {
    border-radius: 50px;
    padding: 14px 35px;
}

.e-btn-container {
  padding: 30px 0px;
}

/* e-btn - Block Difference */
 .e-btn, .c-block__white .wpcf7-submit {
  background-color: #09357a;
  border: 1px solid #09357a;
}

.e-btn:hover {
  background: #AB1E24 !important;
  color: #fff !important;
  border: 1px solid #AB1E24 !important;
}

.e-btn__second {
  background: #ffffff !important;
  color: #09357a !important;
  border: 1px solid #09357a !important;
}

.c-block__white .e-btn__second:hover {
  background: #09357a !important;
  color: #fff !important;
  border: 1px solid #09357a !important;
}

.c-block__grey .e-btn, .c-block__red .e-btn, .c-block__red .wpcf7-submit {
  background-color: #41484E;
  border: 1px solid #41484E;
  color: #ffffff;
}

.c-block__red .e-btn:hover {
  background-color: #ffffff !important;
  border: 1px solid #ffffff !important;
  color: #41484E !important;
}

.c-block__red .e-btn__second:hover {
  background-color: #09357A !important;
  border: 1px solid #09357A !important;
  color: #ffffff !important;
}

.c-block__dark-grey .e-btn, .c-block__dark-grey .wpcf7-submit {
  background-color: rgba(255,255,255,0);
  border: 1px solid white;
}

a.e-btn:hover, .wpcf7-submit:hover {
  background-color: white;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid #AB1E24 !important;

}


body:not(.home) div#primary {
  padding-bottom: 10px;
}

.overlay-slider {
  top: -1px;
}


/* ------ BLOCKS -------  */
.c-block {
  position: relative;
  z-index: 1;
}

.c-block__white {
  background-color: #ffffff;
}

.c-block__dark-grey {
  background-color: #41484e;
  color: #ffffff;
}

.c-block__grey {
  background-color: #D7D8D9;
  color: #494949;
}

.c-block__red h1, .c-block__red h2, .c-block__red h3, .c-block__red h4, .c-block__red h5, .c-block__red h6, .c-block__red li {
  color: #ffffff;
}

.c-block__red {
  background-color: #AB1E24;
  color: #ffffff;
}

.c-block__red p{
  color: #ffffff;
}

.c-block__dark-grey h1, .c-block__dark-grey h2, .c-block__dark-grey h3, .c-block__dark-grey h4, .c-block__dark-grey h5, .c-block__dark-grey h6, .c-block__dark-grey li {
  color: #ffffff;
}

.c-block__dark-grey p {
  color: #ffffff;
}


/*_______________________________
__________ Plugin Adds ____________
*/



/*__________________________
__________Components____________
*/

.c-text_w_headings__headings{
  text-align: center;
  margin-bottom: 20px;
}

.c-text_w_headings__headings h2{
  font-weight: 400;
    margin-bottom: 0px;
}

.c-text_w_headings__headings h3{
  font-weight: 400;
  margin-top: 0px;
  color: #AB1E24;
  text-transform: none;
}


.vertical-auto {
  margin-top: auto;
  margin-bottom: auto;
}

img.image_and_text__image {
  margin: 30px 0;
  max-height: 450px;
  object-fit: cover;
  object-position: center;
}

/* Image and Quote */

img.image_and_quote__image {
  margin: 30px 0;
  max-height: 450px;
  object-fit: cover;
  object-position: center;
}

img.image_and_quote__image {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 25% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 25% 100%);
}

.leftside img.image_and_quote__image {
  -webkit-clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
}

.image_and_quote__quote p{
  font-size: 28px;
  line-height: 40px;
  font-weight: 300;
  font-style: italic;
}

.image_and_quote__quote:before, .image_and_quote__quote:after{
  position: absolute;
  font-size: 100px;
}

.image_and_quote__quote:before{
  content:"\201C";
  left: 0;
  top: -85px;
}

.image_and_quote__quote:after{
  content:"\201D";
  right: 0;
  bottom: -85px;
}

.image_and_quote__name {
    position: absolute;
    right: 40px;
    bottom: -45px;
    font-size: 18px;
}

.image_and_quote__name:before {
  content:'- ';
}

/* Google Map */

.google_map__container iframe{
  height: 500px !important;
  width: 100% !important;
}

/* Info Blocks */

.c-infoblock {
    text-align: left;
    margin-bottom: 15px;
}

.c-infoblock__img {
  display: inline-block;
  width: 25%;
  margin-right: 4%;
  max-width: 83px;
  max-height: 83px;
  border-radius: 100px;
}

.c-infoblock__content {
  display: inline-block;
  width: 70%;
  vertical-align: top;
}

.c-infoblock__title {
  font-size: ;
  text-transform: none;
}

.c-infoblock__text {
  font-size: 15px;
  line-height: 21px;

}

/* Contact Form */

.c-contactform {
  text-align: center;
}

.c-contactform__form {
  margin: 0 auto;
}

.c-contactform input:not(.wpcf7-submit), .c-contactform textarea {
  width: 100%;
  padding: 13px;
  /* margin: 12px; */
  font-size: 13px;
  outline: 0;
  border: 0;
}

.c-contactform__form .col-md-6 {
  margin-bottom: 25px;
}

.c-contactform h4 a {
  font-weight: 600;
  color: #006871;
}

.c-contactform h4 {
  padding: 25px 0px 0px 0px;
  font-weight: 300;
  color: #006871;
}

.contact-page-form .c-contactform input:not(.wpcf7-submit), .contact-page-form .c-contactform textarea {
    background: #c9e6d6;
}

/*__________________________________
__________Pages - header____________
*/

.main-image-wrapper {
  background-color: #919296;
  display: flex;
  justify-content: center;
  color: white;
  align-items: flex-end;
  padding: 200px 0px 0px;
  position: relative;
}

.main-image__title {
  color: white;
  font-weight: 700;
  font-size: 50px;
  position: relative;
  top: -50px;
}

/***

.main-image-wrapper {
  padding-top: 4%;
  padding-bottom: 4%;
  background-color: #AB1E24;
  background: rgb(9,53,122);
  background: -moz-linear-gradient(67deg, rgba(9,53,122,1) 0%, rgba(120,193,43,1) 100%);
  background: -webkit-linear-gradient(67deg, rgba(9,53,122,1) 0%, rgba(120,193,43,1) 100%);
  background: linear-gradient(67deg, rgba(9,53,122,1) 0%, rgba(120,193,43,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#09357a",endColorstr="#AB1E24",GradientType=1);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.main-image-wrapper:before {
    content: '';
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.page-heading {
  max-width: 1200px;
  margin: 0px auto 30px;
}

h2.main-image__title {
  background-position: center;
  background-size: 100% 100%;
  display: inline-block;
  color: white;
  position: relative;
  z-index: 2;
}

 h2.main-image__title {
  background: none;
  font-weight: 400;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 8rem;
  padding: 0px 0px 0px 20px;
}

.page-heading.use-featured {
    text-align: left;
}

.blog  h2.main-image__title, .single h2.main-image__title, .page-template-page-contact-php  h2.main-image__title {
  background: none;
  border-radius: 42px 0px;
  overflow: hidden;
  position: relative;

}

***/



/*__________________________
__________Blog______________
*/


.blog .news-block__content {
  overflow: hidden;
  box-shadow: 0px 0px 6px 2px #d0d0d0;
}

.blog h1.entry-title a {
  font-size: 2.5rem;
    line-height: 1.32;
    margin-bottom: 1.8rem;
}

.blog .entry-text .date.blog-single-date {
  color: #494949 !important;
  font-size: 14px;
  font-weight: 400;
}
.blog .bricks-wrapper .entry-text {
  padding: 1.8rem 2.8rem 2.7rem;
}

/*________________________________
__________Therapy Checkout________
*/
form#checkout-form .col-md-8 {
    background: #c9e6d6;
    padding: 18px;
    border-radius: 10px;
}

form#checkout-form label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
    text-align: left;
    float: left;
    padding-right: 7px;
}

form#checkout-form .form-group {
  border: none;
}

form#checkout-form .form-group input {
  background: white;
}


/*______________________________
__________WOOCOMMERCE_____________
*/

/*
Mini Basket
 */

.basket-item-count{
    position: absolute;
    top: 1px !important;
    right: 1px !important;
    background: #AB1E24!important;
    border: 1px solid #AB1E24;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 9px;
    text-align: center;
    vertical-align: middle;
    line-height: 19px;
    color: #ffffff;
}


.single-product div#content {
  padding-top: 50px;
}


.single-product .form-group input#s {
  text-align: right;
  color: #595957;
}

.single-product .header-wrapper .form-group {
  position: relative;
  text-align: right;
  border: 2px solid #5b5b59;
  border-radius: 10px;
}

.single-product .form-group input#s::placeholder {
    color: #5b5b59;
}

.single-product .form-group input#searchsubmit {
  background: none;
  padding-right: 30px;
  border: none;
  color: #595957;
}

.single-product  span.woocommerce-Price-amount.amount {
  font-size: 21px;
  font-weight: 600;
  color: #0ba9b5;
}


.archive.woocommerce h1.page-title {
  display: none;
}

.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  background-color: #5c5c58;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}


.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    overflow: hidden;
    border: 1px solid #efefef;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding-left: 10px;
  padding-right: 10px;
}

.woocommerce ul.products li h2 {
    font-size: 16px !important;
    line-height: 1.3em;
}
.woocommerce ul.products li {
    text-align: center;
}

.woocommerce ul.products li.product .button {
  background-color: #4C78B5;
  color: white;
  margin-bottom: 15px;
}

.woocommerce ul.products li.product .price {
  display: block;
  font-size: 21px;
  font-weight: 600;
  color: #d71921;
  margin-bottom: 0px;
}

/*__________________________
__________MOBILE_____________
*/


.hidden-md-up {
  display: none;
}

.hidden-xs-down {
  display: block;
}
div#map-container ul.overlay {
  position: absolute !important;
  z-index: 1;
}
@media (max-width:992px) {

  .hidden-md-up {
    display: block;
  }

  .hidden-xs-down {
    display: none;
  }

  .btn-slide {
    padding: 8px 20px !important;
  }


  div#map-container ul.overlay {
    position: static !important;
  }

  .mob-standard-logo {
    display: inline-block;
    height: 50px !important;
    object-fit: contain;
    padding: 5px;
  }
  .c-contactform input:not(.wpcf7-submit), .c-contactform textarea, .c-contactform__form {
    width:100%;
  }
  .wpcf7-form input, .wpcf7-form textarea {
    width: 100% !important;
    margin: 10px 0 !important;
  }
  .main-image__title {
    color: white;
    font-weight: 700;
    font-size: 40px;
    padding: 15px;
  }

  div#page {
    overflow-x: hidden;
  }


  a.e-btn.e-btn__rounded.e-btn__second {
      display: block;
      position: relative;
      top: 20px;
      width: fit-content;
  }



}


/*________________________
__________MAP_____________
*/


div#map {
  width: 100%;
  height: 500px;
}

div#map-container ul.overlay {
  position: absolute;
  top: 5px;
  left: 20px;
  list-style: none;
  margin: 0;
  padding: 25px;
}

div#map-container ul.overlay li {
  background: #ea80bf;
  border: 1px solid;
  padding: 10px 20px;
  margin: 12px 0px;
  color: white;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
}

div#map-container ul.overlay li:hover {
  background: white;
  color: #ea80bf;
}

/*____________________________
__________Firefox_____________
*/
@-moz-document url-prefix() {
  .fixed-image {
    background: none;
    -ms-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }
  .fixed-image img {
    visibility: visible;
  }
}

/*__________________________
__________Footer_____________
*/

footer {
}

footer .npl img {
  padding-bottom: 20px;
}

footer p, footer li {
  font-weight: 400;
  font-size: 14px;
  color: #fff;
}

footer a {
  text-decoration: none;
  color: #fff;
}

footer a:hover {
  text-decoration: none;
  color: #AB1E24;
}

footer {
  background-color: #737373;
}

/* Desktop/Tablet up */
@media (min-width:992px) {
  .dynamic-sidebar-footer section:not(.npl) {
    padding-top: 100px;
  }
  .dynamic-sidebar-footer section.last-widgt-footer {
    padding-top: 45px;
  }

    .row.intro-wrapper.inner-pages {
      display: flex;
    }
}
.footer-content {
  padding-top: 40px;
}

.footer-logo img{
  width: 494px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.footer-contact {
margin-top: 10px;
}

.footer-nav{
  margin-top: 10px;
}

#footer-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#footer-menu li{
 display: inline;
 border-right: 1px solid #5f5f5f;
}

#footer-menu li a{
  font-size: 14px;
  padding-right: 7px;
}

#footer-menu li:last-child{
border-right: none;
}


.footer-company-details {
    background-color: #737373;
    margin-top: 10px;
}

.footer-copyright {
  padding-top: 10px;
}


/*__________________________
__________Mega Menu____________
*/







/*__________________________
__________Team____________
*/

.team-member .team-inner {
  padding: 10px !important;
  text-align: center;
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 0px 6px 2px #ededed;
  border: 1px solid #ffffff !important;
}

.team-member .team-picture {
  width: 140px !important;
  height: 140px !important;
  background-position: center;
  background-size: contain;
  border: 2px solid #006871;
}

.team-member .team-inner h3{
color: #006871;
font-size: 20px;
line-height:1.5em;
font-weight: 700;
}

.team-member .team-inner h5{
color: #008A3F;
font-size: 14px;
line-height:1.5em;
}

.team-member .btn-primary {
  color: #fff;
  background-color: #09357a;
  border-color: #09357a;
}


/*__________________________
__________Pricing Tables____________
*/

table.c-pricing-table-1 {
	width: 750px;
	border-collapse: collapse;
	}

/* Zebra striping */
table.c-pricing-table-1 tr:nth-of-type(odd) {
	background: #eee;
	}

table.c-pricing-table-1 th {
	background: #EA81BE;
	color: white;
	font-weight: bold;
	}

table.c-pricing-table-1 td, table.c-pricing-table-1 th {
	padding: 10px;
	text-align: left;
	font-size: 18px;
	}

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	table.c-pricing-table-1 {
	  	width: 100%;
	}

	/* Force table to not be like tables anymore */
	table.c-pricing-table-1, table.c-pricing-table-1 thead, table.c-pricing-table-1 tbody, table.c-pricing-table-1 th, table.c-pricing-table-1 td, table.c-pricing-table-1 tr {
		display: block;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	table.c-pricing-table-1 thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	table.c-pricing-table-1  tr { border: 1px solid #ccc; }

	table.c-pricing-table-1 td {
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 50%;
	}

	table.c-pricing-table-1 td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
		/* Label the data */
		content: attr(data-column);

		color: #000;
		font-weight: bold;
	}

}

table.c-pricing-table-2 {
	width: 750px;
	border-collapse: collapse;
	}

/* Zebra striping */
table.c-pricing-table-2 tr:nth-of-type(odd) {
	background: #36393D;
	}

table.c-pricing-table-2 th {
	background: #EA81BE;
	color: white;
	font-weight: bold;
	}

table.c-pricing-table-2 td, table.c-pricing-table-2 th {
	padding: 10px;
	text-align: left;
	font-size: 18px;
	}

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	table.c-pricing-table-2 {
	  	width: 100%;
	}

	/* Force table to not be like tables anymore */
	table.c-pricing-table-2, table.c-pricing-table-2 thead, table.c-pricing-table-2 tbody, table.c-pricing-table-2 th, table.c-pricing-table-2 td, table.c-pricing-table-2 tr {
		display: block;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	table.c-pricing-table-2 thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	table.c-pricing-table-2  tr { border: 1px solid #ccc; }

	table.c-pricing-table-2 td {
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 50%;
	}

	table.c-pricing-table-2 td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
		/* Label the data */
		content: attr(data-column);

		color: #000;
		font-weight: bold;
	}

}

/*__________________________
__________Sidebar Contact Form____________
*/

.wpcf7 .c-contactform.alt2{
  background-color: #f7f7f7;
  padding: 15px;
}

.wpcf7 .c-contactform.alt2 h3{
  font-size: 30px;
  font-size: 3rem;
}

.wpcf7 .c-contactform.alt2 h4{
  padding-top: 5px;
  font-size: 16px;
  line-height: 1.6em;
}

.wpcf7 .c-contactform.alt2 p{
  font-size: 14px;
}

.wpcf7 .c-contactform.alt2 input[type="submit"] {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  background: #006871;
  padding: 10px 40px;
  border: none;
  border-radius: 0;
  width: 50%;
  margin-top: 20px;
}
.wpcf7 .c-contactform.alt2 input:hover[type="submit"] {
    background: #494949;
    transition: all 0.4s ease 0s;
}
.wpcf7 .c-contactform.alt2 input:active[type="submit"] {
    background: #000000;
}

.wpcf7 .c-contactform.alt2 input[type="text"] {
    /* width: 92%; */
}

.wpcf7 .c-contactform.alt2 input[type="email"] {
    /* width: 92%; */
}

.wpcf7 .c-contactform.alt2 textarea {
    /* width: 92%; */
    height: 100px;
}

/*__________________________
__________Main Contact Form____________
*/

.wpcf7 .c-contactform.alt{
  /* background-color: #f7f7f7; */
  padding: 10px;
}

.wpcf7 .c-contactform.alt h3{
  font-size: 30px;
  font-size: 3rem;
}

.wpcf7 .c-contactform.alt h4{
  padding-top: 5px;
  font-size: 16px;
  line-height: 1.6em;
}

.wpcf7 .c-contactform.alt p{
  font-size: 14px;
}

.wpcf7 .c-contactform.alt input[type="submit"] {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  background: #006871;
  padding: 10px 40px;
  border: none;
  border-radius: 0;
  width: 50%;
  margin-top: 20px;
}
.wpcf7 .c-contactform.alt input:hover[type="submit"] {
    background: #494949;
    transition: all 0.4s ease 0s;
}
.wpcf7 .c-contactform.alt input:active[type="submit"] {
    background: #000000;
}

.wpcf7 .c-contactform.alt input[type="text"] {
    /* width: 92%; */
}

.wpcf7 .c-contactform.alt input[type="email"] {
    /* width: 92%; */
}

.wpcf7 .c-contactform.alt textarea {
    /* width: 92%; */
    height: 100px;
}


/*__________________________
__________CUSTOM CSS____________
*/

/*** PRIMARY MENU ***/

ul#primary-menu li.main-button a{
font-weight: 600;
padding: 11px 30px;
background: #09357a;
border-radius: 50px;
border: 1px solid #09357a;
transition: 0.3s;
color: #ffffff;
}

ul#primary-menu li.main-button a:hover {
background: #AB1E24;
border: 1px solid #AB1E24;
transition: 0.3s;
}

ul#primary-menu li.main-button-alt a {
font-weight: 600;
padding: 11px 30px;
background: #f2f2f2;
border-radius: 50px;
transition: 0.3s;
border: 1px solid #09357a;
margin-right: 10px;
margin-left: 10px;

}

ul#primary-menu li.main-button-alt a:hover {
background: #09357a;
transition: 0.3s;
color: #ffffff;
}


/*** SOCIAL ICON ***/

.global-social {
    margin-top: 15px;
}

.global-social a{
    text-decoration: none;
}

.global-social ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.global-social ul li {
    float: none;
    display: inline-block;
    vertical-align: middle;
    font-weight: 300;
    font-size: 16px;
    text-transform: uppercase;
    margin-right: 3px;
}

.global-social ul li a .fa {
    display: block;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 30px;
    background: transparent;
	border: 1px solid #fff;
    color: #ffffff;
    border-radius: 50%;
    font-size: 17px;
    transition: all .3s
}

.global-social ul li a:hover .fa {
    background: #5F5F5F;
    transition: all .3s
}


/*** HEADER SOCIALS ***/

.col-header.gr-socials {
  padding-left: 20px;
}

.col-header.gr-socials .global-social{
  margin-top: 0px;
}

.col-header.gr-socials .global-social a{
    text-decoration: none;
}

.col-header.gr-socials .global-social ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.col-header.gr-socials .global-social ul li {
    float: none;
    display: inline-block;
    vertical-align: middle;
    font-weight: 300;
    font-size: 16px;
    text-transform: uppercase;
    margin-right: 3px;
}

.col-header.gr-socials .global-social ul li a .fa {
    display: block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    background: #AB1E24;
    color: #ffffff;
    border-radius: 50%;
    font-size: 17px;
    transition: all .3s
}

.col-header.gr-socials .global-social ul li a:hover .fa {
    background: #5F5F5F;
    transition: all .3s
}
/*__________________________
__________Menu Search Icon____________
*/

.menu-icon-font, .menu-icon-font a {
  font-family: FontAwesome !important;
}



/*** WIDGETS ***/

.footer-widgets {
  color: #5f5f5f;
}

.footer-widgets h2.widget-title{
  color: #5f5f5f;
  text-transform: uppercase;
  font-size: 20px;
}

.copyright-wrapper {
  background-color: black;
  text-decoration: none;
  padding: 15px 0px;
}
.copyright-wrapper p {
font-weight: 400;
font-size: 13px;
color: #5f5f5f;
}

.footer-copyright{
  margin: 0px;
}


/*__________________________
__________PRE FOOTER FORM_____________
*/

.pre-footer-contact {
  background-color: #d7d8d9;
  padding-top: 20px;
  padding-bottom: 40px;
}

.pre-footer-contact .pre-footer-contact_header h2{
  font-weight: 400;
}

.pre-footer-contact .pre-footer-contact_form {

}

.pre-footer-contact .pre-footer-contact_tagline p{
color: #AB1E24;
font-size: 18px;
}

/*__________________________
__________GRAVITY FORMS_____________
*/

body #gform_wrapper_1 {
  margin-top: 0px !important;
}

/*** FIELD STYLING ***/
body #gform_wrapper_1 input[type=text],
body #gform_wrapper_1 input[type=tel],
body #gform_wrapper_1 input[type=email],
body #gform_wrapper_1 textarea {
  padding: 12px 17px !important;
  width: 100%;
  margin: 0;
  font-size: 16px !important;
  border: 1px solid #ffffff !important;
  color: #616161 !important;
  font-weight: 500 !important;
}


body #gform_wrapper_1 li.hidden_label input {
  margin-top: 0px !important;
}

body #gform_wrapper_1 .gform_footer {
text-align: center;
padding-top: 0px !important;
}


/*** BUTTON STYLING ***/
body #gform_wrapper_1 .gform_footer input.button {
 width: 320px !important;
 background: #AB1E24;
 border: 1px solid #AB1E24;
 font-size: 14px;
 color: #ffffff;
 padding: 10px 20px;
 letter-spacing: 1px;
 cursor: pointer;
}

/*** BUTTON HOVER STYLING ***/
body #gform_wrapper_1 .gform_footer input.button:hover {
 background: #5f5f5f;
 border: 1px solid #5f5f5f;
}

body #gform_wrapper_1 span.ginput_total {
font-size: 22px !important;
font-weight: 500 !important;
}

body #gform_wrapper_1 .field_sublabel_below .ginput_complex.ginput_container label {
  color: #5f5f5f !important;
}

/*__________________________
__________GRAVITY FORM PAY ONLINE_____________
*/

body #gform_wrapper_2 {
  margin-top: 0px !important;
}

/*** FIELD STYLING ***/
body #gform_wrapper_2 input[type=tel],
body #gform_wrapper_2 input[type=email],
body #gform_wrapper_2 input[type=text],
body #gform_wrapper_2 textarea {
  padding: 12px 17px !important;
  width: 100%;
  margin: 0;
  font-size: 16px !important;
  border: 2px solid #D7D8D9 !important;
  color: #616161 !important;
  font-weight: 500 !important;
  background-color: #f9f9f9;
}


body #gform_wrapper_2 li.hidden_label input {
  margin-top: 0px !important;
}

body #gform_wrapper_2 .gform_footer {
  padding-top: 0px !important;
}


/*** BUTTON STYLING ***/
body #gform_wrapper_2 .gform_footer input.button {
 width: 320px !important;
 background: #AB1E24;
 border: 1px solid #AB1E24;
 font-size: 14px;
 color: #ffffff;
 padding: 10px 20px;
 letter-spacing: 1px;
 cursor: pointer;
}

/*** BUTTON HOVER STYLING ***/
body #gform_wrapper_2 .gform_footer input.button:hover {
 background: #5f5f5f;
 border: 1px solid #5f5f5f;
}

body #gform_wrapper_2 span.ginput_total {
font-size: 22px !important;
font-weight: 500 !important;
}

body #gform_wrapper_2 .field_sublabel_below .ginput_complex.ginput_container label {
  color: #5f5f5f !important;
}



::-webkit-input-placeholder { /* WebKit browsers */
color: #5f5f5f !important;
opacity: 1;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #5f5f5f !important;
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #5f5f5f !important;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
color: #5f5f5f !important;
opacity: 1;
}


/*__________________________
__________SEARCH RESULTS_____________
*/
.search-entry-title a {
  color: #AB1E24;
}

/*__________________________
__________PORTFOLIO BLOCKS_____________
*/


.c-portfolio_block__container a{
  text-decoration: none;
}

.c-portfolio_block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10%;
}

.c-portfolio_block {
  background-color: #AB1E24; /* Used if the image is unavailable */
  height: 400px; /* You must set a specified height */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}


.c-portfolio_block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #41484e;
    opacity: 0.7;
    z-index: 1;
    transition: 0.3s;
}

.c-portfolio_block:hover::after {
    background-color: #AB1E24;
    opacity: 0.8;
    transition: 0.3s;
}

.c-portfolio_block > * {
    z-index: 100;
}

.c-portfolio_block_content {
  display: block;
  text-align: center;
}

.c-portfolio_block_content h3{
  color: #ffffff;
}

.c-portfolio_block_content p{
  color: #ffffff;
  font-size: 15px;
  line-height: 21px;
}

/*__________________________
__________MOBILE_____________
*/

@media screen and (max-width: 1200px) {
  .col-header {
    display: none;
  }
}

@media screen and (max-width: 786px) {
.site-branding {
  max-width: 382px;
}
}

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

  .site-branding {
    max-width: 220px;
    height: 50px;
    padding: 5px;
  }

  .gr-menu {
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
  }

  .gr-search {
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
  }

  .main-image-wrapper {
    background-color: #919296;
    display: flex;
    justify-content: center;
    color: white;
    align-items: flex-end;
    padding: 50px 0px 0px;
    position: relative;
  }

  .main-image__title {
    color: white;
    font-weight: 700;
    font-size: 30px;
    position: relative;
    top: 0px;
  }

  .footer-logo img{
    width: 80%;
  }

}


.media-boxes-no-more-entries {
  display: none;
}

.main-image-wrapper.has-featured-image {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image-wrapper.has-featured-image::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(0,0,0,0.35); 
  z-index: 0;
}

@media screen and (max-width: 786px) {
	.main-image-wrapper.has-featured-image {
	  height: 300px;
	}
}

/* NEW HEADER */

/* ================================
   HEADER TRANSPARENTE POR CIMA DO HERO
   ================================ */
header.site-header,
.site-header.header-transparent {
    background: transparent !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999 !important;
    box-shadow: none !important;
}

header.site-header .header-inner,
header.site-header .container,
header.site-header .container-fluid {
    background: transparent !important;
}

/* ================================
   LAYOUT BASE
   ================================ */
.header-inner {
    padding: 15px 0 !important;
}

.header-inner .site-branding {
    float: left;
}

.header-inner .header-rightside {
    float: right;
    display: flex;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

/* ================================
   MENU DESKTOP
   ================================ */
.desktop-menu {
    display: block;
}

#primary-menu,
#primary-menu-mobile {
    list-style: none;
    margin: 0;
    padding: 0;
}

#primary-menu li {
    display: inline-block;
    margin-left: 10px !important;
}

#primary-menu li a {
    text-decoration: none;
    font-size: 16px !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #333 !important;
    padding: 0 10px;
}

/* diminuir um pouco em telas entre 992 e 1199 */
@media (max-width: 1199px) and (min-width: 992px) {
    #primary-menu li a {
        font-size: 14px !important;
    }
}

/* ================================
   BOTÃO HAMBÚRGUER (MOBILE/TABLET)
   ================================ */
.nav-toggle {
    display: none; /* só aparece no mobile via media query */
    background: transparent;
    border: 2px solid #fff;
    border-radius: 999px;
    width: 44px;
    height: 32px;
    padding: 0;
    cursor: pointer;

    /* alinhamento visual com a logo */
    margin-right: 20px;
    margin-top: 8px;

    align-items: center;
    justify-content: center;
}

.nav-toggle .nav-icon {
    position: relative;
    width: 18px;
    height: 2px;
    background: #fff;
    display: block;
}

.nav-toggle .nav-icon::before,
.nav-toggle .nav-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
}

.nav-toggle .nav-icon::before {
    top: -6px;
}

.nav-toggle .nav-icon::after {
    top: 6px;
}

/* ================================
   OFF-CANVAS MENU LATERAL DIREITO
   ================================ */
.menu-reveal {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;

    background-color: rgba(0,0,0,0.95);
	
    /* ESCONDIDO - começa fora da tela pela direita */
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;
    overflow-y: auto;
}

/* QUANDO ABRIR */
.menu-reveal.open {
    transform: translateX(0);
}

/* REMOVER ESPAÇO SUPERIOR */
.menu-reveal-content {
    padding: 40px 40px; /* sem padding-top gigante */
}

/* LOGO DO MENU REVEAL */
.menu-reveal-logo {
    margin-bottom: 40px;
}

/* Fechar (X) */
.menu-reveal .closebtn {
    position: absolute;
    top: 40px;
    right: 20px;
    background: none;
    border: 0;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
	z-index: 5;
}


/* conteúdo interno do off-canvas */
.menu-reveal-content {
    max-width: 400px;
	top: 0% !important;
}

.menu-reveal-logo {
    margin-bottom: 40px;
}

#primary-menu-mobile li {
    margin-bottom: 18px;
}

#primary-menu-mobile li a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 15px;
}

/* ================================
   RESPONSIVO
   ================================ */


@media (min-width: 991px) and (max-width: 1015px) {
    .site-branding img.site-logo {
        width: 70%;
        height: 80%;
    }
}


@media (max-width: 991px) {
    .desktop-menu {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }
	
	

    @media (max-width: 480px) {
        #primary-menu-mobile li a {
            font-size: 14px;
        }
    }
}


/* ================================
   SLIDER REVOLUTION / HERO
   ================================ */
.rev_slider_wrapper,
.rev_slider {
    position: relative !important;
    z-index: 1 !important;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.slider-wrapper,
.homepage-slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.menu-primary-menu-container {
    margin-top: 30px;
}



/* === PORTFOLIO CARDS === */

.c-block--portfolio_cards .c-portfolio_block_content h3 {
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.c-block--portfolio_cards .c-portfolio_block {
    /* altura padrão */
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}


.c-block--portfolio_cards .c-portfolio_block::before {
    content: none !important;
}

.c-block--portfolio_cards .c-portfolio_block::after {
     content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 2;
}


/* garante que o conteúdo fique acima do overlay*/
.c-block--portfolio_cards .c-portfolio_block_content {
    position: relative;
    z-index: 3;
}

/* espaçamento entre os cards (desktop e mobile) */
.c-block--portfolio_cards .c-portfolio_block__container {
    margin-bottom: 30px;
}

/* ALTURA ESPECIAL APENAS PARA 4 CARDS (col-md-3) */
.c-block--portfolio_cards .col-md-3 .c-portfolio_block {
    height: 200px;
}


/* RESPONSIVO – evitar cards grudados */
@media (max-width: 767.98px) {
    .c-block--portfolio_cards .c-portfolio_block__container {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }
}

/* RESPONSIVO – quando forem 4 cards, virar 2 colunas no tablet */
@media (max-width: 991.98px) {
    .c-block--portfolio_cards .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}


/* RESPONSIVO – padding e espaçamento no mobile */
@media (max-width: 767.98px) {
    .c-block--portfolio_cards .c-portfolio_block__container {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }

   
    .c-block--portfolio_cards .col-md-3 {
        width: 50%;    
        float: left;
    }
}


/* -------- HEADER --------- */

.main-image-wrapper {
    position: relative;
    min-height: 320px;
    background-color: #cccccc;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* overlay */
.main-image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); 
    z-index: 1;
}


.main-image-wrapper .page-heading {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 15px;
}

.main-image-wrapper .main-image__title {
    color: #fff;
    font-size: 42px; 
    font-weight: 700;
    margin: 0;
}



.entry-thumb {
    position: relative;
    overflow: hidden;
}

.portfolio-thumb-center {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,0.35); 
    opacity: 1;

    z-index: 3;
}

.portfolio-thumb-title {
    color: #fff;
    font-size: 32px; 
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;

    font-family: "Playfair Display", serif; 
    margin: 0;
}

.gform_wrapper.gravity-theme .gform_footer button, .gform_wrapper.gravity-theme .gform_footer input, .gform_wrapper.gravity-theme .gform_page_footer button, .gform_wrapper.gravity-theme .gform_page_footer input {
	background: transparent;
  border: 1px solid #222;
  font-size: 14px;
  color: #494949;
  padding: 10px 20px;
  letter-spacing: 1px;
  cursor: pointer;
}

