html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.row {
    align-items: stretch;
}

.grey {
    background-color: #f5f5f5;
}

.bg-color-srt{
    background-color: #C6982F;
}

.border-radius-left-top{
    border-top-left-radius: 150px;
}

.border-radius-right-top{
    border-top-right-radius: 150px;
}

.get-licenced-box,
.sia-shortage-box,
.martyns-law-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sia-shortage-box{
    background-color: #121212;
    width: 100%;
    min-height: 360px;;
    border-radius: 15px;
    border: 6px solid #C6982F;
    padding: 10px;
    align-content: center;
}

.sia-shortage-box-auto{
    align-content: center;
    justify-content: center;
    align-items: center;
    background-color: #121212;
    width: 100%;
    height: auto;
    border-radius: 5px;
    border: 6px solid #c6982f;
    padding: 5px;
    align-content: center;
    margin-top: 0px;
}

.sia-shortage-box-brand-text{
    color: #C6982F;
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 600;
}

.sia-shortage-box h2{
    color: #ffffff;
    font-size: 48px;
    text-transform: uppercase;
    line-height: 1;
}

.sia-shortage-box.bg-image {
    background-image: url("../img/backgrounds/sia_shortage.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 30px;
    min-height: 320px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

/* Optional dark overlay so text stays readable */
.sia-shortage-box.bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 0;
}

/* Keep content above overlay */
.sia-shortage-box.bg-image > * {
    position: relative;
    z-index: 1;
}

.get-licenced-box{
    background-color: #121212;
    width: 100%;
    min-height: 360px;;
    border-radius: 15px;
    border: 6px solid #C6982F;
    padding: 10px;
    align-content: center;
    color: #fff;
}

.get-licenced-box-auto{
    align-content: center;
    justify-content: center;
    align-items: center;
    background-color: #121212;
    width: 100%;
    height: auto;
    border-radius: 25px;
    border: 6px solid #c6982f;
    padding: 5px;
    align-content: center;
    margin-top: 0px;
}

.get-licenced-brand-text{
    color: #C6982F;
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 600;
}

.get-licenced-box h2{
    color: #ffffff;
    font-size: 48px;
    text-transform: uppercase;
    line-height: 1;
}

.get-licenced-box.bg-image {
    background-image: url("../img/backgrounds/get_sia.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 30px;
    min-height: 320px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

/* Optional dark overlay so text stays readable */
.get-licenced-box.bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 0;
}

/* Keep content above overlay */
.get-licenced-box.bg-image > * {
    position: relative;
    z-index: 1;
}

.martyns-law-box{
    background-color: #121212;
    width: 100%;
    min-height: 360px;;
    border-radius: 15px;
    border: 6px solid #C6982F;
    padding: 10px;
    align-content: center;
}

.martyns-law-box-auto{
    align-content: center;
    justify-content: center;
    align-items: center;
    background-color: #121212;
    width: 100%;
    height: auto;
    border-radius: 5px;
    border: 6px solid #c6982f;
    padding: 5px;
    align-content: center;
    margin-top: 0px;
}

.martyns-law-box-brand-text{
    color: #C6982F;
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 600;
}

.martyns-law-box h2{
    color: #ffffff;
    font-size: 48px;
    text-transform: uppercase;
    line-height: 1;
}

.martyns-law-box.bg-image {
    background-image: url("../img/backgrounds/martyns_law.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 30px;
    min-height: 320px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

/* Optional dark overlay so text stays readable */
.martyns-law-box.bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    z-index: 0;
}

/* Keep content above overlay */
.martyns-law-box.bg-image > * {
    position: relative;
    z-index: 1;
}


.course-card{
    border: 3px solid #C6982F;
    background-color: #000;
    border-radius: 14px;
    color: #fff;
}

.img-shadow{
    box-shadow: 20px 4px 2px -2px rgba(0, 0, 0, 0.9);!important
}

.course-card-single{
    background-color: #000;
    border-radius: 14px;
    color: #fff;
    margin: auto;
}

.btn-course{
    background-color: #C6982F;
    border-radius: 4px;
    border: 1px solid #edc569;
    margin-top: 5px;
    color: #fff;
    font-size: 14px;
    border: 1px solid #000;
}

.btn-course:hover{
    background-color: #000;
    border-radius: 4px;
    border: 1px solid #edc569;
    margin-top: 5px;
    color: #fff;
    font-size: 14px;
    border: 1px solid #C6982F;
}

.btn-secondary{
    border-radius: 18px;
    
}

.course-detail-link{
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    margin-left: 12px;
    padding: 10px;
}

.course-details{
    list-style-type: none;
    max-width: 80%;
    align-content: center;
    align-items: center;
    margin: auto;

}

.hr-black{
    background-image: linear-gradient(to bottom right, #000, #C6982F);
    height: 8px;
    margin: auto;
    width: 90%;
}

.hr-srt{
    background-color: #000;
    height: 5px;
    margin: auto;
    width: 100%;
}

.hr-thin{
    background-image: linear-gradient(to bottom right, #000, #C6982F);
    height: 2px;
    margin: auto;
    width: 100%;
}

/*Slide-button*/
.button-container{
    background-color: transparent;
    display: flex;
    margin-top: 12px;
    margin-bottom: 20px;
}

.button{
/*Off position, background.*/
    background-color: #d2d2d2;
/*    box-shadow: 0 0 0 4px #353535, 0 0 0 5px #3e3e3e, inset 0 0 10px rgba(0,0,0,1), 0 5px 10px rgba(0,0,0,.5);*/
    width: 60px;
    height: 20px;
    border-radius: 200px;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.button::before{
    /*Off position. Slider*/
/*    box-shadow: 0 0 0 4px #353535, 0 0 0 5px #3e3e3e, inset 0 0 10px rgba(0,0,0,1), 0 5px 10px rgba(0,0,0,.5);*/
    position: absolute;
    content: '';
    background-color: #fff;
    width: 16px;
    height: 16px;
    border-radius: 200px;
    margin: 2px;
    transition: 0.3s;
}

input:checked + .button{
/*Slide button on*/
    background-color: #000;
/*    box-shadow: 0 0 0 3px #C6982F, 0 0 0 4px #3e3e3e, inset 0 0 10px rgba(0,0,0,1), 0 5px 10px rgba(0,0,0,.9);*/
}

input:checked + .button::before{
/*Slide button off*/
    background-color: #C6982F;
    transform: translateX(40px);
    box-shadow: 0 0 0 2px #C6982F, 0 0 0 2px #3e3e3e, inset 0 0 3px rgba(0,0,0,1), 0 2px 2px rgba(0,0,0,.9);*/
}

input:checked + .button::after{
/*Slide button off*/
    position: absolute;
    content: '';
    transition: 0.7s;
    color: #fff;
    top: 10px;
    left: 20px;
}

/*
input{
    display: none;
}
*/

.progress-bar-primary{
    background-color: #000;
}

.body-no-top-margin{
    margin-top: 0px;
}

.price-table-list{
    font-size: 15px;
    font-weight: 500;
    color: #000;
}

.text-right{
    text-align: right;
    color: #fff;
    font-size: 14px;
}

.updateMessageBox {
    width: 60%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    background-color: #000;
    color: #fff;
    align-content: center;
    text-align: center;
    font-size: 14px;
    z-index: 9999;
    padding-top: 3px;
    border: 4px solid #C6982F;
    border-radius: 20px;

    animation: updateMessageBox 4s 1;
    -webkit-animation: updateMessageBox 4s 1;
    animation-fill-mode: forwards;

    animation-delay: 4s;
    -webkit-animation-delay: 4s;
    /* Safari and Chrome */
    -webkit-animation-fill-mode: forwards;
}

@keyframes updateMessageBox {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@-webkit-keyframes updateMessageBox {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/*Text formatiing Job Description, application*/
.vacancy-description ul.tick-list { list-style: none; padding-left: 0; margin-left: 0; }
.vacancy-description ul.tick-list li { position: relative; padding-left: 1.6rem; margin: .35rem 0; }
.vacancy-description ul.tick-list li::before {
  content: "";
  position: absolute; left: 0; top: .2rem; width: 1.1rem; height: 1.1rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="12" fill="%2322c55e"/><path fill="%23fff" d="M10 15l-3-3 1.4-1.4 1.6 1.6 5.6-5.6 1.4 1.4z"/></svg>') no-repeat center / contain;
}

/* Vacancy description styling */
.vacancy-description h3,
.vacancy-description h4 {
  margin-top: 0.5rem;   /* reduce space above */
  margin-bottom: 0.5rem; /* reduce space below */
  line-height: 1.3;     /* tighter line spacing */
}

/* Paragraphs in vacancy descriptions */
.vacancy-description p {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}


