

/* styles for page-stallion-details */

 .edit-horse {
    width:98%; padding:30px 30px 0px 30px;
    border:none;
    border-color: #fff;
  }

  .tcaL, .tcaR {
    padding:8px;
  }

  #TB_window, #TB_iframeContent {
    width:1060px !important;
    height:530px !important;
  }
  #TB_ajaxContent {
    text-align:center;
  }

  #TB_window {
    margin-left:-500px !important;
  }


  /* Style the buttons inside the tab */
  div.tab button, div.tab2 button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 4px 6px;
    transition: 0.3s;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-color: #ccc;
    border-style: solid;
    border-width: 2px;
    margin: 0px 5px -5px 0px;
  }

  /* Change background color of buttons on hover */
  div.tab button:hover {
    background-color: #ddd;
  }

  /* Create an active/current tablink class */
  div.tab button.active, div.tab2 button.active  {
    background-color: #ccffff;
    color:#ac1e23;
  }

  /* Style the tab content */
  .tabcontent, .tab2content {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-color: #ccc;
    border-style: solid;
    border-width: 2px;
  }

  .nav-tabs>li>a {
    background-color: #f5eeee;
  }

  #generic > thead > tr.tdn-admin-edit-header > th, #be-sire-list > thead > tr.tdn-admin-edit-header > th {
    font-size:inherit;
    text-align: center;
  }
  .v {
    background-color: #ddeedd!important;
  }
  .va {
    background-color: #bbeebb!important;
  }

  .vn {
    max-width:100px;
    white-space: pre-line!important;
  }
  .r {
    text-align: right;
  }

  #add-horse-form > ul > li > a,#add-horse-form > ul > li > a  {
    border-color: #ac1f24;
    border-width: 2px;
    border-style: solid;
  }

  #add-horse-form > ul > li.active > a {
    border-color: #ac1f24;
    border-width: 2px;
    border-style: solid;
    background-color: #ac1f24;
    border: 1px solid #ac1f24;
    color:whitesmoke;
  }
  #registry-image-container > img {
    width:200px;
  }
  .ta {
    width:100%;

  }


   /* Style the tab */
  div.tab, div.tab2 {
    overflow: hidden;
    background-color: #f1f1f1;
    padding-left: 14px;
  }

  /* Style the buttons inside the tab */
  div.tab button, div.tab2 button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 4px 6px;
    transition: 0.3s;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-color: #ccc;
    border-style: solid;
    border-width: 2px;
    margin: 0px 5px -5px 0px;
  }

  /* Change background color of buttons on hover */
  div.tab button:hover {
    background-color: #ddd;
  }

  /* Create an active/current tablink class */
  div.tab button.active, div.tab2 button.active {
    background-color: #ccffff;
    color:#ac1e23;
  }

  .nav-tabs>li>a {
    background-color: #f5eeee;
  }

 div.row.stallion-bottom > div.col-md-12 > ul > li > a:active, div.row.stallion-bottom > div.col-md-12 > ul > li > a:focus, div.row.stallion-bottom > div.col-md-12 > ul > li > a:hover, .nav-tabs>li>a:active, ul > .nav-tabs>li>a:focus {
    background-color: #C00!important;
    color:#fff;
  }

  #TYO-sales-results > tbody > tr > td > div > p:nth-child(2) {
    display: none;
  }
  #TYO-sales-results > tbody > tr > td > div {
    padding:0px;
  }
  #salesPpsWrapper > div > div.col-md-12 > ul > li {
    background-color: whitesmoke;
  }
  #salesPpsWrapper > div > div.col-md-12.bgr > ul > li.active {
    background-color: #d3132f;
    color:whitesmoke;
  }
  .bgr {
    background-color: #f0f0f0;

  }
  .photo_pd, img>photo_pd {
    text-align: center;
    display: inline;
  }
  .carousel-inner>.item>a>img, .carousel-inner>.item>img {
    line-height: 1;
    margin: 0 auto;
  }
  .p8 {
    padding:8px;
  }
  .tight {
    margin-bottom: 0px;
  }
  .ui-autocomplete-loading {
    background: white url("images/ui-anim_basic_16x16.gif") right center no-repeat;
  }
  #sire {
    width: 25em;
  }
  .ps_error {
    color: red;
    background-color: #efef5d;
    font-size: 16px;
    font-weight: bold;
  }
  .tdn-admin-edit-header-internal {
  background-color: #ac1e23;
  color: #FFFFFF;
  font-size: 1em;
  line-height: 2em;
 /* margin-bottom: -10px;
  margin-left:-10px;
  margin-top: -10px; */
  text-align: center;
  width: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

  .wrapper {
    width:98%;
    border: 2px solid gray;
    border-radius: 10px;

  }

  div>input, div>textArea {
    width:98%;
    border: 1px solid #968a8a!important;
  }

  .row:nth-child(even) {
  /* background-color: #dddddd; */
  }

  textArea {
    height: 80px;
    width: 100%;
  }

  .st {
    padding: 10px;
  }

  .paid-details-top-box {
    padding-bottom:20px;
  }
  .stallion-top, #paid-details-top-box > div.row {
    background-color: transparent!important;
  }
 #paid-details-top-box > div.row.pad-top.r5 > div > hr {
    margin-top: 5px;
    margin-bottom: 5px;
    border: 0;
    border-top: 2px solid #aaa!important;
  }

  .pad-top {
    background-color: transparent!important;
    margin-top:8px;
  }

  .tab-bar {
margin: 0px;
padding: 10px;
font-size: 30px;
background-color: #c00;
color: white;
margin: 0px;
display: inline-block;
width: 100%;
}
  .tab-bar-left {
    text-align: left;
    text-transform: uppercase;
  }
  .tab-bar-right {
    font-size: 20px;
    text-align: right;
  }
  div > table > thead > tr:nth-child(2) {
    color:gray;
    background-color: white;
  }
  .stallion-bottom .table thead tr th {
  font-weight: bold;
  vertical-align: bottom;
  color:gray;
  background-color: white;
}
.just {
  text-align: justify;
}
.nav-tabs>li>a:hover, li.active {
  color:white;
  background-color: #c00;

}
.tp-close{
  margin-top: -9px;
}
.tight-bot {
  margin-bottom:8px;
}
.sd-photo {
  max-width: 360px!important;
}
.submit-mare {
    border-color: #ac1f24;
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    padding: 14px;
    margin-left: 20px;
    margin-right: 40px;
}
.sire-link-a {
  background-color: #ccccff;
  padding:8px 5px 8px 10px;
}
.sire-link-b {
  background-color: #dddddd;
  padding:8px 5px 8px 10px;
}
.sire-link-b-first {
  background-color: #dddddd;
  padding:5px 5px 5px 40px;
}
.noData {
  color:darkgray;
  background-color: white;
  padding:5px;
}
#insta-1 > thead > tr:nth-child(1) > td > div,
#insta-2 > thead > tr:nth-child(1) > td > div,
#insta-3 > thead > tr:nth-child(1) > td > div ,
#insta-4 > thead > tr:nth-child(1) > td > div  {
  background-color: darkgrey;
  background: darkgrey !important;
}
.sd, .sd>a:hover {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.sdb, .sdb>a:hover  {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.sd>a:hover, .sdb>a:hover  {
  background-color: pink!important;
}
.searchbox {
  background: #FFF;
 -webkit-box-shadow: 0px 0px 23px -5px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 23px -5px rgba(0,0,0,0.75);
box-shadow: 0px 0px 23px -5px rgba(0,0,0,0.75);
  margin-left:15px;
  width:300px;
  margin-bottom: 40px;
  padding: 10px 5px 10px 5px;
}
.sidebar .searchbox {
  margin-left: 0px;
  width: 100%;
  text-align: center;
}
.r {
  text-align: right;
}
.nlnr input[type='checkbox'] {
  float: left;
  width: 16px;
}
.slr, .slr > th, #sd-sire-list > thead > tr.slr > th {
  font-size: 11px;
  background-color: lightgrey;
}
.form-group .nlnr input#region-1,
.form-group .nlnr input#region-2,
.form-group .nlnr input#region-3 {
  margin-left: 10px;
  margin-right: 10px;
  width: 15px;
}
.show-eu option.hide-eu, .show-na option.hide-na {
  display: none;
}
.sd-rising-star {
  margin-bottom: 15px;
  color: #C00;
  font-size: 18px;
  background-color: #FFF;
}
.sd-rising-star a, .sd-rising-star a:visited {
  padding: 10px 5px 5px 5px;
  color: #C00;
  display: block;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
}
.sd-rising-star a:hover {
  color: #FFF;
  background-color: #AAA;
  border: none;
}
.sd-rising-star img {
  margin-top: -9px;
  height: auto;
  vertical-align: middle;
}
.sd-rising-star img[style] {
  width: 35px !important;
}
#sd-race-entries > thead > tr > th, #sd-race-entries > tbody > tr > th {
  /* padding:15px; */
}
#sd-race-entries > tbody > tr > td:nth-child(2), #sd-race-entries > tbody > tr > td:nth-child(3), #sd-race-entries > tbody > tr > td:nth-child(4) , 
#sd-race-entries > tbody > tr > td:nth-child(5), #sd-race-entries > tbody > tr > td:nth-child(6)   {
  text-align: center;
}
#sd-sale-entries > tbody > tr > td:nth-child(3) {
  text-align: right;
}
.nav-tabs .sd {
  padding-left:4px;
  padding-right:4px;
}
div.stallion-bottom.r13 > div.row.r13a > div > ul > .sd > a,
body > div.container.content > div > div.stallion-bottom.r13 > div.row.r13a > div > ul > li > a {
  padding-left:4px;
  padding-right:4px;
}