body {
    background-color: #eff2f7;
}

/* This helps the ng-show/ng-hide animations start at the right place. */
/* Since Angular has this but needs to load, this gives us the class early. */
.ng-hide {
    display: none !important;
}

/* Remove the navbar's default margin-bottom and rounded borders */
.navbar {
    margin-bottom: 0;
    border-radius: 0;
}

/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {
    height: 450px
}

.exteriorGraph {
    height: 550px;
}

/* Set gray background color and 100% height */
.sidenav {
    padding-top: 20px;
    background-color: #f1f1f1;
    height: 100%;
}

/* Set black background color, white text and some padding */
footer {
    background-color: #555;
    color: white;
    padding: 15px;
}

/* On small screens, set height to 'auto' for sidenav and grid */
@media screen and (max-width: 767px) {
    .sidenav {
        height: auto;
        padding: 15px;
    }

    .actionbar button {
        float: none !important;
        margin-left: 0px !important;
    }

    .row.content {
        height: auto;
    }
}

.comboBox {
    width: 30%;
    display: inline;
    padding: 6px 0px 8px 12px;
    color: #555;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.itemLabel {
    display: inline;
    font-size: 1.8em;
}

.criteriumProperty {
    width: 40%;
}

.criteriumSetting {
    width: 15%;
}

.criteriumValue {
    width: 15%;
}

.panel-heading a:after {
    font-family: 'Glyphicons Halflings';
    content: "\2212";
    float: right;
    color: grey;
}

.panel-heading a.collapsed:after {
    content: "\2b";
}

label {
    font-weight: 400;
}

body {
    padding: 0;
}

.red {
    background-color: red;
}

.blue {
    background-color: blue;
}

.header {
    color: white;
    margin-top: 10px;
    margin-bottom: 30px;
}

.float-right {
    float:right;
}

    .header > div {
        padding: 15px;
    }

    .header h1 {
        margin-top: 0;
        margin-bottom: 0;
    }

.currentPageHeader {
    background-color: #d03f3f;
}

.currentPageHeader >h1 > span {
    top:5px;
}

@media (max-width: 767px) {
    .col-xs-12 {
        float: left !important;
        text-align:left;
    }
}

.currentCompanyHeader {
    background-color: #0055b8;
}

.filterCollapser:after {
    content: '-';
    position: absolute;
    right: 20px;
    top: 5px;
}

.expandableSign{
    margin-top:10px;
}

.sectionHeader {
    background-color: #d03f3f;
    color: white;
    margin-bottom: 30px;
}

    .sectionHeader h3 {
        margin-top: 5px;
    }

@media (max-width: 991px) {
    .currentPageHeader {
        margin-right: 0;
    }

    .triangle-red:after {
        bottom: 60px;
    }
}

@media (min-width:1200px) {
    .pedigreeColumn {
        width: 60%;
        margin-left: 6%;
    }

    .paddingRight {
        padding-right: 3%;
    }

    .paddingLeft {
        padding-left: 3%;
    }

}



@media (max-width: 1199px) {
    .triangle-red:after {
        visibility: hidden;
    }

    .container-fluid {
        padding: 0px;
    }

    .sectionHeader {
        padding: 0px 0px 5px 5px;
        margin-bottom: 10px;
    }

    .row {
        margin-left: 0px;
        margin-right: 0px;
    }

    .paddingRight {
        padding-left: 0%;
    }

    .paddingLeft {
        padding-right: 0%;
    }

    .sectionHeader h3 {
        margin-bottom: 0px;
    }

    .pedigreeColumn {
        width: 100%;
        margin-left: 0%;
    }

    .paddingRight {
        padding-right: 0%;
    }

    .paddingLeft {
        padding-left: 0%;
    }


}

.triangle:after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 3%;
    width: 0px;
    height: 0px;
    border: 22px solid transparent;
    border-top-color: #0055b8;
    border-bottom: 0;
    border-left: 0;
    margin-left: -4px;
    margin-bottom: -8px;
}


.triangle-red:after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 3%;
    width: 0px;
    height: 0px;
    border: 22px solid transparent;
    border-top-color: #d03f3f;
    border-bottom: 0;
    border-left: 0;
    margin-left: -4px;
    margin-bottom: -8px;
}

.cowMatingTableContainer {
    height: 400px;
    overflow-y: scroll;
    margin-bottom: 30px;
    margin-top: 10px;
}

.space-vertical{
    margin-top:10px;
}

.sectionHeaderContainer {
    margin-bottom: 30px;
}

hr {
    border-top: 1px solid #bbb;
}

.table {
    border: 0px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f1c1b4;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #fae8e2;
}
.table-bordered > tbody > tr > td {
    border: 0px;
}

.light-table-row {
    background-color: #fae8e2;
}

.dark-table-row {
    background-color: #f1c1b4;
}

.table-striped > tbody > tr:hover, .table-striped-traits > tbody > tr:hover {
    background-color: #d88b76;
}

.animalMatingTable {
    padding-left: 0px;
    padding-right: 0px;
}

.table > thead > tr > th, .table > thead > tr > th > a, .tableHeader{
    background-color: #0055b8;
    border: 0px;
    color: white;
}

#filtersContainer {
    background-color: #fae8e2;
    border: 1px #f1c1b4 solid
}

#filtersContainerTraits {
    background-color: #fae8e2;
    border: 1px #f1c1b4 solid
}

    #filtersContainerTraits > row > * {
        background-color:red;
    }
    
    
@font-face {
    font-family: Helvetica;
    src: url("/HelveticaNeueLTStd-Lt.otf") format("opentype");
}

.cowSearchBox {
    width:100%;
}

.dropdownSearchGroup {
    width:100%;
}

.selectHoverOverInput {
    z-index:2;
    position:absolute;
    right:0;
    width:30%;
}

.searchCowTable {
    width: 100%;
    margin: 0px;
    border: 1px #0055b8;
    padding: 0px;
}

.searchCowTable > table {
        margin: 0px;
}


.searchCowTable > table > tbody >tr > td {
    border: 0px;
}

.btn-group-vertical > .btn-default {
    border: 1px solid #d03f3f;
}

.btn-default {
    color: white;
    background-color: #0055b8;
    border: 1px solid #0055b8;
}

    .btn-default:hover, .btn-default:active, .btn-default:focus {
        color: #d03f3f;
        background-color: #0055b8;

    }


        .btn-default:active:hover {
            color: white;
            background-color: #d03f3f;
        }

.mating-action-dropdown {
    width:100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .mating-action-dropdown > .dropdown-menu > *, .mating-action-dropdown > ul {
        background-color: #d03f3f;
    }

    .mating-action-dropdown > .dropdown-menu > li > a {
        color:white;
    }

        .mating-action-dropdown > .dropdown-menu > li > a:hover {
            background-color: #0055b8;
        }

.advise-btn {
    width: 100%;
}


.btn-group-min-width {
    margin-top: 10px;
    min-width: 388px;
}

.loginButton {
    width: 100%;
    color: white;
    background-color: #0055b8;
    border: 1px solid #0055b8;
}

.loginButton:hover, .loginButton:active, .loginButton:focus {
        width: 100%;
        color: white;
        background-color: #d03f3f;
        border: 1px solid #d03f3f;
}

.selectedRow td {
    background-color: #d03f3f;
    color:white
}

.table-details > tbody > tr >td {
    border: 0px;
    padding: 0px;
}

.traits-select {
    color:black;
    border-radius:4px;
}

.col-lg-btwn-2-3 {
    width: 20.66666666%;
}

.overflow-x {
    overflow-x:auto;
}

.col-lg-10 {
    padding-left: 0px;
    padding-right: 0px;
}

.no-padding {
    padding: 0px;
}

.actionbar {
    padding:0px;
    margin-bottom:10px;
}

.actionbar > .row {
    margin-bottom:10px;
}

.no-border-radius-right {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#loading-bar-spinner .spinner-icon {
    border-top-color: #0055b8;
    border-left-color: #0055b8;
}

#loading-bar .bar {
    background: #0055b8;
    height:4px;
}

.bullTableContainer {
    overflow:auto;
    max-height:600px;
}

svg {
    margin-top: 32px;
    border: 1px solid #aaa;
}

.person .nameRect {
    opacity: 0;
}

.person {
    font: 14px sans-serif;
}

.link {
    fill: none;
    stroke: #ccc;
    stroke-width: 1.5px;
}

#Family-Tree, #Family-Tree svg {
    width: 100%;
    height: 100%;
    min-height: 400px;
    touch-action: none;
}

.male {
    fill: #0055b8;
    stroke: #340fba;
    stroke-width: 1px;
}

.female {
    fill: #f1c1b4;
    stroke: #d03f3f;
    stroke-width: 1px;
}

.addStrawButton {
    padding: 0px 5px 0px 5px;
}

.noBorder {
    border: 0px !important;
}

.number-input {
    padding: 0px;
    height: 2em;
}

.noHorizontalPadding {
    padding-left: 0px;
    padding-right: 0px;
}

.traitPanel {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom-width: 5px;
}

.margin-left {
    margin-left: 15px;
}

.margin-top {
    margin-top: 15px;
}

.panel-default > .panel-heading, .input-group-addon {
    background-color: #0055b8;
    color: white;
}

.btn, .input-group-addon {
    border: 0px;
}

.btn:hover {
    color: #d03f3f;
}

.btn.active, .btn:active {
    color: white;
    background-color: #d03f3f;
}

.settingsTab > h3 {
    margin-top: 0px;
    margin-bottom: 0px;
}

.settingsTab > hr {
    margin-top: 2px;
    margin-bottom: 10px;
}

.settings-modal-header {
    padding-bottom: 0px;
}
.settings-modal-header .nav-tabs{
   border-bottom: 0px
}
.nav-tabs a {
    color: white;
}

.nav-tabs > li.active > a {
    color: white;
    background-color: #0055b8;
}

    .nav-tabs > li.active > a:hover {
        color: white;
        background-color: #f1c1b4;
    }

.nav-tabs > li > a {
    color: white;
    background-color: #d03f3f;
}

.nav-tabs > li > a:hover {
    color: white;
    background-color: #f1c1b4;
}

.traitGoalContainer {
    height: 500px;
    overflow-y: auto;
}

.exteriorGraphSettings {
    height: 500px;
}

.spinning {
    -webkit-animation: spin 2s infinite linear;
}

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.no-margin {
    margin: 0px;
}

.unknownParentNode {
    visibility: hidden;
}

.tab-content-body {
    padding: 10px;
    margin: 0px;
}

.border-right {
    border-right: #ddd solid 1px;
}

.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}
.row.display-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.full-height {
    height: 100%;
}

.tripleATable {
    text-align: left;
    margin-bottom: 40px;
}

#animalSelectorTabbed {
    float: right;
}

.pinken-age-input {
    padding: 5px;
    border: 1px #cccccc solid;
    border-radius: 5px;
    width: 100px;
    font-size: 20px;
}

.load-indicator {
    border: 5px solid white;
    border-radius: 50%;
    border-top: 4px solid #0055b8;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 2s linear infinite; 
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.table-details > tbody > tr > td {
    width: 50%;
}

.table-details > tbody > tr > td:nth-child(even) {
    text-align: right;
}

.graphEditorEvenInput {
    float: right;
}

.panel-heading-left {
    text-align: left;
}

.modal-lg {
    width: 90%;
}

.infoOverviewContainer p:nth-child(odd){
    float: left;
    width: 60%;
}
.infoOverviewContainer p:nth-child(even) {
    float: right;
    width: 40%;
}

@media (max-width: 767px) {
    .col-xs-12 {
        margin-bottom: 20px;
    }
}



@media (min-width: 767px) {
    .addSubBtnPanel {
        margin-top: 150px;
    }

    .addSubBtnPanel div:nth-child(odd) {
        margin-bottom: 10px;
    }
}

.disabledRow {
    background-color: #aaaaaa;
}

    .disabledRow:hover {
        background-color: #aaaaaa;
    }