@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMu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) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.mudCard-Header-Help {
    background-color: #58595A;
    color: white;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

.mudCard-Header-DrawerVoterAbroad {
    background-color: #D37C9C;
    color: white;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

.mudCard-Header-DrawerVoter {
    background-color: #E85840;
    color: white !important;
}

.mudCard-Header-DrawerDefault {
    background-color: #0047BA;
    color: white !important;
}

.mudCard-Header-DrawerProfile {
    background-color: #62A60A;
    color: white !important;
}

.mudCard-Header-RegisterToVoteZA {
    background-color: #00A0DF;
    color: white !important;
}

.main_landing {
    background-image: url('../media/background.jpg');
    background-repeat: no-repeat;
    height:auto;
    background-size:cover;
    background-position: top right;
    width: 100%;
}

.subpage_voter_banner {
    background-color: #00a0df;
}

.margin_top {
    margin-top: 30px !important;
}

.margin_bottom {
    margin-bottom: 30px !important;
}

.jumbotron-fluid {
    padding-right: 0;
    padding-left: 0;
    border-radius: 0;
}

.homebannertop {
    font-size: 60px !important;
    margin-right: 300px !important;
}

.homebannermiddle {
    font-size: 120px !important;
    /*color: #28A745;*/
}

.homebannerbottom {
    font-size: 60px !important;
    margin-left: 300px !important;
}

.homebannertopnm {
    font-size: 60px !important;
}

.homebannerbottomnm {
    font-size: 60px !important;
}

.mud-grid-spacing-xs-3 > .mud-grid-item {
    padding: 4px;
}

/*.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    font-size: 1.2rem!important;
    font-weight: 410!important;
}*/

/*.mud-button-icon-size-large > *:first-child {
    font-size: 35px !important;
}
*/


/*Sharon 31 October*/
.swal2-styled.swal2-confirm {
    background-color: #000000 !Important;
    
}

.swal2-container {
    z-index: 300000 !important;
}
}

.swal2-html-container {
    z-index: 300000!important;
}

.text-info {
    color: #00A0DF !important;
}


.swal2-popup

{
    background: #0000;
    border: 2px solid!important;
    border-radius: 5px;
    box-sizing: border-box;
    color: #545454;
    display: none;
    font-family: inherit;
    font-size: 1rem;
    grid-template-columns: minmax(0, 100%);
    max-width: 100%;
    padding: 0 0 1.25em;
    position: relative;
    width: 32em;
}

.swal2-title {
    word-wrap: break-word;
    color: #fff;
    font-size: 1.4em!important;
    font-weight: 600;
    margin: 0;
    max-width: 100%;
    padding: .8em 1em 0;
    position: relative;
    text-align: center;
    text-transform: none;
}

.swal2-html-container {
    word-wrap: break-word;
    color: #fff;
    font-size: 0.95em!important;
    font-weight: 300;
    justify-content: center;
    line-height: normal;
    margin: 1em 1.6em .3em;
    overflow: auto;
    padding: 0;
    text-align: center;
    word-break: break-word;
    z-index: 1;
}


/*to get rid of the horizontal scrollbar*/
.container-fluid {
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
    overflow:hidden;
}





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

    .home_head {
        color: #ffffff !Important;
        text-shadow: 2px 2px #000000;
    }
    
    .shadow2 {
        box-shadow: none !important;
        margin-bottom: 20px !important;
    }

    .homebannertop {
        font-size: 30px !important;
        margin-right: 50px !important;
    }

    .homebannermiddle {
        font-size: 60px !important;
        /*color: #28A745;*/
    }

    .homebannerbottom {
        font-size: 30px !important;
        margin-left: 50px !important;
    }

    .homebannertopnm {
        font-size: 40px !important;
    }

    .homebannerbottomnm {
        font-size: 40px !important;
    }

    .mobile_height {
        height: 0px !important;
    }

    .mobile_height_20 {
        height: 20px !important;
    }

    .mobile_padding_20 {
        padding-top: 20px;
    }

    .mud-elevation-3 {
        box-shadow: none!important;
    }

    .forms_mobile {
        margin-left: 0px !important;
        margin-right: 0px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
        width: 100% !important;
    }

    .marginTop {
        margin-top: 30px!important;
    }

    .imgPreview {
        display: block;
        max-width: 400px;
        max-height: 240px;
        width: auto;
        height: auto;
    }

    .mud-typography-h4
    {
        font-size: 30px!important;
    }

    .mud-typography-h6 {
        font-size: 17px !important;
        padding-bottom: 5px!important;
    }

}

.jumbotron {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: #e9ecef;
    border-radius: 0rem;
}

@media (min-width: 576px) {
    .jumbotron {
        padding: 4rem 2rem;
    }
}

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

    .home_head {
        color: #ffffff !Important;
        text-shadow: 2px 2px #000000;
    }
    .main_landing {
        background-color:white; /*this was aqua, i changed to white*/
        width: 100%;
    }


}

.mudCard-Header-Error {
    background-color: #F44336 !important;
    color: white;
}

.mudCard-Header-Warning {
    background-color: #FF9800 !important;
    color: white;
}

.mudCard-Header-Info {
    background-color: #2196F3 !important;
    color: white;
}

.mudCard-Header-Success {
    background-color: #00C853 !important;
    color: white;
}

.mudCard-Header-Tertiary {
    background-color: #006064 !important;
    color: white;
}

@media only screen and (min-width: 1024px) {
    /* Laptop */
   
    
    .margin_right_4 {
        margin-right: 30px !important;
    }

    h1 {
        font-size: 46px !important;
        font-weight: 300 !important;
    }

    .home {
        font-size: 66px !important;
        font-weight: 700 !important;
    }

    
}



@media only screen and (min-width: 1080px) {
   
    
    
    h1 {
        font-size: 46px !important;
        font-weight: 300 !important;
    }

    .home {
        font-size: 80px !important;
        font-weight: 700 !important;
    }

    .imgPreview {
        display: block;
        max-width: 640px;
        max-height: 480px;
        width: auto;
        height: auto;
    }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    .home_head {
        color: #ffffff !Important;
        text-shadow: 2px 2px #000000;
    }
    
    .i_portrait {
        max-width: 128px !important;
    }

    .i_portraitLogo {
        max-width: 55px !important;
        margin-left: 20px !important;
    }

    .imargin_left {
        margin-left: 20px !important;
    }

    .home {
        font-size: 50px !important;
        font-weight: 500 !important;
    }

    .i_portraitSign {
        margin-right: 30px !important;
    }

    .iportraitAccount {
        max-width: 20px !important;
    }

    .btn {
        padding: .375rem .75rem !important;
    }

    .form-control-lg {
        height: 58px !important;
    }


    .form-control::placeholder {
        color: #c1c1c1 !important;
        font-size: 16px !important;
        font-weight: 300 !important;
        overflow: visible !important;
    }

    input::placeholder {
        overflow: visible !important;
    }

    .page_margin {
        padding-top: 70px !important;
    }

    .ipage_margin {
        padding-top: 70px !important;
    }

    .imargin {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .imgPreview {
        display: block;
        max-width: 640px;
        max-height: 480px;
        width: auto;
        height: auto;
    }

    .mud-button-filled, .mud-icon-button {
        padding: 10px !important;
    }

    .fancy-title::after {
        content: "ANOTHER TEXT ""\f072";
        color: violet;
        font-family: Fontawesome;
        background: linear-gradient(to right, #7ce5df 27%,#f1da36 100%);
        font-size: 18px;
        padding: 2px 4px;
        border: 1px solid;
    }
}



/*loading screen*/

.logo {
    width: 145px !important;
    margin-left: 3px;
}


:root {
    --accent-color1: #000000;
    --accent-color2: #000000;
    --accent-color3: #00A0DF;
    --accent-color4: #00A0DF;
}

.mud-ex-app-loader-loading-container .app-name {
    background: linear-gradient( 90deg,var(--accent-color1),var(--accent-color2),var(--accent-color3),var(--accent-color4));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes rotate-background {
    0% {
        transform: scale(1.5) rotate(0deg);
    }

    100% {
        transform: scale(1.5) rotate(360deg);
    }
}

.mud-ex-app-loader-loading-container {
    position: relative;
    overflow: hidden;
}

    .mud-ex-app-loader-loading-container::before {
        content: "";
        opacity: .15;
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background-image: linear-gradient(45deg, transparent 50%, var(--accent-color1) 50%), linear-gradient(135deg, transparent 50%, var(--accent-color2) 50%), linear-gradient(-135deg, transparent 50%, var(--accent-color3) 50%), linear-gradient(-45deg, transparent 50%, var(--accent-color4) 50%);
        background-blend-mode: screen;
        animation: rotate-background 30s linear infinite;
        z-index: -1;
    }


/*heading colors*/

h4 {
    color: #000000 !important;
}

.home_head {
    color: #000000;
}

.navLinkDrawer a {
    color: #fff !important;
    font-size: 18px !important;
}

.navLinkDrawer a::after  {
    color: #fff !important;
    font-size: 18px !important;
}

.mud-nav-link .mud-nav-link-text {
    color: #fff !important;
}

/******Map control********/
.iec-map-popup-header {
    background-color: var(--mud-palette-info);
    color: var(--mud-palette-white);
}

.iec-map-popup-pin-icon {
    width: 25px;
}

.iec-popup-note {
    font-size: 0.85rem !important;
}

.iec-popup-note-contrast {
    color: var(--mud-palette-error) !important;
}

.iec-popup-button {
    background-color: var(--mud-palette-primary) !important;
    color: var(--mud-palette-white) !important;
    width: 150px;
    height: 40px;
}

.iec-popup-input > div > .mud-shrink ~ label {
    color: var(--mud-palette-info-darken) !important;
    font-size: 1rem !important;
    text-wrap: nowrap !important;
}

.iec-popup-input > div > :not(.mud-shrink) ~ label {
    color: var(--mud-palette-info-darken) !important;
    font-size: 0.94rem !important;
    text-wrap: nowrap !important;
}

.iec-popup-input > div > .mud-shrink > input {
    font-size: 0.94rem !important;
}

.iec-popup-input > div > .mud-shrink > textarea {
    font-size: 0.94rem !important;
    text-transform: uppercase;
}

.iec-map-infobubble {
    background-color: #000000;
}

.iec-map-infobubble-body {
    color: white;
    text-align: left;
}

div:has(> .iec-map-message-header-normal) {
    background-color: var(--mud-palette-info);
    font-size: large;
    font-weight: bold;
}

div:has(> .iec-map-message-header-error) {
    background-color: var(--mud-palette-error);
    font-size: large;
    font-weight: bold;
}


/******End Map Control******/

.border-reports-gray {
    border-color: #EAEAEA !important;
}

.border-15 {
    border-width: 15px !important;
}
.mud-snackbar {
    font-size: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.hover-elevation:hover {
    box-shadow: var(--mud-elevation-15);
    background-color: #4289FF !important;
    border-color: #0056E6 !important;
    color: #fff !important;
}

.border-light {
    border-color: #D2D2D4 !important;
}

.small-placeholder .mud-input-label {
    font-size: 0.75rem !important;
}

/* Active tab */
.custom-tabs .mud-tab.mud-tab-active {
    background-color: #009DDC !important; /* IEC blue or any color */
    color: #D4E5F5 !important; /* make text white */
    /*border-radius: 8px 8px 0 0;  optional rounded look */
}

/* Inactive tabs */
.custom-tabs .mud-tab {
    background-color: transparent !important;
    color: #444; /* muted text for inactive tabs */
}