@import 'stylesheets/app.css';

/* Our Founder Page */
.ray-intro {background-color:#ebebeb; padding:40px 20px;}
/* End of Our Founder Page */

.nav-wrap li a {
	font-weight: bold;
}

/* Mobile menu */

#wprmenu_menu #ufg-contact-wrp {
    margin: 0 0 111px 0;
    padding: 0;
}
#wprmenu_menu .ufg-header-contact {
    color: #FFFFFF;
    text-align: left;
    /* margin-top: 13px; */
    font-family: 'ralewayregular';
    font-size: 1em;
    padding-top: 8px;
	width: auto !important;
	border-top: 0px !important;
	border-bottom: 0px !important;
	 margin-left: 11px;
}
#wprmenu_menu .ufg-header-number {
    color: #ffffff;
    font-size: 1.25em;
    padding-top: 3px;
    font-family: 'robotomedium';
	width: auto !important;
	border-top: 0px !important;
	border-bottom: 0px !important;
}
#wprmenu_menu .ufg-header-request, #wprmenu_menu .ufg-header-social{
	border-top: 0px !important;
	border-bottom: 0px !important;
}
#wprmenu_menu a.ufg-header-btn {
	background-color: transparent;
    padding: 0rem .50rem;
    border-radius: 5px;
    font-size: .90em;
    color: #ffffff;
    font-family: 'ralewaybold';
    display: block;
    border: 2px solid #ffffff !important;
    margin: 2px 0 8px 6px;
    width: auto !important;
}
#wprmenu_menu a:hover.ufg-header-btn {
    background-color: #ffffff;
    color: #2682d5;
	padding: 0rem .50rem;
	margin: 2px 0 8px 6px;
}
#wprmenu_menu ul.header-socialmedia > li {
    display: block;
    float: left;
    vertical-align: middle;
    margin: 0 2px;
    width: auto !important;
    padding: 0 !important;
	border-top: 0px !important;
	border-bottom: 0px !important;
}
#wprmenu_menu ul.header-socialmedia li a{
	padding: 0 5px !important;
}
#wprmenu_menu_ul .section{
	color: #fff;
	font-weight: bold;
	padding: 0 0 0 10px;
}
#wprmenu_menu.wprmenu_levels ul li{
	border-bottom: 0px !important;
	border-top: 0px !important;
}
#wprmenu_menu.wprmenu_levels > ul {
    border-bottom: 1px solid #2E2E2E!important;
}
#wprmenu_menu.wprmenu_levels a.wprmenu_parent_item {
    border-left: 0 !important;
}
@media only screen and (max-width: 1080px){
	#ufg-brands-list{
		margin-left: 0px;
	}
	.ufg-home-brands li{
		padding: 0px;
	}
}
@media only screen and (max-width: 640px){
	header .ufg-header-wrp{
		display: none;
	}
	.mobile-menu-old, .ufg-nav-wrp{
		display: none !important;
	}
	#wprmenu_bar{
		height: auto;
	}
	#wprmenu_bar .bar_logo{
		width: 280px;
		height: auto;
	}
	#wprmenu_menu.left, #wprmenu_menu.right{
		top: 58px !important;
	}
	#ufg-brands-list .ufg-logo-brands{
		list-style: none;
	}
	.ufg-tabs-wrp, .ufg-tabs-wrp ul{
		width: 100%;
	}
	.ufg-tabs-wrp ul li{
		width: 50%;
	}
	.ufg-tab-title.active a, .ufg-tab-title a{
		font-size: 12px;
	}
	
}
@media only screen and (max-width: 40em) {
	.ufg-banner {
		/*height: 100% !important;*/
	}
	.ufg-slide01-vid{
		position: relative;
		height: 0 !important;
		padding-bottom: 56.25%;
	}
	.ufg-slide01-vid iframe{
		height: 100% !important;
		position: absolute;
		top: 0;
	}
	.ufg-tabs-wrp {
		/*position: relative !important;*/
	}
}
@media only screen and (min-width: 64.063em){
	.ufg-ty-iconwrp img {
		width: 50%;
	}
}
span.cat-links {
    display: none;
}

.wordbreak {
    word-break: break-word !important;
}

.video-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.blog-item {
	margin: 30px 15px 30px 0px !important;
    	padding: 15px;
    	border: 1px solid #D2D2D2;
}

.blog-item h5 a {
	color: #008CBA !important;
}

/* TIMELINE CLASSES */
#cd-timeline {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
    max-width: 1170px;
}

#cd-timeline::before {
	/* this is the vertical line */
	content: '';
	position: absolute;
	top: 0;
	left: 50px;
	height: 100%;
	width: 4px;
	background: #d7e4ed;
}

.cd-timeline-block:first-child {
    margin-top: 0;
}

.cd-timeline-block {
    position: relative;
    margin: 2em 0;
}

.cd-timeline-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background-color: #d7e4ed;
}

.cd-timeline-img img {
	width: 100%;
}

.cd-timeline-content {
    margin-left: 120px;
    display: table;
}

.cd-timeline-wrapper {
	display: table-cell;
	vertical-align: middle;	
}

.cd-timeline-box {
	font-family: Roboto, Sans-Serif;
	font-size: 0.9em;
    position: relative;
    background: white;
    border-radius: 0.25em;
    padding: 1em;
    box-shadow: 0 3px 0 #d7e4ed;
    border: 1px solid #d7e4ed;
}

.cd-timeline-content::before {
    content: '';
    position: absolute;
    top: 46px;
    right: 100%;
    height: 0;
    width: 0;
    border: 7px solid transparent;
    border-right: 7px solid #d7e4ed;
}

.cd-timeline-content:after {
    content: "";
    display: table;
    clear: both;
}

.cd-timeline-block:after {
    content: "";
    display: table;
    clear: both;
}

.cd-timeline-content h2 {
	font-family: Roboto, Sans-Serif;
	font-weight: 700;
	margin: 0px;
	padding: 0px;
}

.cd-timeline-content p {
	margin: 1em 0;
	padding: 0px;
	line-height: 1.6em;
}

.cd-timeline-content .cd-read-more {
    float: right;
    padding: .8em 1em;
    background: #acb7c0;
    color: white;
    border-radius: 0.25em;
}

.cd-timeline-content .cd-date {
    float: left;
    padding: .8em 0;
    opacity: .7;
    font-weight: bold;
}

.is-hidden {
	visibility: hidden;
}

@media only screen and (min-width: 1170px) 
{
	#cd-timeline::before {
	    left: 50%;
	    margin-left: -2px;
	}

	.cd-timeline-content {
	    margin-left: 0;
	    width: 37%;
	    height: 200px;
	}

	.cd-timeline-content::before {
		top: 98px;
	    left: 100%;
	    border-color: transparent;
	    border-left-color: #d7e4ed;
	}

	.cd-timeline-block {
		height: 200px;
	}

	.cd-timeline-block:nth-child(even) .cd-timeline-content {
	    float: right;
	}

	.cd-timeline-img {
	    width: 200px;
    	height: 200px;
	    left: 50%;
	    margin-left: -100px;
	}

	.cd-timeline-block:nth-child(even) .cd-timeline-content::before {
	    top: 98px;
	    left: auto;
	    right: 100%;
	    border-color: transparent;
	    border-right-color: #d7e4ed;
	}

}

/* OUR TEAM PAGE CLASSES */
#menu-our-team.menu{
	float: left;
    margin-bottom: 1.25rem !important;
    max-width: 100%;
    width: 90%;
    margin-top: 15px;
    padding-top: 5.5rem;
    padding-bottom: 15px;
    background-color: #efefef;
    position: relative;
    margin-left: 10px;
    margin-right: 10px;
}

#menu-our-team .menu-item {
	position: inherit;
    float: none;
    display: block;
    top: auto;
    margin-left: 2px;
    margin-right: 2px;
    border-top: 1px solid #c4c7c8;
    border-bottom: 1px solid #ffffff;
}

#side-tabs .menu-item > a {
	font-weight: bold;
    font-size: .80em;
    color: #565656;
    padding: 15px 20px;
    outline: none;
    font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
    display: block;
    background-color: #EFEFEF;
}

#category-page .category-title {
	margin-top: 20px;
	font-family: 'robotoregular';
	color: #134b73;
    line-height: 1.2em;
    font-size: 1.25em;
    font-weight: bold;
}

#category-page .category-article {
	margin-top: 40px;
	margin-bottom: 40px;
}

#category-page .category-article:nth-of-type(1) {
	margin-top: 20px;
	margin-bottom: 40px;
}

#category-page hr {
	margin: 0px;
}