/*typography*/
/*color*/
/*========================================================*/
/* GENERAL CODE*/
/*========================================================*/
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  font-family: 'Cabin', sans-serif;
  color: #333333;
  min-height: 100%;
}
body a {
  text-decoration: none;
  color: #333333;
}
footer {
  position: relative;
  width: 100%;
  height: 350px;
  background-color: #353535;
}
footer .footer-contents {
  color: #fff;
  position: absolute;
  bottom: 1rem;
}
footer .footer-contents a {
  text-decoration: none;
  color: #fff;
}
#site-wrapper {
  margin-top: 56px;
}
.overview {
  font-family: 'Open Sans', sans-serif;
}
.background-transparent-color {
  background-color: rgba(35, 122, 87, 0.1);
}
.margin-auto {
  width: 100%;
  margin: auto;
}
.margin-top-10 {
  margin-top: 10px;
}
.margin-top-20 {
  margin-top: 20px;
}
.margin-top-30 {
  margin-top: 30px;
}
.margin-bottom-0 {
  margin-bottom: 0;
}
.margin-bottom-20 {
  margin-bottom: 20px;
}
.margin-bottom-30 {
  margin-bottom: 30px;
}
.margin-right-0 {
  margin-right: 0px;
}
.margin-left-0 {
  margin-left: 0px;
}
.margin-left-50 {
  margin-left: 50px;
}
.padding-right-0 {
  padding-right: 0px;
}
.padding-left-0 {
  padding-left: 0px;
}
.padding-top-40 {
  padding-top: 40px;
}
.btn-radius {
  border-radius: 10px;
  padding: 0.275rem 1rem;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
}
.btn-transparancy {
  background-color: transparent;
  border: 3px solid #fff;
  color: #fff;
}
.btn-white {
  background-color: #fff;
  border: 3px solid #fff;
}
.btn-green {
  background-color: #fff;
  border: 3px solid #237a57;
  color: #237a57;
}
.process-btns {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-family: 'Open Sans', sans-serif;
}
.process-btns .process-btn {
  border: none;
  background-color: transparent;
  color: #e2e0e0;
  text-transform: uppercase;
}
.process-btns .process-btn-active {
  color: #333333;
  text-transform: uppercase;
}
.loggedin-process-btns {
  margin-bottom: 2rem;
}
.reg-s-btn {
  font-size: 12px;
}
.border-top-none {
  border-top: 0;
}
.table .border-top-none {
  border-top: 0;
}
.hide-overflow-text {
  white-space: nowrap;
  overflow: hidden;
}
.line-height-normal {
  line-height: normal;
}
i {
  margin-right: 5px;
  margin-left: 5px;
}
.form-format {
  font-family: 'Open Sans', sans-serif;
}
.form-format label {
  margin-bottom: 0.2rem;
  margin-left: 0.2rem;
}
.form-format input {
  height: 2rem;
  border: 1px solid #ebebeb;
  border-radius: 0;
}
.form-format textarea {
  border-radius: 0;
}
#matchForm .form-group,
#rubricForm .form-group {
  margin-bottom: 1.5rem;
}
#matchForm .second-form-group,
#rubricForm .second-form-group {
  margin-bottom: .5rem;
}
.landing-table .landing-table-head {
  border-bottom: 1px solid #ebebeb;
}
.landing-table td {
  padding: 0.5rem 0.75rem 0rem 0.75rem;
}
.landing-table .table-btn-td {
  padding: 0.3rem;
}
.table-row-dot-border {
  border-right: dotted 1px black;
}
.icon-menu a:hover i {
  color: #3f51b5;
}
.icon-menu a .fa-edit {
  color: #007bff;
}
.icon-menu a .fa-trash-alt {
  color: #ed747e;
}
.icon-menu i {
  font-size: 1.2rem;
  margin: 0;
}
.icon-same-width {
  width: 12%;
}
.alert-lg-msg {
  margin-bottom: 0;
}
.summary-label {
  color: #e2e0e0;
  font-size: .8rem;
}
.summary-content {
  font-size: 1rem;
}
.summary-content .unregistered {
  color: #ed747e;
}
.font-red {
  color: #ed747e;
}
.text-underline {
  text-decoration: underline;
}
.line-through {
  text-decoration: line-through;
}
.pointer {
  cursor: pointer;
}

.manual-buttons-container .btn {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.style-form-container .row .margin-top-10 {
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
}

.style-form-container .row .btn {
   border: 1px solid gray !important;
   line-height: 1.2;
   padding-top: 0.2rem;
   padding-bottom: 0.2rem;
}

.style-form-container .row .margin-bottom-10 {
    margin-bottom: 0.2rem;
}

.break-move-icon:hover {
    cursor: pointer;
    color: black;
}

.setting-buttons .btn {
  width: 24rem;
}

.button-col {
    padding-left: 0.1rem; padding-right: 0.1rem;
}

.button-col button {
    border-radius: 0;
    padding-top: 0.2rem; 
    padding-bottom: 0.2rem;
    font-size: 0.9rem;
}

.score-input input {
    padding: 2px;
    font-size: 1.5rem;
}

.score-input .form-group {
    margin-bottom: 0.5rem !important
}

.unused-impulse-array {
    font-size: 0.75rem;
}

.unused-impulse-array .btn {
    padding-top: 0.2rem;
    padding-bottom: 0.1rem;
}

.compact-startlist-table {
    max-height: 41rem !important;
}


/*========================================================*/
/* NAVBAR */
/*========================================================*/
.navbar {
  background-color: #fff;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18);
}
.navbar-brand {
  margin-left: 1rem;
}
.navbar-light .navbar-toggler {
  border-color: transparent;
}
.navbar-toggler {
  padding: 0.5rem 0.5rem;
}
.navbar-nav .loggedin-nav-a {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.animated-icon1 {
  width: 27px;
  height: 15px;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}
.animated-icon1 span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}
.animated-icon1 span {
  background: rgba(0, 0, 0, 0.1);
}
.animated-icon1 span:nth-child(1) {
  top: 0px;
}
.animated-icon1 span:nth-child(2) {
  top: 7px;
}
.animated-icon1 span:nth-child(3) {
  top: 14px;
}
.animated-icon1.open span:nth-child(1) {
  top: 7px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.animated-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
.animated-icon1.open span:nth-child(3) {
  top: 7px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
/*========================================================*/
/* TEMPLATE AFTER LOGGEDIN */
/*========================================================*/
.loggedin-wrapper {
  background-color: #f8f9fa;
  padding: 1.5rem 0;
  height: auto;
  min-height: -webkit-calc(100vh - 56px);
  min-height: -moz-calc(100vh - 56px);
  min-height: calc(100vh - 56px);
}
.loggedin-wrapper .loggedin-screen {
  background-color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0), 0 3px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  min-height: 80vh;
}
/*========================================================*/
/* SIDEBAR AFTER LOGGEDIN*/
/*========================================================*/
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  /* Behind the navbar */
  padding: 70px 0 0;
  /* Height of navbar */
}
.sidebar .sidebar-sticky {
  position: relative;
  top: 0;
  height: -webkit-calc(100vh - 56px);
  height: -moz-calc(100vh - 56px);
  height: calc(100vh - 56px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto;
  /* Scrollable contents if viewport is shorter than content. */
}
@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}
.sidebar .nav-link {
  color: #333333;
  padding: 0.6rem 1rem 0.6rem 1.5rem;
  font-size: 1rem;
}
/*========================================================*/
/* FIX PRE-MADE CODE */
/*========================================================*/
button:focus {
  outline: none;
}
.form-control {
  border: 1px solid #ebebeb;
}
.form-control:focus {
  border: #3f51b5 2px solid;
  box-shadow: none;
}
.sidebar {
  z-index: 78;
}
/*========================================================*/
/* ANGULAR MATERIAL */
/*========================================================*/
.datepicker {
  display: block;
}
.md-datepicker-input-container {
  width: -webkit-calc(100% - 64px);
  width: -moz-calc(100% - 64px);
  width: calc(100% - 64px);
}
.md-datepicker-input-container .md-datepicker-input {
  border: none;
}
md-select {
  margin: 0;
}
.md-switch {
  margin-top: 0;
}
.dialogdemoBasicUsage #popupContainer {
  position: relative;
}
.dialogdemoBasicUsage .footer {
  width: 100%;
  text-align: center;
  margin-left: 20px;
}
.dialogdemoBasicUsage .footer,
.dialogdemoBasicUsage .footer > code {
  font-size: 0.8em;
  margin-top: 50px;
}
.dialogdemoBasicUsage button {
  width: 200px;
}
.dialogdemoBasicUsage div#status {
  color: #c60008;
}
.dialogdemoBasicUsage .dialog-demo-prerendered md-checkbox {
  margin-bottom: 0;
}
.landing-header {
  background: url('/assets/images/landing-header.jpg') no-repeat center 0;
  height: 70vh;
  width: 100%;
  background-size: cover;
  color: white;
}
.landing-header .landing-header-layer {
  background: rgba(9, 48, 40, 0.8);
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, rgba(35, 122, 87, 0.9), rgba(9, 48, 40, 0.9));
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, rgba(35, 122, 87, 0.9), rgba(9, 48, 40, 0.9));
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  width: 100%;
  height: 100%;
}
.landing-header .landing-header-layer .dsc-wapper {
  padding-top: 15vh;
  height: 100%;
  position: relative;
}
.landing-header .landing-header-layer .dsc-wapper .dsc-signup {
  padding-left: 4rem;
  padding-right: 4rem;
}
.landing-header .landing-header-layer .dsc-wapper .dsc-signup h4 {
  margin-bottom: 0;
}
.landing-header .landing-header-layer .dsc-wapper .dsc-signup span {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}
.landing-header .landing-header-layer .dsc-wapper .dsc-signup p {
  margin-top: 2rem;
  margin-bottom: 3rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}
.landing-header .landing-header-layer .dsc-wapper .dsc-signup .btn-singup-org:hover {
  color: #fff;
}
.landing-header .landing-header-layer .dsc-wapper .dsc-signup .btn-singup-ptc {
  color: #333333;
}
.landing-header .landing-header-layer .dsc-wapper .dsc-signup .btn-singup-ptc:hover {
  color: #333333;
}
.landing-header .landing-header-layer .dsc-wapper .dsc-participant {
  border-left: solid 1px #b7b700;
}
.landing-header .landing-header-layer .dsc-wapper .dsc-arrow-wrapper {
  width: 100%;
  position: absolute;
  bottom: 1rem;
}
.landing-header .landing-header-layer .dsc-wapper .dsc-arrow-wrapper .dsc-arrow {
  width: 100%;
}
.landing-header .landing-header-layer .dsc-wapper .dsc-arrow-wrapper .dsc-arrow .dsc-arrow-note {
  font-size: 12px;
  margin-bottom: 0.5rem;
}
.landing-header .landing-header-layer .dsc-wapper .dsc-arrow-wrapper .dsc-arrow img {
  width: 2rem;
}
.landing-body-wrapper {
  margin-top: 1.5rem;
}
.landing-body-wrapper .landing-table-title h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.landing-body-wrapper .landing-table-months a {
  color: #e2e0e0;
  font-size: 1.5rem;
}
.landing-body-wrapper .landing-table-months .nav-pills .nav-link.active,
.landing-body-wrapper .landing-table-months .nav-pills .show > .nav-link {
  color: #333333;
  background-color: #fff;
}
.landing-body-wrapper .landing-table-months span {
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
}
.landing-body-wrapper .landing-ad2 {
  margin-top: 8rem;
}
.landing-body-wrapper .landing-advantage {
  margin-top: 4rem;
  margin-bottom: 4rem;
}
.landing-body-wrapper .landing-advantage .landing-advantage-contents {
  margin-top: 2rem;
}
.register-wrapper {
  width: 100%;
  height: auto;
  min-height: -webkit-calc(100vh - 56px);
  min-height: -moz-calc(100vh - 56px);
  min-height: calc(100vh - 56px);
  background: #093028;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #237a57, #093028);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #237a57, #093028);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.register-wrapper .register-screen-wrapper {
  width: 90%;
  height: 780px;
  background-color: #fff;
  margin: 3rem auto;
}
.register-wrapper .register-screen-wrapper .register-screen {
  margin: 1.5rem 2.5rem;
}
.register-wrapper .register-screen-wrapper .register-screen .register-form-wrapper {
  width: 100%;
  height: 734px;
  background-color: #ebebeb;
  padding: 1.5rem 2rem;
} 
.register-wrapper .register-screen-wrapper .register-screen .register-img-wrapper {
  border-right: 2px #ebebeb solid;
}
.register-wrapper .register-screen-wrapper .register-screen .register-img-wrapper .register-img {
  width: 60%;
  margin: 0 auto;
}
.register-wrapper .register-screen-wrapper .register-screen .register-img-wrapper h4 {
  margin-top: 1rem;
}
.login-wrapper .login-screen-wrapper {
  height: auto;
}
.login-wrapper .login-screen-wrapper .login-screen .login-form-wrapper {
  height: auto;
}
.activation-wrapper .activation-screen-wrapper {
  height: auto;
  padding: 2rem;
  width: 70%;
}
.profile .profile-btn {
  min-width: 100px;
}
.rubrics-in-match {
  color: #ed747e;
  text-decoration: underline;
}
.image-box {
  opacity: .8;
  box-shadow: inset 0 0 0 100vw rgba(0, 0, 0, 0.8);
  background: var(--image-url);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  /* Here's the same styles we applied to our content-div earlier */
  color: white;
  height: 100vh;
}
.image-box .rubric-name {
  font-size: 4.1vw;
}
.image-box .current-rider .rirder-name,
.image-box .current-rider .horse-name {
  font-size: 5.6vw;
}
.image-box .current-rider .horse-father-name {
  font-size: 4.6vw;
}
.image-box .current-score {
  font-size: 7.4vw;
}
.image-box .current-result {
  font-size: 4.1vw;
}
.image-box .current-result .no-resutl {
  font-size: 3.7vw;
}
.image-box .classfication {
  font-size: 5vw;
}
/*========================================================*/
/* MEDIA QUERY */
/*========================================================*/
/*macbook air*/
@media only screen and (max-height: 626px) {
  .landing-header {
    height: 80vh;
  }
  .landing-header .landing-header-layer .dsc-wapper {
    padding-top: 8vh;
  }
}
/*mobile*/
@media (max-width: 767px) {
  .navbar-brand {
    margin-left: 0;
  }
  .landing-header {
    height: -webkit-calc(85vh - 56px);
    height: -moz-calc(85vh - 56px);
    height: calc(85vh - 56px);
  }
  .landing-header .landing-header-layer .dsc-wapper {
    padding-top: 0;
  }
  .landing-header .landing-header-layer .dsc-wapper .dsc-signup-wapper {
    height: -webkit-calc(100% - 84px);
    height: -moz-calc(100% - 84px);
    height: calc(100% - 84px);
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .landing-header .landing-header-layer .dsc-wapper .dsc-signup-wapper .dsc-signup {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 2rem;
  }
  .landing-header .landing-header-layer .dsc-wapper .dsc-signup-wapper .dsc-signup .btn-singup {
    margin-top: 1.5rem;
  }
  .landing-body-wrapper .landing-table-title h2 {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .landing-body-wrapper .landing-table-months a {
    font-size: 1rem;
  }
  .landing-body-wrapper .landing-table-months .nav-link {
    padding: 0.5rem 0.5rem;
  }
  .landing-body-wrapper .landing-table-months span {
    font-size: 1rem;
    padding: 0.5rem 0rem;
  }
  .landing-body-wrapper .landing-ad2 {
    margin-top: 2rem;
  }
  .landing-body-wrapper .landing-advantage-content {
    padding-top: 1rem;
  }
  .register-wrapper .register-screen-wrapper {
    width: 100%;
    height: auto;
    margin: 1rem auto;
  }
  .register-wrapper .register-screen-wrapper .register-screen {
    margin: 0;
  }
  .register-wrapper .register-screen-wrapper .register-screen .register-form-wrapper {
    height: auto;
    background-color: transparent;
    padding: 1.5rem 1rem;
  }
  .activation-wrapper .activation-screen-wrapper {
    padding: 1rem;
  }
}
