
/* Constants */


.inline-form
{
    display: inline;
}
#searchform input[type='text']
{
    border-color: lightblue;
}
.card.card-body {
    overflow: hidden;
}

i.fa.fa-times.closefav {
    font-size: 23px!important;
    cursor: pointer;
    color: red;
}
span.hasry1 {
    position: absolute;
    left: -43px;
    background: red;
    padding: 5px 59px;
    top: 11px;
    font-size: 15px;
    color: white;
    transform: rotate(-34deg);
    font-weight: 900;
    text-shadow: 0px 0px 4px #ceb500, 0px 0px 4px #ceb500, 0px 0px 4px #ceb500;
}

.login-box.card {
    box-shadow: 0px 0px 17px 1px #a4a4a4;
}
@media (min-width: 1170px){
    .footer, .page-wrapper {
        margin-left: 0;
        margin-right: 400px!important;
    }
    aside.left-sidebar {
        width: 400px;
    }
}
    
#main-wrapper .topbar div h2 > a { text-decoration:none; color:#fff; }
#main-wrapper .topbar div h2 > a:hover { color:#fff!important; }
.skin-blue .topbar div h2 {
    padding: 1%;
}
@media (max-width: 767px){
    .skin-blue .topbar div h2 {
        padding: 4%;
    }
}

/* Sidebar */

.sidebar-contact-number
{
    margin-right: 10%;
    color: #9a9a9a;
}
.hisname input,
.hisemail input
{
    width: 80%;
    min-height: 100%;
}
.mini-sidebar .sidebar-nav #sidebarnav>li>ul {
    width: 100%!important;
}
.mini-sidebar .sidebar-nav #sidebarnav>li:hover>a {
    width: 100%;
}

@media (min-width: 1169px){
    .nav-link i{
        display: none;
    }
}
    
.nav-link {
    padding: 21px 0!important;
}
.nav-link i {
    color: white;
    font-weight: bold;
    font-size: 30px;
}

a.alection {
    FONT-SIZE: 24px;
    text-align: center!important;
    display: inline-block;
    width: 100%;
    color: #585757;
    font-weight: bold;
}

footer.footer {
    text-align: center;
    font-weight: 900;
    color: white;
}

h4.text-themecolor {
    font-size: 30px;
    color: #2e2e2e;
    text-align: center;
    width: 100%;
    text-shadow: 1px 1px 1px #6e8080;
    font-family: 'El Messiri', sans-serif;
}

.home .card.card-body {
    box-shadow: 1px 1px 12px 1px #c9c2c5;
    background: #c9c2c5;
}

a:hover {
    color: #6e8080!important;
}

footer.footer a:hover {
    color: black!important;
}
footer.footer a {
    color: #0047a0;
    margin-right: 2px;
    position: relative;
    top: 1px;
}

a.has-arrow.waves-effect.waves-dark.active img {
    margin-left: 8px;
}
li.user-pro img {
    width: 71px;
    border-radius: 24px;
    margin: 0 20px;
}

li.user-pro span {
    font-size: 17px;
    color: #354a87;
    font-weight: 900;
    margin-left: 20px;
}
.user-pro
{
    position: relative;
}
.sidebar-nav>ul>li {
    margin-bottom: 8px;
    margin-top: 8px;
}
*{
    font-family: 'El Messiri', sans-serif;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    font-family: 'El Messiri', sans-serif!important
}

li.user-pro {
    padding: 13px;
}
li.user-pro span
{
    color: #eefbfb;
}


li.nav-small-cap.personal {
    padding: 5px 31px!important;
}

span.theval {
    font-weight: 900;
    font-size: 17px;
    color: #fff;
}
#rpoint .theval
{
    color: #000;
}
span.thekey {
    font-weight: 900;
    font-size: 17px;
    color: #030303;
}

li.nav-small-cap {
    padding: 19px 18px 0!important;
}

.fa{
    font: normal normal normal 14px/1 FontAwesome!important;
}

.sidebar-nav ul li a, .sidebar-nav ul li ul li a {
    display: inline-block;
}
span.createmenucon button {
    background: #6e8080;
    color: white;
    padding-top: 2px;
}
span.removemenu {
    float: left;
    position: relative;
    top: 7px;
    left: 21px;
    cursor: pointer;
}

#example23_info,.dt-buttons,#example23_filter{
    display:none!important;
}

.singlecont {
    background: white;
    padding: 5px 25px;
}

.singcon {
    padding: 20px;
    background: #c9c2c5;
    margin-bottom: 7px;
}

.singcon > .row {
    padding: 15px;
    background: white;
}

.related {
    width: 100%;
    background: #426fb3;
    text-align: center;
    margin-left: 2%;
    display: inline-block;
    padding: 10px;
    border-radius: 7px;
}

.related p
{
    margin-bottom: .5rem;
    color: white;
    font-size: 18px;
}

.related a {
    color: white;
    font-weight: 900;
    font-size: 20px;
}

.thefav select {
    width: 90%;
    margin: auto;
    display: block;
    height: 54px;
    text-align: center;
    border-radius: 3px;
    padding: 14px;
}

.related_header
{
    margin-bottom: 1.5rem;
    padding: 15px;
    background: #e6e6e6;
}
.related_header .singlecont { background: unset;padding: 0; }

.thefav {
    flex-basis: 40%;
}

.rebut {
    display: flex;
}

/* Search Results CSS */

#all
{
    overflow: hidden;
}

.student .editable,
.student .noteditable,
.student .editable p,
.student .noteditable p
{
    font-size: 115%!important;
}

select.usersearch {
    display: block;
    width: 100%;
    height: 37px;
    border: 1px solid #808080;
}

#results p cite
{
    font-style: normal;
}

.form-actions.user button {
    display: block;
    margin: auto;
    margin-top: 29px;
}

select.usersearch:disabled {
    background: transparent;
    border: 0;
    color: #3d3d3d;
    cursor: pointer;
}

input:disabled {
    background: transparent;
    outline: 0;
    border: 0;
    cursor: pointer;
}
.usertable td{
    position: relative;
}
.usertable td span {
    cursor: pointer;
    top: 0;
    right: 0;
    position: absolute;
    width:100%;
    height: 100%;
}

div#example23_paginate{
    display:none;
}

.singleuser .card.card-body {
    background:white;
}

.singleuser h2.box-title.m-b-0 {
    background: #6e8080;
    padding: 20px;
    color: white;
    margin-top: 16px;
    margin-bottom: 27px;
}

.col-md-6.col-lg-6.personalone {
    padding: 6px 25px;
}

.col-md-6.col-lg-6.personaltwo {
    color: #033095;
}

.menuselctor {
    font-size: 22px;
    margin: 19px;
}

.menuselctor select {
    padding: 5px 14px;
}

.trans {
    margin: 10px 22px;
    font-size: 26px;
    background: #ffffff;
    padding: 5px 20px;
}

#sidebarnav input[type="text"]:disabled {
    color: #fff;
    font-size: 19px;
    font-weight: 900;
}

.related a div.family-members,
.related a span.family-members
{
    font-size: 16px;
    margin-right: 15px;
}
/* Added by Ebrahem */ 

.createmenuinput form {
    display: inline;
}

.delete_list_btn {
    margin-left: 20px;
    float: left;
}

#failed-result {
    margin-right: 40%;
    font-size: 20px;
    padding: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
    display: inline-block;
}

img.img-circle.img-fluid {
    border-radius: 0!important;
}

.alert-info {
    position: fixed!important;
    left: 100px;
    z-index: 100;
    top: 100px;
    background: red!important;
    color: white!important;
}

.gender-radio,
.constituency-radio {
    width: 60px;
    display: inline-block;
}

.gender-radio .form-control,
.constituency-radio .form-control {
    width: 55% !important;
}

.constituency-radio label {
    width: 60px;
}

#notify {
    display: none;
    position: fixed;
    left: 100px;
    top: 180px;
    width: 200px;
    z-index: 200;
    font-weight: bold;
    text-align: center;
}

.editable {
    padding: 0;
}

.editable input,
.editable select {
    width: 100%;
    height: 50px;
}

.notification {
    position: fixed!important;
    left: 100px;
    z-index: 100;
    top: 100px;
    color: white;
    padding: 10px 50px;
    font-size: 15px;
    border-radius: 3px;
}
#notification-s{
    background: #20c8ef;
}
#notification-f{
    background: #dc4e2e;
}

/* Related Page */

#results .relatedperson p {
    text-align: center;
    font-size: 30px;
}

#related_results .relatedperson p {
    font-size: 20px;
}

#related_results hr
{
    border-width: 2px;
}

#related_results .thefav select {
    margin: auto;
    display: block;
    text-align: center;
    border-radius: 3px;
    padding: 7px 5px;
}

#related_results .related_other_data
{
    margin-top: 20px;
}

#results .other-data,
#related_results .other_data_related {
    width: 25%;
    margin: auto;
}

#all .rescont{
    display:block!important;
}

.student hr 
{
    border-width: 3px;
}

.student .actions-div
{
    text-align: center;
    width:50%;
    margin: 15px auto;
}

.rebut {
    margin-top: 26px;
}
.student select#favourite_select {
    padding: 6px;
    position: relative;
    top: -8px;
    background: #cbc13b6b;
}

.related_favorite{
    background: #f3f1d5;
    border-color: #f3f1d5;
}


.student .other-data {
    width: 43%!important;
}
/*
.col-md-7.align-self-center.text-right a, .col-md-7.align-self-center.text-right button {
    color: #2e2e2e;
    background: #ffffff;
    border: 1px solid #2e2e2e;
    padding: 10px 14px;
    font-weight: 900;
    border-radius: 50%;
}
*/

/*i.fa.fa-whatsapp {*/
/*    font-size: 29px!important;*/
/*    position: relative;*/
/*    top: 7px;*/
/*    background: #6e8080;*/
/*    padding: 4px 12px;*/
/*    color: white;*/
/*    cursor:pointer;*/
/*    box-shadow: 1px 1px 1px #1c1a1a;*/
/*}*/

.col-md-7.align-self-center.text-right > button {
    background: 0;
    border: 0;
    outline: 0!important;
}
input#phoneinput {
    padding: 7px;
}
i.fa.fa-file-excel-o {
    font-size: 24px!important;
    position: relative;
    top: 7px;
    background: #6e8080;
    padding: 6px 12px;
    color: white;
    cursor: pointer;
    box-shadow: 1px 1px 1px #1c1a1a;
}


i.fa.fa-file-pdf-o {
    font-size: 24px!important;
    position: relative;
    top: 7px;
    background: #6e8080;
    padding: 6px 12px;
    color: white;
    cursor: pointer;
    box-shadow: 1px 1px 1px #1c1a1a;
    margin: 0 20px;
}

.col-md-7.align-self-center.text-right a:hover, .col-md-7.align-self-center.text-right buttona:hover{
    color:#000!important;
} 

/********/
/*
#downloadpdf , #whats{
    display:none;
}
*/

.login-register.login,
.login-register.register
{
    padding-top: 10%;   
}

.logoq {
    max-width: 213px;
    max-height: 67px;
}

header.topbar {
    display: flex;
}

ul.navbar-nav.mr-auto {
    margin: unset!important;
}
#excel_button {
    background: none;
    border: 0px;
    outline: 0;
}
#pdf_button
{
    background: #7894b1;
    border-color: #7894b1;
    font-size: 16px;
    font-weight: lighter;
    font-family: sans-serif;
}

/***********/
tbody.publi {
    display: flex;
    flex-wrap: wrap;
}

tbody.publi tr {
    flex-basis: 50%;
    border: 1px solid #eeeeee;
    display: flex;
}

tbody.publi tr.tableseperator {
    flex-basis: 100%;
    height: 20px;
    background: #9b9b9b!important;
    width: 100%;
}

tbody.publi td:first-child {
    font-weight: 900;
}
tr.full td {
    width: 50%;
}

tr.full {
    width: 100%;
    flex-basis: 100%!important;
    font-size: 21px;
    text-align: center;
}

.login-box.card {
    width: 400px;
    margin: 0 auto;
}

.login-register {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100%;
    width: 100%;
    padding: 10% 0;
    position: initial!important;
}

/************************** responsive ***************************/
aside.left-sidebar {
    min-width: 300px;
}
.mini-sidebar aside {
    display: none;
}

.mini-sidebar.show-sidebar .left-sidebar, .mini-sidebar.show-sidebar .sidebar-footer {
    display: block;
}
select#favourite_select {
    min-width: 129px;
}
header.topbar {
    overflow: hidden;
}
input#std-search-btn {
    margin-bottom: 18px;
    margin-right: 20px;
}

@media (min-width: 768px){
    .mini-sidebar .footer, .mini-sidebar .page-wrapper {
        margin-left: 70px;
        margin-right: 0px!important;
    }
}

@media(max-width:500px){
    .other-data > span:first-child {
        display: block;
    }
    span#student_details_btn {
        display: block;
    }
    input#phoneinput {
        max-width: 129px;
    }
    h4.text-themecolor {
        font-size: 20px;
    }
    .row_cont .name p,
    .row_cont .relatedperson p {
        font-size: 18px!important;
    }
    .singcon .singlecont span.thevalue2 {
        /*width: 100%;*/
        text-align: right;
        margin-bottom: 8px;
        margin-top: 2px;
    }
    h3#messages > h3 {
        padding: 10px;
        font-size: 16px;
        padding-right: 30px;
        text-align: right;
        margin-right: -37px;
    }
    .row.page-titles >h3 > span {
        font-size: 14px!important;
        padding-top: 6px;
    }
    .related {
        flex-basis: unset;
        width: unset;
        padding: 16px 10px;
        margin: 0 8px 16px;
    }

    .related * {
        font-size: 15px!important;
    }

    select#favourite_select {
        padding: 2px;
    }
    .thefav {
        flex-basis: unset;
    }
    
    .name p,
    .relatedperson p {
        font-size: 16px!important;
    }
    table#tblData tbody {
        display: block;
    }
    
    table#tblData td, table#tblData th, table#tblData tr {
        width: 100%!important;
    }

    tbody.publi td:first-child {
        max-width: 119px;
    }
    tbody.publi td {
        font-size: 12px;
        text-align: right;
    }
    
    table#tblData {
        display: flex;
        flex-wrap: wrap;
    }
    table#tblData thead.tother th:nth-child(2) {
        width: 102px!important;
    }
    h4.text-themecolor {
        margin-bottom: 8px;
    }
    table#tblData thead.tother th:nth-child(2) {
        width: 102px!important;
        flex-basis: 102px!important;
        display: block;
    }
    table#tblData thead.tother tr {
        width: 100%!important;
    }
    thead.tother {
        width: 100%;
    }
    table#tblData thead.tother th:nth-child(2) {
        width: 102px!important;
        flex-basis: 102px!important;
        display: block;
        margin-bottom: -1px;
    }
    table.display.nowrap.table.table-hover.table-striped.table-bordered.pricing.usertable.dataTable.no-footer th,.dataTables_wrapper.container-fluid.dt-bootstrap4.no-footer  th {
        padding: 10px!important;
    }

    table.display.nowrap.table.table-hover.table-striped.table-bordered.pricing.usertable.dataTable.no-footer th::Before,table.display.nowrap.table.table-hover.table-striped.table-bordered.pricing.usertable.dataTable.no-footer th::after {
        display:none
    }
    
    .dataTables_wrapper.container-fluid.dt-bootstrap4.no-footer  th::Before,.dataTables_wrapper.container-fluid.dt-bootstrap4.no-footer  th::after{
        display:none
    }
    div#example23_wrapper {
        overflow: scroll;
    }
}

.fa-download:before {
    font-size: 16px;
    color: #fff;
}

.whats-error {
    color: red;
    position: absolute;
    left: 0;
    width: 250px;
    top: 45px;
    display: none;
}

#excel_button
{
    background: #7894b1;
    border-color: #7894b1;
    font-size: 16px;
    font-weight: lighter;
    font-family: sans-serif;
}

/*  addformcontainer style */

.addformcontainer {
    padding: 15px 10px;
    position: relative;
}

.addformcontainer label {
    margin-right: 20px;
}

/* Notifications */

.notify-alert {
    position: absolute!important;
    z-index: 1000;
    width: 400px;
    left: 100px;
    bottom: 60px;
    font-weight: bold;
    font-size: 20px;
}

.notification-sidebar{
    
    color: white;
    text-decoration: none;
    position: absolute;
    left: 0;
    top: 15%;
    border: none !important;
}

.notification-sidebar .badge {
    position: absolute;
    top: 13px;
    right: -7px;
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 50%;
    background: red;
    color: white;
}


/* New Election Page Style  */
#add_election_btn {
    margin-top: 30px;
}

.remove_extra_btn {
    margin-top: -5px;
    margin-right: 15px;
}

#columns_container .container .row {
    margin-bottom: 10px;
}

.editelection .heading h4
{
    padding: 20px;
}

/* Reset Password Page */

#reset_password_form {
    width: 50%;
    margin: auto;
}

#reset_password_messages,
#forget_password_messages,
#change_password_messages {
    position: absolute;
    left: 100px;
    top: 100px;
    z-index: 100;
    width: 300px;
    text-align: center;
}

.forget-password-form-container,
.change-password-form-container {
    width: 50%;
    margin: 200px auto;
}
.js-error {
    color: red;
    margin-top: 10px;
    display: none;
}


/* Counting Down */

.count_down {
    background: #fff;
    width: 400px;
    margin: 0 auto 10px auto;
    text-align: center;
    opacity: .8;
    padding: 15px;
    border-radius: 30px;
}

.counter_container {
    padding: 20px;
    text-align: center;
}

.mb-10
{
    margin-bottom: 10px!important;
}
.mb-20
{
    margin-bottom: 20px!important;
}
.mt-10
{
    margin-top: 10px!important;
}
.mt-20
{
    margin-top: 20px!important;
}

.result-details-button {
    display: block!important;
    margin:auto!important;
    width: 30%!important;
    margin-bottom: 20px!important;
}

.collapse-button-container
{
    width: 100%;
}






#whatsform div
{
    display:inline; position: relative;
}
#whatsform div input
{
    min-height: 35px;
    margin-top: 10px;
    width: 90%;
}
#whats-button
{
    position: absolute;
    bottom: 0px;
    left: 45px;
    background: #4FCE5D;
    border-radius: 2px;
}
#whats-button i
{
    color: #fff;
    font-size: 20px!important;
    vertical-align: middle;
    padding: 8px 5px;
    margin-top: 0px;
}