:root {
  --bg-main-color: #451115;
  --text-main-color: #f7dd91;
  --mob-bg: url("../img/bgs/mob-bg.jpg");
  --desk-bg: url("../img/bgs/desk-bg.jpg");
}

/* Login page styles */
.page-login .highlight-border {
  max-width: 480px;
  margin: 80px auto;
  padding: 30px;
  background: #ffffff22;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border-radius: 8px;
}

.page-login .template-selection-section--header {
  text-align: left;
  padding: 10px 20px;
}

.page-login form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.page-login label {
  color: #fff;
  font-size: 14px;
}

.page-login input[type="text"],
.page-login input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 15px;
}

.page-login .btn {
  display: inline-block;
  padding: 10px 18px;
  background: #00a6ca;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.page-login .alert {
  background: rgba(255,0,0,0.08);
  color: #ffdddd;
  padding: 8px 10px;
  border-radius: 6px;
  margin-top: 10px;
}

@media screen and (max-width: 480px) {
  .page-login .highlight-border {
    margin: 30px 12px;
    padding: 20px;
  }
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Light.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Light.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: bold;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Medium.otf") format("opentype");
  font-weight: 400;
  font-style: bold;
}

/*@font-face {*/
/* font-family: 'Roboto';*/
/* src: url('../fonts/Roboto/static/Roboto_SemiCondensed-Light.ttf') format('truetype');*/
/* font-weight: 300;*/
/* font-style: normal;*/
/*}*/

/*@font-face {*/
/* font-family: 'Roboto';*/
/* src: url('../fonts/Roboto/static/Roboto_SemiCondensed-Regular.ttf') format('truetype');*/
/* font-weight: 400;*/
/* font-style: normal;*/
/*}*/

/*@font-face {*/
/* font-family: 'Roboto';*/
/* src: url('../fonts/Roboto/static/Roboto_SemiCondensed-Medium.ttf') format('truetype');*/
/* font-weight: 500;*/
/* font-style: bold;*/
/*}*/

/*@font-face {*/
/* font-family: 'Roboto';*/
/* src: url('../fonts/Roboto/static/Roboto_SemiCondensed-Bold.ttf') format('truetype');*/
/* font-weight: 700;*/
/* font-style: bold;*/
/*}*/

body {
  font-family: "Gotham", serif;
  font-weight: 300;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 50px auto;
  text-align: center;
}

.logo-area {
  display: flex;
  /* flex-direction: row; */
  justify-content: end;
  position: relative;
  /*top: 50px;*/
  width: 96%;
  margin: 0 auto 30px;
  height: 50px;
}

/*img.cibil-logo {*/
/* width: 25%;*/
/*}*/

img.logo {
  width: 15%;
}

@media screen and (min-width: 768px) {
  .logo-area {
    top: 0px !important;
    height: 50px;
  }

  img.logo {
    width: 8%;
    margin: 10px auto;
  }
}

h1,
h2 {
  color: #333;
}

#imageTemplates {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

#imageTemplates img {
  width: 150px;
  height: 150px;
  cursor: pointer;
  border: 2px solid #ddd;
  border-radius: 5px;
}

#imageTemplates img:hover {
  border-color: #555;
}

/* common to all pages */

.template-selection-section {
  /* background-image: url('../img/bgs/texture-bg.jpeg');*/
  /*background-repeat: no-repeat;*/
  /*background-size: 100% 100%; */
  /* background-color: var(--bg-main-color); */
  background-color: #004364;
}

.highlight-border {
  border: 4px solid #00a6ca;
  padding: 30px 0px 60px;
}

.instruction-area p {
  color: white;
  font-size: 18px;
  letter-spacing: 0.8px;
  width: 35%;
  margin: 30px auto;
}

.title-divider {
  display: flex;
  align-items: center;
  text-align: center;
}

.title-divider::before,
.title-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #fff;
  width: 30px;
}

.title-divider::before {
  margin-right: 10px;
}

.title-divider::after {
  margin-left: 10px;
}

.instruction-area p.title-divider.download-section {
  width: 50% !important;
}

/* Section page 1 */

body {
  width: 100%;
  max-width: 100%;
}

section.template-selection-section {
  min-height: 100vh;
}

.template-selection-section--container {
  /* background-image: url('../img/ribbon.png'); */
  /* background-image: url('../img/ribbon-desktop.png'); */
  /*background-size: 100% 100%;*/
  /*background-repeat: no-repeat;*/
  padding: 40px 0px;
  width: 95%;
  vertical-align: middle;
  margin: 0 auto;
  position: relative;
  top: 0px;
}

.template-selection-section--image-carousel-container .item {
  display: inline;
}

.template-selection-section--image-carousel-container .item img {
  width: 15%; /* padding: 10px; */
}

.template-selection-section--image-carousel-container {
  text-align: center;
}

.greeting-message {
  margin-top: 40px;
}

.greeting-message p {
  /*color: var(--text-main-color);*/
  color: #fff;
  padding: 7px 0;
  margin: 0;
}

.template-selection-section--image-grid img {
  width: 250px;
}

.template-selection-section--header {
  text-align: center;
}

.template-selection-section--header img.logo {
  position: absolute;
  top: 60px;
  right: 60px;
  width: 300px;
}

.template-selection-section--header p.bordered-title {
  color: #f7dd91;
  font-size: 12px;
  margin: 15px 0 30px 0;
}

.template-selection-section--header .action-help-img img {
  width: 50px;
  vertical-align: middle;
  margin-top: 25px;
}

.select-item {
  width: 150px !important;
}

.item-centre p.bordered-title {
  width: 75%;
  margin: 0 auto;
  margin-top: 15px;
}

.template-selection-section--header p.bordered-title::before {
  content: "";
  display: inline-block;
  width: 50px;
  border: 1px solid #f7dd91;
  position: relative;
  top: -6px;
  left: -8px;
}

.template-selection-section--header p.bordered-title::after {
  content: "";
  display: inline-block;
  width: 50px;
  border: 1px solid #f7dd91;
  position: relative;
  top: -6px;
  right: -8px;
}

.template-selection-section--footer {
  text-align: center;
  margin-top: 30px;
}

.template-selection-section--footer a {
  /*color: #F7DD91;*/
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.8px;
}

.template-selection-section--footer a p {
  margin: 0;
}

.instruction-box-inline {
  text-align: center;
  display: inline-block;
  color: #f7d773;
  padding-right: 20px;
}

.instruction-box-inline:last-child {
  padding-right: 0;
}

/* Pafe 2 form */


.template-image .next img {
    transform: rotate(
270deg);
}

.template-image .previous img {
        transform: rotate(
90deg);
}

.page-2 .template-selection-section--header {
  margin-bottom: 30px;
}

div#userInfo div {
  text-align: left;
}

div#userInfo {
  margin: 0 auto;
  width: 40%;
}

div#userInfo div label {
  font-weight: 400;
  /*color: #F7DD91;*/
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.8px;
  line-height: 32px;
}

div#userInfo div input {
  background: transparent;
  outline: transparent;
  border: transparent;
  /*border-bottom: 1px solid #F7DD91;*/
  border-bottom: 1px solid #fff;
  width: 68%;
  color: white;
  margin-left: 12px;
  padding: 5px 5px;
  margin-bottom: 10px;
}

div#userInfo div {
  display: flex;
  flex-direction: column;
  vertical-align: middle;
  align-content: center;
  align-items: center;
}

.page-2 .template-selection-section--image-grid {
  text-align: center;
}

.page-2 a.template-selection-section--image-grid-selected {
  width: 300px;
  /* position: absolute; */
  left: 0;
  transform: translateX(100%);
}

.page-2 .template-selection-section--image-grid-bg {
  opacity: 0.5;
}

/* page 3 */

.template-selection-section--header img.logo {
  position: relative;
  top: unset;
  right: unset;
  display: block;
  margin: 0 auto;
}

.page-3 img.greeting-message-up-border {
  width: 24%;
}

.page-3 .template-selection-section--image-grid {
  margin: 32px auto;
  width: 50%;
  text-align: center;
}

.page .template-selection-section--container {
  padding: 60px 60px 95px 60px;
}

.template-selection-section--footer {
  text-align: center;
  /* margin-top: 220px; */
  display: flex;
  justify-content: center;
  gap: 50px;
}

span.e-greeting-image-title {
  vertical-align: top;
  /*color: #f7d781;*/
  color: #fff;
}

.text-white {
  color: white !important;
}

/* Mobile responsive */

@media screen and (max-width: 1080px) {
  /* .page-1 .highlight-border {*/
  /* height: 100vh !important;*/
  /*}*/

  .page-2 .highlight-border {
    height: 99vh !important;
  }

  .page-3 .highlight-border {
    height: 95vh;
  }

  .page-3 .logo-area {
    width: 100% !important;
    top: 70px !important;
    justify-content: center !important;
    margin: 0 auto 40px !important;
    height: 88px;
  }

  /* .page-3 img.cibil-logo {*/
  /* width: 45%;*/
  /*}*/

  .template-selection-section--container {
    background-image: url("../img/new-ribbon.png");
    padding: 0;
    width: 100%;
    /*min-height: 200vh;*/
    position: unset;
    top: unset;
  }

  .greeting-message p {
    font-size: 12px;
    font-weight: 300;
    width: 60%;
    margin: 0 auto;
    line-height: 1.5rem;
  }

  img.greeting-message-up-border {
    width: 74%;
  }

  img.greeting-message-down-border {
    width: 74%;
  }

  .template-selection-section--image-carousel-container .item img {
    width: 42%;
  }

  .template-selection-section--header p span {
    display: block;
  }

  .template-selection-section--header p.bordered-title span::before {
    content: "";
    display: inline-block;
    width: 50px;
    border: 1px solid #f7dd91;
    position: relative;
    top: -2px;
    left: -8px;
  }

  .template-selection-section--header p.bordered-title span::after {
    content: "";
    display: inline-block;
    width: 50px;
    border: 1px solid #f7dd91;
    position: relative;
    top: -3px;
    right: -8px;
  }

  .template-selection-section--header {
    position: relative;
    top: 80px;
  }

  .template-selection-section--header p.bordered-title::before {
    content: "";
    display: none;
  }

  .template-selection-section--header p.bordered-title::after {
    content: "";
    display: none;
  }

  .template-selection-section--image-carousel {
    position: relative;
    top: 20px;
    padding: 0 0px;
    /* left: -26px; */
  }

  .template-selection-section--header img.logo {
    position: relative;
    display: block;
    top: unset;
    right: unset;
    width: 300px;
    margin: 0 auto;
  }

  .instruction-box-inline:first-child {
    padding-right: 0;
  }

  .instruction-box-inline {
    padding-right: 5px;
  }

  .action-help-img {
    width: 75%;
    margin: 0 auto;
  }

  .instruction-area p {
    color: white;
    margin: 0;
    /*margin-bottom: -18px;*/
  }

  .instruction-area.page-1 p.title-divider {
    width: 49% !important;
  }

  .instruction-area p.title-divider {
    margin: 30px auto !important;
    width: 70% !important;
  }

  .instruction-area p.title-divider.download-section {
    width: 90% !important;
    font-size: 27px !important;
  }

  .title-divider::before {
    margin-right: 10px !important;
    margin-bottom: 1px !important;
    background: transparent !important;
  }

  .item * {
    display: flex;
    text-align: center;
    vertical-align: middle;
    align-content: center;
    justify-content: center;
  }

  .page-1 .action-help-img {
    text-align: left;
    margin-left: 70px;
    margin-top: 0;
  }

  .action-help-img img {
    margin-top: 0 !important;
  }

  .instruction-box-inline * {
    display: inline-block;
    text-align: left;
    padding: 10px;
    margin-top: 0;
  }

  .item.item-mob {
    display: flex;
    flex-direction: column;
  }

  .item.item-mob a {
    order: 2;
  }

  .item.item-mob span {
    order: 1;
  }

  .instruction-area p::before {
    content: "";
    width: 53%;
    margin: 0px auto 9px auto;
    height: 1.5px;
    background: #f8e192;
    display: block;
    border-radius: 56px;
  }

  /* Page 1 ends*/

  .page-2 .template-selection-section--image-grid {
    position: relative;
    top: 100px;
  }

  .page-2 .template-selection-section--footer {
    position: relative;
    top: 300px;
  }

  @media screen and (max-width: 768px) {
    .template-selection-section--footer {
      margin-top: 190px;
    }
  }

  .page-2 a.template-selection-section--image-grid-selected {
    width: 46%;
    position: absolute;
    left: 0;
    transform: translateX(59%);
  }

  .page-2 .template-selection-section--image-grid pitcure {
    text-align: center;
    width: 50px;
  }

  a.template-selection-section--image-grid-selected img {
    width: 70%;
  }

  div#userInfo {
    margin: 0 auto;
    width: 65%;
  }

  .template-selection-section--footer {
    position: relative;
    top: 99px;
  }

  .page-3 .template-selection-section--image-grid {
    width: 100%;
    position: relative;
    margin: 0 auto;
    top: 111px;
  }

  .page-3 img.greeting-message-up-border {
    width: 59%;
  }

  .template-selection-section--image-carousel-container {
    text-align: center;
  }
}

@media screen and (max-width: 378px) {
  .template-selection-section--container {
    /* background-image: url('../img/new-ribbon.png'); */
    padding: 0;
    width: 100%;
    /*min-height: 200vh;*/
    position: unset;
    top: unset;
  }
}

#error-message {
  margin-top: 15px;
  color: white;
  display: none;
}

a.next {
  pointer-events: none;
}

/*Christmas*/
.item.d-block {
  display: block;
  margin-top: 20px;
}
.greeting-message.mt-4 {
  margin-top: 20px !important;
}

.template-dropdown {
  font-family: "Gotham";
  padding: 8px 10px;
  margin-top: 10px;
  width: 220px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #004364;
  color: #fff;
  font-size: 16px;
}

.template-group {
  margin-top: 20px;
}

.select-item {
  width: 200px;
  margin: 10px;
  cursor: pointer;
}

.d-none {
  display: none !important;
}

.template-x-mas {
  margin-top: 40px !important;
}

/*next btn on landing page*/
.template-x-mas * {
  pointer-events: auto;
}

.template-x-mas::before,
.template-x-mas::after {
  pointer-events: none;
}

.template-x-mas .next {
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.8px;
}

.template-x-mas img {
  width: 80px;
}

.template-image img {
  width: 80px;
}

.template-image .next {
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.8px;
}

.template-image .download {
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.8px;
}

@media (max-width: 767px) {
  .logo-area {
    width: 100% !important;
    top: 70px !important;
    justify-content: center !important;
    margin: 0 auto 40px !important;
    height: 88px;
  }

  /* img.cibil-logo {*/
  /* width: 70%;*/
  /*}*/

  .highlight-border {
    padding: 0px 0px 0px !important;
    height: 135vh !important;
  }

  .template-x-mas {
    margin-top: 0px !important;
  }

  .instruction-area p {
    width: 49% !important;
    line-height: 28px !important;
    margin: 20px auto !important;
    text-align: center !important;
  }

  .title-divider {
    display: block !important;
  }

  .title-divider::before,
  .title-divider::after {
    display: none !important;
  }

  p.title-divider.form-section {
    display: flex !important;
    width: 85% !important;
  }

  p.title-divider.form-section::before,
  p.title-divider.form-section::after {
    display: block !important;
    margin-bottom: 0px !important;
  }

  .instruction-area p.download-section {
    width: 85% !important;
  }

  p.title-divider.download-section {
    display: flex !important;
    width: 84% !important;
  }
  p.title-divider.download-section::before,
  p.title-divider.download-section::after {
    display: block !important;
    margin-bottom: 0px !important;
  }
}
