
/*----form css----*/
.widthsmall{
    display: block;
    width: 767px;
    max-width: 100%;
    margin:0 auto;
}
.regfrombg{
    display: block;
    position: relative;
    background: none;
    padding: 1rem;
    border-radius: 8px;
}
.regfrombg .widthsmall{
    margin-bottom: 3rem;
}
.regfrombg h4{
    font-weight: 700 !important;
    letter-spacing: -0.1rem;
}
.innerform{
    display: block;
    width: 991px;
    max-width: 100%;
    border-radius: 10px;
    background: #fff;
    padding: 4rem 3rem;
    position: relative;
    margin:0 auto;
    border:1px solid #ddd;
}
.regfrombg::after,
.innerform::after{
    content: '';
    display: block;
    clear: both;
}
.detailbg {
    width: 100%;
    margin: 0;
    padding: 30px;
    border: 1px solid #E9ECEF;
    margin: 50px 0;
}
.detailbg h2 {
    font-size: 20px;
    text-align: left;
    color: #f17f01;
    line-height: 40px;
    font-weight: 500;
    margin-top: -50px;
    background: #fff;
    display: inline-block;
    position: absolute;
    padding: 0 10px;
}
.regfrombg label{
    position: relative;
    bottom: -12px;
    color: #000;
    font-size: 16px;
    line-height: 1em;
    font-weight: 400;
    margin-left: 10px;
    padding-right: 12px;
    padding-left: 10px;
    background-color: #fff;
    z-index: 3;
}
.regfrombg label::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #f9f9f6;
    left: 0;
    top: 0;
}
.regfrombg label span{
    color: #ee2618;
}
.input-outer {
    position: relative;
    margin-bottom: 1rem;
}
.regfrombg input[type='text']{
    position: relative;
    display: block;
    width: 100%;
    height: 56px;
    line-height: 32px;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 15px;
    margin-bottom: 0;
    border-radius: 5px;
    color: rgba(0,0,0,0.9);
    border: 1px solid #ddd;
    background-color: #fff;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
    margin-bottom: 0.0rem;
}
.regfrombg select{
    position: relative;
    display: block;
    width: 100%;
    height: 56px;
    line-height: 32px;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 30px;
    margin-bottom: 0;
    border-radius: 5px;
    color: rgba(0,0,0,0.9);
    border: 1px solid #ddd;
    background-color: #fff;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
    margin-bottom: 0.5rem;
}
.regfrombg textarea{
    position: relative;
    display: block;
    width: 100%;
    line-height: 24px;
    font-size: 16px;
    font-weight: 400;
    padding: 15px 30px;
    margin-bottom: 0;
    border-radius: 5px;
    color: rgba(0,0,0,0.9);
    border: 1px solid #ddd;
    background-color: #fff;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}
.regfrombg input[type='submit']{
    display: inline-block;
    color: #fff;
    background: #b60101;
    padding: 17px 0px;
    width: 100%;
    border-radius: 45px;
    display: inline-block;
    font-size: 18px;
    text-shadow: none;
    border:none;
    margin: 1rem 0;
    text-align: center;
    font-family: "Roboto Condensed", Arial, Helvetica,sans-serif;
}

.inputfile {
  position: relative;
  padding: 12px 15px 7px 15px;
  cursor: pointer;
  height: 60px;
  
  background: #fff;
  border-radius:8px;
  border: 1px solid #ddd;
}

.regfrombg input[type="file"] {
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
  top: 0;
  left: 0;
  background: #f3f3f3;
}

.inputfile p {
  margin: 0;
  color: #414141;
  font-size: 0.65rem;
  position: relative;
}

.inputfile p span {
  display: inline-block;
  background: #343536;
  padding: 6px 10px;
  color: #fff;
  font-size: 12px;
  border-radius: 5px;
}
.regfrombg .btn {
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    border: 1px solid #f17f01;
    border-radius: 4px;
    background: #f17f01;
    padding: 12px 40px;
    display: inline-block;
}
.datebg {
    position: relative;
    display: block;
    z-index: 2;
}
.datebg::after {
    content: '';
    position: absolute;
    top: 11px;
    right: 14px;
    font-size: 1.5rem;
    line-height: 1.5;
    font-family: 'boxicons';
    color: #4F84D1;
    width: 30px;
    height: 30px;
    background: url(../images/calendar.png);
}

.error{
    font-size: 1rem !important;
    color: red !important;
}




@media (max-width: 767px){

.innerform{ padding:20px 20px; }
.detailbg{ padding: 30px 10px; }
.contact_sect p {
    line-height: 15px !important;
}

.main-header-title.aos-init.aos-animate{ font-size: 26px; }

}