/*
 Theme Name:   FHI Lab Theme
 Description:  A theme for the FHI labs (based on the Zerif PRO theme)
 Author:       Phil Bicking
 Template:     zerif-pro
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  zerif-pro-child
*/

.navbar-brand {
        min-height: 90px;
}

.home .wp-video {
	margin-bottom: 2em;
}

#carousel-homepage-latestnews .item .latestnews-box:nth-child(4n+1) .latestnews-title a:before {
RewriteRule . index.php [L]
	background: #CB4F04 !important;
}
#carousel-homepage-latestnews .item .latestnews-box:nth-child(4n+2) .latestnews-title a:before {
	background: #A1B70D !important;
}
#carousel-homepage-latestnews .item .latestnews-box:nth-child(4n+3) .latestnews-title a:before {
	background: #001A57 !important;
}
#carousel-homepage-latestnews .item .latestnews-box:nth-child(4n) .latestnews-title a:before {
	background: #FFD960 !important;
}

#content section {
	padding-top: 40px;
	padding-bottom: 40px;
}

#focus .row {
	width: 70%;
	margin: 0 auto;
	float: none;
}

#focus span:nth-child(4n+1) .focus-box .service-icon:hover {
	border: 10px solid #CB4F04 !important;
}
#focus span:nth-child(4n+2)  .focus-box .service-icon:hover{
	border: 10px solid #A1B70D!important;
}
#focus span:nth-child(4n+3) .focus-box .service-icon:hover {
	border: 10px solid #001A57 !important;
}
#focus span:nth-child(4n+4) .focus-box .service-icon:hover{
	border: 10px solid #FFD960 !important;
}
#focus span:nth-child(4n+1) .focus-box .red-border-bottom:before {
	background: #CB4F04 !important;
}
#focus span:nth-child(4n+2) .focus-box .red-border-bottom:before {
	background: #A1B70D !important;
}
#focus span:nth-child(4n+3) .focus-box .red-border-bottom:before {
	background: #001A57 !important;
}
#focus span:nth-child(4n+4) .focus-box .red-border-bottom:before {
	background: #FFD960 !important;
}

.our-team .row > span:nth-child(4n+1) .red-border-bottom:before{
	background: #CB4F04 !important;
}
.our-team .row > span:nth-child(4n+2) .red-border-bottom:before{
	background: #A1B70D !important;
}
.our-team .row > span:nth-child(4n+3) .red-border-bottom:before{
	background: #001A57 !important;
}
.our-team .row > span:nth-child(4n+4) .red-border-bottom:before{
	background: #FFD960 !important;
}

.type-course .entry-title,
.type-portfolio .entry-title,
.type-team .entry-title {
	font-weight: bold;
}

.type-course .wp-post-image,
.type-portfolio .wp-post-image,
.type-team .wp-post-image {
	float: right;
	margin: 0 0 40px 40px;
}

.type-course .connected-content,
.type-portfolio .connected-content,
.type-team .connected-content {
	list-style-type: none;
	padding: 10px 0 0;
	margin: 0 0 20px;
}

.type-course .connected-content li,
.type-portfolio .connected-content li,
.type-team .connected-content li {
	margin-bottom: 10px;
}

.team-member .profile-pic img {
	width: auto;
	height: auto;
}

#client-feedbacks .feedback-box {
	padding: 15px;
}

#client-feedbacks .widget .widget-title {
	margin-top: 10px;
}

/*accessibility fixes*/

.so-widget-sow-headline-default-3db5503f926b .sow-headline-container h1.sow-headline {
	color: #279dc9;
}

#pg-2155-2> .panel-row-style {
	background-color: #279dc9;
}

.widget li a, .widget a, article .entry-meta a, article .entry-content a, .entry-footer a {
	color: #207db4;
}
a {
	color: #207db4;
}
