.msc-form input:focus,
.msc-form select:focus,
.msc-form textarea:focus,
#sort-by-filter:focus
{
    outline: 5px solid #0f2345 !important;
}

.msc-form .amount input[type="radio"]:focus + label,
.msc-form .amount input[type="radio"]:focus-visible + label {
    outline: 4px solid #0f2345 !important;
}

.success { background-color: #0f2345; color:#fff;}
.attention { background-color: #0f2345; color:#fff;}
.information { background-color: #0f2345; color:#fff;}
.required { color: #0f2345; font-size: 16px; }
.icw-main-title{color:#0f2345;}
.icw-title-1{color:#0f2345; font-weight:normal; font-size:34px; margin-bottom:40px;}
.icw-title-1 span:before{position:absolute;content:""; width:40px; height:3px; background-color:#0f2345; bottom:-5px; left:50%; margin-left:-20px;}
.green{color:#0f2345; font-family: 'Open Sans', sans-serif; font-size:14px; font-weight:700; display:block; margin-bottom:5px;}

.announcements-popup {
    border: 1px solid #0f2345;
}
@keyframes mymove{from {top:5px; opacity: 0;}to {top:20px; opacity: 1;}}
@-webkit-keyframes mymove {from {top:5px; opacity: 0;}to {top:20px; opacity: 1;}}
.icw-secondary-menu a{padding-right:30px; color:#444444; font-size: 14px; font-weight:100; font-family: 'Open Sans', sans-serif;}
.icw-secondary-menu a:hover{ color:#0f2345; text-decoration:underline;}
.cms-blocks {
    display: table;
}
.block-content {
    display: table;
}
.tabs-faq li.current { position: relative; background-color: #0f2345; z-index: 5; }
.tabs-faq li a { padding: 14px; color: #444444; text-decoration: none; font-family: 'Open Sans', sans-serif; font-weight:400; display:block; height: 51px; line-height:21px;}
#nav > li > a:hover, #nav > li > a.active {
    color: #0f2345;
}
.form-section label {font-size: 14px;color: #898989; font-weight: 600; text-transform: uppercase;}
.form-section .required {font-size:14px; color:#0f2345; padding-top: 16px;display: inline-block;line-height: 100%;}
.radio input:checked + .outer { border: 5px solid #0f2345; }
.tabs-withdraw li.current { position: relative; background-color: #0f2345; z-index: 5; }
.form-section .required {font-size:14px; color:#0f2345; padding-top: 16px;display: inline-block;line-height: 100%;}
.inline-manual .inline-steps .heading{background-color: #0f2345; color: #fff; font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: 100; padding: 15px 20px;}
.inline-manual .inline-steps .step span a:hover{color: #0f2345;}
.inline-manual .btn{border: 3px solid #0f2345; background: #0f2345; color: #fff; font-family: 'Open Sans', sans-serif; font-size: 14px; text-align: center; padding: 8px 35px;}
.error-page .green-child{background-image: url(icons/msp/sad-child.png); background-position: center; width: 240px; height: 260px; display: block; background-repeat: no-repeat; margin: 100px auto 40px;}
.error-page .error-page-div .green-caller{background-image: url(icons/msp/caller.png); background-position: center; width: 100%; height: 95px; display: block; background-repeat: no-repeat; background-size:contain;}
.error-page .error-page-div .error-title{color: #0f2345; display: block; font-weight: 600; font-size: 18px; padding-top: 40px;}
@media only screen and (max-width: 768px){
    .error-page .main-title{padding:10px 0px;}
}
table.list{overflow-x:scroll !important; display:inline-block;}
.success-div{
    border: 1px solid #0f2345;
}
.form-section label {font-size: 14px; font-family: 'Open Sans', sans-serif; color: #898989; font-weight: 600; text-transform: uppercase;}
.form-section .required {font-family: 'Open Sans', sans-serif; font-size:14px; color:#0f2345; padding-top: 16px;display: inline-block;line-height: 100%;}
.form-section span.error {
    background-color: #0f2345;
}
.password-text-agree{line-height: 40px; color: #898989;font-family: 'Open Sans', sans-serif; font-weight: 500; margin-left:5px;}
.radio input:checked + .outer { border: 5px solid #0f2345; }
.dialogues .icon-sad-child{
    width: 90px;
    height: 90px;
}
.radio .radio-text{
    color:#a1a1a1;
}
.radio .radio-text.disabled a{color:#0f2345;}
.radio .radio-text.disabled a:hover{color:#0f2345;}
.radio input:checked + .outer { border: 5px solid #0f2345; }
.pagination a:hover, .pagination b:hover{
    background-color: #0f2345 !important;
}
.pagination b {
    background-color: #0f2345 !important;
}
.shop .name{padding: 10px 0px 0px; float:none; text-align:center; width:auto; margin:0px auto; overflow:visible;}
.bottom-footer {font-family: 'Monsterrat', sans-serif; font-size:14px;}
.footer-top{position: relative;width: 100%;margin: 0 auto; clear: both; display: table; z-index: 2;border-top: 4px solid #0f2345; font-family: 'Open Sans', sans-serif;}
.footer-top .inner-footer .footer-primary-links h4{display:inline-block;margin:10px 0;}
.footer-top .inner-footer .footer-primary-links h4 a{font-size:16px; color:#fff; display:inline-block; padding:0px 10px;}
a:hover{color: #0f2345}
/* Theme-specific button - MSP Colour */
.msc-btn.btn-app {
    color: #FFFFFF;
    background-color: #0f2345 !important;
    border: 3px solid #0f2345 !important;
}
.msc-btn.btn-app:focus,
.msc-btn.btn-app:focus-visible {
    color: #FFFFFF;
    outline-color: #304b73 !important;
    border-color: #304b73 !important;
    outline-offset: -4px;
}
.msc-btn.btn-app:hover {
    color: #FFFFFF;
    background-color: #304b73 !important;
    border: 3px solid #304b73 !important;
}

/* Theme-specific outline button - MSP Colour */
.msc-btn.btn-app-outline {
    color: #000000;
    background-color: transparent !important;
    border: 3px solid #0f2345 !important;
}
.msc-btn.btn-app-outline:focus,
.msc-btn.btn-app-outline:focus-visible {
    outline-color: #0f2345 !important;
    border-color: #0f2345 !important;
    outline-offset: -4px;
    color: #0f2345;
}
.msc-btn.btn-app-outline:hover {
    color: #FFFFFF;
    background-color: #304b73 !important;
    border: 3px solid #304b73 !important;
}

.error-page .error-page-div .green-chat{background-image: url(icons/msp/chat.png);}
.error-page .error-page-div .green-mail{background-image: url(icons/msp/mail.png);}

.dialogues .icon-money {
    background-image: url(icons/msp/fund.png);
}
.dialogues .icon-thumb {
    background-image: url(icons/msp/happy-child.png);
}
.dialogues .icon-sad-child {
    background-image: url(icons/msp/sad-child.png);
}


/* Radio button styles */
.radio-field:hover .radio-indicator {
    border-color: #0f2345 !important;
}

.input-radio:checked + .radio-indicator {
    border-color: #0f2345 !important;
}

.input-radio:checked + .radio-indicator::after {
    background: #0f2345 !important;
}

.input-radio:focus + .radio-indicator,
.input-radio:focus-visible + .radio-indicator {
    border-color: #0f2345 !important;
    box-shadow: 0 0 0 3px rgba(15, 35, 69, 0.25) !important;
}

/* My School Payments info page (home8.tpl) */
.msp-home .msp-section-title {color: #0f2345 !important; font-family: 'Open Sans', sans-serif; font-size: 25px; font-weight: 800; line-height: 32px; text-align: center; text-transform: uppercase; margin: 0 0 45px;}

/* 1. Hero */
.msp-hero {background-color: #b3b3b4; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%); padding: 30px 20px calc(10px + 5vw);}
.msp-hero .icw-container {display: flex; flex-wrap: wrap; align-items: flex-start; max-width: 1000px !important;}
.msp-hero-img {padding-right: 40px;}
.msp-hero-img img {display: block; width: 100%; max-width: 495px; margin-left: auto;}
.msp-hero-txt {max-width: 480px; padding-left: 10px;}
.msp-home .msp-hero-txt h2 {color: #0f2345 !important; font-family: 'Open Sans', sans-serif; font-size: 30px; font-weight: 800; line-height: 40px; text-transform: uppercase; margin: 0 0 20px;}
.msp-hero-txt p {color: #444444; font-size: 14px; font-weight: 400; line-height: 25px; margin: 0 0 15px;}
.msp-hero-txt .msp-hero-strong {color: #444444; font-weight: 700;}
.msp-hero-buttons {display: flex; flex-wrap: wrap; gap: 15px; margin-top: 25px;}
.msp-home .msp-hero .msc-btn.btn-app-outline:not(:hover) {background-color: #ffffff !important; color: #0f2345;}

/* 2. A Better Way to Manage School Payments */
.msp-better-way {display: flex; align-items: center; justify-content: space-between; max-width: 1000px; margin: 0 auto; padding: 40px 20px 70px;}
.msp-better-way-txt {flex: 0 1 520px;}
.msp-home .msp-better-way-txt h2 {color: #0f2345 !important; font-family: 'Open Sans', sans-serif; font-size: 24px; font-weight: 800; line-height: 30px; margin: 0 0 25px;}
.msp-better-way-txt p {color: #444444; font-size: 14px; font-weight: 400; line-height: 25px; margin: 0 0 15px;}
.msp-better-way-img {flex: 0 1 330px; padding-left: 30px;}
.msp-better-way-img img {display: block; width: 100%;}

/* 3. For Parents and 4. For Schools: photo on one half, text panel on the other */
.msp-split {display: flex; min-height: 460px;}
.msp-split-img, .msp-split-panel {flex: 0 0 50%;}
.msp-home .msp-split-img img {display: block; width: 100%; height: 100% !important; object-fit: cover;}
.msp-split-panel {display: flex; flex-direction: column; justify-content: center; background-color: #b3b3b4; color: #444444; padding: 50px 60px 50px 120px;}
.msp-home .msp-split-panel h2 {color: #444444 !important; font-family: 'Open Sans', sans-serif; font-size: 24px; font-weight: 800; line-height: 28.8px; margin: 0 0 10px;}
.msp-home .msp-split-panel h3 {color: #444444 !important; font-family: 'Open Sans', sans-serif; font-size: 18px; font-weight: 600; line-height: 25px; margin: 0 0 30px;}
.msp-split-panel p {font-size: 14px; font-weight: 300; line-height: 25px; margin: 0 0 5px;}
.msp-home .msp-split-panel ul {margin: 0; padding: 0 0 0 18px;}
.msp-split-panel li {font-size: 14px; font-weight: 300; line-height: 25px; margin-bottom: 5px;}
.msp-split-dark .msp-split-panel {background-color: #0f2345; color: #ffffff; padding-left: max(40px, calc(50vw - 500px));}
.msp-home .msp-split-dark .msp-split-panel h2, .msp-home .msp-split-dark .msp-split-panel h3 {color: #ffffff !important;}

/* 5. Why Schools Choose My School Payments and 6. How It Works */
.msp-why {padding: 70px 20px 40px;}
.msp-how {padding: 30px 20px 80px;}
.msp-home .msp-features, .msp-home .msp-steps {display: flex; flex-wrap: wrap; justify-content: center; max-width: 1100px; margin: 0 auto; padding: 0; list-style: none;}
.msp-feature, .msp-step {position: relative; flex: 0 0 20%; padding: 0 12px; margin-bottom: 30px; text-align: center;}
.msp-feature-icon {display: flex; align-items: flex-end; justify-content: center; height: 110px; margin-bottom: 25px;}
.msp-feature-icon img {width: auto; max-height: 110px;}
.msp-home .msp-feature-title {display: flex; align-items: center; justify-content: center; min-height: 50px; color: #444444 !important; font-family: 'Open Sans', sans-serif; font-size: 18px; font-weight: 700; line-height: 25px; text-transform: uppercase; margin: 0 0 12px;}
.msp-feature-desc {color: #444444; font-size: 14px; font-weight: 300; line-height: 25px; margin: 0;}
.msp-step-number {display: block; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background-color: #0f2345; color: #ffffff; font-size: 35px; font-weight: 800; line-height: 76px;}
/* Arrow from this step's circle to the next one: a line plus a rotated chevron */
.msp-step:not(:last-child)::after {content: ""; position: absolute; top: 37px; left: calc(50% + 50px); width: calc(100% - 100px); height: 2px; background-color: #304b73;}
.msp-step:not(:last-child)::before {content: ""; position: absolute; top: 33px; left: calc(150% - 62px); width: 10px; height: 10px; box-sizing: border-box; border-top: 2px solid #304b73; border-right: 2px solid #304b73; transform: rotate(45deg);}

/* 7. Closing band */
.msp-cta {background-color: #0f2345; color: #ffffff; text-align: center; padding: 55px 20px 60px;}
.msp-home .msp-cta h2 {color: #ffffff !important; font-family: 'Open Sans', sans-serif; font-size: 24px; font-weight: 800; line-height: 30px; margin: 0 0 20px;}
.msp-cta p {font-size: 14px; font-weight: 400; line-height: 25px; margin: 0 0 12px;}
.msp-cta .msp-cta-strong {font-weight: 700;}
.msp-cta-buttons {display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 30px;}
.msp-home .msp-cta .msc-btn.btn-app:not(:hover) {background-color: #ffffff !important; border-color: #ffffff !important; color: #0f2345;}

@media only screen and (max-width: 980px) {
    .msp-split-panel, .msp-split-dark .msp-split-panel {padding: 40px 30px;}
    .msp-feature, .msp-step {flex-basis: 33.33%;}
    .msp-step::before, .msp-step::after {display: none;}
}
@media only screen and (max-width: 760px) {
    .msp-hero-img {padding-right: 0; margin-bottom: 25px;}
    .msp-hero-img img {margin: 0 auto;}
    .msp-hero-txt {max-width: none; padding-left: 0;}
    .msp-home .msp-hero-txt h2 {font-size: 25px; line-height: 30px;}
    .msp-better-way {flex-direction: column; padding: 30px 20px 50px;}
    .msp-better-way-txt {flex-basis: auto;}
    .msp-better-way-img {flex-basis: auto; max-width: 330px; padding: 20px 0 0;}
    .msp-split {flex-direction: column; min-height: 0;}
    .msp-split-dark {flex-direction: column-reverse;}
    .msp-home .msp-split-img img {height: auto !important;}
    .msp-split-panel, .msp-split-dark .msp-split-panel {padding: 30px 20px;}
    .msp-feature, .msp-step {flex-basis: 50%;}
}
@media only screen and (max-width: 470px) {
    .msp-feature, .msp-step {flex-basis: 100%;}
}
