/*******************************************************************/
/*                                                                 */
/* COMMON                                                          */
/*                                                                 */
/*******************************************************************/


body{
    padding: 0;
	margin: 0 auto;
    background-color: #F9F9F9;
}

h1,h2,h3,h4,h5,h6{
    font-family:"Lora", "Helvetica Neue", Helvetica, Arial, sans-serif;
	/*font-weight:300;*/
}

.centertext{
    text-align: center;
}

@media only screen {
	.centeronsmall{text-align: center;}
}

@media only screen and (min-width: 40em) {
	.centeronsmall{text-align: left;}
}



/*******************************************************************/
/*                                                                 */
/* HEADER                                                          */
/*                                                                 */
/*******************************************************************/


#header-wrapper{
    z-index: 999;
    width: 100%;
    /*border-bottom: #E2E2E2 1px solid;*/
}

#header{
    background-color: #000000;
    transition: all 0.6s ease;
}

/*#logo{
    margin-left: 20px;
}*/



.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.6s ease;
}


#logo{ transition: all 0.6s ease; }


@media only screen {
	#header{ height: 46px; }
    #logo{
        float:left;
        height: 46px;
    }
    #topmenu{
        float: right;
        height: 46px;
        line-height: 46px;
    }
    #logo img{
        height: 36px;
        margin-top: 2px;
    }
    #page-wrapper{
        margin-top: 46px;
    }
}

@media only screen and (min-width: 600px) {
	#header{ height: 50px; }
    #logo{
        float:left;
        height: 50px;
    }
    #topmenu{
        float: right;
        height: 50px;
        line-height: 50px;
    }
    #logo img{
        height: 36px;
        margin-top: 2px;
    }
    #page-wrapper{
        margin-top: 50px;
    }
}

@media only screen and (min-width: 900px) {
	#header{ height: 75px; }
    #logo{
        float:left;
        height: 75px;
    }
    #topmenu{
        float: right;
        height: 75px;
        line-height: 75px;
    }
    #logo img{
        height: 55px;
        margin-top: 3px;
    }
    #page-wrapper{
        margin-top: 75px;
    }
}

@media only screen and (min-width: 1200px) {
	#header{ height: 100px;}
    #logo{
        float:left;
        height: 100px;
    }
    #topmenu{
        float: right;
        height: 100px;
        line-height: 100px;
    }
    #logo img{
        height: 70px;
        margin-top: 7px;
    }
    #page-wrapper{
        margin-top: 100px;
    }
}

@media only screen and (min-width: 1800px) {
	#header{ height: 120px; }
    #logo{
        float:left;
        height: 120px;
    }
    #topmenu{
        float: right;
        height: 120px;
        line-height: 120px;
    }
    #logo img{
        height: 90px;
        margin-top: 10px;
    }
    #page-wrapper{
        margin-top: 120px;
    }
}





/*******************************************************************/
/*                                                                 */
/* TOPMENU                                                         */
/*                                                                 */
/*******************************************************************/


a.topmenubutton, .topmenulangbutton{
    color: #b5a262;
    display: inline-block;
    transition: all 0.6s ease;
    /*font-family:"Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight:400;*/
    font-family:"Lora", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight:600;
}

.topmenulangbutton{
    font-size: 80%;
}

a.topmenulangbutton:hover{
    color:#ded68c;
}

a.topmenubutton:hover{
    color:#ded68c;
}

a.topmenubutton.active{
    color: #ded68c;
}

a.topmenulangbutton{
    display: inline-block;
    cursor: pointer;
}

/*.showmenumini{
    margin-right: 20px;
}*/

.showmenumaxi{
    overflow: hidden;
}


@media only screen {
    a.topmenubutton, a.topmenulangbutton{ margin-left: 10px; }
    .showmenumini{ display: block; }
    .showmenumaxi{ display: none; }
}

@media only screen and (min-width: 600px) {
    a.topmenubutton, a.topmenulangbutton{ margin-left: 10px; }
    .showmenumini{ display: block; }
    .showmenumaxi{ display: none; }
}

@media only screen and (min-width: 940px) {
    a.topmenubutton, a.topmenulangbutton{ margin-left: 20px; }
    .showmenumini{ display: none; }
    .showmenumaxi{ display: block; }
}

@media only screen and (min-width: 1200px) {
    a.topmenubutton, a.topmenulangbutton{ margin-left: 35px; }
    .showmenumini{ display: none; }
    .showmenumaxi{ display: block; }
}

@media only screen and (min-width: 1800px) {
    a.topmenubutton, a.topmenulangbutton{ margin-left: 50px; }
    .showmenumini{ display: none; }
    .showmenumaxi{ display: block; }
}

/*******************************************************************/
/*                                                                 */
/* SUB TOPMENU                                                     */
/*                                                                 */
/*******************************************************************/


.subtopmenu-wrapper{
    display: none;
    position: relative;
    background-color: #000000;
    padding-bottom: 20px;
}

.subtopmenu{
    text-align: right;
}

a.subtopmenubtn{
    display: inline-block;
    color: #CCCCCC;
}

a.subtopmenubtn:hover{
    color: #FFFFFF;
}



@media only screen {
    .subtopmenu{margin-right: 10px;}
    a.subtopmenubtn{ margin-left: 10px; }
}

@media only screen and (min-width: 600px) {
    .subtopmenu{margin-right: 10px;}
	a.subtopmenubtn{ margin-left: 10px; }
}

@media only screen and (min-width: 900px) {
    .subtopmenu{margin-right: 20px;}
	a.subtopmenubtn{ margin-left: 20px; }
}

@media only screen and (min-width: 1200px) {
    .subtopmenu{margin-right: 35px;}
	a.subtopmenubtn{ margin-left: 35px; }
}

@media only screen and (min-width: 1800px) {
    .subtopmenu{margin-right: 50px;}
	a.subtopmenubtn{ margin-left: 50px; }
}



/*******************************************************************/
/*                                                                 */
/* SMALL MENU                                                      */
/*                                                                 */
/*******************************************************************/


.hamstack{
    color: #b5a262;
}

.hamstack:hover{
    color: #ded68c;
}

.smallmenu-wrapper{
    display: none;
    position: relative;
    background-color: #FFFFFF;
    padding: 20px 0;
}



/*******************************************************************/
/*                                                                 */
/*  FRONTPAGE                                                     */
/*                                                                 */
/*******************************************************************/


#frontpagehorses{
    background-color: #000000;
    color: #FFFFFF;
    position: relative;
}

#news{
    background-color: #000000;
    color: #FFFFFF;
}

#results{
    background-color: #000000;
    color: #FFFFFF;
}


@media only screen {
    
}

@media only screen and (min-width: 600px) {
   
}

@media only screen and (min-width: 900px) {
   
}

@media only screen and (min-width: 1200px) {
    
}

@media only screen and (min-width: 1800px) {
   
}





/*******************************************************************/
/*                                                                 */
/*  CAROUSEL                                                     */
/*                                                                 */
/*******************************************************************/

/*
#b5a162
#ded68c
*/

#carousel{
    height: 55vh;
    width: 100%;
    visibility: hidden;
}

#carousel.slick-initialized{
   /* https://github.com/kenwheeler/slick/issues/1741 */
   visibility: visible;
}

#frontpagehorsescarousel{
    width: 100%;
    visibility: hidden;
}

#frontpagehorsescarousel.slick-initialized{
    /* https://github.com/kenwheeler/slick/issues/1741 */
    visibility: visible;
 }

.slick-slide{
    padding: 20px 10px 0px 10px;
}

.slick-slide img.carimg{
    height: 55vh;
}


.slick-dots{
    width: 100%;
    position: relative;
    /*margin-top: 5px;*/
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.slick-dots li {
    position: relative;
   display: inline-block;
   width: 10px;
    height: 10px;
    padding: 5px;
    margin: 0px 5px 0px 5px;
    /*background-color: #CCCCCC;
    border-radius: 20px 20px 20px 20px;
    margin: 0px 5px 0px 5px;*/
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background-color: #D2D2D2;
    border-radius: 20px 20px 20px 20px;
}

.slick-dots li button:hover {
    background-color: #000000;
}

.slick-dots li.slick-active button{
    background-color: #b5a162;
}

.slick-arrow{
    color: #FFFFFF;
}


@media only screen {
    #frontpagehorsescarousel{
        height: 420px;
    }
    .slick-slide img.frontimg{
        height: 300px;
    }
}

@media only screen and (min-width: 600px) {
    #frontpagehorsescarousel{
        height: 420px;
    }
    .slick-slide img.frontimg{
        height: 300px;
    }
}

@media only screen and (min-width: 900px) {
    #frontpagehorsescarousel{
        height: 420px;
    }
    .slick-slide img.frontimg{
        height: 300px;
    }
}

@media only screen and (min-width: 1200px) {
    #frontpagehorsescarousel{
        height: 420px;
    }
    .slick-slide img.frontimg{
        height: 300px;
    }
}

@media only screen and (min-width: 1800px) {
    #frontpagehorsescarousel{
        height: 420px;
    }
    .slick-slide img.frontimg{
        height: 300px;
    }
}



/*******************************************************************/
/*                                                                 */
/* MASONRY : HORSES                                              */
/*                                                                 */
/*******************************************************************/

.static-masonry-banner{
    position: relative;
    width: 100%;
    /*background-color: #b5a162;*/
    border-bottom: #b5a162 1px solid;
    color: #b5a162;
    margin-bottom: 30px;
    font-family:"Lora", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 30px;
    text-align: center;
}

/* clearfix */
.projectsgrid:after {
    content: '';
    display: block;
    clear: both;
}

.projectsgrid-image-wrapper{
    display: block;
    position: relative;
}

.picimg {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}
  
  .picmiddle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .projectsgrid-image-wrapper:hover .picimg {
    opacity: 0.3;
  }
  
  .projectsgrid-image-wrapper:hover .picmiddle {
    opacity: 1;
  }
  
  .picicon {
    color: white;
    background-image: url('../gfx/horsehead.svg');
    background-position: center center;
    background-repeat: no-repeat;
    height: 100px;
    width: 80px;
  }

/*
.projectsgrid-sizer,
.projectsgrid-item { width: 25%; }
.projectsgrid-item--width2 { width: 50%; }
*/

.projectsgrid-inner-wrapper{
    position: relative;
    padding: 20px 20px 20px 20px;
}

.projectsgrid-inner{
    /*background-color: #FFFFFF;*/
    /*padding: 10px;*/
}

.projectsgrid-title{
    font-family:"Oswald", "Helvetica Neue", Helvetica, Arial, sans-serif;
    /*font-weight:400;*/
    font-size: 18px;
    color: #000;
}

.projectsgrid-headline{
    font-family:"Lora", "Helvetica Neue", Helvetica, Arial, sans-serif;
    /*font-weight:400;*/
    font-size: 16px;
    color: #000;
}



@media only screen {
    .projectsgrid-sizer,
    .projectsgrid-item { width: 100%; }
}

@media only screen and (min-width: 600px) {
    .projectsgrid-sizer,
    .projectsgrid-item { width: 100%; }
}

@media only screen and (min-width: 900px) {
    .projectsgrid-sizer,
    .projectsgrid-item { width: 50%; }
}

@media only screen and (min-width: 1200px) {
    .projectsgrid-sizer,
    .projectsgrid-item { width: 33%; }
}

@media only screen and (min-width: 1800px) {
    .projectsgrid-sizer,
    .projectsgrid-item { width: 33%; }
}



/**************************************************************************************
**
** PAGINATOR
**
***************************************************************************************/

.paginator{
    margin-bottom: 15px;
    width: 240px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.MarkupPagerNav{
	list-style: none;
	margin: 0px 0px 20px 0px;
}

.MarkupPagerNav li{
	display:inline-block;
	margin-right:10px;
}

.MarkupPagerNav li a span{
	padding:10px 15px 10px 15px;  background-color:#FFF; color:#b5a162; box-shadow:#aaa 1px 1px 0px;font-weight:bold; font-size:20px;
}

.MarkupPagerNav li a span:hover{
	background-color:#002f53; color:#ffed00; box-shadow:#aaa 0px 0px 0px;font-weight:bold;
}

.paginator-arrows{
	display:inline-block; padding:10px 15px 10px 15px; margin-right:10px; background-color:#FFF; color:#b5a162; box-shadow:#aaa 1px 1px 0px;font-weight:bold; font-size:20px;
}
.paginator-arrows.right{
	margin-right:0px;
}

.paginator-arrows:hover{
	background-color:#b5a162; color:#FFFFFF; box-shadow:#aaa 0px 0px 0px;font-weight:bold;
}

.paginator-numbers{
	display:inline-block; padding:8px 15px 6px 15px; margin-right:10px; background-color:#FFF; color:#b5a162; box-shadow:#aaa 1px 1px 0px;
}

.paginator-numbers:hover{
	background-color:#b5a162; color:#FFFFFF; box-shadow:#aaa 0px 0px 0px;font-weight:bold;
}

.pagedropmenu{
	background-color:#FFFFFF; color:#b5a162;
}

.pagedropmenu:hover{
	background-color:#b5a162; color:#FFFFFF;
}


.dropdown .is-dropdown-submenu a {
	padding: 10px 10px 10px 10px;
}
.dropdown.menu a {
    padding: 10px 10px 10px 10px;
}

.is-dropdown-submenu{
	min-width: 90px;
}

.miniarrow{
    height: 30px;
}

/*
@media only screen {
	.paginator{
		margin-bottom: 15px;
		width: 240px;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
}

@media print, screen and (min-width: 40em) {
	.paginator{
		margin-bottom: 0px;
		width: 240px;
		text-align: left;
		margin-left: 0;
		margin-right: auto;
	}
}
*/



/*******************************************************************/
/*                                                                 */
/*  HORSE DETAIL                                           */
/*                                                                 */
/*******************************************************************/


.reference{
    color: #b5a162;
}

.arrow{
    height: 60px;
}



/*******************************************************************/
/*                                                                 */
/*  PEDIGREE                                           */
/*                                                                 */
/*******************************************************************/

.pedigree{
    border-collapse: collapse;
}

.pedigreebtn{
    color: #b5a162;
}

.pedigreecell{
    width: 25%;
    border-bottom: #ded68c 1px solid;
    padding: 5px 0;
}



/*******************************************************************/
/*                                                                 */
/*  SOCIAL MEDIA LINKS                                             */
/*                                                                 */
/*******************************************************************/

#socialmedia{
    background-color: #b5a162;
    padding: 40px 0;
}

#socialmedia a{
    font-weight: 900;
} 




/*******************************************************************/
/*                                                                 */
/* FOOTER                                                          */
/*                                                                 */
/*******************************************************************/


#footer{
    background-color: #000000;
    color: #FFFFFF;
    /*border-top: #E2E2E2 1px solid;*/
}

.footer-padding{
    padding: 60px 0;
}

.footmail{
    color: #FFFFFF;
}

.footmail:hover{
    color: #ded68c;
}

.footermenubutton{
    color: #b5a262;
    font-family:"Lora", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight:600;
}

.footermenubutton:hover{
    color: #ded68c;
}



#credits{
    background-color: #222222;
    color: #999999;
    font-size: 12px;
    padding: 6px 0;
}

#credits a{
    color: #999999;
}








/**************************************************************************************
**
** BACK TO TOP
**
***************************************************************************************/

/* https://codyhouse.co/gem/back-to-top/ */

.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    /* image replacement properties */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    /*background: rgba(232, 98, 86, 0.8) url(../gfx/cd-top-arrow.svg) no-repeat center 50%;*/
    background: rgba(0, 0, 0, 0.8) url(../gfx/cd-top-arrow.svg) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
  }
  .cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -moz-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
  }
  .cd-top.cd-is-visible {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
  }
  .cd-top.cd-fade-out {
    /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
    opacity: .5;
  }
  .no-touch .cd-top:hover {
    background-color: #e86256;
    opacity: 1;
  }
  @media only screen and (min-width: 768px) {
    .cd-top {
      right: 20px;
      bottom: 20px;
    }
  }
  @media only screen and (min-width: 1024px) {
    .cd-top {
      height: 60px;
      width: 60px;
      right: 30px;
      bottom: 30px;
    }
  }





/*******************************************************************/
/*                                                                 */
/* SPACERS AND CLEAR                                               */
/*                                                                 */
/*******************************************************************/

.width90{width:90px;}

.spacer5{height:5px;}
.spacer10{height:10px;}
.spacer15{height:15px;}
.spacer20{height:20px;}
.spacer25{height:25px;}
.spacer30{height:30px;}
.spacer45{height:45px;}
.spacer60{height:60px;}
.spacer90{height:90px;}
.spacer110{height:110px;}
.spacer115{height:115px;}
.spacer120{height:120px;}
.spacer125{height:125px;}
.spacer130{height:130px;}
.spacer140{height:140px;}
.spacer145{height:145px;}
.spacer150{height:150px;}
.spacer160{height:160px;}
.spacer180{height:180px;}

.clear{clear: both;}


@media only screen {
    .respacer{
        height: 30px;
    }
}

@media only screen and (min-width: 600px) {
    .respacer{
        height: 40px;
    }
}

@media only screen and (min-width: 900px) {
    .respacer{
        height: 48px;
    }
}

@media only screen and (min-width: 1200px) {
    .respacer{
        height: 60px;
    }
}

@media only screen and (min-width: 1800px) {
    .respacer{
        height: 90px;
    }
}