/***** SUPPORT-262252 MECC update 2020 *****/

a.navbar__toggle, .header a.mobile-search {
    top: 1rem;
}

@media only screen and (min-width: 600px) {
    .navbar__list .navbar__item:nth-child(1), .navbar__list .navbar__item:nth-child(2), .navbar__list .navbar__item:nth-child(3) {
        display: none;
    }
}

.header__logo {
    background: transparent url(https://www.themecc.com.au/__data/assets/image/0009/207639/mecc-logo.png?v=0.1.3) 0 6px no-repeat;
    width: -webkit-fill-available;
}

@media only screen and (max-width: 600px) {
    .header__logo {
        margin-bottom: .8em;
    }
}

.header-inner .header_tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: fit-content;
    /*margin-top: 12px;*/
    margin-right: .8em;
}

.header-inner .header__search.desktop {
  width: 16em;
}

.warning {
    max-width: 58.75em;
    margin: 0 auto;
    display: none;
}

.header > .inner {
  max-width: 100%;
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 60rem;
  margin: 0 auto;
}

ul.navbar__static {
  display: none;
  padding: 0;
  justify-content: flex-end;
  max-width: 60rem;
  margin: 0 auto;
}

.top-navbar__dropdown {
    display: none;
}

    .sub-nav-listing li {
        padding: .6em .6em .4em .6em;
    }
    .sub-nav-listing a {
        color: #484848 !important;
        text-decoration: none;
        text-transform: uppercase;
        font-size: .9rem;
    }



@media only screen and (min-width: 600px) {
    ul.navbar__static {
        display: flex;
        position: relative;
    }
    
    .top-navbar__dropdown {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        max-width: 60rem;
        margin: 0 auto;
        margin-top: -16px;
    }
    
        .top-navbar__dropdown ul.navbar__static {
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
    }
    .navbar__item--active ul.sub-nav-listing {
        display: block;
        position: absolute;
        left: 2%;
        right: 2%;
        z-index: 1000;
    }
    ul.sub-nav-listing:hover {
        display: block;
    }

    nav#main-navigation {
        display: block;
        width: 100%;
        background-color: #444;
        border-radius: 0;
        border-bottom: 3px solid #fff;
        margin: 0;
        padding: 0;
        float: none !important;
    }
    
    ul.sub-nav-listing {
        display: none;
        -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        background: rgba(220, 220, 220, 0.9);
        border: 1px solid #transparent;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    

    
    .navbar__item > a {
        border-bottom-color: transparent;
        padding: .4em .8em .2em .8em;
    }
    
    .navbar__list li > a:hover, .navbar__list li > a:active {
      color: #444 !important;
      border-bottom-style: inset !important;
    }
    
    nav#main-navigation a {
        color: #fff;
        font-weight: 300;
    }
    
    .header-inner .navbar__static a {
        padding: .2em .8em .4em .8em;
        margin: .2em 0 0 0;
        border: 0;
    }
    
    .header-inner .navbar__static a:last-child {
      padding-right: 0;
    }
    
    ul.navbar__list {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        max-width: 60rem;
        margin: 0 auto;
    }
}

    .update.footer-items {
        background: none;
        position: relative;
        overflow: auto;
        padding: 0;
        overflow-x: hidden;
    }
    
    .globalfooter .footer-item {
        padding: 1.2rem 1.8rem;
    }

    .update .footer-item.contact-mecc {
        background-color: #c31984;
        background-color: #B9187E;
    }
    .update .footer-item.quick-links {
        background-color: #d966a7;
        background-color: #CE3B8E;
    }
    .update .footer-item.news-letter {
        background-color: #00b3e4;
        background-color: #0080A3;
    }
    
    .footer-item.quick-links li {
        padding: .2rem;
    }
  
    ul.social-media-list {
        display: flex;
        margin-top: 1.2rem;
    }
    .social-media-list .social-icon {
        width: 43px;
    }
    
    ul.social-media-list li {
      -webkit-transition: all .1s linear .2s;
      -o-transition: all .1s linear .2s;
      transition: all .1s linear .2s;
    }
    
    ul.social-media-list li:hover {
      -webkit-transform: scale(1.15);
      -ms-transform: scale(1.15);
      transform: scale(1.15);
    }

    .acknowledge.heading-fine {
        font-size: .625rem;
    }
    
    .footer-newsletter .email-address {
        margin: .5rem 0;
        border: 0;
        padding: .2rem;
        max-width: 100%;
    }
    .footer-newsletter .email-submit {
        background-color: #31708f;
        border: 0;
        margin: .5rem 0;
        padding: .2rem .5rem;
        color: #fff;
    }
    .footer-newsletter label {
        font-weight: 300;
        margin-top: .8rem;
    }
    
    .home .home-content {
        margin-top: 3rem;
    }
    
    .home .home-content h2 {
        border-bottom: none;
        margin: 0;
        padding: .4rem 0 1rem 0;
    }
    
    .heading-background {
        background-repeat: no-repeat !important;
        background-position: center !important;
        color: #fff;
        text-align: center;
        
    }
    .heading-background h2 {
        font-size: 1.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }
    .header-content {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 125px;
    }
    
    .header-content a {
        color: #fff;
    }
    
@media only screen and (min-width: 768px) {

    /*.home .home-content h2 {
        border-right: 1px solid #58595b;
    }*/
    
    .home .home-content .home-text {
        border-left: 1px solid #58595b;
        padding: 0 0 0 2em;
    }
    
    .heading-background h2 {
        font-size: 2.5rem;
    }
    
    .header-content span {
        padding: .3em;
    }
    
    .footer-items .inner {
        display: flex;
    }
    
    .footer-items:before, .footer-items:after {
        content: '';
        height: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        width: 300%;
        z-index: -1;
    }
    
    .update.footer-items:before {
        background-color: #c31984;
        background-color: #B9187E;
        right: 50%;
    }
    
    .update.footer-items:after {
        background-color: #00b3e4;
        background-color: #0080A3;
        left: 50%;
    }
    
    .image-cards img {
        margin: 0;
    }
}

.card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.card > hr {
  margin-right: 0;
  margin-left: 0;
}

.card > .list-group:first-child .list-group-item:first-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.card > .list-group:last-child .list-group-item:last-child {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.card-body {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-link:hover {
  text-decoration: none;
}

.card-link + .card-link {
  margin-left: 1.25rem;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header + .list-group .list-group-item:first-child {
  border-top: 0;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
  border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.card-header-tabs {
  margin-right: -0.625rem;
  margin-bottom: -0.75rem;
  margin-left: -0.625rem;
  border-bottom: 0;
}

.card-header-pills {
  margin-right: -0.625rem;
  margin-left: -0.625rem;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
}

.card-img {
  width: 100%;
  border-radius: calc(0.25rem - 1px);
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card-img-bottom {
  width: 100%;
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}

.card-deck {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.card-deck .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .card-deck {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;
  }
  .card-deck .card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-right: 15px;
    margin-bottom: 0;
    margin-left: 15px;
  }
}

.card-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.card-group > .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .card-group {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }
  .card-group > .card {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    margin-bottom: 0;
  }
  .card-group > .card + .card {
    margin-left: 0;
    border-left: 0;
  }
  .card-group > .card:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .card-group > .card:first-child .card-img-top,
  .card-group > .card:first-child .card-header {
    border-top-right-radius: 0;
  }
  .card-group > .card:first-child .card-img-bottom,
  .card-group > .card:first-child .card-footer {
    border-bottom-right-radius: 0;
  }
  .card-group > .card:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .card-group > .card:last-child .card-img-top,
  .card-group > .card:last-child .card-header {
    border-top-left-radius: 0;
  }
  .card-group > .card:last-child .card-img-bottom,
  .card-group > .card:last-child .card-footer {
    border-bottom-left-radius: 0;
  }
  .card-group > .card:only-child {
    border-radius: 0.25rem;
  }
  .card-group > .card:only-child .card-img-top,
  .card-group > .card:only-child .card-header {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
  }
  .card-group > .card:only-child .card-img-bottom,
  .card-group > .card:only-child .card-footer {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
  }
  .card-group > .card:not(:first-child):not(:last-child):not(:only-child) {
    border-radius: 0;
  }
  .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
  .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom,
  .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header,
  .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer {
    border-radius: 0;
  }
}

.card-columns .card {
  margin-bottom: 0.75rem;
}

@media (min-width: 576px) {
  .card-columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1.25rem;
    -moz-column-gap: 1.25rem;
    column-gap: 1.25rem;
  }
  .card-columns .card {
    display: inline-block;
    width: 100%;
  }
}

.image-cards {
    max-width: 974px;
    margin: 0 auto;
    position: relative;
}

.image-cards-container {
    background-color: #000;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

.image-cards .card {
    border: none;
    border-radius: 0;
    background-color: #000;
}

.image-cards img {
    margin: auto;
}

.card-footer {
    position: absolute;
    bottom: 3%;
    border: none;
    width: 100%;
    padding: 0;
    background-color: transparent;
}

.card-footer a {
    color: #fff;
}

.card-footer a:hover {
    border-bottom: 1px solid #fff;
}

.card-footer h2 {
    font-size: 2rem;
    font-weight: 400 !important;
}
