/*
Theme Name:         Centacare
Theme URI:          http://www.centacare.com.au
Description:
Version:            1.0
Author:             Tom Longo
Author URI:

License:            MIT License
License URI:        http://opensource.org/licenses/MIT
*/

/* **** START STRIPE ***** */
.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  flex-basis: 100%;
  flex: 1;
}

.donate-container {
  display: grid;
  grid-template-columns: 100px 100px 100px;
  grid-template-rows: auto auto auto; 
  column-gap: 10px;
  row-gap: 15px;
}

.donate-button {
	background-color: #008da9;
	color: #fff;
	padding: 8px 12px;
	border: 0;
	border-radius: 4px;
	font-size: 1em;
	margin-bottom: 10px;
}

.donate-button:hover {
	background-color:#8cbedb;
}

/* **** END STRIPE ***** */

img{ max-width: 100%; }

.postContent #cptr_related_posts {
  padding: 0;
  margin: 0;
}

p.jobInfo + ul {
  list-style:inherit!IMPORTANT;
  padding-left:15px!IMPORTANT;
  /*border-bottom: solid 1px #f6f0e1;*/
}

p.jobInfo + ul > li {
  padding-bottom:6px!IMPORTANT;
}

.postContent #cptr_related_posts > li {
  display: block;
  width: 100%;
}

.postContent #cptr_related_posts > li > a {
  padding: 20px;
  display: block;
  border: solid 4px #f6f0e1;
  color: #222;
}
.postContent #cptr_related_posts > li > a:hover {
  background: #ffffff;
}


.postContent #cptr_related_posts > li.odd {
  clear: left;
}

.postContent #cptr_related_posts > li a h4 {
  border: 0;
  line-height: 1.3em;
  padding: 0;
  margin: 0 0 20px 0;
  display: block;
  color: #008da9;
}

.postContent a.page-back:link, .postContent a.page-back:visited {
  border: none;
  background:#b3d4fc;
  color: #fff;
  padding: 10px;
  display: inline-block;
  margin: 10px 0;
}

.postContent a.page-back:hover {
  background:#008da9;
}

.socialWidget ul.socialLinks li a:link, .socialWidget ul.socialLinks li a:visited {
  font-size: 30px;
  height: 50px;
  width: 50px;
  line-height: 45px;
}


/* new secondary nav */

#header {
  border-bottom: 10px solid #07467A;
}

#headerRow, #headerRow .row {
  margin: 0;
}

#headerRow > .col-sm-12 {
  padding-left: 0;
  padding-right:0;
}

#nav {
  font-size: 17px !important;
}

#nav>li.current-menu-item>a:link, #nav>li.current-menu-item>a:visited, #nav>li.current-page-parent>a, #nav li:hover>a, #nav li>a:active {
  border-bottom-color: transparent !important;
  text-decoration: underline;
}

#nav .sub-menu {
  top: 37px !important;
}

#nav .sub-menu, #nav {
  z-index: 2100 !important;
}

#secondNav {
  background: #f7f2e1;
  position: relative;
}


.heroContainer, #sliderContainer {
  z-index: 50 !important;
}

#nav {
  bottom: 50px !important;
}

#logo {
  margin: 15px 0 !important;
  max-width: 100%;
}

#headerRow #logo a, #headerRow #logo a:link, #headerRow #logo a:visited {
  width: 300px;
  background-size: 300px 89px;
}

#nav-secondary {
  position: relative;
  z-index: 100;
  font-family: "Georgia", serif;
  font-size: 20px;
  width: 100%;
}

#nav-secondary > li {
  display: block;
  text-align: center;
  width: 33.33333%;
  float:left;
}


#menu-item-757, #menu-item-757 ul, #menu-item-757 > a {
  background: #4BAFC3;
}
#menu-item-758, #menu-item-758 ul, #menu-item-758 > a {
  background: #158DA7;
}
#menu-item-759, #menu-item-759 ul, #menu-item-759 > a {
  background: #305c9b;
}
#nav-secondary > li#menu-item-748 {
  display: none;
  background: #B12C54;
  width: 15%;
  margin-right: 10%;
}

#nav-secondary > li#menu-item-748 > a {
  font-size: 20px;
}


#nav-secondary > li > a {
  font-size: 14px;
  padding: 0px 10px;
  height: 50px;
  line-height: 50px;
  display: block;
  color: #fff;
  position: relative;
  z-index: 2000;
  transform:translateZ(0);
}

#nav-secondary > li > ul {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: 150ms ease all;
  position: absolute;
  right: 0;
  width: 100%;
  text-align: left;
  font-size: 0;
  padding: 10px;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#nav-secondary > li:hover > ul {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

#nav-secondary > li > ul > li {
  display:inline-block;
  font-size: 12px;
  width: 50%;
  vertical-align: bottom;
}
#nav-secondary > li > ul > li > a {
  color: #fff;
  padding: 15px;
  display: block;
}
#nav-secondary > li > ul > li > a:hover {
  background: rgba(255,255,255,0.2);
  text-decoration: none;
}




@media (min-width:768px) {

  .postContent #cptr_related_posts > li {
    width: 48%;
    float: left;
    margin: 1%;
  }

  #nav-secondary {
    width: 100%;
    position: relative;
  }
  #nav-secondary > li > a {
    font-size: 18px;
  }
  #nav-secondary li {
    width: 33.333333%;
    float: left;
    font-size: 14px;
  }
  #nav-secondary > li > ul > li {
    float:none;
  }
}

@media (min-width:992px) {
  #nav-secondary {
    width: 540px;
    position: absolute;
    bottom: 0;
    right: 0;
  }
  #nav-secondary > li > ul > li {
    display:inline-block;
    font-size: 14px;
    width: 33.33333%;
    vertical-align: bottom;
  }
}


@media (min-width:1200px) {
  #nav-secondary {
    width: 740px;
  }
  #nav-secondary > li > ul > li {
    display:inline-block;
    font-size: 14px;
    width: 25%;
  }
}

.quickExit {
  position: fixed;
  bottom: 0;
  right: 40px;
  display: block;
  padding: 20px;
  font-size: 16px;
  color:#fff;
  background: #B12C54;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}

.quickExit:hover {
  text-decoration: none;
  color:#fff;
  background: #6c1b33;
}

#wrapper #sliderContainer:after, #wrapper .heroContainer:after {
  background:url(assets/img/pattern.png);
  left: 0;
  width: 100%;
  height: 15px;
  margin: 0;
  background-size: none;
}

#wrapper .heroContainer {
  height: 440px;
}

.heroImage {
  height: 440px;
  background-repeat:no-repeat;
  background-size:cover;
  background-position: 50% 50%;
}

#wrapper .heroImage:before, #wrapper .heroImage:after{
  display: none;
}


@media only screen and (max-width: 1200px) {
  #wrapper .heroContainer, .heroImage {
    height: 360px;
  }
}


@media only screen and (max-width: 760px) {
  #wrapper .heroContainer, .heroImage {
    height: 280px;
  }
}

@media only screen and (max-width: 480px) {
  #wrapper .heroContainer, .heroImage {
    height: 180px;
  }
  .postContent th, .postContent td {
    display: block;
  }

  .postContent tr {
    border-bottom:none !important;
  }
}



#sliderInfoContainer .slideInfo {
  background: #fff;
}

#sliderInfoContainer .slideInfo p {
  font-size:14px;
  line-height: 1.4em;
}

#sliderInfoContainer .slideInfo  h1.postTitle, #sliderInfoContainer .slideInfo .postTitle a:link, #sliderInfoContainer .slideInfo .postTitle a:visited {
  /*color:#008da9;*/
  font-style: italic;
}

#sliderInfoContainer .slideInfo .postTitle a:hover {
  text-decoration: none;
  color:#008da9;
}


#sliderInfoContainer .slideInfo:after {
  display: none;
}

#footerLogos {
  text-align: center;
}

#footerLogos img {
  margin: 0 0 0 10px;
}

#footerLogos a, #footerLogos img {
  display: inline-block;
}

/*
#livingCatholicLogo a:link, #livingCatholicLogo a:visited {
  background: none;
  background-size: auto;
  text-indent: 0;
}*/


#copyrightContent {
  padding: 0 !important;
}
#copyrightContent #footer1 {
  padding: 25px 20px;
}
#copyrightContent #footerLogos {
  padding: 25px 20px 25px 0;
  background: #fff;
}

@media print {
  body { background:white; color:black; margin:0 }
  .heroContainer, #main .col-sm-4, #locations, #toggleMenuContainer, .menu-container, #about, .quickExit, #copyright {display: none;}


}