/* Icons */

@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon.eot?xy62b3');
    src: url('fonts/icomoon.eot?xy62b3#iefix') format('embedded-opentype'), url('fonts/icomoon.ttf?xy62b3') format('truetype'), url('fonts/icomoon.woff?xy62b3') format('woff'), url('fonts/icomoon.svg?xy62b3#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 2;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-exclamation-triangle:before {
    content: "\e900";
}

.icon-chevron-left:before {
    content: "\e901";
}

.icon-chevron-right:before {
    content: "\e902";
}

/* End Icons */


#dnn_ctr2178_View_YYCAnnouncement {
    height: 70px !important;
}

div#Alert_Carousel {
    height: 30px;
}

span#dnn_ctr2178_View_NotificationCountLabel {
    display: none;
}

table {
    width: 100%;
}

.carousel-control span {
    color: #FFF !important;
}

*/

.carousel-control {
    opacity: 1 !important;
}

.AnnouncementEditTable th, .AnnouncementEditTable td {
    vertical-align: top;
    line-height: 25px;
    padding: 3px 5px;
}

.AnnouncementEditTable input[type="text"], .AnnouncementEditTable input[type="textarea"] {
    width: 95%;
}

.HomePageAlert {
    background-color: #D70321;

}

    .HomePageAlert .row {
        margin-bottom: 0px;
    }


.AlertTitle {
    font-size: 30px;
    color: #FFF;
    font-weight: bold;
    padding: 20px 20px 20px 30px;
    text-align: left;
    line-height: 1.1;
}

.AlertText {
    font-size: 18px;
    color: #FFF;
    font-weight: normal;
    padding: 20px 20px 5px 0px;
    text-align: left;
}

.AlertExtraText {
    font-size: 14px;
    color: #FFF;
    font-weight: normal;
    padding: 0px 20px 0px 0px;
    text-align: left;
}

.AlertLink {
    font-size: 12px;
    color: #FFF;
    font-weight: normal;
    padding: 0px 20px 0px 0px;
    text-align: left;
}

    .AlertLink a:link, .AlertLink a:visited {
        color: white;
        font-weight: normal;
        padding-left: 1.5%;
        font-size: 14px;
    }

a.ReadMoreAlert {
    padding-left: 0.5% !important;
    padding-right: 0.5% !important;
	text-decoration: underline !important;
}

a.ReadMoreAlert:focus-visible {
    outline: 2px solid black !important;
    outline-offset: 1px;
}

.carousel-caption {
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 0px;
    position: inherit;
    height: 100%;
}

.carousel-indicators {
    bottom: 0px;
}

#dnn_ctr2178_View_YYC_Carousel {
    transition: all .5s ease-in-out;
}

    #dnn_ctr2178_View_YYC_Carousel:target {
        height: 50px;
    }

th {
    text-align: left;
    background-color: #FFFFFF;
    color: #000;
    font-weight: bold;
}

.EditAnnouncement th {
    width: 150px;
    background-color: transparent;
}

td::alternate {
    background-color: #EEE;
}

.col-md-9.AlertBody {
    width: 100%;
}

@media and screen (max-width: 991px) {
    .AlertTitle {
        padding-bottom: 0px;
    }

    .AlertText {
        padding-top: 5px;
    }

    .AlertText, .AlertExtraText, .AlertLink {
        padding-left: 15px;
    }

    .col-md-9.AlertBody {
        width: 100%;
    }



    div#Alert_Carousel {
        height: 30px;
    }

}


@media screen and (max-width: 1520px) {

    .AlertText, .AlertExtraText, .AlertLink {
        padding-left: 15px;
    }

    .col-md-9.AlertBody {
        width: 100%;
    }

    div#Alert_Carousel {
        height: 30px;
    }
}



.dnnEditState {
    background-color: white;
}

.carousel-control.right, .carousel-control.left {
    background-image: none !important;
}

.col-md-3.AlertTitle {
    display: none;
}

.col-md-12.AlertExtraText {
    display: none;
}


.col-md-12.AlertText {
    display: none;
}

.col-md-12.AlertLink {
    /* padding-top: 60px; */
    font-size: 18px;
    text-align: center;
}


/* Initially hidden element */
.HomePageAlert {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.0s ease; /* Adjust the duration and easing as needed */
}

    /* Class to add when showing the element */
    .HomePageAlert.show {
        max-height: 1000px; /* Set a max-height that is enough to show the entire content */
        transition: max-height 4.0s ease;
    }

.yyc-badge {
    display: inline-block;
    min-width: 5px;
    padding: 1px 2px;
    font-size: 12px;
    font-weight: bold;
    color: #0000;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    background-color: #D70321;
    border-radius: 10px;
}

.notify .yyc-badge {
    position: absolute;
    top: -1px;
    right: 6px;
    border-radius: 20%;
    background-color: #D70321;
    color: white;
}

.item.active {
    height: 70px;
}

    .item.active.left {
        display: none;
    }



div#dnn_ctr2178_View_YYC_Carousel {
    height: 60px;
}

form#Form {
    background-color: white;
}

tr.hide {
    display: none;
}

/* CSS */
.button-6 {
    align-items: center;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.85);
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    /* min-height: 3rem; */
    padding: 2px 2px;
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: auto;
}

    .button-6:hover,
    .button-6:focus {
        border-color: rgba(0, 0, 0, 0.15);
        box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
        color: rgba(0, 0, 0, 0.65);
    }

    .button-6:hover {
        transform: translateY(-1px);
    }

    .button-6:active {
        background-color: #F0F0F1;
        border-color: rgba(0, 0, 0, 0.15);
        box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
        color: rgba(0, 0, 0, 0.65);
        transform: translateY(0);
    }

.delete {
    background-color: red;
}

i.fa-solid.fa-times.close-icon {
    position: absolute;
    top: -1px;
    right: 6px;
    border-radius: 20%;
    /* background-color: #D70321; */
    color: white;
}

i.fa-solid.fa-times.close-icon {
    display: inline-block;
    min-width: 5px;
    padding: 1px 2px;
    font-size: 12px;
    font-weight: bold;
    /* color: #0000; */
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    background-color: #D70321;
    border-radius: 10px;
}

.notify .yyc-badge, .notify .close-icon {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Extra Small Devices */
@media screen and (min-width: 0px) and (max-width: 325px) {
    .HomePageAlert {
        height: 9em;
    }

    div#Alert_Carousel {
        height: 30px;
    }

    .carousel-inner {
        height: 14em;
    }
}

/* Small Devices */
@media screen and (min-width: 326px) and (max-width: 600px) {

    div#Alert_Carousel {
        height: 30px;
    }
}


/* Large to Ipad Width */
@media screen and (min-width: 601px) and (max-width: 880px) {

    div#Alert_Carousel {
        height: 30px;
    }

    .carousel-caption > .row {
        width: 1000px;
    }
}

.carousel-caption > .row {
    width: 100%;
    /* text-align: center; */
    /* justify-content: left; */
}

a.right.carousel-control {
    width: 20px;
}

a.left.carousel-control {
    width: 30px;
}

.carousel-caption {
    right: 2%;
    left: 2%;
    padding-bottom: 30px;
}

/* Small Devices */
@media screen and (min-width: 326px) and (max-width: 450px) {
    .carousel-inner {
        height: 10em;
    }

    .HomePageAlert {
        height: 7em;
    }
}
/* Medium Devices */
@media screen and (min-width: 451px) and (max-width: 600px) {
    .carousel-inner {
        height: 10em;
    }

    .HomePageAlert {
        height: 5em;
    }
}
/* Large to Ipad Width */
@media screen and (min-width: 601px) and (max-width: 880px) {
    .carousel-inner {
        height: 9em;
    }

    .HomePageAlert {
        height: 5em;
    }
}

@media screen and (min-width: 881px) and (max-width: 1039px) {
    .carousel-inner {
        height: 9em;
    }

    .HomePageAlert {
        height: 5.5em;
    }
}

@media screen and (min-width: 1040px) {
    .carousel-inner {
        height: 100px;
    }
	    .HomePageAlert {
        height: 50px;
    }
}
