/* zzCustom.css */
/* RED = #C1262C */
/* ================================== */
/* PAGE SPECIFIC BANNER SETTINGS */
/* ================================== */
.HomePage .IntSectionBanner {
    display: none;
}

body.Join .IntSectionBanner {
    background-image: url(images/MADA/SectionBanners/join.jpg);
    background-position: 50% 60%;
}

body.ProgramsAndServices .IntSectionBanner {
    background-image: url(images/MADA/SectionBanners/ProgramAndServices.jpg);
}

body.OurTeam .IntSectionBanner {
    background-image: url(images/MADA/SectionBanners/OurTeam.jpg);
}

body.Workers_Comp .IntSectionBanner {
    background-image: url(images/MADA/SectionBanners/WorkersComp.jpg);
}

/* To prevent Horizontal Scroll from Full Width BG Row */
.wrapper {
    overflow: hidden;
    display: block!important;
    height: auto;
}

.footer {
    display: block;
    height: auto;
}

/* FORCE Hide SUB NAV */
body.HideSubNav .col-primary {
    width: 100%;
}

body.HideSubNav .col-secondary {
    display: none;
}

/* ================================== */
/* Typography/BASE ELEMENTS OVERRIDES */
/* ================================== */
h1,h2,h3,h4,h5 {
    border: none;
    text-transform: uppercase;
}

h3,h4,h5 {
    font-family: "work_sansbold", Helvetica, Arial, sans-serif
}

.TextButton {
    text-transform: uppercase;
}

.CalloutArea1, .CalloutArea2 {
    padding: 2em;
}

.CalloutArea2 {
    background-color: #000;
}

.FullWidthBg {
    padding: 4em 1em;
    color: #fff;
    background-image: url(images/mada/FullWidthRow_Bg.jpg );
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px #000;
}

/* MAKE ROW FULL BLEED EDGE TO EDGE */
@media (min-width: 768px) {
    .FullWidthBg {
        margin-left:-50vw;
        margin-right: -50vw;
        padding-left: 50vw!important;
        padding-right: 50vw!important;
    }
}

.FullWidthBg h2 {
    color: #fff;
    text-align: center;
}

.IconFeatures {
    text-align: center;
}

.TextButton, .PrimaryButton {
    padding: .5em 2em;
}

.PrimaryButton {
    background-color: #000!important;
}

.IconFeatures {
    text-align: center;
}

/* ================================== */
/* HEADER */
/* ================================== */
.header {
    padding: 0;
    border-bottom: 2px solid #000;
}

a.HdMastLogo {
    display: block;
    max-width: 477px;
    margin: 30px auto;
}

a.HdMastLogo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: unset!important;
}

.navbar-header.nav-auxiliary {
    margin-top: 50px;
}

a {
    color: #C1262C;
    text-decoration: none;
}

.col-primary a:hover {
    text-decoration: underline;
}

a:visited {
    color: #991e22;
}

.header a .nav-text {
    color: #C1262C !important;
    text-transform: uppercase;
}

.NavigationListItem.TextButton.PrimaryButton a .nav-text {
    color: #fff!important;
}

header .TextButton {
    color: #fff!important;
}

.RadMenu.RadMenu_Toronto .rmRootGroup > .rmItem > .rmLink {
    font-size: 100%;
}

.RadMenu.RadMenu_Toronto .rsmLink {
    text-transform: uppercase;
}

.RadMenu_Toronto .rmSlide .rmLink:hover, .RadMenu_Toronto .rmSlide .rmLink.rmFocused, .RadMenu_Toronto .rmSlide .rsmLink:hover, .RadMenu_Toronto .rmSlide .rsmLink.rmFocused, .RadMenu_Toronto .rmSlide .rsmTwoLevels > .rsmItem > .rsmLink:hover, .RadMenu_Toronto .rmSlide .rsmTwoLevels > .rsmItem > .rsmLink.rmFocused, .RadMenu_Toronto .rmSlide .rsmItem:hover, .RadMenu_Toronto .rmSlide .rsmItem:hover .rsmLink, .RadMenu_Toronto .rmSlide .rsmItem.rsmSelected {
    background: #fff!important;
    color: #000;
}

@media (min-width: 768px) {
    .nav-primary {
        float:none;
    }
}

/* ================================== */
/* INT CONTENT */
/* ================================== */
body:not(.HomePage) .col-primary > div > .row {
    padding-top: 5em;
    padding-bottom: 5em;
}

.IntSectionBanner {
    background-image: url(images/MADA/SectionBanners/Default.jpg);
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000;
    max-height: 465px;
    overflow: hidden;
    position: relative;
    border-bottom: 4px solid #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, .8);
}

.SectionTitle:before {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    width: 36%;
    background-image: linear-gradient(96deg, transparent 15%,rgba(0, 0, 0, .5) 15%,rgba(0, 0, 0, .5) 16%,rgb(193, 38, 43) 15%,rgb(193, 38, 43) 85%,rgba(0, 0, 0, .5) 85%,rgba(0, 0, 0, .5) 86%,transparent 85%);
    mix-blend-mode: multiply;
}

.SectionTitle h1 {
    width: 32%;
    letter-spacing: 4px;
    font-size: 2.7vw;
    position: relative;
    margin-left: 7vw;
    padding: 10vw 1vw;
    /*   padding: 8rem 1vw; */
    z-index: 2;
    color: #fff;
    line-height: 1em;
}

img.pull-left {
    margin: 0 1em 1em 0;
}

img.pull-right {
    margin: 0 0 1em 1em;
}

.iMIS-WebPart {
    margin-bottom: 2em;
}

/* ================================== */
/* HOME PAGE */
/* ================================== */
.HomePage .col-primary a {
    text-decoration: none;
}

.HomePage .breadcrumb-obo-container {
    display: none;
}

.HomePage #masterContentArea {
    margin-top: 0;
}

 .HomePage .col-primary > div > .row:nth-child(1), .HomePage .col-primary > div > .row:nth-child(2), .HomePage .col-primary > div > .row:nth-child(5) {
        background-color: #333;
        color: #fff;
    }


@media(min-width:768px){
    /* Full Width Rows */
    .HomePage .col-primary > div > .row:nth-child(1), .HomePage .col-primary > div > .row:nth-child(2), .HomePage .col-primary > div > .row:nth-child(5) {
        margin-left: -50vw;
        margin-right: -50vw;
        padding-left: 50vw!important;
        padding-right: 50vw!important;
    }
}

/* ======== HERO */
.HomePage .col-primary > div > .row:first-child {
    background: url(images/mada/HP_Hero_Bg.jpg) top right no-repeat;
    background-position: center top;
    background-repeat: no-repeat;
    color: #fff;
    /* position:relative; */
}

@media(max-width: 1600px) {
    .HomePage .col-primary > div > .row:first-child {
        background-size:contain;
    }
}

.HomePage .col-primary > div > .row:first-child .col-sm-12:before {
    content: "";
    display: block;
    position: absolute;
    z-index: 10;
    top: 0;
    bottom: 0;
    width: 50%;
    background-image: linear-gradient(96deg, transparent 15%,rgba(0, 0, 0, .5) 15%,rgba(0, 0, 0, .5) 16%,rgb(193, 38, 43) 15%,rgb(193, 38, 43) 85%,rgba(0, 0, 0, .5) 85%,rgba(0, 0, 0, .5) 86%,transparent 85%);
    mix-blend-mode: multiply;
}

.HomePage .col-primary > div > .row:first-child .caption {
    position: relative;
    z-index: 20;
    width: 50%;
    padding: 6vw 10%;
    height: 36vw;
    max-height: 683px !important;
    overflow: hidden;
    color: #fff !important;
}

.HomePage .col-primary > div > .row:first-child .caption h1 {
    color: #fff;
}

/* ======== Member Central */
.HomePage .col-primary > div > .row:nth-child(2) {
    background-image: url(images/mada/Hp_FullWidthRow_Bg.jpg );
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px #000;
}

.HomePage .col-primary > div > .row:nth-child(2) .col-sm-4 {
    padding: 3em 0;
}

.HomePage .col-primary > div > .row:nth-child(2) h2 {
    font-size: 20px;
    color: #e1e2e3;
    /* line-height:70px; */
}

.HomePage .col-primary > div > .row:nth-child(2) h2:before {
    margin-right: .5em;
    position: relative;
    top: 19px;
}

h2.LawsRegs:before {
    content: url(images/mada/laws.png);
}

h2.FormsResources:before {
    content: url(images/mada/forms.png);
}

h2.ProgramsServices:before {
    content: url(images/mada/programs.png);
}

.HomePage .col-primary > div > .row:nth-child(2) .TextButton {
    display: block;
    max-width: 66%;
}

.HomePage .col-primary > div > .row:nth-child(2) p {
    margin-left: 65px;
}

/* ======== UPCOMING EVENTS HEADING */
/* heading row is 3 */
.HomePage .col-primary > div > .row:nth-child(3) h2 {
    text-align: center;
    margin-top: 2em;
}

/* listing row is 4 */
.HomePage .col-primary > div > .row:nth-child(4) {
    padding-top: 0;
    margin-bottom: 2em;
}

.HomePage .col-primary > div > .row:nth-child(4) .date {
    background-color: #C1262C;
    border-bottom: 3px solid #333;
    float: left;
    margin-top: 1em;
    width: 100px;
    height: 100px;
    display: table;
    padding: 1em 0;
    text-align: center;
    color: #fff;
}

.date .m {
    text-transform: uppercase;
}

.date .d {
    font-family: "work_sansbold";
    font-size: 3em;
    line-height: 1em;
}

.HomePage .col-primary > div > .row:nth-child(4) .details {
    margin-left: 110px;
}

.HomePage .col-primary > div > .row:nth-child(4) .details h3 {
    font-size: 18px;
}

.HomePage .col-primary > div > .row:nth-child(4) .details h4 {
    font-size: 14px;
    font-weight: bold;
}

/* ======== NEWS */
.HomePage .col-primary > div > .row:nth-child(5) {
    background: url(images/mada/hpNews_Bg.jpg);
    background-position: center center;
    box-shadow: 0 0 10px #000;
    padding: 3em 0;
}

.HomePage .col-primary > div > .row:nth-child(5) .col-sm-12 {
}

.HomePage .HpNews_TLItem .TextButton {
    display: none;
}

.HomePage .HpNews_TLItem {
    height: 200px;
}

.HomePage .HpNews_TLItem .inner {
    padding: 0 1em;
}

.HomePage .HpNews_TLItem a {
    color: #fff;
}

.HomePage .HpNews_TLItem:hover * {
    color: rgba(255, 255, 255, .8)!important;
}

.HpNews_TLItem h2 {
    color: #fff;
    font-size: 20px;
}

.HpNews .ViewAll {
    display: none;
}

.HpNews .PrimaryButton {
    display: block;
    max-width: 66%;
    margin: auto!important;
}

.HpNews .col-sm-12 {
    border: 1px solid white;
}

/* ======== LogoParade */
.HomePage .col-primary > div > .row:nth-child(6) {
    margin-top: 3em;
}

.LogoParade .slick-slide {
    text-align: center;
}

.LogoParade .slick-slide img {
    margin: auto;
}

.LogoParade .slick-prev:before, .LogoParade .slick-next:before {
    color: #333;
}

.LogoParade * {
    /*     border:1px solid red; */
}

.LogoParade {
    max-width: 1103px;
    margin: auto;
}

/* ================================== */
/* FOOTER */
/* ================================== */
footer {
    letter-spacing: 1px;
}

footer .row.Row_A {
    padding: 5em 0;
}

footer a.FtLogo {
    display: block;
    text-indent: -2000px;
    overflow: hidden;
    background-image: url(images/mada/ft_logo.png);
    background-repeat: no-repeat;
    height: 126px;
    margin-bottom: 5em;
}

footer h2 {
    color: #fff;
    font-size: 18px
}

footer hr {
    margin-left: 0;
    padding-left: 0;
    max-width: 4em;
}

.footer ul.social {
    list-style-type: none;
    margin: 2em 0 0 0;
    padding: 0;
}

.footer ul.social li {
    display: inline-block;
    margin-right: 1em;
    overflow: hidden;
}

.footer ul.social li a {
    display: block;
    height: 42px;
    width: 42px;
    font-size: 1px;
    text-indent: -999px;
    background-repeat: no-repeat;
}

.footer ul.social li a.twitter {
    background-image: url(images/mada/tw.png);
}

.footer ul.social li a.facebook {
    background-image: url(images/mada/fb.png);
}

footer .row.Row_B {
    background-color: #C1262C;
    text-align: center;
    
}

@media(min-width:768px){
    footer .row.Row_B {
/*  MAKE ROW GO FULL BLEED  */
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 50vw;
    padding-right: 50vw
}
}


footer a {
    text-decoration: none;
    color: #fff!important;
    font-weight: bold;
}

/* ================================== */
/* ABOUT MADA */
/* ================================== */
.AboutMADA .RowC {
    /* text-align:center;*/
}

.AboutMADA .row.OtherContact {
    padding-bottom: 0!important;
}

/* ================================== */
/* ProgramsAndServices */
/* ================================== */
.ProgramsAndServices h3 {
    padding-top: 1em;
}

/* ================================== */
/* Directory */
/* ================================== */
body.OurTeam .col-primary > div > .row {
    padding-bottom: 0;
}

.Person {
    text-align: center;
}

.Person h3 {
    font-size: 1.1em;
}

.Person img {
    border: 3px solid #333;
    border-radius: 100%;
}

.col-primary a[href*="mailto"] {
    display: inline-block;
    background-image: url('images/mada/email.png');
    background-repeat: no-repeat;
    height: 25px;
    width: 46px;
    overflow: hidden;
    text-indent: -999px;
}

/* =============================== */
/* ============= RWD ============= */
.navbar-toggle.collapsed {
    background-color: #000;
}

/* Tablet landscape */
@media (max-width: 1024px) {
    .RadMenu.RadMenu_Toronto .rmText, .RadMenu.RadMenu_Toronto .rmHorizontal .rmText, .RadMenu.RadMenu_Toronto .rmSlide .rmText {
        padding:10px;
    }

    .HomePage .col-primary > div > .row:first-child .caption {
        font-size: 90%;
    }

    .HomePage .col-primary > div > .row:nth-child(6) {
        margin-left: 0;
        margin-right: 0;
    }

    footer .row.Row_B {
        padding: 1em 0;
    }
}

@media (max-width: 768px) {

/* White Sub Nav Arrows */
.RadMenu.RadMenu_Toronto .rmToggle .rmIcon, .RadMenu.RadMenu_Toronto .rmRootGroup .rmRootLink .rmToggle .rmIcon {
          background-position:0px -26px;
          }


.RadMenu.RadMenu_Toronto .rmRootGroup > .rmItem > .rmLink {
    border-bottom:1px solid rgba(255, 255, 255, .4);
}

    .navbar-header.nav-auxiliary {
        margin:20px;
    }

    .navbar-header, .header-logo-container {
        float: none;
        text-align: center;
    }

    a.HdMastLogo {
        margin-top: 0;
        margin-bottom: 0;
    }

    .HomePage .col-primary > div > .row:first-child .caption {
        width: 66%;
        padding: 3em 0;
        text-align: center;
        margin: auto;
    }

    .HomePage .col-primary > div > .row:first-child .col-sm-12:before {
        content: "";
        display: block;
        position: absolute;
        z-index: 10;
        top: 0;
        bottom: 0;
        width: 100%;
        background-image: linear-gradient(96deg, transparent 15%,rgba(0, 0, 0, .5) 15%,rgba(0, 0, 0, .5) 16%,rgb(193, 38, 43) 15%,rgb(193, 38, 43) 85%,rgba(0, 0, 0, .5) 85%,rgba(0, 0, 0, .5) 86%,transparent 85%);
        mix-blend-mode: multiply;
    }


    .HomePage .col-primary > div > .row:nth-child(2) .col-sm-4 {
        padding:0;
        text-align: center;
    }

    .HomePage .col-primary > div > .row:nth-child(2) h2:before {
        display: block;
        margin: 1em auto;
        text-align: center;
    }

    .HomePage .col-primary > div > .row:nth-child(2) p {
        margin: 1em ;
    }
    .HomePage .col-primary > div > .row:nth-child(2) .TextButton {
        margin:auto;
    }

}

@media (max-width: 767px) {

body:not(.HomePage) .col-primary > div > .row {
    padding-top:2em;
    padding-bottom: 2em;
}

    
    .navbar {
        background-color: #fff;
    }

    .SectionTitle:before {
        content: "";
        display: block;
        position: absolute;
        z-index: 1;
        top: 0;
        bottom: 0;
        width: 100%;
        background-image: linear-gradient(96deg, transparent 15%,rgba(0, 0, 0, .5) 15%,rgba(0, 0, 0, .5) 16%,rgb(193, 38, 43) 15%,rgb(193, 38, 43) 85%,rgba(0, 0, 0, .5) 85%,rgba(0, 0, 0, .5) 86%,transparent 85%);
        mix-blend-mode: multiply;
    }

    .IntSectionBanner .container {
        padding: 0;
    }

    .SectionTitle h1 {
        width: 70%;
        text-align: center;
        letter-spacing: 4px;
        font-size: 5.7vw;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        padding: 10vw 0;
        padding: 8rem 1vw;
        z-index: 2;
        color: #fff;
        line-height: 1em;
    }

.HomePage .col-primary > div > .row:first-child {
    background-size:cover;
    background-position:75% 50%;
    
}

.HomePage .col-primary > div > .row:first-child .caption {
    height:auto;
}
.HomePage .col-primary > div > .row:first-child .col-sm-12:before {
    content: "";
    display: block;
    position: absolute;
    z-index: 10;
    top: 0;
    bottom: 0;
    left:0;
    right:0;
    background-image: linear-gradient(rgb(193, 38, 43),rgb(193, 38, 43));
    mix-blend-mode: multiply;
}



}
