/***************************************/


/* Override HTML                       */


/***************************************/

hr {
    border-width: 1px;
}

p {
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

h2 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

[data-title]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.5s;
    visibility: visible;
}

[data-title]:after {
    content: attr(data-title);
    position: absolute;
    bottom: -1.6em;
    left: 100%;
    padding: 4px 4px 4px 8px;
    color: #fff;
    font-size: 1rem;
    white-space: pre;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    /*-moz-box-shadow: 0px 0px 4px #222;*/
    /*-webkit-box-shadow: 0px 0px 4px #222;*/
    /*box-shadow: 0px 0px 4px #222;*/
    background-image: -moz-linear-gradient(top, #000000, #000000);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f8f8f8), color-stop(1, #000000));
    background-image: -webkit-linear-gradient(top, #000000, #000000);
    background-image: -moz-linear-gradient(top, #000000, #000000);
    background-image: -ms-linear-gradient(top, #000000, #000000);
    background-image: -o-linear-gradient(top, #000000, #000000);
    opacity: 0;
    z-index: 99999;
    visibility: hidden;
}

[data-title] {
    position: relative;
}


/***************************************/


/* Override Bootstrap                  */


/***************************************/

body {
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8rem;
}

.nav-link {
    padding: 0 0 0 0;
}

.container-fluid {
    background: #F5F5F1;
    min-height: calc(100vh - 3.5rem);
    flex: 1;
}

.container {
    padding-right: 0;
    padding-left: 0;
}

@media screen and (min-width: 768px) {
    .container {
        max-width: 1024px;
    }

    .containerWide {
        max-width: 1200px;
    }
}

.table .thead-light th {
    color: #212529;
}

.table-sm td,
.table-sm th {
    padding: 2px;
    padding-left: 4px;
    padding-right: 4px;
}

.custom-select {
    width: auto;
}

.custom-select,
.custom-input {
    color: #343a40;
    border: 1px solid #343a40;
}

.custom-select:focus {
    border-color: #343a40;
}

.custom-select:hover {
    cursor: pointer;
}

.material-icons-outlined.circle {
    color: #FFF;
    background-color: #070;
    font-size: .8rem;
    padding: .1rem;
    border-radius: 1rem;
    vertical-align: baseline;
}


/***************************************/


/* ID styles                        */


/***************************************/


/* Header */

#main-content {
    flex: 1;
}

#header-bar {
    background: #FFF;
    height: 80px;
    border-bottom: 1px solid #d1d3d4;
}

#header-bar .container {
    position: relative;
}

#header-bar,
#header-bar a {
    color: #212529;
}

#header-bar a > h1 {
    margin-left: 6.5rem;
    margin-top: 0;
    display: inline-block;
    font-size: .9rem;
    text-transform: uppercase;
}

#header-bar > .container > a {
    background-size: 100px;
    width: 100px;
    background-image: url("/Shared/images/logo_svart.svg");
    background-repeat: no-repeat;
}

#header-bar .ion-md-log-in {
    padding-right: .25rem;
}

#header-bar-logo {
    width: 89px;
    height: 18px;
}

@media screen and (min-width: 768px) {
    #header-bar-logo {
        width: 100px;
        height: 29px;
    }
}

#avlsplan-leftpart {
    margin-left: 10px;
    color: #000;
}

#avlsplan-rightpart {
    color: #84bd00;
}


/* Menu */

#header-bar-menu {
    margin-left: auto;
}

#header-bar-menu .menu-item {
    cursor: pointer;
}

#header-bar-menu .menu-button:active {
    color: #000;
}

#header-bar-menu small {
    display: block;
}

.menu-item > a > span {
    display: block;
}

.menu-item > a > i {
    display: block;
}

#modal-menu {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    top: 80px;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1030;
    overflow-y: auto;
    animation-duration: 500ms;
    animation-name: fade;
}

#modal-menu-content .user-info {
    position: relative;
    padding: 1rem;
    background-color: #f3f3f2;
    overflow: hidden;
}

#modal-menu-content .logout {
    position: absolute;
    right: 1rem;
    font-size: 1.1rem;
}

#modal-menu-content .logout a {
    text-decoration: underline;
}

.popover-container {
    display: inline-block;
    margin-left: .5rem;
}

.popover-container .icon {
    font-size: 1.3rem;
}

.popover-container .icon:hover {
    cursor: pointer;
}

.popover-container .modal-close {
    display: inline-block;
    margin-left: .25rem;
    color: #000;
    line-height: 1.2rem;
}

.popover-container .arrow {
    top: 41px;
}

.bs-popover-right {
    margin-left: 0;
}

.popover {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: 0;
    margin: 0 auto;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.63);
    max-width: none;
    border: none;
    border-radius: inherit;
}

.popover-content {
    background-color: #fff;
    position: absolute;
    bottom: 1rem;
    margin: 0 auto;
    left: 1rem;
    right: 1rem;
}

#modal-menu-content {
    position: absolute;
    right: 0;
    left: 0;
    background: #fff;
    text-align: left;
    font-size: 1rem;
}


@media screen and (min-width: 768px) {
    .popover-container {
        position: relative;
    }

    #modal-menu-content {
        right: 1rem;
    }

    .popover {
        top: inherit;
        bottom: inherit;
        background-color: transparent;
        top: -43px;
        bottom: -38px;
        left: 1.5rem;
        margin-left: .5rem;
        position: absolute;
        width: 300px;
    }

    .popover-content {
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        border: 1px solid rgba(0, 0, 0, .2);
        border-radius: .3rem;
        position: relative;
    }

    #modal-menu-content .logout {
        position: initial;
        float: right;
    }
}

@media screen and (min-width: 1057px) {
    #modal-menu-content {
        right: 0;
    }
}

#modal-menu-content .menu-history-header {
    margin-top: 1rem;
    margin-bottom: .25rem;
}

#modal-menu-content ul:first-child {
    margin-top: 1rem;
}

#modal-menu-content ul {
    padding-left: 0;
    margin-bottom: 1rem;
}

#modal-menu-content label {
    display: block;
}

#modal-menu-item {
    padding: 12px 0px;
}

#modal-menu-content #farmCode {
    width: 7rem;
}

#modal-menu-arrow-container {
    margin: -2px 0px 0px 4px;
    float: right;
}

#modal-menu-username-container {
    display: inline;
    overflow: hidden;
}

#menu-button-switch-producer {
    margin-left: 4px;
    margin-bottom: 4px;
}

#advisor-menu,
#producer-menu {
    padding-top: .5rem;
    margin-bottom: .5rem;
}

#advisor-menu ul,
#producer-menu ul {
    list-style-type: none;
    padding: 0;
}

#advisor-menu input,
#producer-menu input,
#producer-menu button,
#advisor-menu button {
    display: inline-block;
    width: auto;
}

#advisor-menu table,
#producer-menu table {
    margin-top: 8px;
}

#advisor-menu table th,
#producer-menu table th {
    font-size: 12px;
}

#advisor-menu table td:hover,
#producer-menu table td:hover {
    cursor: pointer;
}

#admin-testpage-input {
    margin-top: 1.5rem;
}

.clickable:hover {
    cursor: pointer;
}

.confirm {
    margin-top: 1rem;
}

.confirm button:first-child {
    margin-right: 4rem;
}


/* Avlsplan listing */

.alert-dismissable {
    margin-bottom: 20px;
    margin-top: 20px;
}


/* Text styles */

.bold-main-font {
    font-size: 1rem;
    font-weight: bold;
}

.normal-font {
    font-size: 1rem;
    /*font-size: 0.875rem;*/
    font-weight: normal;
}

.inner-header-font {
    font-size: 0.75rem;
    font-weight: normal;
}

.input-container .inner-header-font {
    margin-left: .5rem;
}

.input-container label {
    margin-bottom: 0;
}

.info-icons {
    font-size: 1rem;
    background: #111C25;
    color: #FFFFFF;
    padding: 4px 8px;
    border-radius: 1rem;
    line-height: 1.2;
    font-style: normal;
    vertical-align: bottom;
}

.ion-md-star {
    color: #111C25;
}

.cow-status-icon-container {
    margin-bottom: .5rem;
}

.gs-icon {
    height: 1rem;
    /*height: 0.875rem;*/
    margin-right: 4px;
    padding-left: 4px;
    padding-bottom: 3px;
    opacity: 0.5;
}

.hide i,
.arrow-for-overlay {
    padding-left: 0px;
    float: right;
    font-size: 1.2rem;
}

.hide i {
    margin: 1px -9px -3px .25rem;
}

@media screen and (min-width: 768px) {
    .cows .hide {
        position: absolute;
        bottom: 0;
        right: 0;
    }
}

.arrow-for-overlay {
    transform: rotate(45deg);
}

.button-overlay-text {
    margin-right: 0.5rem;
    display: inline-block;
}

.arrow-for-overlay-mobile {
    float: right;
    transform: rotate(45deg);
    font-size: 1.2rem;
    margin: -2px -5px -8px 0;
}

.breeding-plan-button {
    margin: 0.25rem 0.25rem .25rem 0;
}

.breeding-plan-button-static-width,
.mobile-filter .breeding-plan-table-filter,
#print-cow-notes,
#print-breeding-plan,
.sort-button {
    width: 16.4rem !important;
}

@media screen and (min-width: 768px) {
    .input-container .breeding-plan-button {
        margin: 0 .25rem 0 0;
    }
}

@media screen and (min-width: 900px) {
    .sort-button {
        width: 13.1rem !important;
    }
}

.table-prod thead {
    display: none;
}

@media screen and (min-width: 470px) {
    .table-prod thead {
        display: table-header-group;
    }
}


/* Graphs */

#graph-panel {
    padding: 40px 0px 40px 0px;
    margin: -15px -15px 0px -15px;
}

#graph-panel .header {
    font-size: 1.25rem;
    margin-bottom: 10px;
    text-align: center;
}

@media screen and ( min-width: 853px) {
    #graph-panel .header {
        text-align: left;
    }
}

#graph-panel .index-name {
    margin-left: -10%;
    margin-right: -10%;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
}

#graph-panel .col {
    position: relative;
}

#graph-panel .arrow {
    cursor: pointer;
    height: 50px;
    width: 50px;
}

#graph-panel .arrow i {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

#graph-panel .index-name:hover {
    cursor: pointer;
}

#graph-panel .ebv-chart {
}

.ebv-chart svg {
    height: 70px;
    width: 70px;
    background: #FFF;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

#graph-panel .graphs {
    text-align: center;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
}

#graph-panel .graphs-statistics {
    width: 5rem;
}

.graphs-statistics {
    margin: 0rem 1rem 2rem;
}

.statistics-row {
}

#statistics-overview {
}

#statistics-overview h4:hover {
    cursor: pointer;
}

#statistics-overview h2 {
    display: inline-block;
}

@media screen and (min-width: 500px) {
    #statistics-overview .statistics-buttons {
        position: absolute;
        right: 0.5rem;
        top: 0.5rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.statistics-row h4 {
    font-weight: 500;
    border-bottom: 1px solid #212529;
    padding-top: 1rem;
}

.statistics-row h4 i {
    position: absolute;
    right: .25rem;
}

/*.statistics-row .graphs-statistics {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    margin-right: 1rem;*/
/*    margin-left: 1rem;*/
/*}*/

.graphs-statistics .ebv-chart {
    width: 8rem !important;
    height: auto !important;
}

.graphs-statistics .ebv-chart .index-name {
    text-align: center;
}

@media screen and (max-width: 320px) {
    .graphs-statistics .ebv-chart .index-name {
        word-break: break-all;
    }
}

#graph-panel .graphs > div {
    display: inline-block;
    margin: auto;
    position: relative;
    flex-grow: 1;
}

.ebv-chart {
    display: inline-block;
    position: relative;
    height: 70px;
    width: 70px;
}

.ebv-chart:hover {
    cursor: pointer;
}

#breeding-development .avg-index {
    font-size: 1.25rem;
    text-align: center;
}

#breeding-development th {
    border-bottom: 0;
}

#breeding-development .your-herd {
    text-align: right;
}

#breeding-development .your-herd span {
    width: 60%;
    display: inline-block;
    text-align: center;
}

#graph-panel .ebv-chart:hover {
    cursor: pointer;
}

#graph-panel .navigation-arrow {
    cursor: pointer;
}


/* Prognose styling */

#prognoses-download-csv {
    float: right;
    margin: .5rem;
}

#back-arrow {
    margin-right: 6px;
}

#create-prognoses-modal p {
    font-size: .9em;
}

.prognoses-reports h4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#prognoses-report {
    background-color: #FFFFFF;
}

#prognoses-report p {
    padding: .5rem;
}

#topx {
    width: 10rem;
}

.prognosis-container,
#prognoses-reports-nav {
    overflow-y: auto;
    height: calc(100vh - 16.5rem);
}

#prognoses-new-button {
    margin-bottom: 1rem;
}

#prognoses-reports-nav li {
    width: 100%
}

.prognoses-state p {
    padding-top: .5rem;
    margin-bottom: 0;
}

.prognoses-state p {
    padding-bottom: .25rem;
}

.prognoses-state .delete {
    padding-top: .4rem
}

.prognoses-state .delete {
    color: rgb(156, 156, 156);
}

.prognoses-state .disabled .btn {
    color: rgb(156, 156, 156);
    border-color: rgb(156, 156, 156);
    cursor: default;
}

.prognoses-state .delete.enabled,
#farmer-bull-selection-modal .delete {
    color: #990000 !important;
}

.prognoses-state .delete.enabled:hover,
#farmer-bull-selection-modal .delete:hover {
    color: #FF0000 !important;
}

.control-container {
    overflow: hidden;
}

.search.form-group #prognoses-search {
    display: inline-block;
    width: initial;
}

.search.form-group label {
    margin-right: 1rem;
}

.search.form-group {
    float: right;
}

.delete {
    display: inline-block;
}

.delete i {
    margin-right: .25rem;
}

.last-row {
    position: relative;
}

.last-row .ion-md-arrow-dropdown,
.last-row .ion-md-arrow-dropup {
    position: absolute;
    right: 0;
    top: .4rem;
}

.last-row .ion-md-time {
    font-size: 2rem;
}

#prognoses-breeding-planbase,
#prognoses-selection {
    max-width: 15rem;
    display: block;
}

#prognoses-reports-nav .nav-link {
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: .5rem;
    padding-right: .5rem;
    width: 100%
}


/* header.prognoses-reports button {
    float: right;
} */


/* Avlsplan table */

.avlsplan-table {
    margin-top: 4px;
    border: #d1d3d4 1px solid;
}

.avlsplan-table th {
    background: #fff;
    color: #000;
    font-weight: bold;
    border-style: none;
}

.avlsplan-table tbody tr:hover > td {
    background: #eaeaea;
}

.avlsplan-table td {
    height: 38px;
    padding-top: 4px;
    padding-bottom: 4px;
    background: #fff;
}

.cow-list {
    align-items: flex-start;
    margin: 1rem 0 !important;
    flex-flow: column;
}

.cow-list .inner-header-font {
    margin-left: 0;
}

.cow-list button {
    text-align: left;
}

.custom-settings p {
    margin-bottom: 20px;
}

.custom-settings .controls {
    /*display: table-cell;*/
    vertical-align: middle;
}

.custom-settings .controls #end-date {
    display: inline-block;
    vertical-align: middle;
}

.custom-settings .controls #min-age-days,
#days-after-calving {
    width: 3rem;
    text-align: right;
}

.custom-settings .controls .text-after {
    margin-right: 0.5rem;
}


/*
.custom-settings .controls .text-before {
    margin-left: 2rem;
}
*/

.custom-settings .controls #end-date {
    min-width: 10.5rem;
    max-width: 150px;
}


/* RENAME */

.deviation-listing .bulls div {
    display: inline-block;
    text-align: center;
    margin: auto;
    width: 5rem;
}

.deviation-listing .status b {
    display: block;
}

.avlsplan-listing ul {
    padding: 0;
    list-style-type: none;
}

.deviation-listing .deviation {
    font-weight: bold;
    color: #FF0000
}

.deviation-listing .header-container .sum {
    word-spacing: 2rem;
}

.deviation-listing .header-container {
    text-transform: uppercase;
    text-align: center;
}

.deviation-listing .standard-container > .row div:nth-child(1) {
    text-align: left;
}

.deviation-listing .bull-suggestions ol li {
    width: 5rem;
}

.deviation-listing .breeding-plan-button {
    margin: 0 0 0 0;
}

.deviation-listing .standard-container .info-icons {
    font-size: 0.7rem;
    padding: .2rem .3rem;
}

.deviation-listing .standard-container .cow-info {
    width: 4rem;
    line-height: 0.5rem;
}

.deviation-listing .standard-container label.kua {
    display: inline-block;
}

@media screen and (min-width: 768px) {
    .deviation-listing .standard-container .btn {
        float: right;
        padding: .4rem .5rem !important;
        width: 5rem;
        text-align: left;
    }

    .deviation-listing .standard-container .btn .arrow-for-overlay {
        position: absolute;
        right: .25rem;
    }

    .deviation-listing .standard-container .cow-info {
        display: inline-block;
        float: none;
        width: initial;
    }

    .deviation-listing .standard-container > .row div {
        text-align: center;
    }

    .deviation-listing .bull-suggestions ol li {
        width: 5rem;
        text-align: center;
    }
}

.deviation-listing .button-overlay-text {
    margin-right: 0;
}

.deviation-listing > .btn {
    margin-top: .5rem;
}

.deviation-listing .controls {
    display: flex;
}

.deviation-listing .show-only-deviations-checkbox {
    margin-right: auto;
}

.deviation-listing .standard-container {
    cursor: default;
}

.deviation-listing .row div > p {
    margin-bottom: 0;
    display: block;
}

.deviation-listing .arrow-for-overlay {
    float: right;
}

.deviation-listing .header-container .cow {
    text-align: left;
}

.deviation-listing .header-container .bulls {
    text-align: center;
}

.deviation-listing .standard-container .bulls,
.deviation-listing .standard-container .number,
.deviation-listing .standard-container .icon,
.deviation-listing .standard-container .name {
    margin-top: .7rem;
    margin-bottom: 0;
    line-height: 1rem;
}

.deviation-listing .standard-container em {
    width: 1.8rem;
    float: right;
}

.deviation-listing .standard-container em i {
    float: right;
}

.avlsplan-listing ul li {
    display: inline;
}

.avlsplan-listing ul li:first-child:after {
    content: " / ";
}

@media screen and (min-width: 768px) {
    .avlsplan-listing ul li {
        display: block;
    }

    .avlsplan-listing ul li:first-child:after {
        content: "";
    }

    .cow-buttons {
        text-align: right;
    }

    .deviation-listing .row div > p {
        display: inline-block;
    }

    .deviation-listing .standard-container em {
        float: left;
    }

    .deviation-listing .standard-container em i {
        float: left;
    }
}

#header-bar-menu .menu-button {
    float: left;
    height: 3.5rem;
    background-color: #e6f2cc;
}

#header-bar-menu .menu-button i {
    margin-left: .25rem;
    height: 1rem;
    vertical-align: top;
}

#header-bar-menu .menu-item {
    float: left;
    padding-right: .5rem;
    padding-left: .5rem;
    border-right: 1px solid #d1d3d4;
    position: relative;
    height: 3.5rem;
}

#header-bar-menu .menu-item.logout {
    border-right: 0;
    margin-right: 0;
}

#header-bar-menu .menu-item.logout a {
    padding-bottom: 1rem;
    padding-top: 1rem;
    display: block;
}

.desktop-producer-list {
    position: absolute;
    top: 66px;
    right: 21rem;
    z-index: 1;
    background: rgba(0, 0, 0, 0.85);
    animation-duration: 500ms;
    animation-name: fade;
}

.front-page-container .container {
    padding-right: 15px;
    padding-left: 15px;
}

.desktop-producer-list #advisor-menu {
    height: 22rem;
    overflow-y: auto;
}

.desktop-producer-list #producer-menu {
    height: 3rem;
}

.desktop-producer-list #advisor-menu,
.desktop-producer-list #producer-menu {
    width: 21rem;
    background-color: #FFF;
    position: absolute;
    padding: .5rem;
    border-bottom: 1px solid #d1d3d4;
    border-left: 1px solid #d1d3d4;
    border-right: 1px solid #d1d3d4;
}

.menu-item .producer {
    padding-bottom: 1rem;
    padding-top: 1rem;
    display: block;
}

.custom-control-label::after {
    top: .30rem;
}

.avlsplan-listing label,
.deviation-listing .standard-container label {
    font-size: 0.75rem;
    font-weight: normal;
    text-transform: uppercase;
    display: block;
    margin-top: .5rem;
    margin-bottom: 0;
}

.avlsplan-listing .cow-status-icon-container label {
    margin-top: 0;
}

.avlsplan-listing p {
    margin-bottom: 0;
}

#print-cow-notes,
#print-breeding-plan {
    border: #48453F 1px solid;
    display: block;
    cursor: pointer;
    height: 2.38rem;
    position: relative;
}

#print-cow-notes .icon:before,
#print-breeding-plan .icon:before {
    font-size: 1.5rem;
}

#print-cow-notes .icon,
#print-breeding-plan .icon {
    position: absolute;
    right: .5rem;
}

@media screen and (min-width: 768px) {
    #print-cow-notes .icon,
    #print-breeding-plan .icon {
        position: relative;
        right: 0;
    }
}

.breeding-plan-table-filter {
    width: 5.2rem;
    display: inline-block;
}

.inner-header-font label {
    display: block;
}

#breeding-plan {
    position: relative;
}

#breeding-plan .breeding-plan-menu {
    float: left;
    width: 5.5rem;
    display: block;
}

.breeding-plan-menu button,
.breeding-plan-menu a {
    display: block;
    width: 100%;
}

#breeding-plan .breeding-plan-menu button,
#breeding-plan .breeding-plan-menu a {
    margin-top: .5rem;
    margin-bottom: .5rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
    padding-left: .375rem;
    padding-right: .375rem;
    font-size: .8rem;
    font-weight: 600;
    border-color: #E3E1DD;
}

.breeding-plan-menu button > .icon,
.breeding-plan-menu a > .icon {
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: center;
}

#breeding-plan .breeding-plan-menu button.active,
#breeding-plan .breeding-plan-menu a.active {
    border-left: .375rem solid;
    padding-left: 0;
}

#modal-menu-content .breeding-plan-menu button.active,
#modal-menu-content .breeding-plan-menu a.active {
    border-left: .75rem solid;
    text-align: left;
    padding-left: .40rem;
}

#modal-menu-content .breeding-plan-menu button,
#modal-menu-content .breeding-plan-menu a {
    text-align: left;
    padding-left: 1.15rem;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding-top: .75rem;
    padding-bottom: .75rem;
    border-color: #d1d3d4;
}

#modal-menu .breeding-plan-menu i {
    vertical-align: middle;
    margin-right: .5rem;
}

.breeding-plan-menu button.active {
    background-color: #fff !important;
    color: inherit !important;
    border-color: #84bd00 !important;
}

.breeding-plan-menu button > .icon {
    text-indent: -999999px;
}

.breeding-plan-menu button > .icon:before {
    content: "";
    display: inline-block;
    speak: none;
}

.breeding-plan-menu .material-icons,
.breeding-plan-menu .material-icons-outlined {
    color: #000;
}

#breeding-plan .breeding-plan-menu .material-icons,
#breeding-plan .breeding-plan-menu .material-icons-outlined {
    font-size: 2.4rem;
    display: block;
}

@media screen and (min-width: 992px) {
    #breeding-plan .breeding-plan-menu span {
        display: block;
    }

    #breeding-plan .breeding-plan-menu span:nth-of-type(1):after {
        content: "-";
    }

    #breeding-plan .breeding-plan-menu span:only-of-type:after {
        content: "";
    }
}

#modal-menu .breeding-plan-menu .material-icons,
#modal-menu .breeding-plan-menu .material-icons-outlined {
    font-size: 2rem;
}

#modal-menu .breeding-plan-menu button > .icon {
    height: 2rem;
    width: 2rem;
    display: inline-block;
}

.breeding-plan-menu button > .icon.breeding-plan {
    background-image: url(/Shared/images/cow.svg);
}

.external-menu a > .icon.geno,
.menu-item a > .icon.geno {
    background-image: url(/Shared/images/logo_svart.svg);
}

.breeding-plan-menu button > .icon.deviation-overview {
    background-image: url(/Shared/images/warning.svg);
}

.breeding-plan-menu button > .icon.dosage-overview {
    background-image: url(/Shared/images/cow.svg);
}

.breeding-plan-menu button > .icon.custom-settings {
    background-image: url(/Shared/images/cow.svg);
}

.confirm-buttons .btn,
.confirm .btn,
.confirm,
.breeding-plan-button {
    border-radius: 4px;
}

.btn-outline-dark {
    border-color: #48453F;
}

.confirm .btn-dark {
    background-color: #aed357;
    border-color: #aed357;
}

.confirm .btn-outline-dark {
    border-color: #aed357;
}

.btn-outline-dark:hover {
    color: inherit;
    background-color: inherit;
    border-color: #343a40;
}

#modal-menu-content {
    width: 22rem;
    left: inherit;
}

.menu-item a > .icon {
    height: 1.5rem;
    width: 2.7rem;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center;
}

.menu-item i {
    text-align: center;
}

#header-bar-menu .menu-item:last-child {
    border-right: none;
}

#modal-menu-content .menu-item {
    float: none;
    display: inline-block;
}

@media screen and (min-width: 768px) {
    #breeding-plan .breeding-plan-menu button > .icon {
        height: 2.4rem;
        width: 2.4rem;
        display: block;
        margin: 0 auto;
    }

    .cow-list {
        flex-flow: wrap;
        align-items: flex-end;
    }

    #print-cow-notes,
    #print-breeding-plan {
        display: inline-block;
        cursor: pointer;
        text-align: center;
        width: 2.5rem !important;
        padding: 0;
    }

    #print-cow-notes .icon,
    #print-breeding-plan .icon {
        margin-right: 0;
        font-size: 1.5rem;
    }

    #print-cow-notes .icon,
    #print-breeding-plan .icon {
        float: none;
    }

    .filter-print {
        margin-top: .5rem;
    }
}

@media screen and (min-width: 992px) {
    #breeding-plan .content-container {
        padding-left: 7rem;
    }
}

.bull-suggestions ol {
    padding: 0;
    list-style-type: none;
    margin-bottom: 0;
}

.bull-suggestions ol li {
    margin-right: auto;
}

.farmer-list th {
    font-size: .8rem;
    word-break: break-all;
}

.kin.circle {
    margin-left: .25rem;
    margin-right: .25rem;
}

#breeding-plan .avlsplan-listing .stars {
    display: block;
}

#farmer-cow-choices-modal .star,
#farmer-cow-choices-modal .star_outline,
#cow-characteristics-modal .star,
#cow-characteristics-modal .star_outline {
    display: inline-block;
}

#cow-characteristics-modal .stars {
    text-align: center;
}

#cow-characteristics-modal .stars i {
    font-size: 2rem;
}

@media screen and (min-width: 893px) {
    .bull-suggestions ol {
        display: flex;
    }

    #print-cow-notes,
    #print-breeding-plan {
        margin-bottom: .5rem;
        margin-right: 0;
        margin-left: .23rem;
    }

    .filter-print {
        display: flex;
        flex-flow: column;
        margin-left: auto;
        margin-top: 0;
    }

    #breeding-plan-table-filter {
        margin-left: auto;
    }
}


/* Padding, margins, spacing */

.input-container {
    color: #000;
    margin: 0.5rem 0rem;
}


/* Padding, margins, spacing */

.header-container {
    padding: 0.5rem;
    border: #d1d3d4 1px solid;
    background: #fff;
    color: #000;
    font-size: 0.75rem;
    font-weight: normal;
    align-items: flex-end;
}

.standard-container {
    position: relative;
    margin-top: -1px;
    padding: 0.5rem;
    border: #d1d3d4 1px solid;
    background: #fff;
    color: #000;
    font-size: 1rem;
    /*font-size: 0.875rem;*/
    font-weight: normal;
    cursor: pointer;
}

.sort-button {
    background-color: transparent;
    width: 13.1rem;
}


/* Padding, margins, spacing */

.gray-container {
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    border: #d1d3d4 1px solid;
    background: #F5F5F1;
    color: #000;
    font-size: 1rem;
    /*font-size: 0.875rem;*/
    font-weight: normal;
}

.inline-right-margin {
    display: inline-block;
    margin-right: 4px;
}

.custombase-index-group input[type=number] {
    width: 4.2rem;
}

.modal-body-mobile .custombase-index-group input[type=number] {
    width: 4.2rem;
}

.custombase-index-group th:first-child,
.custombase-index-group td:first-child {
    width: 55%;
}

.custombase-index-group th:last-child,
.custombase-index-group td:last-child {
    width: 12%;
}

.custombase-index-group .scale {
    width: 16%;
}

#offspring-indexes-modal .deviation {
    color: #FF0000;
    border-bottom: 2px solid;
    font-weight: normal;
    padding-left: .25rem;
    padding-right: .25rem;
    padding-bottom: .25rem;
}

#offspring-indexes-modal .alert-warning {
    padding: .5rem;
    margin-bottom: 1rem;
}

@media screen and (max-width: 767px) {
    #offspring-indexes-button {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    .offspringindexes-index-group {
        margin: 1px 0px;
    }

    .offspringindexes-index-group.summary {
        margin-top: 10px;
    }

    .offspringindexes-index-group thead {
        color: #000;
        background-color: #dcdcdc;
        cursor: pointer;
    }

    .offspringindexes-index-group thead .deviation-exists {
        font-size: 0.875rem;
        color: #FF0000;
        font-weight: normal;
    }

    .offspringindexes-index-group th:first-child,
    .offspringindexes-index-group td:first-child {
        width: 45%;
    }

    .offspringindexes-index-group th:last-child,
    .offspringindexes-index-group td:last-child {
        width: 15px;
    }

    .offspringindexes-index-group td:nth-child(2) {
        min-width: 9.5rem;
    }

    .offspringindexes-index-group label {
        font-size: 0.75rem;
        font-weight: normal;
        text-transform: uppercase;
        display: block;
        margin-top: .5rem;
        margin-bottom: 0;
    }

    .offspringindexes-index-group .claim-requirement {
        color: #6d6a6abf;
        display: inline-block;
        margin-right: 5px;
    }

    .offspringindexes-index-group #index-star-filled {
        display: inline-block;
    }

    .offspringindexes-index-group .ion-md-star {
        font-size: 1rem;
    }
}

.prognoses-reports .form-group {
    display: inline-block;
}

header.prognoses-reports {
    overflow: hidden;
}

header.prognoses-reports .form-group {
    margin-right: 1rem;
}

header.prognoses-reports .form-group:last-child {
    margin-right: 0;
}


/* Individual characteristics */

#individual-characteristics-individual-info-header {
    font-size: 1rem;
    font-weight: bold;
}

#individual-characteristics-individual-info-header:hover {
    cursor: pointer;
}

#individual-characteristics-index-table {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

#individual-characteristics-index-table th {
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    border-top: 0px;
}

#individual-characteristics-index-table td {
    vertical-align: middle;
}

#index-star-filled {
    color: #212529;
}

#index-star-filled:hover {
    cursor: pointer;
}

#index-star {
    color: #d1d3d4;
}

#index-star:hover {
    color: #212529;
    cursor: pointer;
}


/* Individual characteristics - Modal for adding, change, delete */

#cow-characteristics-modal .custombase-index-group td {
    padding-top: 0;
    padding-bottom: 0;
}

#cow-characteristics-modal td.index-name {
    padding-top: 15px;
    padding-bottom: 0;
    vertical-align: text-bottom;
}

#cow-characteristics-modal .col-header td {
    font-size: 0.8rem;
    font-style: normal;
    font-weight: normal;
    border-top: 0px;
}

.cow-characteristics-index-group {
    margin: 1px 0px;
}

.cow-characteristics-index-group thead {
    color: #000;
    background-color: #dcdcdc;
    cursor: pointer;
}

.cow-characteristics-index-group th:first-child,
.cow-characteristics-index-group td:first-child {
    width: 55%;
}

.cow-characteristics-index-group th:last-child,
.cow-characteristics-index-group td:last-child {
    width: 30%;
}


/*.cow-characteristics-index-group .scale {*/


/*    width: 16%;*/


/*}*/


/* Bull selection overlay */

.custombase-bullselection {
    padding: 4px;
}

.custombase-bullselection-bull-container {
    background-color: #FFFFFF;
    border: 1px solid #d1d3d4;
    margin: -1px 4px 0 4px;
    padding: 0.5rem;
}


/*@media screen and (min-width: 768px) {
    #farmer-bull-selection-modal {
        margin-top: 1rem;
    }
}*/

#farmer-bull-selection-modal .disabled {
    color: #bfbfbf
}

#farmer-bull-selection-modal .enabled {
    color: #000
}

#farmer-bull-selection-modal .total-index-container {
    margin-left: auto;
}

#farmer-bull-selection-modal .row {
    position: relative;
}

#farmer-bull-selection-modal .total-index {
    background: #111C25;
    color: #FFFFFF;
    padding: 0 .5rem;
    border-radius: 2px;
    font-style: normal;
    margin-top: 2.4rem;
    border-radius: 8px;
}

#farmer-bull-selection-modal .standard-table {
    max-width: 300px;
    margin: .5rem auto 0 auto;
}

@media screen and (min-width: 768px) {
    #farmer-bull-selection-modal .about-bull {
        padding-top: .3rem;
        height: 2rem;
    }

    #farmer-bull-selection-modal .total-index-container .total-index {
        margin-top: .3rem;
    }

    #farmer-bull-selection-modal .standard-table {
        max-width: 100%;
    }
}

.standard-table,
.standard-container,
.header-container {
    font-family: Arial, sans-serif;
}

.hidden-cow-button {
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
    position: relative;
    width: 7rem;
}

.hidden-cow-button .icon {
    right: 0;
    top: auto;
    bottom: auto;
    position: absolute;
}

.hidden-cows {
    margin-bottom: 1rem;
}

#farmer-bull-selection-modal .header {
    margin-top: .5rem;
}

#farmer-bull-selection-modal .standard-table .row {
    padding-left: .5rem;
    padding-right: .5rem;
    padding-bottom: .5rem;
}

.header-bg {
    position: relative;
    border-bottom: 1px solid #212529;
    margin-top: .5rem;
}

.header-bg:hover {
    cursor: pointer;
}

.header-bg .icon {
    position: absolute;
    right: .25rem;
    top: 0;
}

@media screen and ( min-width: 768px) {
    .header-bg:hover {
        cursor: default;
    }

    .header-bg {
        background-color: transparent;
        border-bottom: none;
    }

    #farmer-bull-selection-modal .total-index-container {
        margin-left: 0;
    }

    #farmer-bull-selection-modal .semen-types,
    #farmer-bull-selection-modal .total-index-container .total-index {
        margin-top: .3rem;
        display: inline-block;
    }

    #farmer-bull-selection-modal .standard-table .row {
        padding: .25rem;
    }
}

#farmer-bull-selection-modal .standard-base-value:after {
    width: .75rem;
    display: block;
    content: "";
    border-bottom: 1px solid;
    height: 1px;
    top: .95rem;
    color: #848484;
    position: absolute;
}

#farmer-bull-selection-modal h5 {
    font-weight: bold;
}

#farmer-bull-selection-modal .standard-base-value,
#farmer-bull-selection-modal .available-doses,
#farmer-bull-selection-modal .standard-base-value-placeholder {
    width: 2rem;
}

#farmer-bull-selection-modal .standard-base-value-placeholder {
    height: 1rem;
    display: inline-block;
}

#farmer-bull-selection-modal table td:nth-child(2) {
    width: 20%;
}

#farmer-bull-selection-modal .custom-dosage-amount {
    position: relative;
}

#farmer-bull-selection-modal .header label {
    display: block;
    text-transform: uppercase;
    font-size: .75rem;
}

#farmer-bull-selection-modal .standard-table a {
    margin-right: .5rem;
}

#add-bull .controls label {
    margin-top: 1rem;
    display: block;
}

#add-bull .controls .custom-control label {
    margin-top: 0;
}

@media screen and (min-width: 768px) {
    #farmer-bull-selection-modal .standard-table a {
        margin-right: 1rem;
    }
}

.mobile-expander {
    font-weight: bold;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: .25rem .5rem;
    color: #000;
    position: relative;
    display: block;
}

.mobile-expander .icon {
    position: absolute;
    right: .25rem;
    top: .25rem;
}

.mobile-expander:hover {
    color: #000;
}

#farmer-bull-selection-modal .standard-table > .header {
    align-items: flex-end;
}

#farmer-bull-selection-modal .standard-base-value {
    display: inline-block;
}

#farmer-bull-selection-modal .semen-types,
#farmer-bull-selection-modal .total-index {
    display: inline-block;
}

#farmer-bull-selection-modal .custom-control {
    display: inline-block;
    margin-right: .5rem;
}
#farmer-bull-selection-modal .semen-types .KJS:nth-child(1) {
    margin-left: 4.7rem;
}
#farmer-bull-selection-modal .semen-types .SV:nth-child(1) {
    margin-left: 8.9rem;
}

#farmer-bull-selection-modal .semen-types .SV:nth-child(2) {
    margin-left: 4.2rem;
    margin-right: -3.3rem;
}

#farmer-bull-selection-modal .available-dosage {
    margin-right: 1rem;
    width: 2rem;
    display: inline-block;
}

#farmer-bull-selection-modal .custom-dosage-amount input {
    margin-right: 1rem;
}

#farmer-bull-selection-modal span.first-choice {
    width: 36px;
}

#farmer-bull-selection-modal .standard-table .row {
    border-bottom: #d1d3d4 1px solid;
}

#farmer-bull-selection-modal .standard-table {
    background-color: #FFF;
    border: #d1d3d4 1px solid;
}

#farmer-bull-selection-modal .delete-bull {
    position: absolute;
    right: .25rem;
}

#farmer-bull-selection-modal .first-choice {
    width: 65px;
    text-align: right;
    background: #FFFFFF;
    margin-right: 0px;
    display: inline-block;
}

#farmer-bull-selection-modal .first-choice.first-choice-disabled {
    border: 1px solid;
    border-color: rgba(255, 255, 255, 0);
    background: inherit;
}

#statistic-details-modal table th {
    width: 25%;
}

#breeding-development h5,
#breeding-development table th,
#breeding-development table td {
    text-align: center;
}

#breeding-development p {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

#cow-characteristics-modal .star-indicator {
    border: 1px solid #000000;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    margin-right: 1rem;
    display: inline-block;
    width: 2rem;
    text-align: center;
}

#dosage-overview .header-container label {
    margin-bottom: 0;
}

#dosage-overview .standard-container div > .header {
    padding: 0 0;
    display: block;
    margin-bottom: 0;
}

#dosage-overview .standard-container {
    cursor: default;
}

#dosage-overview .standard-container div > div,
#dosage-overview .standard-container div > a {
    padding: .375rem 0;
    display: block;
}

#dosage-overview .standard-container div > div,
#dosage-overview .standard-container div > a,
#dosage-overview .standard-container div > input {
    margin-bottom: .5rem;
}

#dosage-overview .standard-container div > div:last-child,
#dosage-overview .standard-container div > a:last-child,
#dosage-overview .standard-container div > input:last-child {
    margin-bottom: 0;
}

#dosage-overview .standard-container div > .input {
    width: 5rem;
}

#dosage-overview button > .icon {
    position: absolute;
    left: 0.5rem;
}

#dosage-overview .btn.with-icon {
    padding-left: 2.3rem;
}

#dosage-overview .btn {
    position: relative;
}

#dosage-overview .hide-table {
    height: 0;
    overflow: hidden;
}

#dosage-overview .row.second-level {
    width: 100%;
}

#dosage-overview div.header {
    margin-bottom: 0;
    padding: 0 0;
}

#dosage-overview .header-container {
    text-transform: uppercase;
    text-align: left;
}

#dosage-overview h2 {
    display: inline-block;
}

#dosage-overview .back {
    display: block;
}

@media (min-width: 768px) {
    #dosage-overview .row.second-level {
        justify-content: flex-end;
    }

    #dosage-overview .standard-container div > .input {
        margin-left: auto;
    }
}

#dosage-overview .header label {
    text-transform: uppercase;
    font-size: .75rem;
    margin-bottom: 0;
}


/* Custombase indexes */

.custombase-index-group {
    margin: 1px 0px;
    border: 1px solid #807F76;
}

.custombase-index-group thead {
    color: #000;
    background-color: #dcdcdc;
    cursor: pointer;
}


/* Custombase bulls */

.standard-table {
    margin-top: 4px;
    border: #d1d3d4 1px solid;
}

.standard-table th {
    background: #fff;
    color: #000;
    border-style: none;
    font-weight: normal;
    border-style: none;
    font-size: .8rem;
    text-transform: uppercase;
}

.standard-table tbody tr:hover > td {
    background: #eaeaea;
}

.standard-table td {
    height: 38px;
    padding-top: 4px;
    padding-bottom: 4px;
    background: #fff;
}


/* Admin - Test */

#combinations-table th:first-child {
    background: #fff;
    position: sticky;
    left: -1px;
}

#combinations-table td:first-child {
    background: #fff;
    position: sticky;
    left: -1px;
}


/***************************************/


/* Andre styles                        */


/***************************************/

.inline-block {
    display: inline-block;
}

.no-stretch {
    width: 1%;
    white-space: nowrap;
}

.selected-column-indicator {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
}

.not-selected-column-indicator {
    font-weight: normal;
    color: #d1d3d4;
}

.red-underline {
    color: #990000;
    text-decoration: #990000 underline;
}

.faint-black {
    color: #6A6A6A;
}

.background-gray {
    background-color: #F2F2F2;
}

.background-white {
    background-color: #FFF;
}

.icon {
    font-size: 1.5rem;
    vertical-align: middle;
}

.iconSmall {
    font-size: 1rem;
}

.youtube-link {
    color: #007bff;
    text-decoration: none;
    background-color: transparent
}

.youtube-link .icon {
    margin-right: 5px;
}

.text-link {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

.text-link:hover {
    color: #0056b3;
    text-decoration: underline;
    cursor: pointer;
}

.borderless-background {
    padding: 5px;
}


/* SQUARE HOVER */

.icon-link-square-container {
    border-radius: 4px;
    height: 30px;
    width: 30px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.icon-link-square-container:after {
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    transition: all ease 0.0s;
    content: "";
    background: #d1d3d4;
    color: #fff;
    opacity: 0.4;
    cursor: pointer;
}

.icon-link-square-container:hover:after {
    width: 100%;
    transition: all ease 0.0s;
}


.upper-right {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
}


/* Footer */

#version {
    position: absolute;
}

.privacy {
    margin: 0 auto;
    padding: .25rem
}


/* Override .card-footer */

.card-footer {
    padding: .10rem 1.25rem;
}

#graph-panel .graphs:last-child {
    margin-right: auto;
}

#graph-panel .graphs:first-child {
    margin-left: auto;
}

.graphs-statistics button {
    display: block;
    margin: 0 auto;
    border: 0;
    background-color: inherit;
}

@media screen and (min-width: 768px) {
    .card-footer {
        padding: .60rem 1.25rem;
    }

    #graph-panel .graphs >div:last-child {
        margin-right: 0;
    }

    #graph-panel .graphs >div:first-child {
        margin-left: 0;
    }
}

.load-breeding-plan {
    display: block;
    text-align: center;
    margin: 1rem 0 2rem 0;
}

.load-breeding-plan input {
    display: inline-block;
    margin-bottom: 1rem;
}

.load-breeding-plan button {
    display: inline-block;
}

#cownoteslist-pdftable,
#breedingplan-pdftable2,
#semenordertable {
    border: 1px solid;
    border-color: #000;
    font-family: helvetica;
    font-size: 14px;
    background-color: #FFF
}

#cownoteslist-pdftable .notes {
}

#cownoteslist-pdftable th,
#cownoteslist-pdftable td,
#breedingplan-pdftable2 th,
#breedingplan-pdftable2 td,
#semenordertable th,
#semenordertable td {
    border-top: none;
    border-bottom: none;
}

#cownoteslist-pdftable tr .bull:nth-child(9),
#breedingplan-pdftable2 tr .bull:nth-child(9),
#semenordertable tr .bull:nth-child(4) {
    border-left: 1px solid;
}

#cownoteslist-pdftable strong,
#semenordertable strong {
    font-family: helvetica;
}

#cownoteslist-pdftable td,
#cownoteslist-pdftable th,
#breedingplan-pdftable2 td,
#breedingplan-pdftable2 th,
#semenordertable td,
#semenordertable th {
    padding: 10px 4px 10px 4px
}

#cownoteslist-pdftable th,
#breedingplan-pdftable2 th {
    font-size: 10px;
}

#cownoteslist-pdftable tr .bull,
#cownoteslist-pdftable th .bull,
#breedingplan-pdftable2 tr .bull,
#breedingplan-pdftable2 th .bull,
#semenordertable tr .bull,
#semenordertable th .bull {
    text-align: center;
}

@media screen and (min-width: 310px) {
    .load-breeding-plan input {
        display: inline-block;
        margin-right: .5rem;
        margin-bottom: 0;
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#breeding-development #breeding-chart {
    animation-duration: 0.001s;
    animation-name: insertGraph;
    margin-bottom: 1rem;
}

#breeding-development .data {
    background-color: #FFF;
    padding: 1rem;
}

#breeding-development .standard-table:hover {
    background-color: transparent;
}

#breeding-development .standard-table {
    margin-bottom: 0;
}


/* Toasts */

#toasts {
    position: fixed;
    z-index: 9000;
    right: 0;
    width: 300px;
    top: 74px;
}

.alert {
    position: fixed;
    z-index: 11000;
    bottom: 0;
    left: 2rem;
    right: 2rem;
}

.message-panel {
    /*border: #d1d3d4 1px solid;*/
    margin-top: 20px;
}

.send-message {
    margin-top: 5px;
    float: right;
}

.old-browser-message {
    display: none;
    padding: 1rem;
}

#welcome-message {
}

#welcome-message a {
    border-bottom: 2px solid #84bd00;
    padding-bottom: .5rem;
    color: #000;
    vertical-align: super;
}

#login-buttons .card-body {
    border: 0;
    border-left: 0.4rem solid #84bd00;
    border-radius: 0;
    min-width: 17rem;
    padding: 2rem;
    color: #FFF
}

#login-buttons .card {
    border-radius: 0;
    border: none;
    color: #FFF
}

#login-buttons .card-body .material-icons-outlined {
    vertical-align: middle;
    margin-right: 1.5rem;
    font-size: 3rem;
}

#login-buttons .card-body a {
    color: #000;
    font-size: 1.5rem;
    font-weight: 550;
}

.login-body {
    background: #F5F5F1;
    padding-top: 1.5rem;
    padding-bottom: 7rem;
}

.front-page-container {
    background: #FFF;
    min-height: calc(100vh - 3.6rem);
}

#welcome-message h2 {
    font-weight: 600;
}

.aws-controller {
    margin-top: 3rem;
}

.aws-controller .row .card {
    display: inline-flex;
    margin: 0 auto;
    width: 45%;
    padding: 1rem 1rem 3rem 1rem;
}

.aws-controller .card {
    width: 98%;
    display: block;
    margin: 0 auto;
    padding: 2rem;
}

.aws-controller .card pre {
    margin-right: 0.5rem;
}

.aws-controller .row .card h5 {
    display: block;
    margin: 0 auto;
    font-size: 3rem;
}

.aws-controller .row .card button {
    width: 90%;
    padding: 0.5rem;
    display: block;
    margin: 0 auto;
}

.login-body h3 {
    font-size: 1.25rem;
    font-weight: 750;
}

.new-elite-bulls {
    padding: 0.3rem 1rem 0.3rem 1rem;
    border: 1px solid #2570aa;
    border-radius: 1px;
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.new-elite-bulls i {
    color: #2570aa;
    font-size: 2rem;
    vertical-align: middle;
    margin-right: 1rem;
    display: block;
}

@media screen and (min-width: 768px) {
    .new-elite-bulls {
        text-align: left;
        padding-left: 3rem;
        position: relative;
    }

    .new-elite-bulls i {
        position: absolute;
        left: .5rem;
        top: 0rem;
    }
}
.breeding-plan-bases-checkboxes{
    padding-right:1rem;
    padding-left: 0.5rem;
}

/* No es6 arrow function support, no promises support */

.no-arrow .old-browser-message,
.no-promises .old-browser-message {
    display: block;
}

.container-fluid .old-browser-message {
    margin-left: -15px;
    margin-right: -15px;
}


/* Hacks */


/* Animation as part of checking when a graph div has been rendered */

@keyframes insertGraph {
    0% {
        opacity: 0.99;
    }
    100% {
        opacity: 1;
    }
}


/* DATE-PICKER */
.elm-datepicker--container {
    position: relative; }

.elm-datepicker--input:focus {
    outline: 0; }

.elm-datepicker--picker {
    position: absolute;
    border: 1px solid #CCC;
    z-index: 10;
    background-color: white; }

.elm-datepicker--picker-header,
.elm-datepicker--weekdays {
    background: #F2F2F2; }

.elm-datepicker--picker-header {
    display: flex;
    align-items: center; }

.elm-datepicker--prev-container,
.elm-datepicker--next-container {
    flex: 0 1 auto;
    cursor: pointer; }

.elm-datepicker--month-container {
    flex: 1 1 auto;
    padding: 0.5em;
    display: flex;
    flex-direction: column; }

.elm-datepicker--month,
.elm-datepicker--year {
    flex: 1 1 auto;
    cursor: default;
    text-align: center; }

.elm-datepicker--year {
    font-size: 0.6em;
    font-weight: 700; }

.elm-datepicker--prev,
.elm-datepicker--next {
    border: 6px solid transparent;
    background-color: inherit;
    display: block;
    width: 0;
    height: 0;
    padding: 0 0.2em; }

.elm-datepicker--prev {
    border-right-color: #AAA; }
.elm-datepicker--prev:hover {
    border-right-color: #BBB; }

.elm-datepicker--next {
    border-left-color: #AAA; }
.elm-datepicker--next:hover {
    border-left-color: #BBB; }

.elm-datepicker--table {
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 0.8em; }
.elm-datepicker--table td {
    width: 2em;
    height: 2em;
    text-align: center; }

.elm-datepicker--row {
    border-top: 1px solid #F2F2F2; }

.elm-datepicker--dow {
    border-bottom: 1px solid #CCC;
    cursor: default; }

.elm-datepicker--day {
    cursor: pointer; }
.elm-datepicker--day:hover {
    background: #F2F2F2; }

.elm-datepicker--disabled {
    cursor: default;
    color: #DDD; }
.elm-datepicker--disabled:hover {
    background: inherit; }

.elm-datepicker--picked {
    color: white;
    background: darkblue; }
.elm-datepicker--picked:hover {
    background: darkblue; }

.elm-datepicker--today {
    font-weight: bold; }

.elm-datepicker--other-month {
    color: #AAA; }
.elm-datepicker--other-month.elm-datepicker--disabled {
    color: #EEE; }
.elm-datepicker--other-month.elm-datepicker--picked {
    color: white; }