@font-face {
  font-family: 'KelsonSans-embeded';
  src: url('../fonts/kelson-sans/kelson_sans_light-webfont.woff') format('woff'),
    url('../fonts/kelson-sans/kelson_sans_light-webfont.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'KelsonSans-embeded';
  src: url('../fonts/kelson-sans/kelson_sans_regular-webfont.woff') format('woff'),
    url('../fonts/kelson-sans/kelson_sans_regular-webfont.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'KelsonSans-embeded';
  src: url('../fonts/kelson-sans/kelson_sans_bold-webfont.woff') format('woff'),
    url('../fonts/kelson-sans/kelson_sans_bold-webfont.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'SourceSans-embeded';
  src: url('../fonts/source-sans/SourceSansPro-Regular.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'SourceSans-embeded';
  src: url('../fonts/source-sans/SourceSansPro-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Icons-embeded';
  src: url('../fonts/icons/ce-icons.woff') format('woff'),
    url('../fonts/icons/ce-icons.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

body {
  background: #1b242d;
  padding: 30px 0;
  font-family: "SourceSans-embeded", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #313941;
  margin: 0;
}

.apg {
  background: #021b31;
}

h3 {
  font-family: "KelsonSans-embeded", "SourceSans-embeded", Helvetica, Arial, sans-serif;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
}

.main-container {
  margin: 0 auto;
  width: 580px;
  margin-top: 5px;
  padding: 0;
}

.row {
  background: #F4F5F6;
  border-radius: 2px;
  margin-right: -15px;
  margin-left: -15px;
  width: 610px;
  padding: 30px 0 0;
}

.header {
  padding-top: 30px;
}

.box {
  background: #F4F5F6;
  padding: 10px 10px 20px;
  border-radius: 2px;
}

.details {
  font-size: 12px;
  color: #5c656e;
  line-height: 1.4;
  text-shadow: 0 1px 0 white;
  padding-bottom: 15px;
  padding-top: 5px;
  text-align: justify;
  text-justify: inter-word;
}

.subheader {
  color: #babec2;
  font-size: 12px;
  line-height: 1.0;
  padding-top: 5px;
}

.separator {
  border-top: 1px #e1e5e8 solid;
  border-bottom: 1px #ffffff solid;
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
  padding-top: 15px;
  padding-bottom: 15px;
}

.flex-row > :first-child {
  width: 45%;
  font-weight: 600;
}

.flex-row > :last-child {
  flex-grow: 1;
}

#operating-status {
  color: white;
  text-align: center;
  border-radius: 2px;
  padding: 10px 0;
}

.valid {
  background: #728e4f;
}

.invalid {
  background: #bd3c29;
}

.pending {
  background: #ffc107;
  color: #212529;
}

.suspended {
  background: #6c757d;
}

p {
  padding: 5px;
  text-align: justify;
  margin: 0 0 10px;
}

hr.dashed-on-dark {
  border-bottom: 1px dashed #5C656E;
  border-top: none;
  margin: 0;
}

.logo-container img {
  width: 125px;
}

.copyright {
  color: #5c656e;
  font-size: 11px;
  padding-top: 5px;
}

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

/* Complaint and Self Exclusion Sections */
.complaint-section,
.self-exclusion-section {
  background: transparent;
  padding: 15px 0;
}

.complaint-section h3,
.self-exclusion-section h3 {
  font-weight: 600;
  margin-bottom: 10px;
}

.complaint-section p,
.self-exclusion-section p {
  margin-bottom: 15px;
}

.yellow-button {
  background-image: linear-gradient(to bottom, #e5db92 0%, #d6c754 100%);
  background-repeat: repeat-x;
  color: #1b242d;
  padding: 6px 12px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  background-color: #e5db92;
  border: 1px solid #d6c754;
  border-top-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 -1px 0 #d6c754;
  border-radius: 0px;
  font-weight: 600;
  font-size: 12px;
  line-height: 20px;
  width: 200px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.yellow-button:hover,
.yellow-button:focus,
.yellow-button:active {
  color: #1b242d;
  background: #d6c754;
  border-color: #d6c754;
  box-shadow: 0 -1px 0 #d6c754;
  border-top-color: rgba(255, 255, 255, 0.4);
  outline: none !important;
}

.btn-action {
  background-image: linear-gradient(to bottom, #e5db92 0%, #d6c754 100%);
  background-repeat: repeat-x;
  color: #1b242d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  background-color: #e5db92;
  border: 1px solid #d6c754;
  border-top-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 -1px 0 #d6c754;
  border-radius: 0px;
  font-weight: 600;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  width: 150px;
  float: right;
}

.btn-action:hover,
.btn-action:focus,
.btn-action:active {
  color: #1b242d;
  background: #d6c754;
  border-color: #d6c754;
  box-shadow: 0 -1px 0 #d6c754;
  border-top-color: rgba(255, 255, 255, 0.4);
  outline: none !important;
  text-decoration: none;
}

.complaint-section {
  margin-bottom: 20px;
  overflow: hidden;
}

.complaint-section h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 26.4px;
  margin: 0 0 5px 0;
  color: #313941;
}

.complaint-section .details {
  font-size: 12px;
  color: #5c656e;
  line-height: 1.4;
  text-shadow: 0 1px 0 #ffffff;
  padding: 5px 0 15px 5px;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.action-btn {
  text-align: right;
  padding: 0 0 20px;
  margin: 0;
}

.btn-small {
  font-size: 12px;
  line-height: 20px;
  padding: 4px 10px;
  width: 160px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 620px) {
  .complaint-section h3 {
    font-size: 18px;
    line-height: 1.3;
  }
  .complaint-section .details {
    font-size: 11px;
    line-height: 1.4;
    padding-right: 10px;
  }
  .yellow-button {
    width: 160px;
    font-size: 11px;
  }
  .action-btn {
    text-align: right;
    padding: 10px 0 15px;
  }
}

.complaint-section::after,
.self-exclusion-section::after {
  content: "";
  display: table;
  clear: both;
}

/* Pull right for DMCA */
.pull-right {
  float: right !important;
}

.dmca-badge img {
  height: auto;
  width: auto;
}

/* iframe styles */
#complaint-frame {
  border: 0;
  width: 580px;
  height: 210px;
  display: block;
}

#self-exclusion-frame {
  border: 0;
  width: 580px;
  height: 177px;
  display: block;
}

.height-animation {
  transition: height 0.2s;
}

/* Links */
a {
  color: #337ab7;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #23527c;
  text-decoration: underline;
}

/* Error Container */
.error-container {
  background-color: #f4f5f6;
  padding: 60px 30px;
  text-align: center;
}

.error-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.error-title {
  color: #dc3545;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.error-message {
  color: #5c656e;
  font-size: 14px;
}

/* Bootstrap Grid - col-md */
.col-md-3,
.col-md-9,
.col-md-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  float: left;
}

.col-md-3 {
  width: 152.5px;
}

.col-md-9 {
  width: 457.5px;
}

.col-md-12 {
  width: 610px;
}

.row:before,
.row:after {
  display: table;
  content: " ";
}

.row:after {
  clear: both;
}

/* Responsive */
@media (max-width: 620px) {
  body {
    padding: 15px 0;
  }

  .col-md-3,
  .col-md-9,
  .col-md-12 {
    width: 100%;
    float: none;
    padding-right: 0;
    padding-left: 0;
  }
  
  .main-container {
    width: 100%;
    padding: 0 10px;
    margin-top: 0;
  }
  
  .row {
    width: 100%;
    margin: 0;
    padding: 15px 0 0;
  }

  .header {
    padding-top: 15px;
  }
  
  .box {
    padding: 15px;
  }
  
  .logo-container {
    text-align: left;
    margin-bottom: 15px;
  }

  .logo-container img {
    width: 100px;
  }

  h3 {
    font-size: 20px;
    line-height: 1.3;
  }
  
  .flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .flex-row > :first-child {
    width: 40%;
    min-width: 40%;
    margin-bottom: 0;
    font-size: 14px;
  }

  .flex-row > :last-child {
    width: 60%;
    font-size: 14px;
    word-break: break-word;
  }

  #operating-status {
    font-size: 14px;
    padding: 8px 0;
  }

  .details {
    font-size: 11px;
    padding-bottom: 10px;
  }

  p {
    font-size: 13px;
    line-height: 1.5;
  }

  .complaint-section,
  .self-exclusion-section {
    padding: 10px 0;
  }

  .complaint-section h3,
  .self-exclusion-section h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .complaint-section p,
  .self-exclusion-section p {
    font-size: 12px;
    margin-bottom: 10px;
  }
  
  .btn-action {
    float: right;
    display: inline-block;
    width: auto;
    padding: 5px 10px;
    font-size: 12px;
  }

  #complaint-frame,
  #self-exclusion-frame {
    width: 100%;
    height: auto;
    min-height: 50px;
    overflow: hidden;
  }

  .copyright {
    font-size: 10px;
    text-align: center;
  }

  .pull-right {
    float: none !important;
    text-align: right;
    padding: 10px 0;
  }

  .dmca-badge img {
    height: 20px;
  }

  hr.dashed-on-dark {
    margin: 10px 0;
  }

  .error-container {
    padding: 40px 20px;
  }

  .error-icon {
    font-size: 48px;
    margin-bottom: 15px;
  }

  .error-title {
    font-size: 20px;
  }

  .error-message {
    font-size: 13px;
  }
}
