/* Flexbox utility */
.d--f {
  display: -webkit-box;
  display: flex;
}

/* Justify content */
.jc--fe {
  -webkit-box-pack: end;
          justify-content: flex-end;
}

.jc--c {
  -webkit-box-pack: center;
          justify-content: center;
}

.jc--sa {
  justify-content: space-around;
}

.jc--sb {
  -webkit-box-pack: justify;
          justify-content: space-between;
}

/* Align items */
.ai--fs {
  -webkit-box-align: start;
          align-items: flex-start;
}

.ai--c {
  -webkit-box-align: center;
          align-items: center;
}

.ai--fe {
  -webkit-box-align: end;
          align-items: flex-end;
}

.ai--b {
  -webkit-box-align: baseline;
          align-items: baseline;
}

/* Preview Loader */
.theme-appearance-loader {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(219, 226, 230, 0.6);
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
}

.gs-preview-spinner {
  color: #4966bc;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.gs-preview-spinner div {
  -webkit-transform-origin: 40px 40px;
          transform-origin: 40px 40px;
  -webkit-animation: gs-preview-spinner 1.2s linear infinite;
          animation: gs-preview-spinner 1.2s linear infinite;
}
.gs-preview-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 5px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #4966bc;
}
.gs-preview-spinner div:nth-child(1) {
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s;
}
.gs-preview-spinner div:nth-child(2) {
  -webkit-transform: rotate(30deg);
          transform: rotate(30deg);
  -webkit-animation-delay: -1s;
          animation-delay: -1s;
}
.gs-preview-spinner div:nth-child(3) {
  -webkit-transform: rotate(60deg);
          transform: rotate(60deg);
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s;
}
.gs-preview-spinner div:nth-child(4) {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s;
}
.gs-preview-spinner div:nth-child(5) {
  -webkit-transform: rotate(120deg);
          transform: rotate(120deg);
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s;
}
.gs-preview-spinner div:nth-child(6) {
  -webkit-transform: rotate(150deg);
          transform: rotate(150deg);
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s;
}
.gs-preview-spinner div:nth-child(7) {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s;
}
.gs-preview-spinner div:nth-child(8) {
  -webkit-transform: rotate(210deg);
          transform: rotate(210deg);
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s;
}
.gs-preview-spinner div:nth-child(9) {
  -webkit-transform: rotate(240deg);
          transform: rotate(240deg);
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s;
}
.gs-preview-spinner div:nth-child(10) {
  -webkit-transform: rotate(270deg);
          transform: rotate(270deg);
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s;
}
.gs-preview-spinner div:nth-child(11) {
  -webkit-transform: rotate(300deg);
          transform: rotate(300deg);
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s;
}
.gs-preview-spinner div:nth-child(12) {
  -webkit-transform: rotate(330deg);
          transform: rotate(330deg);
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}

@-webkit-keyframes gs-preview-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes gs-preview-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* Default */
body {
  background-color: #edf8ff;
}

.gs-instagram-settings {
  margin-right: -20px;
  margin-left: -22px;
}
.gs-instagram-settings p {
  margin: 0;
}
.gs-instagram-settings * {
  box-sizing: border-box;
}
.gs-instagram-settings a {
  text-decoration: none;
}
.gs-instagram-settings img {
  max-width: 100%;
  height: auto;
}

/* Header style */
.gs-settings-header {
  background: #0070af;
  background: -webkit-gradient(linear, left top, right top, from(#0070af), to(#4a66bc));
  background: linear-gradient(to right, #0070af 0%, #4a66bc 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#0070af", endColorstr="#4a66bc",GradientType=1 );
  padding: 40px 30px 90px 35px;
}
.gs-settings-header p.h1 {
  color: #fff;
  font-weight: 500;
  font-size: 25px;
}
.gs-settings-header p.h3 {
  font-size: 15px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 3px 13px;
  border-radius: 30px;
}

/* Card */
.gs-settings-card-wrapper {
  padding: 0 30px 0 35px;
  margin-top: -50px;
}

.gs-settings-card {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

.gs-settings-card-body {
  padding: 25px 30px 30px 30px;
}

/* Menu */
.gs-settings-menubar {
  border-bottom: 2px solid #dbe2e6;
  padding: 13px 15px 12px 15px;
}

.gs-settings-mainmenu {
  margin: 0;
}
.gs-settings-mainmenu li {
  display: inline-block;
  padding: 0 15px;
  margin: 0;
}
.gs-settings-mainmenu li a {
  display: inline-block;
  color: #6a8190;
  font-size: 16px;
  text-decoration: none;
  position: relative;
}
.gs-settings-mainmenu li a:hover {
  color: #3b5261;
}
.gs-settings-mainmenu li a:focus {
  outline: 0 none;
  box-shadow: none;
}
.gs-settings-mainmenu li a.active {
  color: #3b5261;
}
.gs-settings-mainmenu li a.active:after {
  position: absolute;
  content: " ";
  height: 2px;
  width: 100%;
  left: 0;
  background-color: #3b5261;
  bottom: -17px;
}

/* Page title */
.gs-instagram-page-heading {
  padding-bottom: 25px;
  border-bottom: 1px solid #dbe2e6;
  margin-bottom: 30px;
}
.gs-instagram-page-heading p.gs-title {
  font-size: 22px;
  margin-bottom: 5px;
}
.gs-instagram-page-heading p.gs-subtitle {
  font-size: 15px;
  color: #717171;
}

.gs-instagram-support-body p {
  font-size: 16px;
  margin-bottom: 15px;
}

/* Button */
a.gs-instagram-button, button.gs-instagram-button {
  padding: 10px 16px;
  display: inline-block;
  background-color: #4a66bc;
  font-size: 16px;
  color: #fff;
  border-radius: 3px;
}
a.gs-instagram-button:focus, button.gs-instagram-button:focus {
  outline: 0 none;
  box-shadow: none;
}

button.gs-instagram-button {
  border: 0 none;
  cursor: pointer;
}

a.gs-instagram-button.heading-link {
  font-size: 14px;
  padding: 4px 10px;
  margin-left: 30px;
}

button.gs-instagram-button.danger-button {
  background-color: #f3f5f6;
  color: #b52727;
  border: 1px solid #b52727;
}

/* Settings page */
.gs-instagram-settings-field {
  display: -webkit-box;
  display: flex;
  margin-bottom: 30px;
  border-bottom: 1px solid #dbe2e6;
  padding-bottom: 25px;
}
.gs-instagram-settings-field .gs-label {
  -webkit-box-flex: 0;
          flex: 0 0 30%;
  max-width: 30%;
}
.gs-instagram-settings-field .gs-label label {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.gs-instagram-settings-field .gs-label p {
  font-size: 14px;
  color: #717171;
}
.gs-instagram-settings-field .gs-input {
  -webkit-box-flex: 0;
          flex: 0 0 70%;
  max-width: 70%;
  padding-left: 100px;
}
.gs-instagram-settings-field .default-input {
  width: 60%;
  background-color: #dbe2e6;
  box-shadow: none;
  height: 34px;
  padding: 3px 10px;
  border-radius: 3px;
  border: 1px solid #bbc3c7;
  font-size: 14px;
}
.gs-instagram-settings-field .default-input:focus {
  outline: 0 none;
  box-shadow: none;
  border-color: #bbc3c7;
}

/* Form loader */
.gs-form-spinner.spinner {
  float: none;
  margin: 0 0 0 30px;
}

/* Themes table */
.gs-instagram-table {
  width: 100%;
  text-align: left;
  border-spacing: 0;
  color: #808d9b;
}
.gs-instagram-table thead th {
  color: #728398;
  background-color: #e7ecf1;
  padding: 15px 22px;
  font-weight: 600;
  font-size: 14px;
}
.gs-instagram-table tbody td {
  padding: 18px 22px;
  border-bottom: 1px solid #d2dce6;
}
.gs-instagram-table tbody tr:nth-child(even) td {
  background-color: #f7f7f7;
}
.gs-instagram-table .gs-tcol-name a {
  color: #4a66bc;
  font-size: 14px;
  font-weight: 600;
}
.gs-instagram-table .gs-tcol-shortcode span {
  color: #545454;
}
.gs-instagram-table .gs-tcol-shortcode button {
  cursor: pointer;
  color: #728398;
  background-color: #d9e4ef;
  font-size: 11px;
  border: 0 none;
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 20px;
}
.gs-instagram-table .gs-tcol-shortcode button:focus {
  outline: 0 none;
  box-shadow: none;
  background-color: #b4cbe2;
}
.gs-instagram-table .gs-tcol-action a {
  color: #808d9b;
}
.gs-instagram-table .gs-tcol-action a + a {
  margin-left: 20px;
}
.gs-instagram-table .gs-tcol-action a:hover {
  color: #4a66bc;
}

/* Theme settings form */
.theme-settings-form > h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 20px 0;
  color: #444;
}

.theme-appearance-form {
  -webkit-box-flex: 0;
          flex: 0 0 25%;
  max-width: 25%;
  background-color: #38393A;
  padding: 20px;
}
.theme-appearance-form .gs-field {
  margin-bottom: 20px;
}
.theme-appearance-form .gs-field label {
  display: block;
  color: #bbc0c5;
  margin: 0 0 8px 0;
  font-size: 14px;
}
.theme-appearance-form .gs-field input, .theme-appearance-form .gs-field select {
  display: block;
  background-color: #22282d;
  color: #fff;
  border: 1px solid #9ea3a8;
  box-shadow: none;
  width: 100%;
  height: 32px;
  border-radius: 3px;
  padding: 3px 8px 4px 8px;
  font-size: 14px;
}

.theme-appearance-output {
  -webkit-box-flex: 0;
          flex: 0 0 75%;
  max-width: 75%;
  background-color: #F7F7F7;
  padding: 20px;
  position: relative;
}
.theme-appearance-output .preview-text {
  text-align: center;
  font-size: 20px;
  padding-bottom: 30px;
  text-decoration: underline;
  color: #383939;
}

.theme-create-submit {
  padding-top: 25px;
}

/* Notification Toaster */
#notification-wrapper .toast-notification {
  font-size: 14px;
}

/**
 * Theme style default
 */
.gs-instagram-theme-container {
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
  margin-right: auto;
  margin-left: auto;
}

.gs-instagram-theme-row {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
}

.gsip-theme-columns {
  position: relative;
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
  margin-bottom: 20px;
}
.gsip-theme-columns a {
  display: block;
  line-height: 1;
}

.gsip-columns-4 {
  -webkit-box-flex: 0;
          flex: 0 0 25%;
  max-width: 25%;
}

.gsip-columns-3 {
  -webkit-box-flex: 0;
          flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

/**
 * Preview alert
 */
.theme-appearance-alert-warning {
  padding: 13px 20px;
  border-radius: 4px;
  color: #856404;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  font-size: 15px;
  margin-bottom: 20px;
}

.gs-instagram-alert-info {
  padding: 13px 20px;
  border-radius: 4px;
  color: #0c5460;
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  font-size: 15px;
  margin-bottom: 20px;
}

/**
 * switch icon
 */
.react-switch-icon {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  height: 100%;
  font-size: 15px;
  color: #fff;
}
.react-switch-icon.right-icon {
  padding-right: 10px;
}
.react-switch-icon.left-icon {
  padding-left: 10px;
}

/**
 * Auth form
 */
.gs-instagram-auth-field {
  margin-bottom: 25px;
  max-width: 500px;
}
.gs-instagram-auth-field label, .gs-instagram-auth-field input {
  display: block;
  width: 100%;
}
.gs-instagram-auth-field label {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}
.gs-instagram-auth-field input {
  height: 36px;
  padding: 3px 10px;
}
.gs-instagram-auth-field input:disabled {
  background-color: #dbe2e6;
  border: 1px solid #bbc3c7;
}