/*--------------------------------------------------
>> TABLE OF CONTENTS:
----------------------------------------------------
# Contact
# Gallery
# Newsletter
--------------------------------------------------*/
section.content article .NewsMasonry.news-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}
section.content article .NewsMasonry.news-page .NewsItem {
     position: relative !important;
    width: 100%;
    padding: 0;
    margin: 10px auto;
    top: 0 !important;
    left: 0 !important; 
    background: #fff;
  display: inline-block;
}
article .NewsMasonry .NewsItem img.img-news-list.img-defaut {
    object-fit: scale-down !important;
}
article #AllNews .NewsItem img.img-news-list.default, article #NewsItems .NewsItem img.img-news-list.default, article .NewsMasonry .NewsItem img.img-news-list.default {
    object-fit: contain;
    padding: 10px;
}
section.content article .NewsMasonry.news-page .NewsItem .photo-news {
       position: relative;
      border: 8px solid #fff;
      box-shadow: 0 0 18px rgba(10 10 10 /10%);
      border-radius: 25px;
      margin-bottom: 30px;
}
section.content article .NewsMasonry.news-page .NewsItem .photo-news:before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #000;
    opacity: 0;  
     border-radius: 20px;
   transition: all .4s;z-index: 1;
}
section.content article .NewsMasonry.news-page .NewsItem:hover .photo-news:before{
    opacity: 0.8;
}
section.content article .NewsMasonry.news-page .NewsItem .photo-news:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url(../images/icon-actu.png) no-repeat center;
    opacity: 0;
    transition: all .4s;    z-index: 1;
}
section.content article .NewsMasonry.news-page .NewsItem:hover .photo-news:after{
    opacity: 1;
}
.NewsMasonry.NewsMasonry.news-page span {
    display: block;
}
.NewsMasonry.NewsMasonry.news-page h5.news-title a {
    text-decoration: none;
      color: #0a0a0a!important;
}
.NewsMasonry.NewsMasonry.news-page .date{
      font-size:15px;
    font-weight: 700;
    color: #0a0a0a!important;
}
section.content h4.date {
    padding-bottom: 0;
    margin-bottom: 15px;
}
section.content article .NewsMasonry.news-page .NewsItem a.readmore{
    background: #f22a2a!important;
}
section.content article .NewsMasonry.news-page .NewsItem:hover a.readmore{
    background: #5b8a39!important;
}
.NewsMasonry a.link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    opacity: 0;
}
.img-news {
	max-width: 220px!important;
	float: left!important;
	margin-right: 20px!important;
	margin-bottom: 15px!important;
}
/*--------------------------------------------------
# Contact
--------------------------------------------------*/
section.content .contactForm fieldset {
    display: contents;
}
section.content .contactForm .contact-field-legend {
    display: none;
}
.contactForm .g-recaptcha {
	position: relative;
	z-index: 2;
}
section.content .contactForm .contact-field-item .contact-field-label {
	font-weight: 400;
	letter-spacing: 0.1em;
	font-size: 15px;
}
section.content .contactForm .contact-field-item .contact-field-element .form-field {
    color: #282828;
    background: #fff;
	border: 0;
	border: 1px solid #585252;
	padding: 10px;
	transition: background .4s, border-bottom-color .4s;
    outline: none;
}
section.content .contactForm .contact-field-item .contact-field-element .form-field::placeholder {
}
section.content .contactForm .contact-field-item .contact-field-element textarea.form-field {
	height: 120px;
}
section.content .contactForm .contact-field-item .contact-field-element .form-field:focus {
    background: rgba(0, 0,0, 0.06);
	border-color: #49a324;
}
section.content .contactForm .gdpr_policy {
    margin: 0;
    text-align: left;
    display: grid;
    grid-template-columns: 15px auto;
    gap: 12px;
}
section.content .contactForm .gdpr_policy label {
	font-weight: normal;
}

section.content .contactForm .form-submit-button {
    font-weight: 400;
    background: linear-gradient(to right, rgba(8,119,38,1) 0%, rgba(126,200,36,1) 100%);
    text-transform: uppercase;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    transition: background .6s, color .6s;
}
section.content .contactForm .form-submit-button:hover {
    background: linear-gradient(to right, rgba(0,71,133,1) 0%, rgba(101,153,206,1) 100%);
}
section.content .networks_linking a {
    font-size: 21px;
    color: #4ca624!important;
    width: 48px;
    height: 48px;
    line-height: 48px;
    vertical-align: top;
    display: inline-block;
    margin: 0;
    text-align: center;
    position: relative;
    border-radius: 50%;
    background: transparent url('../images/icon-fb.png') no-repeat center !important;
}
section.content .networks_linking a:hover{
    color: #000!important;
}
@media only screen and (max-width : 1199.98px) {
    
}
@media only screen and (max-width : 991.98px) {

}
@media only screen and (max-width : 480px) {
 .contactForm .gdpr_policy label {
      display: inline !important;
  }


}
/*--------------------------------------------------
# Gallery
--------------------------------------------------*/
.holder {
	line-height: 1.85em;
	text-align: center;
	margin-bottom: 10px;
	display: flex;
	justify-content: center;
}
.holder a {
	background: #000;
	color: #fff;
	line-height: inherit;
    margin-right: 5px;
}
.holder a:last-child {
    margin-right: 0;
}
.holder a:hover {
	background: #b5a46d;
}
.holder a.jp-current, a.jp-current:hover {
	background: #b5a46d;
}
.holder a.jp-disabled, a.jp-disabled:hover {
	background: rgba(0,0,0, .1);
	color: rgba(57,57,57, .35);
}
.holder a.jp-previous::before,
.holder a.jp-next::before {
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
}
.mcePxmGallery .highslide-gallery {
	position: relative;
	pointer-events: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
	min-height: auto !important;
}
.mcePxmGallery .highslide-gallery * {
	pointer-events: all;
}
.mcePxmGallery .highslide-gallery .highslideContainer {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0;
}
.mcePxmGallery .highslide-gallery .highslideContainer.subgallery a.highslide .folderBackground {
    position: static;
}
.mcePxmGallery .highslide-gallery .highslideContainer.subgallery a.highslide .folderBackground span {
	position: absolute;
	left: 5px;
	right: 5px;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	background: rgba(43,22,8,.9);
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 2.5em;
	transition: opacity .6s;
}
.mcePxmGallery .highslide-gallery .highslideContainer.subgallery:hover a.highslide .folderBackground span {
	opacity: .2;
}
.mcePxmGallery .highslide-gallery .highslideContainer.subgallery a.highslide::before {
	content: none;
}
.mcePxmGallery .highslide-gallery .highslideContainer a.highslide::after {
	content: "";
    position: absolute;
    top: 17px;
    left: 25px;
    right: 25px;
    bottom: 17px;
    width: auto;
    height: auto;
    box-sizing: border-box;
    color: transparent;
    font-family: Arial;
    line-height: 42px;
    font-size: 24px;
    border-radius: 0;
    margin: 0;
    -ms-transform: scale(0, 0);
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    border: none;
    background: rgba(73, 163, 36, 0.78) url(../images/icon-hover.png) no-repeat center;
}

.mcePxmGallery .highslide-gallery .highslideContainer a.highslide {
	position: relative;
	display: block;
	overflow: hidden;
	padding-bottom: 120%;
}
.mcePxmGallery .highslide-gallery .highslideContainer a.highslide img {
    position: absolute;
    left: 0;
    top: 0;
	border: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .6s;
}
.mcePxmGallery .highslide-gallery .highslideContainer a.highslide:hover img {
    transform: scale(1.1);
}
.mcePxmGallery .highslide-gallery .highslideContainer a.highslide:hover::after {
    transform: scale(1);
}

@media only screen and (max-width : 991.98px) {
	.mcePxmGallery .highslide-gallery {
		grid-template-columns: repeat(3, 1fr) !important;
	}
	.mcePxmGallery .highslide-gallery .highslideContainer.subgallery a.highslide .folderBackground span {
	}
   section.content article .NewsMasonry.news-page .NewsItem .photo-news img{
      max-width: 100% !important;
  }
}
@media only screen and (max-width : 767.98px) {
  .mcePxmGallery .highslide-gallery {
		grid-template-columns: repeat(2, 1fr) !important;
	}
  .img-news {
	max-width: 100%!important;
	float: none!important;
	margin-right: 0!important;
	margin-bottom: 15px!important;
    width: auto !important;
}
  section.content article .NewsMasonry.news-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}
}

@media only screen and (max-width : 480px) {
  section.content article .NewsMasonry.news-page {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
}
}



@media only screen and (max-width : 380px) {
  .mcePxmGallery .highslide-gallery {
		grid-template-columns: repeat(1, 1fr)!important;
	}
}

/* Breadcrumbs */
.mcePxmGallery .breadcrumb {
	position: relative;
	background: #000;
	text-align: center;
	border: none;
	line-height: 27px;
	font-weight: normal;
	padding: 5px 10px;
	color: #fff;
	border-radius: 0;
	margin-bottom: 10px;
}
.mcePxmGallery .breadcrumb span {
	font-size: 0;
}
.mcePxmGallery .breadcrumb span::before {
	content: '\f105';
	font-family: "Font Awesome 5 Free";
	font-weight: bold;
	font-size: 14px;
	margin: 0 5px;
}
.mcePxmGallery .breadcrumb a {
	color: #fff;
	text-decoration: none;
	-webkit-transition: color 0.6s;
    transition: color 0.6s;
}
.mcePxmGallery .breadcrumb a:hover {
	color: #333;
	text-decoration: none;
}


/* Pop Up */
.highslide-container .highslide-caption {
	font-size: 14px;
	color: #fff;
	text-align: center;
	font-weight: normal;
	background: #2e2e2e;
}
.highslide-container .highslide-caption strong {
	font-size: 20px;
	line-height: 30px;
	font-weight: bold;
}
.highslide-container .highslide-dimming{
	background: rgba(0,0,0,.5);
	opacity: 1!important;
}
.highslide-wrapper, .highslide-outline,
.highslide-container table, .highslide-container td {
	background: none!important;
}
.highslide-container img.highslide-image,
.highslide-container .highslide-image {
	border: 0px!important;
	box-shadow: 0px 0px 20px #000;
}
