  /* Global */
.row {
    padding-bottom:0!important; /** override bootstrap **/
}

.white-text {
    color: #fff !important;
    font-weight: 700;
}

.black-text {
    color: #000 !important;
    font-weight: 700;
}

.cebsa-yellow-link {
    background-color: #fdb813;
    padding: 0.7em;
    display: inline-block;
    color: #000 !important;
    font-weight: 700;
    text-decoration: none !important;
}

p {
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
}

/* Home Page */
.cebsa-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.cebsa-nav-list .cebsa-nav-listitem {
    text-align: center;
}

.cebsa-nav-list .cebsa-nav-listitem {
    border-bottom: 2px solid #000;
}

.cebsa-nav-list .cebsa-nav-listitem a {
    display: block;
    color: #000;
    font-weight: bold;
    text-decoration: none;
  /*  padding: 0 1.3em;  */
}

.cebsa-nav-list .cebsa-nav-listitem a:hover,
.cebsa-nav-list .cebsa-nav-listitem a:focus {
    text-decoration: underline;
}

.cebsa-colored-section {
    background-color: #DBDBDB;
    padding: 1em;
    margin-bottom: 1em;
}

.cebsa-colored-section p:last-child {
    margin-bottom: 0;
}

.cebsa-yellow-link:hover,
.cebsa-yellow-link:focus {
    text-decoration: underline !important;
}

.link-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
}

.box {
    padding: .5em;
    width: 100%;
    height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.box img {
    width: 30% !important;
}

.box.blue {
    background-color: #3D62AE;
}

.box.grey {
    background-color: #898989;
}

.box.yellow {
    background-color: #FBB90D;
}

.box.grey100 {
    background-color: #DBDBDB;
}

.box.peach {
    background-color: #F7CF6F;
}

.tw-skip-link {
    display: block;
    height: 0;
    overflow: none;
}

.tw-skip-link:focus {
    height: auto;
}

/* Resources Page */
#TDSBpageFrameMediumExtraFP {
    background-image: url("/images/TDSB/bkgPage_default.jpg");
}

.contentBox {
    margin-top: 60px;
}

.contact-container {
    background-color: #FDB813;
    padding: .2em;
}

.contact-container h3 {
    padding: .5em;
}

.contact-container .contact-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-container .contact-list ul li {
    padding: .8em;
    margin-block: .5em;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-container .contact-list ul li p {
    margin: 0;
}


.yellow-box, .white-box {
        display: grid;
        background-color: #fffad9;
        grid-template-columns: 1fr 1fr;
        justify-content: stretch;
        align-content: start;
        align-items: center;
        margin-bottom:2rem;
}

.yellow-box .left, .white-box .left {
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    max-width:100%;
}

.yellow-box .text, .white-box .text {
    padding-right: 30px;
    padding-left: 20px;
}

.yellow-box .left img, .white-box .left img {
    max-width:550px;
}


/* Desktop View */
@media (max-width: 1140px) {
    .yellow-box .left img, .white-box .left img {
        max-width:350px;
    }
}


@media (max-width: 900px) {
    .yellow-box, .white-box {
        display: grid!important;
        grid-template-columns: 1fr;
}

    .yellow-box .text, .white-box .text {
   width:100%;
   max-width:100%;
}

   .yellow-box .left img, .white-box .left img {
        width:100%;
        max-width:100%;
    }
}


@media (min-width: 425px) {
    .box {
        width: 125px;
    }

    .box img {
        width: 50% !important;
    }
}

@media (min-width: 781px) {
    .cebsa-nav-list {
        flex-direction: row;
        flex-wrap: wrap;
		justify-content:center;
    }

    .cebsa-nav-list .cebsa-nav-listitem {
        border-bottom: 0;
        /* flex: 1;  */
		flex-grow:1;
    }

    .cebsa-nav-list .cebsa-nav-listitem:not(:last-child) {
        border-right: 1px solid #aaa;
    }

    .cebsa-nav-list .cebsa-nav-listitem > a {
        min-width: max-content;
    }

    .contact-container .contact-list ul {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
        gap: .2em;
        /* justify-content: flex-start; */
    }

    .contact-container .contact-list ul li {
        /* flex: 1; */
        /* width: max-content; */
        /* width: max(33%, max-content); */
        margin-block: 0;
    }

}