.competition {
  display: flex;
  direction: rtl;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 30px;
}

.competition.submit-page {
    direction: ltr !important;
}

.competition.submit-page .et_pb_button_module_wrapper {
    margin-bottom: 1em;
}

.hide-br br {
    display: none;
}


.page-id-385 .et_pb_button_module_wrapper {
  padding-bottom: 1em;
}
.page-id-385 .message-row {
  margin: auto;
  margin-bottom: 1em !important;
}

h4.submit-msg {
  text-transform: none !important;
}

h4.submit-msg {
  margin-top: 0 !important;
  font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
  line-height: 1.3;
  font-weight: normal !important;
  margin-bottom: 10px !important;
}

span.move-right {
  /*float: right;*/
  /*font-size: 30px;*/
  /*font-weight: bold;*/
  /*color: #333;*/
}
.competition > div:first-child {
  /* flex: 2;
   margin-right: 15px;
  margin-right: 5.5%;
  width: 64.833%;
  float: left; */
}
.competition.submit-page .code-section {
  margin-right: 0 !important;
  width: 100% !important;
  float: none !important;
}
.competition h1 {
  font-size:32px;
  text-transform: capitalize ;
  /*color: #365d8c;*/
}
.competition h1 img {
  float: left;
  margin-right: 10px;
}
.competition .right-section {
  background: white;
  border-radius: 4px;
  margin-bottom: 16px;
  margin-right: 0;
}
.competition .right-section .image-holder img {
    max-width: 80%;
    display: block;
    margin: 0 auto 30px;
}
.competition .right-section .price-holder {
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px;
    color: #4CAF50;
    text-transform: uppercase;
    font-weight: bold;
}
.competition .right-section .bottom-section {
    text-align: center;
    direction: ltr;
}

.enternow-btn-wrapper, .leaderboard-btn-wrapper {
    display: inline-block;
}

.competition .right-section .bottom-section .image-holder {
  border-radius: 4px;
}
.competition .right-section .bottom-section .prize {
  margin: 5px 0;
  line-height: 1.3;
  font-weight: normal;
  font-size: 26px;
}
.competition .right-section .bottom-section {
  color: #333;
}
.competition .right-section .bottom-section .prize p > span {
  font-weight: bold;
  
}
.competition .right-section .bottom-section a:not(.et_pb_button) {
  display: block;
}
.competition h4 {
  font-size: 1rem;
  font-weight: normal;
}
.competition h4 .bold {
  font-weight: bold;
}
.competition .description {
  margin: 30px 0;
}
.competition .relative {
  position: relative;
}
.competition .term-link {
  padding: 0.1em 0;
}
.competition.submit-page {
  display: block;
  background: white;
  padding: 20px 30px;
  border: 1px solid #e1e8ed;
  border-radius: 4px;
  margin-bottom: 16px;
  margin: auto;
}
h1.submit-page-header img {
  display: none;
}
h1.submit-page-header {
  font-size: 30px !important;
  padding-top: 10px;
  line-height: 1.3em;
  color: #365d8c;
  max-width: 315px;
  margin: auto;
}
.competition.submit-page .code-section {
  font-weight: bold;
}
.competition.submit-page h4 {
  font-weight: bold;
  text-transform: uppercase;
}
.competition.submit-page .flex-row {
  margin-right: 0;
}
.competition.submit-page .flex-row > div {
  padding-bottom: 1em;
}
.competition.submit-page .flex-row > div div {
  position: relative;
}
.competition.submit-page .flex-row > div label {
  font-weight: bold;
  display: inline-block;
}
.competition.submit-page .flex-row > div input {
  border: 0px solid;
  padding: 10px !important;
  border: 1px solid rgba(51, 51, 51, 0.17) !important;
  width: 100%;
}
.competition.submit-page .flex-row > div .upload-trigger {
  padding: 10px !important;
  width: 100%;
}
.competition.submit-page .flex-row > div .upload-trigger span {
  font-size: 0.8rem;
  text-transform: initial;
  display: block;
}

.competition .button-holder-row .button-holder {
  display: inline-block;
  width: 100%;
  position: relative;
  overflow: visible;
}
.competition .button-holder-row .button-holder .checkbox-holder {
  padding-bottom: 1em;
  padding-top: 20px;
}
.competition .et_pb_button {
  background: #365d8c;
  color: white;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 16px;
  padding: 10px 20px !important;
  border-radius: 4px;
  box-shadow: 0 2px 0 #223d5d;
  border: 2px solid #365d8c;
  cursor: pointer;
}
.competition a.leaderboard-btn {
  text-align: center;
  margin-top: 5px;
  background: #e09900!important;
  border-color: #e09900!important;
  box-shadow: 0 2px 0 #aa7400;
}
.competition .et_pb_button:hover {
  /*background: #365d8c;*/
}
.competition__compclosed {
  text-transform: uppercase;
  color : red;
  float: right;
  font-size: 1rem;
}
@keyframes thecodecom-modal {
  0% {
    width: 70vw;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  80% {
    width: 76vw;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  100% {
    width: 75vw;
    padding-top: 25px;
    padding-bottom: 25px;
  }
}
:root {
  --border-radius: 9px;
}
.leaderboard {
  --border-radius: 0px;
  padding: 0px;
  border-radius: var(--border-radius);
}
.leaderboard .board-row {
  padding: 15px 22px;
  border-radius: 4px;
  background: white;
  color: black;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(51, 51, 51, 0.2);
  width: 100%;
}

.rank-position h3 {
  font-size: 20px;
  padding-bottom: 5px;
  color: #345582;
}

p.rank-pos {
  color: #e09900;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 3px;

}

.rank-position {
  position: relative;
  left: -5%;
}

.rank-trophy {
  text-align: right;
}

.leaderboard .board-row .avatar-holder img {
  border-radius: 50%;
  width: 67px !important;
  height: 67px !important;
  object-fit: cover;
  max-width: 68px !important;
}
.leaderboard .board-row .position-holder {
  margin-top: 15px;
}
.leaderboard .board-row .position-holder span {
  margin-top: 10px;
  font-size: 40px;
  display: block;
}
.leaderboard .board-row .data {
  padding-left: 35px;
  flex: 2;
}
.leaderboard .board-row .data h3 {
  font-size: 28px;
  padding-bottom: 0px;
}
.leaderboard .board-row.first-row {
  color: white;
  background: #345582;
  box-shadow: 0px 6px 14px 0px rgba(0, 0, 0, 0.2);
}
.leaderboard .board-row.first-row h3 {
  color: white;
}
.leaderboard .board-row.second-row2 {
  border-radius: 0px;
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  background: #823455;
}
.leaderboard .board-row.second-row2:before,
.leaderboard .board-row.second-row2:after {
  z-index: 1;
  position: absolute;
  width: 16px;
  height: 100%;
  background: #823455;
  display: block;
  content: "";
  top: 0px;
  left: -9px;
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
  transform: rotateZ(-5deg);
}
.leaderboard .board-row.second-row2:after {
  left: auto;
  right: -9px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  transform: rotateZ(5deg);
}
.leaderboard.hall-of-fame .board-row.first-row {
  background: black;
}

/** MY CATCHES CSS **/

.my-catches {
}

.my-catches .back-button {
  float: right;
}
.my-catches .catch-row {
  margin-bottom: 3%;
}

a.back-button {
  padding-bottom: 1em;
  display: block;
}

.catch-row.et_pb_column.et_pb_column_1_3:nth-child(3n) {
  margin-right: 0;
}

.catch-row .img-wrapper img {
  width: 100%;
}
.img-wrapper {
  max-height: 250px;
  width: 100%;
  height: 250px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.my-catches .catch-row > div {
  border: 1px solid #e1e8ed;
  border-radius: 4px;
  text-align: center;
  padding: 15px;
}

.catch-row img {
  width: 100%;
  height: 196.24px;
  object-fit: cover;
}

.my-catches .catch-row > div label {
  display: block;
  text-align: left;
}

span.submit-status {
  text-transform: capitalize;
}

/** MODAL CSS **/
.modal {
  background: white;
  display: none;
  position: fixed;
  width: 500px;
  max-width: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  opacity: 0;
  padding: 40px;
  text-align: center;
}
.modal.active {
  display: block;
  opacity: 1;
  outline-offset: -20px;
  max-height: 90vh;
  overflow: auto;
}

.modal h2 {
 
  font-size: 24px !important;
  color: #e09900;
  text-transform: uppercase;
}
.modal .header-data-holder {
  display: block;
  justify-content: space-between;
}

.session-dates-holder {
  font-weight: 300;
}

.modal .header-data-holder .session-dates-holder label {
  font-weight: bold;
}
.modal .header-data-holder .right-section {
  text-align: center;
    font-size: 26px;
    text-transform: uppercase;
    font-weight: bold;
    color: #4CAF50;
}
.modal .entry-fee-text {
  font-weight: bold;
    font-size: 14px;
    color: #e09900;
    text-transform: uppercase;
    line-height: 2;
}
.modal-backdrop {
  display: none;
  z-index: 998;
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.4);
}
.modal-backdrop.active {
  transition: opacity 0.3s;
  display: block;
  opacity: 1;
}
.message-row {
  color: #333;
  padding: 15px 10px;
  font-weight: bold;
}
.message-row.error {
  color: #46b450;
  padding: 15px 10px;
  font-weight: bold;
  padding-left: 30px;
}
.message-row.success {
  border-left: 4px solid #46b450;
  background: #f6f5f5;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}
input#gform_submit_button_3 {
  display: block;
  text-align: center;
  margin: auto;
}
p.modal-subheader {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #365d8c;
}
p.modal-note {
  padding: 0 0 1em 0;
}
.current-prize-pool {
  display: inline-block;
  font-weight: bold;
  /*color: #57b846 !important;*/
}
input#gform_submit_button_3 {
  background: #365d8c;
  color: white;
  display: block;
  text-align: center;
  font-size: 16px;
  padding: 15px 50px !important;
  border-radius: 4px;
  box-shadow: 0 2px 0 #223d5d;
  border: 2px solid #365d8c;
  font-weight: bold;
}
.competition__leftcolumn {
  flex : 7
}
.competition__rightcolumn {
  flex: 4;
}

@media all and (max-width: 768px) {
  .competition {
    display: block;
  }
  .competition .term-link {
    position: relative;
  }
  .leaderboard .board-row {
    margin-bottom: 15px;
    margin-left: 1px;
    margin-right: 1px;
    padding: 15px;
  }
  .leaderboard .board-row.first-row {
    margin-left: 1px;
    margin-right: 1px;
  }
  .leaderboard .board-row.second-row {
    border-radius: var(--border-radius);
    overflow: hidden;
  }
  .leaderboard .board-row.second-row:before,
  .leaderboard .board-row.second-row:after {
    display: none;
  }
  .leaderboard .board-row .data {
    padding-left: 5px;
  }
  .leaderboard .board-row .position-holder {
    margin-right: 15px;
  }
}
.image-section .image-upload-holder div {
  display: flex;
}
.image-section .image-upload-holder div input {
  flex: 5;
}
.image-section .image-upload-holder div a {
  color: white;
  font-size: 28px;
  text-align: center;
  background: #e09900;
  flex: 1;
  padding-top: 8px;
  cursor: pointer;
}
.image-section .image-upload-holder:first-child a.minus {
  display: none;
}
.after-submit-links {
  display: flex;
}
.after-submit-links a {
  flex: 3;
  text-align: center;
}
.after-submit-links span {
  flex: 1;
}

h2.entered-competitions {
  color: #365d8c;
  text-transform: uppercase;
  border-bottom: 2px solid;
  margin-bottom: 30px;
}

h3.entry_code {
  font-size: 14px;
  color: #e09900;
}

/** SUBMIT CSS **/

.entry-code-blurb .et_pb_blurb_content {
  max-width: 100%;
}

.entry-code-blurb.et_pb_blurb_position_left .et_pb_blurb_container{
  vertical-align: middle;
  text-transform: uppercase;
  color: #e09900;
}

.code-section {
  padding: 10px 0;
}

.submit-btn.et_pb_button {
  max-width: 200px;
}

.submission_description {
  margin: auto;
  margin-bottom: 1em;
  text-align: left;
}

input#submission_rules {
  width: initial;
}

input[type=text].search-input {
  border: 0px solid;
  padding: 10px !important;
  border: 1px solid rgba(51, 51, 51, 0.17) !important;
}
.search-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #000 !important;
}
.search-input::-moz-placeholder { /* Firefox 19+ */
  color: #000 !important;
}
.search-input:-ms-input-placeholder { /* IE 10+ */
  color: #000 !important;
}
.search-button {
  background: #345582;
  color: white;
  border: 0px solid;
  padding: 11px 15px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button.btn.pull-left.search-button:hover {
  background: #e09900;
}

#homeleaderboard-row div#leaderboard-search {
  display: none;
}

@media (max-width:980px) {
  .rank-position { width: 50%; }
  .avatar-holder, .rank-trophy { width: 25%; }
}

@media (max-width:480px) {

  .avatar-holder, .rank-trophy, .rank-position { width: 100%; }

  .rank-position h3 { font-size: 20px !important;}
  .rank-position { left: 0px !important; text-align: center;
    text-transform: capitalize; }
  .avatar-holder, .rank-position, .rank-trophy {
  }
  .leaderboard .board-row .avatar-holder img {
    border-radius: 50%;
    width: 170px !important;
    height: 170px !important;
    object-fit: cover;
    max-width: 170px !important;
    margin: auto;
    text-align: center;
    display: block;
    margin-bottom: 30px;
  }

  .rank-trophy img {
    display: block;
    text-align: center;
    margin: auto;
  }

  .rank-trophy {
    padding-top: 1em;
  }

  .modal {
    padding: 20px !important;
  }

  .competition h1 {
    font-size: 24px !important;
    line-height: 1.3em;
  }

  .competition .description {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .competition {
    border: none !important;
    padding: 0 !important;
  }

  .competition {

  }
}

.leaderboard .title-holder{
  margin-bottom: 15px;
}
.leaderboard .title-holder a{
  position: relative;
  padding: 0.3em 1em;
  border: 2px solid;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7em !important;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  color: #ffffff!important;
  padding-left: 0.7em;
  padding-right: 2em;
  background-color: #365d8c;
  width: 100%;
  display: block;
  text-align: center;
}
.leaderboard.hall-of-fame .title-holder a {
  background: #333;

}
.leaderboard .pages-container {
  padding-top: 7px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.highlight {
  animation: highlight 1s 5;
}
@keyframes highlight {
  0% {
    background: none
  }
  50% {
    background: rgb(255, 235, 158)
  }
  100% {
    background: none;
  }
}
.loginformholder {
    text-align: left;
    margin-top: 20px;
}

.loginformholder input#user_login, .loginformholder input#user_pass {
    width: 100%;
}

p.existing-members {
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 10px;
}

.loginformholder label {
  display: block;
}
.gravity-form-holder {
  margin-top: 10px;
}
.gravity-form-holder--hidden {
  display: none;
}
.popup-toggle-button {
  margin-top: 10px;
  margin-bottom: 10px;
}

body #page-container .et_pb_button_0 {
  color: #ffffff!important;
  border-color: #365d8c;
  border-radius: 0px;
  background-color: #365d8c;
}

@media (max-width: 980px) {
.competition__leftcolumn {
    margin-bottom: 30px;
}

}

/** MODAL CSS **/

p.login-submit #wp-submit {
    background: #e09900!important;
    border-color: #e09900!important;
    box-shadow: 0 0px 0 #aa7400;
    color: #fff;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    padding: 10px 20px !important;
    border-radius: 4px;
    width: 100%;
    font-weight: bold;
}

button.et_pb_button.et_pb_button_3.et_pb_button_0.show_register_form_button.popup-toggle-button,
button.et_pb_button.et_pb_button_3.et_pb_button_0.show_login_form_button,
input#gform_submit_button_5,
input#gform_submit_button_6 {
    background: #365d8c;
    color: white;
    width: 100%;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    padding: 10px 20px !important;
    border-radius: 4px;
    box-shadow: 0 2px 0 #223d5d;
    border: 2px solid #365d8c;
    cursor: pointer;
    font-weight: bold;
}


.gravity-form-holder .gform_wrapper ul li.gfield {
    margin-top: 0 !important;
}

.gform_wrapper input#gf_coupon_button.button {
    margin-left: 8px;
    background: #365d8c;
    color: white;
    text-align: center;
    font-size: 16px;
    padding: 10px 20px !important;
    border-radius: 4px;
    box-shadow: 0 2px 0 #223d5d;
    border: 2px solid #365d8c;
    cursor: pointer;
    font-weight: bold;
}

@media (max-width:480px) {

.gform_wrapper input#gf_coupon_button.button,
button.et_pb_button.et_pb_button_3.et_pb_button_0.show_login_form_button {
    font-size: 12px !important;;
}

}