﻿@import "vars.less";

body {
    color: @fontColor;
    font-family: @fontFamily;
    font-weight: 400;
    font-size: 1.2rem;
}

/******************************************************
                       Header
******************************************************/
.logo {
    padding-top: 8px;
    padding-bottom: 7px;
}

.logo img {
    height: @logoHeight;
    padding: 10px 0;
}

img.footer-logo {
    height: 55px;
}

.banner {
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-size: 80%;
}

.banner, .banner .banner-left {
    height: 120px;
}

.banner .banner-left {
    background-color: @tertiaryColor;
}

.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: 180px;
    height: auto;
    padding-top: 10px;
}

.navbar {
    padding: 0.5rem 0;
}

.navbar-light {
    background-color: #fff;
}

.navbar a, .navbar a:link {
    color: @fontColor;
    text-decoration: none;
}

.navbar a:focus, .navbar a:hover {
    color: @primaryColor;
    text-decoration: none;
}

ul.navbar-nav .nav-item > a {
    line-height: 30px;
}

ul.navbar-nav > li.active > a, ul.navbar-nav > li.active > a:link {
    color: @tertiaryColor !important;
    font-weight: bold;
}

ul.navbar-nav > li.active > a:focus, ul.navbar-nav > li.active > a:hover {
    color: @fontColor;
}

.fixed-top {
    padding: 0.5rem 33px;
}
/******************************************************
                       Home
******************************************************/
.carousel-full .container {
    max-width: 100%;
}

#carouselHome {
    width: 100%;
}

#carouselHome .carousel-item {
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
}

.carousel-opacity {
    width: 100%;
    height: 100%;
    background-color: #444;
    opacity: 0.5;
}

.carousel-intro-caption {
    width: 90%;
    height: 100%;
    padding: 2rem;
    color: #fff;
    margin: 0 auto;
}

.carousel-intro-caption h5, .carousel-intro-caption p {
    text-align: center;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0 3rem;
}

.carousel-intro-caption h5 {
    font-size: 2rem;
    padding-bottom: 1rem;
    bottom: 50%;
}

.carousel-intro-caption p {
    font-size: 1.2rem;
    padding-bottom: 1rem;
    bottom: 10%;
}

.carousel-caption {
    color: #fff;
    bottom: 20%;
}

.carousel-caption h5, .carousel-caption a {
    color: #fff;
}

.carousel-indicators {
    bottom: 10%;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.carousel-inner .carousel-item:first-child h5 {
    font-size: 2.03rem;
}

main .intro, .jumbotron {
    padding: 3rem 0;
    background-color: @contentBgColor;
}

main .intro img {
    margin: auto;
    display: block;
    margin-top: 1rem;
}

.jumbotron {
    color: @tertiaryColor;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.jumbotron2 {
    background-color: #fff;
    color: @tertiaryColor;
    padding: 1rem 0;
    font-size: 1.5rem;
}

.jumbotron2 .column:first-child div {
    text-align: center;
    margin: auto;
    margin: 0;
    padding: 3rem 2rem;
    border-radius: 0;
    font-weight: bold;
}

.facts, .facts-header {
    background-color: #fff;
}

.facts {
    padding: 1rem 0 3rem 0;
}

.facts-header {
    padding: 3rem 0;
}

.facts .column {
    display: flex;
}

.facts .column div {
    padding: 1rem;
    background-color: @primaryColor;
    color: #fff;
}

.facts .column:first-child div {
    background-color: @secondaryContentBgColor;
    color: #fff;
}

.facts .column ul {
    margin-left: 25px;
}

.facts h2, .facts-header h2 {
    color: @tertiaryColor;
    font-size: 2rem;
}

.facts ul {
    padding: 0;
}

.facts img {
    padding-bottom: 1rem;
}

.cta {
    padding: 3rem 0;
}

.cta .column a {
    width: 200px;
    height: 200px;
    background-color: @tertiaryColor;
    border: 1px solid @tertiaryColor;
    border-radius: 50%;
    text-align: center;
    display: block;
    vertical-align: middle;
    padding: 5.3rem 3.1rem;
    color: #fff;
    text-decoration: none;
    margin-left: auto;
    margin-right: auto;
    transition: background-color 1s ease;
}

.cta .column:first-child a {
    padding: 4.5rem 3.1rem;
}

.cta .column a:focus, .cta .column a:hover {
    background-color: @contentBgColor;
    color: @fontColor;
}

.tweets {
    height: 500px;
    overflow-y: scroll;
    margin-top: 35px;
}

/******************************************************
                  Basic Content
******************************************************/
.content {
    background-color: @contentBgColor;
}

.content.about {
    background-color: @contentBgColor;
}

.sidebar li {
    border-top: 1px solid @fontColor;
}

.sidebar li.active, .sidebar li:focus, .sidebar li:hover {
    background-color: @primaryColor;
}

.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;*/
    list-style-position: inside;
}
/*.secondary ol
{
    counter-reset: item;
}*/
.secondary ol li {
    border-top: 2px solid @tertiaryColor;
    margin-right: 1rem;
    padding: 1rem;
    /*counter-increment: item;
    display: table;*/
}

.secondary ol li:last-child {
    border-bottom: 2px solid @tertiaryColor;
}

.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;
}

.vision, .vision h2 {
    color: @tertiaryColor;
}

.about-intro {
    background-image: url('/media/avvf1njc/parents-and-baby-2.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom center;
}

.about-intro h2 {
    color: #fff;
}

.about-intro .intro-text {
    color: #fff;
    background-color: @tertiaryColor;
    padding: 2rem;
}
/******************************************************
                    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;
}

.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 @tertiaryColor;
    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;
}

.projects .card-body {
    padding: 1.25rem;
}

.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;
}

.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: @tertiaryColor;
}

.tiles .card-body {
    padding: 1rem;
    flex-direction: row;
    text-align: center;
}

.tiles .card-body a {
    color: @fontColor;
}

.tiles.partner-tiles .card, .tiles.partner-tiles .card:hover {
    background-color: #fff;
}
/******************************************************
                       Accordion
******************************************************/
.accordion > .card {
    border: none;
    margin-bottom: 1rem;
}

.accordion > .card .card-header {
    border-bottom: 4px solid @tertiaryColor;
    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 0;
}

.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";
}

/******************************************************
                    News & Events
******************************************************/
.list-unstyled a {
    color: @fontColor;
    font-weight: bold;
}

.media {
    flex-direction: column;
}
/******************************************************
                    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: @tertiaryColor;
    color: #fff;
}

button.btn:focus, button.btn:hover, input.btn:focus, input.btn:hover, a.btn:focus, a.btn:hover {
    background-color: @secondaryColor;
    color: @fontColor;
}

.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 @tertiaryColor;
    padding: 2rem 0;
}

.partners .logos .row div, .partners p {
    text-align: center;
}

.partners p {
    font-size: smaller;
}
/******************************************************
                       Footer
******************************************************/
footer {
    background-color: @contentBgColor;
}

.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 {
    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 {
    color: #fff;
    background-color: @secondaryColor;
}

.footer-right .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, h2 {
    color: @tertiaryColor;
}

.intro h2, .content.about h1, .content.about h2 {
    color: @tertiaryColor;
}

h1 {
    margin-bottom: 1.5rem;
}

h2
{
    font-size: 1rem;
}

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;
}

.btn {
    border-radius: 0;
    text-transform: lowercase;
}

: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%;
}

main .intro .card-sorting img
{
    margin-top: 0;
}
.card-sorting .col
{
    border: 1px solid rgba(0, 0, 0, .125);
    background-color: #fff;
    padding-right: 0;
}
#colcards
{
    height: 688px;
    overflow-y: scroll;
}
#colcards .list-group-item
{
    /*display: none;*/
}
#colcards .list-group-item:first-child
{
    display: block;
}
.card-categories .card-sorting
{
    margin-bottom: 1rem;
}
.card-categories .list-group
{
    min-height: 175px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: auto;
}
/* !important is needed sometimes */
::-webkit-scrollbar 
{
    width: 12px !important;
    -webkit-overflow-scrolling: touch;
}

/* Track */
::-webkit-scrollbar-track 
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3) !important;
    -webkit-border-radius: 10px !important;
    border-radius: 10px !important;
}

/* Handle */
::-webkit-scrollbar-thumb 
{
    -webkit-border-radius: 10px !important;
    border-radius: 10px !important;
    background: #41617D !important;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5) !important;
}

::-webkit-scrollbar-thumb:window-inactive 
{
    background: #41617D !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";
