* {
  -moz-box-sizing: border-box;
        box-sizing: border-box;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Italic.ttf');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Bold.ttf');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Lavanderia';
  src: url('../fonts/Lavanderia.eot');
  src: url('../fonts/Lavanderia.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Lavanderia.woff2') format('woff2'),
       url('../fonts/Lavanderia.woff') format('woff'),
       url('../fonts/Lavanderia.ttf') format('truetype'),
       url('../fonts/Lavanderia.svg#lavanderia_sturdysturdy') format('svg');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'SignPainterHouseCasual';
  src: url('../fonts/SignPainterHouseCasual.eot');
  src: url('../fonts/SignPainterHouseCasual.eot?#iefix') format('embedded-opentype'),
       url('../fonts/SignPainterHouseCasual.woff2') format('woff2'),
       url('../fonts/SignPainterHouseCasual.woff') format('woff'),
       url('../fonts/SignPainterHouseCasual.ttf') format('truetype'),
       url('../fonts/SignPainterHouseCasual.svg#signpainter_housecasualRg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SignPainterHouseScript';
  src: url('../fonts/SignPainterHouseScript.eot');
  src: url('../fonts/SignPainterHouseScript.eot?#iefix') format('embedded-opentype'),
       url('../fonts/SignPainterHouseScript.woff2') format('woff2'),
       url('../fonts/SignPainterHouseScript.woff') format('woff'),
       url('../fonts/SignPainterHouseScript.ttf') format('truetype'),
       url('../fonts/SignPainterHouseScript.svg#signpaintermedium') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'Lobster';
    src: url('../fonts/Lobster.eot');
    src: url('../fonts/Lobster.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Lobster.woff2') format('woff2'),
         url('../fonts/Lobster.woff') format('woff'),
         url('../fonts/Lobster.ttf') format('truetype'),
         url('../fonts/Lobster.svg#lobster_1.4regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BariolItalic';
    src: url('../fonts/BariolItalic.eot');
    src: url('../fonts/BariolItalic.eot?#iefix') format('embedded-opentype'),
         url('../fonts/BariolItalic.woff2') format('woff2'),
         url('../fonts/BariolItalic.woff') format('woff'),
         url('../fonts/BariolItalic.ttf') format('truetype'),
         url('../fonts/BariolItalic.svg#bariolregular_italic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FabfeltScriptBold';
    src: url('../fonts/FabfeltScriptBold.eot');
    src: url('../fonts/FabfeltScriptBold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/FabfeltScriptBold.woff2') format('woff2'),
         url('../fonts/FabfeltScriptBold.woff') format('woff'),
         url('../fonts/FabfeltScriptBold.ttf') format('truetype'),
         url('../fonts/FabfeltScriptBold.svg#fabfeltscriptbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
  background: #2c3e50;
  margin: 0px;
  padding: 0px;
  text-align: center;
  padding-bottom: 50px;
  font-family: "Open Sans";
  color: #ecf0f1;
}

h1 {
  font-family: 'Lavanderia';
  font-size: 75px;
  margin-bottom: 0px;
}

h2 {
  font-family: 'SignPainterHouseScript';
  font-size: 40px;
  font-weight: normal;
  margin-top: 0px;
}

p {
  font-size: 16px;
  width: 100%;
  display: block;
}

a {
  color: #ecf0f1;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

#resizable {
  overflow: hidden;
  padding: 20px;
  border: 0px;
  margin: 30px auto 50px;
  text-align: left;
  position: relative;
}

#resizable img {
  position: absolute;
  cursor: move;
  border: 1px dashed #2c3e50;
}

#resizable .text {
  font-family: 'Lavanderia';
  font-size: 52px;
  line-height: 62px;
  cursor: move;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  color: #2c3e50;
  border: 1px dashed #2c3e50;
  overflow: hidden;
  padding: 20px;
}

.image_result {
  padding: 20px;
  text-align: center;
}

.image_result img {
  max-width: 100%;
}

.wrapper {
  min-width: 700px;
  margin: auto;
  padding: 20px;
}

form {
  width: 615px;
  margin: auto;
}

.btn, #copy-button, #text_input, select, textarea, input {
  background-color: #ecf0f1;
  padding: 10px 15px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  display: inline-block;
  color: #2c3e50;
  text-decoration: none;
  font-family: "Open Sans";
  border: 0px;
  vertical-align: middle;
  line-height: 18px;
}

select {
  width: 250px;
  height: 38px;
}

#text_input {
  width: 100%;
  margin-bottom: 15px;
  resize: none;
}

.link_back, .link_to_share {
  margin-top: 30px;
}

.link_to_share, .nb_views {
  font-family: "Open Sans";
  color: #ecf0f1;
}

#copy-button {
  margin-left: 15px;
}

.font_size_edit {
  font-size: 26px;
  font-weight: bold;
  line-height: 18px;
}

.font_size_edit, .text_align_edit {
  width: 45px;
  margin-right: 5px;
}

.font_size_edit, .text_align_edit, .submit, select {
  cursor: pointer;
}

.submit {
  width: 80px;
}

.font_size_edit.last, .text_align_edit.last, #select_font, #select_pinup {
  margin-right: 15px;
}

.wrapper_slider {
  width: 615px;
  margin: auto;
}

#slider_images {
  top: -16px;
}

#slider_images a {
  color: #ecf0f1;
}

.alert {
  padding: 20px;
  background: #ecf0f1;
  margin-bottom: 30px;
  color: #2c3e50;
}

.loading {
  text-align: center;
  font-family: "Lavanderia";
  color: #ecf0f1;
  position: absolute;
  background: rgba(44,62,80,0.8);
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 9999;
  font-size: 26px;
  display: none;
}

.loading .inner-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -moz-transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
}

.loading img {
  display: inline-block;
  margin-bottom: 10px;
  animation: rotation 2s infinite linear;
  -webkit-animation: rotation 2s infinite linear;
  -moz-animation: rotation 2s infinite linear;
  margin: auto;
}

@-webkit-keyframes rotation {
    from {
      transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
    }
    to   {
      transform: rotate(359deg);
      -webkit-transform: rotate(359deg);
      -moz-transform: rotate(359deg);
    }
}
@keyframes rotation {
    from {
      transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
    }
    to   {
      transform: rotate(359deg);
      -webkit-transform: rotate(359deg);
      -moz-transform: rotate(359deg);
    }
}

table {
  max-width: 1100px;
  margin: auto;
}

table thead th {
  padding: 10px;
  background: #ecf0f1;
  color: #2c3e50;
}

table tbody tr td {
  background: #384f66;
}

table tbody td {
  padding: 10px;
}

table .date-column {
  width: 172px;
}

@media (max-width: 768px) {
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    overflow-x: scroll;
  }
  .table-responsive > table > thead > tr > th,
  .table-responsive > table > thead > tr > td,
  .table-responsive > table > tbody > tr > th,
  .table-responsive > table > tbody > tr > td,
  .table-responsive > table > tfoot > tr > th,
  .table-responsive > table > tfoot > tr > td {
      white-space: nowrap;
  }
}