/*
Theme Name: Bureau Cogi
Description: Fidupress Master Child Theme
Template: fidupress
Text Domain: fidupress-child
*/


/*--------------------------------------
			GENERAL
--------------------------------------*/
body{
	background: #efefef;
}
.home #page{
	overflow: hidden;
}

header .top-bar .schedule{
	display: none;
}
header #logo img{
	max-height: 100px;
}

header nav ul.menu li.btn a{
	background: #4578a5;
	color: #fff;
	border-radius: 10px;
	margin-right: 10px;
	padding: 12px;
}
header nav ul.menu > li.current-menu-item > a,
header nav ul.menu > li.current-menu-ancestor > a,
header nav ul.menu > li a:hover{
}
header nav ul.menu li.btn a:hover,
header nav ul.menu li.btn.current-menu-item a{
	color: #fff;
	font-weight: 100;
}
header nav ul ul{
	border-top: 1px solid #4578a5;
}

.top-banner .wrap{
	font-size: 16px;
}
.site-content{
	padding-top: 30px;
}

.home .entry-content{
	margin-bottom: 30px;
	padding: 0;
}
.home .flex.services{
	margin: 0;
}
.news-wrapper.list > div .body:after {
    content: '';
    background: -moz-linear-gradient(top, rgba(239, 239, 239,0) 0%, rgba(239, 239, 239,1) 100%);
    background: -webkit-linear-gradient(top, rgba(239, 239, 239,0) 0%,rgba(239, 239, 239,1) 100%);
    background: linear-gradient(to bottom, rgba(239, 239, 239,0) 0%,rgba(239, 239, 239,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#efefef',GradientType=0 );
}

.flex.services{
	padding-top: 20px;
	border-bottom: 1px solid #efefef;
	margin-bottom: 30px;
}
.flex.services > div{
	padding: 15px;
	border-radius: 10px;
}
.flex.services ul{
	padding: 0;
}
.flex.services > div:nth-child(even){
	background: #fff;
}
.flex.services .icon{
	background: #4578a5;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	position: relative;
	margin: 0 auto 15px;
}
.flex.services .icon svg{
	font-size: 35px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}
.flex.services .icon path{
	fill: #fff;
}
.flex.services strong{
	margin-bottom: 12px;
	display: block;
}

.flex.services ul li{
	list-style: none;
	color: #4679a5;
}

.sp-simpleportfolio-item > div{
	background: #fff;
	border-radius: 5px;
	padding: 10px;
	transition: background 0.2s;
}
.sp-simpleportfolio-item > div:hover{
	background: #f5f9fd;
}
.sp-simpleportfolio-item a{
	display: block;
}

.flex.team{
	clear: both;
	background: #f5f5f5;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 30px;
}
#content .flex.team > div{
	margin: 15px 0;
}
.flex.team svg{
	float: left;
	width: 25px;
	height: 25px;
	fill: #4578a5;
	margin: 5px 10px 20px 0;
}
.flex.team strong,
.flex.team span{
	display: block;
}

nav.tabs{
	margin-bottom: 20px;
}
nav.tabs a{
	width: calc( (100% / 12) - 5px);
	background: #4578a5;
	color: #fff;
	border-radius: 5px;
	padding: 10px 0;
	font-size: 12px;
	transition: background 0.4s;
	text-align: center;
}
nav.tabs a:hover,
nav.tabs a.current{
	background: #6298c7;
}
.tab-content > div{
	display: none;
	padding: 20px;
	background: #efefef;
	border-radius: 5px;
}
.tab-content > div:first-child{
	display: block;
}

.page-template-cogi-contact address{
	float: left;
}
address p span{
	display: block;
}
.page-template-cogi-contact .entry-content{
	float: right;
	width: 660px;
}

.ninja-forms-form-wrap .submit-wrap input{
	background: #4578a5;
}
h1, h2, h3{
	font-size: 20px;
	color: #002a5c;
	clear: both;
	margin-bottom: 25px;
}
body:not(.home) h2{
	text-align: left;
	text-transform: initial;
	font-size: 16px;
	color: #4578a5;
}
h3{
	font-size: 16px;
}
a{
	color: #4578a5;
}
a.btn{
	background: #4578a5;
}
.master-slider-parent{
	overflow: hidden;
}
.wp-block-table{
	overflow: initial !important;
}
.entry-content table{
	width: 100%;
	border-collapse: collapse;
}
.entry-content table thead{
	background: #4578a5;
	color: #fff;
	font-weight: 600;
}
.entry-content table th{
	padding: 10px;
}
.entry-content table td{
	border: 1px solid #ccc;
	padding: 10px;
}


.__popup{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
}
.__popup .content{
    background: #fff;
    max-width: 1200px;
    margin: 20px;
    padding: 40px;
    max-height: 780px;
    overflow-y: scroll;
    box-shadow: 2px 2px 10px rgba(0,0,0,.2);
    position: relative;
    z-index: 1;
}
.__popup .mask{
    background: #0006;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(5px);
}
.__popup .close{
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 18px;
    cursor: pointer;
}
.__popup .close:hover{
    color: var(--primary);
}


/*--------------------------------------
				HOME
--------------------------------------*/

@media only screen and (max-width: 1080px){
	#responsiveBtn {
		background: #4578a5;
	}
	body.acf-top-bar{
		padding-top: 70px;
	}
	#content .flex.col-4 > div,
	#content .flex.col-2 > div,
	#content .flex.col-3 > div{
		width: 100%;
	}
	.page-template-cogi-contact address{
		float: none;
		margin-bottom: 30px;
	}
	.page-template-cogi-contact address img{
		margin: 0 auto 15px;
	}
	.page-template-cogi-contact .entry-content{
		float: none;
		width: 100%;
	}
	nav.tabs a{
		display: inline-block;
		width: auto;
		padding: 10px;
		margin-bottom: 5px;
	}

}