/* cmsms stylesheet: buddy013_v1.0.1-main modified: mardi 28 mai 2024 19:24:11 */
@charset "utf-8";
/* ==================================================
  Main CSS Document - CMS Template Buddy
  Template No.: 013
  Version 1.0.1 / for CMSMS 2.2.10+
  
  www.cmstemplatebuddy.com

  Please read README_FIRST.txt
================================================== */


/* DEFINE MAIN COLOR HERE */

/* Common 
================================================== */

span.accesskey {
  text-decoration: none;
}

.accessibility {
  position: absolute;
  top: -999em;
  left: -999em;
}

dfn {
  position: absolute;
  left: -1000px;
  top: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
  display: inline;
}

dl, dt, dd, ol, ul, li {
  margin: 0;
	padding: 0;
}

::selection {
	background: #821D00;
	color: #FFF;
	text-shadow: none;
}

::-moz-selection {
	background: #821D00; /* Firefox */
	color: #FFF;
	text-shadow: none;
}

::-webkit-selection {
	background: #821D00; /* Safari */
	color: #FFF;
	text-shadow: none;
}

:active,
:focus { outline: none !important; }

/* Typography 
================================================== */

body {
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #333;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6, 
legend {
  font-weight: 700;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  line-height: 150%;
  text-transform: uppercase;
  color: #333;
  letter-spacing: 1px;
}

h1 {
  font-size: 36px;
}

h2 { font-size: 30px; }

h3 { font-size: 24px; }

.feature-content h3 {
  margin: 14px 0;
}
.subtitle + h3 {
  margin: 0 0 14px 0;
}
  
h4 { font-size: 20px; font-weight: 600; }

h5 { font-size: 16px; font-weight: 600; }

h6 { font-size: 13px; font-weight: 600; }

.home-title {
  margin-bottom: 60px;
  text-align: center;
}
.home-title:after {
  display: block;
  height: 2px;
  width: 50px;
  content: '';
  margin: 30px auto 0;
  background-color: #821D00;
}

p,
pre,
ul,
ol,
dl,
dd,
blockquote,
address,
table,
fieldset,
form { margin-bottom: 30px; }

small { font-family: 'Lato', sans-serif; }

p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a {
	text-decoration: none !important;
	color: #821D00;
}

a:hover { color: #333; }

a img { border: none; }

img { max-width: 100%; }

iframe { border: none !important; }

.error_message { color: red; }

.textCenter { text-align: center; }

.noScroll { overflow: hidden; }

.subtitle {
    display: block;
    margin: 16px 0 6px 0;
    text-transform: initial;
    font-family: 'Crete Round', serif;
    font-style: italic;
    font-weight: 400;
    color: #8a8a8a;
    letter-spacing: 0;
    line-height: 120%;
}
.overflow-x-auto {
  overflow-x: auto !important; 
}

/* Layout 
================================================== */

.wrapper {
  position: relative;
	float: none;
	width: 100%;
	margin: 0;
	background-color: #FFF;	
}

header {
  width: 100%;
  z-index: 1000;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #FFF;
  border-bottom: 1px solid rgba(0,0,0,.1);
  -webkit-transition: all .3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

header .container-fluid { padding: 0 15px; }

.content-wrapper { padding: 40px 0; }

section.content { padding: 30px 0; }

section.grey { background-color: #f6f6f6; }

/* Header smaller (page scroll) */

header.header-smaller {
  height: 60px;
  box-shadow: 0 0 10px rgba(0,0,0,0.12);
  background-color: #FFF;
}

.header-smaller .logo a img {
  height: 60px;
}

.header-smaller .main-title {
  margin-top: 60px;
}

.header-smaller .search-trigger {
  height: 60px;
}

.header-smaller .search-trigger i {
  top: 37%;
}

.header-smaller .search-input form {
  height: 60px;
}

.home-heading {
  padding-bottom: 20px;
  margin-bottom: 40px;
  position: relative;
}

.home-heading h1 {
  text-align: center;
  margin: 20px 0;
  text-transform: uppercase;
}

.home-heading:after {
  display: block;
  height: 2px;
  width: 50px;
  content: '';
  bottom: 0px;
  position: absolute;
  margin-left: -25px;
  left: 50%;
  background-color: #821D00;
}

.home-heading span {
    display: block;
    text-align: center;
    font-weight: 300;
    color: #777;
    font-size: 22px;
    margin-bottom: 20px;
}

.main-menu {
  margin-right: 50px;
  opacity: 1;
}

.main-title {
	position: relative;
	padding: 25px 0;
	background-color: #F5F5F5;
  border-bottom: 1px solid #EEE;
  margin-top: 60px;
  -webkit-transition: all .3s ease;
  -ms-transition: all 0.3s;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.main-title .container { position: relative; }

.main-title h1 {
	padding: 0;
	margin: 0;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 1px;
	color: #333;
	font-size: 28px;
	text-transform: uppercase;
}

.main-title .main-subtitle {
	display: block;
	margin-top: 10px;
	font-weight: 300;
	color: #777;
	font-size: 18px;
}
.main-title.parallax {
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
  padding: 120px 0;
  transition: 0s linear;
  transition-property: background-position;
}
.main-title--dark h1,
.main-title--dark span,
.main-title--dark .main-subtitle,
.main-title--dark .breadcrumbs,
.main-title--dark .breadcrumb,
.dark, .dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6, .dark p, 
.dark .video-caption h2, .dark .video-caption p, .dark .scroll-down-arrow, .scroll-down-arrow.dark {
  color: rgba(255,255,255,1);
  text-shadow: 1px 2px 8px #000000;
}

.dark .home-title:after {
  background-color: rgba(255,255,255,.9);
}

.main-title.margin-smaller {
  margin-top: 60px;
}

/* Footer */

footer {
  background-color: #ECECEC;
  border-top: 4px solid rgba(0,0,0,0.2);
  line-height: 1.8;
  font-size: 14px;
}

footer a {
  color: #bdbdbd;
  border-bottom: 1px dotted #666;
}

footer a:hover {
  color: #eee;
  border-bottom: 1px dotted #eee;
}

.footer-big {
  padding: 40px 0;
}

.footer-small {
  padding: 40px 0;
  background-color: #DCDCDC;
}

footer.dark {
  background-color: #333;
  color: #CCC;
  border-top-color: rgba(0,0,0,0.2);
}

footer.dark .footer-small {
  background-color: rgba(0,0,0,0.2);
  color: rgba(255,255,255,0.3);
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.feater-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  margin-bottom: 25px;
}

.feature-icon i {
  font-size: 44px;
  color: #821D00;
}

.feature-content, .feature-content p {  
  line-height: 1.8;
}

/* Logo */

.logo {
	position: relative;
	float: left;
	font-family: 'Raleway', sans-serif;
	font-size: 36px;
	line-height: 100%;
  margin-right: 40px;
  padding-right: 30px;
  margin-right: 30px;
  border-right: 1px solid rgba(0,0,0,.1);
  opacity: 1;
}

.logo a {
	display: block;
	color: #000;
}

.logo a img {
	display: block;
  max-width: 100%;
  height: 60px;
  -webkit-transition: all .3s ease;
  -ms-transition: all 0.3s;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.logo a.standard-logo { display: block; }
.logo a.retina-logo { display: none; }

.logo img.logo-default { display: block; }
.logo img.logo-inverse { display: none; }
.logo.dark img.logo-default { display: none; }
.logo.dark img.logo-inverse { display: block; }

.header-smaller .logo img.logo-default { display: block !important; }
.header-smaller .logo img.logo-inverse { display: none !important; }

/* Breadcrumbs */

.breadcrumbs	{
  display: inline-block;

	background-color: transparent !important;
	padding: 0 !important;
	font-size: 12px;
}

.breadcrumb a:link,
.breadcrumb a:hover,
.breadcrumb a:visited {
color:#821D00 !important;
opacity: 0.9; }

.breadcrumb {
	margin-bottom: 0;
	background-color: transparent;
  padding: 8px 10px;
  display: inline-block;
}

.breadcrumb-text {
  font-size: 12px;
	margin-left: 6px;
}


.home-parallax {
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
  min-height: 500px;  
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
}

.home-parallax h3 {
  font-size: 32px;
}

/* Search */

.search-wrapper {
  position: absolute;
  top: 0;
  right: 70px;
}

.search-trigger {
	position: relative;
	display: block;
	width: 70px;
	height: 60px;
  color: #333;
  z-index: 10;
  text-align: center;
  border-left: 1px solid rgba(0,0,0,.1);
	-webkit-transition: all .3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.search-trigger:hover {
  color: #666;
}

.search-trigger i {
  position: absolute;
  top: 37%;
  right: 40%;
	text-shadow: none;
}

.search-input form {
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding: 0 15px;
  margin: 0;
  z-index: -2;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.search-input form input {
  box-shadow: none !important;
  pointer-events: none;
  border-radius: 0;
  border: 0;
  outline: 0 !important;
  font-size: 24px;
  padding: 10px 80px 10px 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  color: #333;
  font-weight: 700;
  margin-top: 0 !important;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 1px;
}

.search-trigger i.fa-times, 
.show-search i.fa-search,
.show-search .logo, 
.show-search .main-menu,
.show-search .mobile-nav-trigger { opacity: 0; }

.show-search i.fa-times, 
.show-search .search-input form { opacity: 1; }

.show-search .search-input form { z-index: 9; }

.show-search i.fa-times { z-index: 11; }

.show-search .search-input form input {
    pointer-events: auto;
}

.show-search .search-wrapper {
  right: 0;
}

/* To top link, shows on scroll */

.totoplink a	{
	display: none;
	z-index: 999; 
	position: fixed;
	right: 20px;
	bottom: 20px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
/*	border-radius: 2px;  */
	border-radius: 50%;
	width: 40px;
	height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: rgba(0,0,0,.3);
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}

.totoplink i {
  line-height: 40px;
  font-size: 20px;
	color: white;
}

.totoplink a:hover	{
	background-color: #821D00;
}

/*
 * Swiper 4.5.0
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * http://www.idangero.us/swiper/
 *
 * Copyright 2014-2019 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: February 22, 2019
================================================== */

.slider {
  position: relative;
  margin-top: 60px;
  -webkit-transition: all .3s ease;
  -ms-transition: all 0.3s;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.slider.margin-smaller {
  margin-top: 60px;
}

.slider .error_message {
  margin-top: 150px;
  text-align: center;
}

.swiper-container {
	width: 100%;
	height: 500px;
	overflow: hidden;
}

.slider-fullscreen .slider {
  height: 100vh;
  margin-top: 0;
}

.slider-fullscreen .video-container video {
  margin-top: 0;
}

.slider-fullscreen .swiper-container {
  height: 100%;
}

.slider-fullscreen header {
  background-color: rgba(255,255,255,.75);
}

.slider-fullscreen header.header-smaller {
  background-color: #FFF;
}

.slider-fullscreen header.dark {
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.slider-fullscreen header.dark:not(.header-smaller) .search-trigger {
  border-left: 1px solid rgba(255,255,255,.25);
  color: white;
}

.slider-fullscreen header.dark:not(.header-smaller) .logo {
  border-right: 1px solid rgba(255,255,255,.25);
}

.slider-fullscreen header.dark:not(.header-smaller) .search-input form input,
.slider-fullscreen header.dark:not(.header-smaller) .search-input form input::placeholder {
  color: white;
}

.swiper-slide {
  text-align: center;
  font-size: 24px;
  background: #f2f2f2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  position: relative;
  margin: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.slider-caption,
.video-caption {
  font-weight: 300;
  line-height: 1.4;
  opacity: 1;
}

.slider-caption h2,
.video-caption h2 {
  display: none;
  font-size: 48px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;  
  margin-top: 0;
  -webkit-animation-delay: .3s;
	-moz-animation-delay: .3s;
	animation-delay: .3s;
}

.slider-caption p,
.video-caption p {
  display: none;
  font-size: 18px;
  -webkit-animation-delay: .5s;
	-moz-animation-delay: .5s;
	animation-delay: .5s;
}
.swiper-next, .swiper-prev {
  position: absolute;
  top: 50%;
  left: 0;
  cursor: pointer;
  z-index: 10;
  margin-top: -26px;
  background-color: rgba(0,0,0,0.15);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0 3px 3px 0;
  -webkit-transition: background-color .25s ease-in-out;
  -o-transition: background-color .25s ease-in-out;
  transition: background-color .25s ease-in-out;
}

.swiper-next {
  left: auto;
  right: 0;
  border-radius: 3px 0 0 3px;
}

.swiper-next:hover, .swiper-prev:hover {
  background-color: rgba(0,0,0,0.45);  
}

.swiper-next i, .swiper-prev i {
  line-height: 50px;
  width: 34px;
  height: 52px;
  color: #DDD;
  color: rgba(255,255,255,0.6);
  text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
  font-size: 34px;
  text-align: center;
  margin-left: 7px;
  -webkit-transition: color .25s ease-in-out;
  -o-transition: color .25s ease-in-out;
  transition: color .25s ease-in-out;
}

.swiper-next:hover i, .swiper-prev:hover i {
  color: #F6F6F6;
  color: rgba(255,255,255,.95);
}

.swiper-next i {
  margin-left: 12px;
}

.btn-slider {
  display: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 2px;
  border: none;
  opacity: 1;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.4);
  background-color: #821D00;
  color: white;
  -webkit-transition: opacity .15s ease-in-out;
  -o-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;
  -webkit-animation-delay: .7s;
	-moz-animation-delay: .7s;
	animation-delay: .7s;
}
.btn-slider:hover,
.btn-slider:focus {
  color: white;
  opacity: 0.4;
}
.btn-slider:active {
  box-shadow: inset 0 2px 0 rgba(0,0,0,0.4);
}

/* Portfolio detail swiper gallery */
.swiper-detail-container {
  width: 100%;
  height: 300px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}
.gallery-top .swiper-slide {
  background-size: cover;
  background-position: center;
}
.gallery-top {
  height: 300px;
  width: 100%;
}
.gallery-thumbs {
  height: 100px;
  box-sizing: border-box;
  padding: 10px 0;
}
.gallery-thumbs .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
}
.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}


/* CGBlog 
================================================== */
.CGBlogGrid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
}
.CGBlogSummary {
 background-color: transparent;
}
.CGBlogSummaryLink h4 {
	font-size: 24px;
        font-weight: 400;
	margin: 10px 0;
	}
	.CGBlogSummaryLink h4 a {
		color: #333;		
  }
	.CGBlogSummaryLink h4 a:hover {
    text-decoration: none;
    color: #821D00;
  }
.CGBlogSummaryField {
	position: relative;
	text-align: center;
}
.CGBlogSummaryField img {
	width: 100%;
}
.CGBlogSummaryField .image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0);
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	opacity:0;
	overflow:hidden;
}
.CGBlogSummaryField:hover .image-overlay {
	opacity:1;
	background-color: rgba(255,255,255,.7);
}
.CGBlogSummaryField .image-overlay .overlay-icon {
  width:70px;
  height:70px;
  display:block;
  border-radius: 50%;
  opacity:0;
  background-color: #821D00;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;      
  position: absolute;
  top: -70px;
  left: 50%;
  margin-left: -35px;
  margin-top: 0;
}
.CGBlogSummaryField:hover .image-overlay .overlay-icon {
  opacity:0.85;
  top: 50%;
  margin-top: -35px;				
}
.CGBlogSummaryField .image-overlay .overlay-icon i {
  font-size: 28px;
  color:white;
  margin: 20px 0 0 2px;
}
.CGBlogSummaryInfo {
	padding: 10px 0 0;
  overflow: hidden;
  line-height: 120%;
}
.CGBlogSummaryPostdate,
.CGBlogSummaryCategory,
.CGBlogSummaryAuthor,
.CGBlogSummaryComments {
  font-size: 14px;
  font-family: 'Crete Round', serif;
	color: #aaa;
	display: inline-block;
	margin-right: 10px;
}
.CGBlogDetailInfo .fa {
  margin-right: 4px;
}

/* CGBlog main blog page */
.blog .CGBlogSummary {
	margin-bottom: 40px;
	border-bottom: 2px solid #F2F2F2;
}
.blog p + .CGBlogSummary {
  margin-top: -30px;
}
.blog .CGBlogSummarySummary {
	margin: 20px 0 30px 0;
}
.blog .CGBlogSummarySummary p {
  line-height: 140%;
}
.blog .CGBlogSummarySummary p:last-child {
	margin-bottom: 0;
}
.blog .CGBlogSummaryLink h4 {
	font-size: 20px;
  line-height: 120%;
  font-weight: 600;
}
.blog .CGBlogGrid--grid-3 .CGBlogSummaryLink h4 {
  font-size: 16px;
}
.blog .CGBlogSummaryInfo {
	padding: 0;
}
.blog .CGBlogSummaryField {
	margin-bottom: 30px;
}
.blog section.mainContent {
	padding: 40px 0;
}
.browsecat {
	margin-bottom: 30px;
}
.browsecat ul {
	list-style-type: none; 
	margin: 0;
	padding-left: 20px;
	line-height: 200%;
}
.browsecat > ul {
	margin: 0;
	padding: 0;
}
.browsecat ul li {
	padding: 0;
}
.browsecat h4 {
	font-size: 18px;
}

/* Blog detail page */
.blog h3.CGBlogPostDetailTitle {
	font-size: 24px;
	font-weight: 400;
	padding-bottom: 12px;
	line-height: 130%;
	margin: 30px 0 0;
}
.blog .CGBlogPostDetailSummary {
	margin-bottom: 30px;
	font-weight: 600;
}
.blog .CGBlogPostDetailSummary p:last-child {
	margin-bottom: 0;
}
.blog .CGBlogDetailInfo {
	margin: 0 0 20px 0;
	overflow: hidden;
}
.blog .CGBlogDetailField {
	margin-bottom: 30px;
}
.blog .CGBlogDetailField img {
  width: 100%;
}
.blog .CGBlogPostDetailContent {
	margin-bottom: 30px;
}
.blog .CGBlogPostDetailContent h3 {
	margin-bottom: 10px;
}
.blog .prevblogarticle {
	float: left;
}
.blog .nextblogarticle {
	float: right;
}
.blog-pagination {
	text-align: center;
	padding: 0;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	overflow: hidden;
}
.blog-pagination span {
	width: 30px;
	height: 30px;
}
.blog-pagination span a,
.blog-pagination span.first-nolink,
.blog-pagination span.prev-nolink,
.blog-pagination span.next-nolink,
.blog-pagination span.last-nolink {
	color: #fff;
	position: relative;
	width: 30px;
	height: 30px;
	display: inline-block;
}
.blog-pagination .left {
	float: left;
}
.blog-pagination .right {
	float: right;
}
.blog-pagination span a:hover {
	color: #fff;
}
.blog-pagination span a:before,
.blog-pagination span.first-nolink:before,
.blog-pagination span.prev-nolink:before,
.blog-pagination span.next-nolink:before,
.blog-pagination span.last-nolink:before {
	position: absolute;
	top: 0px;
	left: 6px;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: 24px;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	color: #ddd;
}
.blog-pagination span a:before {
  color: #666;
}
.blog-pagination span a:hover:before {


}
.blog-pagination span.prev a:before,
.blog-pagination span.prev-nolink:before {
  font-family: "Font Awesome 6 Pro";  /* updated font-family */
  font-weight: 400; /* regular style/weight */
  content: "\f104";
}
.blog-pagination span.first a:before,
.blog-pagination span.first-nolink:before {
  font-family: "Font Awesome 6 Pro";  /* updated font-family */
  font-weight: 400; /* regular style/weight */
  content: "\f100";
}
.blog-pagination span.next a:before,
.blog-pagination span.next-nolink:before {
  font-family: "Font Awesome 6 Pro";  /* updated font-family */
  font-weight: 400; /* regular style/weight */
  content: "\f105";
}
.blog-pagination span.last a:before,
.blog-pagination span.last-nolink:before {
  font-family: "Font Awesome 6 Pro";  /* updated font-family */
  font-weight: 400; /* regular style/weight */
  content: "\f101";
}

/* CGFeedback - comments
================================================== */

.cgfeedback_addcomment fieldset {
  margin: 40px 0;
}

.cgfeedback_addcomment fieldset legend {
  border: none;
  font-weight: 400;
}

.cgfeedback_addcomment .row {
  margin-bottom: 12px;
}

.cgfeedback_addcomment label {
  font-weight: 600;
}

.cgfeedback_addcomment input[type="text"],
.cgfeedback_addcomment input[type="email"],
.cgfeedback_addcomment input[type="password"],
.cgfeedback_addcomment textarea {
  display: block;
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 3px;
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.cgfeedback_addcomment input:focus,
.cgfeedback_addcomment textarea:focus,
.cgfeedback_addcomment select:focus,
.cgfeedback_addcomment checkbox:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

.cgfeedback_addcomment textarea {
  min-height: 240px;
  overflow: auto;
}

.CGBlogSummaryComments {
  margin-bottom: 0;
}

.CGBlogSummaryComments.home {
  color: #666;
}

.CGBlogSummaryComments .feedback_ratings_item {
  display: inline-block;
  margin-right: 10px;
  color: #aaa;
}

.CGBlogSummaryComments .feedback_ratings_item .fa {
  color: #821D00;
  opacity: 0.8;
}

.CGBlogSummaryComments > div {
  display: inline-block;
}

.cgfeedback_summary_item {
  border-bottom: 1px solid #ccc;
  padding: 25px 0;
}
.cgfeedback_summary_item .row {
  padding: 1px 0;
}
.cgfeedback_summary_item .row:last-child {
  margin-top: 14px;
}
.cgfeedback_summary_item .title {
  font-weight: 600;
  margin-right: 12px;
}
.cgfeedback_summary_item .fa {
  color: #821D00;
  opacity: 0.8;
}

/* News
================================================== */

.NewsSummary {
  margin-bottom: 30px;
}

.NewsSummaryLink h4 {
  font-size: 24px;
  line-height: 120%;
  font-weight: 400;
}

.NewsSummaryLink a {
  color: #333;
}

.NewsSummaryLink a:hover {
  text-decoration: none;
  color: #821D00;
}

.NewsPostDetailTitle {
	font-size: 24px;
	font-weight: 400;
	padding-bottom: 12px;
	line-height: 130%;
	margin: 30px 0 0;
}

.NewsSummaryPostdate, .NewsSummaryCategory, .NewsSummaryAuthor,
.NewsPostDetailDate, .NewsPostDetailCategory, .NewsPostDetailAuthor {
  font-size: 14px;
  font-family: 'Crete Round', serif;
  color: #aaa;
  display: inline-block;
  margin-right: 14px;
}

.NewsSummarySummary p,
.NewsPostDetailSummary p {
  margin: 10px 0 15px 0;
}

.NewsSummaryMorelink a {
  font-weight: 600;
}

h3 + .NewsSummary {
  margin-top: 20px;
}

.NewsPostDetailSummary {
  font-weight: 600;
}

.NewsSummaryField, .NewsDetailField {
  margin-bottom: 30px;
}

/* Footer News */

.footer-big .NewsSummary {
  margin-bottom: 0;
}

.footer-big .NewsSummary + .NewsSummary {
  margin-top: 20px;
}

.footer-big .NewsSummary a {
  color: #aaa;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px dotted #666;
  line-height: 1.4;
}

.footer-big .NewsSummary a:hover {
  color: #eee;
  border-bottom: 1px dotted #eee;
}

.footer-big .NewsSummaryPostdate {
  color: #777;
  margin-top: 6px;
}


/*
 * jQuery Superfish Menu Plugin
 * Copyright (c) 2013 Joel Birch
 *
 * Dual licensed under the MIT and GPL licenses:
 *  http://www.opensource.org/licenses/mit-license.php
 *  http://www.gnu.org/licenses/gpl.html
 ================================================== */

/*** ESSENTIAL STYLES ***/

.sf-menu, .sf-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-menu li {
  position: relative;
}

.sf-menu ul {
  position: absolute;
  display: none;
  top: calc(100% + 5px);
  left: 0px;
  width: 220px;
  background-color: #FFF;
  box-shadow: 0px 13px 42px 11px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #821D00;
  height: auto;
  z-index: 199;
  margin: 0;
}

.sf-menu > li {
  float: left;
}

.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
  display: block;
}

.sf-menu a {
  display: block;
  position: relative;
}

.sf-menu ul ul {
  top: -4px !important;
  left: -225px;
}

/*** Menu link ***/

.sf-menu a {
  padding: 10px 15px;
  text-decoration: none;
  zoom: 1; /* IE7 */
  color: #666;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Source Sans 3', sans-serif;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  text-shadow: none;
}

.sf-menu a.menuactive {
  color: #821D00 !important;
  font-weight: bold;
}

.sf-menu a:hover,
.sf-menu .sfHover > a {
  color: #821D00 !important;
}

.sf-menu li li a:not([href]):not([tabindex]), 
.sf-menu li li li a:not([href]):not([tabindex]) {
  color: #666;
}

/*** first level ***/

.sf-menu > li > a {
  font-size: 13px;
  font-weight: bold;
  font-family: 'Source Sans 3', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 39px 16px;
  line-height: 22px;
  color: #444;
}

.header-smaller .sf-menu > li > a {
  padding: 19px 16px;
  color: #444;
}

.header-smaller .sf-menu > li > a:hover {
  color: #821D00;
}

.header-smaller.dark .sf-menu > li > a {
  color: #444;
}

/*** dark background ***/

.dark .sf-menu > li > a {
  color: white;
}

.dark .sf-menu > li > a:hover {
  color: #821D00;
}

.sf-menu ul li {
  background-color: rgba(255,255,255,.97);
}

.sf-menu ul li:first-child {
  border-top: none;
}

.sf-menu ul ul li {
  background-color: rgba(255,255,255,.97);
}

.sf-menu li:hover,
.sf-menu li.sfHover {
  /* only transition out, not in */
  -webkit-transition: none;
  transition: none;
}

.sf-menu li.sectionheader > a,
.sf-menu .sectionheader {
  cursor: default;  
}

.sf-menu li.separator hr {
  border-top: 1px solid #777;
}

/*** arrows (for all except IE7) **/

.sf-arrows .sf-with-ul {
  padding-right: 2.2em !important;
  *padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}

/* styling for both css and generated arrows */

.sf-arrows .sf-with-ul:after {
  font-family: "Font Awesome 6 Pro";  /* updated font-family */
  font-weight: 400; /* regular style/weight */font-weight: 400; /* regular style/weight */
  content: "\f107";
  position: absolute;
  top: 50%;
  right: 1em;
  margin-top: -12px;
  width: 32px;
  font-size: 14px;
  display: inline-block;
  text-align: right;
  font: normal 14px/.5;
}

/* styling for right-facing arrows */

.sf-arrows ul .sf-with-ul:after {
  content: "\f105" !important;
  margin-top: -16px !important;
}

.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
  border-top-color: #333; /* IE8 fallback colour */
}

.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
  border-left-color: #333;
}

@media screen and (max-width: 1280px) {
  .sf-menu > li:last-child ul ul {
    left: -100%;
  }
}

/*** Mobile navigation ***/

section.mobile-navigation {	
  position: fixed;
  padding: 0;
  top: 60px;
  bottom: 0;
  overflow-y: auto;
  z-index: 10000;
  width: 100%;
  display: none;
}

.mobile-nav {
  display: block;
  list-style: none; 
  margin: 0;
  padding:10px 6px;
  background-color: #6c757d;
  width: 100%;
}

.mobile-nav li {
  margin: 0;
  padding: 0;
  float: none;
}

.mobile-nav li a {
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  padding: 7px 10px;
  display: block;
  color: #fff;
}

.mobile-nav li a.menuactive {
  color: #821D00;
}

.mobile-nav li a:hover {
  text-decoration: none;
  background-color: #2c3e50;
}

.mobile-nav li a .sectionheader {
  color: #aaa;  
}

/* second level */

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav ul li a {
  padding-left: 30px;
}

/* third level */

.mobile-nav ul ul {
  list-style: none;
}

.mobile-nav ul ul li a {
  padding-left: 60px;
}

/*** Footer navigation ***/

.footerNav {
  list-style: none;
}

.footerNav a {
  color: #aaa;
  border: none;
}

.footerNav a:hover {
  color: #eee;
  border: none;
}

.footerNav .activeparent,
.footerNav .currentpage {
  color: white !important;
}

.footerNav .sectionheader {
  color: #808080;
}

.footerNav li .fa {
  margin-right: 10px;
}

/* 
*  Portfolio gallery custom styles 
*  Magnific Popup - v1.1.0 - 2016-02-20
*  http://dimsemenov.com/plugins/magnific-popup/
*  Copyright (c) 2016 Dmitry Semenov;
================================================== */

.portfolio-gallery {
  border-bottom: 1px solid white;
}

.portfolio-gallery .img {
  position: relative;
  overflow: hidden;
}

.portfolio-gallery .img .image-overlay {
  position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0);
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
	opacity:0;
  overflow:hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-gallery .img:hover .image-overlay {
		opacity:1;
		background-color: rgba(255,255,255,.6);
}

.portfolio-gallery .img img {
  width: 100%;
  -webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}

.portfolio-gallery .img:hover img {
  -webkit-transform: translateY(-20px);
  -moz-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  -o-transform: translateY(-20px);
  transform: translateY(-20px);
}

.portfolio-gallery .img .image-overlay h4 {
  color: #333;
  background-color: white;
	position: absolute;
	bottom: -60px;
	left: 0px;
  right: 0px;
  min-height: 60px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: initial;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}

.portfolio-gallery .img:hover .image-overlay h4 {
  bottom: 0;
}

.portfolio-gallery .img .image-overlay .overlay-icon {
  width: 50px;
  height: 50px;
  display:block;
  border-radius: 50%;
  opacity:0;
  background-color: white;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-gallery .img:hover .image-overlay .overlay-icon {
  opacity:0.85;
}

.portfolio-gallery .img .image-overlay .overlay-icon i {
  font-size: 20px;
  color:#821D00;
  margin: 14px 0 0 16px;
}

.gallerynavigation, .pagenavigation {
  display: flex;
}

.pagenavigation div {
  margin-right: 10px;
  font-size: 16px;
}

.pagelinks {
  font-size: 16px;
}

.pagelinks > * {
  margin: 0 4px;
}

.parentlink {
  margin-right: 20px;
}

.footer-big .portfolio-gallery {
  border: none;
}

.footer-big .portfolio-gallery .img:hover img {
  -ms-transform: scale(1.1, 1.1); /* IE 9 */
  -webkit-transform: scale(1.1, 1.1); /* Safari */
  transform: scale(1.1, 1.1);
}

.footer-big .portfolio-gallery .img {
  margin-bottom: 30px;
}

.footer-big .portfolio-gallery .img .image-overlay .overlay-icon {
  width: 40px;
  height: 40px;
}

.footer-big .portfolio-gallery .img .image-overlay .overlay-icon i {
  margin: 10px 0 0 11px;
}

.footer-big .parentlink a {
  color: #821D00;
}

.footer-big .img a,
.footer-big .img a:hover {
  border: none;
}

/*** Social icons footer ***/

.social-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

a.social-icon {
  width: 32px;
  height: 32px;
  border: none;
font-size: 24px;
  color: #fff;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

a.social-icon:hover {
  border: none;
  color: #eee;
}

a.social-icon:hover.facebook { background-color: #3B5998; }
a.social-icon:hover.twitter { background-color: #00ACEE; }
a.social-icon:hover.google { background-color: #DD4B39; }
a.social-icon:hover.pinterest { background-color: #C8232C; }
a.social-icon:hover.vimeo { background-color: #86C9EF; }
a.social-icon:hover.rss { background-color: #EE802F; }
a.social-icon:hover.linkedin { background-color: #0E76A8; }
a.social-icon:hover.yahoo { background-color: #720E9E; }
a.social-icon:hover.git { background-color: #171515; }

/*
* Counter home page
* jquery.counterup.js 1.0
*
* Copyright 2013, Benjamin Intal http://gambit.ph @bfintal
* Released under the GPL v2 License
================================================== */

.counter-block {
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.counter-block.dark-1 {
  background-color: #434b4f;
}

.counter-block.dark-2 {
  background-color: #4f5659;
}

.counter-block.dark-3 {
  background-color: #5b6063;
}

.counter-block.dark-4 {
  background-color: #686b6c;
}

.counter-block.dark-5 {
  background-color: #747576;
}

.counter-block.dark-6 {
  background-color: #808080;
}

.counter-block__icon {
  width: 64px;
  height: 64px;
  font-size: 52px;
  line-height: 64px;
  text-align: center;
}

.counter {
  font-size: 44px;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  line-height: 150%;
  margin: 0 0 20px 0;
}

.counter-block__text {
  text-transform: uppercase;
  font-size: 1rem;
}

.counter-block__text::before{
  display: block;
  position: relative;
  margin: 0 auto 25px auto;
  content: '';
  width: 20%;
  border-top: 2px solid #FAFAFA;
  opacity: 0.85;
}

/*** Google map fix ***/

[id^="cggm_map_"] {
	width: 100% !important;
	margin: 0;
}

[id^="cggm_map_"] img {
	max-width: none;
}

/*** Form ***/

.form-group {
  margin: 1rem 0;
}

.form-group label {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/*** Bootstrap overwrites ***/

.btn {
  border-radius: 0.125rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, opacity 0.15s ease-in-out;
}

.btn-default {
  color: #821D00;
}

.btn-light {
  background-color: #DCDCDC;
}

.btn-primary, .btn-primary:hover, .btn-primary:not(:disabled):not(.disabled):active {
  background-color: #821D00;
  border-color: #821D00;
}

.btn-primary:hover {
  opacity: 0.85;
}

.form-group .btn + .btn {
  margin-left: 8px;
}

/*** CG Calendar ***/

.fc table {
  margin: 0;
}

.fc-event {
  border-radius: 2px !important;
  cursor: pointer;
}

.fc-state-default.fc-corner-left {
  border-top-left-radius: 2px !important;
  border-bottom-left-radius: 2px !important;
}

.fc-state-default.fc-corner-right {
  border-top-right-radius: 2px !important;
  border-bottom-right-radius: 2px !important;
}

.fc-state-default { 
  background-color: #f5f5f5;
  background-image: none !important;
  background-repeat: no-repeat !important;
}

.fc-state-active, .fc-state-down {
  background-color: #6c757d !important;
  border-color: rgba(0,0,0,.5) #6c757d #6c757d #6c757d !important;
  color: white !important;
  text-shadow: none !important;
  box-shadow: inset 0 1px 0px rgba(0,0,0,.5) !important;
}

.fc-state-disabled {
  cursor: default !important;
}

.fc-basic-view .fc-body .fc-row {
  min-height: 8rem !important;
}

.fc-basic-view .fc-day-number {
  font-size: 24px;
}

.calendar-event {
  background-color: white;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 1px;
  display: flex;
}

.calendar-event.detail {
  background-color: rgba(255,255,255,.8); 
}

.calendar-list-nav {
  margin-bottom: 20px;
}

.calendar-list .calendar-event {
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.1);
}

.calendar-details {
  margin: 20px 0;
}

.calendar-details-title,
.calendar-summary-title {
  font-weight: 600;
}

.calendar-cur {
  margin: 0 10px;
}

.calendar-date-from {
  font-size: 14px;
  font-family: 'Crete Round', serif;
  color: #aaa;
}

.calendar-event.detail .calendar-date-from {
  color: #888;
}

.calendar-event h1 a,
.calendar-event h2 a,
.calendar-event h3 a,
.calendar-event h4 a,
.calendar-event h5 a,
.calendar-event h6 a {
  color: #333;
}

.calendar-event h1 a:hover,
.calendar-event h2 a:hover,
.calendar-event h3 a:hover,
.calendar-event h4 a:hover,
.calendar-event h5 a:hover,
.calendar-event h6 a:hover {
  color: #821D00;
}

.calendar-fields {
  max-width: 200px;
  width: 100%;
  margin-right: 20px; 
}

.calendar-fields--detail {
  max-width: 360px;
}

.calendar-with-image .fc h1,
.calendar-with-image .fc h2,
.calendar-with-image .fc h3,
.calendar-with-image .fc h4,
.calendar-with-image .fc h5,
.calendar-with-image .fc h6,
.calendar-with-image .fc th,
.calendar-with-image .fc td,
.calendar-with-image .fc-day-number {
  color: white !important;
}

.calendar-with-image .fc th,
.calendar-with-image .fc td {
  background-color: rgba(255,255,255,.06);
}

.calendar-with-image .fc-state-highlight .fc-day-number {
  color: black !important;
}

/*** Mobile navigation trigger ***/

.mobile-nav-trigger {
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 60px;
  text-indent: -9999px;
  border-left: rgba(0,0,0,.1) solid 1px;
  overflow: hidden;
}

.mobile-nav-trigger span {
  position: relative;
  display: block;
}

.mobile-nav-trigger span:before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 20px;
  height: 3px;
  background: #505050;
  box-shadow: 0 6px 0 0 #505050, 0 12px 0 0 #505050;
}

.mobile-nav-trigger.active {
  background-color: #6c757d;
  border-right: none;
  height: 60px;
}

.mobile-nav-trigger.active span:before {
  background: #fff;
  box-shadow: 0 6px 0 0 #fff, 0 12px 0 0 #fff;
}

.dark:not(.header-smaller) .mobile-nav-trigger {
  border-left: rgba(255,255,255,.25) solid 1px;
}

.dark:not(.header-smaller) .mobile-nav-trigger span:before {
  background: #fff;
  box-shadow: 0 6px 0 0 #fff, 0 12px 0 0 #fff;
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-gap: 20px;
  margin: 0;
  max-width: 90%;
  margin: 0px auto; 
}
.grid-list__item {
  position: relative;
  z-index: 1;
}

/* Team 
================================================== */
.team-member {
  position: relative;
  transition: all ease-in 0.2s;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 30px; 
}
.team-member:after {
  content: "";
  position: absolute;
  z-index: 4;
  transition: all ease-in-out 0.2s;
  height: 58px;
  width: 58px;
  top: 40px;
  left: 0;
  opacity: 0;
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 28px;
  line-height: 58px;
  content: "\f2bb";
  color: #821D00;
  background-color: white;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  text-align: center;
}
.team-member:hover {
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16);
  cursor: pointer;
  z-index: 2; 
}
.team-member:hover .team-member__name {
  color: #821D00; 
}
.team-member:hover .member-image--hover {
  opacity: 1;
}
.team-member:hover:after {
  left: 40px;
  opacity: 1;
}
.team-member__click {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
}
.team-member__image {
  position: relative;
  width: 100%;
  transition: all ease-in 0.2s;
  overflow: hidden;
}
.team-member__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: all ease-in 0.2s;
}
.team-member__image img.member-image--main {
  z-index: 1;
}
.team-member__image img.member-image--hover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
}
.team-member__description {
  background-color: #fff;
  text-align: center;
  padding: 10px 0 10px;
}
.team-member__name {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 0;
}
.team-member__title {
  display: inline-block;
  padding-top: 8px;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 15px;
  opacity: 0.6;
}
.team-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity ease-in-out 0.2s;
  z-index: 1001;
}
.team-modal:target {
  pointer-events: all;
  opacity: 1;
}
.team-modal.open {
  pointer-events: all;
  padding-right: 17px;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 1;
}
.team-modal:hover {
  cursor: pointer;
}
.team-modal__backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: opacity ease-in-out 0.2s;
  background-color: white;
  opacity: .7;
  z-index: 1000;
  pointer-events: all;
  display: none;
}
.team-modal__inner {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px; 
  height: 100vh;
  max-height: none;
  align-content: stretch;
  line-height: 1.8;  
  top: 50%;
  left: 50%;
  cursor: default;
  transform: translateX(-50%) translateY(-50%);
  box-shadow: 0px 6px 24px rgba(0, 0, 0, 0.25);
  background: white;
}
.team-modal__image {
  max-height: 40vh;
  width: 100%;
  text-align: center;
  background: #f2f2f2;
  margin: 0;
  overflow: hidden;
}
.team-modal__image img {
  max-width: 100%;
}
.team-modal__text-content {
  width: 100%;
  max-height: 60vh;
  padding: 30px 20px 20px 20px;
  display: flex;
  flex-direction: column;
}
.team-modal__text-content .team-modal__header {
  flex-grow: 0;
  flex-shrink: 0;
  margin-bottom: 16px;
}
.team-modal__text-content .team-modal_body-text {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 160%;
  flex-grow: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 10px;
}
.team-modal__text-content .team-modal_body-text p {
  margin-bottom: 16px;
}
.team-modal__text-content .team-modal__name {
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  font-size: 24px;
  text-transform: none;
  line-height: 100%;
  margin: 0 0 10px 0;
  padding: 0;
  font-weight: 700;
}
.team-modal__text-content .team-modal_title {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  opacity: 0.6;
  margin: 0 0 10px 0;
}
.team-modal__text-content .team-modal_lang {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;     
  opacity: 0.6;
  margin: 0;
}
.team-modal__close {
  position: absolute;
  text-decoration: none;
  height: 36px;
  width: 36px;
  border-radius: 50%;
  z-index: 2;
  top: 18px;
  right: 18px;
  background-color: rgba(0, 0, 0, 0.1);
  opacity: 0.6;
  transition: opacity ease-in-out 0.2s;
}
.team-modal__close .icon__close {
  display: block;
  height: 100%;
  width: 100%;
  background-image: url(https://www.sha.be/uploads/designs/tpl-buddy-013_v1.0.1/icon__close.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  opacity: 0.4;
}
.team-modal__close:hover {
  opacity: 0.8; 
}
.team-modal__close:hover .icon__close {
  opacity: 0.6;
}
.team-modal__close:active {
  opacity: 1;
}
.team-modal__close:active .icon__close {
  opacity: 0.8; 
}

.team-modal__close-overlay {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity ease-in-out 0.2s; 
}
.team-modal__close-overlay:hover {
  opacity: 0.6; 
}

/* Services
================================================== */
.services {
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
  margin-top: 30px;
}
.services__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 60px;
}
.services__media {
  width: 200px;
  margin: 0 auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 140px;
  border-radius: 20px;
  margin-top: 12px;
}
.services__icon {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 10px;
  border: 2px solid #821D00;
  padding: 6px;
}
.services__icon i.fa {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 42px;
  line-height: 94px;
	color: white;
  border-radius: 50%;
  background-color: #821D00;
  background-image: url(https://www.sha.be/uploads/designs/tpl-buddy-013_v1.0.1/iconbg.svg);
  background-position: center center;
  background-size: 100% 100%;
}
.services__item-content {
  flex-grow: 1;
  flex-shrink: 1;
  padding: 0;
}
.services__item-content h3 {
  font-size: 26px;
  margin-bottom: 10px;
  font-weight: 400;
  color: #821D00;
  text-align: center; 
}
.services__item-content p {
  margin-bottom: 20px;
}
.services__item-label {
  font-weight: 600;
}
.services__item ul {
  margin: 0 0 20px 0;
  padding: 0;
  list-style: none;
}
.services__item li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 20px;
}
.services__item li::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 8px;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  border: 3px solid #821D00;
}

/* FAQs - Toggle - Tabs - Portfolio
================================================== */

/* FAQs */
.faqs .toggle {
	border-bottom: 1px solid #EEE;
	padding-bottom: 12px;
	margin-bottom: 12px;
}
.faqs .toggle .toggle__tab,
.faqs .toggle .toggle__tab--active,
.faqs .toggle .toggle__content { 
  font-size: 15px; 
}
.faqs .toggle .toggle__tab i {
	top: 1px;
	font-size: 14px;
}
.faqs .toggle .toggle__content { 
  padding-bottom: 4px; 
}

/* Toggle */
.toggle {
	display: block;
	position: relative;
	margin: 0 0 20px 0;
}
.toggle .toggle__tab,
.toggle .toggle__tab--active {
	display: block;
	position: relative;
	line-height: 24px;
	padding: 0 0 0 24px;
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #444;
	cursor: pointer;
}
.toggle .toggle__tab i {
	position: absolute;
	top: 0;
	left: 0;
	width: 16px;
	text-align: center;
	font-size: 16px;
	line-height: 24px;
}
.toggle .toggle__tab { 
  font-weight: 600; 
}
.toggle .toggle__tab.no-icon {
  padding: 0;
}
.toggle .toggle__tab i.toggle--open,
.toggle .toggle__tab--active i.toggle--closed { 
  display: none; 
}
.toggle .toggle__tab--active i.toggle--open { 
  display: block; 
}
.toggle .toggle__content {
	display: block;
	position: relative;
	padding: 10px 0 0 24px;
}
.toggle .toggle__content p { 
  margin-bottom: 10px;
}

/* Tabs */
.tabs-filter {
  position: relative;
  margin: 0 0 20px 0;
  list-style: none;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}
.tabs-filter li a {
  display: block;
  position: relative;
  padding: 12px 18px;
  font-size: 13px;
  line-height: 15px;
  color: #666;
  border-left: 1px solid rgba(0,0,0,0.08);
}
.tabs-filter li:first-child a {
  border-left: none;
  border-radius: 4px 0 0 4px;
}
.tabs-filter li:last-child a {
  border-radius: 0 4px 4px 0;
}
.tabs-filter li.active a {
  color: #FFF !important;
  background-color: #821D00;
  margin: -1px 0;
  padding: 13px 18px;
  font-weight: 600;
}
.tabs-filter li a:hover {
  color: #821D00;
}

/* Portfolio */

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 10px -6px;
  max-width: 100%;
}
.portfolio-grid__item {
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
  margin: 0 6px 12px;
}
.portfolio-category {
  font-size: 13px;
  color: #777;
}
.portfolio-image {
  position: relative;
}
.portfolio-image a {
} 
.portfolio-image img {
  border-radius: 5px;
}
.portfolio-title {
  text-transform: initial;
  font-size: 19px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 0;
}
.portfolio-description {
  padding: 15px 5px 10px;
}
.portfolio-description h4 {
  margin: 0;
}
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  transition: opacity .4s ease-in-out;
  border-radius: 5px;
}
.portfolio-grid__item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-overlay a {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #F5F5F5;
  width: 60px !important;
  height: 60px !important;
  margin: -8px 0 0 -64px;
  font-size: 36px;
  line-height: 60px;
  text-align: center;
  color: #444;
  border-radius: 50%;
  -webkit-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
}
.portfolio-overlay .portfolio-image__right-icon {
  left: auto;
  right: 50%;
  margin-left: 0;
  margin-right: -64px;
  -webkit-transition-delay: .05s;
  -o-transition-delay: .05s;
  transition-delay: .05s;
}
.portfolio-grid__item:hover .portfolio-overlay .portfolio-image__left-icon, 
.portfolio-grid__item:hover .portfolio-overlay .portfolio-image__right-icon {
  margin-top: -18px;
}
.portfolio-shuffle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
  text-align: center;
  margin: 0 12px;
  line-height: 40px;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
}
.portfolio-shuffle:hover {
  background-color: #821D00;
  color: #FFF;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}
.portfolio-detail {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 40px;
}
.portfolio-detail__image {
  overflow: hidden;
}
.portfolio-detail__title {  
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-transform: initial;
  border-bottom: 2px solid #821D00;
}
.portfolio-detail__category {
  color: #777;
  font-size: 13px;
}
.portfolio-detail__description {
  margin: 10px 0;
} 
.portfolio-detail__item-label {
  font-weight: 600;
}

/* Portfolio slider */
.portfolio-detail__slider {
  margin: 10px 0 20px;
  padding-top: 25px;
  opacity: 0;
} 
.progress-bar {
	position: relative;
	margin-top: 38px;
	height: 4px;
	background-color: #F5F5F5;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
	border-radius: 2px;
}
.progress-bar:first-child { margin-top: 0; }
.progress-bar .progress {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background-color: #821D00;
	overflow: visible !important;
	border-radius: 2px;
	-webkit-transition: width 1.2s ease-in-out;
	-o-transition: width 1.2s ease-in-out;
	transition: width 1.2s ease-in-out;
}
.progress-bar .progress-percent {
	position: absolute;
	top: -28px;
	right: 0;
	background-color: #333;
	color: #F9F9F9;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
	height: 22px;
	line-height: 22px;
	padding: 0px 5px;
	font-size: 11px;
	border-radius: 2px;
}
.progress-bar .progress-percent .counter-instant {
	font-weight: 400;
	font-family: 'Lato', sans-serif;
}
.progress-percent:after, .progress-percent:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.progress-percent:after {
	border-top-color: #333;
	border-width: 4px;
	left: 50%;
	margin-left: -4px;
}
.progress-percent:before {
	border-top-color: #333;
	border-width: 5px;
	left: 50%;
	margin-left: -5px;
}
.progress-bar > span {
	position: absolute;
	z-index: 1;
	top: -23px;
	left: 0;
	line-height: 20px;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	color: #222;
}

/*** 404 page not found
================================================== */
.error-404 {
  display: block;
  font-size: 240px;
  font-weight: 700;
  color: #DDD;
  line-height: 1;
  letter-spacing: 4px;
}

/*** Captcha
================================================== */
.captchapict {
  margin: 10px 0;
}
.cgbf_input_captcha {
  display: inline-block;
  width: 200px;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  margin: 10px 0;
}
.cgbf_input_captcha:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/*** Video home page
================================================== */
.video-wrapper {  
  position: relative;
	overflow:hidden;
  height: 100vh;
}
.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translateX(-50%) translateY(-50%);
    margin-top: 60px;
    filter: brightness(70%);
}
.video-caption {
    display: flex;
    flex-direction: column;
    min-height:calc(100vh + 50px);
    justify-content:center;
    align-items:center;
    text-align:center;
    z-index: 2;
    position: relative;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.video-caption h2 {
    font-size: 54px;
    line-height: 120%;
    animation-delay: .3s;
    display: none;
}
.video-caption p {
  animation-delay: .5s;
  display: none;
  margin: 0 auto 30px;
}



.scroll-down-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  margin-left: -40px;
  width: 80px;
  height: 80px;
  font-size: 64px;
line-height: 84px;
  text-align: center;
  color: #fff;
  text-shadow: 2px 4px 10px rgba(0,0,0,0.9);
  z-index: 3;
-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;

/*  background-color: rgba(0,0,0,.3);
        border-radius: 50%; */
}


.scroll-down-arrow:hover,
.scroll-down-arrow.dark:hover {
  background-color: rgba(130,29,0,.5);
  transition: background-color .15s ease-in-out;
  color: #fff;
  border-radius: 50%;
}

/*** Media Queries
================================================== */

/* Extra small devices (portrait phones, less than 576px) 
No media query for `xs` since this is the default in Bootstrap  */

/* sm : Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) { 
  .team-modal__inner {
    flex-direction: row;
    width: 80%;
    height: 92vh;
  }
  .team-modal__image {
    max-height: 100%;
    width: 100%;
    text-align: center;
  }
  .team-modal__text-content {
    width: 100%;
    max-height: 100%;
    padding: 40px;
  }
  .team-modal__image img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .gallery-top {
    height: 400px;
  }
  .gallery-thumbs {
    height: 120px;
  }
  .video-caption {
    width: 70%;
  }
}

/* md : Medium devices (tablets, 768px and up)*/

@media (min-width: 768px) { 
  .CGBlogGrid--grid-2 .CGBlogGrid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-list {
    grid-gap: 0;
    max-width: 1200px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    margin: 40px auto;
  }
  .content-wrapper { 
    padding: 40px 0;
  }
  
  .team-modal__inner {
    flex-direction: column;
    width: 80%;
    max-height: none;
    height: 92vh;
  }
  .team-modal__image {
    max-height: 52vh;
    width: 100%;
    text-align: center;
  }
  .team-modal__image img {
    height: auto;
    object-fit: initial;
  }
  .team-modal__text-content {
    width: 100%;
    max-height: 40vh;
    padding: 40px;
  }
  .team-modal__text-content .team-modal__name {
    font-size: 26px;
  }
  .team-modal__text-content .team-modal_title {
    font-size: 18px;
  }
  .services__item {
    flex-direction: row;
    margin-bottom: 100px;
  }
  .services__item:nth-child(even) {
    flex-direction: row-reverse;
  }
  .services__item:last-child {
    margin-bottom: 60px;
  }
  .services__item-content {
    padding: 0 40px;
  }
  .services__item-content h3 {
    text-align: left;
  }
  .services__media {
    min-height: 160px;
  }
  .services__icon {
    width: 158px;
    height: 158px;
    margin-bottom: 25px;
    border: 2px solid #821D00;
    padding: 6px;
  }
  .services__icon i.fa {
    font-size: 72px;
    line-height: 142px;
  }
  .portfolio-grid {
    margin-left: -6px;
    margin-right: -6px;
    max-width: 100%;
  }
  .portfolio-grid__item {
    flex: 0 0 25%;
    max-width: 25%;
    margin: 0 0 10px 0;
    padding: 0 6px 12px;
  }
  .gallery-top {
    height: 500px;
  }
  .gallery-thumbs {
    height: 140px;
  }
}

/* lg : Large devices (desktops, 992px and up) */

@media (min-width: 992px) {
  header .container-fluid { 
    padding: 0 30px; 
  }
  .search-wrapper {
    right: 0;
  }

  .search-trigger,
  header,
  .logo a img, 
  .search-input form,
  .mobile-nav-trigger {
    height: 100px;
  }

  .slider,
  .main-title {
    margin-top: 100px;
  }
  .main-title {
    padding: 55px 0;
  }
  .slider-caption h2,
  .video-caption h2 {
    font-size: 62px;
  }
  
  .slider-caption p,
  .video-caption p {
    font-size: 24px;
  }
  
  .search-trigger i {
    top: 41%;
  }
  section.content { 
    padding: 60px 0; 
  }
  .footer-big {
    padding: 80px 0;
  }
  .blog .CGBlogGrid--grid-2 .CGBlogSummaryLink h4,
  .blog .CGBlogGrid--grid-3 .CGBlogSummaryLink h4,
  .blog .CGBlogGrid--grid-4 .CGBlogSummaryLink h4 {
    font-size: 24px;
  line-height: 120%;
  font-weight: 400;
  }
  .CGBlogGrid--grid-3 .CGBlogGrid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .CGBlogGrid--grid-4 .CGBlogGrid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .team-modal__inner {
    flex-direction: row;
    width: 90%;
    max-height: 560px;
  }
  .team-modal__image {
    width: 50%;
    max-height: inherit;
  }
  .team-modal__text-content {
    width: 50%;
    padding: 50px 40px 50px 50px;
    max-height: 100%;
  }
  .portfolio-detail {
    grid-template-columns: 2fr 1fr;
  }
  .video-container video {
    margin-top: 100px;
  }
  .video-caption h2 {
    font-size: 80px;
    line-height: 140%;
  }
}

/* xl : Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .error-404 {
    font-size: 300px;
  }
}

/* Retina CSS */

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {

	.logo a.standard-logo { display: none; }

	.logo a.retina-logo { display: block; }
}

/*** Fontawesome icons submenus
================================================== */

    .icon::before {
      display: inline-block;
      margin-right: 1em;
      font-style: normal;
      font-variant: normal;
      text-rendering: auto;
      -webkit-font-smoothing: antialiased;
    }

    .faup::before {
      font-family: "Font Awesome 6 Pro"; font-weight: 400; content: "\f32c";
    }

    .faleft::before {
      font-family: "Font Awesome 6 Pro"; font-weight: 400; content: "\f32a";
    }

    .faright::before {
      font-family: "Font Awesome 6 Pro"; font-weight: 400; content: "\f32b";
    }

    .facheck::before {
      font-family: "Font Awesome 6 Pro"; font-weight: 900; content: "\f14a";
    }

/*** Breves side images overlay
================================================== */

.breves-container {
  position: relative;
  margin-bottom: 18px;
}

.breves-container .breves-image {
  opacity: 1;
  display: block;
    width: auto !important;

     max-height: 100vh;
  transition: .5s ease;
  backface-visibility: hidden;
}

.breves-container .breves-middle  .breves-text{
  width:72px;
  height:72px;
  border-radius: 50%;
  opacity:0;
  background-color: #821D00;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;      
  position: absolute;
  top: -72px;
  left: 50%;
  margin-left: -36px;
  margin-top: 0px;
  text-align: center;
}

.breves-container:hover .breves-image {
  opacity: 0.5;
}

.breves-container:hover .breves-middle .breves-text {
  opacity: 0.8;
  top: 50%;
  margin-top: -36px
}

.breves-container .breves-middle .breves-text i {
  font-size: 36px;
  color:white;
  margin-top: 18px;
}
