/**
 * Visual Composer layout classes.
 *
 * The old pages were built with Visual Composer (WPBakery Page Builder 4.9),
 * whose front-end stylesheet supplied the layout of rows, columns, single
 * images, separators, grids and carousels. That stylesheet is commercial and
 * cannot be redistributed, so these rules are written for this theme to give
 * the same rendering for the subset of classes the site's markup uses. The
 * horseclub CSS was written on top of them, so this file loads first, in the
 * position the plugin stylesheet had (before bootstrap.css).
 *
 * Contents:
 * 1. Rows and columns
 * 2. Content elements
 * 3. Single images
 * 4. Separators with text
 * 5. Custom headings
 * 6. Grids (stallion cards and media grids)
 * 7. Grid item reveal (zoomIn)
 * 8. Image carousel indicators and controls
 * 9. Scroll reveals
 * 10. Media queries
 */


/**
 * 1. Rows and columns
 */

.vc_row {
	margin-right: -15px;
	margin-left: -15px;
}

.vc_row:before,
.vc_row:after,
.vc_clearfix:before,
.vc_clearfix:after,
.vc_column-inner:before,
.vc_column-inner:after {
	display: table;
	content: " ";
}

.vc_row:after,
.vc_clearfix:after,
.vc_column-inner:after {
	clear: both;
}

.vc_col-sm-1,
.vc_col-sm-2,
.vc_col-sm-3,
.vc_col-sm-4,
.vc_col-sm-5,
.vc_col-sm-6,
.vc_col-sm-7,
.vc_col-sm-8,
.vc_col-sm-9,
.vc_col-sm-10,
.vc_col-sm-11,
.vc_col-sm-12,
.vc_col-md-1,
.vc_col-md-2,
.vc_col-md-3,
.vc_col-md-4,
.vc_col-md-5,
.vc_col-md-6,
.vc_col-md-7,
.vc_col-md-8,
.vc_col-md-9,
.vc_col-md-10,
.vc_col-md-11,
.vc_col-md-12,
.vc_col-lg-1,
.vc_col-lg-2,
.vc_col-lg-3,
.vc_col-lg-4,
.vc_col-lg-5,
.vc_col-lg-6,
.vc_col-lg-7,
.vc_col-lg-8,
.vc_col-lg-9,
.vc_col-lg-10,
.vc_col-lg-11,
.vc_col-lg-12 {
	position: relative;
	box-sizing: border-box;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}

/* A column container's gutter is on its inner element instead. */
.vc_column_container {
	width: 100%;
	padding-right: 0;
	padding-left: 0;
}

.vc_column_container > .vc_column-inner {
	box-sizing: border-box;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
}


/**
 * 2. Content elements
 */

.wpb_content_element {
	margin-bottom: 35px;
}

.wpb_text_column :last-child,
.wpb_text_column p:last-child {
	margin-bottom: 0;
}


/**
 * 3. Single images
 *
 * `vc_box_border` adds a 6px grey frame; `vc_box_border_circle` makes the
 * frame and the image round.
 */

.wpb_single_image a {
	border: none;
	outline: 0;
}

.wpb_single_image img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

.wpb_single_image .vc_single_image-wrapper {
	display: inline-block;
	max-width: 100%;
	vertical-align: top;
}

.wpb_single_image .vc_single_image-wrapper.vc_box_border,
.wpb_single_image .vc_single_image-wrapper.vc_box_border_circle {
	padding: 6px;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.wpb_single_image .vc_single_image-wrapper.vc_box_border img,
.wpb_single_image .vc_single_image-wrapper.vc_box_border_circle img {
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.wpb_single_image .vc_single_image-wrapper.vc_box_border_circle,
.wpb_single_image .vc_single_image-wrapper.vc_box_border_circle img {
	overflow: hidden;
	border-radius: 50%;
	box-shadow: none;
}

.wpb_single_image .vc_box_border.vc_box_border_grey,
.wpb_single_image .vc_box_border_circle.vc_box_border_grey {
	background-color: #ebebeb;
}

.wpb_single_image.vc_align_left {
	text-align: left;
}

.wpb_single_image.vc_align_center {
	text-align: center;
}

.wpb_single_image.vc_align_right {
	text-align: right;
}

.wpb_single_image .vc_figure {
	display: inline-block;
	max-width: 100%;
	margin: 0;
	vertical-align: top;
}


/**
 * 4. Separators with text
 *
 * A heading between two line holders; `vc_sep_double` draws two lines.
 */

.vc_separator {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
}

.vc_separator h4 {
	flex: 0 1 auto;
	margin: 0;
	font-size: 100%;
	line-height: 1em;
	word-wrap: break-word;
}

.vc_separator .vc_sep_holder {
	position: relative;
	flex: 1 1 auto;
	min-width: 10%;
	height: 1px;
}

.vc_separator .vc_sep_holder .vc_sep_line {
	display: block;
	position: relative;
	top: 1px;
	width: 100%;
	height: 1px;
	border-top: 1px solid #ebebeb;
}

.vc_separator.vc_separator_align_left .vc_sep_holder.vc_sep_holder_l,
.vc_separator.vc_separator_align_right .vc_sep_holder.vc_sep_holder_r {
	display: none;
}

.vc_separator.vc_separator_align_center h4 {
	padding: 0 0.8em;
}

.vc_separator.vc_separator_align_left h4 {
	padding: 0 0.8em 0 0;
}

.vc_separator.vc_separator_align_right h4 {
	margin: 0 !important;
	padding: 0 0 0 0.8em;
}

.vc_separator.vc_sep_double {
	height: 3px;
}

.vc_separator.vc_sep_double .vc_sep_line {
	height: 3px;
	border-top: 1px solid #ebebeb;
	border-bottom: 1px solid #ebebeb;
}

.vc_separator.vc_sep_border_width_1 .vc_sep_holder .vc_sep_line {
	border-top-width: 1px;
}

.vc_separator.vc_sep_border_width_1.vc_sep_double .vc_sep_holder .vc_sep_line {
	top: 0;
	border-bottom-width: 1px;
}

.vc_separator.vc_sep_color_grey .vc_sep_line {
	border-color: #ebebeb;
}

.vc_sep_width_10 {
	width: 10%;
}

.vc_sep_width_20 {
	width: 20%;
}

.vc_sep_width_30 {
	width: 30%;
}

.vc_sep_width_40 {
	width: 40%;
}

.vc_sep_width_50 {
	width: 50%;
}

.vc_sep_width_60 {
	width: 60%;
}

.vc_sep_width_70 {
	width: 70%;
}

.vc_sep_width_80 {
	width: 80%;
}

.vc_sep_width_90 {
	width: 90%;
}

.vc_sep_pos_align_left {
	margin-right: auto;
	margin-left: 0;
}

.vc_sep_pos_align_center {
	margin-right: auto;
	margin-left: auto;
}

.vc_sep_pos_align_right {
	margin-right: 0;
	margin-left: auto;
}

/*
 * `vc_empty_space` needs no rule: its height is an inline style on the
 * element, as on the old site.
 */


/**
 * 5. Custom headings
 */

.vc_custom_heading a,
.vc_custom_heading a:focus,
.vc_custom_heading a:hover,
.vc_custom_heading a:visited {
	color: inherit;
	text-decoration: inherit;
	border: none;
}

.vc_custom_heading a {
	opacity: 1;
	transition: all 0.2s ease-in-out;
}

.vc_custom_heading a:hover {
	opacity: 0.85;
}


/**
 * 6. Grids (stallion cards and media grids)
 *
 * A grid is `.vc_grid.vc_row` > `.vc_pageable-slide-wrapper` > items. Each
 * `.vc_grid-item` carries a `vc_col-sm-*` width and the `vc_visible-item`
 * class. Zone A shows the image as a cover background on a 1:1 box; zone B is
 * the overlay shown on hover. `vc_grid-gutter-5px` spaces items by 5px.
 */

.vc_grid.vc_row {
	margin-right: 0;
	margin-left: 0;
	padding-right: 0;
	padding-left: 0;
}

.vc_grid.vc_row.vc_grid-gutter-5px {
	margin-bottom: -5px;
}

.vc_grid.vc_row.vc_grid-gutter-5px .vc_pageable-slide-wrapper {
	margin-right: -5px;
}

.vc_grid.vc_row.vc_grid-gutter-5px .vc_grid-item {
	padding-right: 5px;
	padding-bottom: 5px;
}

.vc_grid.vc_row .vc_pageable-slide-wrapper > :hover {
	z-index: 3;
}

.vc_grid.vc_row .vc_grid-item {
	display: none;
	box-sizing: border-box;
	z-index: 1;
	float: none;
	padding: 0;
	vertical-align: top;
}

.vc_grid.vc_row .vc_grid-item.vc_visible-item {
	display: block;
}

.vc_grid.vc_row .vc_grid-item .wpb_content_element {
	margin-bottom: 15px;
}

.vc_grid.vc_row .vc_grid-item .wpb_content_element a {
	text-decoration: none;
	border-bottom: 0;
}

.vc_grid .vc_gitem-link {
	border-bottom: none;
	outline: 0;
}

.vc_gitem-link {
	text-decoration: none;
}

.vc_gitem-is-link {
	cursor: pointer;
}

.vc_gitem-animated-block {
	position: relative;
}

.vc_gitem-zone,
.vc_gitem_row .vc_gitem-col {
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
}

.vc_gitem-zone {
	position: relative;
	overflow: hidden;
	background-clip: padding-box;
}

.vc_gitem-zone .vc-zone-link {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 5;
}

.vc_gitem-zone-img {
	display: block;
	visibility: hidden;
	width: 100%;
	height: auto;
}

/* The zone's height comes from a 1:1 box, not from the image. */
.vc-gitem-zone-height-mode-auto:before {
	display: block;
	padding-top: 100%;
	content: "";
}

.vc-gitem-zone-height-mode-auto .vc_gitem-zone-img {
	display: none !important;
}

.vc_gitem-zone-a .vc_gitem-zone-mini {
	position: static;
	box-sizing: border-box;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	padding: inherit;
}

.vc_gitem-zone-b {
	display: none;
	overflow: hidden;
}

.vc_gitem-zone-b .vc_gitem-zone-mini {
	position: static;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: inherit;
}

.vc_gitem-animate .vc_gitem-zone-b {
	z-index: 199;
}

.vc_gitem-animate-none .vc_gitem-zone-b {
	display: block;
	position: absolute;
	box-sizing: border-box;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0;
	opacity: 0;
}

/* The overlay shows on hover (the old grid script toggled `vc_is-hover`). */
.vc_grid-item-mini:hover .vc_gitem-animate-none .vc_gitem-zone-b,
.vc_grid-item-mini.vc_is-hover .vc_gitem-animate-none .vc_gitem-zone-b {
	opacity: 1;
}

.vc_gitem_row,
.vc_gitem_row .vc_gitem_row {
	margin-bottom: 0;
}

.vc_gitem_row {
	box-sizing: border-box;
	margin-right: 0;
	margin-left: 0;
	padding: inherit;
}

.vc_gitem_row .vc_gitem-col {
	padding: 10px;
}

.vc_gitem-zone-a .vc_gitem-row-position-top,
.vc_gitem-zone-b .vc_gitem-row-position-top {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
}

.vc_gitem-zone-a .vc_gitem-row-position-middle,
.vc_gitem-zone-b .vc_gitem-row-position-middle {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	transform: translate(0, -50%);
}

.vc_gitem-zone-a .vc_gitem-row-position-bottom,
.vc_gitem-zone-b .vc_gitem-row-position-bottom {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
}

.vc_gitem-col-align-left {
	text-align: left;
}

.vc_gitem-post-data {
	margin-bottom: 15px;
}

.vc_gitem-post-data h2 {
	margin: 0;
}


/**
 * 7. Grid item reveal (zoomIn)
 *
 * Grid items were revealed with animate.css's `zoomIn` (1s). Add the classes
 * `animated zoomIn` to an item to play it.
 */

.animated {
	animation-duration: 1s;
	animation-fill-mode: both;
}

.zoomIn {
	animation-name: zoomIn;
}

/*
 * A media grid served with its tiles (`data-reveal`) keeps them invisible, in
 * place, until assets/js/media-grid.js plays the reveal; a <noscript> style
 * shows them without JavaScript.
 */
.vc_grid[data-reveal] .vc_grid-item:not(.animated) {
	opacity: 0;
}

@keyframes zoomIn {

	0% {
		opacity: 0;
		transform: scale3d(0.3, 0.3, 0.3);
	}

	50% {
		opacity: 1;
	}
}


/**
 * 8. Image carousel indicators and controls
 *
 * The News item carousel markup (`.vc_images_carousel`). The active
 * indicator is `.vc_active` in the old markup and `.slick-active` when the
 * dots are rendered by Slick with `dotsClass: 'vc_carousel-indicators'`.
 */

.vc_images_carousel {
	position: relative;
}

.vc_images_carousel .vc_carousel-inner {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.vc_images_carousel .vc_carousel-indicators {
	position: absolute;
	bottom: 10px;
	left: 50%;
	z-index: 15;
	width: 60%;
	margin: 0 0 0 -30%;
	padding-left: 0;
	list-style: none;
	text-align: center;
}

.vc_images_carousel .vc_carousel-indicators li {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 1px;
	border: 1px solid #808080;
	border-radius: 10px;
	background-color: #808080;
	text-indent: -999px;
	cursor: pointer;
}

.vc_images_carousel .vc_carousel-indicators .vc_active,
.vc_images_carousel .vc_carousel-indicators .slick-active {
	width: 10px;
	height: 10px;
	margin: 1px;
	border: 1px solid #808080;
	background-color: transparent;
}

.vc_images_carousel .vc_carousel-indicators li button {
	display: none;
}

.vc_images_carousel .vc_carousel-control {
	position: absolute;
	top: 50%;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 30px;
	margin-top: -15px;
	padding: 0;
	border: none;
	opacity: 0.5;
	font-size: 30px;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	transition: all 0.2s linear;
	-webkit-tap-highlight-color: transparent;
}

.vc_images_carousel .vc_carousel-control:focus,
.vc_images_carousel .vc_carousel-control:hover {
	opacity: 0.9;
	text-decoration: none;
}

.vc_images_carousel .vc_carousel-control:active,
.vc_images_carousel .vc_carousel-control:focus {
	outline: 0;
}

.vc_images_carousel .vc_carousel-control.vc_right {
	right: 0;
	left: auto;
}

.vc_images_carousel .vc_carousel-control .icon-prev,
.vc_images_carousel .vc_carousel-control .icon-next {
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 5;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	margin-left: -10px;
	font-family: serif;
}

.vc_images_carousel .vc_carousel-control .icon-prev:before {
	position: relative;
	top: -10px;
	content: "\2039";
}

.vc_images_carousel .vc_carousel-control .icon-next:before {
	position: relative;
	top: -10px;
	content: "\203a";
}

.vc_images_carousel .vc_item img {
	display: block;
	max-width: 100%;
	height: auto;
	line-height: 1;
}


/**
 * 9. Scroll reveals
 *
 * Elements with `wpb_animate_when_almost_visible` start hidden and play their
 * direction's animation once `wpb_start_animation` is added (0.7s here, as in
 * Visual Composer; horseclub.css overrides it with 2s !important, which is
 * what the old site and the rebuild play).
 */

.wpb_animate_when_almost_visible {
	opacity: 0;
}

.wpb_start_animation.wpb_top-to-bottom {
	opacity: 1;
	animation: wpb_ttb 0.7s 1 cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wpb_start_animation.wpb_bottom-to-top {
	opacity: 1;
	animation: wpb_btt 0.7s 1 cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wpb_start_animation.wpb_left-to-right {
	opacity: 1;
	animation: wpb_ltr 0.7s 1 cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wpb_start_animation.wpb_right-to-left {
	opacity: 1;
	animation: wpb_rtl 0.7s 1 cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wpb_start_animation.wpb_appear {
	opacity: 1;
	transform: scale(1);
	animation: wpb_appear 0.7s 1 cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes wpb_ttb {

	0% {
		opacity: 0;
		transform: translate(0, -10%);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

@keyframes wpb_btt {

	0% {
		opacity: 0;
		transform: translate(0, 10%);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

@keyframes wpb_ltr {

	0% {
		opacity: 0;
		transform: translate(-10%, 0);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

@keyframes wpb_rtl {

	0% {
		opacity: 0;
		transform: translate(10%, 0);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

@keyframes wpb_appear {

	0% {
		opacity: 0.1;
		transform: scale(0.5);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}


/**
 * 10. Media queries
 */

@media (min-width: 768px) {

	.vc_col-sm-1,
	.vc_col-sm-2,
	.vc_col-sm-3,
	.vc_col-sm-4,
	.vc_col-sm-5,
	.vc_col-sm-6,
	.vc_col-sm-7,
	.vc_col-sm-8,
	.vc_col-sm-9,
	.vc_col-sm-10,
	.vc_col-sm-11,
	.vc_col-sm-12 {
		float: left;
	}

	.vc_col-sm-12 {
		width: 100%;
	}

	.vc_col-sm-11 {
		width: 91.66666667%;
	}

	.vc_col-sm-10 {
		width: 83.33333333%;
	}

	.vc_col-sm-9 {
		width: 75%;
	}

	.vc_col-sm-8 {
		width: 66.66666667%;
	}

	.vc_col-sm-7 {
		width: 58.33333333%;
	}

	.vc_col-sm-6 {
		width: 50%;
	}

	.vc_col-sm-5 {
		width: 41.66666667%;
	}

	.vc_col-sm-4 {
		width: 33.33333333%;
	}

	.vc_col-sm-3 {
		width: 25%;
	}

	.vc_col-sm-2 {
		width: 16.66666667%;
	}

	.vc_col-sm-1 {
		width: 8.33333333%;
	}

	.vc_col-sm-offset-0 {
		margin-left: 0;
	}

	.vc_col-sm-offset-1 {
		margin-left: 8.33333333%;
	}

	.vc_col-sm-offset-2 {
		margin-left: 16.66666667%;
	}

	.vc_col-sm-offset-3 {
		margin-left: 25%;
	}

	.vc_col-sm-offset-4 {
		margin-left: 33.33333333%;
	}

	.vc_col-sm-offset-6 {
		margin-left: 50%;
	}

	.vc_grid.vc_row .vc_grid-item.vc_visible-item {
		display: inline-block;
	}

	.vc_images_carousel .vc_carousel-control .icon-prev,
	.vc_images_carousel .vc_carousel-control .icon-next {
		display: block;
		width: 30px;
		height: 30px;
		margin-top: -15px;
		margin-left: -15px;
		padding: 0;
		font-size: 30px;
	}

	.vc_images_carousel .vc_carousel-indicators {
		bottom: 20px;
	}
}

@media (min-width: 992px) {

	.vc_col-md-1,
	.vc_col-md-2,
	.vc_col-md-3,
	.vc_col-md-4,
	.vc_col-md-5,
	.vc_col-md-6,
	.vc_col-md-7,
	.vc_col-md-8,
	.vc_col-md-9,
	.vc_col-md-10,
	.vc_col-md-11,
	.vc_col-md-12 {
		float: left;
	}

	.vc_col-md-12 {
		width: 100%;
	}

	.vc_col-md-11 {
		width: 91.66666667%;
	}

	.vc_col-md-10 {
		width: 83.33333333%;
	}

	.vc_col-md-9 {
		width: 75%;
	}

	.vc_col-md-8 {
		width: 66.66666667%;
	}

	.vc_col-md-7 {
		width: 58.33333333%;
	}

	.vc_col-md-6 {
		width: 50%;
	}

	.vc_col-md-5 {
		width: 41.66666667%;
	}

	.vc_col-md-4 {
		width: 33.33333333%;
	}

	.vc_col-md-3 {
		width: 25%;
	}

	.vc_col-md-2 {
		width: 16.66666667%;
	}

	.vc_col-md-1 {
		width: 8.33333333%;
	}

	.vc_col-md-offset-0 {
		margin-left: 0;
	}
}

@media (min-width: 1200px) {

	.vc_col-lg-1,
	.vc_col-lg-2,
	.vc_col-lg-3,
	.vc_col-lg-4,
	.vc_col-lg-5,
	.vc_col-lg-6,
	.vc_col-lg-7,
	.vc_col-lg-8,
	.vc_col-lg-9,
	.vc_col-lg-10,
	.vc_col-lg-11,
	.vc_col-lg-12 {
		float: left;
	}

	.vc_col-lg-12 {
		width: 100%;
	}

	.vc_col-lg-11 {
		width: 91.66666667%;
	}

	.vc_col-lg-10 {
		width: 83.33333333%;
	}

	.vc_col-lg-9 {
		width: 75%;
	}

	.vc_col-lg-8 {
		width: 66.66666667%;
	}

	.vc_col-lg-7 {
		width: 58.33333333%;
	}

	.vc_col-lg-6 {
		width: 50%;
	}

	.vc_col-lg-5 {
		width: 41.66666667%;
	}

	.vc_col-lg-4 {
		width: 33.33333333%;
	}

	.vc_col-lg-3 {
		width: 25%;
	}

	.vc_col-lg-2 {
		width: 16.66666667%;
	}

	.vc_col-lg-1 {
		width: 8.33333333%;
	}

	.vc_col-lg-offset-0 {
		margin-left: 0;
	}
}
