﻿/*
//-----------------------------------------------------------------------
// <copyright file="president-card.css" company="Federal Reserve Bank of Boston">
//     © 2024 Federal Reserve Bank of Boston
// </copyright>
// <summary>This is the president-card.css file.
//          used with Featured-card.css 
//</summary>
//-----------------------------------------------------------------------
// Internal FR – Source Code
*/
/* ReSharper disable UnknownCssVendorExtension */
/* ReSharper disable CssBrowserCompatibility */

.president-card {
    height: 140px;
}

.president-card .president-card-caption {
    padding: 25px 15px 10px;
    display: inline-block;
}

.president-card .president-card-title {
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #003a5d;
    margin-top: 25px; 
}

.president-card .president-card-summary {
    color: #6ba2b9;
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
    margin-top: 7px;
}



.president-card .president-card-img-wrapper {
    height: 140px;
    display: inline-block;
    overflow: hidden;
    position: relative;
    padding: 0;
    width: 33%;
}

.president-card .president-card-img-wrapper .focuspoint img {
    position: absolute;
    max-width: none;
    min-height: 100%;
}

@media (min-width: 320px) {
    .president-card .president-card-img-wrapper {
        height: 100%;
        display: inline-block;
        overflow: hidden;
        position: relative;
        width: 33%;
    }
}

@media (min-width: 768px) {
    .president-card .president-card-img-wrapper {
        height: 100%; 
        display: inline-block;
        overflow: hidden;
        position: relative;
        width: 33%;
        float: left;
    }
    .president-card .president-card-caption.col-md-8 {
        position: absolute;
    }
}

@media (min-width: 992px) {
    .president-card .president-card-img-wrapper {
        height: 100%;
        display: inline-block;
        overflow: hidden;
        position: relative;
        width: 33%;
        float: left;
    }

    .president-card .president-card-caption.col-md-8 {
        position: relative;
    }
}
@media (min-width: 1200px) {
    .president-card .president-card-img-wrapper {
        height: 100%;
        display: inline-block;
        overflow: hidden;
        position: relative;
        width: 33%;
    }
}


