
/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css?family=Playfair+Display|Playfair+Display+SC');
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,700');

body {
  color: black;
  text-align: justify;
  background: white;
  margin-top:56px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 17px;
}

@media (max-width: 1200px) {

  body { margin-top:50px; }

}

@media (max-width: 991px) {
  
  body { margin-top:46px; }

}

#MainContainer {
  padding-top: 0;
  padding-bottom: 30px;
}

.img-fluid-upscale{
  width: 100%;
  height: auto;
}

/* HEADER */

.header-wide{
  display: block;
}

.header-narrow{
  display: none;
}

@media (max-width: 1140px) {
  
  .header-wide{
    display: none;
  }
  
  .header-narrow{
    display: block;
  }
}

/* NAVIGATION */

.navbar-cane{
  font-family: 'Playfair Display SC', serif;
  background-color: white;
  padding: 0;
}

.navbar-cane .navbar-nav .nav-link{
  color: black;
  background-color: white;
  padding: 0.7rem;
  font-size: 24px;
}


@media (max-width: 1200px) {
  
  .navbar-cane .navbar-nav .nav-link{
    font-size: 20px;
  }

}

@media (max-width: 768px) {
  
  .navbar-cane .navbar-nav .nav-link{
    font-size: 18px;
  }

}

.navbar-cane .navbar-nav .nav-link:hover{
  color: white;
  background-color: #001048;
}

.navbar-cane .navbar-nav .active > .nav-link{
  color: white;
  background-color: #001048;
}

.navbar-cane .dropdown-item{
  color: black;
  background-color: white;
  padding: .1rem 1rem;
}

.navbar-cane .dropdown-item:hover{
  color: white;
  background-color: #001048;
}

.navbar-cane .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-cane .navbar-toggler{
    border-color: rgba(0,0,0,.3);
    margin: 4px;
}

.navi-social, .navi-social-footer{
  line-height:1;
}

.navi-social a{
    
}

.navi-social a:hover{
  
}

.navi-social a i{
    
}

.navi-social a img{
    height: 25px;
    margin: 2px;
}

.navi-social-footer{
    text-align: right;
}

.navi-social-footer a{
    font-size:33px; 
}

.navi-social-footer a:hover{ 

}

.dropdown-menu{
  background-color: white;
  font-family: 'Roboto Condensed', sans-serif;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #020215;
    border-color: #020215;
}

.page-link, .page-link:hover {
    color: #020215;
}


.infoblock {
  min-height: 300px;
  padding-top: 20px;
  border-top: 1px dotted #444444;
}

.infoblock p {
  text-align: center;
}

/* EMBED RESPONSIVE FLUID */

.embed-responsive-fluid::before {
  padding-top: 20%;
}

@media(max-width: 768px){
  .embed-responsive-fluid::before {
    padding-top: 35%;
  }
}

@media(max-width: 514px){
  .embed-responsive-fluid::before {
    padding-top: 75%;
  }
}

/* INTRO ANIM */

/* Prevent scrollbars to appear when waves go out of bound */
.sonar-wrapper {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 3rem 0;
  width: 100%;
  background: url(../graf/nana_intro.png) center center no-repeat;
}

/* The circle */
.sonar-emitter {
  position: relative;
  margin: 50px auto;
  width: 275px;
  height: 275px;
  border-radius: 9999px;
  background-color: transparent;
}

/* the 'wave', same shape and size as its parent */
.sonar-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background-color: #4c3717;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
}

/*
  Animate!
  NOTE: add browser prefixes where needed.
*/
.sonar-wave {
  animation: sonarWave 3s linear infinite;
}

@keyframes sonarWave {
  from {
    opacity: 0.4;
  }
  to {
    transform: scale(2);
    opacity: 0;
  }
}


.btn-intro {
    color: #fff;
    background-color: #4c3717;
    border-color: #4c3717;
}

.btn-intro:hover {
    background-color: #4c3717;
    border-color: #d4b380;
}

/* FOOTER COOKIE INFO */
.cookieinfo{
  padding-top: 30px;
  padding-bottom: 20px;
  font-size: 14px;
  text-align: justify;
  clear: both;
}

.cookieinfo a{
  
}

.cc-message {
  font-size: 12px;
}

.cc-message a{
  color: black;
  text-decoration: underline;
}

.cc-message a:hover{
  color: #888888;
}

/* RESPONSIVE BANNER CLASSES */

.img-hd {
  display: block;
  width: 100%;
}

.img-desktop {
  display: none;
  width: 100%;
}

.img-notebook {
  display: none;
  width: 100%;
}

.img-mobile {
  display: none;
  width: 100%;
}

@media (max-width: 1920px) {

  .img-hd { display: block; }
  .img-mobile, .img-notebook, .img-desktop { display: none; }
  
}

@media (max-width: 1680px) {

  .img-desktop { display: block; }
  .img-mobile, .img-notebook, .img-hd { display: none; }
  
}

@media (max-width: 1199px) {

  .img-notebook { display: block; }
  .img-mobile, .img-desktop, .img-hd { display: none; }

}

@media (max-width: 767px) {
  
  .img-mobile { display: block; }
  .img-notebook, .img-desktop, .img-hd { display: none; }

}

/* HEADERS */

h1{
  text-align: center;
  font-size: 32px;
  font-family: 'Playfair Display SC', serif;
}

h2 {
  font-family: 'Playfair Display SC', serif;
  font-size: 26px;
}

h3 {
  font-family: 'Playfair Display SC', sans-serif;
  font-size: 20px;
}

.content-title {
  padding-top: 0;
  padding-bottom: 12px;
  border-bottom: double silver;
}

@media(max-width: 768px){
  h1 {
      font-size: 28px;
  }
  
  h2 {
      font-size: 24px;
  }
  
  h3 {
      font-size: 20px;
  }
}

h3.horsename a{
  
}

h3.horsename{
  font-family: 'Playfair Display', sans-serif;
  font-size: 22px;
  margin-bottom: 0;
  padding-top: 12px;
  padding-bottom: 0;
}

@media(max-width: 1199px){
  h3.horsename {
      font-size: 20px;
  }
}

@media(max-width: 991px){
  h3.horsename {
      font-size: 20px;
  }
}

@media(max-width: 767px){
  h3.horsename {
      font-size: 20px;
  }
}

@media(max-width: 575px){
  h3.horsename {
      font-size: 18px;
  }
}

.modal-title {
  color: black;
  font-size: 20px
}


/* LIST HOVER */
/*.list-item-container:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,1) !important;
}*/

/* A */
a {
  color: #011659;
  text-decoration: none;
}

a:hover {
  color: black;
  text-decoration: underline;
}

#MainContainer a {
  text-decoration: none;
  font-weight: bold;
}

#MainContainer a:hover {
  text-decoration: underline;
}

.card{
  margin-bottom: 1rem;
}

.text {
    -webkit-column-width: 400px;
    -webkit-column-gap: 2em;
    -webkit-column-rule: 0.1em dotted silver;
    -moz-column-width: 400px;
    -moz-column-gap: 2em;
    -moz-column-rule: 0.1em dotted silver;
    column-width: 400px;
    column-gap: 2em;
    column-rule: 0.1em dotted silver;
}

p {
  text-align: justify;
}

.columns {
  -webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;

  -webkit-column-width: 250px; /* Chrome, Safari, Opera */
  -moz-column-width: 250px; /* Firefox */
  column-width: 250px;
   
  -webkit-column-gap: 30px; /* Chrome, Safari, Opera */
  -moz-column-gap: 30px; /* Firefox */
  column-gap: 30px;
  
  -webkit-column-rule: 1px dotted ; /* Chrome, Safari, Opera */
  -moz-column-rule: 1px dotted ; /* Firefox */
  column-rule: 1px dotted ;
  
  margin-bottom:20px;
}

.columns p{
  margin-bottom: 25px;
}

.array_list_outside{
  width: 280px;
  /*margin: 2px;*/
  display: inline-block;
}

.array_list_up{
  display: block;
  background: transparent;
  /*border-bottom: 1px solid #1f1951;*/
  /*border-top: 0;*/
  width: 100%;
  text-align: center;
}

.array_list_up img{
  display: block;
  width: 100%;
}

.array_list_down{
  display: block;
  /*border-top: 1px solid white;*/
  border-bottom: 0;
  height: 2px;
  width: 100%;

}

.array_list {
  width: 100%;
  /*height: 400px;*/
}

.array_list_container {
  width: 100%;
  /*border: 1px solid #f4e0b5;*/
  text-align: center;
}


/* PEDIGREE */
.pedigree_container {
  /*padding: 15px; */
}

.pedigree_description {
  /*border: 1px solid red;*/
  text-align: center;
  display: inline-block;
  vertical-align:middle;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 49%;
}

@media (max-width: 1000px) {
  .pedigree_description {
    width: 100%;
  }
}

.pedigree_photo {
  /*border: 1px solid green;*/
  text-align: center;
  display: inline-block;
  vertical-align:middle;
  width: 50%;
  margin-bottom: 8px;
}

@media (max-width: 1000px) {
  .pedigree_photo {
    width: 100%;
  }
  
  .pedigree_photo img {
    width: 100%;
  }
}

.pedigree_gallery {
  /*border: 1px solid blue;*/
}

.pedigree_pedigree {
  /*border: 1px solid black;*/
  padding-top: 24px;
  display: block; 
  vertical-align:top;
  margin-left:auto;
  margin-right:auto;
  width: 100%;
}

@media (max-width: 1000px) {
  .pedigree_pedigree {
    width: 100%;
  }
}

.pedigree_details {
  /*border: 1px solid orange;*/
  padding-top: 24px;
  display: block; 
  vertical-align:top;
  margin-left:auto;
  margin-right:auto;
  width: 100%;
}

@media (max-width: 1000px) {
  .pedigree_details {
    width: 100%;
    margin-left:0;
  }
}

.pedigree_description_details {
  text-align: initial; 
  background: #eeeeee; 
  margin-left: auto; 
  margin-right: auto; 
  padding: 12px; 
  width: 100%;
}

@media (max-width: 767px) {
  .pedigree_description_details {
    width: 100%;
  }
}

#pedigree td {
  font-weight: 300;
  font-size: 14px;
  color: white;
  padding: 4px;
	padding-left: 6px;
  text-transform: uppercase;
	background: #011659;
  border-bottom: 1px solid #7476a2;
}

@media(max-width: 575px){
  #pedigree td {
    font-size: 10px;
  }
}

#pedigree {
  width: 100%; 
  text-align: left; 
  font-size: 12px;
  border: 0;
  background: transparent;
  border-collapse: collapse;
}

/* GALLERY */
.gallery_history, .gallery_back{
  width: 100%; 
  text-align: center;
}

.gallery_history img, .gallery_back img{
  width: auto; 
}

.gallery_dirtable {
  width: 100%;
  text-align: center;
}

.gallery_dirtable div{
  display: inline-block; 
  padding: 5px;
}

.gallery_filetable {
  width: 100%;
  text-align: center;
}

.gallery_filetable div{
  display: inline-block; 
  padding: 5px;
}

/*hr {
  display: block;
  border-top: 1px dotted #666666;
  border-bottom: 0;
  height: 1px;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}*/

.plugincontainer{
  max-width:400px;
  margin-left: auto;
  margin-right: auto;
}

/* RECORDS */

.table td, .table th {
    border-top: 1px solid #4c3717;
}

.record-table td hr{
  margin-top: 0px;
  margin-bottom: 0px;
}

.record-table .record-year-td{
  width:15%;
  min-width: 65px;
}

.record-table-inside{
  height:45px;
  width: 100%;
}

.record-table-inside td{
  padding: 2px; 
  border-top: 0px;
}

/* FOOTER */
.footer-bar {
  width:100%;
  padding-bottom: 40px;
  padding-top: 25px;
  background: #020215 url('../graf/footer.jpg') center top no-repeat;
  min-height: 200px;
  font-size: 16px;
  color: white;
  text-shadow: 2px 2px 1px black;
}

.footer-bar .footer-menu{
  font-size: 16px;
  list-style: circle;
  padding-top: 20px;
}

@media (max-width: 991px){
  .footer-bar .footer-menu{
    padding-top: 0;
  }
}

.footer-bar .footer-contact{
  font-size: 16px;
  padding-top: 20px;
  text-align: right;
}

@media (max-width: 991px){
  .footer-bar .footer-contact{
    padding-top: 0;
  }
}

.footer-bar a{
  text-decoration: none;
  color: rgb(135,206,250);
}

.footer-bar a:hover{
  text-decoration: none;
  color: white;
}

.border-bottom-bar {
  border-bottom: 4px solid #b89c71;
}

.ft_right a{
  color: white;
  text-transform: uppercase;
}

.footer-bar h1{
  color: white;
  text-align: left;
}

.footer-logo-container{
  text-align: center;
  padding-top: 0;
}

@media (max-width: 991px){
  .footer-logo-container{
    text-align: center;
    padding-top: 5px;
  }
}

/* NEWS ETC. */
.media_box{
  padding-bottom:12px;
  padding-top:12px;
}

.media_body{
  width: 70%;
  display: inline-block;
  vertical-align: top;
}

.media_img{
  width: 25%;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  margin-right:2%;
}

.media_img img{
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 576px){
  .media_body{
    width: 99%;
  }
  
  .media_box{
    margin-bottom:50px;
  }
  
  .media_img{
    width: 99%;
    margin-right:0;
  }
}

/* LITTER */
.litter_box{
  margin-bottom:30px;
  border-bottom: double silver;
}

.litter_body{
  vertical-align: top;
  text-align: center;
}

.litter_img{
  vertical-align: top;
  text-align: center;
}

.litter_img img{
  max-width: 100%;
  max-height: 500px;
  margin-left: auto;
  margin-right: auto;
}



/* OTHER CLASSES */

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.7) !important;
}

.vertical-center {
  min-height: 100%;  
  min-height: 100vh; 
  display: flex;
  align-items: center;
}
