/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

@import url('https://fonts.googleapis.com/css?family=Martel:100,200,300,400,600,700');

[uk-height-viewport] { height: auto !important; }

* { text-rendering:optimizeLegibility; }

/* R3D Frontend Login  ******/
#topspacer {position:fixed; top:0; left:0; display:block; width:20px; height:20px; z-index:11111; margin-top: -10px;}
#topspacer img, map, map > area { padding:0; margin:0; top:0; left:0;}

/* R3D Frontend Login  ******/

h1, h2, h3, h4, h5, h6 {
    font-family: 'Martel', serif;
    font-weight: 300;
}

li .uk-list-line > li:nth-child(n+2) {
    margin-top: 5px;
    padding-top: 5px;
  padding-bottom:30px;
    border-top: 1px solid #dcdcdc;
}

/* AH - Nav letter-spacing */
.uk-navbar-nav > li > a {
  letter-spacing:1px;
}

/* AH - Left text alignment on Approach Quote Slider */
.quote-slider .uk-overlay-panel{
  padding-left:0px;
}

/* AH - Line up left side of main article to modules */
.tm-main{
  padding:0px 40px 0px 70px;
}
/* AH - Footer Link Adjustment */
.tm-footer a {
    color: #bababa;
}

.tm-footer a:hover{
  color:#66a9ef;
}


/* team and investment grid: buttons */
.teamgrid .uk-subnav-pill > * > * {
  width: 155px;
  text-align: center;
}
.investmentgrid .uk-subnav-pill > * > * {  /* RD same length AND same height & aligned */
  display: table-cell;
  width: 77px;
  height: 40px;
  text-align: center;
  line-height:20px;
  vertical-align: middle;
  font-weight: 300;
}

.investmentgrid .uk-subnav-pill > *:first-child > * {
  width: 77px;
  text-align: center;
}

/* investment grid: grey DIVIDER
.investmentgrid .uk-subnav-pill > li:first-child,
.investmentgrid .uk-subnav-pill > li:nth-child(3) {
  padding-right: 32px;
  margin-right: 20px;
  border-right: 1px solid #5d8ec1;
} */

/* investment grid: button colors */
.investmentgrid .uk-subnav-pill > li a {
  background-color: #7da4cf;
  color: #ffffff;
  font-weight: normal;
  font-size: 13px;
  line-height: 16px;
}
.investmentgrid .uk-subnav-pill > li.uk-active a {
  background-color: #46617f;
  color: #ffffff;
  font-weight: normal;
  font-size: 13px;
  line-height: 16px;
}

.investmentgrid .uk-subnav-pill > li:last-child  a, 
.investmentgrid .uk-subnav-pill > li:last-child  a {
    background-color: #858585;
}

.investmentgrid .uk-subnav-pill > li.uk-active:last-child  a,
.investmentgrid .uk-subnav-pill > li.uk-active:last-child  a {
  background-color: #46617f;
}

/* TEAM Button colors */
.uk-panel.auto-content .uk-subnav-pill > li a,
.uk-panel.investmentgrid.team .uk-subnav-pill > li a {
  color: #ffffff;
  font-weight: normal;
  font-size: 13px;
  line-height: 16px;
}
.uk-panel.auto-content .uk-subnav-pill > li.uk-active a,
.uk-panel.investmentgrid.team .uk-subnav-pill > li.uk-active a {
  background-color: #46617f;
  color: #ffffff;
  font-weight: normal;
  font-size: 13px;
  line-height: 16px;
}
.uk-panel.auto-content .uk-subnav-pill > li a:hover,
.uk-panel.investmentgrid.team .uk-subnav-pill > li a:hover  {
  background-color: #46617f;
}

/* Investment Panel */
.portfoliotitle .uk-panel-teaser {
  margin-bottom: 0px;
  background-color: #f8f8f8;
}


/* light blue bg panelbox */
.auto-content        .uk-panel-box,
.investmentgrid.team .uk-panel-box {
  background: #F0F8F8;
}
.uk-panel.auto-content .tm-block-alt .uk-panel-box:not(.uk-panel-box-secondary),
.uk-panel.investmentgrid.team .tm-block-alt .uk-panel-box:not(.uk-panel-box-secondary) {
  background-color: #F0F8F8;
}
.auto-content a.uk-position-cover {
  border: none;
}

/* investment grid: grey border */
.investmentgrid a.uk-position-cover {
  border: 1px solid #DCDCDC;
}
.grayscale-reverse .uk-overlay-grayscale {
  -webkit-filter: grayscale(0%); 
  -moz-filter:    grayscale(0%);
  -ms-filter:     grayscale(0%);
  -o-filter:      grayscale(0%);
  filter: grayscale(0%);  
}
.grayscale-reverse .uk-overlay-hover:hover .uk-overlay-grayscale {  
  -webkit-filter: grayscale(100%); 
  -moz-filter:    grayscale(100%);
  -ms-filter:     grayscale(100%);
  -o-filter:      grayscale(100%); 
  filter: grayscale(100%); 
}

/* new team grid */
.investmentgrid.team a.uk-position-cover {
    border: none;
}


/* AH - Copyright alignment */
.copyright{
  float:right;text-align:right;margin-top:-25px;
}

.sectors{
  padding:65px;
  margin:30px;
}

/* AH - Global style for bio images */
.bio-image img{
  width:250px;
  float:right;
  padding-top:8px;
}

/* AH - About FFL History Padding */
.history-first {
  padding:10px 10px 10px 40px;
}

.history {
  padding:10px;
}

/*AH - Interior Image Alignment */
.portfolio-logo-interior{
  padding-top: 10px; 
  float: right;
}

.interior-portrait{
  padding-top:8px;
  float:right;
}


/* TEAM RIGHT - Executive Investors  */
.teamgrid .team-grid .uk-panel.uk-panel-box .uk-margin {
  margin: 0 -65px;
}

.teamgrid .team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors {
  width: 400%;
  min-width: 400%;
  height: auto !important; 
  min-height: 1955px;
  float: left;
  margin: -28px 0 0 25px;
  padding: 0px 0 10px 0;
  text-align: left;
  background-color: #ffffff;
}
.teamgrid .team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors p {
  text-align: left;
}
.teamgrid .team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors .uk-panel .uk-margin  {
  margin: 0 30px;
}
.teamgrid .team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors .uk-panel .uk-panel-teaser {
  display: none;
}
div[data-uk-filter="Executive Investors"] div.uk-panel.uk-panel-box {
  background-color: #ffffff !important;
}

.teamgrid .team-grid div .uk-panel .uk-margin .executive-investors .execinvest > div > div.uk-panel .uk-margin {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* teamgrid top and bottom padding, line-height */
.teamgrid .team-grid > div > div.uk-panel.uk-panel-box div.uk-margin {
  margin-top: -7px;
  line-height: 26px;
}
.teamgrid .team-grid > div > div.uk-panel.uk-panel-box {
  padding-bottom: 18px;
}

/*contact page RD */
.contact-us .uk-article > h1.uk-article-title {
  font-size: 30px;
  line-height: 42px;
  font-family: "Martel",serif;
  font-weight: 300;
  color: #385675;
}

/*contact form */
.contact-us .uk-article .uk-grid .leftcol {
  min-width: 210px;
}
.contact-us .uk-article .uk-grid .rightcol {
  min-width: 477px;
  max-width: 700px;
}

#contactForm fieldset div.uk-form-controls.formControls {
  margin-left: 0px !important;
}
#contactForm input.rsform-input-box,
#contactForm textarea.rsform-text-box {
  width: 100% !important;
  border-color: #5d8ec1;
}
.formValidation .formError {
  font-size: 12px;
  color: red;
  font-weight: normal;
}

/* RD fixes after move to FFL Server */
.about-ffl .tm-content .uk-article .servicewidget .about-services .uk-panel.uk-panel-box {
  display: table;
  padding: 60px 10px;
  margin: auto;
  text-align: center;
  vertical-align: middle;
}
.about-ffl .tm-content .uk-article .servicewidget .about-services .uk-panel.uk-panel-box h3 {
  display: table-cell;
  width: 130px;
  height: 68px;
  text-align: center;
  vertical-align: middle;
}
/* home slider text */
.home .tm-top-a .home-slider .uk-overlay-panel.uk-overlay-bottom.uk-overlay-slide-bottom .uk-margin div.homeslideshow {
  width: 41%;
}
/* HIDE slider overlay transition */
.home .uk-overlay-active .uk-overlay-fade {
    transition-duration: 0.5s;
}

.uk-dropdown-navbar .uk-nav-navbar > li > a:link,
.uk-dropdown-navbar .uk-nav-navbar > li > a:visited {
  color: #ffffff;
  text-decoration: none;
}
.uk-dropdown-navbar .uk-nav-navbar > li > a:hover,
.uk-dropdown-navbar .uk-nav-navbar > li > a:active {
  color: #ffffff;
  text-decoration: underline;
}





/* ###################  NEW  ##############################*/
/* alternative TEAM subnav pages */

.tm-block-submenu.uk-hidden-small {
  width: 100%;
  height: 32px;
}
.tm-block-submenu.uk-hidden-small div ul#teams-submenu.uk-nav {
  width: 100%;
  height: 32px;
  margin-left: 20px;
}
.tm-block-submenu.uk-hidden-small div ul#teams-submenu.uk-nav > li {
  display: inline-block;
  width: 174px;
  height: 32px;
  text-align: center;
  padding: 0;
  margin: 0;
  margin-left: 10px;
}
.tm-block-submenu.uk-hidden-small ul#teams-submenu li > a {
  color: #666666;
  border: none;
  box-shadow: none;
  height: 32px;
  padding: 0;
}
.tm-block-submenu.uk-hidden-small ul#teams-submenu li.uk-active > a,
.tm-block-submenu.uk-hidden-small ul#teams-submenu li.uk-active > a:hover,
.tm-block-submenu.uk-hidden-small ul#teams-submenu li.uk-active > a:focus,
.tm-block-submenu.uk-hidden-small ul#teams-submenu li > a:hover,
.tm-block-submenu.uk-hidden-small ul#teams-submenu li > a:focus {
  color: #385675;
  border: 1px solid #5d8ec1;
  box-shadow: none;
  height: 32px;
  padding: 2px 0 0 0;
}
/* .tm-block-submenu.uk-hidden-small ul#teams-submenu li > a:hover,
.tm-block-submenu.uk-hidden-small ul#teams-submenu li > a:focus {
  color: #385675;
  border: none;
  box-shadow: none;
  height: 32px;
  padding: 0;
}*/
.operating-team > div.tm-block.tm-block-top-a.tm-block-padding-large,
.investment-team > div.tm-block.tm-block-top-a.tm-block-padding-large,
.finance-team > div.tm-block.tm-block-top-a.tm-block-padding-large,
.administrative-team > div.tm-block.tm-block-top-a.tm-block-padding-large,
.executive-investors > div.tm-block.tm-block-top-a.tm-block-padding-large {
  padding-bottom: 20px;
}

/* TEAM GRID - Executive Investors  */
.team-grid .uk-panel.uk-panel-box .uk-margin {
  margin: 0 -65px;
}
.team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors {
  width: 400%;
  min-width: 400%;
  height: auto !important; 
  min-height: 1955px;
  float: left;
  margin: -28px 0 0 25px;
  padding: 0px 0 10px 0;
  text-align: left;
  background-color: #ffffff;
}
.team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors p {
  text-align: left;
}
.team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors .uk-panel .uk-margin  {
  margin: 0 30px;
}
.team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors .uk-panel .uk-panel-teaser {
  display: none;
}
.team-grid div .uk-panel .uk-margin .executive-investors .execinvest > div > div.uk-panel .uk-margin {
  padding-left: 0 !important;
  margin-left: 0 !important;
}
/* teamgrid top and bottom padding, line-height */
.team-grid > div > div.uk-panel.uk-panel-box div.uk-margin {
  margin-top: -7px;
  line-height: 26px;
}
.team-grid > div > div.uk-panel.uk-panel-box {
  padding-bottom: 18px;
}

.tm-block-alt {
  background-color: #ffffff;
}




















@media only screen and (max-width: 1220px) {
  .teamgrid .team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors {
    width: 540%;
    min-width: 540%;
    height: auto !important; 
    min-height: 2020px;
    float: left;
    margin: -65px 0 0 0px;
    padding: 20px 0 10px 0;
    text-align: left;
    background-color: #ffffff;
  }
  
  .history-first {
  padding:10px !important;
}
  
}
@media only screen and (max-width: 960px) {
  .teamgrid .team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors {
    width: 400%;
    min-width: 400%;
    height: auto !important; 
    min-height: 2380px;
    float: left;
    margin: -65px 0 0 0px;
    padding: 20px 0 10px 0;
    text-align: left;
    background-color: #ffffff;
  }
}

@media only screen and (max-width: 768px) {
  .teamgrid .team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors {
    width: 320%;
    min-width: 320%;
    height: auto !important; 
    min-height: 2650px;
    float: left;
    margin: -65px 0 0 0px;
    padding: 20px 0 10px 0;
    text-align: left;
    background-color: #ffffff;
  }
  .portfolio-logo-interior{
    padding-top: 10px; 
    float: left;
      padding-bottom:25px;
  }
  
  .interior-portrait{
    float:left;
    padding-bottom:25px;
  }
  .column-responsive{
    padding-top:20px;
  }
  
  /* home slider text */
  .home div.homeslideshow {
    width: 50% !important; 
  }
  .home div.homeslideshow h3 {
    font-size: 18px;
    line-height: 150%;
  }
  .home div.homeslideshow h1 {
    font-size: 24px;
    line-height: 150%;
  }
  
}
@media only screen and (max-width: 480px) {
  .teamgrid .team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors {
    width: 100%;
    min-width: 100%;
    height: auto !important; 
    min-height: 3000px;
    float: left;
    margin: -20px 0 0 0px;
    padding: 10px 0;
    text-align: left;
  }
  .contact-us .uk-article .uk-grid .rightcol {
    min-width: 360px;
  }

  /* home slider text */
  .home div.homeslideshow {
    width: 66% !important; 
  }
  .home div.homeslideshow h3 {
    font-size: 16px;
    line-height: 150%;
  }
}
@media only screen and (max-width: 360px) {
  .teamgrid .team-grid > div > div.uk-panel.uk-panel-box > div.uk-margin > div.executive-investors {
    width: 100%;
    min-width: 100%;
    height: auto !important; 
    min-height: 3000px;
    float: left;
    margin: -20px 0 0 0px;
    padding: 10px 0;
    text-align: left;
  }
  .contact-us .uk-article .uk-grid .rightcol {
    min-width: 240px;
  }

  /* home slider text */
  .home .homeslideshow {
    width: 90% !important;
  }
  .home div.homeslideshow h3 {
    font-size: 14px;
    line-height: 140%;
  }

}
































/* MEDIA TAGS */

@media only screen and (max-width: 1220px) {
  .tm-main{
    padding-left:60px;
  }
  .tm-sidebar-a .uk-panel-box{
    padding:15%;
  }
}

/* Only tablets portrait and smaller */
@media (max-width: 959px) {
  /* HIDE search on tablets portrait */
  .uk-navbar-flip.tm-nav-search {
    display: none;
  }
}

@media only screen and (max-width: 736px) {
  .copyright{
    float:left;
    text-align:left;
    margin-top:10px;
  }
}
