.sectionhead h1 {
    color: #c5000e;
    font-size: 25px;
    margin-top: 0;
}
.sectionhead h3 {
    color: #000;
    font-size: 20px;
    margin-bottom: 0;
    margin-top: 0;
}
.serachform {
    margin-top: 100px;
}
.serachform.event {
    margin-top: 0px;
}
.serachform p {
    font-size: 18px;
    font-weight: 700;
}
.serachform ul.pagin {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    grid-column-gap: 10px;
}
.serachform ul.pagin li {
    border: 1px solid #ccc;
    font-size: 14px;
    width: 40px;
    text-align: center;
    height: 26px;
    line-height: 25px!important;
    margin: 5px 0;
    cursor: pointer;
}
.serachform ul.pagin li.active {
    background: #c5000e;
    color: #fff;
    border-color: #c5000e;
}
.sform {
    margin: 30px 0 60px;
}
.sform {
    display: flex;
    flex-wrap: wrap;
}
.sform label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    width: 100%;
}
div#event-sform {
    margin: 30px 0 20px;
}
.sform .formfield {
    width: 50%;
}

input#cmpname:disabled {
    background-color: #eee;
}
.sform .formfield.selectff {
    width: 98.6%;
    display: flex;
    flex-wrap: wrap;
	margin-top: 20px;
}
.sform .formfield.selectff select {
    width: 100%;
    border: 1px solid #202020;
    padding: 0px 10px;
    font-size: 15px;
    height: 40px;
}
.sform .formfield input {
    width: 100%;
    border: 1px solid #202020;
    padding: 10px;
    font-size: 15px;
    height: 40px;
    margin-bottom: 0;
    border-radius: 0;
    margin-top: 0;
}
.sform .formfield.selectff .formbs:last-child {
    padding-left: 7.5px;
    padding-right: 0;
}
.sform .formfield.selectff .formbs {
    width: calc(50% - 7.5px);
    padding-right: 7.5px;
}
.formb {
    padding-right: 15px;
}
.result-box {
    border: 1px solid #ccc;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
    margin-bottom: 20px;
}
@media (max-width: 500px){
  .result-box {
    padding: 10px 5px;
  }
}
/* .result-box:last-child {
    margin-bottom: 0px;
} */
.result-box .rprofile {
    width: 85px;
    border-radius: 50px;
    overflow: hidden;
    height: 85px;
    border: 1px solid #111;
}
.result-box .rprofile img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.result-box .rbtn button {
    background: #c5000d;
    color: #fff;
    padding: 8px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
	border: 1px solid #ef1d27;
    float: right;
	font-weight: 700;
}
.result-box .rbtn.lindin button{
  background-color: #0077b5;
  border: 1px solid #0077b5;
}
.btnarea button,.btndiv button {
    font-weight: 700;
    background-color: transparent;
    padding: 7px 20px;
    font-size: 17px;

}
.btnarea-event button {
    font-weight: 700;
    background-color: transparent;
    padding: 7px 20px;
    font-size: 17px;

}
div#filter_options {
    margin-top: 20px;
	display:none;
}
div#sort-options {
    margin-bottom: 15px;
}
button.sort_form {
    background: transparent;
    border: none;
    font-size: 15px;
    text-decoration: underline;
	text-align: left;
    padding: 0;
    margin-right: 20px;
}
button#reset_event {
    background: transparent;
    border: none;
    text-decoration: underline;
    font-size: 18px;
    font-weight: 600;
	float: right;
    letter-spacing: .5px;
}
.result-box .rbtn {
    width: 120px;
}
.result-box .rbtn button svg {
    height: 14px;
    width: 16px;
    margin-right: 10px;
}
.result-box .rbtn.lindin button svg {
    height: 18px;
}
.result-box .rtext {
    width: calc(100% - 287px);
    padding: 0 20px;
}
.result-box .rtext p {
    margin: 0 0 4px;
    font-weight: normal;
    font-size: 15px;
}

@media (max-width: 500px){
  .result-box .rtext{
    width: 100%;
  }
}

.popbox {

 /*  visibility: hidden;
  opacity: 0;
  z-index: 0; */
  display:none;
}
 .popshow {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  display:block;
  transition: opacity 500ms;
  /* visibility: visible!important;
  opacity: 1!important;
   z-index: 99!important; */
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 0;
    width: 100%;
    position: relative;
    transition: all 5s ease-in-out;
    max-width: 900px;
    border: 3px solid #000;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .closes {
    position: absolute;
    top: 0px;
    right: 0px;
    transition: all 200ms;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    background: rgb(255 255 255 / 71%);
    line-height: 20px;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    text-align: center;
	cursor: pointer;
}
.popup .close:hover {
    color: #c5000d;
}
.popup .content {
    /* max-height: 30%; */
    overflow: auto;
    padding: 20px 0;
}
.pophead {
    display: flex;
    justify-content: space-between;
    column-gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #e3e3e3;
}
.pophead h2 {
    margin: 0;
    font-size: 18px;
    color: #000;
    font-weight: 700;
}
.pophead .popprofile {
    display: flex;
    align-items: center;
    grid-column-gap: 10px;
}
.pophead .popprofile .rprofile {
    width: 45px;
    height: 45px;
    overflow: hidden;
    border-radius: 50px;
    border: 1px solid #111;
}
.pophead .popprofile .rprofile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.popup .content form {
    margin: 0;
}
.popup .content textarea {
    width: 96%;
    border: 1px solid #e3e3e3;
    padding: 15px;
    font-size: 16px;
    color: #000;
    border-radius: 6px;
    height: 300px;
}
.popsent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 0 0;
}
body .popsent button {
    background-color: #c5000d;
    color: #fff;
    border: 1px solid #333;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    width: 23%;
}
p.clientname {
    margin: 0;
}
.popsent p {
    color: #c5000d;
    font-weight: bold;
    font-size: 18px;
    width: 67%;
    margin: 0;
}

.result-box .rbtn button:hover {
    color: #fff !important;
}

.popup.popsuccess {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

span.pop-success {
    border: 1px solid #407040;
    width: 100%;
    padding: 25px;
    background: #FCFFF5;
    color: #407040;
    font-weight: 600;

    max-width: 90%;
}
span.pop-nosuccess {
    border: 1px solid red;
    width: 100%;
    padding: 25px;
    background: #fff;
    color: red;
    font-weight: 600;

    max-width: 90%;
}


span.nametext {
    text-align: center;
    width: 100%;
    /* padding: 29px; */
    display: inline-block;
    margin: 0 auto;
    height: 100%;
    background: #f2f2f2;
    font-size: 28px;
    font-weight: 700;
    line-height: 80px;
    letter-spacing: 2px;
	text-transform: uppercase;
}
span.popnametext {
    text-align: center;
    width: 100%;
    /* padding: 29px; */
    display: inline-block;
    margin: 0 auto;
    height: 100%;
    background: #f2f2f2;
    font-size: 18px;
    font-weight: 700;
    line-height: 43px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

  .modal-loader {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url(../images/loader.gif) 50% 50% no-repeat;
}

#ldbtn span.btndiv {
    text-align: center;
    margin-top: 14px;
    display: block;
}

#ldbtn span.btndiv button#loadmore {
    float: none;
    color: #c5000d;
    border: 1px solid #c5000d;
}

#ldbtn span.btndiv button#loadmore:hover {
    float: none;
    color: #fff;
	background-color: #c5000d;
    border: 1px solid #c5000d;
}

#ldbtn span.btndiv button#loadmore {
    float: none;
    color: #c5000d;
    border: 1px solid #c5000d;
}

#ldbtn span.btndiv button#loadmore:hover {
    float: none;
    color: #fff;
	background-color: #c5000d;
    border: 1px solid #c5000d;
}

#ldbtn span.btndiv button#eventloadmore {
    float: none;
    color: #c5000d;
    border: 1px solid #c5000d;
}

#ldbtn span.btndiv button#eventloadmore:hover {
    float: none;
    color: #fff;
	background-color: #c5000d;
    border: 1px solid #c5000d;
}

#ldbtn span.btndiv button#eventpageload {
    float: none;
    color: #c5000d;
    border: 1px solid #c5000d;
}

#ldbtn span.btndiv button#eventpageload:hover {
    float: none;
    color: #fff;
	background-color: #c5000d;
    border: 1px solid #c5000d;
}

.lettercompo {
    margin-top: 30px;
}
.btnarea {
    width: 100%;
    text-align: center;
    display: inline-block;
    /* margin: 0 auto; */
    margin: 60px 0 0px;
}
.btnarea-event{
	width: 100%;
}
button.btn_form {
    float: none;
    margin: auto 10px;
    color: #e00211;
    border: 1px solid #e00211;
	font-size:18px;
}
button.event_btn_form {
    float: none;
    color: #e00211;
    border: 1px solid #e00211;
	font-size:18px;
	margin-right: 15px;
	text-align: left;
    padding: 7px 30px;
}
button.event_btn_form:hover {
    color: #fff;
	background-color:#e00211;
    border: 1px solid #e00211;
}
button.event_btn_form.active {
    color: #fff;
	background-color:#000;
    border: 1px solid #000;
}
button.sort_form.active {
    color: #e00211;
}


button.btn_form:hover {
    color: #fff;
	background-color:#e00211;
    border: 1px solid #e00211;
}
div#totalresults {
    display: none;
}

.errormsz {
    color: red;
    font-size: 16px;
    text-align: end;
    font-style: italic;
    text-transform: lowercase;
}




@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}
