/* Theme Name: TrGirto child of Aerin
Theme URI: https://themeforest.net/
Author: MagniumThemes
Author URI: http://magniumthemes.com/
Description: TrGirto - Table régionale de gestion intégrée des ressources et du territoire public de l’Outaouais
Template: aerin
Version:1.0.0
License:GNU General Public License
License URI:license.txt
Text Domain: aerin
Tags:custom-colors,custom-menu,featured-images,post-formats,theme-options
*/

body, html {
	width: 100%;
}


.wood-border-dark {
	position: relative;
}
.wood-border-dark:before {
	display: block;
	content: " ";
	position: absolute;
	top: -10px;
	left: 0;
	width: 100%;
	height: 11px;

	background-image: url(img/wood/paner_border_black.png);
	background-repeat: repeat-x;
}


/* typography */

.blog-post .entry-content h1,
.blog-post .entry-content h2,
.blog-post .entry-content h3,
.blog-post .entry-content h4,
.blog-post .entry-content h5,
.blog-post .entry-content h6,
.page .entry-content h1,
.page .entry-content h2,
.page .entry-content h3,
.page .entry-content h4,
.page .entry-content h5,
.page .entry-content h6,
.comment-content h1,
.comment-content h2,
.comment-content h3,
.comment-content h4,
.comment-content h5,
.comment-content h6 {
    margin-top: 30px;
    margin-bottom: 30px;
}


/* Mise en page */

footer .footer-social .social-icons-wrapper a {
	color: #FFFFFF !important;
}
footer {
	background-color: #242424 !important;
	color: #FFFFFF !important;
	min-height: 670px;
	background-image: url(img/wood/bg_footer.jpg);
	background-repeat: no-repeat;
	background-position: right center;
}
footer .menu-footer-trgirto-fr-container a {
	color: #FFFFFF !important;
}
footer a:hover {
	color: #f2532f !important;
}

footer:before {
	content: " ";
	z-index: -1;
	display: block;
	position: absolute;
	top: -220px;
	left: 0;
	width: 199px;
	height: 322px;
	background-image: url(img/wood/ligne_vie_gris_pale.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top right;
}


.aerin-blog-posts-slider-bg {
	position: relative;
	background: transparent !important; /* override theming option from wp to set this. */
	min-height: 400px;
	/*background-color: #FFFFFF;
	background-image: url(img/wood/hero_background@2x.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;*/
}

.aerin-blog-posts-slider-bg:after {
	content: " ";
	display: block;
	z-index: 0;
	position: absolute;
	bottom: -320px;
	right: 0;
	width: 309px;
	height: 647px;
	background-image: url(img/wood/ligne_vie_blanc.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top right;
}

.aerin-blog-posts-slider-bg:before {
	content: " ";
	z-index: 1;
	display: block;
	position: absolute;
	bottom: 0px;
	left: -100px;
	width: 300px;
	height: 312px;
	background-image: url(img/wood/coupe.webp);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top right;
}


.container-page-item-title {
	position: relative;
}

.container-page-item-title:before {
	content: " ";
	display: block;
	position: absolute;
	bottom: 20%px;
	left: -45px;
	width: 100px;
	height: 101px;
	background-image: url(img/wood/coupe.webp);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top right;
}
@media (min-width: 768px) {
	.container-page-item-title:before {
		left: -60px;
		width: 200px;
		height: 202px;
	}
}

.page-item-title-archive, .page-item-title-page {
	padding: 0 2em;
}
@media (min-width: 768px) {
	.page-item-title-archive, .page-item-title-page {
		padding: 0 5em;
	}
}

.page-item-title-archive p.description {
	text-transform: none;
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 18px;
	text-align: center;

}
.page-item-title-archive h1 + .page-item-title-archive p.description {
	margin-bottom: 0;
}

/* Sidebars */

.sidebar ul .children {
	padding-left: 1em;
}

/* Mainmenu */

.mainmenu-belowheader.mainmenu-largefont .navbar .nav > li > a {
	font-size: 18px !important;
}

.nav .sub-menu li.menu-item:last-child > a {
	border-bottom: 0;
}

.nav > li > .sub-menu {
	margin-top: 18px;
}

/* fix sub-sub-menu  */
@media (min-width: 768px) {
	.nav li:hover > .sub-menu {
	}
	.nav .sub-menu > li > .sub-menu {
		right: auto;
		left: 100%;
	}
	.nav .sub-menu > li:hover > .sub-menu {
		right: auto;
		left: 100%;
	}
}



/* Page header title (single) */
.page-item-title-single {
	margin: 0.75em 0;
}


/*	Page builder */


.h3-col-title,
.h3-col-title-full-border,
.widget-title {
	position: relative;
	font-size: 1.5em;
	text-align: center;
	padding: 0 2em;
	text-transform: uppercase;
}
.h3-col-title:after,
.so-widget-sow-editor-base .widget-title:after,
.widget-title:after,
.h3-col-title-full-border:after {
	content: " ";
	width: 10%;
	margin-left: 45%;
	margin-right: 45%;
	display: block;
	position: absolute;
	left: 0;
	bottom: -15px;
	border-top: 1px dotted #f2532f;
}
.h3-col-title-full-border:after {
	width: 90%;
	margin-left: 5%;
	margin-right: 5%;
}
.so-widget-sow-editor-base {
	font-size: 20px;
}


.slider-widget-title {
	display: table;
	width: 100%;
	height: 130px;
}
.slider-widget-title .widget-title {
	display: table-cell;
	vertical-align: middle;
}
.slider-widget-title .widget-title:after {
	bottom: 10%;
}

/*	UI elements */





/** Loop	*/

.blog-post .more-link {
	margin-top: 0;
}

/*	Archive */
.page-item-title-archive p {
	margin-top: 20px;
}

.page-item-title-archive h1 {
	margin-bottom: 30px;
}


/** Post elements */


.aerin-post-list .aerin-post {
	position: relative;
	background-color: #FFFFFF;
	border-bottom: 1px solid #f2532f;
	overflow: visible;
	margin-bottom: 30px;
}
.aerin-post .aerin-post-details {
	padding: 1em;
}

.aerin-post .aerin-post-actions {
	text-align: center;
	width: 100%;
	position: absolute;
	bottom: -25px;
}
.aerin-post .aerin-post-image-wrapper .aerin-post-titles {
	position: absolute;
	width: 100%;
	text-align: center;
	bottom: 0;
	padding: 1em;
}
.aerin-post .aerin-post-image-wrapper .aerin-post-titles a {
	text-decoration: none;
	color: #FFFFFF;
}
.aerin-post .aerin-post-image-wrapper .aerin-post-titles .aerin-post-category {
	padding-bottom: 1em;
}
.aerin-post .aerin-post-image-wrapper .aerin-post-titles .aerin-post-category ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.aerin-post .aerin-post-image-wrapper .aerin-post-titles .aerin-post-category ul li {
	display: inline-block;
	background-color: rgba(0,0,0,0.5);
	color: #f2532f;
	padding: 0.5em 1em;
	border: none;
}
.aerin-post .aerin-post-image-wrapper .aerin-post-titles .aerin-post-category ul li a {
	color: #f2532f;
}

.aerin-post .aerin-post-image-wrapper .aerin-post-titles .aerin-post-title {
    text-shadow: 2px 2px 3px rgba(0,0,0,0.4);
}

.aerin-post .aerin-post-image-wrapper .aerin-post-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.65));
}


/* containers */
.in-page-container-padding {
	padding: 3em 0;
}
.aerin-sliders-highlight {
	padding: 5em 0;
}



/* widget custom sidebar for child theme */
.footer-footer-widgets .f-footer-widget-container {
	margin-bottom: 1em;
	min-height: 120px;
}


/** BTNs */


.btn-default-padding {
    padding: 6px 12px !important;
}
/* Overwrite the overwriting of the main thème that override bootstrap behavior; bleh */
.btn-lg, .btn-group-lg > .btn
{
    font-size: 18px !important;
    line-height: 1.33 !important;
    padding: 1em 1.5em !important;

}
.btn > .fa.left {
	padding-right: 0.75em;
}
.btn > .fa.right {
	padding-left: 0.75em;
}
.btn > .fa {
	display: block;
	height: 100%;
	float: left;
	font-size: 1.5em;
}

.btn {
	border: none !important;
	text-align: left !important;
	vertical-align: middle;
}
.btn:hover {
	background-color: #f2532f !important;
}

.btn-primary {
	background-color: #f2532f !important;
	color: #FFFFFF;
}
.btn-primary:hover {
	background-color: #000000 !important;
}

.btn-gray {
	background-color: #43484d !important;
	color: #FFFFFF !important;
}
.btn-gray:hover {
	background-color: #f2532f !important;
	color: #FFFFFF !important;
}

.btn-gray-light {
	background-color: #c6ccd1 !important;
}

.more-link {

}

a.btn,
.btn,
.btn:focus,
input[type="submit"],
.woocommerce #content input.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page #content input.button,
.woocommerce-page #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce a.added_to_cart,
.woocommerce-page a.added_to_cart,
a.more-link {
	line-height: inherit !important;
}

input, input.input-text, select, textarea {
	border: 1px solid #AAAAAA;
}

.btn > .fa {
	display: inline-block;
	float: none;
}
.btn i.fa {
	margin-right: 6px;
}

.btn-simple-sc {
	display: table !important;
	width: 100%;/* likeblock */
	min-height: 90px;
}
.btn-simple-sc span {
	display: table-cell !important;
	height: 100%;
	vertical-align: middle;
}
.btn-simple-sc > span.left,
.btn-simple-sc > span.right {
	width: 20%;
	text-align: center;
}


.footer-footer-widgets .widget-title-container {
	display: table;
	width: 100%;
	height: 130px;
	margin-bottom: 1em;
}

.footer-footer-widgets .widget-title-container .widget-title {
	display: table-cell;
	vertical-align: middle;
}
.footer-footer-widgets .widget-title-container .widget-title:after {
	bottom: 0;
}

.footer-footer-widgets a {
	color: #FBFBFB !important;
}
.footer-footer-widgets ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-footer-widgets ul > li {
	text-align: left;
	margin: 0 0 0.75em 0;
}

.footer-footer-widgets ul > li > a {
	margin-bottom: 0.75em;
}

.footer-footer-widgets ul > li ul {
	padding-left: 1em;
	list-style: none;
}


/* HOME Slider with IMG */

.home-slider_bg-featured {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.home-slider_bg-featured .owl-carousel {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: -1;
}
.owl-carousel .owl-stage-outer,
.owl-carousel .owl-item,
.owl-carousel .owl-stage {
	width: 100%;
	height: 100%;
}

.owl-slide {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.home-slider__overlay {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(239,244,247, 0.6);
	pointer-events: none;
}

.so-panel {
	margin-bottom: 0px !important;
}

/*UTILS*/
.p-1 {
	padding: 1rem;
}
.p-2 {
	padding: 2rem;
}
.p-3 {
	padding: 3rem;
}
.p-4 {
	padding: 4rem;
}
.p-5 {
	padding: 5rem;
}
.p-6 {
	padding: 6rem;
}

.px-1 {
	padding-left: 1rem;
	padding-right: 1rem;
}
.px-2 {
	padding-left: 2rem;
	padding-right: 2rem;
}
.px-3 {
	padding-left: 3rem;
	padding-right: 3rem;
}
.px-4 {
	padding-left: 4rem;
	padding-right: 4rem;
}
.px-5 {
	padding-left: 5rem;
	padding-right: 5rem;
}
.px-6 {
	padding-left: 6rem;
	padding-right: 6rem;
}

.py-1 {
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.py-2 {
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.py-3 {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
.py-4 {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
.py-5 {
	padding-top: 5rem;
	padding-bottom: 5rem;
}
.py-6 {
	padding-top: 6rem;
	padding-bottom: 6rem;
}

.pr-1 {
	padding-right: 1rem;
}
.pr-2 {
	padding-right: 2rem;
}
.pr-3 {
	padding-right: 3rem;
}
.pr-4 {
	padding-right: 4rem;
}
.pr-5 {
	padding-right: 5rem;
}
.pr-6 {
	padding-right: 6rem;
}

.no-margin {
	margin: 0;
}

.text-white {
	color: #ffffff;
}

.text-normal {
	font-weight: normal;
}
label.text-normal {
	font-weight: normal;
}

/* infolettre */
.infolettre {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}


header .logo-link img {
	height: auto !important;
}