/* 
Theme Name: Jamiyah
Theme URI: #
Description: Site child theme
Author: CEW
Author URI: https://www.creaworld.com.sg/
Template: jamiyah
Version: 1.0.1
Text Domain: jamiyah-child
*/

.scholar_ship_content{
	padding: 65px 40px 40px 60px;
    background: #3498DB;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #fff;
    position: relative;
}
.scholar_ship_content h2, .scholar_ship_content ol{
	color: white;
}
.scholar_ship_content ol li{
	margin-bottom: 15px;
}
.scholar_ship_content ol li a{
	color: white;
}
.scholar_ship_content ol li a:hover{
	text-decoration: underline;
}
.scholar_ship_content ol ol {
    padding: 10px 0 0 50px;
}
.scholar_ship_content ol ol li {
    margin: 0 0 5px;
}
.scholar_ship_content h2 {
    display: inline-block;
    min-width: fit-content;
    white-space: nowrap;
    font-size: 30px;
    font-weight: 500;
    line-height: 36px;
    text-align: center;
    color: #fff;
    background: var( --e-global-color-accent );
    padding: 8px 35px 10px;
    margin: 0;
    position: absolute;
    top: -25px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.scholarship_form{
}
.scholarship_form .elementor-container{
	padding: 40px 30px;
    margin-top: 64px;
    margin-bottom: 64px;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.06);
}
.sfBlockForm {
    margin-bottom: 60px;
}
.sfBlockForm h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    color: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0 0 15px;
    margin: 0;
}
.sfGroup {
    margin-top: 30px;
}
.scholarship_form .sfGroup label, .scholarship_form .sfGroup .cful, .scholarship_form .sfGroup p {
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.65);
    display: block;
    margin-bottom: 10px;
}
.scholarship_form .sfGroup input, .scholarship_form .sfGroup textarea, .scholarship_form .sfGroup select, .scholarship_form .customFileUpload label {
    width: 100%;
    height: 48px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    padding: 0 12px;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.8);
    border-radius: 0 !important;
}
.sfGroup label span {
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
}
.scholarship_form .sfGroup p{
	margin: 0;
}
.scholarship_form .sfGroup textarea {
    resize: none;
    padding-top: 12px;
    display: block;
}
.scholarship_form .sfGroup .input-group-addon {
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.15);
    border-radius: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    pointer-events: none;
}
.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}
.input-group > p{
	margin: 0 !important;
}
.customSlct {
    position: relative;
}
.customSlct:after {
    display: flex;
    content: "";
    background: url(https://www.jamiyah.org.sg/wp-content/uploads/2023/07/slctArwDwn.png) center center no-repeat #fff;
    background-size: auto;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-left: none;
    align-items: center;
    justify-content: center;
    width: 35px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    -webkit-pointer-events: none;
    pointer-events: none;
}
.sfSmallHeading {
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.6);
    margin: 30px 0 -15px;
}
.customFileUpload {
    position: relative;
}
.customFileUpload input[type="file"] {
    visibility: hidden;
    opacity: 0;
    position: absolute;
}
.scholarship_form .sfGroup .customFileUpload label {
    position: relative;
    padding: 10px 12px 10px 105px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
}
.customFileUpload label:before {
    display: block;
    content: "Choose";
    position: absolute;
    left: 12px;
    top: 10px;
    bottom: 10px;
    width: 83px;
    padding: 0;
    text-align: center;
    background: #9B59B6;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: #fff;
}
.fmdBlockFields {
    padding: 0 30px 30px;
    background: rgba(0, 0, 0, 0.02);
    margin-bottom: 25px;
}
.wpcf7-field-group {
    position: relative;
}
.wpcf7-field-group > p {
    position: absolute;
    top: 0;
    right: 0;
}
.fmdBlockFields:after {
    display: block;
    clear: both;
    content: "";
}
.addFmdBtn, .removeFmdBtn, .wpcf7-field-group-add, .wpcf7-field-group-remove {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: url(https://www.jamiyah.org.sg/wp-content/uploads/2023/07/btnPlus.png) center center no-repeat #9B59B6 !important;
    border: 1px solid #9B59B6 !important;
    width: 48px !important;
    height: 48px;
    position: relative;
    text-indent: -9999px;
    border-radius: 0 !important;
    padding: 0 !important;
}
.removeFmdBtn, .wpcf7-field-group-remove {
    background: url(https://www.jamiyah.org.sg/wp-content/uploads/2023/07/btnMinus.png) center center no-repeat #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 5px !important;
}
.addFmdBtn:focus, .removeFmdBtn:focus, .wpcf7-field-group-add:focus, .wpcf7-field-group-remove:focus{
	outline: none !important;
}
#family_details .wpcf7-field-group:first-child .wpcf7-field-group-remove{
	display: none !important;
}
.sfGroup textarea.taBig {
    height: 75px;
}
.dvdr {
    display: block;
    border-bottom: 1px solid #fff;
}
.dvdr.gray {
    border-color: rgba(0, 0, 0, 0.2);
}
.wpcf7-acceptance label {
    
}
input.customCheckbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
input.customCheckbox ~ .wpcf7-list-item-label::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
}
input.customCheckbox ~ .wpcf7-list-item-label::after {
    position: absolute;
    left: 10px;
    top: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	display: none;
}
input.customCheckbox:checked ~ .wpcf7-list-item-label::before {
    background-color: #9B59B6;
    border-color: #9B59B6;
}
input.customCheckbox:checked ~ .wpcf7-list-item-label::after{
	display: block;
}

.sfGroup .wpcf7-acceptance span.wpcf7-list-item-label {
	display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.8);
}
.scholarship_form .cd ol {
    padding-left: 55px;
    margin-top: 20px;
    margin-bottom: 50px;
}
.scholarship_form .cd ol li {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 15px;
    color: rgba(0, 0, 0, 0.6);
}
.scholarship_form .spBtn {
    display: inline-flex;
    background: #EB008B;
    border: 2px solid transparent;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    color: #fff;
    padding: 25px 35px;
    transition: all ease-in-out 0.3s;
}
.scholarship_form .spBtn.big {
    display: block;
    height: 74px;
    min-width: 316px;
    margin: auto;
    text-align: center;
    border-radius: 0 !important;
}
.wpcf7-spinner {
    visibility: hidden;
    display: inline-block;
    background-color: #23282d;
    opacity: 0.75;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 100%;
    padding: 0;
    margin: 0 24px;
    position: relative;
}
.wpcf7-spinner::before {
    content: '';
    position: absolute;
    background-color: #fbfbfc;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border: none;
    border-radius: 100%;
    transform-origin: 8px 8px;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
@media (prefers-reduced-motion: reduce){
	.wpcf7-spinner::before {
	    animation-name: blink;
	    animation-duration: 2000ms;
	}
}
.scholarship_form .wpcf7-not-valid-tip{
    font-size: 0.8em;
    position: absolute;
}


/*Responsive CSS*/
@media (max-width: 1199px){
	.scholar_ship_content {
    	padding: 65px 20px 40px 20px;
    }
    .scholar_ship_content h2{
    	font-size: 26px;
    	line-height: 32px;
    }
}
@media (max-width: 991px){
	.fmdBlockFields {
	    padding: 15px 0;
	}
	.scholar_ship_content h2{
    	font-size: 24px;
    	line-height: 32px;
    }
}
@media (max-width: 767px){
	.wpcf7-field-group > p button {
	    margin: 0 15px 0 0;
	}
	.wpcf7-field-group > p {
	    position: static;
	    display: flex;
	}
	.scholarship_form .cd ol {
	    padding-left: 20px;
	}
	.scholar_ship_content h2{
    	font-size: 21px;
    	line-height: 28px;
    }
    .scholar_ship_content {
	    padding: 45px 20px 30px 0;
	}
	.scholarship_form .elementor-container {
	    padding: 20px 15px;
	    margin-top: 40px;
	    margin-bottom: 40px;
	}
	.sfSmallHeading {
	    font-size: 16px;
	    font-weight: 600;
	    line-height: 21px;
	    color: rgba(0, 0, 0, 0.6);
	    margin: 30px 0 15px;
	}
	.scholarship_form.wpdevelop .sfGroup input, .scholarship_form .sfGroup textarea, .scholarship_form .sfGroup select, .scholarship_form .customFileUpload label{
		font-size: 16px;
		line-height: 21px;
		height: 48px;
	}
	.scholarship_form .sfGroup label, .scholarship_form .sfGroup .cful, .scholarship_form .sfGroup p{
		font-size: 16px;
		line-height: 21px;
	}
	.customFileUpload br{
		display: none;
	}
}
@media (max-width: 567px){
	.scholar_ship_content h2 {
	    font-size: 18px;
	    line-height: 24px;
	    padding: 8px 15px 10px;
	}
}