/*
	Style for frontend
*/

/* Modern Design Start */

#tc-search-form, #result-form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}
#result-form div {
    margin-bottom: 15px;
}
#result-form label {
    font-weight: bold;
}
#result-form select,
#result-form input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}
#result-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}
#result-form button:hover {
    background-color: #0056b3;
}

/* Search results styles */
#tc-search-results p {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Modern Design End */

.rmb {
    margin-bottom: 10px;
}

.loader {
    display: none;
}

.rloader {
    float: left;
    margin-right: 10px;
    margin-top: -2px;
    width: 40px;
}

div.nonp-jsrmsp-result-view {
    padding: 10px;
    background: #fff;
    border: 2px dotted #4e4e4e !important;
}

div.result-container {
    margin-top: 10px !important;
}

div.jsrmsp-responsive-table {
    overflow-x: auto;
}

.jsrmsp-student-photo {
    margin-bottom: 10px;
}

.jsrmsp-student-photo img {
    float: right;
    height: auto;
    width: 100px;
    border: 1px solid #c5c5c5;
    padding: 5px;
}

table.student-info {
    width: 100% !important;
    border: 1px solid #ddd;
}

table.student-info td {
    padding: 5px !important;
    border: 1px solid #ddd !important;
    width: 50% !important;
}

/* Table (Same style as custom template) */

div.nonp-jsrmsp-result-view h2 {
    border-bottom: 1px solid #d2d2d2;
    /* color: #656565; */
    font-size: 22px;
    font-weight: 300;
    padding-bottom: 8px;
    text-transform: uppercase;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.nonp-jsrmsp-student-info {
    margin-bottom: 10px;
}

table.nonp-jsrmsp-student-info, table.nonp-jsrmsp-student-result {
    width: 100%;
}

table.nonp-jsrmsp-student-info td, table.nonp-jsrmsp-student-result td, table.nonp-jsrmsp-student-result th {
    width: 25%;
    text-align: left;
}

table.nonp-jsrmsp-student-info td span, table.nonp-jsrmsp-student-result td span {
    font-size: 15px;
    font-weight: 400;
}

div.nonp-rprint {
    display: block !important;
    overflow: hidden !important;
    margin-top: 20px !important;
}

a.nonp-jsrmsp-result-print {
  background: none repeat scroll 0 0 #2ea2cc !important;
  border: 1px solid #0074a2 !important;
  color: #fff !important;
  text-decoration: none !important;
  display: block;
  margin: 0 auto !important;
  padding: 6px 11px !important;
  text-align: center !important;
  width: 90px;
}

a.nonp-jsrmsp-result-print:hover {
    background: #2794bc !important;
    color: #fff !important;
}

.nonp-jsrmsp-footer-text {
    /*
    border-top: 1px solid #d2d2d2;
    */
    text-align: center;
    margin-top: 10px;
    padding-top: 5px;
}

.nonp-jsrmsp-footer-text p {
    margin-top: 0;
    padding-top: 5px;
}

.jsrmsp-sheader-info {
    text-align: center;
}

.jsrmsp-margin-top {
    margin-top: 20px;
}

.jsrmsp-sheader-info img {
    display: inline-block;
}

.jsrmsp-sheader-info h2 {
    border: none;
}

/* Signature area */

div.jsrmsp-exam-controller-area {
	overflow: hidden;
}

div.jsrmsp-exam-controller-left {
	float: left;
	width: 50%;
}

div.jsrmsp-exam-controller-right {
	float: right;
	text-align: right;
	width: 50%;
}

div.jsrmsp-exam-controller-right img {
    max-width: 200px;
    height: auto;
}

div.jsrmsp-exam-controller-right h4.jsrmsp-exam-controller-name {
	margin: 0;
    font-weight: 600;
    font-size: 15px;
}

div.jsrmsp-exam-controller-right h4.jsrmsp-exam-controller-dest {
	margin: 0;
    font-weight: 600;
    font-style: italic;
    font-size: 16px;
}

div.jsrmsp-exam-controller-right h3 {
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
}