/* HELPER CLASSES */
.pure-g {
  margin-left: 0;
  margin-right: 0;
}
.outline--none {
  outline: none;
}
.display--block {
  display: block;
}
.font-size--16px {
  font-size: 16px;
}
.width--190px {
  width: 190px;
}
.margin-top--0px {
  margin-top: 0;
}
.margin-top--7px {
  margin-top: 7px;
}
.margin-top--10px {
  margin-top: 10px;
}
.margin-top--15px {
  margin-top: 15px;
}
.margin-bottom--20px {
  margin-bottom: 20px;
}
.margin-bottom--36px {
  margin-bottom: 36px;
}
.margin-bottom--40px {
  margin-bottom: 40px;
}
.margin-left--10px {
  margin-left: 10px;
}
.margin--0 {
  margin: 0;
}
.width--100 {
  width: 100%;
}
.padding-top--10px {
  padding-top: 10px;
}
.padding--05em {
  padding:0.5em;
}
.padding--16-16-0-0 {
  padding: 16px 16px 0 0;
}
.background-color--fff {
  background-color: #fff;
}
.color-darley-dark-blue {
  color: #0037b2;
}
.anchor {
  display: block;
  visibility: hidden;
}
.nowrap {
  white-space: nowrap;
}
.inline-b {
  display: inline-block!important;
}
.invisible {
  display: none;
  opacity: 0;
}
.text-decoration-underline{
  text-decoration: underline;
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
.drly-hr {
  height: 1px;
  background-color: #d1d3d7;
  border: none;
}
.gutter-right {
  padding-right: 10px;
}
.gutter-right.sm {
  padding-right: 5px;
}
.intro-text p {
  margin: 8px 0;
}
@media screen and (min-width: 48em) {
  .gutter-right {
    padding-right: 20px;
  }
  .gutter-right.sm {
    padding-right: 10px;
  }
}
.form-actions {
  width: 100%;
  padding: 0;
}
.form-actions .buttons {
  padding: 20px;
}
.region-h2 {
  text-align: left!important;
  font-size: 18px!important;
}
.region-spacing {
  margin-bottom: 25px;
}
.field-enabled {
  border: 2px solid #d7d7d7;
}
.field-required:after {
  content: " *";
}
.pweb .required-field {
  outline: 1px solid #f00;
}
.pweb .radio-group.required-field {
  outline-offset: 4px;
}
.comment_container {
  margin-top: 10px;
  margin-bottom: 10px;
}
#mares-page .edit-save,
.comment_container .edit-save {
  margin-top: 0;
  font-size: 20px;
  border-color: #0037b2;
  line-height: 32px;
}
#mares-page .delete-btn,
.comment_container .delete-btn {
  margin-top: 0;
  font-size: 20px;
  border-color: #0037b2;
  line-height: 32px;
}
.p-spacing {
  margin: 0;
  padding-bottom: 25px;
}
.center {
  text-align: center;
}
.uploader-list-item {
  border-bottom: 1px solid #d1d3d7;
  border-top: 1px solid #d1d3d7;
  padding: 15px 0;
  list-style: none;
  text-align: left;
  margin-right: 30px;
}
.uploader-list-item svg {
  margin-right: 10px;
  color: #99ccff;
}
.uploader-list-item a {
  float: right;
}
.autocomple-msgs, .autocomple-instructions {
  margin: 0;
}
.client-form-uploader {
  color: #0037b2;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}
.client-form-uploader:hover,
.client-form-uploader:active,
.client-form-uploader:focus {
  color: #00abee;
}
.mandatory {
  color: red;
}
/* Allows you to use gutters */
@media screen and (min-width: 48em) {
  .pure-g.gutters {
    margin: 0 3rem;
  }
  .pure-g.gutters > [class *=pure-u]{
    box-sizing: border-box;
    padding: 0 2em;
  }
}

/* ANIMATIONS */
@keyframes fade-out {
  0% {
    opacity: 1;
    min-height: 25px;
    margin: 15px auto;
    padding: 10px 10px 10px 50px;
  }
  80% {
    opacity: 1;
    min-height: 25px;
    margin: 15px auto;
    padding: 10px 10px 10px 50px;
  }
  90% {
    opacity: 0;
    min-height: 25px;
    margin: 0 auto;
    padding: 10px 10px 10px 50px;
  }
  100% {
    opacity: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
  }
}

/* MESSAGE BOX */
.pweb div.messages {
  background-position: 8px center;
  background-repeat: no-repeat;
  border: 1px solid;
  background-image: none;
}
.pweb .messages {
  max-width: 780px;
  margin: 15px auto;
  display: block;
  word-wrap: break-word;
  padding: 10px 10px 10px 50px;
  border: 1px solid;
  border-width: 1px 1px 1px 0;
  border-radius: 2px;
  background: no-repeat 10px 17px;
  overflow-wrap: break-word;
}
.pweb div.status {
  background-image: url(../images/success.png);
  background-size: 25px;
  color: #57866F;
  border-color: #84b89e;
  background-color: #edfbf1;
  opacity: 0;
  min-height: 0;
  height: 0;
  padding: 0;
  margin: 0;
  animation-duration: 10s;
  animation-iteration-count: 1;
  animation-name: fade-out;
  display: grid;
  align-content: center;
}
.pweb div.status--modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 !important;
  animation-duration: 3s;
}
.pweb div.error {
  background-image: url(../images/error.png);
  background-size: 25px;
  color: #bb3316;
  border-color: #e83f1a;
  background-color: #fff4f2;
}
.pweb div.warning {
  max-width: 100%;
  color: #bb3316;
  border-color: #e83f1a;
  background-color: #fff4f2;
}
.pweb .error-field {
  border: 1px solid #e83f1a!important;
}
.pweb .status-field {
  border: 1px solid #84b89e!important;
}
.pweb .warning-text-color {
  color: #bb3316;
}

/* BUTTONS */
.btn-big a, .btn-big {
  font-size: 20px;
  margin: 0 0 15px 0;
}
.btn-normal:first-child,
.btn-normal:last-child,
.btn-normal {
  font-size: 16px;
  margin: 15px 0 15px 0;
}
.btn {
  width: 100%;
  border-radius: 0;
  font-weight: bold!important;
  padding: 3px 0 0 0;
  text-transform: uppercase;
  text-align: center;
  text-shadow: none;
  box-shadow: none;
  box-sizing: border-box;
  cursor:pointer;
  display: inline-block;
  outline: none;
  transition: outline 0.1s;
  font-family: Meta, Helvetica, "Helvetica Neue", Arial, sans-serif;
}
.btn:hover {
  outline: 3px solid #0037b2;
  transition: outline 0.1s;
}
.btn a, .btn span {
  outline: none;
}
.btn-clear {
  border: 1px solid #0037b2!important;
  color: #0037b2!important;
  background-color: #fff!important;
}
.btn-clear:hover {
  color: #0037b2!important;
}
.btn-clear:visited {
  color: #0037b2;
}
.btn-blue, .btn-blue a {
  border: 1px solid #0037b2!important;
  color: #fff!important;
  background-color: #0037b2!important;
}
.btn-blue:hover, .btn-blue:hover a {
  color: #fff;
}
.btn-blue:visited, .btn-blue:visited a {
  color: #fff;
}
.btn-grey, .btn-grey a {
  border: 1px solid #ccc;
  color: #fff;
  background-color: #ccc;
}
.btn-grey:hover, .btn-grey:hover a {
  color: #fff;
  outline: 3px solid #ccc;
}
.btn-grey:visited, .btn-grey:visited a {
  color: #fff;
}
.btn-cyan, .btn-cyan a {
  border: 1px solid #00abee;
  color: #fff;
  background-color: #00abee;
}
.btn-cyan:hover, .btn-cyan:hover a {
  color: #fff;
  outline: 3px solid #00abee;
}
.btn-cyan:visited, .btn-cyan:visited a {
  color: #fff;
}
.btn-colour, .btn-colour a {
  border: 1px solid #00abee;
  color: #0037b2;
  background-color: #efefef;
}
.btn-colour:hover, .btn-colour:hover a {
  color: #0037b2;
  outline: 3px solid #00abee;
}
.btn-colour:visited, .btn-colour:visited a {
  color: #0037b2;
}
.fileUpload {
  position: relative;
  overflow: hidden;
  margin-top: -10px!important;
}
.imageUpload {
  position: relative;
  overflow: hidden;
  margin-top: -10px!important;
}
.add-image-btn {
  padding: 8px 16px;
  border: 2px dashed #bbb;
  color: #bbb;
  display: inline-block;
}
.add-image-btn:hover {
  cursor: pointer;
}
.transparent-circle {
  display: none;
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(256, 256, 256, 0.5);
  margin-left: 5px;
  margin-top: 95px;
  line-height: 20px;
}
.circle-icon {
  display: none;
  position: absolute;
  color: #fff;
  margin-top: 5px;
  padding: 0 0 0 0;
  margin-left: 5px;
  font-weight: 900;
  font-size: 20px;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
}
.star-icon {
  color: blue;
  margin: 1px 0 0 1px;
}
.circle-icon {
  font-size: 22px!important;
  line-height: 20px!important;
}
.btn-down-arrow {
  position: absolute;
  margin-top: 50px;
  margin-left: 0;
  width: 20px;
  height: 20px;
  line-height: 20px;
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}
.img-btn-enabled, .select-img-btn {
  color: #fff;
}
.disabled,
.img-btn-disabled {
  opacity: 0.45;
}
.circle-btn-enabled {
  background-color: rgba(0,173,255,0.8);
}
.popup_tigger {
  opacity: 0;
  position: absolute;
}
.popup_tigger:hover {
  cursor:pointer;
  opacity: 0.8;
}
.welcome-btn-box {
  padding: 10px;
  box-sizing: border-box;
}
.welcome-btn {
  text-align:center;
  display: block;
  outline: none;
  height: 100px;
  color: #0037b2;
  align-self: center;
  font-size: 20px;
  line-height: 100px;
  background-color: rgba(255,255,255,0.9);
  box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}
.welcome-btn:hover {
  outline: 3px solid #0037b2;
  transition: outline 0.1s;
  color: #0037b2;
}
.welcome-btn--contracts {
  height: 50px;
  line-height: 50px;
}
.item-wrapper--password .form-item {
  position: relative;
}
.ress-pass-btn {
  margin-top: 6px;
  font-weight: 900;
  color: #0037b2;
  cursor: pointer;
  font-size: 12px;
}
.ress-pass-btn:hover {
  color: #00abee;
}
.item-wrapper--password .ress-pass-btn {
  position: absolute;
  right: 0;
}
@media screen and (max-width: 48em) {
  .ress-pass-btn {
    font-size: 10px;
    margin-top: 0;
  }
}

/* INPUT FIELDS */
.pweb input,
.pweb label,
.pweb textarea,
.pweb select {
  display: block;
  font-family: Meta, Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  outline: none;
}
.pweb .label {
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  outline: none;
}
.pweb input[type="submit"] {
  margin: auto;
  width: auto;
  height: 35px;
  padding: 3px 20px;
}
.pweb input[type="text"],
.pweb input[type="password"],
.pweb input[type="number"],
.pweb input[type="email"],
.pweb input[type="date"] {
  text-indent: 6px;
}
.pweb input[type="text"],
.pweb input[type="password"],
.pweb input[type="number"],
.pweb input[type="email"],
.pweb input[type="date"],
.pweb textarea,
.pweb select {
  background-color: #FFFFFF;
  border: 1px solid #B9B8B8;
  border-radius: 0;
}
.pweb textarea {
  padding: 8px;
}
.pweb select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background-position: right 50%;
  background-repeat: no-repeat;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
  padding: 0 1.5em 0 0.5em;
}
.pweb select::-ms-expand {
  display: none;
}
.pweb input[type="checkbox"] {
  width: 18px;
  height: 18px;
  -webkit-appearance: none;
  border: none;
  background-image: url(../images/checkbox.png);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-position: 0 0;
  background-size: 18px;
  display: inline-block;
  vertical-align: text-top;
}
.pweb input[type="checkbox"]:checked {
  background-position: 0 -18px;
}
.pweb input[type="radio"] {
  width: 18px;
  height: 18px;
  -webkit-appearance: none;
  border: none;
  background-image: url(../images/radiobutton.png);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-position: 0 0;
  background-size: 18px;
  display: inline-block;
  vertical-align: text-top;
}
.pweb input[type="radio"]:checked {
  background-position: 0 -18px;
}
.pweb label {
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0;
  cursor: pointer;
}
.pweb .label,
.pweb input[type="radio"],
.pweb input[type="checkbox"] {
  margin-right: 5px;
  margin-left: 0;
}
@media screen and (max-width: 48em) {
  .pweb input[type="text"],
  .pweb input[type="radio"],
  .pweb input[type="checkbox"],
  .pweb input[type="password"],
  .pweb input[type="number"],
  .pweb input[type="email"],
  .pweb input[type="date"],
  .pweb textarea,
  .pweb select,
  .pweb label,
  .pweb .label {
    font-size: 14px;
    line-height: 16px;
  }
}

/* FORMS */
.accordion .pure-form-stacked {
  padding-left: 0;
  padding-right: 0;
}
.form__item {
  padding: .25rem 1rem;
  box-sizing: border-box;
}

/* IMAGE GALLERY ON VARIOUS PAGES */
.img-visible-interface {
  background-color: #eee;
  width: 220px;
  height: 120px;
}
.stallion-image-container {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 178px;
  height: 120px;
  background-color: #fff;
  margin-right: 10px;
  margin-bottom: 10px;
}
.img-folded-top-internal {
  padding: 25px 0 0;
}
.img-folded-top-internal .add-image-btn {
  vertical-align: top;
  margin-top: 30px;
  margin-right: 10px;
  background-color: #fff;
}
.img-upload-bottom-menubar {
  padding: 5px 0 25px;
  text-align: right;
}
.img-upload-bottom-menubar span {
  color: #292929;
  white-space: nowrap;
  font-size: 14px;
  font-family: Meta, Helvetica, "Helvetica Neue", Arial, sans-serif;
}
.img-upload-bottom-menubar span:hover {
  cursor: pointer;
}
.img-upload-bottom-menubar span svg {
  margin-right: 8px;
}
.g-image-item, .gallery_feat_image_placeholder {
  object-fit: cover;
  vertical-align: top;
}
.g-image-item {
  cursor: pointer;
}
@media screen and (min-width: 28em) {
  .img-upload-bottom-menubar span {
    font-size: 15px;
  }
}

/* LOGIN PAGE */
.pweb-login-bg {
  background-color: lightgray;
  margin-bottom: 0;
  padding-bottom: 300px;
  background-image: url(/sites/default/files/pweb/images/banners/login-page.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
.pweb-login-internal {
  box-shadow: 0 0 20px #333;
}
.pweb-login-heading {
  text-align: center;
  padding-top: 50px;
  margin-bottom: 20px;
}
.pweb-login-heading h1 {
  color: #fff;
}
.pweb-login-page {
  background-color: #fff;
  padding: 50px;
}
.pweb-login-page form > div > * {
  margin-bottom: 16px;
}
.pweb-login-page .pweb-signin-btn {
  margin-bottom: 32px !important;
}
.pweb-login-page .marking {
  text-align: right;
  margin-bottom: -20px;
  margin-top: 20px;
}
.pweb-login-page a {
  text-decoration: underline;
}
.pweb-login-page h2, .pweb-login-footer h3 {
  color: #0037b2;
  text-align: center;
  font-weight: lighter;
}
.pweb-login-page h2 {
  padding-bottom: 20px;
}
.pweb-login-footer {
  background-color: #eee;
  padding: 50px;
}
.pweb-login-footer > * {
  box-sizing: border-box;
}
.form-item--username {
  padding: 0 16px 16px 0;
}
.form-item--curr-password {
  padding: 0 16px 16px 0;
}
.item-wrapper--password {
  margin: 0;
  padding-bottom: 16px;
}
.form-item--password {
  padding: 0 16px 0 0;
}
.how-to-video {
  padding-bottom: 40px;
}
.how-to-video .vjs-poster {
  background-size: cover;
}
@media screen and (min-width: 768px) {
  .how-to-video {
    padding-right: 40px;
    padding-bottom: 0;
  }
  .pweb-login-footer h3 {
    text-align: left;
  }
}
/* PASSWORD RESET PAGE */
.webform-confirmation__message,
.pass-reset-confirmation {
  font-family: Meta, Helvetica Neue, Helvetica, Arial, sans-serif;
}

/* WELCOME PAGE */
.pweb-welcome-bg {
  background-color: lightgray;
  margin-bottom: 0;
  background-image: url(/sites/default/files/pweb/images/banners/welcome-page.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 0;
}
.pweb-welcome-internal {
  padding-right: 8px;
  padding-left: 8px;
}
.pweb-welcome-heading {
  padding-top: 45px;
  margin-bottom: 50px;
}
.pweb-welcome-heading h1, .pweb-welcome-heading p {
  text-align: center;
  color: #fff;
}
#god-banner-desk,
#god-banner-mob {
  margin: 50px 10px 10px 10px;
}
#god-banner-desk {
  display: block;
}
#god-banner-mob {
  display: none;
}
@media screen and (max-width: 47.99em) {
  #god-banner-desk {
    display: none;
  }
  #god-banner-mob {
    display: block;
  }
}

/* WELCOME PAGE - COMPETITION SECTION */
.competition-section .blue {
  background-color: #0037b2;
  color: #fff;
}
.competition-section .white {
  background-color: #fff;
  color: #000;
}
.competition-section .centered-div {
  margin: auto;
}
.competition-section .pure-g {
  margin: 0;
}

.competition-section .top-section > .area__content {
  padding-bottom: 16px;
}
.competition-section .total-prefix {
  position: absolute;
  font-size: 20px;
  margin: 10px 5px;
  color: #d7d7d7!important;
}
/*.competition-section .top-section h1::before {*/
.competition-section .competition-stripes {
  height:26px;
  background-image: linear-gradient(0deg, #0037b2 29.41%, #ffffff 29.41%, #ffffff 50%, #0037b2 50%, #0037b2 79.41%, #ffffff 79.41%, #ffffff 100%);
  background-size: 10px 16px;
  margin:64px 0 0 0;
}

.competition-section .top-section h1 {
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight:bold;
  font-size: 1.6em;
  line-height: 1;
  color: #000000;
  margin: 12px 0 14px 0;
}
.competition-section .top-section h3 {
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: normal;
  line-height: 30px;
  color: #222;
  margin: 0 0 8px;
}
@media only screen and (min-width: 768px) {
  .competition-section .competition-stripes {
    margin:72px 0 0 0;
  }
  .competition-section .top-section h1 {
    font-size: 3em;
  }
}
@media only screen and (min-width: 1024px) {
  .competition-section .competition-stripes {
    margin:0;
  }
  .competition-section .top-section h1 {
    font-size: 4em;
  }

}
.not-logged-in.section-blueniverse-competition .competition-section .top-section .header-wrapper {
  margin-top: 10px;
  margin-bottom: 200px;
}
.logged-in.section-blueniverse-competition .competition-section .top-section .header-wrapper {
  margin-bottom: 175px;
}
.section-blueniverse-competition .competition-section .top-section .header-wrapper h2 {
  font-size: 65px;
  line-height: 68px;
  margin-bottom: 0;
  padding-bottom: 0;
}
.section-blueniverse-competition .competition-section .top-section .header-wrapper span {
  font-size: 45px;
  line-height: 48px;
  font-family: Meta-Serif, Georgia, Times, "Times New Roman", serif;
  white-space: normal;
  display: block;
  margin-top: 8px;
}
.competition-section .top-section h2 span {
  font-weight: 100;
  color: #95D4F1;
  font-size: 45px;
  font-family: Meta-Serif, Georgia, Times, "Times New Roman", serif;
  font-style: italic;
  white-space: pre-wrap;
}
.competition-section .top-section p {
  margin: 0;
  line-height: 22px;
}
.competition-section .top-section span {
  white-space: nowrap;
}
.competition-section .top-section img {
  width: 100%;
  margin: 64px 0 0;
}
@media only screen and (min-width: 768px) {
  .competition-section .top-section img {
    margin-top: 69px;
  }
}
@media only screen and (min-width: 1024px) {
  .competition-section .top-section img {
    margin-top: 16px;
  }
}
.competition-section .header-last-item {
  font-size: 19px;
  line-height: 22px;
}
.competition-section .middle-section {
  overflow: hidden;
}
.competition-section .middle-section > .area__content {
  padding-top: 16px;
  padding-bottom: 16px;
  width: 90vw;
}
.competition-section .middle-section .area__content > .pure-g {
  margin: -8px;
}
.competition-section .middle-section .area__content > .pure-g [class*=pure-u] {
  margin: 0 auto;
}
.competition-section .middle-section .area__content > .pure-g .pure-g {
  padding: 8px;
}
.competition-section .middle-section p {
  font-size: 16px;
  font-weight: 600;
}
.competition-section .bottom-section {
  position: relative;
  max-width: 956px;
  text-align: center;
}
.competition-section .bottom-section label {
  font-size: 24px;
  font-weight: bold;
  line-height: 26px;
  color: #ffffff;
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.competition-section .bottom-section select,
.competition-section .bottom-section input[type="text"] {
  color: #000;
  font-size: 16px;
  max-width: 264px;
  margin: 8px auto 16px;
}
.competition-section .bottom-section .pure-g p {
  font-size: 24px;
  line-height: 26px;
  color: #fff;
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 16px 0;
}
.competition-section .bottom-section > .area__content {
  padding: 16px 32px;
}
.competition-section .bottom-section > .pure-g:first-of-type {
  margin-bottom: 30px;
}
.competition-section .bottom-section .btn {
  color: #ffffff !important;
  background-color: #CC1012 !important;
  font-weight: 100;
  width: 230px;
  border-radius: 5px;
  padding-top: 6px;
  outline: none!important;
}
.competition-section .footer-section {
  color: #000;
  text-align: center;
  max-width: 350px;
  margin: 16px auto 32px;
}
.competition-section .footer-section p {
  margin-top: 0;
  font-size: 12px;
}
.competition-section .footer-section a {
  cursor: pointer;
  text-decoration: underline;
}
.competition-section .footer-after-section p {
  margin: 0;
  text-align: center;
  font-weight: 900;
}
.competition-section .footer-after-section span {
  color: #83D6F4;
}
.competition-section .footer-after-section a.terms-modal {
  color: #ffffff;
  cursor: pointer;
  text-decoration: underline;
}
.competition-section .footer-after-section a.terms-modal:focus,
.competition-section .footer-after-section a.terms-modal:hover,
.competition-section .footer-after-section a.terms-modal:active {
  color: #fff;
}
.competition-section .blue-tile {
  background-color: #00ACEE;
}
.competition-section .blue-tile h3 {
  padding: 28px 20px;
  color: #0137B3;
  font-size: 29px;
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 30px;
  font-weight: 100;
}
.competition-section .tile {
  position: relative;
}
.competition-section .tile img {
  position: relative;
  z-index: 2;
}
.competition-section .tile-copy-wrapper p {
  font-weight: 400;
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin-top: 8px;
  font-size: 22px;
  line-height: 1;
}
.competition-section .btn {
  font-weight: 100;
}
.competition-section .red-text {
  color: #CC1012;
}

/* CSS For the terms and conditions modal for the competition */
.competition-terms-modal-wraper h1 {
  line-height: 26px;
  font-size: 20px;
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 900;
}
.competition-terms-modal-wraper .competition-terms-internal {
  overflow-y: scroll;
  max-height: 375px;
}
.competition-terms-modal-wraper .competition-terms-internal .main {
  font-weight: bold;
  text-indent: -15px;
  margin-bottom: 10px;
}
.competition-terms-modal-wraper .competition-terms-internal .main span,
.competition-terms-modal-wraper .competition-terms-internal .main ol {
  font-weight: normal;
}
.competition-terms-modal-wraper .competition-terms-internal ol {
  counter-reset: item;
  text-align: left;
}
.competition-terms-modal-wraper .competition-terms-internal li {
  display: block;
  text-align: left;
  text-indent: -25px;
}
.competition-terms-modal-wraper .competition-terms-internal li:before {
  content: counters(item, ".") ". ";
  counter-increment: item;
}
.competition-terms-modal-wraper p {
  text-align: left;
}
.competition-section .close_handle {
  display: none;
  position: relative;
  cursor: pointer;
  float: right;
  margin-right: 22px;
  margin-top: -24px;
}
.competition-section .close_handle img {
  width: 15px;
  position: absolute;
}
.competition-section #total {
  text-indent: 20px;
  padding-top: 3px;
}
.competition-section .horse-name {
  font-size: 36px;
  line-height:1;
  margin: 6px 0 0 0;
  font-family: 'Egizio', 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.competition-section .horse-name.blue-point {
  font-family: 'Bodoni Moda', 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
}
.competition-section .horse-name.masar {
  font-family: 'Source Sans Pro', sans-serif, 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: normal;
  text-transform: inherit;
}
.competition-section .horse-name.too-darn-hot {
  font-family: 'Playfair Display', serif;
  color: #E8ADCE;
}
.competition-section div.status {
  max-width: 500px;
  /* override nonsense animation! */
  animation: none;
  opacity: 1;
  min-height: 25px;
  margin: 15px auto;
  padding: 10px 10px 10px 50px;
}

@media only screen and (max-width: 64em) {
  .competition-section #trainer-wrapper {
    vertical-align: top;
    margin-top: 5px;
  }
  .competition-section .horse-name {
    font-size: 20px;
  }
}
@media screen and (max-width: 48em) {
  .competition-section .bottom-section {
    padding: 0 0;
  }
  .competition-section .top-section h2 {
    font-size: 20px;
    line-height: 22px;
  }
  .competition-section .top-section h2 span {
    font-size: 32px;
    line-height: 34px;
  }
  .competition-section .top-section h3 {
    font-size: 20px;
    line-height: 22px;
  }
  .competition-section .header-last-item p {
    font-size: 16px;
    line-height: 18px;
  }
  .competition-section .horse-name {
    font-size: 16px;
    margin: 10px 0 0 0;
  }
  .competition-section .tile-copy-wrapper p {
    font-size: 14px;
  }
  .competition-section .middle-section p {
    font-size: 13px;
  }
}
@media screen and (max-width: 35.45em) {
  .competition-section .bottom-section > .pure-g:first-of-type {
    margin-bottom: 0;
  }
  .competition-section .bottom-section h2 {
    font-size: 27px;
    line-height: 28px;
  }
  .competition-section .horse-name {
    font-size: 18px;
    margin: 0;
  }
  .competition-section .tile-copy-wrapper {
    margin-top: 8px;
  }
  .competition-section .tile-copy-wrapper p {
    font-size: 16px;
  }
  .competition-section .middle-section #trainer-wrapper {
    display: block;
  }
}

/* WELCOME PAGE - PROGENY FEED SECTION */
.progeny-feed-section {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 60px;
}
.progeny-feed-section .blue {
  background-color: #0037B1;
  color: #fff;
}
.progeny-feed-section .main-wrapper {
  background-color: #1F3D86;
}
.progeny-feed-section .prize-tile,
.progeny-feed-section .stake-tile {
  margin: 50px 0;
  padding: 0;
}
.progeny-feed-section .prize-tile {
  border-left: 1px solid rgba(134, 221, 253, 0.3);
  border-top: none;
}
.progeny-feed-section h2 {
  text-align: center;
  color: #86DDFD;
  font-size: 3.6em;
  font-weight: 100;
  margin: 30px;
}
.progeny-feed-section p {
  font-size: 1.2em;
  line-height: 20px;
}
.progeny-feed-section p:first-of-type {
  height: 50px;
}
@media screen and (max-width: 64em) {
  .progeny-feed-section h2 {
    font-size: 2.6em;
    margin: 20px;
  }
  .progeny-feed-section p {
    font-size: 1.0em;
  }
}
@media screen and (max-width: 47.99em) {
  .progeny-feed-section .prize-tile {
    border-top: 1px solid rgba(134, 221, 253, 0.3);
    border-left: none;
  }
  .progeny-feed-section .prize-tile,
  .progeny-feed-section .stake-tile {
    padding: 20px;
    max-width: 300px;
    margin: auto;
  }
}
@media screen and (max-width: 35.5em) {
  .progeny-feed-section .prize-tile,
  .progeny-feed-section .stake-tile {
    margin: 0 10px;
    padding: 20px;
    max-width: none;
  }
  .progeny-feed-section h2 {
    font-size: 2.0em;
    margin: 15px;
  }
  .progeny-feed-section p {
    font-size: 1.0em;
  }
}

/* PROFILE PAGE */
.pweb-profile #contract-settings,
.pweb-profile #notification-settings,
.pweb-profile #image-use-settings {
  margin-bottom: 20px;
}
.pweb-profile h2 {
  font-size: 16px;
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 10px 20px;
}
.pweb-profile .content {
  margin: 0 50px;
}
.pweb-profile .num-circle-icon {
  border: 1px solid #000000;
  border-radius: 50%;
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  vertical-align: middle;
  line-height: 22px;
  font-weight: normal;
  margin-right: 5px;
}
#pweb-stallions-page,
#pweb-off-roster-stallions-page,
.pweb-profile,
.pweb-auctions,
.event-page,
#mares-page,
#foals-page,
#yearlings,
.login-page,
.welcome-page,
.call-back-internal,
#pweb-contracts-page,
#pweb-review-forms-page,
#page-complete-form {
  max-width: 992px;
  margin: 50px auto 0;
  padding-left: 8px;
  padding-right: 8px;
}
.online-contracts > span {
  display: block;
  font-family: Meta, Helvetica Neue, Helvetica, Arial, sans-serif;
}
.online-contracts input {
  margin-top: -2px;
}
@media only screen and (min-width: 768px) {
  #pweb-stallions-page,
  .pweb-profile,
  .pweb-auctions,
  .event-page,
  #mares-page,
  #foals-page,
  #yearlings,
  .login-page,
  .welcome-page,
  #pweb-contracts-page,
  #pweb-review-forms-page,
  #page-complete-form {
    padding-left: 16px;
    padding-right: 16px;
  }
  .online-contracts > span {
    display: inline;
  }
}

/* EVENT PAGE */
.pweb-event__img {
  display: block;
  margin-bottom: 16px;
}
.pweb-event__date-box {
  border: 2px solid #4babe9;
  border-radius: 8px;
  display: inline-block;
  margin: 0 0 16px;
  padding-top: 4px;
  text-align: center;
  font-size: 12px;
  line-height: 14px;
  font-family: Meta-Serif, Georgia, Times, "Times New Roman", serif;
  font-weight: bold;
  width: 64px;
  background-color: #4babe9;
  color: #fff;
}
.pweb-event__date-box span {
  color: #0037b2;
  background-color: #fff;
  font-size: 24px;
  line-height: 32px;
  font-weight: normal;
  display: block;
  border-top: 4px solid #4babe9;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 8px 8px 0;
}
.event-h2 {
  color: #0037b2;
  font-size: 28px;
  line-height: 30px;
  margin: 0 0 16px;
}
.event-q-box {
  margin: 0;
  padding: 0 8px 20px;
}
.event_q {
  line-height: 2.2;
}
.no-events-internal {
  max-width: 992px;
  height: 55px;
  border: 2px #f0f0f0 solid;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.no-events-internal p {
  margin-bottom: 0;
  padding-right: 16px;
}
.no-events-internal svg {
  font-size: 55px;
  color: #f0f0f0;
}
.pweb-event__options-box {
  background-color: #e9f0fd;
  padding: 16px 8px;
  margin: 10px 0 20px 0;
}
.event-page .form__box-submit {
  align-self: flex-end;
  box-sizing: border-box;
}
.event-page .form__actions {
  display: flex;
  justify-content: flex-end;
}
.event-page .form__actions input {
  width: auto;
  margin: 0 0 0 12px;
}
.pweb-event__submit-message {
  margin-bottom: 40px;
}

.pweb-submit-message {
    margin-bottom: 40px;
}

/* MARE PAGE */
#mares-page {

}
#new_mare {

}
.mare-page {

}

#mares-page .accordion .mare-single-content-wrapper form {
  padding: 0;
}

/* Pedigree updates */
/* Mares page Pedigree elements */
.accordion__header.mare-item--updates {
  position: relative;
}
.accordion__header.mare-item--updates .accordion__title {
  padding-top: 24px;
}
.pdg_upd {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  background-color: #49A9E8;
  padding: 4px 4px 2px;
  font-size: 12px;
  line-height: 14px;
  white-space: nowrap;
  vertical-align: text-bottom;
}

.pedigree-updates__modal-bg {
    display: none;
    z-index: 100;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(48,48,48,.75);
    cursor: pointer;
}
.pedigree-updates.is-open .pedigree-updates__modal-bg {
    display: block;
}
.pedigree-updates__modal {
    display: none;
    z-index: 100;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    max-height: 90%;
    overflow-x: auto;
    background-color: #fff;
    -moz-box-shadow: 4px 4px 24px 0 rgba(34,34,34,1);
    -webkit-box-shadow: 4px 4px 24px 0 rgba(34,34,34,1);
    box-shadow: 4px 4px 24px 0 rgba(34,34,34,1);
}

.pedigree-updates__modal .toolbar-tray-open {
    margin-top: 60px;
    max-height: calc(90% - 60px);
}

.pedigree-updates__modal-inner {
    margin-top: 32px;
    padding: 16px;
}
@media screen and (min-width: 35.5em) {
    .pedigree-updates__modal {
        max-width: 564px;
    }
    .pedigree-updates__modal-inner {
        padding: 48px;
    }
    .pdg_upd {
        font-size: 14px;
    }
}
@media screen and (min-width: 48em) {
    .pedigree-updates__modal {
        max-width: 596px;
    }
    .pedigree-updates__modal-inner {
        padding: 48px 64px;
    }
}
@media screen and (min-width: 64em) {
    .pedigree-updates__modal {
        max-width: 660px;
    }
    .pedigree-updates__modal-inner {
        padding: 48px 96px;
    }
}
.pedigree-updates.is-open .pedigree-updates__modal {
    display: block;
}
.pedigree-updates__modal-title-bar {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    padding: 0 8px;
    background-color: #0037b2;
    text-align: right;
    color: #fff;
    font-size: 24px;
    line-height: 36px;
}
.pedigree-updates__modal-title-bar svg {
    cursor: pointer;
}
.pedigree-updates__title {
    color: #0037b2;
    margin: 0;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 20px;
    font-weight: normal;
}
.pedigree-updates__mare-name {
    color: #0037b2;
    margin: 0 0 16px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 20px;
    font-weight: bold;
}
.pedigree-updates__modal .pure-u-1 {
    box-sizing: border-box;
}
.pedigree-updates__modal .pure-u-1:nth-child(1) {
    padding: 0;
}
.pedigree-updates__modal .pure-u-1:nth-child(2) {
    padding: 8px 0 0;
}
@media screen and (min-width: 48em) {
    .pedigree-updates__modal .pure-u-1:nth-child(2) {
        padding: 0 0 0 8px;
    }
}
.pedigree-updates__modal .pure-u-1 {
    line-height: 24px;
}
.pedigree-updates__modal span {
    white-space: nowrap;
}
.pedigree-updates__modal span.blue {
    color: #0037b2;
}
.pedigree-updates__modal .pure-g {
    margin-left: 0;
    margin-right: 0;
}
.pedigree-updates {
    text-align: center;
}
.pedigree-updates .btn {
    width: 100%;
    margin: 0 0 16px;
}
.pedigree-updates .pedigree-updates__modal-inner .btn {
    width: auto;
    padding: 1px 10px 0;
    margin: 16px 5px 0;
}

.pedigree-updates .button-share,
.pedigree-updates .button-back {
    min-width: 170px;
    margin-left: 10px;
}

.pedigree-updates .btn img {
    width: 18px;
    padding-bottom: 4px;
}

.pedigree {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d1d3d7;
}

.btn-more {
  margin-top: 0 !important;
}

/* CONTRACTS PAGE */
#pweb-contracts-page {

}
#pweb-contracts-page .contract_wrapper {
  padding: 0;
}
#pweb-contracts-page .accordion .main-body {
  padding: 16px;
}
#pweb-contracts-page .accordion form {
  padding: 0;
}
#pweb-contracts-page .contract_wrapper .item-title {
  background-color: #F5F5F5;
  min-height: 50px;
  line-height: 20px;
}
#pweb-contracts-page .contract_wrapper .item-title .title {
  font-size: 18px;
  color: #0037b2;
}
#pweb-contracts-page .user-type,
#pweb-contracts-page .contract_wrapper .title {
  padding: 14px 15px;
}
@media screen and (max-width: 48em) {
  #pweb-contracts-page .user-type,
  #pweb-contracts-page .contract_wrapper .title {
    padding: 12px 15px;
  }
  #pweb-contracts-page .contract_wrapper .item-title .title {
    font-size: 14px;
  }
  #pweb-contracts-page .contract_wrapper .item-title {
    min-height: 40px;
    line-height: 16px;
  }
}
#pweb-contracts-page .user-type {
  font-size: 20px;
  color: #00abee;
}
#pweb-contracts-page .contract-optout-section {
  margin-top: 15px;
}
#pweb-contracts-page .contract-optout-section h1 {
  font-size: 22px;
  line-height: 24px;
}
#pweb-contracts-page .contract-optout-section .optout-internal {
  padding: 20px 10px;
  background-color: #E7F0FE;
}
#pweb-contracts-page .contract-filter {
  max-width: 200px;
}
#pweb-contracts-page #contract-yes-no label {
  max-width: 100px;
  display: inline-block;
}
#pweb-contracts-page .contract_wrapper.no-content {
  padding: 20px 10px;
  text-align: center;
  font-size: 18px;
  line-height: 20px;
}
#pweb-contracts-page .accordion .warning {
  margin-top: 0;
}
.pweb-unsigned-contracts .folding-section {
  display: none;
}
.pweb-unsigned-contracts textarea[name="comment"] {
  margin-bottom: 12px;
}
.pweb-signed-contracts .button-wrapper,
.pweb-unsigned-contracts .button-wrapper {
  padding: 8px;
  box-sizing: border-box;
}
.pweb-signed-contracts .button-wrapper + .button-wrapper,
.pweb-unsigned-contracts .button-wrapper + .button-wrapper {
  padding-left: 0;
}
.pweb-signed-contracts .button-wrapper .btn,
.pweb-unsigned-contracts .button-wrapper .btn {
  font-size:14px;
  padding: 4px 0 0;
  margin: 0;
}
.pweb-signed-contracts .extra-footer,
.pweb-unsigned-contracts .extra-footer {
  padding: 0 16px 16px
}


/* STALLIONS PAGE */
.stallion-notification {
  background-color: #D3F0F9;
  padding: 20px 60px;
  margin-bottom: 20px;
  text-align: center;
}
.stallion-notification p {
  margin: auto;
  max-width: 550px;
}
.accordion__select-all {
  border-bottom: 1px solid #ededed;
  padding: 1rem .5rem;
}

/* OFF ROSTER STALLIONS */
.off-roster {
  align-self: flex-end;
  padding: 8px;
  box-sizing: border-box;
}
.off-roster__name a {
  color: #fff;
  background-color: #0037b2;
  text-transform: uppercase;
  padding: 4px 12px;
  display: block;
}
@media screen and (min-width: 48em) {
  .off-roster {
    padding: 20px;
  }
}

/* ERROR PAGE */
.pweb-error-page {
  text-align: center;
  padding: 30% 0 30% 0;
}

/* ACCESSORIES */
/* Tab Slider System - Deprecated */
.pweb-tab-wrapper .pweb-tab:nth-child(2) {
  display: none;
}
.pweb-tab-label {
  font-size: 16px;
  display: inline-block;
  color: #999;
}
.pweb-tab-label:hover {
  color: #00abee;
  cursor: pointer;
}
@media screen and (max-width: 35.5em) {
  .pweb-tab-label {
    font-size: 12px;
    font-weight: 500;
  }
}
.pweb-tab-navigation .center {
  padding: 15px 0 15px 0;
}
.pweb-tab-navigation {
  margin: 0;
}
.pweb-tab-navigation-undeline {
  width: 100%;
  background-color: #eee;
  display: inline-block;
  height: 2px;
  margin: 0 0 20px 0;
}

/* Call back section */
#call-back-section #callback {
  position: absolute;
}
#call-back-section .call-back-label {
  display: block;
  width: auto;
  max-width: 300px;
  font-size: 15px;
  text-align: center;
  padding: 12px 20px;
  background-color: #E7F0FE;
  color: #0037B2;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  transition: border-top-right-radius 0.2s ease;
  margin: auto;
  cursor: pointer;
}
#call-back-section .call-back-label .fa-phone {
  transform: rotateZ(-14deg);
  margin-left: 10px;
}
#call-back-section .call-back-label.activated {
  background-color: #00ACEE;
  color: #FFFFFF;
}
@media screen and (min-width: 48em) {
  .call-back-internal {
    padding: 0;
  }
  #call-back-section .call-back-label {
    font-size: 18px;
    padding: 12px 40px;
    margin: 0 0 0 auto;
    border-top-right-radius: 0;
  }
}
@media screen and (min-width: 992px) {
  #call-back-section .call-back-label {
    border-top-right-radius: 25px;
    transition: border-top-right-radius 0.2s ease;
  }
}

/* Content within accordion */
.detail {
  padding-bottom: 16px;
}
.detail__label {
  color: #0037b2;
  font-size: 16px;
  font-family: Meta, Helvetica, "Helvetica Neue", Arial, sans-serif;
  margin-bottom: 8px;
}
.detail p {
  margin-top: 0;
}
.p-spacing .edit-clear {
  margin-top: 0;
}
.form__actions,
.form__btn-delete {
  justify-content: flex-end;
}
@media screen and (min-width: 568px) {
  .detail__label {
    font-size: 18px;
  }
  .detail p {
    margin-top: inherit;
  }
}
/* Small expandable area */
.expandable-wrapper header {
  font-weight: 600;
  cursor: pointer;
}
.expandable-wrapper header:after {
  content: ' +';
}
.expandable-wrapper.active header:after {
  content: ' -';
}
.expandable-wrapper .expandable-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  margin-top: 5px;
}
.expandable-wrapper.active .expandable-content {
  overflow: hidden;
  max-height: 1000px;
  transition: max-height 0.5s ease-in;
}

/* MODAL WINDOWS */
/* Free Prize Draw modal */
.free-prize-draw-modal .ui-dialog-titlebar-close {
  font-size: 16px;
  color: #000;
}
#free-prize-draw-modal,
.free-prize-draw-modal .ui-dialog-titlebar-close,
.free-prize-draw-modal .ui-dialog-titlebar {
  background-color: #eec647;
}
.free-prize-draw-modal .ui-dialog-content {
  padding: 0 8px 5px 8px;
}
#free-prize-draw-modal {
  font-size: 30px;
  line-height: 29px;
}
#free-prize-draw-modal h3 {
  font-size: 40px;
  line-height: 40px;
  margin-bottom: 4px;
  color: #0037b2;
  font-family: Meta-Serif, Georgia, Times, "Times New Roman", serif;
}
#free-prize-draw-modal span {
  color: #0037b2;
  font-family: Meta-Serif, Georgia, Times, "Times New Roman", serif;
}
@media screen and (min-width: 48em) {
  .free-prize-draw-modal .ui-dialog-content {
    padding: 0 50px 5px 50px;
  }
}

/*Contracts Page Modal*/
.head-section h1 {
  font-size: 35px;
  line-height: 37px;
  margin-top: 15px;
}
.head-section .main-text {
  margin-bottom: 20px;
}
.fa-file-lines,
.fa-file-pdf {
  color: #99ccff;
  display: block;
  text-align: center;
}
.contracts-right {
  text-align: right;
}
.contracts-left {
  text-align: left;
}
.pweb-document {
  padding: 20px 10px;
}
.pweb-document a {
  font-family: Meta, Helvetica, "Helvetica Neue", Arial, sans-serif;
}
.lang-selector {
  max-width: 200px;
}
.lang-selector .info {
  margin-bottom: 3px;
}
/* CSS For the popup jQuery Modal Dialogs */
.ui-dialog {
  z-index: 104;
  background-color: #ffffff;
  border: 1px solid #0037b2!important;
  border-radius: 2px;
  box-shadow: 0 5px 5px 0 rgba(2,3,3,0.5);
  outline: none;
  vertical-align: middle;
  display: block;
}
.ui-icon-closethick {
  display: none;
}
.ui-button-icon-only {
  text-indent: 0!important;
}
.ui-dialog .ui-dialog-titlebar-close {
  outline: none;
}
.ui-dialog-titlebar {
  background-color: #0037b2!important;
  height: 20px;
}
.ui-icon-circle-close {
  background-position:-32px -192px;
}
.ui-dialog-titlebar-close span {
  border: none;
  margin-top: 5px;
  background-color: #0037b2;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  outline: none;
  position: absolute;
  top: -10px;
  right: 4px;
}
.ui-dialog-content {
  text-align: center;
  padding: 30px 8px 0 8px;
}
.ui-dialog .ui-dialog-titlebar-close {
  position: absolute;
  right: 0;
  z-index: 100;
}
.ui-dialog-buttonpane {
  text-align: center;
  background: #fff!important;
  border-color: #fff!important;
}
.ui-dialog-buttonset {
  margin: 10px;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  float: none;
}
.ui-dialog .ui-dialog-buttonpane {
  text-align: center;
}
.ui-dialog-buttonset button {
  margin: auto;
  max-width: 190px;
  box-sizing: border-box;
}
.ui-widget-overlay{
  z-index: 102;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

/* CSS For the popup jQuery Modal Gallery Display */
#display-full-galley.ui-dialog-content {
  padding: 0;
}
.full-g-image-item {
  display: block;
}
.gallery-modal-wraper .ui-dialog-titlebar-close span {
  background-color: transparent;
  margin-top: 10px;
  right: 7px;
}
#display-full-galley .media-left {
  position: absolute;
  left: 45px;
}
#display-full-galley .media-right {
  position: absolute;
  right: 45px;
}

#display-full-galley svg {
  max-width:none;
}
.gallery-modal-wraper .ui-dialog-title {
  float: none!important;
}
.gallery-modal-wraper .full-g-image-item {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.gallery-modal-wraper .ui-dialog {
  z-index: 104;
  background-color: #fffbf9;
  border: 7px solid #dddddd;
  border-radius: 2px;
  box-shadow: 0 5px 5px 0 rgba(2,3,3,0.5);
  outline: none;
  vertical-align: middle;
  display: block;
}
.gallery-modal-wraper .ui-dialog-titlebar {
  height: 0;
  margin: -12px 0;
}
.gallery-modal-wraper .ui-dialog-titlebar-close {
  border: 3px solid #fff;
  margin-top: -18px;
  margin-right: -20px;
  background-color: #000;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  border-radius: 50%;
  outline: none;
  line-height: 37px;
  height: 40px;
  width: 40px;
  padding: 0!important;
}
.gallery-modal-wraper .ui-dialog-content {
  text-align: center;
  padding: 0 0 0 0;
}
.gallery-modal-wraper .fa-chevron-left, .gallery-modal-wraper .fa-chevron-right {
  cursor: pointer;
  color: #ffffff;
  font-size: 40px;
  position: absolute;
}
.gallery-modal-wraper .fa-chevron-left {
  margin-left: -40px;
  padding-right: 15px;
}
.gallery-modal-wraper .fa-chevron-right {
  margin-right: -40px;
  right: 0;
  padding-left: 15px;
}
.onboarding-modal-wraper .ui-dialog-buttonset {
  width: 120px;
  margin: auto!important;
  float: none!important;
}
.onboarding-nav-bar {
  margin-top: 20px;
  padding: 10px 0 10px 0;
}
.onboarding-nav-bar .handles-wrapper {
  display: inline-block;
  height: 19px;
}
.onboarding-nav-bar .handle {
  width: 30px;
  display: inline-block;
  cursor: pointer;
}
.onboarding-nav-bar .fa {
  color: #b9b9b9;
  font-size: 20px;
  cursor: pointer;
  margin-top: 2px;
}
.onboarding-nav-bar .fa-chevron-right {
  margin-left: 8px;
  margin-top: 0;
}
.onboarding-nav-bar .fa-chevron-left {
  margin-right: 8px;
  margin-top: 0;
}
.slide {
  display: none;
}
.slide .copy {
  min-height: 150px;
}
.slide .copy p {
  text-align: left;
}
.slide .image-container {
  max-width: 498px;
  margin: auto;
  max-height: 273px;
}
.active-slide {
  display: block;
}
.circle-btn {
  background-color: #eeeeee;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: auto 10px;
  cursor: pointer;
  float: left;
}
.selected-btn {
  background-color: rgba(159, 221, 246, 0.7);
}
.ui-dialog #onboarding-dialog.ui-dialog-content {
  overflow: visible!important;
}
.heading-q {
  display: block;
  position: absolute;
  color: #b9b9b9;
  text-align: right;
  top: -25px;
  right: 40px;
}

/* CSS For the popup jQuery Modal Client Form Uploader - Shares Classes from the Gallery above */
.digital-signature {
  margin: auto;
  width: 80%;
}
.digital-signature p {
  margin: -13px 0 0 0;
  padding: 0 0 0 15px;
}

/* CSS for the contract signature interstitial dialog */
@media (pointer: coarse) {
    #signature-msg-dialog .signature-desktop {
        display: none;
    }
}
@media (pointer: fine) {
    #signature-msg-dialog .signature-mobile {
        display: none;
    }
}
#signature-msg-dialog .title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
}
#signature-msg-dialog .title span {
  color: #0037B2;
}
#signature-msg-dialog img {
  width: 280px;
  max-width: 100%;
}
#signature-msg-dialog input[type="checkbox"] {
  vertical-align: middle;
}
#signature-msg-dialog label {
  font-weight: bold;
}
.ui-dialog[aria-describedby="signature-msg-dialog"] {
  border: none !important;
  background: rgba(255, 255, 255, 0.95);
}
.ui-dialog[aria-describedby="signature-msg-dialog"] .ui-dialog-titlebar {
  background-color: transparent !important;
  border: none;
}
.ui-dialog[aria-describedby="signature-msg-dialog"] .ui-dialog-titlebar .ui-dialog-titlebar-close span {
  background: none;
  color: #0037B2;
}
.ui-dialog[aria-describedby="signature-msg-dialog"] .ui-dialog-buttonpane {
  background: none !important;
  border: none;
}
.ui-dialog[aria-describedby="signature-msg-dialog"] .ui-dialog-buttonpane button {
  color: #7FD5F6 !important;
  padding: 12px 0 8px 0;
}
@media screen and (min-width: 48em) {
  #signature-msg-dialog .title {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
  }
}

/* CSS for the Client Feedback Form */
.feedback-form .ui-dialog-buttonset {
  background-color: #E5E6E7;
  margin: 0;
  padding: 30px;
}
#dialog-feedback-p1, #dialog-feedback-p2, #dialog-feedback-p3 {
  background-color: #ffffff;
}
#dialog-feedback-p2 {
  padding: 0;
}
#dialog-feedback-p2 .radio-section {
  padding: 20px 0 30px 0;
}

/* PAGE 1 */
#dialog-feedback-p1 p {
  max-width: 350px;
  margin: auto;
  padding-bottom: 10px;
}

/* PAGE 2 */
#dialog-feedback-p2 p {
  margin: auto;
  padding: 20px 5px 5px 5px;
}
#dialog-feedback-p2 span {
  display: inline-block;
  margin-top: 10px;
  min-width: 130px;
}
#dialog-feedback-p2 .essay-section {
  background-color: #E5E6E7;
  padding: 10px;
}

/* PAGE 3 */
#dialog-feedback-p3 h1 {
  margin-top: 80px;
}

/* MARE FORMS STYLING */
#page-submit-modal {
  display: none;
}
.back-to-forms {
  margin-left: auto;
  width: 200px;
}
.back-to-forms .btn {
  line-height: 28px;
}
#mare-form-wrapper .item-group:first-of-type .icon-wrapper .ui-section-icon {
  display: none;
}
/*.pweb form[name="stallion_details_frm"] input[type="text"],*/
.pweb form[name="stallion_details_frm"] select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
#mare-form-wrapper form[name="stallion_details_frm"] label {
  font-weight: 600;
}
#mare-form-wrapper form[name="stallion_details_frm"] select,
#mare-form-wrapper form[name="stallion_details_frm"] input {
  font-weight: 100;
  background: transparent;
  border: none;
  text-indent: 0;
  padding: 0;
}
#mare-form-wrapper .lang-dropdown label {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #0037B2;
}
#mare-form-wrapper .lang-dropdown #lang-dropdown {
  font-weight: 100;
  color: #222222;
}
#page-complete-form form > .pure-g > [class*=pure-u] + * {
  margin-top: 24px;
}
#page-complete-form .radio-group {
  display: inline-block;
}
#page-complete-form .radio_label label {
  display: inline-block;
}
#page-complete-form .radio_label input {
  margin: 0 16px 0 8px;
  vertical-align: middle;
}
#page-complete-form .error_prompt {
  color: #a2193b;
  font-size: 12px;
  margin-top: -30px;
}
#page-complete-form .error_field .error_prompt {
  margin-top: -49px;
  height: 50px;
}
#page-complete-form .error_field .error_prompt span {
  color: #a2193b;
  display: block;
}
#page-complete-form .error_field .error_prompt svg {
  font-size: 16px;
  display: block;
  float: right;
}
#page-complete-form .date-field .error_field .error_prompt span {
  margin-top: 18px;
  margin-left: 5px;
}
#page-complete-form .date-field .error_field .error_prompt svg {
  margin-right: 32px;
  margin-top: -16px;
}
#page-complete-form .error_field .error_prompt span {
  margin-top: 49px;
  margin-left: 5px;
}
#page-complete-form .error_field .error_prompt svg {
  margin-right: 8px;
  margin-top: -24px;
}
#page-complete-form .note-box {
  background-color: #EEEEEE;
  padding: 22px 45px;
  font-size: 16px;
  line-height: 18px;
}
#page-complete-form .p-spacing {
  padding-bottom: 0;
}
#page-complete-form .drly-hr {
  margin-top: 23px;
  margin-bottom: 36px;
}
#page-complete-form .mare-form-header {
  margin-top: 26px;
  margin-bottom: 22px;
}
#page-complete-form .mare-form-info {
  line-height: 18px;
  font-size: 15px;
  margin: 0;
}
#page-complete-form div.mare-form-info {
  margin: 28px 0;
}
#page-complete-form .mare-form-steps {
  margin-top: 10px;
  font-size: 21px;
  line-height: 31px;
  color: #0037B2;
  font-weight: 600;
}
#page-complete-form h3 {
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 15px;
  color: #0037b2;
  font-weight: bold;
  margin-bottom: 15px;
}
#page-complete-form h3 span {
  font-weight: lighter;
}
#page-complete-form .date-field span {
  line-height: 30px;
}
#page-complete-form .date-field .date-spacer {
  text-align: center;
}
#page-complete-form .info {
  text-align: right;
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
#page-complete-form form > .pure-g .top_sm_spacer {
  margin-top: 10px;
}
#page-complete-form form > .pure-g .top_lg_spacer {
  margin-top: 30px;
}
#page-complete-form form > .pure-g .top_xl_spacer {
  margin-top: 80px;
}
#page-complete-form form > .pure-g .bottom_lg_spacer {
  margin-bottom: 30px;
}
#page-complete-form .indented {
  margin-left: 0;
  text-indent: 0;
}
#page-complete-form .save_btn_loading_icon {
  position: relative;
  color: #fff;
  width: 100%;
  margin: auto;
}
#page-complete-form .sign-confirmation .ui-info-icon {
  top: -20px;
}
.blue-note-block {
  background-color: #00ADEF;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
}
.blue-note-block.thin,
.blue-note-block .thin {
  padding: 5px 8.3333%;
}
.blue-note-block .thick {
  padding: 15px 20px;
}
.blue-note-block .narrow {
  padding: 15px 0;
}
.blue-note-block .thick svg {
  margin-right: 5px;
}
.blue-note-block.special {
  margin: 0 0 20px 0!important;
  padding: 5px 10px;
  text-align: left;
}
.contracts-left .fa-file-lines {
  color: #99ccff;
}
.doc-instruction {
  padding-left: 0;
}
.loading-block {
  color: #0037b2;
  width: 100%;
  height: 204px;
  position: relative;
}
.loading_lang {
  position: absolute;
  margin: 8px 0 0 -25px;
}

/* Modal Design */
.page-submit-modal .ui-dialog {
  border-radius: 0;
}
.page-submit-modal .ui-button-icon-only .ui-button-text {
  text-indent: -90px;
  line-height: 1.5;
  font-size: 16px;
  padding-top: 10px;
}
.page-submit-modal .ui-button-icon-only .ui-button-text strong {
  font-size: 25px;
  vertical-align: middle;
}
.ui-button {
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif!important;
}
.page-submit-modal .ui-dialog-titlebar {
  background-color: transparent;
  border: none;
}
.page-submit-modal .ui-state-default,
.page-submit-modal .ui-widget-content .ui-state-default {
  border: 1px solid #0037b2;
  color: #fff;
  background-color: #0037b2;
  font-weight: bold;
  margin: 0 10px;
}
.page-submit-modal .ui-dialog-titlebar-close {
  background-color: transparent;
  border: none;
  color: #333;
  font-weight: normal;
}
.page-submit-modal .ui-dialog,
.page-submit-modal .ui-corner-all,
.page-submit-modal .ui-widget-content {
  border-radius: 0;
}
.page-submit-modal .submit-modal-wrapper {
  padding: 20px;
}
.page-submit-modal .ui-widget-content {
  border: none;
  box-shadow: none;
  background-color: transparent;
  padding: 0
}
.page-submit-modal h1 {
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 30px;
  line-height: 30px;
  margin-top: 0;
}
.page-submit-modal p {
  font-size: 16px;
  line-height: 18px;
}
#page-complete-form .indented {
  margin-left: 0;
  text-indent: 70px;
}
#page-complete-form .note-box {
  padding: 22px 95px;
}

/* Lang Selector Style */
.ui-selectmenu-button {
  outline: none;
  background-color: transparent;
  border: none;
  color: #0037b2;
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  width: 65%!important;
}
.ui-menu .ui-icon {
  left: 0.8em;
}
.ui-menu .ui-menu-item {
  font-family: 'Meta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 10px 1em 7px 2.4em;
  color: #838383;
}
.ui-menu .ui-menu-item:hover {
  background-color: #fff;
}
.ui-menu .ui-state-focus {
  margin: 0;
  background-color: #fff;
}
.ui-selectmenu-menu .ui-menu {
  background-color: #F7F7F7;
  box-shadow: 1px 1px 20px #999;
  border-radius: 5px;
}
@media screen and (min-width: 28em) {
  .ui-selectmenu-button {
    width: 45%!important;
  }
}
@media screen and (min-width: 35.5em) {
  .ui-selectmenu-button {
    width: 35%!important;
  }
}
@media screen and (min-width: 48em) {
  .ui-selectmenu-button {
    width: 80%!important;
  }
}
@media screen and (min-width: 64em) {
  .ui-selectmenu-button {
    width: 60%!important;
  }
}

/* Defined Icons */
.ui-info-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
  top: -28px;
  right: -30px;
  float: right;
  border-radius: 50%;
}
.ui-info-icon svg {
  margin: 2px 2px;
}
.ui-section-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;
}
.mare-form-info .info {
  padding-left: 5px;
  padding-right: 20px;
  font-weight: 600;
}
.mare-form-info .ui-section-icon {
  display: inline-block;
  vertical-align: bottom;
}
.icon-wrapper {
  height: 24px;
}
.icon-wrapper .ui-section-icon {
  margin: 8px auto;
}
@media screen and (min-width: 48em) {
  .icon-wrapper .ui-section-icon {
    margin: 13px auto;
  }
}
.ui-section-icon svg {
  margin: 2px 2px;
  font-size: 15px;
  position: absolute;
}
.to-be-filled,
.unfilled {
  background-color: #fff;
  color: #fff;
  border: 2px solid #35BEF4;
}
.filled {
  background-color: #0037b2;
  color: #fff;
  border: 2px solid #0037b2;
}
.standby-section {
  opacity: 0.5;
}
.standby-section .ui-section-icon {
  background-color: #fff;
  color: #fff;
  border: 2px solid #35BEF4;
}
.ui-icon.en {
  background-image: url("/themes/drly/img/common/flags/britain_flag.png");
  background-repeat: no-repeat;
  background-position: 0 3px;
  background-size: contain;
}
.ui-icon.de {
  background-image: url("/themes/drly/img/common/flags/germany_flag.png");
  background-repeat: no-repeat;
  background-position: 0 3px;
  background-size: contain;
}
.ui-icon.fr {
  background-image: url("/themes/drly/img/common/flags/france_flag.png");
  background-repeat: no-repeat;
  background-position: 0 3px;
  background-size: contain;
}
.ui-icon.it {
  background-image: url("/themes/drly/img/common/flags/italy_flag.png");
  background-repeat: no-repeat;
  background-position: 0 3px;
  background-size: contain;
}

/* YEARLINGS PAGE */
.modal--dialog--mares,
.modal--dialog--foals,
.modal--dialog--yearlings {
  display: none;
}
.modal--dialog--mares .messages.error.del-confirm-msg,
.modal--dialog--foals .messages.error.del-confirm-msg,
.modal--dialog--yearlings .messages.error.del-confirm-msg {
  display: none;
}
.modal--dialog_conf--mares,
.modal--dialog_conf--foals,
.modal--dialog_conf--yearlings {
  display: none;
}
.modal--add-image-dialog--mares,
.modal--add-image-dialog--foals,
.modal--add-image-dialog--yearlings {
  display: none;
}
.modal--display-full-galley {
  display: none;
}
.yearlings-dob {
  margin: 0;
}
.personalised_info_box .wrapper {
  margin-left: 0;
  margin-bottom: 25px;
}
#yearlings .p-spacing {
  padding-bottom: 0;
}
#yearlings .p-spacing .edit-save {
  margin-top: 0;
  border-color: #0037b2;
  line-height: 32px;
}
#yearlings .form__current-location {
  align-self: center;
}
.pweb input[name="save_yearling"] {
  margin-right: 0;
}

/* FOALS PAGE */
#foals-page .p-spacing {
  padding-bottom: 0;
}
#foals-page .p-spacing .edit-save {
  margin-top: 0;
  border-color: #0037b2;
  line-height: 48px;
}
#foals-page .form__current-location {
  align-self: center;
}
.pweb input[name="save_foal"] {
  margin-right: 0;
}

/** Auction page **/
.pweb-auctions {

}

.pweb-auctions p.terms{
  font-size:12px;
}

.pweb-auctions .auction__header {
  margin-bottom:16px;
}

.pweb-auctions .auction__header img {
  width:378px;
}

.pweb-auctions .auction__header h1 {
  margin-bottom:8px;
}

.pweb-auctions .auction__header span.tagline {
  font-size: 18px;
}

.pweb-auctions .auction__container {
  display:flex;
  /* Offset the 10px worth of padding on each column. */
  margin: -10px -10px 48px -10px;
}

.auction__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 1 33.33%;
  min-height: 450px;
  padding: 10px;
  margin-top:20px;
}

@media screen and (max-width: 48em) {

  .pweb-auctions .auction__header img {
    width:100%;
  }

  .pweb-auctions  .auction__container {
    display: block;
  }

  .auction__item {
    min-height: 500px;
  }

}


.auction__item-content .lines {
  border-top:2px solid #0037b2;
  border-bottom:2px solid #0037b2;
  height:2px;
}

.auction__item-content .lines:before {
  height: 2px;
  width: 100%;
  background: #0037b2;
  display: block;
  content: "";
  margin-top:6px;
}
.auction__item-content .lines:after {
  height: 2px;
  width: 100%;
  background: #0037b2;
  display: block;
  content: "";
  margin-top:2px;
}

.auction__item .auction__item-header {
  padding-top:18px;
}

.auction__item .auction__item-header h3 {
  font-size:32px;
  line-height:1;
  color:#0037b2;
  margin-top:6px;
}

.auction__item .auction__item-header span {
  font-size: 18px;
}

.auction__item-content p {
  font-size: 18px;
  line-height: 24px;
  padding-bottom: 16px;
}

.auction__item-content p.sold {
  font-size: 32px;
  line-height: 34px;
  font-weight:bold;
}
.auction__item-content p.sold span {
  color: #CC1012;
}

.auction__item-content a.auction__item-image {
  display:block;
  height:270px;
}


.auction__item .auction__btn a {
  display:inline-block;
  text-transform: uppercase;
  background-color: #CC1012;
  color: #FFFFFF;
  font-size: 18px;
  padding:12px 12px 8px 12px;
}
