/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/*=====================================================================*/
/* DESKTOP-FIRST */
/* Large tablets / small laptops */
@media only screen and (max-width: 1199px) {}
/* Tablets */
@media only screen and (max-width: 1023px) {}
/* Mobile landscape / large phones */
@media only screen and (max-width: 767px) {}
/* Small phones */
@media only screen and (max-width: 479px) {}

/* or MOBILE FIRST */
/* Tablet */
@media (min-width: 768px) {}
/* Desktop */
@media (min-width: 1024px) {}
/* Large desktop */
@media (min-width: 1200px) {}
/*=====================================================================*/


/*================================================================
Defaults
=================================================================*/
body {font-size: 18px;}
.page-header .page-header-title, h1, h2, h3, h4, h5, h6 {font-weight: bold; }
body, input, select, textarea, h1, h2, h3, h4, h5, h6 {color: #000;}

section {position: relative; overflow: hidden; }
/*section, .cta {text-align: center;}*/

/* Mandarin-first font stack */
/* Base typography */
body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6 {
    font-family:
        "Microsoft YaHei",
        "PingFang SC",
        "Hiragino Sans GB",
        "Noto Sans SC",
        "Source Han Sans SC",
        sans-serif;
}
/* Elementor typography override */
.elementor,
.elementor h1,
.elementor h2,
.elementor h3,
.elementor h4,
.elementor h5,
.elementor h6,
.elementor p,
.elementor a,
.elementor button,
.elementor input,
.elementor textarea {
    font-family:
        "Microsoft YaHei",
        "PingFang SC",
        "Hiragino Sans GB",
        "Noto Sans SC",
        "Source Han Sans SC",
        sans-serif;
}
.dark,
.dark h1, 
.dark h2, 
.dark h3, 
.dark h4, 
.dark h5, 
.dark h6 {color: #fff;}

.centered-minimal-page-header {margin-bottom: 40px;}

.align-center {text-align: center;}


.mccgs-error-actions{ margin-top:30px;}


/*================================================================
Remove the black outline when focus on links
=================================================================*/
a:focus {outline: 0 !important;}

/*================================================================
Reset theme default 
=================================================================*/
body .theme-button, body input[type="submit"], body button[type="submit"], body button, body .button, body div.wpforms-container-full .wpforms-form input[type=submit], body div.wpforms-container-full .wpforms-form button[type=submit], body div.wpforms-container-full .wpforms-form .wpforms-page-button, .woocommerce-cart .wp-element-button, .woocommerce-checkout .wp-element-button, .wp-block-button__link {border:unset !important;}

form input[type=text], form input[type=password], form input[type=email], form input[type=url], form input[type=date], form input[type=month], form input[type=time], form input[type=datetime], form input[type=datetime-local], form input[type=week], form input[type=number], form input[type=search], form input[type=tel], form input[type=color], form select, form textarea {margin-bottom: 10px; /*font-size: larger;*/}

input[type=button], input[type=reset], input[type=submit], button[type=submit], .button, body div.wpforms-container-full .wpforms-form input[type=submit], body div.wpforms-container-full .wpforms-form button[type=submit], body div.wpforms-container-full .wpforms-form .wpforms-page-button, .woocommerce-cart .wp-element-button, .woocommerce-checkout .wp-element-button, .wp-block-button__link {/*font-size: larger;*/ letter-spacing:unset; text-transform: unset; }

header form input[type="search"] {color: #000;}

form input:focus:invalid, form textarea:focus:invalid {color:#000 !important;}
form select:focus:invalid {color:#1e2019 !important;}
form input[type=number] {max-width: unset;}

/*================================================================
Links & Buttons
=================================================================*/
a {color: #0071bc;}
a:hover {color: #003a61;}

.bluebutton,
body button[type="submit"] {display: inline-block; background-color: #0071bc; color: #fff; padding: 15px 35px; border-radius: 7px; line-height: 1.3em; font-weight: bold; font-size: unset; transform: scale(1); transition: all 0.3s ease; text-decoration: unset !important; }
.bluebutton.large, 
body button[type="submit"].large {font-size: larger; }
.bluebutton:hover,
body button[type="submit"]:hover {background-color: #003a61; color: #fff; transform: scale(1.05);}
body button[type="submit"]:focus {background-color: #0071bc; color: #fff;} 
.bluebutton .main {}
.bluebutton .sub {font-weight: normal; font-size:smaller; }

.bluebutton.redbutton {background-color: #b50000;}
.bluebutton.redbutton:hover {background-color: #680000;} 

/*
.outlinebutton {background-color:#0F090A; border:solid #00a5e3 1px;}
.outlinebutton:hover {background-color: #FCA311; border:solid #FCA311 1px;}
.blackbutton {background-color: #0F090B; border:none; padding: 10px 30px; box-shadow: 0 5px 8px 1px rgba(0, 0, 0, 0.3);}
.blackbutton:hover {background-color:#FCA311; border:none; box-shadow: 0 2px 6px 1px rgba(0, 0, 0, 0.3);} 
.subbutton {} 

.contentbutton a { display:inline-block; text-decoration:none!important; color: #fff; background-color: #0F090B; border:none; padding: 1em 2em; box-shadow: 0 5px 8px 1px rgba(0, 0, 0, 0.3); border-radius: 7px;}
.contentbutton a:hover { text-decoration:none!important; color: #fff; background-color:#FCA311; border:none; box-shadow: 0 2px 6px 1px rgba(0, 0, 0, 0.3);}
*/

/*================================================================
Header
=================================================================*/
#site-header {padding:10px 0; }

#site-logo #site-logo-inner {height:auto; width: 250px;}
#site-logo #site-logo-inner a {display: block; }

/*
#menu-main a {color: #fff !important; }
#menu-main a:hover {color:#EC1C24 !important;} 
#menu-main .highlight {border: solid 1px #ec1c24; border-radius: 7px; margin-left: 12px;}*/

#site-navigation-wrap {margin-top: 5px;}


@media only screen and (max-width: 360px) {
    /*#site-logo {margin: auto; float: unset; text-align: center;}*/
    #site-logo #site-logo-inner {display: inline;}
    #site-logo #site-logo-inner a {display: inline-block;}
}


/*================================================================
Menu
=================================================================*/
/*.oceanwp-mobile-menu-icon a {font-size: 22px; color:#fff; }
a.sidr-class-toggle-sidr-close {display: flex; align-items: center;}*/
#menu-main a {font-weight: bold;}



/*================================================================
Content
=================================================================*/
.section-top-bottom-padding {padding-top: 70px; padding-bottom: 70px;}

.bg-beige {background-color: #f5f1e9;}

.bg-image {}
.bg-image .bg-image-wrap {position: absolute; inset: 0; }
.bg-image .bg-image-wrap img {width: 100%; height: 100%; object-fit: cover;}
.bg-image .container {position: relative; z-index: 1;}

span.highlight {color: #00c2f3;}
.micro-heading {font-size: smaller;}

#mccgs-hero {background-image: url(https://mccgs.org.my/wp-content/themes/oceanwp-child-theme-master/images/bg-home-hero.webp); background-repeat: no-repeat; background-size: cover; background-position: center right; height:100vh; overflow: hidden; min-height: 600px; }
#mccgs-hero .container {height: 100%; position: relative; display: flex; align-items: center; justify-content: flex-start;}
#mccgs-hero .container .hero-wrapper {max-width: 720px;}
#mccgs-hero h1 {}
#mccgs-hero h2 {}
#mccgs-hero .cta {}


#mccgs-intro.bg-image .bg-image-wrap {inset:0 auto 0 0; }
#mccgs-intro .intro-wrapper {max-width: 700px; margin: auto;}


#mccgs-objective {}
#mccgs-objective.section-top-bottom-padding {padding-bottom: 0;}
#mccgs-objective .objective-wrapper {display: flex; align-items: center; flex-direction: row-reverse;}
#mccgs-objective .objective-wrapper > div {width: 50%;}
#mccgs-objective .objective-pic {}
#mccgs-objective .objective-writeup { padding: 40px;}


#mccgs-advantage {}
#mccgs-advantage .advantage-wrapper {display: flex; align-items: center; }
#mccgs-advantage .advantage-wrapper > div {width: 50%;}
#mccgs-advantage .advantage-pic {}
#mccgs-advantage .advantage-writeup {padding: 40px;}


#mccgs-stages.bg-image .bg-image-wrap {inset: 0 0 0 auto;}
#mccgs-stages .stages-wrapper {}
#mccgs-stages .stages {display: flex; justify-content: center; gap:30px; margin:40px 0; }
#mccgs-stages .stages .stage { width: calc(33% - 30px); border: solid 1px #000; border-radius: 20px; padding-top: 30px; padding-bottom: 30px;} 
#mccgs-stages .stages .stage > div,
#mccgs-stages .stages .stage > h4 {padding-left:30px; padding-right: 30px;}
#mccgs-stages .stages .stage .stage-title {background-color: #e0dbd2; padding-top:15px; padding-bottom: 15px; margin-bottom: 20px;} 
#mccgs-stages .stages .stage .stage-title h3 {margin-bottom: 0;}
#mccgs-stages .stages .stage .stage-title h4 {margin-bottom: 0;}
#mccgs-stages .stages .stage > h4 {}
#mccgs-stages .stages .stage .types {display: flex; margin-bottom: 15px; }
#mccgs-stages .stages .stage .types .type { font-weight:bold; width:45px; } 
#mccgs-stages .stages .stage .types > div:last-child {width: calc(100% - 45px);}


#mccgs-flow {}
#mccgs-flow .flows {display: flex; justify-content: center; gap: 15px;}
#mccgs-flow .flows .flow {width: calc(16% - 15px);}
#mccgs-flow .flows .flow img {width: 100%; max-width: 130px;}
#mccgs-flow .flows .flow h4 {} 


#mccgs-recent-exams {}
#mccgs-recent-exams.section-top-bottom-padding {padding-top: 0;}
#mccgs-recent-exams .recent-exams {}
#mccgs-recent-exams .recent-exams table {width: auto; margin: 20px auto;}
#mccgs-recent-exams .recent-exams .recent-exam {}
#mccgs-recent-exams .recent-exams .recent-exam > span {}
#mccgs-recent-exams .recent-exams .recent-exam .date {}
#mccgs-recent-exams .recent-exams .recent-exam .state {}
#mccgs-recent-exams .recent-exams .recent-exam .location {}


#mccgs-believe {}
#mccgs-believe .believe-wrapper { padding-top: 120px; padding-bottom: 120px;}
#mccgs-believe h3 {max-width:900px; margin:auto;}


#mccgs-faq {}
.faq-wrapper {}
.faq-wrapper > p {max-width: 700px; margin:0 auto 40px auto;}
.faq-list { width: 100%; margin:30px auto 0 auto; max-width: 700px;}
.faq-item {text-align: left;}
.faq-item .question {
  position: relative;
  cursor: pointer;
  padding: 14px 50px 14px 20px;
  transition: color 0.3s ease;
  border: 1px solid rgba(0,0,0,0.6);
  margin-bottom: 5px;
}
.faq-item .question:hover {
  color: #b50000;
  border-color: #b50000;
}
.faq-item .question::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq-item .question.active {
  color: #b50000;
  border-color: #b50000;
}
.faq-item .question.active::after {
  content: "−";
  color: #b50000;
  border-color: #b50000;
}
.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}
.faq-item .answer.active {
  opacity: 1;
  padding: 10px 50px 18px 20px;
}


/*
#mccgs-contact {}
.contact-wrapper {}
.form-wrapper {max-width: 550px; margin: auto;}
.fields-group {background: rgba(0,0,0,0.15); padding:40px; margin: 30px 0;}
.field-wrapper {display: flex;}
.field-wrapper div:first-child {width:210px; padding-top: 10px; padding-right: 10px; text-align: right;}
.field-wrapper div:last-child {width:calc(100% - 215px);}
.field-wrapper input[type=text],
.field-wrapper input[type=email],
.field-wrapper input[type=url],
.field-wrapper textarea {border: none; background: #fff; color: #000; padding: 4px 10px;}
.form-wrapper .bluebutton {margin-bottom: 8px;}
*/


/*================================================================
Application System
=================================================================*/
.mccgs-main-container {} 
.mccgs-content {margin-left: auto; margin-right: auto;} 

.mccgs-content a {font-weight: bold; text-decoration: underline; }

.mccgs-content .profile-pic > div {border: solid 1px #aaa; display:inline-block; max-width: 300px; max-height: 300px;}

.framed {border:solid 1px #bababa; border-radius:15px; padding:20px 30px; margin:0 auto 30px; }
.framed.frame-s, .frame-s .mccgs-content {width: 450px; max-width: 100%;}
.framed.frame-m, .frame-m .mccgs-content {width: 750px; max-width: 100%;}
.framed.frame-l, .frame-l .mccgs-content {width: 950px; max-width: 100%;}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.frame-s .table-scroll .data-table {
    min-width: 450px;
}
.frame-m .table-scroll .data-table {
    min-width: 750px;
}
.frame-l .table-scroll .data-table {
    min-width: 950px;
}


.framed h3 span {font-size: large;}

.single-line-text {white-space: nowrap;}

/* profile ------------------------------------------------- */
.profile-intro {display: flex; flex-direction: column; align-items: center;} 
/*.profile-intro .profile-pic {width: 300px; height: 300px;} */
.profile-intro .profile-pic-action {}
.profile-intro .profile-pic-action span a { display: inline-block; margin:5px 10px;} 
.profile-intro h2 {margin-top: 20px; margin-bottom: 20px; font-size: xx-large;}

/* dashboard -------------------------------------------- */
.dashboard-list {width: auto; margin-bottom: unset;}
.dashboard-list .dashboard-list-item {} 
.dashboard-list .dashboard-list-item td {padding: 5px 10px;}
.dashboard-list .dashboard-list-item:first-child td { padding-top:unset; } 
.dashboard-list .dashboard-list-item:last-child td {} 
.dashboard-list .dashboard-list-item td:first-child {padding-left: unset;}
.dashboard-list .dashboard-list-item td:last-child {padding-right: unset;}  
.dashboard-list .dashboard-list-item .date-state {}
.dashboard-list .dashboard-list-item .location {}
.dashboard-list .dashboard-list-item .action {}

.dashboard-result {display: flex; gap:20px; margin-bottom:20px; padding-bottom: 20px; border-bottom:solid 1px #bababa; }
.dashboard-result .stage {font-weight: bold;}
.dashboard-result .dashboard-stage-total-points .total-points {background: #f2f2f2; padding: 15px; border-radius: 10px; font-weight: bold; margin-top:20px;}

.dashboard-export-list {}
.dashboard-export-list .dashboard-export-list-item {margin-bottom: 15px;}
/*.dashboard-export-list .dashboard-export-list-item select {width: auto; margin: 0 0 0 7px;}*/
.dashboard-export-list .dashboard-export-list-item .bluebutton {padding: 9px 20px; vertical-align: middle; /*margin: 0 0 0 7px;*/}

.dashboard-export-list-item {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.dashboard-export-list-item:last-child {
    border-bottom: 0;
}

.dashboard-export-list-item form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-export-list-item form > b {
    flex: 0 0 80px;
}

.dashboard-export-list-item .select-field {
    flex: 1 1 120px;
    min-width: 0;
    margin: 0;
}

.dashboard-export-list-item .bluebutton {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}




/* form ------------------------------------------------- */
form label {display: block;} 
label.checkbox {cursor: pointer;}
/*form label:not(:last-child) {margin-bottom: 15px;}*/
form label small { display: block; font-size: 0.85em; margin:5px 0; font-style: italic; font-weight: normal;}
form label small.note {color: red; }

form label.checkbox.stage{display: inline-block; width: auto; margin-right: 10px;}

form input[type=text], form input[type=password], form input[type=email], form input[type=tel], form input[type=url], form input[type=search], form textarea, form input[type=number], form input[type=file] {display: block; width: 100%; border:none !important; background: #f2f2f2; padding:6px 10px; border-radius: 5px !important; color: #000; font-weight: normal;}

form input[type=text] {/*text-transform:uppercase;*/ }

form form[type=text].form-time {width:200px;}

form input[type=email], form input[type=url] {text-transform: lowercase;}

form input[type="date"], form input[type="time"] {background: #f2f2f2; border: 0;}
form input[type="time"] {width:200px;}
/*
form input[type=file]::-webkit-file-upload-button {visibility: hidden;}
form input[type=file] {cursor: pointer; margin-bottom:10px;} 
form input[type=file]::before {
  content: ''; width:100%; display: inline-block; outline: none; white-space: nowrap; -webkit-user-select: none;
  background-image: url(https://danapoket.com/wp-content/themes/oceanwp-child-theme-master/images/icon-upload.svg); background-repeat: no-repeat; background-position: left top 3px; background-size: 14px; padding-left: 20px; font-size: 15.5px;
}
form input[type="file"].file-selected::before {
  background-image: url(https://danapoket.com/wp-content/themes/oceanwp-child-theme-master/images/icon-upload-selected.svg);
}
form input[type=file]:hover::before { /*border-color: black;* /}
form input[type=file]:active::before { /*background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);* /}
form input[type=file]:hover {color: #0b71b7;}*/

form .radio-group {display: flex; gap: 20px; align-items: flex-start;}
form .radio-group label {display: flex; align-items: center; cursor: pointer; font-weight: normal; }
form .radio-group input[type="radio"] { appearance: none; -webkit-appearance: none; -moz-appearance: none; width: 25px; height: 25px; border: solid 5px #f2f2f2; border-radius: 50%; margin-right:4px; background-color: #fff; border: solid 1px #000; }
form .radio-group input[type="radio"]:checked {background-color: #555; }

form .select-field,
.mccgs-sidebar-mobile .select-field { appearance: none; -webkit-appearance: none; -moz-appearance: none; font-weight: normal; background-color: #f2f2f2; border: none; padding: 6px 35px 6px 10px; border-radius: 5px; background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="25" viewBox="0 0 24 24" width="25" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); background-repeat: no-repeat; background-position: right 5px center; background-size: 25px; cursor: pointer; /*font-size: 15px;*/}
.mccgs-sidebar-mobile .select-field {border: solid 1.5px #22c177; height: 45px; border-radius: 10px; }

form input[type=checkbox] {width: 25px; min-width: 25px; height: 25px; margin: -3px 0 0 0; appearance: none; -webkit-appearance: none; cursor: pointer; position: relative; border:1px solid #333;}
form input[type=checkbox]:checked { background: #28a745; }
form input[type=checkbox]:checked::before { content: ""; position: absolute; left: 7px; top: 1px; width: 9px; height: 15px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg);}

form .custom-upload {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: solid 2px #0071bc; 
    color: #0071bc;
    border-radius: 6px;
    cursor: pointer;
    font: 500 14px/1 sans-serif;
    margin-right: 10px;
}
form .custom-upload::before {
    content: "";
    width: 18px;
    height: 18px;
    display: block;
    background: no-repeat center / contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230071bc' viewBox='0 0 24 24'%3E%3Cpath d='M5 20h14v-2H5v2zm7-18-5.5 5.5 1.42 1.42L11 6.84V16h2V6.84l3.08 3.08 1.42-1.42L12 2z'/%3E%3C/svg%3E");
}
form .custom-upload:hover {
    border-color: #003a61;
    color: #003a61;
}

form input[type=number].marks-input {width: 65px; margin-bottom: unset;}
form input[type=number][disabled].marks-input {color: unset;}

input[hidden] {
  /* Your custom styles */
  display: none !important; 
}

.alert-error {font-weight:bold; color: #ca0101;}
.alert-success {font-weight:bold; color: green;}

/*
.field-row {display: flex; justify-content: flex-start;}
.field-row .label {font-weight:bold; width: 130px; padding-top:7px; }
.field-row.required .label:after {content: '*'; position: absolute; color: #ca0101;}
.field-row .value {width: calc(100% - 130px); }
.field-row .checkbox-wrapper {background: #f2f2f2; padding: 10px; width: 100%; margin-bottom: 10px; border-radius: 5px;}
.field-row .radio-group {margin-top: 5px;}
*/

.field-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
}

.field-row .label {
    flex: 0 0 130px;
    width: 130px;
    padding-top: 7px;
    font-weight: bold;
    position: relative;
}

.field-row.required .label:after {
    content: '*';
    margin-left: 3px;
    color: #ca0101;
}

.field-row .value {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.field-row .value input[type="text"],
.field-row .value input[type="date"],
.field-row .value input[type="number"],
.field-row .value select,
.field-row .value textarea {
    width: 100%;
    max-width: 100%;
}

.field-row .value textarea {
    min-height: 120px;
    resize: vertical;
}

.field-row .checkbox-wrapper {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    background: #f2f2f2;
    border-radius: 5px;
}

.field-row .radio-group {
    margin-top: 5px;
}

.field-row .value input[type="time"] {
    width: calc(50% - 20px);
    max-width: 180px;
}

@media (max-width: 600px) {

    .field-row {
        display: block;
        margin-bottom: 18px;
    }

    .field-row .label {
        display: block;
        width: 100%;
        padding-top: 0;
        margin-bottom: 6px;
    }

    .field-row .value {
        display: block;
        width: 100%;
    }

    .field-row .value input[type="text"],
    .field-row .value input[type="date"],
    .field-row .value input[type="number"],
    .field-row .value select,
    .field-row .value textarea {
        width: 100%;
    }

    .field-row .value input[type="time"] {
        width: calc(50% - 18px);
        max-width: none;
    }

}


/* details ---------------------------------------------- */
/*
.info-row {display: flex; justify-content: flex-start; padding: 12px 0; border-bottom: 1px solid #bababa;}
.info-row.highlight {background: #f2f2f2;}
.info-row .label {font-weight:bold; width: 130px; }
.info-row .value {width: calc(100% - 130px); }
.info-row.profile-pic > div {max-width: 250px; margin-bottom: 10px;}
.info-row:last-child {margin-bottom: 15px;}
*/

.info-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #bababa;
}

.info-row.highlight {
    background: #f2f2f2;
}

.info-row .label {
    flex: 0 0 130px;
    width: 130px;
    font-weight: bold;
}

.info-row .value {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.info-row.profile-pic > div {
    max-width: 250px;
    margin-bottom: 10px;
}

.info-row:last-child {
    margin-bottom: 15px;
}

@media (max-width: 600px) {

    .info-row {
        display: block;
        padding: 12px 0;
    }

    .info-row .label {
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }

    .info-row .value {
        display: block;
        width: 100%;
    }

}


/* listing ---------------------------------------------- */
.data-table {border-collapse: separate; border-spacing: 0;}
.header-row {}
.header-row th {font-weight:bold; border-top: solid 1px #bababa; border-bottom: solid 1px #bababa;}
.header-row th:first-child {padding-left:20px; border-left: solid 1px #bababa; border-top-left-radius: 10px; border-bottom-left-radius: 10px;}
.header-row th:last-child { padding-right: 20px; border-right: solid 1px #bababa; border-top-right-radius: 10px; border-bottom-right-radius: 10px;}
.data-row td {border-bottom: solid 1px #ddd;}
.data-row td:first-child {padding-left:20px; }
.data-row td:last-child { padding-right: 20px; }

.add-new-exam {margin-bottom: 20px;} 

.table-filter {margin-bottom: 10px;}
/*
.table-filter form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.table-filter input[type="search"] {
    flex: 1 1 260px;
    min-width: 220px;
}
.table-filter .select-field {
    flex: 0 1 150px;
}
.table-filter .bluebutton {padding: 9px 20px; vertical-align: middle;}
*/
.table-filter input[type="search"] {min-width: 220px; margin-left: auto; margin-right: auto; width: calc(100% - 14px);}
.table-filter select {width: auto; margin: 0 0 7px 7px;}
.table-filter .bluebutton {padding: 9px 20px; vertical-align: middle; margin: 0 0 7px 7px;}


@media (max-width: 600px) {

    .table-filter form {
        display: block;
    }

    .table-filter input[type="search"],
    .table-filter .select-field,
    .table-filter .bluebutton {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
        margin-left: 0;
    }

}

.grading-table {}
.grading-table td {vertical-align: middle;}
.grading-table input[type=text] {width: 45px; margin-bottom: unset;}

.registration-validation-table {} 


/*================================================================
Pagination
=================================================================*/
.mccgs-pagination {
    margin-top: 30px;
}

.mccgs-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.mccgs-pagination .page-numbers li {
    margin: 0;
    padding: 0;
}

.mccgs-pagination a.page-numbers,
.mccgs-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 25px;
    height: 35px;
    padding: 0 12px;

    border: 1px solid #d8d8d8;
    border-radius: 4px;

    background: #ffffff;
    color: #333333;

    line-height: 1;
    text-decoration: none;
}

.mccgs-pagination a.page-numbers:hover,
.mccgs-pagination a.page-numbers:focus {
    border-color: #555555;
    background: #f5f5f5;
    color: #111111;
}

.mccgs-pagination span.page-numbers.current {
    border-color: #333333;
    background: #333333;
    color: #ffffff;
}

.mccgs-pagination span.page-numbers.dots {
    min-width: auto;
    padding-right: 4px;
    padding-left: 4px;

    border-color: transparent;
    background: transparent;
}

@media screen and (max-width: 480px) {

    .mccgs-pagination a.page-numbers,
    .mccgs-pagination span.page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 9px;
    }

}


/*================================================================
Footer
=================================================================*/
#footer {padding-top: 50px;}
#footer.bg-image .bg-image-wrap {inset: 0 0 0 auto;}
#footer-widgets .footer-box {padding: 0 30px;}
.footer-widgets-inner {display: flex; justify-content: center; align-items: flex-start; margin-top: 20px;}
body .oceanwp-row .span_1_of_3 {max-width: 33.33%; width: auto; }
#footer-widgets {border-top: solid 1px rgba(0, 0, 0, 0.7); border-bottom: solid 1px rgba(0, 0, 0, 0.7);}
#footer-bottom-inner { padding-bottom: 20px; font-weight: bold; }

#footer-widgets p,
#footer-widgets li {font-size: smaller;}



/*================================================================
Responsive
=================================================================*/
@media screen and (max-width: 768px) {

  .section-top-bottom-padding {padding-top: 60px;padding-bottom: 60px;}

  #mccgs-hero {background-position: center center;}

  #mccgs-objective .objective-wrapper {flex-direction: column;}
  #mccgs-advantage .advantage-wrapper {flex-direction: column;}

  #mccgs-objective .objective-wrapper > div {width: 100%; max-width: 500px;}
  #mccgs-advantage .advantage-wrapper > div {width: 100%; max-width: 500px;}

  #mccgs-stages .stages {flex-wrap: wrap;}
  #mccgs-stages .stages .stage {width: 100%; max-width: 500px;}

  #mccgs-flow .flows {flex-wrap: wrap;}
  #mccgs-flow .flows .flow {width: calc(33% - 15px);}
  #mccgs-flow .flows .flow img {max-width: 100px;}

  #footer .footer-widgets-inner {flex-direction: column;}
  #footer .footer-widgets-inner .footer-box.span_1_of_3.col-1 {width: auto !important; max-width: 400px;}
  #footer .footer-widgets-inner .footer-box.span_1_of_3.col-1 figure {max-width:200px;}
  #footer .footer-widgets-inner .footer-box.span_1_of_3.col-1 figure img {width: 100% !important;}
  #footer .footer-widgets-inner .footer-box.span_1_of_3.col-2 {width: auto !important; max-width: 400px;}
  #footer .footer-widgets-inner .footer-box.span_1_of_3.col-3 {width: auto !important; max-width: 400px;}


  .dashboard-list,
  .dashboard-list tbody,
  .dashboard-list tr,
  .dashboard-list td {
      display: block;
      width: 100%;
  }
  .dashboard-list .dashboard-list-item {
      padding: 15px 0;
      border-bottom: 1px solid #ddd;
  }
  .dashboard-list .dashboard-list-item:first-child {padding-top: 0;}
  
  .dashboard-list .dashboard-list-item td {
      padding: 3px 0;
      border: 0;
  }
  .dashboard-list .date-state {
      font-weight: 600;
  }

  .dashboard-export-list-item {
      padding: 20px 0;
  }
  .dashboard-export-list-item form {
      flex-wrap: wrap;
      align-items: center;
  }

  .dashboard-export-list-item form > b {
      flex: 0 0 100%;
      margin-bottom: 5px;
  }

  .dashboard-export-list-item .select-field {
      flex: 1 1 calc(50% - 5px);
  }

}

@media only screen and (max-width: 480px) {

  #footer .footer-widgets-inner .footer-box.span_1_of_3.col-1 figure {max-width:150px;}

  .dashboard-export-list-item form {
      display: block;
  }
  .dashboard-export-list-item form > b {
      display: block;
      margin-bottom: 12px;
  }
  .dashboard-export-list-item .select-field {
      display: block;
      width: 100%;
      max-width: none;
      margin: 0 0 10px;
  }
  .dashboard-export-list-item .bluebutton {
      display: block;
      width: 100%;
      margin-top: 15px;
      text-align: center;
  }

}


/* ==========================================================================
   Candidate Dashboard Results
   ========================================================================== */

@media (max-width: 600px) {

    .dashboard-result .dashboard-list,
    .dashboard-result .dashboard-list tbody,
    .dashboard-result .dashboard-list tr,
    .dashboard-result .dashboard-list td {
        display: block;
        width: 100%;
    }

    .dashboard-result .dashboard-list-item {
        padding: 12px 0;
        border-bottom: 1px solid #ddd;
    }

    .dashboard-result .dashboard-list-item td {
        padding: 3px 0;
        border: 0;
    }

    /*
    |--------------------------------------------------------------------------
    | Subject / Grade / Points
    |--------------------------------------------------------------------------
    */

    .dashboard-result .subject-grade-points {
        font-weight: normal;
        margin-bottom: 2px;
    }

    /*
    |--------------------------------------------------------------------------
    | Grade Code
    |--------------------------------------------------------------------------
    */

    .dashboard-result .grade {
        margin-bottom: 2px;
    }

    /*
    |--------------------------------------------------------------------------
    | Exam Date / State
    |--------------------------------------------------------------------------
    */

    .dashboard-result .date-state {
        margin-bottom: 5px;
    }

    /*
    |--------------------------------------------------------------------------
    | Action
    |--------------------------------------------------------------------------
    */

    .dashboard-result .action {
        margin-top: 6px;
    }

    /*
    |--------------------------------------------------------------------------
    | Remove Desktop No-wrap
    |--------------------------------------------------------------------------
    */

    .dashboard-result .single-line-text {
        white-space: normal;
    }

}



/*================================================================
Content revealing effect
=================================================================*/
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item.show { opacity:1; transform:translateY(0); }


/*================================================================
Form 
=================================================================*/
/* Hidden honeypot */
.hp {
  display: none !important;
}

/* Field error state */
#mccgs-contact-form .error {
  border-color: #d93025 !important;
}

/* Response box */
#mccgs-form-response {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Error */
#mccgs-form-response.error {
  display: block;
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f5c2c0;
}

/* Success */
#mccgs-form-response.success {
  display: block;
  background: #edf7ed;
  color: #1e7e34;
  border: 1px solid #b7dfc2;
}


/*================================================================
Float WhatsApp
=================================================================*/
.whatsapp-float {
  position: fixed; right: 12px; bottom: 15px; z-index: 99999; transition: bottom 0.3s ease, right 0.3s ease;
}
.whatsapp-float img {
  /*border-radius: 50%; */
  transition: transform .3s; display: block;
}
.whatsapp-float img:hover { transform: scale(1.06); }

@media (max-width: 479px) {
  .whatsapp-float { right: 3px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
  .whatsapp-float img { transition: none; }
}



/*
|--------------------------------------------------------------------------
| Modal
|--------------------------------------------------------------------------
*/

.mccgs-modal {
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, 0.65);
}

.mccgs-modal.is-open {
    display: flex;
}


/*
|--------------------------------------------------------------------------
| Modal Dialog
|--------------------------------------------------------------------------
*/

.mccgs-modal-dialog {
    position: relative;

    width: 100%;
    max-width: 900px;
    max-height: calc(100vh - 60px);

    background: #fff;
    border-radius: 8px;

    overflow: hidden;
}


/*
|--------------------------------------------------------------------------
| Modal Content
|--------------------------------------------------------------------------
*/

.mccgs-modal-content {
    max-height: calc(100vh - 60px);
    overflow-y: auto;

    padding: 40px;
}

.mccgs-modal-content h2 {
    margin-top: 0;
}

.mccgs-modal-content h3 {
    /*margin-top: 35px;*/
}

.mccgs-modal-content p {
    line-height: 1.8;
}


/*
|--------------------------------------------------------------------------
| Close Button
|--------------------------------------------------------------------------
*/

.mccgs-modal-close {
    position: absolute;
    z-index: 2;

    top: 12px;
    right: 15px;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 0;
    background: transparent;

    font-size: 32px;
    line-height: 40px;

    cursor: pointer;
}

.mccgs-modal-close:hover {color: #fff;}


/*
|--------------------------------------------------------------------------
| Requirement Note
|--------------------------------------------------------------------------
*/

.mccgs-modal-note {
    margin-top: 25px;
    padding: 18px 20px;

    background: #f2f2f2;
    border-radius: 5px;

    line-height: 1.8;
}


/*
|--------------------------------------------------------------------------
| Requirement Levels
|--------------------------------------------------------------------------
*/

.mccgs-requirement-level {
    margin-top: 40px;
    padding-top: 10px;
    border-top: 1px solid #bababa;
}

.mccgs-requirement-level ol {
    columns: 2;
    column-gap: 40px;

    margin-bottom: 0;
}

.mccgs-requirement-level li {
    break-inside: avoid;
    margin-bottom: 5px;
}


/*
|--------------------------------------------------------------------------
| Stage More
|--------------------------------------------------------------------------
*/

.stage-more {
    margin-top: 20px;
}

.mccgs-modal-trigger {
    padding: 8px 18px;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
}


/*
|--------------------------------------------------------------------------
| Modal Open Body
|--------------------------------------------------------------------------
*/

body.mccgs-modal-open {
    overflow: hidden;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

    .mccgs-modal {
        padding: 15px;
    }

    .mccgs-modal-dialog {
        max-height: calc(85vh - 30px);
    }

    .mccgs-modal-content {
        max-height: calc(85vh - 30px);
        padding: 30px 20px;
    }

    .mccgs-requirement-level ol {
        columns: 1;
    }
}


/*
|--------------------------------------------------------------------------
| Homepage Exam Announcement
|--------------------------------------------------------------------------
*/

.mccgs-announcement-modal .mccgs-modal-dialog {
    max-width: 700px;
}

.mccgs-announcement-label {
    display: inline-block;
    margin-bottom: 15px;
    padding: 6px 12px;
    border-radius: 4px;
    background: #f1ece2;
    font-size: 14px;
    font-weight: 600;
}

.mccgs-announcement-intro {
    margin-bottom: 25px;
}

.mccgs-announcement-details {
    margin: 25px 0;
    border-top: 1px solid #ddd;
}

.mccgs-announcement-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.mccgs-announcement-row .label {
    font-weight: 600;
}

.mccgs-announcement-modal .cta {
    margin-top: 25px;
    text-align: center;
}


/*
|--------------------------------------------------------------------------
| Homepage Exam Announcement - Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

    .mccgs-announcement-row {
        grid-template-columns: 1fr;
        gap: 3px;
    }

}


/*
|--------------------------------------------------------------------------
| Profile Picture Cropper
|--------------------------------------------------------------------------
*/

.profile-picture-crop-container {
    width: 100%;
    max-width: 600px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.profile-picture-crop-container img {
    display: block;
    max-width: 100%;
}

/*
|--------------------------------------------------------------------------
| Profile Picture Cropper - Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

    .profile-picture-crop-container {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 1 / 1;
    }

}



@media (max-width: 767px) {
    .cta .bluebutton:not(:last-child) {margin-bottom:8px; }
}



/*
|--------------------------------------------------------------------------
| Staging Environment
|--------------------------------------------------------------------------
*/

.mccgs-staging-banner {
    position: relative;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;

    width: 100%;
    padding: 8px 16px;

    background: #b32d2e;
    color: #fff;

    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.mccgs-staging-banner strong {
    font-weight: 700;
}

.mccgs-staging-banner a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.mccgs-staging-banner a:hover,
.mccgs-staging-banner a:focus {
    color: #fff;
    text-decoration: none;
}