input,textarea{border: 0; border-bottom: 1px solid #37474f; width: 100%; font-size: 16px; color: #000000; padding: 14px 0 14px 12px !important;outline: 0;}
body {
  font-family: initial !important;
}
select:focus, input:focus,textarea:focus{border: none;border-bottom: 1px solid #37474f;box-shadow:none;outline: 0;}
input:required {box-shadow:none;}
input:invalid {box-shadow:none;}
input[type=checkbox] + label {
  display: block;
  cursor: pointer;
  margin-top: 10px;
}
.empty_div {border-bottom: 1px solid #37474f;padding: 0 0 6px 12px !important;}
/*input::placeholder, textarea::placeholder {color:#000000 !important;}
.custom-placeholder{color:#000000 !important;}*/
.custom-select { color: gray; /* First option color on load */ }
.was-validated .form-select:valid:not([multiple]):not([size])
{
    background-image:none !important;
}

.was-validated .form-select:invalid:not([multiple]):not([size])
{
    background-image:none !important;
    border-bottom: 3px solid #dc3545;
}

.was-validated .form-text-input:invalid:not([multiple]):not([size])
{
  border-bottom: 3px solid #dc3545;
}
hr{height: 1px; background-color: #37474f; border: none;}
*:focus {outline: 0;}
.E7-form-cover{max-width: 575px;border-radius: 4px;overflow: hidden; background-color: #ffffff;margin: 0 auto;}
.heading{ font-size: 24px; padding:16px 25px;}
.form-group-tag{width: 100%;display: table;}
.select-box{width: 100%;display: table; height:30px;border-radius:5px;background-color: #ffffff;}
.form-left{display: table-cell;padding: 15px 15px 15px 15px;  vertical-align: top;width: 30px;}
.form-right{display: table-cell; vertical-align: middle;padding: 0px 30px 15px 0px;}
.form-right-checkbox{display: table-cell; vertical-align: middle;padding: 20px 30px 15px 0px; font-size:14px !important;}
.form-element-name{vertical-align: middle;padding: 30px 30px 0px 0px;}
.separator{border-top: 1px solid #ececec; width: 100%; display: block; margin-top: 35px;}
.btnNext{border-radius: 4px; font-size: 16px; float: right; width: 85px; height: 36px; text-align: center;border: none;}
.form-info-cover{display: table;width: 100%;padding: 25px 0;}
.info-label{color: #787878; padding-bottom: 5px;}
.notes{line-height: 24px;}
.help-block {
  color: #a94442;
  margin-top:5px;
  float: left;
  width: 100%;
}
.input-checkbox
{
  padding:8px 15px 15px 30px !important;
}
input[type=checkbox]
{
  width:20px !important;
  height:20px !important;
}
.checkbox-label
{
  padding:0px 30px 15px 0px !important; 
  font-size: 14px !important;
}
.checkbox-error
{
  padding:0px 15px 0px 0px !important;
  margin-top:-25px;
}
.messge-text-area{
  resize: none;
}	
.relation{
  padding-top:25px;
}
.p-10{
  padding-top:30px;
}
.btn-custom img{
  width:20px;
  height:20px;
}
.relation {
  padding-top:25px;
}
.select-box:focus{
  box-shadow:none !important;
  border:1px solid #000 !important;
}
.select-box{
  border: 1px solid #000;
  padding:5px;
  border-radius:3px;
  height:35px;
  color:rgba(0,0,0,0.3)!important;
}

.select-box:hover{
  box-shadow:none !important;
  border-color: 1px solid #000!important;
}

.date {
    padding-right: 30px; /* Increase this value to give more space for the icon */
    background-image: url('images/icons/calender_service.png');
    background-repeat: no-repeat;
    background-position: right 10px center; /* Adjust the icon position for better spacing */
    background-size: 20px 20px;
}

.form-select {
    border: none;
    border-bottom: 1px solid #37474f;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    height:52.9px;
     /*height:53px;
    height:63px!important;*/
    /*background-image: none;*/
    position: relative;
    padding:12px;
    line-height: 32px !important;
}

.form-select:focus {
    border-bottom: 2px solid #007bff;
    box-shadow: none;
}
.no-padding {
    padding: 0 !important;
}
/*#relation{
border-color:black;
font-size:14px;
color:#000000;
}*/


#internal_memo {
    height: 100px; /* Adjust the height of the textarea */
    text-align: left;  /* Aligns text inside the textarea to the left */
    resize: none; /* Optional: Disables resizing of the textarea */
   
}

/* Css for showing and hiding * country dropdown fields  in contact section red color in funeral entry form*/

.dropdown_style{
  position: relative; 
  display: inline-block;
}
.dropdown{
  color: red; 
  position: absolute; 
  top: 12px; 

}

/* END */

/* Add style for clock icon */
.fa-clock
{
  margin-right:10px !important;
  opacity:0.6 !important;
}



#content_pre_overlay {position: fixed;z-index: 99999;top:0;left: 0;bottom: 0;right: 0;background: #000000;opacity: 0.5;transition: 1s 0.4s;display: none!important;}
#content_pre_progstat_outer {position: absolute;width: 100%;top: 50%;}
#content_pre_progstat{margin: 0px auto;width: 121px;height: 100px;background: url("http://online-alpha.eulogica.com/admin/images/form_images/loader_front.gif") no-repeat;background-position: center;background-size: contain!important;}

.custom-input {
    position: relative;
}

.custom-placeholder {
    position: absolute;
    pointer-events: none;
    color: #6c757d;
    padding: 10px 10px;
    transition: all 0.2s ease;
    opacity: 1;
    left:0;
}

.custom-placeholder span {
    color: red;
}

.custom-input input:focus + .custom-placeholder,
.custom-input input:not(:placeholder-shown) + .custom-placeholder {
    opacity: 0;
    visibility: hidden;
}


.input-line {
    border: none;
    border-bottom: 1px solid #000; /* Underline effect */
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 16px;
    height: -10px; /* Ensures proper alignment with other fields */
    padding-right: 25px; /* Prevents overlap with the icon */
}

.input-container {
    position: relative;
    align-items: center; /* Aligns input and icon */
    height: 45px; /* Matches input height */
}

.input-container .fa-clock {
    position: absolute;
    /*right: 5px;*/
    right: 2px;
    bottom: 8px; /* Aligns with the underline */
    color: #555;
    pointer-events: none;
    font-size: 16px;
}

/* Initially set the color to gray */
.dateField {
    color: gray;
}

/* Remove placeholder color in some browsers (optional) */
.dateField::placeholder {
    color: gray;
}

.dropdown_style {
    position: relative;
    display: inline-block;
}

.country_asterisk {
    position: absolute;
    right: 10px; /* Adjust spacing */
    top: 50%;
    transform: translateY(-50%);
    color: red;
    display: none; /* Hidden by default */
    pointer-events: none;
}

.email_btn {
    width: 95% !important; 
    outline: none !important;
    box-shadow: none !important; 
    padding-left: 2px; 
    padding-right: 2px;
    min-width: 120px;
}

@media only screen and (max-width: 1020px){
    .empty_div {padding: 0 0 6.2px 12px !important;}
}

@media only screen and (max-width: 576px){
    body,select,input,textarea{font-size: 14px;}
    .empty_div {padding: 0 0 6px 12px !important;}
}

@media only screen and (max-width: 480px){
   /* .modal-content{max-width:356px;}*/
    .modal-content{max-width:100%;}
}

@media only screen and (max-width: 420px){
    /*.modal-content{max-width:356px;}*/
    .modal-content{max-width:100%;}
}
