/*
 Theme Name:   Darr Intranet
 Theme URI:    http://themeforest.net/user/VictorThemes
 Description:  Darr Intranet
 Author:       Nifty Method Marketing
 Author URI:   https://niftymethod.com
 Template:     roof
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, left-sidebar, right-sidebar, custom-menu, featured-images, post-formats, theme-options, translation-ready
 Text Domain:  roof-child
*/

/* Write Custom CSS */

.facetwp-facet-video_cats {
	font-weight: 500;
	font-size: 1.25em;
}

.facetwp-expand {
	display: none;
}

.darr_video_results .fwpl-row {
	height: 100%;
}

.darr_video_results .fwpl-item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.single-training_video .roof-main-wrap {
	padding: 40px 0;
}

.single-training_video .col-md-6 {
	width: 100%;
}

.single_video_wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.description_wrapper {
	max-width: 700px;
	margin: auto;
}

.description_wrapper img {
	float: left;
	max-width: 290px;
	margin: 20px;
}

#darrloginform {
	text-align: center;
}

#darrloginform .login-username,
#darrloginform .login-password {
	display: flex;
	max-width: 410px;
	margin: auto;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	padding: 0 0 20px;
}

#darrloginform label {
	width: 110px;
	text-transform: uppercase;
	font-weight: 800;
}

#darrloginform .login-remember label {
	width: auto;
	text-transform: none;
	font-weight: 200;
}

#darrloginform input {
	max-width: 180px;
}

.darr_ql_list img {
	max-width: 50px;
}

.darr_ql_list {
	color: #fff !important;
}

.darr_ql_list {
	padding: 15px;
	margin: 0px;
	background-color: #000;
}

#darr_qlsep .vc_sep_line {
	top: 0px;
}

.darr_ql_list .ql_tt {
	display: none;
	position: absolute;
	bottom: 0;
	right: -30px;
	max-width: 70%;
	background: #fff;
	color: #000;
	padding: 3px;
	border-radius: 3px;
	border: 1px solid #ececec;
	box-shadow: 0px 0px 7px 1px #d4d4d4;
}

.darr_ql_list .fwpl-item {
	position: relative;
}

.darr_ql_list .fwpl-result {
	margin-bottom: 8px;
}

.darr_ql_list .fwpl-item:hover .ql_tt {
	display: block;
}

.roof-title-overlay {
	padding: 30px 0px;
}

.header-right .contact-details .contact-item:last-of-type .contact-info p {
	max-width: 200px;
	margin-right: 30px;
}

.fwpl-tax-employee_department {
	text-transform: uppercase;
}

.e_photo img {
	width: 100%;
}

.darrhomeblog {
	display: flex;
	flex-wrap: wrap;
}

.darrhomeblog>div {
	background: #ececec;
	margin: 15px;
	display: flex;
	max-width: 270px;
	padding: 12px;
}

.e_photo {
	height: 290px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.darrbranchwrapper {
	margin-bottom: 4em;
}

.darrbranchimages {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-gap: 10px;
}

.fwpl-result a {
	color: #f1bd3b;
}

.darrbranchwrapper,
.darrbranchinfo {
	display: flex;
	flex-wrap: wrap;
}

.darrbrancinnerhwrapper,
.darrbranchmap,
.darrbranchaddress,
.darrbranchnumbers {
	flex: 1;
}

.darrbrancinnerhwrapper {
	margin-right: 10px;
}

.darrbarnchitem {
	padding: 30px;
}

.darrbranchlistwrapper {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 10px;
}

@media (max-width: 979px) {

	.facetwp-template[data-name=employees] .fwpl-layout,
	.darrbranchlistwrapper {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 655px) {

	.facetwp-template[data-name=employees] .fwpl-layout,
	.darrbranchlistwrapper {
		grid-template-columns: 1fr;
	}

	.darrbranchwrapper,
	.darrbranchinfo {
		display: block;
		margin: 0px 20px;
	}

	.facetwp-template[data-name=employees] .fwpl-layout .fwpl-result {
		margin: auto;
		width: 320px
	}
}

ul#gform_fields_5 label {
	color: #fff;
}

.fwpl-layout.el-kpdvbf {
	grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 655px) {
	.fwpl-layout.el-kpdvbf {
		grid-template-columns: 1fr;
	}
}

.news-item {
	display: inline-block;
	vertical-align: top;
	border: 1px solid #ececec;
	width: 100%;
}

.news-item .roof-picture {
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.news-item .news-info {
	padding-top: 0px;
	background-color: #ececec;
	padding: 0;
	display: flex;
	flex-direction: column;
	position: relative;
}

.result .read-more {
	position: absolute;
	bottom: 5px;
	right: 5px;
}

.recent_news {
	display: flex;
	flex-wrap: wrap;
}

.recent_news .result {
	flex: 1 28%;
	margin: 10px;
	padding: 10px;
	background-color: #ececec;
	position: relative;
}

.employee_spotlight {
	background-color: #fff;
	padding: 0px 5px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.employee_spotlight img {
	max-height: 100px;
}

.employee_spotlight .es_item {
	margin: 10px;
	text-align: center;
}

.roof-menu .roof-social {
	display: none;
}

.facetwp-load-more {
	display: inline-block;
	vertical-align: middle;
	min-width: 120px;
	padding: 15px 24px;
	background-color: #eeb313;
	color: #232323;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	line-height: 1.42857;
	white-space: normal;
	text-align: center;
	border: 1px solid transparent;
	position: relative;
	outline: none;
	cursor: pointer;
	-webkit-border-radius: 0;
	-ms-border-radius: 0;
	border-radius: 0;
	-webkit-transition: all ease .3s;
	-ms-transition: all ease .3s;
	transition: all ease .3s;
	margin: 3em 0;
}

.facetwp-load-more:hover {
	opacity: 0.8;
}