﻿
.no-wrap {
    white-space: nowrap;
}

input[type=text]:read-only, textarea:read-only, select:disabled {
    color: #000000;
    background-color: #f3f2f1;
    opacity: 1;
}

.govuk-daera_cp_contact_summary-list {
    font-size: 14px !important;
    font-size: .875rem !important;
    line-height: 1.14286 !important;
}

.message {
    white-space: pre-line;
}

#MessageConversation div.govuk-panel:nth-child(even) {
    color: #383f43;
    background: #eeefef
}


.daera-timeline {
}

.daera-timeline__events {
    border-left: 3px solid #1d70b8;
    list-style-type: none;
    padding: 0;
}

.daera-timeline__events--entry {
    margin: 32px 0;
    padding-left: 18px;
    position: relative;
    top: -10px;
}

    .daera-timeline__events--entry .govuk-inset-text {
        border-left-width: 3px;
    }

    .daera-timeline__events--entry::before {
        background-color: #1d70b8;
        content: '';
        height: 3px;
        left: -1px;
        position: absolute;
        top: 10px;
        width: 11px;
    }


@media (min-width: 40.0625em) {
    .govuk-daera_cp_contact_summary-list {
        font-size: 16px !important;
        font-size: 1rem !important;
        line-height: 1.25 !important;
    }

        .govuk-daera_cp_contact_summary-list .govuk-summary-list__key {
            width: 25%;
        }

        .govuk-daera_cp_contact_summary-list .govuk-summary-list__actions {
            width: 25%;
        }
}

/* 20/12/2022 Dark link style for shaded backgrounds (e.g. Service name banner) */

.daera-shaded-background__link {
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: underline
}

@media print {
    .daera-shaded-background__link {
        font-family: sans-serif
    }
}

.daera-shaded-background__link:focus {
    outline: 3px solid rgba(0,0,0,0);
    color: #0b0c0c;
    background-color: #fd0;
    box-shadow: 0 -2px #fd0,0 4px #0b0c0c;
    text-decoration: none
}

.daera-shaded-background__link:link, .daera-shaded-background__link:visited {
    color: #0b0c0c
}

@media print {
    .daera-shaded-background__link:link, .daera-shaded-background__link:visited {
        color: #000
    }
}

.daera-shaded-background__link:hover {
    color: rgba(11,12,12,.99)
}

.daera-shaded-background__link:active, .daera-shaded-background__link:focus {
    color: #0b0c0c
}

@media print {
    .daera-shaded-background__link:active, .daera-shaded-background__link:focus {
        color: #000
    }
}

.daera-multiselect {
    background-color: #fff;
    border: 5px solid #b1b4b6;
    margin-right: 0;
    overflow-y: auto;
    padding: 15px;
    height: 200px;
}

.validation-summary-errors {
    font-weight: bold;
    color: red;
    font-size: large;
    font-family: Arial;
}

.optOut-button {
    background: none !important;
    border: none;
    padding: 0 !important;
    /*optional*/
    font-family: arial, sans-serif;
    /*input has OS specific font-family*/
    color: #069;
    text-decoration: underline;
    cursor: pointer;
    font-size: large
}

.sort-link {
    font-family: arial, sans-serif;
    text-decoration: underline;
    cursor: pointer;
    font-size: large;
}

.sort-link-optin {
    font-family: arial, sans-serif;
    text-decoration: underline;
    cursor: pointer;
    font-size: large;
}

#GeneratePdf {
    float: right;
}

.option-separator {
    border-left: 1px solid grey;
    margin-right: 10px;
}

.daera-wrap-content {
    overflow-x: auto;
}

.float-right {
    float: right;
}

.bold-text {
    font-weight: bold;
}

#summary-details {
    display: block;
}


ul.horizontal-list {
    list-style: none;
    display: inline;
    padding-left: 10px;
}

    ul.horizontal-list li {
        display: inline-block;
        padding-right: 5px;
        border-right: 1px solid black;
    }

        ul.horizontal-list li:last-child {
            border-right: none;
        }




.scrollable-table {
    display: block;
    height: 500px;
    overflow-y: scroll;
}

/* Sortable Table*/
table.sortable td,
table.sortable th {
}

.animals-age-column {
    width: 12em;
}

table.sortable th {
    position: relative;
}

    table.sortable th.no-sort {
    }

   /* table.sortable th:nth-child(5) {
        width: 12em;
    }*/

    table.sortable th button {
        position: initial;
        font-size: 100%;
        font-weight: bold;
        background: transparent;
        border: none;
        display: inline-block;
        right: 0;
        left: 0;
        top: 0;
        bottom: 0;
        width: auto;
        text-align: left;
        outline: none;
        cursor: pointer;
        padding: 0;
        color: #1d70b8
    }

        table.sortable th button span {
        }

    table.sortable th[aria-sort="none"] span::after {
        position: absolute;
        content: "▲";
        color: currentcolor;
        font-size: 50%;
        top: 10px;
        padding: 0 5px
    }

    table.sortable th[aria-sort="none"] span::before {
        position: absolute;
        content: "▼";
        color: currentcolor;
        font-size: 50%;
        top: 20px;
        padding: 0 5px
    }


    table.sortable th[aria-sort="descending"] span::after {
        content: "▼";
        color: currentcolor;
        font-size: 100%;
        top: 0;
    }

    table.sortable th[aria-sort="ascending"] span::after {
        content: "▲";
        color: currentcolor;
        font-size: 100%;
        top: 0;
    }

table.show-unsorted-icon th:not([aria-sort]) button span::after {
    content: "♢";
    color: currentcolor;
    font-size: 100%;
    position: relative;
    top: -3px;
    left: -4px;
}

table.sortable td.num {
    text-align: right;
}



/* Focus and hover styling */

table.sortable th button:focus {
    background-color: #FFDD00;
    box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
    color: #0B0C0C;
    outline: none
}

    table.sortable th button:focus span {
        /* right: 2px; */
    }

table.sortable th:not([aria-sort]) button:focus span::after {
    content: "▼";
    color: currentcolor;
    font-size: 100%;
    top: 0;
}

.no-underline {
    text-decoration: none;
}

ul.horizontal-list-bullet {
    
}

    ul.horizontal-list-bullet li {
        display: inline-block;
    }

.calving-event-header {
    font-size: 22px;
}

.calving-event-eartag-column {
    width: 155px;
}
.govuk-table__cell, .govuk-table__header {
    padding: 10px 19px 10px 0;
    border-bottom: 1px solid #b1b4b6;
    text-align: left;
    vertical-align: top;
}

.calculator-padding {
    padding-bottom: 10px;
}
