@import url('https://use.fontawesome.com/releases/v5.15.1/css/all.css');

/* Globals */

:root {

/*  Colour definitions */

    --tap-orange: #f2ca10;
    --tap-blue: #739bb8;
    --tap-white: #fff;
    --tap-black: #000;
    --tap-light-blue: #A6DCFF;
    --tap-light-grey: #dcdcdc;

/*  Standard Colour applications */

    --blue-background: var(--tap-blue);
    --white-background:  var(--tap-white);
    --black-background:  var(--tap-black);

    --blue-text:  var(--tap-blue);
    --orange-text:  var(--tap-orange);
    --white-text:  var(--tap-white);

    --candidate-card-background: var(--blue-background);
    --candidate-card-links-colour: var(--tap-orange);

}

.candidate-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-family: 'Nunito',Helvetica,Arial,Lucida,sans-serif;
    font-size: 1em;
}


.candidate-card {
    display: flex;
    max-width: 100%;
    min-height: 520px;
    margin-bottom: 10px;
    background-color: var(--candidate-card-background);
    color: var(--white-text);
    flex-flow: column;
    padding: 0px 10px 0px 10px;
    border-radius: 5px;
}

/*  Card Heading */

.candidate-card-heading {
    padding: 0px 10px 0px 10px;
    height: 100px;
    border-bottom: 1px solid var(--tap-white);
}

.candidate-card h2 {
    border: none;
    font-size: 1.3em;
    color: var(--white-text) !important;
    padding: 0;
    margin: 10px 0px 0px 0px;
}

.candidate-card h1:before, 
.candidate-card h2:before, 
.candidate-card h3:before, 
.candidate-card h4:before, 
.candidate-card h5:before, 
.candidate-card h6:before,
.candidate-card h1:after, 
.candidate-card h2:after, 
.candidate-card h3:after, 
.candidate-card h4:after, 
.candidate-card h5:after, 
.candidate-card h6:after {
    content: none;
}

.candidate-card h3 {
    font-style: italic;
    font-size: 1.0em;
    color: var(--white-text) !important;
    padding: 0;
    margin: 5px 0 0 0;
}


/* card body */
.candidate-card-body {
    flex-grow: 6;
    padding: 0px 10px 10px 5px;
    font-size: 0.8em;
    max-height: 300px;
    overflow: hidden;
}

/*card footer */
.candidate-card-footer {
    border-top: 1px solid var(--white-text);
    padding: 10px;
    height: 100px;
}

.candidate-card-footer a:link, 
.candidate-card-footer a:hover,
.candidate-card-footer a:visited,
.candidate-card-footer a:active {
    color: var(--candidate-card-links-colour);
}

 .tap-rec-cand-work-options {
    list-style-type: none !important;
    align-items: stretch;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
}

.tap-rec-cand-find-out-more {
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0;
    width: 100%;
}

.tap-rec-cand-find-out-more .pill {
    display: flex;
    width: 100%;
    height: 40px;
    border-radius: 20px;
    background-color: var(--tap-white);
    padding: 6px 10px 0px 10px;
    margin-bottom: auto;
    flex-direction: column;
    align-items: center;
}


.tap-rec-cand-find-out-more  a:link, 
.tap-rec-cand-find-out-more  a:hover,
.tap-rec-cand-find-out-more  a:visited,
.tap-rec-cand-find-out-more  a:active {
    color: var(--candidate-card-links-colour);
    text-decoration: none !important;
}


.ltap-rec-cand-work-options li{
    display: inline-block;
    flex: 0 1 auto;
    padding: 0;
    margin: 0;
}

.tap-rec-cand-work-options {
    padding: 5px;
}

@media only screen and (min-width: 720px)
{
    .candidate-card {
        flex: 0 0 49%;
        max-width: 48%;
    }
}