/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 20 Jan, 2016, 11:22:55 AM
    Author     : ongraph

    color:#268da5;
*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,800,700italic,800italic);

:root {
    --primary-color: #080808;
    --accent-color: #ddd;
    --surveyFlowBG-color: #ddd;
}

h1 {
    font-weight: 900;
}
h4, h5 {
    font-size: 24px;
    font-weight: 300;
}
.block-center{
    margin:0 auto;
    float:none;
}
.next_btn {
    background: var(--primary-color);
    border: medium none;
    border-radius: 6px;
    box-shadow: none;
    color: #fff;
    font-size: 18px;
    padding: 8px 25px;
    margin-bottom: 11%;
}
.next_btn:hover{
    background: var(--accent-color);
    color: var(--primary-color);
}
/*.next_btn:hover {
	background: #fcba37;
}*/
.option-block{
    margin-bottom:5px;
}
.input-box-center{
    margin:0 auto;
    display:table;
}

.width-400{
    width: 400px !important;
}

.dob-input{
    width: 215px !important;
}

.ageQues{
    width: 24% !important;
    margin-left: 0px;
}
form{
/*    border: 1px solid #ddd;*/
    border-radius: 3px;
/*    box-shadow: 0 0 7px 1px #555;*/
    margin-bottom: 1rem;
    padding: 20px;
}
/**** NA ****/
body{
	 background: #ffffff;
	 font-family: 'Open Sans', sans-serif;
}
.main_survey_page{
 /* background: #9484cf; 
background: -moz-linear-gradient(top, #9484cf 2%, #7661c0 99%); 
background: -webkit-linear-gradient(top, #9484cf 2%,#7661c0 99%); 
background: linear-gradient(to bottom, #9484cf 2%,#7661c0 99%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9484cf', endColorstr='#7661c0',GradientType=0 ); */
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#006b63+1,037c4a+100 */
background: var(--surveyFlowBG-color); 
/*background: -moz-linear-gradient(top, #006b63 1%, #037c4a 100%); 
background: -webkit-linear-gradient(top, #006b63 1%,#037c4a 100%);
background: linear-gradient(to bottom, #006b63 1%,#037c4a 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#006b63', endColorstr='#037c4a',GradientType=0 ); */

    height: 100vh;
    overflow-y: auto;
    padding-bottom: 50px;
}
.option-block > .opt_color:hover {
    border: 1px solid var(--primary-color);
}
.option-block > .opt_color{
    padding: 9px 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 0 4px #ddd;
    cursor: pointer;
}
.option-block > .opt_color.active{
    background: var(--primary-color);
    color: #fff;

}
.opt_color [type="radio"]:checked,
.opt_color [type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
.opt_color [type="radio"]:checked + label,
.opt_color [type="radio"]:not(:checked) + label
{
   position: relative;
    padding-left: 30px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    width: 100%;
    margin-bottom: 0;
}
.opt_color.active [type="radio"]:checked + label,
.opt_color.active [type="radio"]:not(:checked) + label
{
   color: #fff;
}
.opt_color [type="radio"]:checked + label:before,
.opt_color [type="radio"]:not(:checked) + label:before {
   content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 100%;
    background: #ddd;
}
.small_numbr{
    margin-right: 10px;
}
.next_row {
    width: 100%;
    text-align: right;
    padding: 10px 30px;
    height: 90px;
}
.opt_color [type="radio"]:checked + label:after,
.opt_color [type="radio"]:not(:checked) + label:after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    position: absolute;
    top: 5px;
    left: 5px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.opt_color [type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
.opt_color [type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
/*.option-block:nth-child(2n+1) {
    margin-right: 25px;
}*/
.bg_colr{
    background: var(--surveyFlowBG-color);
    height: 100vh;
}
.wrap.infrmtion{
position: absolute;
    background: #fff;
    top: 30%;
    border-radius: 8px;
    left: 50%;
    transform: translate(-50%,-50%);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.grid_col {
    position: absolute;
    background: #fff;
    top: 23% !important;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 50%;
    text-align: center;
    padding: 30px;
    box-shadow: 0 0 9px #ccc;
    border-radius: 4px;
    height: 29rem;

}
.messge_col h1 {
    font-size: 32px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--primary-color);
    margin-top: 65px;
}
.messge_col h4{
    font-size: 20px;
    color: #000;
}
.wrap.infrmtion form p{
  font-size: 18px;
    margin-bottom: 12px;
    line-height: 24px;
    font-family: Arial, Helvetica, sans-serif;
}
.wrap.infrmtion .last_page_form {
    text-align: center;
    box-shadow: 0 0 11px #ccc;
    margin-top: 3px;
}
.text_final{
    font-size: medium;
    font-weight: 700
}
h5.questions {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    padding: 21px 20px;
    position: relative;
}
.wrap_contnt {
    padding: 20px 8px;
}
.qustn_nmber {
    font-weight: 600;
    font-size: 20px;
    margin-right: 15px;
    position: absolute;
    top: 19px;
    left: 21px;
}
span.main_crd_heding.ng-binding {
    padding-left: 5px;
}
.blue_bg{
	background:#ffffff;
	color: var(--primary-color);
	padding: 5px 0 0;
}

.blue_bg h4{
	color: var(--primary-color);
}
.row{
	margin:0px;
}
.not_active{
    /*opacity:0.4;*/
    cursor:default;
    background:darkgray
}
.textbox-block {
    padding: 0 0 0 23px;
}
.textbox-block:nth-child(2n+1) {
    margin-right: 25px;
}
.textbox-block input{
    width:100%;
    height: 40px;
    border: 1px solid #ddd;
    padding: 0 10px;
    outline: none;
    border-radius: 3px;
}
.text-color{
    color: red;
}
.survey_radioBtn{
    word-wrap: break-word;
}
.err-msg{
    color: red;
}
.h1_color{
    color: black;
}
.h1_color h1 {
    font-weight: 600;
    margin: 36px 0 32px 0;
    color: black;
}

.middle_cart {
    background-color: #fff;
    padding: 0;
    border-radius: 8px;
    margin-top: 67px;
}
.opt_color{
    /* color: var(--primary-color); */
}
.qualified_img{
    width: 55%;
    height: auto;
    margin-top: 1%;
    margin-left: 1.5%;
    text-align:start;
}
.InstNameDiv{
    padding: 5px 20px;
    margin-right: 250px;
}
.InstName{
    font-size: 26px;
    font-weight: 900;
    text-decoration: underline;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-left: 27rem;
}
.info_img {
    width: 10%;
    height: 24%;
}
.multi_opt{
    cursor: pointer;
    color:black;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 0;
}

.cstm_chkbox [type="checkbox"]:not(:checked),
.cstm_chkbox [type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}
.cstm_chkbox [type="checkbox"]:not(:checked) + label,
.cstm_chkbox [type="checkbox"]:checked + label {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
}

/* checkbox aspect */
.cstm_chkbox [type="checkbox"]:not(:checked) + label:before,
.cstm_chkbox [type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 1.25em; height: 1.25em;
  border: 2px solid #ccc;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
}
/* checked mark aspect */
.cstm_chkbox [type="checkbox"]:not(:checked) + label:after,
.cstm_chkbox [type="checkbox"]:checked + label:after {
  content: '\2713\0020';
  position: absolute;
  top: .15em; left: .22em;
  font-size: 1.3em;
  line-height: 0.8;
  color: var(--primary-color);
  transition: all .2s;
  font-family: 'Lucida Sans Unicode', 'Arial Unicode MS', Arial;
}
/* checked mark aspect changes */
.cstm_chkbox [type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}
.cstm_chkbox [type="checkbox"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}

.email-inp{
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.email-wd{
    width: 100%;
}
.date-err{
    margin-top: 1em;
    font-size: 11px;
    color: red;
}

/***============media query=============****/


@media screen and (min-width: 310px) and (max-width: 767px){
  
  .main_survey_page {
    height: auto;
  }
  .h1_color h1 {
    margin: 30px 0 19px 0;
    font-size: 27px;
  }
  .middle_cart {
    margin-bottom: 20px;
   }
   h5.questions {
    padding: 14px 20px;
    float: left;
    width: 100%!important;
  }
  .qustn_nmber {
    font-size: 17px;
    top: 15px;
    left: 21px;
  }
  span.main_crd_heding.ng-binding {
    padding-left: 0px;
    width: 100%;
    font-size: 16px;
    line-height: 21px;
    float: right;
  }
  .next_btn{
    display: block;
  }
  .ageQues {
    width: 60%!important;
  }
  .next_row{
    padding-left: 15px!important;
  }
  .option-block{
      padding-left: 10px!important;
  }
  .text_final{
    width: 280px!important;
  }
}

/* Container responsiveness */
.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
  }
  
  /* Wrap should not overflow horizontally */
  .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  
  /* Instruction section */
  .InstNameDiv {
    width: 100%;
    text-align: center;
    padding: 1rem 0.5rem;
    margin: 0 auto;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    box-sizing: border-box;
    max-width: 900px;
  }
  
  /* Instruction heading styling */
  .InstName {
    font-size: 2.25rem; /* Increased from 1.5rem */
    line-height: 2.2;   /* Increased from 1.8 */
    margin: 0 auto 1.5rem auto; /* Increased bottom margin */
    font-weight: 700;   /* Slightly bolder */
    text-align: center;
    display: block;
    word-break: break-word;
    padding: 0 1.5rem;  /* Increased side padding */
    box-sizing: border-box;
    letter-spacing: 0.75px; /* Slightly more letter spacing */
  }
  
  /* Paragraph text */
  .text_final p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 1rem;
  }
  
  /* Button alignment */
  .row[style*="float: right;"] {
    float: none !important;
    text-align: center;
    margin-top: 1rem;
    width: 100%;
  }
  
  /* Button responsiveness */
  .next_btn {
    display: inline-block;
    padding: 0.8rem 1rem;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  /* --- Responsive Breakpoints --- */
  @media (max-width: 992px) {
    .container {
      padding: 0.75rem;
    }
  }
  
  @media (max-width: 768px) {
    .InstName {
      font-size: 1.6rem;  /* Reduced for better fit on smaller devices */
      line-height: 1.3;
      padding: 0 0.75rem;
      margin: 0.2rem auto 0.5rem auto;
      word-break: break-word;
      -webkit-text-size-adjust: 100%;
      font-weight: 600;   /* Slightly bolder for better visibility */
    }
    
    .InstNameDiv {
      padding: 0.25rem 0.5rem 0.25rem;
      margin: 0 auto 0.5rem;
      display: block;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }
  
    .text_final p {
      font-size: 0.95rem;
      line-height: 1.5;
      padding: 0 0.5rem;
    }
  
    .next_btn {
      max-width: 280px;
      padding: 0.8rem;
      float: right;
      margin-bottom: 0rem;
    }
  
    .wrap.infrmtion {
      position: relative;
      top: auto;
      left: auto;
      transform: none;
      width: 85%;
      margin: 30px auto;
      padding: 15px;
    }
  }
  
  /* iPhone SE (375px width) specific adjustments */
  @media only screen 
    and (device-width: 375px) 
    and (device-height: 667px) 
    and (-webkit-device-pixel-ratio: 2) {
    
    .wrap.infrmtion {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      transform: none !important;
      width: 90% !important;
      margin: 15px auto !important;
      padding: 15px !important;
    }
    
    .InstNameDiv {
      padding: 0.5rem 0.75rem 0.25rem;
      margin: 0 auto 0.5rem;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
    }
    
    .InstName {
      font-size: 1.6rem !important;
      line-height: 1.4 !important;
      margin: 0 auto 0.75rem auto !important;
      padding: 0 1rem !important;
      -webkit-text-size-adjust: 100% !important;
      font-weight: 600 !important;
      text-align: center !important;
      display: block !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
    
    .text_final {
      width: 100% !important;
      padding: 0 0.5rem !important;
    }
    
    .bg_colr {
      min-height: 100vh;
      height: auto;
    }
    
    .wrap.infrmtion form {
      padding: 10px !important;
      margin: 0 !important;
    }
    
    form .row {
      margin: 0 !important;
    }
  }
  
  /* iPhone XR specific adjustments */
  @media (min-width: 376px) and (max-width: 414px) and (max-height: 900px) {
    .wrap.infrmtion {
      position: relative;
      top: auto;
      left: auto;
      transform: none;
      width: 90%;
      margin: 10px auto;
      padding: 15px;
    }

    .InstName {
      font-size: 1.5rem;
      line-height: 1.35;
      margin: 1.15rem auto 0.5rem auto;
      padding: 0 0.75rem;
      -webkit-text-size-adjust: 100%;
      font-weight: 600;
    }
    
    .InstNameDiv {
      padding: 0.25rem 0.5rem;
      margin: 0 auto 0.25rem;
    }
    
    .text_final p {
      font-size: 0.95rem;
      line-height: 1.4;
      margin: 0.4rem 0.5rem;
      padding: 0;
    }
    
    .container {
      padding: 0.5rem !important;
    }
  
    .next_btn {
      font-size: 1.95rem;
      padding: 0.75rem;
      float:right;
      margin-bottom: 0rem;
    }
  }
  
  /* RTL text handling */
  [dir="rtl"] {
    text-align: right;
  }
  
  @media (max-width: 768px) {
    [dir="rtl"] .InstName,
    [dir="rtl"] .text_final p {
      text-align: right;
      direction: rtl;
      word-break: break-word;
    }
  }

.max_height{
    max-height: 3rem;
    text-align: right;
}

@media (max-width: 1024px){
  .wrap.infrmtion {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 90%;
    margin: 10px auto;
    padding: 15px;
  }
}
  
  