/****************************************/
/****************************************/
/** AUSTRALIAN DENTAL ASSOCIATION (QLD BRANCH) RESPONSIVE STYLE SHEET **/
/*
 * 
 *  Author: CAUSEIS PTY LTD 
 * 
 *  Version: 1 - 
 *
 *  Document contains changes to Banners
 *
 *
*/
/****************************************/
/****************************************/
/************ Content Carousel START *************/
div.carousel {
  z-index: 0;
  max-width: 127rem;
  margin: auto;
}

div#ste_container_ciPageHeading div.carousel .carousel-inner .item:after {
  background: linear-gradient(#253746, #253746);
  opacity: 0;
  display: block;
  content: "";
  padding: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
}

div.carousel + div#masterContentArea {
  padding-top: 6rem;
}

div#ste_container_ciPageHeading {
  margin-bottom: 0;
}

@media (max-width: 992.98px) {
  header#hd + .carousel .carousel-inner.bg-img > .item {
    height: -moz-calc(50vh - 0px) !important;
    height: -webkit-calc(50vh - 0px) !important;
    height: calc(72vh - 0px) !important;
  }
}

@media (min-width: 992.98px) {
  header#hd + .carousel .carousel-inner.bg-img > .item {
    /*  height: -moz-calc(48vh - 110px) !important;*/ /* height: -webkit-calc(48vh - 110px) !important; */ /* height: calc(385px) !important; */ /* background-position-y: 20% !important; */
  }
}

div.carousel .carousel-inner.bg-img > .item > .carousel-caption {
  padding: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-content: center;
  /* max-width: 131rem; */
  text-align: left;
  width: 100%;
  text-shadow: none;
  /* height: calc(100% - 10rem); */
  flex-flow: wrap;
  max-width: 113rem;
}

div#ste_container_ciPageHeading
  div.carousel
  .carousel-inner.bg-img
  > .item
  > .carousel-caption {
  margin: 0 auto auto auto;
}

div.carousel .carousel-inner.bg-img > .item > .carousel-caption > div {
  display: flex;
  flex-flow: wrap;
  padding: 2.5rem;
}

div.carousel
  .carousel-inner.bg-img
  > .item
  > .carousel-caption
  > div
  > div:nth-child(1)
  > img {
  display: block;
  margin: auto auto auto 0;
}

div.carousel
  .carousel-inner.bg-img
  > .item
  > .carousel-caption
  > div
  > div:nth-child(2)
  > img {
  display: block;
  margin: auto 0 auto auto;
}

div.carousel .carousel-inner.bg-img > .item > .carousel-caption > div {
  text-align: left;
}

div.carousel
  .carousel-inner.bg-img
  > .item.text-right
  > .carousel-caption
  > div {
  /* text-align: right; */
  text-align: left;
  margin-left: 0;
}

div.carousel
  .carousel-inner.bg-img
  > .item.text-center
  > .carousel-caption
  > div {
  text-align: center;
}

.carousel h1,
.carousel h2,
.carousel h3,
.carousel h4,
.carousel h5,
.carousel p {
  width: 100%;
}

div.carousel
  .carousel-inner.bg-img
  > .item.text-center
  > .carousel-caption
  > div
  > a[class*="utton"] {
  margin: 0.4rem auto 0.4rem auto;
}

div.carousel
  .carousel-inner.bg-img
  > .item
  > .carousel-caption
  > div
  > a[class*="utton"] {
  margin: 0.4rem 0.4rem 0.4rem 0;
}

div.carousel
  .carousel-inner.bg-img
  > .item.text-right
  > .carousel-caption
  > div
  > a[class*="utton"] {
  margin: 0.4rem 0 0.4rem 0.4rem;
}

div.carousel .carousel-control .icon-prev:before {
  content: " " !important;
  background-image: url(/App_Themes/Training/images/Arrow_White_Right.svg);
  background-repeat: no-repeat;
  padding: 0 1rem;
  background-size: contain;
}

div.carousel .carousel-control .icon-next:before {
  content: " " !important;
  background-image: url(/App_Themes/Training/images/Arrow_White_Left.svg);
  background-repeat: no-repeat;
  padding: 0 1rem;
  background-size: contain;
}

div.carousel .carousel-control {
  background-image: none !important;
  opacity: 1 !important;
  max-width: 4rem;
  max-height: 7rem;
  margin: auto;
  /* top: -10rem; */
}

div.carousel .carousel-control .icon-prev {
  margin: auto 0;
  right: 0;
  height: 3.4rem;
  margin-top: -2.5rem;
  transition: all 0.2s ease-in-out;
}

div.carousel .carousel-control .icon-next {
  margin: auto 0;
  left: 0;
  height: 2.2rem;
  margin-top: -2.5rem;
  transition: all 0.2s ease-in-out;
}

div.carousel .carousel-inner.bg-img > .item .carousel-caption h1 {
  font-size: 5rem;
}

div.carousel .carousel-inner.bg-img > .item .carousel-caption h3 {
  font-weight: 600;
  font-size: 2.6rem;
}

div.carousel .carousel-inner.bg-img > .item .carousel-caption a.Button.Large {
  /* margin-top: 3rem; */
  padding: 1.5rem 2.5rem;
  min-width: auto;
}

div.carousel ol.carousel-indicators {
  /* display: none */
}

div.carousel .carousel-inner .next.left,
div.carousel .carousel-inner .prev.right {
  opacity: 1;
}

div.carousel .carousel-control {
  z-index: 2;
  display: none;
}

div.carousel
  .carousel-inner.bg-img
  > .item
  > .carousel-caption
  > div
  > div[class*="col-sm-"]:nth-child(1) {
  padding-left: 0;
}

div.carousel
  .carousel-inner.bg-img
  > .item
  > .carousel-caption
  > div
  > div[class*="col-sm-"]:nth-child(2) {
  padding-right: 0;
}

@media (max-width: 992.98px) {
  .carousel-caption h3 {
    font-weight: 600;
    font-size: 2rem;
  }

  div.carousel
    .carousel-inner.bg-img
    > .item
    > .carousel-caption
    > div
    .Large.Button {
    font-size: 1.8rem;
  }

  .carousel-caption h1 {
    font-size: 3.5rem !important;
  }

  div.carousel
    .carousel-inner.bg-img
    > .item
    > .carousel-caption
    > div
    .Button {
    font-size: 1.5rem;
  }

  div.carousel .carousel-inner.bg-img > .item > .carousel-caption > div {
    padding: 2.5rem;
    margin-top: auto;
  }

  .carousel-control .icon-prev,
  .carousel-control .icon-next {
  }

  div.carousel .carousel-control {
    top: auto;
    bottom: 3rem;
  }

  div.carousel .carousel-inner.bg-img > .item > .carousel-caption {
    /* height: calc(100% - 19rem); */
  }

  div.carousel
    .carousel-inner.bg-img
    > .item
    .carousel-caption
    > div
    > *:not(div) {
    max-width: 100% !important;
  }
}

.carousel-caption p {
  font-size: 1.8rem;
  color: #ffffff;
  line-height: 1.4;
}

.carousel-caption p a {
  font-size: 1.8rem;
  line-height: 1.4;
}

.home-carousel
  .carousel-inner.bg-img
  > .item
  .carousel-caption
  > div
  > *:not(div) {
  max-width: 66%;
}

/************ Content Carousel END *************/
.home-carousel .carousel-inner .item {
  background-size: 50%;
  background-position: right;
}

.home-carousel .carousel-inner .item.text-right {
  background-size: 63.66%;
  background-position: left;
}

.home-carousel .carousel-inner .item .carousel-caption {
  margin-left: 0;
  max-width: calc(100% / 2 - 1.5rem) !important;
}

.home-carousel .carousel-caption > div {
  max-width: calc(129rem / 2.22 - 2rem) !important;
  margin-left: auto;
  /* height: calc(100% - 16rem); */
}

.home-carousel
  div.carousel
  .carousel-inner.bg-img
  > .item
  .carousel-caption
  > div
  > *:not(div) {
  max-width: 100%;
}

.home-carousel .carousel-caption {
  background: #ffffff;
}

.home-carousel .carousel-inner .item .carousel-caption {
  margin-left: 0;
}

.home-carousel
  div.carousel
  .carousel-inner.bg-img
  > .item
  > .carousel-caption
  > div {
  /* margin-top: -9rem; */
}

.home-carousel .carousel-inner .item.text-right .carousel-caption {
  margin-right: 0 !important;
  margin-left: auto;
}

.home-carousel .carousel-inner .item.dark .carousel-caption {
  background-color: #253746;
}

.home-carousel .carousel-inner .item.white .carousel-caption {
  background-color: #ffffff;
}

.home-carousel .carousel-inner > div.item.dark {
  background-color: #253746 !important;
}

.home-carousel .carousel-inner > div.item.white {
  background-color: #ffffff !important;
}

.home-carousel .carousel-inner > div.item.dark h1,
.home-carousel .carousel-inner > div.item.dark h2,
.home-carousel .carousel-inner > div.item.dark h3 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.home-carousel .carousel-inner > div.item.dark h4,
.home-carousel .carousel-inner > div.item.dark h5,
.home-carousel .carousel-inner > div.item.dark h6,
.home-carousel .carousel-inner > div.item.dark p {
  color: white;
  margin-bottom: 1.5rem;
}

.home-carousel .carousel-inner > div.item.white h1,
.home-carousel .carousel-inner > div.item.white h2,
.home-carousel .carousel-inner > div.item.white h3 {
  color: #253746;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.home-carousel .carousel-inner > div.item.white h4,
.home-carousel .carousel-inner > div.item.white h5,
.home-carousel .carousel-inner > div.item.white h6,
.home-carousel .carousel-inner > div.item.white p {
  color: #36464e;
  margin-bottom: 1.5rem;
}

.home-carousel ol.carousel-indicators {
  position: absolute;
  /* left: 0; */
  z-index: 1000000;
  width: 100%;
  /* margin-left: auto; */
  /* padding-left: 0; */
  /* list-style: none; */
  /* text-align: right; */
  bottom: 26%;
  /* right: auto; */
  /* margin-right: auto; */
  /* padding-right: 18px; */
  max-width: 119rem;
  padding-left: 0;
  margin-left: auto !important;
  left: auto;
  right: 0;
  /* float: right; */
  text-align: left;
}

.home-carousel .carousel-indicators li.active {
  background-color: #717171;
  border: 0.1rem solid #717171;
  /* border-radius: 0; */
  width: 1rem;
  height: 1rem;
  margin: 0 0 0 0.4rem;
}

.home-carousel .carousel-indicators li {
  background-color: #bbbbbb;
  border: 0.1rem solid #bbbbbb;
  width: 1rem;
  height: 1rem;
  margin: 0 0 0 0.4rem;
}

/*******************************/
/***** container width  *****/
@media (max-width: 1290px) {
  .home-carousel .carousel-caption > div {
    max-width: 100% !important;
    margin-left: auto;
    /* height: calc(100% - 16rem); */
  }
}

/*******************************/
/***** IPAD Landscape  *****/
@media (max-width: 1024px) {
  .home-carousel .item {
    background-size: 80% !important;
    height: calc(80vh - 9rem) !important;
  }

  .home-carousel .carousel-caption > div {
    padding-bottom: 2.5rem !important;
  }
}

/***** Ipad vert *****/
@media (max-width: 992.98px) {
  .home-carousel .item {
    background-size: contain !important;
    background-position: top !important;
    height: calc(95vh - 14rem) !important;
  }

  .home-carousel
    div.carousel
    .carousel-inner.bg-img
    > .item
    > .carousel-caption {
    height: auto !important;
    top: auto;
    position: absolute;
    width: 100% !important;
    bottom: 0;
    max-width: 100% !important;
  }

  .home-carousel .carousel-caption > div {
    max-width: 100% !important;
    padding-bottom: 15.5rem !important;
    margin-top: auto !important;
  }

  .home-carousel .carousel p {
    /* display: none; */
  }

  .home-carousel ol.carousel-indicators {
    bottom: 15%;
    padding-left: 2.6rem !important;
  }

  .home-carousel .carousel-indicators li.active {
  }

  .home-carousel .carousel-indicators li {
  }

  .home-carousel
    div.carousel
    .carousel-inner.bg-img
    > .item
    .carousel-caption
    h1 {
    font-size: 3.7rem;
  }

  .home-carousel
    div.carousel
    .carousel-inner.bg-img
    > .item
    .carousel-caption
    p {
    font-size: 1.6rem;
  }
}

/***** IPhone *****/
@media (max-width: 992.98px) {
  .home-carousel .item {
    background-size: contain !important;
    background-position: top !important;
    height: calc(105vh - 14rem) !important;
  }

  .home-carousel
    div.carousel
    .carousel-inner.bg-img
    > .item
    > .carousel-caption {
    height: auto !important;
    top: auto;
    position: absolute;
    width: 100% !important;
    bottom: -9rem;
    max-width: 100% !important;
  }

  .home-carousel .carousel-caption > div {
    max-width: 100% !important;
    padding-bottom: 10.5rem !important;
    margin-top: auto !important;
  }

  .home-carousel .carousel p {
    /* display: none; */
  }

  .home-carousel ol.carousel-indicators {
    bottom: -1%;
    padding-left: 2.6rem !important;
  }

  .home-carousel .carousel-indicators li.active {
  }

  .home-carousel .carousel-indicators li {
  }

  .home-carousel
    div.carousel
    .carousel-inner.bg-img
    > .item
    .carousel-caption
    h1 {
    font-size: 3.7rem;
  }

  .home-carousel
    div.carousel
    .carousel-inner.bg-img
    > .item
    .carousel-caption
    p {
    font-size: 1.6rem;
  }
}

@media (max-width: 375px) {
  .home-carousel .item {
    background-size: contain !important;
    background-position: top !important;
    height: calc(135vh - 14rem) !important;
  }
}
@media (max-width: 360px) {
  .home-carousel .item {
    background-size: contain !important;
    background-position: top !important;
    height: calc(125vh - 14rem) !important;
  }
}

/*******************************/
/***** iPad pro Vert  *****/
@media (width: 1024px) and (height: 1366px) {
  .home-carousel .item {
    background-size: contain !important;
    background-position: top !important;
    height: calc(95vh - 14rem) !important;
  }

  .home-carousel
    div.carousel
    .carousel-inner.bg-img
    > .item
    > .carousel-caption {
    height: auto !important;
    top: auto;
    position: absolute;
    width: 100% !important;
    bottom: 0;
    max-width: 100% !important;
  }

  .home-carousel .carousel-caption > div {
    max-width: 100% !important;
    padding-bottom: 20.5rem !important;
    margin-top: auto !important;
  }

  .home-carousel .carousel p {
    /* display: none; */
  }

  .home-carousel ol.carousel-indicators {
    bottom: 15%;
    padding-left: 2.6rem !important;
  }

  .home-carousel .carousel-indicators li.active {
  }

  .home-carousel .carousel-indicators li {
  }

  .home-carousel
    div.carousel
    .carousel-inner.bg-img
    > .item
    .carousel-caption
    h1 {
    font-size: 3.7rem;
  }

  .home-carousel
    div.carousel
    .carousel-inner.bg-img
    > .item
    .carousel-caption
    p {
    font-size: 1.6rem;
  }
}

.home-carousel .carousel-inner > .item.dark .carousel-caption a.Button {
  background: #ffffff;
  color: #034665;
}

.home-carousel .carousel-inner > .item.dark .carousel-caption a.Button:hover {
  background: transparent;
  color: #ffffff !important;
}

.home-carousel
  .carousel-inner
  > .item.dark
  .carousel-caption
  a.Button:hover:before,
.home-carousel
  .carousel-inner
  > .item.dark
  .carousel-caption
  a.Button:hover:hover:before {
  border-color: #ffffff;
}

.carousel-inner.bg-img > .item {
  box-shadow: inset 0 0 0 1000px rgb(41 55 69 / 30%);
}

header + .home-carousel .carousel-inner.bg-img > .item {
  box-shadow: none;
}

/***********************************************/
.fiftyfifty-row {
  max-width: 100% !important;
  display: flex;
}

.fiftyfifty-row .dark {
  background: #253746;
}

.fiftyfifty-row .dark div[id*="_Panel_"] > *:not(div) {
  color: white;
}

.fiftyfifty-row .col-sm-6 {
  padding: 0;
}

.fiftyfifty-row div {
  display: flex !important;
  width: 100%;
}

.fiftyfifty-row div > div[id*="_Panel_"] {
  flex-flow: column;
  margin: auto;
  max-width: calc(113rem / 2 - 1.5rem);
  padding: 8.7rem 6rem;
}

.fiftyfifty-row div .ContentItemContainer {
  margin-bottom: 0;
}

.fiftyfifty-row div > div[id*="_Panel_"] + div {
  display: none !important;
}

.fiftyfifty-row .col-sm-6:nth-child(1) div > div[id*="_Panel_"] {
  margin: auto 0 auto auto;
  padding-left: 0;
}

.fiftyfifty-row .col-sm-6:nth-child(2) div > div[id*="_Panel_"] {
  margin: auto auto auto 0;
  padding-right: 0;
}

.fiftyfifty-row div > div[id*="_Panel_"][style*="background"] {
  padding: 0;
  margin: 6rem !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  max-width: 100%;
}

.fiftyfifty-row .dark div[id*="_Panel_"] > a[class*="utton"] {
  color: #034665;
}

.fiftyfifty-row div[id*="_Panel_"] > a[class*="utton"] {
  align-self: flex-start;
}

.fiftyfifty-row
  div[id*="_Panel_"]
  > a[class*="utton"][style*="text-align: right"] {
  align-self: flex-end;
}

.fiftyfifty-row
  div[id*="_Panel_"]
  > a[class*="utton"][style*="text-align: center"] {
  align-self: center;
}

.fiftyfifty-row p {
  font-size: 1.7rem;
  line-height: 2.4rem !important;
}

@media (max-width: 992.98px) {
  .fiftyfifty-row div > div[id*="_Panel_"][style*="background"] {
    padding: 0;
    margin: 2.5rem !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    max-width: 100%;
  }

  .fiftyfifty-row {
    display: flex;
    /* height: calc(100% * 5); */
    flex-direction: column;
  }

  .fiftyfifty-row div > div[id*="_Panel_"] {
    padding: 2rem !important;
    max-width: 100%;
  }

  .fiftyfifty-row div > div[id*="_Panel_"][style*="background"] {
    height: 0;
    padding: 33.7% !important;
  }
}

.fiftyfifty-row div > div[id*="_Panel_"] + div + div {
  display: none !important;
}

/************ Content page banner START *************/
div[ID$="_Panel_PageHeading"] {
  background: #f1f1f1;
  min-height: 24rem;
  display: flex;
}

div[ID$="_Panel_PageHeading"] > div {
  max-width: 127rem;
  margin: 0 auto;
  padding: 7rem 0;
  width: 100%;
  background: white;
  border-bottom: 0.2rem solid #f1f1f1;
}

div[ID$="_Panel_PageHeading"] > div > h1 {
  max-width: 113rem;
  margin: auto;
}

@media (max-width: 992.98px) {
  div[ID$="_Panel_PageHeading"] h1 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/************ Content page banner END *************/

div#ste_container_ciPageHeading
  div.carousel
  .carousel-inner.bg-img
  > .item
  > .carousel-caption {
  margin: auto;
  /* height: 100% !important; */
  position: relative;
  width: 100%;
}
div#ste_container_ciPageHeading div.carousel > div {
  height: 100%;
}
div#ste_container_ciPageHeading div.carousel .carousel-inner.bg-img {
  height: 100%;
}
div#ste_container_ciPageHeading div.carousel .carousel-inner.bg-img > .item {
  height: 100% !important;
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
div#ste_container_ciPageHeading
  div.carousel
  .carousel-inner.bg-img
  > .item:after {
  display: none;
}
div.carousel .carousel-inner.bg-img > .item .carousel-caption a.Button:visited {
  color: #fff;
}
