/* Kenmore Village Competition Entry Form Styles */
/* CSS RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* General Body Styles */
body {
  font-size: 18px;
  font-family: 'futura-pt', sans-serif;
  color: #2b418a;
  line-height: 1.35;
  background-color: #f7f8f8;
  width: 100%;
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
}

a {
  color: #b71c8d;
  text-decoration: underline;
}

.label-link {
  text-decoration: none;
  color: #2b418a;
}

.label-link span {
  color: #b71c8d;
  text-decoration: underline;
}

/* Layout Styles */
.flexGridRow {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.flexGridRow .competition-artwork {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 100%;
          flex: 1 1 100%;
}

.flexGridRow .competition-details {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 100%;
          flex: 1 1 100%;
  padding: 2rem;
}

@media screen and (min-width: 900px) {
  .flexGridRow {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    width: 100%;
  }
  .flexGridRow .competition-artwork {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 50%;
            flex: 1 1 50%;
    height: 100vh;
  }
  .flexGridRow .competition-details {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 50%;
            flex: 1 1 50%;
    height: 100vh;
    padding: 4rem;
  }
}

/* Header styles */
.main-header {
  width: 100%;
  height: 60px;
  padding: 10px;
  display: block;
  -webkit-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

.main-header .logo-container {
  max-width: 80px;
}

.main-header .logo-container img {
  display: block;
  max-width: 100%;
}

/* Main Artwork styles */
.competition-artwork {
  background-image: url(../img/flowers.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.competition-artwork .competition-text-artwork {
  max-width: 60%;
  margin: 0 20%;
}

.competition-artwork .competition-text-artwork img {
  display: block;
  max-height: 100%;
}

@media screen and (min-width: 600px) {
  .competition-artwork .competition-text-artwork img {
    max-height: 200px;
  }
}

.competition-artwork .competition-text-artwork h3 {
  color: #b71c8d;
  text-align: center;
  padding: 0 0 2rem 0;
}

@media screen and (min-width: 900px) {
  .competition-artwork .competition-text-artwork {
    max-width: 80%;
    margin: 0 10%;
  }
  .competition-artwork .competition-text-artwork img {
    max-height: 100%;
  }
}

/* Competition Details styles */
.competition-details {
  width: 100%;
}

.competition-details #entry-form {
  width: 100%;
  margin-top: 1rem;
}

.competition-details #entry-form .form-input-container {
  display: block;
  position: relative;
}

.competition-details #entry-form .form-input-container label {
  position: relative;
}

.competition-details #entry-form .form-input-container input {
  width: 100%;
  height: 35px;
  margin: 0.5rem 0 1.5rem 0;
  outline: none;
  padding: 0;
  border: 1px solid #e4e4e4;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  -webkit-appearance: none;
}

.competition-details #entry-form .form-input-container input[type='submit'] {
  background-color: #b71c8d;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-transition: all 0.15s ease;
  transition: all 0.15s ease;
  border: 1px solid #b71c8d;
  padding: 0;
}

.competition-details #entry-form .form-input-container input[type='submit']:hover {
  background-color: #9f137d;
  border: 1px solid #9f137d;
}

.competition-details #entry-form .form-input-container label.checkbox-label {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  font-size: 14px;
  margin-bottom: 1rem;
}

.competition-details #entry-form .form-input-container label.checkbox-label input {
  width: auto;
  height: auto;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  margin: 3px 1rem 0 0;
  -webkit-appearance: checkbox;
}

.competition-details #entry-form .form-input-container .PHPerr {
  position: absolute;
  background-color: #ee2f42;
  font-size: 11px;
  color: white;
  top: 0;
  right: 0;
  padding: 5px;
}

.competition-details #entry-form .form-input-container .PHPerr.static {
  position: relative;
  display: inline-block;
  background-color: #ee2f42;
  font-size: 11px;
  color: white;
  padding: 5px;
}

/* Success Box Styles */
.success-box {
  background-color: #b71c8d;
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin: 1rem 0;
}

.success-box h2 {
  margin-bottom: 1rem;
}
