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

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');




/* INTRO */

/*body.intro {
  height: 100%; 
  background-image: url("../graf/intro_bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  margin-top: 0;
}*/

.mainpage{
  height: calc(100vh - 59px);
  margin-top: 0;
}

@media (max-width: 1199px) {
  
  .mainpage{
    height: calc(100vh - 61px);
  }

}

@media (max-width: 991px) {
  
  .mainpage{
    height: calc(100vh - 50px);
  }

}


.emblem-container{
  height: 0; 
  overflow: visible;
}

.emblem{
  width: 30vh; 
  height: 20vh; 
  background-image: url("../graf/header-logo.png");
  background-size: contain; 
  background-repeat: no-repeat; 
  background-position: top;
  margin-top: 1vh;
}

.emblem-baner{
  margin-left: auto;
  margin-right: auto;
  width: 20vh; 
  height: 20vh; 
  /*background-image: url("../graf/logo.svg"); */
  background-size: cover; 
  background-repeat: no-repeat; 
  background-position: top;
}

@media only screen and (orientation: portrait) {
  .emblem-baner{
    width: 20vw; 
    height: 20vw;
  }
}


/* MAIN */

body {
  color: #282425;
  text-align: justify;
  background: white;
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 400;
}

@media (max-width: 992px) {
  
  body{
    font-size: 15px;
  }

}

@media (max-width: 768px) {
  
  body{
    font-size: 14px;
  }

}

.top-bg{
  background: white;
  height: 25px;
  border-top: 2px solid #edecd1;
  margin-bottom: 20px;
}

.content-bg{
  /*border-top: 4px solid #c6b2b8;
  border-bottom: 4px solid #c6b2b8;*/
  background: #fff1f5;
}

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

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

hr{
  border-top: 2px solid #d7cbcf;
  opacity: 1;
}

hr.light{
  border-top: 1px solid white;
  width:70%;
  margin-top: 6px;
  margin-bottom: 6px;
}

/* HEADER */

.header-wide{
  display: block;
}

.header-narrow{
  display: none;
}

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

.header-icons a img{
  border: 4px solid white;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, .7);
}

.header-icons a img:hover{
  box-shadow: 2px 2px 20px rgba(255, 255, 255, .7);
}

/* NAVIGATION */

.navbar-wbmx{
  font-family: 'Cinzel', sans-serif;
  background: white;
  padding: 0;
  /*box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  border-bottom: 2px solid #edecd1;*/
  z-index: 100;
}

.navbar-wbmx .navbar-nav .nav-link{
  background-color: transparent;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  color: #282425;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  /*text-shadow: 2px 2px 2px #000000;*/
}


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

}

@media (max-width: 991px) {
  
  .navbar-wbmx .navbar-nav .nav-link{
    font-size: 15px;
    padding: 0.4rem;
    text-align: center;
  }

}

.navbar-wbmx .navbar-nav .nav-link:hover, .navbar-wbmx .navbar-nav .nav-link:focus{
  background-color: #fff1f5;
  color: #282425;
}

.navbar-wbmx .navbar-nav .active > .nav-link{
  background-color: #fff1f5;
  color: #282425;
}

.navbar-wbmx .dropdown-item{
  color: #282425;
  background-color: white;
  padding: .1rem 1rem;
  text-decoration: none;
}

.navbar-wbmx .dropdown-item:hover{
  color: white;
  background-color: #282425;
}

.navbar-wbmx .dropdown-item.active{
  color: white;
  background-color: #282425;
}

.navbar-wbmx .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(79, 59, 53, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-wbmx .navbar-toggler{
    border-color: #282425;
    margin: 4px;
}

.navbar-wbmx .navbar-brand{
  padding-top:0;
  padding-bottom: 0;
}

.navbar-wbmx .navbar-brand img{
  height: 70px;
  margin-top: 5px;
  margin-bottom: 5px;
}

@media (max-width: 1199px) {
  
  .navbar-wbmx .navbar-brand img{
    height: 65px;
  }

}

@media (max-width: 991px) {
  
  .navbar-wbmx .navbar-brand img{
    height: 50px;
  }

}


.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: #edecd1;
  font-family: 'Raleway', sans-serif;
}

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

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


.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%;
  }
}



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

.cookieinfo a{
  color: white;
}

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

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

.cc-message a:hover{
  color: red;
}

/* RESPONSIVE BANNER CLASSES */

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

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

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

.img-mobile {
  display: block;
  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: 991px) {
  
  .img-mobile { display: block; }
  .img-notebook, .img-desktop, .img-hd { display: none; }

}

/* HEADERS */

h1{
  text-align: center;
  font-size: 34px;
  font-family: 'Cinzel', serif; 
  color: #282425;
  text-transform: uppercase;
}

h2 {
  font-family: 'Cinzel', serif;
  font-size: 30px;
  color: #282425;
  /*text-transform: uppercase;*/
}

h3 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  color: #282425;
  /*text-transform: uppercase;*/
}

h4 {
  font-size: 22px;
  color: #282425;
  font-weight: 500;
}

.content-title {
  padding-top: 0;
  padding-bottom: 0;
}

.title-line {
  width: 60%;
  max-width: 400px;
  height: 2px;
  border-top: 2px solid #d7cbcf;
}

@media(max-width: 768px){
  h1 {
      font-size: 30px;
  }
  
  h2 {
      font-size: 22px;
  }
  
  h3 {
      font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }
}

h3.horsename a{
  text-transform: uppercase; 
  color: #282425;
  font-family: 'Oswald', sans-serif;
}

h3.horsename{
  font-family: 'Cinzel', sans-serif;
  font-size: 22px;
  margin-bottom: 0;
  padding-top: 0px;
  padding-bottom: 0;
  color: #282425;
  font-weight: 400;
}

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

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

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

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

/* lightbox and modal options */

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

figure.gallery-item {
  display: inline-block;
  padding: 5px;
  margin: 0;
}

figcaption{
  display:none;
}


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

/* A */
a {
  color: #bb721b;
  text-decoration: underline;
}

a:hover {
  color: #b58956;
  text-decoration: underline;
}

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

#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;
  width: 100%;
  text-align: center;
}

.array_list_up img{
  max-width: 250px;
}

.array_list_down{
  display: block;
  background: transparent;
  width: 100%;
  text-align: center;
}

.array_list_down img{
  max-width: 250px;
}

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

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

/* HORSES LIST */
.list-item-container{
  position: relative;
  /*background-image: url("../graf/card-bg.jpg"); 
  background-repeat: no-repeat; 
  background-position: center;
  color: #282425;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);*/
  margin-bottom: 40px;
  /*border: 2px solid white;*/
}

.horselist-photo-container{
  width: 100%;
  text-align: center; 
  /*padding: 10px;*/
}

.horselist_info{
  /*padding-top:4px;*/
  font-size: 16px;
  text-align: center;
  /*background: white;*/
  color: #282425;
}

.horselist-icon{
  max-height: 100px;
}

@media (max-width: 991px) {
  .horselist-icon{
    max-height: 50px;
  }
}

.horselist-deco {
  width: 100%;
  /*height: 50px;*/
  overflow: visible;
}

.horselist-deco img {
  /*vertical-align: top;*/
  position: relative;
  z-index: 50;
  max-height: 80px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* PEDIGREE */
/*
.pedigree_container {
  
}
*/
.pedigree_description {
  /*border: 1px solid #F70000;*/
  text-align: center;
  display: inline-block;
  vertical-align:middle;
  padding-top: 0;
  padding-bottom: 24px;
  width: 49%;
  margin-top: 4px;
  margin-bottom: 4px;
}

.pedigree_description img{
  max-width: 25%;
}

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

.pedigree_horsename{
  font-size: 40px;
  font-family: 'Cinzel', sans-serif;
  font-weight: 500;  
  color: #282425;
  text-transform: uppercase;
}

@media (max-width: 575px) {
  .pedigree_horsename{
    font-size: 30px;
  }
}

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

.pedigree_photo img{
  max-height:700px;
}

@media (max-width: 992px) {
  .pedigree_photo {
    width: 100%;
  }
  
  .pedigree_photo img {
    width: 100%;
    max-height:800px;
  }
}
/*
.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: #282425; 
  margin-left: auto; 
  margin-right: auto; 
  padding: 12px; 
  width: 100%;
}

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

#pedigree td {
  font-weight: 400;
  font-size: 16px;
  color: black;
  padding: 8px;
	/*padding-left: 6px;*/
  text-transform: uppercase;
  border-bottom: 2px solid #d7cbcf;
  line-height: 1;
}

@media(max-width: 575px){
  #pedigree td {
    font-size: 10px;
  }
}
/*
#pedigree td.alt {
}
*/
#pedigree {
  width: 100%; 
  text-align: center; 
  border: 2px solid #d7cbcf;
  /*background-image: linear-gradient(120deg, #e7cca1 0%, #fae5c5 100%);*/
  background: white;
  border-collapse: collapse;
  /*box-shadow: 0 0 6px rgba(0,0,0,0.2);*/
}

/* 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;
}

.palace-bar {
  width:100%;
  max-height: 80px;
}

.palace-bar img{
  max-width: 100%;
  max-height: 150px;
}

/* FOOTER */
.footer-bar {
  width:100%;
  padding-bottom: 40px;
  padding-top: 0;
  /*border-top: 12px solid white;*/
  background: white;
  min-height: 200px;
  font-size: 16px;
  /*text-shadow: 2px 2px 2px #000000;*/
  color: #282425;
}

.footer-bar .footer-menu{
  font-size: 14px;
  font-weight: 400;
  padding-top: 20px;
  padding-bottom: 16px;
  text-transform: uppercase;
}

.footer-bar .footer-menu a{
  text-decoration: none;
  color: #282425;
}

.footer-bar .footer-menu a:hover{
  color: #b58956;
}

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

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

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

.footer-bar a{
  color: #282425;
  text-decoration: underline;
}

.footer-bar a:hover{
  text-decoration: underline;
  color: #282425;
}

.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: 0;
  }
}

.footer-logo-container img{
  padding: 40px;
}

/* 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:10px;
  }
  
  .media_img{
    width: 99%;
    margin-right:0;
  }
}

/* OTHER CLASSES */

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

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

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.3) !important;
}

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

/* Simple CSS RIBBON by pixelbrewco.com*/

.ribbon-wrapper {
    width: 105px;
    height: 108px;
    overflow: hidden;
    position: absolute;
    top: -3px;
    right: -3px
}

.ribbon {
    font-size: 12px;
    color: #FFF;
    text-transform: uppercase;
    font-family: Arial;
    letter-spacing: .05em;
    line-height: 15px;
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .4);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    position: relative;
    padding: 12px 0;
    right: 0px;
    top: 16px;
    width: 140px;
    height: 38px;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .3);
    box-shadow: 0 0 3px rgba(0, 0, 0, .3);
    background-color: #dedede;
    background-image: -webkit-linear-gradient(top, #ffffff 45%, #dedede 100%);
    background-image: -o-linear-gradient(top, #ffffff 45%, #dedede 100%);
    background-image: linear-gradient(to bottom, #ffffff 45%, #dedede 100%);
    background-repeat: repeat-x;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffdedede', GradientType=0)
}

.ribbon:before,
.ribbon:after {
    content: "";
    border-top: 3px solid #9e9e9e;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    position: absolute;
    bottom: -3px
}

.ribbon:before {
    left: 0
}

.ribbon:after {
    right: 0
}

.ribbon.red {
    background-color: #bc1a3a;
    background-image: -webkit-linear-gradient(top, #a61733 45%, #bc1a3a 100%);
    background-image: -o-linear-gradient(top, #a61733 45%, #bc1a3a 100%);
    background-image: linear-gradient(to bottom, #a61733 45%, #bc1a3a 100%);
    background-repeat: repeat-x;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffa61733', endColorstr='#ffbc1a3a', GradientType=0)
}

.ribbon.red:before,
.ribbon.red:after {
    border-top: 3px solid #8f142c
}
