/*
 Theme Name:   Ecgma
 Description:  Ecgma Child Theme
 Template:     gwangi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  ecgma
*/



.readonly input,
.page-template-page-add-dhapplication .acf-field--post-title input {
    pointer-events: none;
}
.hide_on_front{
    display: none;
}
li.menu-item.menu-item--logout a.btn{
    background-color: #ffffff;
    color: #176319;
    border-color: #17631959;
}
li.menu-item.menu-item--logout a.btn:hover,
li.menu-item.menu-item--logout a.btn:focus,
li.menu-item.menu-item--logout a.btn:active{
    border-color: #176319;
}
.member_area {
    max-width: 100% !important;
}
li.member-area-submenu ul.sub-menu li a i,
.menu-member-area-page-menu-container ul li a i {
    margin-right: 6px;
    vertical-align: middle;
}
li.member-area-submenu ul.sub-menu li a {
    /* vertical-align: middle; */
    display: flex;
    align-items: center;
}
aside#member_area-sidebar {
    background-color: #303853;
    padding: 20px;
}
.menu-member-area-page-menu-container ul#menu-member-area-page-menu {
    padding: 0;
}
.menu-member-area-page-menu-container ul li {
    list-style: none;
}
.menu-member-area-page-menu-container ul.menu li a {
    color: #fff;
    line-height: 35px;
    vertical-align: middle;
}
.menu-member-area-page-menu-container ul.menu li.current-menu-item a{
    color: #ff7f44;
}

.custom-form-field .textfield {
    pointer-events: none;
}


.intro .company_logo p {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
}

.intro .welcome_name {
    padding: 25px 0;
}

.intro .welcome_name span {
    font-weight: bold;
}

.mobile.intro {
    display: none;
}

.profile_head {
    margin-top: -20px;
    margin-left: -20px;
    border: 2px solid #d4d4d4;
    border-top: 0;
}

.profile_head a {
    text-decoration: none;
    box-shadow: none;
    padding: 15px;
    display: inline-block;
    border-right: 2px solid #d4d4d4;
    color: #000;
    transition: all .3s ease-in-out;
}

.profile_head a:hover {
    box-shadow: none;
    background-color: #84ADEA;
    color: #fff;
}

.welcome_profile {
    margin-bottom: 15px;
}

.welcome_profile h4 {
    margin-bottom: 10px;
    text-transform: uppercase;
}

.welcome_profile p {
    margin-bottom: 10px;
}

.profile_info {
    width: 100%;
}

.profile_info h4 {
    margin-bottom: 15px;
}

.profile_info tr th {
    padding: 9px 19px;
}

.profile_info .linked {
    border: 1px solid #2d7fc1;
    border-radius: 0px;
    padding: 8px 14px;
    text-decoration: none;
    display: inline-block;
    box-shadow: none;
    min-width: auto;
    text-align: left;
    color: #2d7fc1;
    transition: all 0.3s ease-in-out;
}

.profile_info .linked i {
    padding-right: 6px;
}

.profile_info .linked:hover {
    color: #000;
    border-color: #000;
    box-shadow: none;
}

.profile_info .linked:focus {
    box-shadow: none;
}

.profile_info tbody th {
    font-weight: normal;
}

.profile_info table {
    border: 1px solid #d4d4d4;
}

.profile_info tbody tr:last-child {
    border-bottom: 0;
}

.loader {
    display: none;
}



#learndash_profile .learndash-course-link a {
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

#learndash_profile a:hover {
    color: #000;
}

.learndash_profile_quiz_heading .quiz_title {
    padding-left: 2% !important;
}

.learndash_profile_quizzes .passed_icon {
    margin-left: 4% !important;
}

.full table td form {
    display: inline-block;
    margin-bottom: 0;
}

.full table td a {
    display: inline-block;
}

table tr td,
table tr th {
    vertical-align: middle;
}

.licenseList table {
    border: 2px solid #d4d4d4;
}

.licenseList table th:first-child,
.licenseList table td:first-child {
    padding-left: 0.4em;
}

.full table .btn.btn-warning {
    background: #ffc107;
}

.full table .btn.btn-danger {
    background: #dc3545;
}

.full table .btn.btn-success {
    background: #28a745;
}
table#new_down .btn.btn-primary {
    padding: 5px 15px;
}

.SingleDH div[id$="result"] p {
    border-bottom: 1px solid #eee;
    padding: 0.4em;
    margin-bottom: 0;
    float: left;
    width: 100%;
}

.SingleDH div[id$="result"] p strong {
    padding-right: 30px;
    width: 50%;
    float: left;
}

.SingleDH div[id$="result"] .abackbtn {
    display: inline-block;
    margin: 8px 0;
    border-radius: 0px;
    background-color: #222;
    color: #fff;
    border: none;
    padding: 8px 30px;
}

.SingleActivity .backbtn {
    display: inline-block;
    margin: 8px 0;
    border-radius: 0px;
    background-color: #222;
    color: #fff;
    border: none;
    padding: 8px 30px;
}
p.activitydesc span{
    display: table-cell;
}
.licenseActivity .backbtn {
    display: inline-block;
    margin: 8px 0;
    border-radius: 0px;
    background-color: #222;
    color: #fff;
    border: none;
    padding: 8px 30px;
}

.SingleActivity .abackbtn {
    display: inline-block;
    margin: 8px 0;
    border-radius: 0px;
    background-color: #222;
    color: #fff;
    border: none;
    padding: 8px 30px;
}

.licenseActivity .abackbtn {
    display: inline-block;
    margin: 8px 0;
    border-radius: 0px;
    background-color: #222;
    color: #fff;
    border: none;
    padding: 8px 30px;
}

.licenseActivity .btn.pull-left {
    display: inline-block;
    margin: 8px 0;
    border-radius: 0px;
    background-color: #222;
    color: #fff;
    border: none;
    padding: 8px 30px;
}

.SingleDH div[id$="result"] .abackbtn:hover {
    background-color: #767676;
}

.SingleActivity .backbtn:hover {
    background-color: #767676;
    color: #fff;
}

.licenseActivity .backbtn:hover {
    background-color: #767676;
    color: #fff;
}

.licenseActivity .btn.pull-left:hover {
    background-color: #767676;
    color: #fff;
}

.licenseActivity .abackbtn:hover {
    background-color: #767676;
    color: #fff;
}

.SingleActivity .abackbtn:hover {
    background-color: #767676;
    color: #fff;
}


.activityList table {
    border: 2px solid #d4d4d4;
}

.activityList table tr th:first-child,
.activityList table tr td:first-child {
    padding-left: 0.4em;
}

.activityList table tr th {
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 0;
}

.activityList table tr td {
    margin-top: 6px;
    margin-bottom: 6px;
    padding-left: 0;
}

.activityList table {
    border-collapse: collapse;
}

.licenseListtable tr th {
    padding-top: 13px;
    padding-bottom: 13px;
}

.licenseList table tr td {
    margin-top: 6px;
    margin-bottom: 6px;
    padding-bottom: 5px;
    padding-top: 0;
}

.licenseList table tr td:first-child {
    margin-left: 0.4em;
    padding-left: 0;
}

.loader {
    position: absolute !important;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100px;
    transform: translateY(-50%);
    top: 50%;
}
.dataTables_filter {
    display: none;
}

.buttons-pdf {
    padding: 5px 27px;
    margin-bottom: 22px;
}

.dataact_table .sorting_disabled select {
    height: 28px;
}

.activityId {
    color: #2d7fc1;
    display: inline-block;
    cursor: pointer;
    padding-left: 0;
    font-size: 14px;
    text-decoration: none;
}

.activityId:hover {
    color: #000;
}

.licenseId span{
    color: #2d7fc1;
    display: inline-block;
    cursor: pointer;
    padding-left: 10px;
    font-size: 14px;
    text-decoration: none;
    
}

.licenseId span:hover {
    color: #000;
}

.dhApplicationId span {
    color: #2d7fc1;
    display: inline-block;
    cursor: pointer;
    padding-left: 0;
    font-size: 14px;
    text-decoration: none;
}

.dhApplicationId span:hover {
    color: #000;
}

.download_buttons {
    display: flex;
    flex-wrap: wrap;
}

.download_buttons form {
    flex: 0 0 50%;
    max-width: 50%;
    width: 100%;
    margin-right: 10px;
}

.download_buttons form button {
    width: 100%;
}

.download_buttons a {
    flex: 0 0 43%;
    max-width: 43%;
    text-align: center;
}

#endorsement-result .btn.pull-right {
    display: inline-block;
    margin: 8px 0;
    border-radius: 0px;
    background-color: #222;
    color: #fff;
    border: none;
    padding: 8px 30px;
}

#endorsement-result .btn.pull-right:hover {
    background-color: #767676;
    color: #fff;
}


.SingleActivity #results p {
    float: left;
    width: 100%;
}

.SingleActivity #results p strong {
    padding-right: 30px;
    width: 30%;
    float: left;
}

.licenseActivity #licenseresults p {
    float: left;
    width: 100%;
}

.licenseActivity #licenseresults p strong {
    padding-right: 30px;
    width: 30%;
    float: left;
}

.licenseActivity #licenseresults .btn.pull-right {
    display: inline-block;
    margin: 8px 0;
    border-radius: 0px;
    background-color: #222;
    color: #fff;
    border: none;
    padding: 8px 30px;
}

.licenseActivity #licenseresults .btn.pull-right:hover {
    background: #767676;
}

.filter_activity {
    border: 0 !important;
}

.filter_activity tr {
    display: inline-block;
    margin-right: 40px;
    border-bottom: 0;
}

.filter_activity tr:last-child {
    margin-right: 0;
}

.filter_activity tr td {
    width: 100%;
    float: left;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.filter_activity tr td:first-child {
    font-weight: 600;
}

.filter_activity tr td input {
    border-radius: 0;
    border: 1px solid #dedede;
}

.filter_activity tr td input {
    width: 100%;
}

.activityList .dataTables_paginate span a.paginate_button {
    box-shadow: none;
    background: #222 !important;
    color: #fff !important;
    padding: 1px 9px;
    border-radius: 2px;
    border: 1px solid transparent;
}

.activityList .dataTables_paginate span a.paginate_button:hover {
    background: #767676 !important;
    color: #fff !important;
    box-shadow: none;
    border: 1px solid transparent;
}

.activityList .dataTables_paginate span a.paginate_button.current {
    background: #767676 !important;
    color: #fff !important;
    box-shadow: none;
    border: 1px solid transparent;
}

.activityList .dataTables_paginate span a.paginate_button.current:hover {
    color: #fff !important;
}

.activityList .dataTables_wrapper .dataTables_paginate .paginate_button {
    box-shadow: none;
    padding: 2px 13px;
}

.activityList .dataTables_wrapper .dataTables_paginate .paginate_button.next:hover,
.activityList .dataTables_wrapper .dataTables_paginate .paginate_button.previous:hover {
    color: #000 !important;
    padding: 2px 13px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    box-shadow: none;
}

.activityList .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: #666 !important;
}

.dataTables_wrapper .dt-button.processing {
    background-color: #aaa;
}

#learndash_profile .learndash_profile_details div {
    font-size: 16px;
}

.activityList table.filter_activity tr td:first-child {
    width: 100% !important;
}


.activityList #new_activity thead tr th {
    width: 10%;
}

.activityList #new_activity thead tr td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

table#new_activity tr td.hide_field, th.hide_field.sorting{display: none;}
#ajax_filter_ranking select{width: 100%;}
/*#new_activity_wrapper{overflow: scroll;}*/

.ui-datepicker .ui-datepicker-title {
    margin: 0;
    line-height: 1.8em;
    text-align: center;
}
.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    padding: 5px;
    width: 73px!important;
    height: calc(calc(1.85rem + 2px) + 2px)!important;
    display: inline-block;
}
select.ui-datepicker-year {
    display: inline-block;
}
.region__row {
    margin-left: 0px;
    margin-right: 0px;
}
.left{
    float: left;
    width: 49%;
    margin:20px 0;
}
.right{
    float: right;
    width:49%;
}
select {
    padding: 5px 10px 5px 5px!important;
    /*height: 31px!important;*/
}
input{
    height: calc(calc(2.85rem + 2px) + 2px);
    position: relative;
    margin: 0;
    padding: 15px 12px;
    border: 3px solid #EEEEEE;
    border-radius: 8px;
}

input.sbmit_status.btn.btn-primary {
    width: 100%;
}
.acf-field.acf-field-message label {
    font-size: 20px;
}
.acf-field.acf-field-hidden {
    display: none;
}
.page-template-page-add-dhapplication .acf-field--post-title,
.page-template-page-add-dss_application .acf-field--post-title {
   pointer-events: none;
}
.download_buttons button.btn.btn-primary,
td.download_buttons a.btn{
    padding: 5px 10px;
}
.address .acf-field.inline {
    display: inline-block;
    width: 24.33%;
}
p.login-remember label {
    display: flex;
    align-items: center;
}
p.login-remember label input {
    height: 14px;
}
.menu-member-area-page-menu-container select{
    display: none;
}
form.updateuserdata input {
    width: 100%;
}
.membershippage .inner-30 {
    padding-bottom: 10px;
}
#grimlock-login-form-modal .modal-content .modal-header{
    padding: 0;
}
#grimlock-login-form-modal .modal-content .modal-header .grimlock-login-form-modal-logo{
    display: none;
}
.acf-form .acf-fields > .acf-field,
.acf-form .acf-field[data-width] + .acf-field[data-width]{
    border:medium none;
}
.hide_menu.menu-item{
    display: none;
}
body.parent-pageid-1874 div#after_content,
body.page-id-1874 div#after_content,
.page-template-page-add-activity div#after_content,
.page-template-page-add-endorsement div#after_content,
.page-template-page-add-license div#after_content,
.page-template-page-add-dhapplication div#after_content,
.page-template-page-add-dss_application div#after_content,
.page-template-page-payfast div#after_content,
.page-template-page-edit-license div#after_content,
.page-template-page-edit-endorsement div#after_content,
.page-template-page-edit-dhapplication div#after_content,
.page-template-page-edit-dss_application div#after_content,
.page-template-page-registration div#after_content{
    display: none;
}
.registrationpage #content > h4 {
    text-transform: none;
    padding: 15px;
}
.membershippage .main-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}
.membershippage .inner-30 {
    padding: 10px;
    width: 35%;
    text-align: center;
}
.membershippage img.header-logo {
    display: block; 
    margin: 0 auto; 
}
span.rfo {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 10px 0;
    display: block;
}
.membershippage .inner-70 {
    width: 65%;
    padding: 10px;
    
}
.membershippage .inner-70 .membershipcard{
    border: 3px solid #215832;
    border-radius: 10px;
    width: 450px;
    margin: 0 auto;
    /*box-shadow: 0px 0 10px 0px #215832;*/
}
.membercarddownload {
    text-align: center;
    margin: 5px 0;
}
.membershippage .inner-70 div.mc {
    border-bottom: 2px solid #215832;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
    color: #181a1b;
    padding: 10px;
}
.membershippage .inner-70 .membershipcard div {
    padding: 2px 10px;
    color: #181a1b;
}
.membershippage .inner-70 .membershipcard div:last-child {
    margin-bottom: 5px;
}
.membershippage .inner-70 .membershipcard div span.label {
    font-weight: bold;
}
.pwsmatch{
    background: #ffe6e6;
    color: #d12626;
    margin: 5px 0;
}
body.archive.author #preheader, body.archive.author #header div#custom_header {
    display: none;
}
header#author_header{
    text-align: center;
    margin-left: -50px;
    margin-right: -50px;
    padding:50px;
}
.archive.author div#content {
    padding-top: 0;
}
section.author_info {
    padding: 30px 0;
}
table.userinfo th, table.userinfo td {
    padding-left: 0;
}

@media only screen and (max-width: 991px){
    #navigation .nav.navbar-nav.navbar-nav--login{
        flex-direction: row;
    }
    #navigation .nav.navbar-nav.navbar-nav--login .menu-item.menu-item--login {
        margin-right: 10px;
    }
    aside#member_area-sidebar{
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    ul#menu-member-area-page-menu {
        display: none;
    }
    .menu-member-area-page-menu-container select{
        display: block;
    }
    .site-content div#primary.region__col {
        order: 1;
    }
    div.lmspage {
        padding-top: 20px;
    }
}
@media only screen and (max-width: 767px){
    table.filter_national_ranking tr#ajax_filter_ranking td{
        display: block;
        padding: 0;
    }
    table.filter_national_ranking {
        border: medium none;
    }
    input.sbmit_status.btn.btn-primary {
        margin-top: 10px;
        width: auto;
    }
    .membershippage .main-container{
        flex-direction: column;
    }
    .membershippage .inner-30,
    .membershippage .inner-70{
        width: 100%;
    }

}
@media only screen and (max-width: 600px){

    div#primary .left,div#primary .right{
        width: 100%;
        float: none;
    }
    a.btn.btn-outline-primary.pull-right {
        float: none;
        margin-bottom: 20px;
        font-size: 14px;
        padding: 10px;
    }
    h1.grimlock-section__title.section__title.display-1 {
        font-size: calc((4rem) / 1.8);
    }
    
    .membershippage table.table.table-striped tr th,
    table#new_activity tr th,
    table#new_license tr th,
    .dhapplicationMain table tr th,
    .dss_applicationMain table tr th,
    .endorsementMain table tr th {
        display: none;
    }
    .membershippage table.table.table-striped tr td:before,
    table#new_activity tr td:before,
    table#new_license tr td:before,
    .dhapplicationMain table tr td:before,
    .dss_applicationMain table tr td:before,
    .endorsementMain table tr td:before{
        width: 100%;
        font-weight: bold;
        background-color: rgba(0, 0, 15, 0.05);
        display: block;
        padding: 5px;

    }
    table#new_activity tr td:before,
    table#new_license tr td:before,
    .dhapplicationMain table tr td:before,
    .dss_applicationMain table tr td:before,
    .endorsementMain table tr td:before{
        background-color: #e3e2e2;
        padding: 5px 0px;
    }
    td.download_buttons a {
        margin-bottom: 5px;
    }
    .dhapplicationMain table tr,
    .dss_applicationMain table tr,
    .endorsementMain table tr {
        border-bottom: 1px solid #d4d4d4;
    }
    .licenseList table {
        border: medium none;
    }
    .licenseList table tr td:first-child{
        margin-left: 0px;
    }
    .membershippage table.table.table-striped tr td,
    table#new_activity tr td,
    table#new_license tr td,
    .dhapplicationMain table tr td,
    .dss_applicationMain table tr td,
    .endorsementMain table tr td {
        display: block;
        padding: 0px;
    }
    
    .membershippage table.table.table-striped tr td span {
        padding: 5px;
        display: block;
    }
    .membershippage table.table.table-striped tr td.srno:before {
        content: "Sr no.";
    }
    .membershippage table.table.table-striped tr td.transid:before {
        content: "Transaction ID";
    }
    .membershippage table.table.table-striped tr td.paymentstatus:before {
        content: "Status";
    }
    .membershippage table.table.table-striped tr td.paymentdate:before {
        content: "Payment Date";
    }
    .full .left,.full .right {
        width: 100%;
        float: none;
    }
    .full .right a.btn.btn-outline-primary.pull-right {
        float: none;
    }
    .filter_activity tr{
        width: 100%;
        margin-right: 0px;
    }
    .SingleActivity {
        margin-top: 10px;
    }
    .SingleActivity #results p strong {
        padding-right: 0;
        width: 100%;
        float: none;
        display: block;
    }
    table#new_activity tbody tr{
        width: 100%;
        display: block;
    }
    table#new_activity, table#new_activity tr td, table#new_activity tbody {
        display: block;
        width: 100%;
    }
    table#new_activity {
        border: medium none;
    }
    td.actid:before {
        content: "ACtivity ID";
    }
    td.acttitle:before {
        content: "Activity Name";
    }
    td.acttype:before {
        content: "Activity Type";
    }
    td.firearmtype:before {
        content: "Firearm Type";
    }
    td.disci:before{
        content: "Discipline";
    }
    td.actdate:before{
        content: "Date";
    }
    td.actstatus:before{
        content: "Status";
    }
    table#new_activity tbody tr {
        border-bottom: 1px solid #d4d4d4;
        background-color: transparent;
    }
    div.licensereminder h6 {
        font-size: 1rem;
    }
    .licenseId span{
        padding-left: 0;
    }
    table#new_license tr {
        border-bottom: 1px solid #d4d4d4;
    }
    td.licenseId:before{
        content: "Make";
    }
    td.lictype:before{
        content: "License Type";
    }
    td.licsection:before{
        content: "Section";
    }
    td.caliber:before{
        content: "Caliber";
    }
    td.licno:before{
        content: "License No";
    }
    td.licexpdt:before{
        content: "Expiry Date";
    }
    .dhapplicationMain table tr td,
    .dss_applicationMain  table tr td,
    .endorsementMain table tr td {
        border: medium none;
    }
    
    td.cnt:before{
        content: "Record ID";
    }
    td.dhApplicationId:before{
        content: "Type of Application";
    }
    td.sdt:before{
        content: "Date of Application";
    }
    td.dhstatus:before{
        content: "Status";
    }
    td.approvdt:before{
        content: "Approval Date";
    }
    td.download_buttons:before{
        content: "View / Download";
    }
    .SingleDH div[id$="result"] p strong {
        padding-right: 0;
        width: 100%;
        float: none;
        display: block;
        padding-bottom: 10px;
    }
    .licenseActivity #licenseresults p strong {
        padding-right: 0;
        width: 100%;
        float: none;
        display: block;
        padding-bottom: 10px;
    }
    div#new_national_ranking_wrapper {
        overflow-x: auto;
    }
}
@media only screen and (max-width: 480px){

    form.updateuserdata tr td, form.updateuserdata tr th,
    table.userdata tr th, table.userdata tr td {
        width: 100%;
        display: block;
    }
    .membershippage button.btn.btn-outline-success {
        display: block;
        margin-bottom: 10px;
    }
    .membershippage .inner-30 span{
        display: block;
    }
    .membershippage table.form-table tr td {
        display: block;
        padding: 5px 0 0;
    }
    .membershippage table.form-table tr td label {
        margin: 0;
    }
    .membershippage .inner-70 div span.label{
        display: block;
    }
    .membershippage .inner-70 .membershipcard{
        width: 300px;
    }
}
@media only screen and (max-width: 320px){
    .membershippage .inner-70 .membershipcard{
        width: auto;
    }
}