/***
 * Theme Name: Perth Sleep Dentistry
 * Author: TN3
 * Description: Using Bootstrap 4 grid - font awesome 5
 */

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	outline: none;
}

body {
	 font-size: 17px;
	 line-height: 1.5;
	 font-family: "Roboto",sans-serif;
	 color: #58585a;
	 font-weight: 400;
}
h1,h2,h3,h4,h5,h6 {
	font-weight: 500;
}
img{
	max-width: 100%;
}

a {
	text-decoration: none;
}
p a {
	text-decoration: underline;
	color: #58585a;
}
.clear{
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}
.clearfix:before,
.clearfix:after{
	content: '';
	display: block;
	clear: both;
}
.relative {
	position: relative;
}
.imageSize {
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}
.upper {
	text-transform: uppercase;
}
.center-align {
	text-align: center;
}
.underline {
	text-decoration: underline;
}
/*---- Size ----*/
.footer .text-footer .copyright,.wpcf7 a, .wpcf7 p,input[type="text"], input[type="date"], input[type="tel"], input[type="email"],textarea,input[type="date"] {
	font-size: 16px;
	font-family: "roboto";
}
.category .thumbnail span, .footer .contact a,.header ul > li > a, .footer .menu-footer ul > li > a  {
	font-size: 18px;
}
.button, .wpcf7 .bookForm,.wpcf7 .contactUS, .map .work-hours  {
	font-size: 20px;
}
.header .fb-icon i,.home .banner .text h2, input[type="submit"], .inner h2 {
	font-size: 24px;
}
.content ul, .content ol {
	margin-left: 20px;
	margin-top: 15px;
	margin-bottom: 15px;
}
p {
	margin-bottom: 15px;
}
/* ----------- Header -------- */
.header {
	padding: 10px 0 0 0;
	position: absolute;
	width: 100%;
	background-color: rgba(255,255,255,0.7);
	z-index: 1;
}
.header .logo img {
	vertical-align: top;
}
.header ul > li {
	float: left;
	list-style-type: none;
	padding: 0 8px;
	position: relative;
	padding-bottom: 10px;
}
.header ul > li > a, .footer .menu-footer ul > li > a {
	color: inherit;
	display: block;
	-webkit-transition: 0.3s all;
	transition: 0.3s all;
	border-bottom: 2px solid transparent;
}
.header ul > li > a:hover, .footer .menu-footer ul > li > a:hover {
	border-bottom: 2px solid grey;
}
.header .mobileLogo, .header .btn-mobile, .menu-bt {
	display: none;
}
.header .menu-box {
	text-align: right;
}
.button {
	padding: 5px 15px;
	border-radius: 5px;
	display: inline-block;
	-webkit-transition: 0.3s all;
	transition: 0.3s all;
}
.button:hover {
	background-color: #aaa;
}
.book-btn {
	color: #fff;
	background-color: #42bb96;
	border: 2px solid #42bb96;
}
.call-btn {
	color: #fff;
	background-color: #81b824;
	border: 2px solid #81b824;
}
.header .call-btn {
	margin-left: 50px;
	margin-right: 20px;
}
.header .menu-wrap {
	padding-top: 25px;
}
.header .fb-icon i{
	color: #3b579d;
	padding-left: 8px;
	-webkit-transition: 0.3s all;
	transition: 0.2s all;
}
.header .fb-icon i:hover {
	color: #3db08e;
}
.banner {
	height: 690px;
}
.banner .text {
	padding-top: 200px;
	font-size: 22px;
	width: 50%;
}
.home .banner .text h2 {
	padding-bottom: 25px;
	font-weight: 900;
	color: #3db08e;
	text-shadow: -1px -1px 1px #58585a;
}
.banner .text li   {
	line-height: 2;
}
.content ul, .banner .text ul, .banner .text ol {
	list-style-type: none;
}
.content ul li:before, .banner .text li:before {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	vertical-align: middle;
	margin-right: 7px;
	display: inline-block;
	background-color: #58585a;
}
.banner .book-wrap {
	text-align: center;
	margin-top: 50px;
}
.category {
	padding: 40px 0;
}
.category .thumbnail img {
	width: 100%;
	height: 100%;
	vertical-align: top;
	transition: 0.4s all;
	border: 2px solid transparent;
}
.category .thumbnail img:hover {
  	border: 2px solid #42bd98;
}
.category .thumbnail span {
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	color: #42bd98;
	text-shadow:  -1px -1px 1px #fff, 0 1px 1px #fff, 1px 1px 1px #fff, 1px -1px 1px #fff
}
.category .col-md-3 {
	padding-left: 25px;
	padding-right: 25px;
}
.category .row{
	margin-left: -25px;
	margin-right: -25px;
}
div.wpcf7 {
	background-color: #42bd98;
	border-radius: 5px;
	text-align: center;
	padding: 25px 30px;
	margin-right: 15px;
	color: #fff;
}
input[type="text"], input[type="date"], input[type="tel"], input[type="email"],textarea {
	width: 100%;
	padding: 5px 10px;
	margin-bottom: 5px;
	border: none;
	resize: none;
	color: #000;
}
input[type="date"] {
	color: #747476;
}
input[type="submit"] {
	padding: 5px 45px;
	background-color: #81b824;
	box-shadow: 1px 3px 4px 0px #58585a;
	-webkit-appearance: none;
	border: none;
	color: inherit;
	margin-top: 10px;
	margin-bottom: 25px;
	-webkit-transition: 0.3s all;
	transition: 0.3s all;
}
input[type="submit"]:hover {
	box-shadow: none;
}
.wpcf7 .bookForm {
	padding: 5px;
	background-color: #e6e6e6;
	display: block;
	border-radius: 5px;
	color: #42bd98;
	margin-bottom: 25px;
	-webkit-transition: 0.3s all;
	transition: 0.3s all;
	text-decoration: none;
}
.wpcf7 .bookForm:hover {
	box-shadow: 1px 1px 5px 2px grey;
}
.wpcf7 .bookForm i {
	font-size: 14px;
	vertical-align: middle;
}
.wpcf7 .contactUS {
	margin-bottom: 25px;
}
.wpcf7 a, .wpcf7 p {
	color: inherit;
	font-size: 16px;
}
/* Change br height .content .text br {
	display: block;  makes it have a width
    content: "";  clears default height
    margin-top: 20px;  change this to whatever height you want it
}
 */
.map .work-hours {
	background-color: #58585a;
	padding: 30px 10px;
	margin-top: 30px;
	margin-right: 50px;
	text-align: center;
	color: #fff;
	border-radius: 5px;
	display: inline-block;
}
.map .work-hours a,.footer .menu-footer a, .footer .contact a {
	color: #fff;
	-webkit-transition: 0.3s all;
	transition: 0.3s all;
}
.footer .contact a:hover {
	color: #42bd98;
}
.logo-brands {
	padding: 10px 0;
	text-align: center;
}
.logo-brands a {}
.footer {
	background-color: #58585a;
	color: #fff;
}
.footer .logo-footer {
	margin-right: 25px;
}
.footer .menu-footer {
	display: flex;
	justify-content: center;
	padding: 20px 0;
}
.footer .menu-footer  ul {
	list-style-type: none;
}
.footer .menu-footer  ul > li {
	margin-bottom: 2px;
}
.footer .text-footer {
	text-align: center;
}
.footer .text-footer .contact, .footer .copyright {
	margin-bottom: 15px;
}
.footer .fb-icon {
	margin-left: 15px;
	width: 30px;
	box-shadow: 1px 1px 2px #fff;
	display: inline-block;
	-webkit-transition: 0.3s all;
	transition: 0.3s all;
}
.footer .fb-icon:hover {
	color: #42bd98;
}
/*---- Inner ----*/
.inner {
	padding: 25px 0;
}
.inner .work-hours {
	margin-right: 20px !important;
}
.inner.banner h1 {
	padding-top: 100px;
	font-size: 36px;
	font-weight: 900;
	color: #3db08e;
	text-shadow: -1px -1px 1px #fff;
	padding-left: 75px;
}
.inner.banner {
	height: 650px;
	background-position: center bottom;
}
/* ------sticky animation ------ */
.sticky {
  position: fixed !important;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 5;
  animation:slide-down 0.7s;
}
@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.header ul.sub-menu {
	display: none;
}
.header ul li.menu-item-has-children:hover ul {
	display: block;
}
.header ul.sub-menu > li {
	float: none;
}
.header ul > li > ul {
	position: absolute;
	background-color: rgba(255,255,255,0.7);
	z-index: 1;
	top: 39px;
	min-width: 150px;
	text-align: left;
}