﻿@import "vars.less";

body
{
    color: @fontColor;
    font-family: @fontFamily;
    font-weight: 300;
    font-size: 1rem;
    background-image: url('/media/52mngzfa/mc-background-pattern.png');
}

/******************************************************
                       Header
******************************************************/
.logo, .logo .row > div:first-child
{
    padding: 10px 0;
}
.logo .row > div:first-child
{
    padding-left: 15px;
    margin-bottom: 10px;
}
.logo a:first-child
{
    margin-left: 0;
}
.logo img
{
    height: @logoHeight;
    padding: 10px 0;
}
.logo .row > div:first-child a
{
    display: block;
    color: @tertiaryColor;
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
}
.logo .row > div:first-child a:last-child
{
    font-size: 0.95rem;
    font-weight: 300;
}
.header
{
    padding: 0;
}
img.footer-logo
{
    height: 55px;
}
.banner
{
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 65%;
}
.banner, .banner .banner-left
{
    height: 120px;
}
.banner .banner-left
{
    background-color: @primaryColor;
}
.banner .banner-right
{
    background-color: @bannerSecondaryColor;
}
.site-logo, .partners .container
{
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.site-logo .row
{
    height: 100%;
}
.site-logo img
{
    max-width: 100px;
    height: auto;
    padding-top: 10px;
}
.navbar
{
    padding: 0.5rem 0;
}
.navbar-light
{
    background-color: #fff;
}
.navbar a, .navbar a:link
{
    color: #fff !important;
    text-decoration: none;
}
.navbar a:focus, .navbar a:hover
{
    color: #fff !important;
    text-decoration: none;
}
ul.navbar-nav .nav-item > a
{
    padding: 12px 15px;
    font-weight: 300;
}
ul.navbar-nav > li.active > a, ul.navbar-nav > li.active > a:link
{
    color: #fff !important;
}
ul.navbar-nav > li.active > a:focus, ul.navbar-nav > li.active > a:hover
{
    color: #fff;
}
.navbar-toggler
{
    position: fixed;
    top: 2rem;
    right: 1rem;
}
.breadcrumb
{
    padding: 0;
    background-color: transparent;
}
.breadcrumb-item
{
    font-size: 0.9rem;
}
.breadcrumb-item + .breadcrumb-item::before 
{
    content: ">";
}
/******************************************************
                       Home
******************************************************/
.carousel-full .container 
{
    max-width: 100%;
}
#carouselHome
{
    width: 100%;
    margin-bottom: 1rem;
}
#carouselHome .carousel-item
{
    background-size: cover;
    background-repeat: no-repeat;
}
.carousel-image img
{
    display: block;
    width: 100%;
}
.carousel-caption
{
    color: @primaryColor;
    bottom: 20%;
    position: relative;
    left: 0;
    right: 0;
}
.carousel-caption h5, .content .carousel-caption a
{
    color: #fff;
}
.carousel-indicators
{
    bottom: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}
.carousel-indicators li
{
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 10px;
    width: 10px;
    height: 10px;
}
.carousel-indicators li
{
    background-color: #fff;
}

main .intro
{
    margin: 0 -15px;
}
.jumbotron2 
{
    background-color: #fff;
    color: @primaryColor;
    padding: 1rem 0;
}
.jumbotron2 .column:first-child div
{
    text-align: center;
    margin: auto;
    margin: 0;
    padding: 3rem 2rem;
    border-radius: 0;
    font-weight: bold;
}
.jumbotron2 span
{
    font-size: 1.25rem;
}
.facts
{
    background-color: @secondaryContentBgColor;
    padding: 3rem 2rem;
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem;
    background-image: url('/media/2eajeqjd/wsp_handvisual.png');
    background-repeat: no-repeat; 
    background-position: 95% 95%;
    background-size: 140px;
}
.facts p
{
    color: #fff;
}
.facts ul
{
    list-style-type: none;
    padding: 0 6rem 0 0;
}
.facts ul li
{
    border-top: 3px solid #fff;
    padding: 1.5rem 0;
    font-weight: normal;
}
.facts ul li:last-child
{
    border-bottom: 3px solid #fff;
}
.cta
{
    padding: 0;
}
.cta .column a, .cta a
{
    background-color: @contentBgColor;
    border: 1px solid @contentBgColor;
    border-radius: 6px;
    text-align: center;
    display: block;
    vertical-align: middle;
    padding: 0.5rem;
    color: @fontColor;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    margin-left: auto;
    margin-right: auto;
    transition: background-color 1s ease;
}
.cta .column a img, .cta a img
{
    margin-right: 5px;
    max-width: 40px;
    max-height: 40px;
}
.cta .column a:focus, .cta .column a:hover
, .cta a:focus, .cta a:hover
{
    background-color: @fourthColor;
    border: 1px solid @fourthColor;
}
.tweets
{
    height: 500px;
    overflow-y: scroll;
}

.home-tabs
{
    margin: 1rem -15px;
}

.home-tabs .nav-pills .nav-link
{
    padding: 10px;
    background-color: transparent;
    text-align: center;
}
.home-tabs .nav-pills .nav-link.active
{
    border: 1px solid @primaryColor;
    border-radius: 4px;
}
.home-tabs .nav-pills .nav-link
{
    color: @secondaryColor;
}
.home-tabs .nav-pills .nav-link.active
{
    color: @primaryColor;
    font-weight: bold;
}
.home-tab-profiles .card
{
    border: none;
    margin-bottom: 2rem;
}
.home-tab-profiles img
{
    border-radius: 0;
    margin: 0 auto;
    width: 250px;
}
.home-tab-profiles .card-body
{
    width: 250px;
    margin: 0 auto;
}
.home-tab-profiles h4
{
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.home-tab-profiles h5
{
    font-size: 1.1rem;
    font-weight: bold;
}
.tab-pane p.lifecourse-bright-blue
{
    font-weight: bold;
}

/******************************************************
                  Basic Content
******************************************************/
.content
{
    background-color: @contentBgColor;
    padding: 15px;
}
.content > .row
{
    margin: 0;
}
.content > .row > div
{
    padding: 30px;
    /*margin-top: 15px;*/
    background-color: #fff;
}
.content .grid-section .container
{
    padding: 0;
}
.content a
{
    color: @secondaryColor;
    text-decoration: none;
}
.study-intro
{
    border: 1px solid #00447c;
    border-radius: 4px;
    padding: 15px;
}
.sidebar li
{
    border-top: 1px solid @fontColor;
}
.sidebar li.active, .sidebar li:focus, .sidebar li:hover
{
    background-color: @sidebarActiveColor;
}
.sidebar li:last-child
{
    border-bottom: 1px solid @fontColor;
}
.sidebar li a, .sidebar li a:link, .sidebar li a:hover, .sidebar li a:focus
{
    color: @fontColor;
}
.secondary ol, .secondary ul
{
    padding-left: 0;
    list-style: none;
}
.secondary ol
{
    counter-reset: item;
}
.secondary ol li, .secondary ul li
{
    border-top: 3px solid @olBorderColor;
    margin-right: 1rem;
    padding: 1rem;
    counter-increment: item;
    display: table;
}
.secondary ol li::before, .secondary ul li::before
{
    font-size: 3rem;
    font-weight: bold;
    color: @olBorderColor;
    padding-right: 1.5rem;
    display: table-cell;
    vertical-align: top;
    line-height: 3rem;
}
.secondary ol li::before
{
    content: counter(item)'.';
}
.secondary ul li::before
{
    content: "\f111";
    font-family: @fontAwesome;
    font-size: 1rem;
    line-height: 2rem;
}
.secondary ol li:nth-child(odd), .secondary ul li:nth-child(odd)
{
    height: 120px;
}
.secondary ol li:nth-child(even), .secondary ul li:nth-child(even)
{
    height: 160px;
}
.secondary .grid-section > div
{
    padding: 2rem 0;
}
.secondary .grid-section > div:nth-child(odd)
{
    background-color: #fff;    
}
.secondary .grid-section > div:nth-child(even)
{
    background-color: @secondaryColor;
}
.focus-area, .focus-area-about
{
    padding: 0 15px;
}
.focus-area
{
    border-bottom: 1px solid @contentBgColor;
    margin-bottom: 1rem;
}
.focus-area.pink h1, .focus-area.pink h2, .focus-area-about.pink h2
{
    color: @lifecourse-focus-area-pink;
}
.focus-area.blue h1, .focus-area.blue h2, .focus-area-about.blue h2
{
    color: @lifecourse-focus-area-blue;
}
.focus-area.orange h1, .focus-area.orange h2, .focus-area-about.orange h2
{
    color: @lifecourse-focus-area-orange;
}
.focus-area.purple h1, .focus-area.purple h2, .focus-area-about.purple h2
{
    color: @lifecourse-focus-area-purple;
}
.focus-area .cta p > img
{
    margin: 0 auto;
    display: block;
}
.focus-area.pink .cta a
{
    background-color: @lifecourse-focus-area-pink;
    border-color: @lifecourse-focus-area-pink;
    color: #fff;
}
.focus-area.pink .cta a:focus, .focus-area.pink .cta a:hover
{
    background-color: @lifecourse-focus-area-pink-bg;
}
.focus-area.blue .cta a
{
    background-color: @lifecourse-focus-area-blue;
    border-color: @lifecourse-focus-area-blue;
    color: #fff;
}
.focus-area.blue .cta a:focus, .focus-area.blue .cta a:hover
{
    background-color: @lifecourse-focus-area-blue-bg;
}
.focus-area.orange .cta a
{
    background-color: @lifecourse-focus-area-orange;
    border-color: @lifecourse-focus-area-orange;
    color: #000;
}
.focus-area.orange .cta a:focus, .focus-area.orange .cta a:hover
{
    background-color: @lifecourse-focus-area-orange-bg;
}
.focus-area.purple .cta a
{
    background-color: @lifecourse-focus-area-purple;
    border-color: @lifecourse-focus-area-purple;
    color: #fff;
}
.focus-area.purple .cta a:focus, .focus-area.purple .cta a:hover
{
    background-color: @lifecourse-focus-area-purple-bg;
}
.focus-area-about table
{
    border: 1px solid transparent;
    margin-bottom: 1rem;
}
.focus-area-about table td
{
    padding: 1.8rem;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}
.focus-area-about.table-less-padding table td
{
    padding: 1.4rem;
}
.focus-area-about table td strong
{
    font-weight: 600;
}
.focus-area-about table tr:last-child td
{
    border-bottom: none;
}
.focus-area-about.pink table td
{
    border-bottom-color: @lifecourse-focus-area-pink;
    background-color: @lifecourse-focus-area-pink-bg;
}
.focus-area-about.blue table td
{
    border-bottom-color: @lifecourse-focus-area-blue;
    background-color: @lifecourse-focus-area-blue-bg;
}
.focus-area-about.orange table td
{
    border-bottom-color: @lifecourse-focus-area-orange;
    background-color: @lifecourse-focus-area-orange-bg;
}
.focus-area-about.purple table td
{
    border-bottom-color: @lifecourse-focus-area-purple;
    background-color: @lifecourse-focus-area-purple-bg;
}
.focus-area-about table h2
{
    margin: 0;
}
.focus-area.purple table td.highlight
{
    background-color: @lifecourse-focus-area-purple-bg;
}
/******************************************************
                    Profiles
******************************************************/
.profile
{
    background-color: #fff;
    padding: 10px;
    font-size: 1.1rem;
    text-align: center;    
    flex-direction: column;
    height: 100%;
}
.tile-img img, .tile-img i
{
    opacity: 0.2;
    transition: opacity 1s;
    -webkit-transition: opacity 1s;
}
.tile-img:hover img, .tile-img:hover i
{
    opacity: 1;
}
.tile-img .card-body
{
    height: 255px;
    position: absolute;
}
.tile-img:hover .card-body div
{
    display: none;
}
.profile .card-body a, .tile-img .card-body a
{
    text-decoration: none;
}
.profile-tile
{
    width: 255px;
    height: 255px;
    padding: 7rem 1rem;
}
.profile h3, .tile h3
{
    font-size: 1.3rem;
    font-weight: bold;
}
.profile h3
{
    font-weight: normal;
}
.profile span
{
    font-size: 1rem;
}
.profile .read-more
{
    text-align: right;
    margin-top: auto;
}
.profile .read-more a i
{
    border-radius: 50%;
    padding: 6px 4px 6px 3px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.profile .read-more a i, .profile .read-more a:link i
{
    color: @primaryColor;
    background-color: #fff;
    border: 1px solid #fff;
    
}
.profile .read-more a:focus i, .profile .read-more a:hover i
{
    color: #fff;
    background-color: @primaryColor;
    border: 1px solid @primaryColor;
}
a[aria-expanded="true"] i.fa-chevron-down:before
{
    content: "\f077";
}
.profile a
{
    color: @fontColor;
}
.profiles .short-bio
{
    background-color: @primaryColor;
    color: #fff;
    font-size: 0.9rem;
    padding: 1rem;
}
.profiles .short-bio .btn
{
    background-color: @secondaryColor;
    color: @fontColor;
}
.profiles .short-bio .btn:focus, .profiles .short-bio .btn:hover
{
    background-color: #fff;
    color: @primaryColor;
}
.profiles > .row > div, .tiles > .row > div
{
    margin-bottom: 1rem;
}
.profiles .card
{
    border-radius: 0;
    border-bottom: 4px solid @primaryColor;
    border-left: none;
    border-right: none;
    border-top: none;
    margin-left: auto;
    margin-right: auto;
    width: 255px;
}
.card
{
    border-radius: 0;
    border-bottom: 4px solid @primaryColor;
    border-left: none;
    border-right: none;
    border-top: none;
}
.card-body
{
    padding: 0;
    flex-direction: column;
}
.full-profile .btn
{
    text-transform: none;
}
.full-profile > .row > div:first-child
{
    text-align: center;
    margin-bottom: 1rem;
}
.full-profile .col-md-4 a
{
    color: @primaryColor;
}
.full-profile .col-md-4 a.btn
{
    color: #fff;
    border: 1px solid @primaryColor;
}
.full-profile .col-md-4 a.btn:focus, .full-profile .col-md-4 a.btn:hover
{
    color: @fontColor;
}
.tiles .card
{
    border: none;
    border-radius: 0;
    background-color: @primaryColor;
    border: 1px solid @primaryColor;    
    vertical-align: middle;
    text-align: center;
    transition: background-color 1s ease;
}
.tiles .card:hover
{
    background-color: @secondaryColor;
}
.tiles .card-body
{
    flex-direction: row;
    text-align: center;
}
.tiles .card-body a
{
    color: @fontColor;
}
.tiles.partner-tiles .card, .tiles.partner-tiles .card:hover
{
    background-color: #fff;
}
/******************************************************
                    News & Events
******************************************************/
.list-unstyled a
{
    color: @fontColor;
    font-weight: bold;
}
/******************************************************
                    Contact Us
******************************************************/
.contact-us
{
    background-color: @contactBgColor;
}
.contact-us a
{
    color: @fontColor;
}
.contact-us .btn
{
    background-color: @contactBtnColor;
}
.contact-us #mc_embed_signup_scroll .form-group
{
    height: 40px;
}
#map
{
    height: 400px;
}
/******************************************************
                       Form
******************************************************/
input[type="email"], input[type="text"], textarea.form-control
{
    background-color: #fff;
    border-radius: 0;
    border: 1px solid  #fff;
}
textarea.form-control
{
    height: 150px;
}
.footer-left input[type="email"]
{
    background-color: #fff;
    border-radius: 0;
    border: 1px solid @formInputColor;
}
button.btn, input.btn, a.btn
{
    background-color: @primaryColor;
    color: #fff;    
}
button.btn:focus, button.btn:hover
, input.btn:focus, input.btn:hover
, a.btn:focus, a.btn:hover
{
    background-color: @secondaryColor;
    color: #fff;
}
.form-group.row > div
{
    margin-bottom: 1rem;
}
#mc_embed_signup
{
    margin-top: 1rem;
}
.contact-us #mc_embed_signup input[type="email"]
{
    min-width: 280px;
}

/******************************************************
                       Partners
******************************************************/
.partners
{
    background-color: @partnersBgColor;
    border-top: 4px solid @primaryColor;
    padding: 2rem 0;
}
.partners.supporters
{
    border-top: none;
}
.partners .logos .row div
{
    text-align: center;
}

/******************************************************
                       Footer
******************************************************/
footer
{
    text-align: center;
}
.footer-left, .footer-right
{
    text-align: center;
}
.footer-left .form-inline .form-control
{
    display: inline-block;
    width: auto;
    vertical-align: middle;
}
.footer-left h4, .partners h4
{
    font-size: 1.1rem;
    font-weight: normal;
}
.footer-right
{
    padding-bottom: 10px;
}
.footer-right h4
{
    font-size: 1rem;
    font-weight: bold;
    margin: auto;
}
.footer-left i.fab, .footer-left i.fa
{
    color: @fontColor;
    font-weight: bold;
    height: 40px;
    width: 40px;
    text-align: center;
    padding-top: 10px;
    font-size: 20px;
}
.footer-left a:hover i.fab, .footer-left a:focus i.fab
, .footer-left a:hover i.fa, .footer-left a:focus i.fa
{
    color: #fff;
    background-color: @secondaryColor;
}
footer .small
{
    font-size: 70%;
}
.footer-right p
{
    margin: 0.5rem 0;
}
.footer-right ul
{
    margin-bottom: 0;
    padding-left: 0;
}
.footer-right ul li
{
    list-style-type: none;
    display: block;
}
.footer-right ul li a
{
    color: @fontColor;
}
h4.footer-site-type
{
    width: 100px;
    padding-right: 1.5rem;
    margin-right: 1.5rem;
    border-right: 1px solid @fontColor;    
}
.toplink.active 
{
	bottom: 15px;
    background-color: @secondaryColor;
}
.toplink:focus, .toplink:hover 
{
	background-color: @primaryColor;
    color: #fff;
}
.toplink 
{
    background-color: @secondaryColor;
	border-radius: 50%;
	position: fixed;
	bottom: -62px;
	display: block;
	right: 15px;
	text-align: center;
	transition: background-color 0.3s ease 0s, bottom 0.3s ease 0s;
	z-index: 100;
	background-color: rgba(0, 0, 0, 0.3);
	color: #fff;
    font-size: 20pt;
    padding: 10px;
    width: 50px;
    height: 50px;
}
.toplink i
{
    vertical-align: top;
}

/******************************************************
                    Font
******************************************************/
h1, .intro h3, #homepage-tab-content h2.home-tab-title
{
    color: @secondaryColor;
}
h1, #homepage-tab-content h2.home-tab-title
{
    margin: 10px 0;
    font-weight: 700;
    font-size: 2rem;
}
.intro h3
{
    font-size: 1.25rem;
}
h2.blue
{
    color: @olBorderColor;
}
h3.sidebar-header
{
    color: @secondaryColor;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    font-weight: bold;
}
.content h2
{
    font-size: 1.5rem;
    font-weight: bold;
    color: @primaryColor;
}
.content h3
{
    font-size: 1.25rem;
    font-weight: bold;
    color: @tertiaryColor;
    margin-top: 0.5rem;
}
.btn
{
    border-radius: 0;
}
.btn.home
{
    text-transform: none;
}
/*:target 
{
    display: block;
    position: relative;
    top: -120px; 
    visibility: hidden;
}*/
.umb-grid img, .content img
{
    max-width: 100%;
    height: auto !important;
}
.publication
{
    font-size: 1.1rem;
}
iframe
{
    max-width: 100%;
}

/******************************************************
                       Accordion
******************************************************/
.accordion>.card
{
    border: none;
    margin-bottom: 1rem;
}
.accordion>.card .card-header
{
    border-bottom: 4px solid @primaryColor;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 0;
}
.accordion>.card .card-header .btn-link
{
    background-color: #fff;
    color: @primaryColor;
    text-align: left;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 1rem 3rem 1rem 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    text-transform: none;
}
.accordion>.card .card-header .btn-link.collapsed
{
    background-color: #fff;
}
.accordion>.card .collapse, .accordion>.card .collapse.show
{
    padding: 0;
}
.accordion>.card .card-body
{
    /*background-color: @contentBgColor;*/
    padding: 1rem;
}
.accordion>.card .profile .card-body
{
    background-color: #fff;
}
.accordion h2 button:after
{
    content: "\f077";
    font-family: @fontAwesome;
    position: absolute;
    right: 1rem;
}
.accordion h2 button.collapsed:after
{
    content: "\f078";
}
.accordion#accFAQs
{
    margin-bottom: 2rem;
}

/******************************************************
                       Tabs
******************************************************/
.nav-tabs
{
    border-bottom: 1px solid @primaryColor;
}
.nav-tabs .nav-link
{
    background-color: #fff;
    color: @secondaryColor;
    padding: 0.5rem 0.7rem;
    border: none;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active
{
    background-color: #fff;
    color: @primaryColor;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid transparent;
    border-left: 1px solid @primaryColor;
    border-right: 1px solid @primaryColor;
    border-top: 1px solid @primaryColor;
}
.tab-pane
{
    margin-top: 20px;
}

/******************************************************
                Explore our Cohorts
******************************************************/

.cohort-constructs-table
{
    margin-top: 1rem;
    border: none;
}
.cohort-constructs-table thead th
{
    border: none;
    text-align: center;
    color: @primaryColor;
}
.cohort-constructs-table .construct span
{
    visibility: hidden;
}
.cohort-constructs-table .construct.active
{
    background-color: @secondaryColor;
}
/******************************************************
                     Timeline
******************************************************/
.timeline
{
    margin-top: 20px;
    border-collapse: separate !important;
    table-layout: fixed;
}
.table.timeline tr td
{
    text-decoration: none;
    padding: 5px 0;
    color: @secondaryColor;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}
.table.timeline tr.cohort td:nth-child(1), .table.timeline tr.cohort td:nth-child(2)
{
    border-top: none;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
}
each(@lifecourse-colors, {
   table.timeline tr.cohort .@{key} {
        border-color: @value;
    } 
});
each(@lifecourse-bgcolors, {
   .@{key} {
        background-color: @value;
    } 
});
each(@lifecourse-modalcolors, {
   .cohort-modal .@{key} {
        background-color: @value;
    } 
});

.cohort-start-year, .cohort-end-year {
    color: #fff !important;
    text-decoration: none !important;
}
.cohort-start-year 
{
    padding-left: 5px;
    float: left;
}
.cohort-end-year 
{
    padding-right: 5px;
    float: right;
}
.cohort-start-end-year-spillover {
    color: @primaryColor !important;
    text-decoration: none !important;
    float: left;
}
.arrow-right {
    width: 0;
    height: 0;
    border-top: 16.75px solid transparent !important;
    border-bottom: 16.75px solid transparent !important;
    border-left: 16.75px solid;
}
.modal-content
{
    border-radius: 0;
    border: none;
}
.cohort-modal h2, .cohort-modal h3
{
    color: #fff;
    font-weight: 700;
    padding: 15px 0 5px 0;
}
.cohort-modal h3
{
    margin-top: 0;
}
.cohort-modal .close
{
    color: #fff;
    opacity: 1;
    text-shadow: none;
}
.cohort-modal .modal-header, .cohort-modal .modal-footer
{
    border: none;
}
.cohort-modal a.btn
{
    background-color: #fff;
    border: none;
    color: @fontColor;
}
.cohort-modal .modal-body
{
    padding: 0;
}
.cohort-summary
{
    padding: 0 15px;
    color: #fff;
}
.cohort-summary ul li p
{
    display: inline;
}
/******************************************************
                       Study
******************************************************/
table.study.study-domain
{
    margin-left: 1px;
}
table.study thead th, table.study tbody th.wave-heading 
, table.lifecourse-table thead th, table.lifecourse-table tbody th
{
    background-color: @primaryColor;
    color: #fff;
    text-align: center;
}
table.study tbody td.wave-heading
{
    text-align: left;
}
table.study.study-domain thead th.wave-heading
{
    background-color: @secondaryColor;
    color: #fff;
    box-sizing: border-box;
    outline: 1px solid @contentBgColor;
    vertical-align: top;
}
table.study.study-domain thead th.wave-heading.first-col
{
    border-left-color: @secondaryColor;
    border-top-color: @secondaryColor;
    border-bottom-color: @secondaryColor;
    vertical-align: bottom;
}
table.study.study-domain thead tr:nth-child(1) th.second-col
, table.study.study-domain thead tr:nth-child(2) th.second-col
, table.study.study-domain thead tr:nth-child(3) th.second-col
{
    border-right-color: @secondaryColor;
}
table.study.study-domain thead tr:nth-child(1) th.second-col
{
    border-top-color: @secondaryColor;
}
table.study.study-domain thead tr:nth-child(3) th.second-col
{
    border-bottom-color: @secondaryColor;
}
table.study.study-domain th
{
    border-bottom-width: 1px;
}
table.study.study-domain td span a, table.study.study-domain td span a:link
{
    text-decoration: underline;
}
table.study.study-domain td span a:focus, table.study.study-domain td span a:hover
{
    text-decoration: none;
}
table.study.study-domain td sup
{
    position: unset;
    vertical-align: super;
}
table.study tbody th, table.study tbody td
{
    background-color: #fff;
    vertical-align: top !important;
}
table.study-overview tbody th
{
    width: 25%;
}
table.study-design tr th:first-child
{
    border: none;
}
table.study-design thead th, table.study-domain th.wave-year
{
    min-width: 100px;
}
/*table.study-design thead th.first-row
{
    height: 50px;
    min-height: 50px;
    top: 70px;
}
table.study-design thead th.second-row
{
    height: 50px;
    top: 120px;
}
table.study-design thead th.third-row
{
    height: 50px;
    top: 170px;
}*/
table.study-domain th.wave-year, table.study tbody th.wave-heading
{
    background-color: @primaryColor;
    color: #fff;
    border-color: @contentBgColor;
}
table.study tbody th.wave-heading
{
    box-sizing: border-box;
    outline: 1px solid @contentBgColor;
    border: none;
}
table.study-design thead th.wave-heading
{
    background-color: #fff;
    color: @primaryColor;
    min-width: unset;
}
table.study-design thead th
, table.study-domain th, table.study-domain td
{
    font-size: 0.9rem;
}
table.study-domain th, table.study-domain td
{
    padding: 0.4rem;
}
table.study-domain th, table.study-design thead th
{
    vertical-align: top;
}
table.study span
{
    font-weight: 900;
    white-space: nowrap;
}
table.study ul
{
    padding-left: 20px;
}
.legend span
{
    font-weight: 900;
}
.featured-measure dd
{
    text-indent: -8px;
}
/*.vertical-scrolling
{
    overflow-y: auto;
    height: 500px;
}*/
table.study-design td.vertical-text
{
    text-align: right; 
    vertical-align: middle;    
    border: none;
}
.vertical-text span
{
    writing-mode: vertical-lr; 
    transform: rotate(180deg); 
    color: @primaryColor;
    font-weight: bold;
}
.sticky-col
/*, table.study-design thead tr:first-child th, table.study-design thead tr:nth-child(2) th, table.study-design thead tr:nth-child(3) th*/
{
    position: -webkit-sticky;
    position: sticky;
    z-index: 998;
}
/*table.study-design thead tr:first-child th
{
    top: 0;
}
table.study-design thead tr:nth-child(2) th
{
    top: 50px;
}
table.study-design thead tr:nth-child(3) th
{
    top: 100px;
}*/
.first-col
{
    width: 151px;
    min-width: 151px;
    left: 0px;
}
.second-col
{
    width: 53px;
    left: 151px;
}
.colspan-col
{
    width: 144px;
    left: 0;
}
table.study-domain td > span
{
    display: block;
}
table.study-design td.domain
{
    background-color: @secondaryColor;
    color: #fff;
    text-align: center;
    padding: 3px;
}
table.study-design td.domain a
{
    color: #fff;
    display: block;
}
.fa-info-circle, .fa-star
{
    color: @secondaryColor;
}
.tooltip-inner
{
    background-color: @fourthColor;
    border-radius: 0;
    text-align: left;
    white-space: nowrap;
    min-width: 100px;
    max-width: 100%; 
}
.advanced-search-tooltip.tooltip-inner
{
    max-width: 500px;
    white-space: break-spaces;
}
.advanced-search-tooltip.tooltip-inner p
{
    margin-bottom: 0 !important;
}
.advanced-search-tooltip.tooltip-inner a
{
    color: #fff;
    text-decoration: underline;
}
.advanced-search-tooltip.tooltip-inner a:focus, .advanced-search-tooltip.tooltip-inner a:hover
{
    text-decoration: none;
}
/* for arrow color */
.arrow::before {
    border-bottom-color: @fourthColor !important;
    border-top-color: @fourthColor !important;
}

[data-placement="top"] + .tooltip > .tooltip-arrow 
{
    border-top-color: @fourthColor !important;
}

[data-placement="right"] + .tooltip > .tooltip-arrow 
{
    border-right-color: @fourthColor;
}

[data-placement="bottom"] + .tooltip > .tooltip-arrow 
{
    border-bottom-color: @fourthColor;
}

[data-placement="left"] + .tooltip > .tooltip-arrow 
{
    border-left-color: @fourthColor;
}

.lifecourse-green, .lifecourse-green a
{
    color: @lifecourse-green;
}
.lifecourse-yellow, .lifecourse-yellow a
{
    color: @lifecourse-yellow;
}
.lifecourse-pink, .lifecourse-pink a
{
    color: @lifecourse-pink;
}
.lifecourse-purple, .lifecourse-purple a
{
    color: @lifecourse-purple;
}
.lifecourse-bright-blue, .lifecourse-bright-blue a
{
    color: @lifecourse-bright-blue;
}
.lifecourse-emerald-green, .lifecourse-emerald-green a
{
    color: @lifecourse-emerald-green;
}
.lifecourse-red, .lifecourse-red a
{
    color: @lifecourse-red;
}
.lifecourse-orange, .lifecourse-orange a
{
    color: @lifecourse-orange;
}
dd
{
    margin-bottom: 0;
}
sup.notes
{
    color: @fontColor;
}
.notes-list
{
    margin-bottom: 1rem;
}
.notes-list .domain-notes
{
    margin-bottom: 1rem;
}
.notes-list p
{
    display: inline;
}
/******************************************************
                 MEASUREMENT LIBRARY
******************************************************/
.dataTables_filter
{
    margin: 1rem 0;
}
.dataTables_filter label
{
    display: block;
}
table#ref_table td:nth-child(2), table.study-overview td:nth-child(2)
{
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;

    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}
table#ref_table td:first-child a
{
    white-space: nowrap;
}
#accDomain .dataTables_wrapper .dataTables_info, #reference .dataTables_wrapper .dataTables_info 
{
    float: none;
}
#accDomain .dataTables_wrapper .dataTables_filter, #reference .dataTables_wrapper .dataTables_filter
{
    float: none;
    text-align: left;
}
.dataTables_wrapper .dataTables_filter input.form-control
{
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    background-color: #fff;
    margin-left: 0 !important;
}
.measure-ref
{
    margin-bottom: 1rem;
}
table.dataTable span.highlight
{
    font-size: inherit;
    font-weight: inherit;
    background-color: #FFFF88;
}
.dataTables_length
{
    margin-top: 10px;
}
/******************************************************
                        SEARCH
******************************************************/
.lifecourse-search
{
    margin-bottom: 2rem;
}
.lifecourse-search-box
{
    width: 85% !important;
    max-width: 425px;
}
.lifecourse-search-result
{
    margin-top: 2rem;
}
.lifecourse-search-result h2
{
    margin-bottom: 2rem;
}
.lifecourse-search-result .card
{
    border: 1px solid @primaryColor;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1rem;
}
.lifecourse-search-result .card-title
{
    color: @primaryColor;
}
.lifecourse-search-result .card-title a
{
    color: @secondaryColor;
}
.lifecourse-search-result .card h6
{
    text-transform: uppercase;
    font-size: 0.8rem;
}
.lifecourse-search-result .card-text
{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
#searchModal
{
    background-color: rgba(0, 179, 220, 0.5);
    color: #fff;
}
#searchModal
{
    .modal-header
    {
        border: none;
    }
    .modal-content
    {
        background-color: transparent;
    }
    h5.modal-title
    {
        color: #fff;
        font-size: 2rem;
    }
    .modal-search-box
    {
        width: 100% !important;
        max-width: unset;
        border-radius: 0;
        border: 0;
        border-bottom: 2px solid #fff;
        outline: none;
        background-color: transparent;
        color: #fff;
    }
    .modal-search-box:focus
    {
        outline: none;
        border-color: inherit;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    ::placeholder
    {
        color: #fff;
        opacity: 1;
    }
    :-ms-input-placeholder
    {
        color: #fff;
    }
    ::-webkit-input-placeholder
    {
        color: #fff;
    }
    ::-moz-placeholder
    {
        color: #fff;
    }
    :-moz-placeholder
    {
        color: #fff;
    }
    .col-md-10
    {
        padding: 0;
    }
    .close, a
    {
        color: #fff;
    }
    a:not(.btn), a:not(.btn):link
    {
        text-decoration: underline;
    }
    a:not(.btn):focus, a:not(.btn):hover
    {
        text-decoration: none;
    }
}
/******************************************************
                    Advanced Search
******************************************************/
.data-element-fields
{
    background-color: @primaryColor;
    padding: 1rem 0;
    margin-bottom: 0;
}
.data-element-fields .col
{
    background-color: #fff;
    border-radius: 10px;
    margin: 0 10px 0 0;
    padding-top: 15px;
    padding-bottom: 15px;
}
.data-element-fields .col:first-child
{
    margin-left: 10px;
}
.data-element-fields .col > div div:first-child
{
    margin-right: 5px;
}
.data-element-fields label
{
    font-size: 0.85rem;
    padding-right: 2px;
}
.data-element-buttons
{
    display: none;
    padding-top: 1rem;
}
.data-element-create
{
    border: 15px solid @primaryColor;
    border-top: none;
    padding: 15px 0;
    margin-bottom: 1rem;
}
#btnAddDataElement
{
    margin-right: 1rem;
}
.data-element button.close
{
    margin-left: 10px;
    width: 30px;
    height: 30px;
    border: 1px solid #f00;
    border-radius: 5px;
    color: #f00;
}
.data-element-fields .flex-column
{
    width: 50% !important;
}
.select2
{
    width: 100% !important;
}
.select2-selection
{
    font-size: 0.8rem;
}
table.study.search
{
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    cursor: pointer;
}
table.study.search td
{
    font-size: 0.9rem;
}
table.study.search th
{
    min-width: 150px;
    vertical-align: top;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice
{
    white-space: normal;
}
.select2-results__option 
{ 
    font-size: 0.9rem;
}
.select2-container--default .select2-search--inline .select2-search__field
{
    font-size: 0.675rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove
{
    height: 100%;
}
#modal-info .modal-body
{
    padding: 15px;
    background-color: #fff;
    color: @fontColor;
}
table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled
{
    background-position: 100% 15% !important;
}
/* Import the other css files at the very end */
@import "media/small.less";
@import "media/medium.less";
@import "media/large.less";
@import "media/extra-large.less";
