/*
	Theme Name: RPAH2017
	Description: Custom Wordpress theme for the RPAH Medical Centre website
	Author: Chris McKenna
	Author URI: http://connexionpr.com.au
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	padding: 0;
}
body {
	font:300 14px/1.4 'Roboto', sans-serif;
	color:#444;
	background-image: url(img/pageBG.jpg);
	background-repeat: no-repeat; background-position: top center;
	background-size: cover;
	padding: 0; margin: 0;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

.testb {border: 1px solid red;}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {
	
}
.nav-brand {
	padding: 2em;
	box-shadow: 5px 2px 15px rgba(0,0,0,0.2);
	transform: skewX(-15deg);
	padding-left: 60px;
	margin-left: -20px;
	position:absolute;
	background: #6bccf9;
	border-right: 7px solid #0077BE;	
}
.nav-brand .logo {transform: skewX(15deg);}

/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {
	float: right;
	text-align: right;
	padding: 0; margin: 20px 0 0 0;
}
.nav ul {
	list-style-type: none;
	padding: 0 60px 0 5px; margin: 0 -30px 0 0;
	position: absolute; right: 0;
	background: #6bccf9;
	background: -moz-linear-gradient(top,  #6bccf9 0%, #0668d1 100%);
	background: -webkit-linear-gradient(top,  #6bccf9 0%,#0668d1 100%);
	background: linear-gradient(to bottom,  #6bccf9 0%,#0668d1 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6bccf9', endColorstr='#0668d1',GradientType=0 );
	transform: skewX(-15deg);
	z-index:200;
}
.nav ul li {
	padding: 0; margin: 0;
	display: inline-block;
	background-color: rgba(107,243,255,0.30);
	transition: all ease-in .2s .05s;
}
.nav ul li:hover {
	background-color: rgba(107,243,255,0.60);
	transition: all ease-out .2s;
}
.nav ul li a {
	padding: 20px;
	display: block;
	font-size: 20px;
	font-weight: 900;
	color: #fff;
	letter-spacing: 1px;
	transform: skewX(15deg);
	transition: all ease-in .2s .05s;
}
.nav ul li a:hover {
	text-decoration: none;
	padding: 20px 40px;
	color: #fff;
	transition: all ease-out .2s;
	
}
/* sidebar */
.sidebar {

}
/* footer */
.footer {
	background: #3f4c6b;
	background: -moz-linear-gradient(top,  #3f4c6b 0%, #3f4c6b 100%);
	background: -webkit-linear-gradient(top,  #3f4c6b 0%,#3f4c6b 100%);
	background: linear-gradient(to bottom,  #3f4c6b 0%,#3f4c6b 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3f4c6b', endColorstr='#3f4c6b',GradientType=0 );
	padding: 0 0 2em 0;
	color: #DDE4FF;
	position: relative;
	margin-top: 0px;
	z-index: 100;
	border-top: 2px solid #0095C0;
}

.footer a {color: #fff;}

/*.footer::before {
	content: ' ';
	width: 105%;
	position: absolute;
	z-index: -10;
	background-image: url(img/footer-cap.svg);
	background-size: cover;
	height: 40px;
	margin-top: -39px;
	left: -23px;
} */

/*------------------------------------*\
    STANDARDS
\*------------------------------------*/
.grad-blue {
	background: #87e0fd;
	background: -moz-linear-gradient(top,  #87e0fd 0%, #05abe0 100%);
	background: -webkit-linear-gradient(top,  #87e0fd 0%,#05abe0 100%);
	background: linear-gradient(to bottom,  #87e0fd 0%,#05abe0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#05abe0',GradientType=0 );
}

main {
	margin-top: 120px;
	padding: 30px 0 60px 0;
}
main .container {
	background-color: #fff;
	padding: 10px 40px 0 40px;
}

h1 {margin: 20px 0 30px 10px}

.ribbon {
	margin-left: -47px;
	padding: 0px 10px 0px 30px;
	color: #fff;
	text-transform: uppercase;
	z-index:10;
	position: relative;
	height: 50px;
	filter: drop-shadow(1px 3px 4px rgba(0,0,0,0.2));
	line-height: 47px;
	background-color: #66CEF6;
	font-weight: 900;
	letter-spacing: 1px;
}
.ribbon::before {
	content: ' ';
	display: block;
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%);
	clip-path: polygon(0 0, 100% 0, 100% 100%);
	background-color: #144788;
	position: absolute;
	left: 30px;
	height: 20px; width: 20px;
	margin: 50px 0 0 -29px;
}
.ribbon::after {
	content: ' ';
	display: block;
	background-image: url(img/ribbon.svg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right center;
	position: relative;
	float: right;
	left: 30px;
	height: 50px;
	z-index: 5;
	width: 50px;
}
.ribbon-small {
	height: 36px;
	line-height: 36px;
	margin-left: -61px;
	max-width: 50%;
	text-transform: capitalize;
	padding: 7px 0 4px 35px;
} .ribbon-small::before {margin-top: 28px; margin-left: -29px;}
.ribbon-small::after {height: 36px; margin-top: -29px; width: 35px;}

/*------------------------------------*\
    HOME PAGE
\*------------------------------------*/

.home header .nav-brand {
	position: absolute;
	z-index :200;
}

.home main {
	margin-top: -55px;
	position: relative;
	z-index: 100;
	background-color:#3E3E3E;
	margin-bottom: -30px;
}

.home main .container {background-color: transparent;}

.home footer {
	position: absolute;
	width: 100%;
}

.home .container-fluid {
	padding: 0 !important;
}

.home .carousel {
	height: 100%;
	position: relative;
	z-index: 50;
}

.home .carousel .carousel-inner {top: -35px;}

.home .carousel .carousel-item {
	height: 100vh; 
	overflow: hidden;
	background-position: top center;
	background-size: cover;
}

.carousel-item {
transition: all ease-in-out 1s;
}

.home .quicklinks {
	margin-top: -180px;
	position:absolute;
	z-index: 200;
	width: 100%;
	height: 100px;
}


.quicklinks .card-group {
	border-left: 5px solid #144788;
	padding: 0;
}

.home .quicklinks a.card {
	padding: 0; border: none; background-color: #E6F1F9; transition: all ease-in .3s; bottom: 0; position: relative; border-right: 5px solid #144788;
	background: #87e0fd;
	background: -moz-linear-gradient(top,  #87e0fd 0%, #05abe0 100%);
	background: -webkit-linear-gradient(top,  #87e0fd 0%,#05abe0 100%);
	background: linear-gradient(to bottom,  #87e0fd 0%,#05abe0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#05abe0',GradientType=0 );
}

.home .quicklinks a.card:hover {filter: brightness(1.2); text-decoration: none; transition: all ease-in .1s; bottom: 10px;}

.quicklinks .card .card-header {
	background: transparent;
	border-bottom: none;
}
.quicklinks .card .card-header h3 {
	color: #fff;
	font-size: 16px;
	margin-left: 0; margin-right: 0;
	padding: 5px 15px 5px 15px;
	font-weight: bold;
}
.quicklinks .card .card-header h3 .fa {
	float: right;
	top: 12px; right: 10px;
	position: absolute;
}

.home .card-header {font-size: 16px; font-weight: 900; text-align: left; padding: 6px 0; color: #078FFF;}

.quicklinks .card-img-bottom {
	padding: 5px 20px 0 20px;
}

.homesearch {
	background-color: #b8e3ff ;
	color: #001A2A;font-size: 13px;
	box-shadow: 3px 3px 9px rgba(0,0,0,0.5);
	margin-right: 0 !important; margin-left: 0 !important;
}
.homesearch p {
	transform: skewX(15deg);
	line-height: 14px;
}
.homesearch .card-header {
	background-color: #078FFF !important;
	padding: 4px 0 5px 0;
}
.homesearch .card-header h3 {
	color: #fff !important;
	font-size: 20px;
	padding: 12px 0 5px 0;
	transform: skewX(15deg);
	font-weight: 900;
	letter-spacing: 1px;
}

.homesearch #searchterminput {
	padding: 8px 15px;
	font-size: 16px;
}
.homesearch #submit {
	width: 35%;
	font-size: 16px;
	text-align: center;
	padding-left : 8%;
	transition: all ease-in-out .2s;
} .homesearch #submit:hover {width: 38%; padding-left: 10%;}


.rpahfilter {width: 98%; margin-top: 20px;}
.rpahresult {width: 98%; margin-top: 30px;}

.directory .form-group {width: 23%; margin-right: 2%; float: left;}
.directory .form-control {font-size: 16px; height: 35px !important;}
.directory .ribbon-small {line-height: 26px;}
.directory .ribbon-small::after {margin-top: -7px;}

.directory .searchbar {
	width: 100%; margin-top: 20px;
}
.directory .searchbar .form-control{
	height: 50px;
	font-size: 20px;
	width: 100%;
	padding: 10px 10px;
}

.directory .tenant-logo {
	max-width: 120px;
	max-height: 90px;
	margin-left: -130px;
	margin-top: 20px;
	position: absolute;
}

.directory .tenant-logo img {
	max-height: 90px;
}

.wpv-submit-trigger, .btn-reset {
	height: 40px; width: 100px;
	font-size: 18px;
	background-color: #078FFF; color: #fff;
	margin-top: 20px;
}
.wpv-submit-trigger:hover {filter: brightness(1.2);}
.btn-reset {
	background-color: #3E3E3E; color: #fff; font-size: 15px; width: 110px;
	line-height: 28px;
} .btn-reset:hover {color: #fff; background-color: #144788;}

.js-wpv-layout-responsive ul .page-item {line-height: 20px; margin: 15px 0 10px 0;}
.js-wpv-layout-responsive ul li a {padding: 8px 10px;}
.js-wpv-layout-responsive ul li.active {padding: 8px 10px 3px 10px; background-color: #A6C7E3;}

.wpv-filter-next-link, .wpv-filter-previous-link {position: relative; top: 8px; text-transform:uppercase; border: 1px solid #D4D4D4; border-radius: 0 30px 40px 0;}
.wpv-filter-next-link:hover, .wpv-filter-previous-link:hover {background-color: #9ED3FF;}
.wpv-filter-previous-link {border-radius: 20px 0 0 20px; padding: 0 30px 0 40px;}

.directory .entry {
	color: #144788;
	margin-bottom: 20px;
	font-size: 15px;
	width: 96%;
	margin: 30px auto 5px auto;
	border-radius: 30px 0 0 0;
	border: 1px solid #B0C8DC;
}
.directory .entry .tenant, .directory .entry .details {margin: 0}
.directory .entry a {color: #0077BE !important;}
.directory .entry .tenant {background-color: #A5D9FF; text-align: left; font-weight: bold; border-radius: 30px 0 0 0;}
.directory .entry .tenant .col {border: 1px solid red;}
.directory .entry .tenant .col-4 {width: 25%;}
.directory .entry .name {background-color: #daefff; padding: 12px 10px 8px 25px; font-size: 17px; color: #0072c3; width: 34%; border-radius: 30px 0 0 0;}
.directory .entry small {position: absolute; margin-top: -18px;}
.directory .entry .spec, .directory .entry .group, .directory .entry .room {width: 20%; padding: 24px 10px 5px 10px;}
.directory .entry .group {width: 28%;}
.directory .entry .room {width: 8%; text-align: right; font-size: 18px;}

.directory .entry .details {padding: 15px 15px 10px 15px; background-color: #F7FBFF; font-size: 17px;}
.directory .entry .phone {width: 23%;}
.directory .entry .fax {width: 20%;}
.directory .entry .web {width: 45%;}
.directory .entry .more {width: 12%; margin-top: -5px; display: inline-block; font-size: 13px; background-color: #fff; text-align: center; border-radius: 20px; padding: 5px 10px; border: 1px solid #0077BE; transition: all ease-in .15s; font-weight: bold;}
.directory .entry .more:hover {background-color: #0077BE; color: #fff !important; text-decoration: none;}


.single-tenant {font-size: 20px;}
.single-tenant h1 {
	font-weight: bold;
	font-size: 30px;
	padding-left: 30px;
	margin-left: -61px;
	width: 80%;
}
.single-tenant .title {width: 200px; display: inline-block;}

.ribbon.nudge::after {margin-top: -26px;}

.nav-brand {
	width: 400px;
	padding: 40px 30px 50px 60px;
}
.nav-brand img {margin-top: -24px;}
.nav-brand address {
	position: absolute;
	color: #fff;
	font-size: 17px;
	text-align: center;
	margin-top: 10px;
	opacity: 0.7;
	width: 100%;
	margin-left: -50px;
}

.nav-mobile {display:none; z-index: 250;
	background: #87e0fd;
	background: -moz-linear-gradient(bottom,  #87e0fd 0%, #05abe0 100%);
	background: -webkit-linear-gradient(bottom,  #87e0fd 0%,#05abe0 100%);
	background: linear-gradient(to top,  #87e0fd 0%,#05abe0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#05abe0',GradientType=0 );
}
.nav-mobile .navbar-brand {width: 65%;}
.nav-mobile .navbar-toggler {
	position: absolute;
	right: 30px;
	top: 15px;
	color: #fff;
	font-size: 30px;
	border-color: #A0CEF4;
}
.nav-mobile .nav-item {
	padding: 5px 20px;
}
.nav-mobile .nav-link {
	color: #fff !important;
	text-transform: uppercase;
	font-size: 18px;
	text-align: center;
}

.mobile-footer {
	background-color: #3E3E3E;
	padding: 20px;
	position: relative;
}
.mobile-footer a {color: #fff;}

.home footer {margin-top: -30px;}

.home footer .container {padding-top: 50px;}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/


    /*==========  Non-Mobile First Method  ==========*/

		/* Large Devices, Wide Screens */
    @media only screen and (max-width : 1400px) {
			.home .quicklinks {
				margin-top: -210px;
			}
			.quicklinks .card .card-header h3 {
				font-size: 14px;
			}
		}


    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {
			.nav-brand {
				width: 380px;			
			}
			.nav-brand address {font-size: 17px;}
			.nav ul {padding-right: 35px;}
			.nav ul li a {
				padding: 20px 15px;
				font-size: 16px;
			}
			.nav ul li a:hover {
				padding: 20px 20px;
			}
			.quicklinks .container {
				margin: 0 0 0 20px; padding: 0;
				max-width: 1200px;
			}
    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
			.home main {padding: 0;}
			.nav-brand {
				width: 350px;
				padding-left: 48px;
				z-index: 350 !important;
			}
			.nav-brand address {font-size: 14px;}
			.nav ul li a {
				padding: 16px 10px;
				font-size: 16px;
			}
			.nav ul li a:hover {
				padding: 16px 10px;
			}
			.home .quicklinks {
				transform: skewX(0);
				margin: 0; position: relative;
				height: auto;
			}
			.home .carousel {height: 700px;}
			.home .carousel .carousel-inner {top: 0;}
			.home .carousel .carousel-item {height: 700px;}
			.home .quicklinks .container {
				width: 100%;
				padding: 0; margin: 0;
			}
			.quicklinks .card-img-bottom, .quicklinks .card .card-header h3, .quicklinks .homesearch .card-header h3, .homesearch p {transform: skewX(0);}
			.quicklinks .card-img-bottom {transform: scaleY(.9);}
			.home footer {position: relative;}
			.home .card-deck {padding-right: 0;}
			.card-deck .card {margin-right: 0;}
			
			.directory .entry .name {width: 100%;}
			.directory .entry small {}
			.directory .entry .spec {width: 50%;}
			.directory .entry .group {width: 50%;}
			.directory .entry .room {position: absolute; right: 50px; width: 20%; padding: 10px;}
			.directory .entry .room small {margin-top: 0; margin-left: -50px;}
			.directory .entry .details {}
			.directory .entry .phone, .directory .entry .fax,  .directory .entry .web {width: 70%; float: left; margin-bottom: 20px;}
			.directory .entry .more {position: absolute; right: 40px; margin: 0; width: 30%;}
			.directory .entry .more:hover {}
    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
			.nav ul {
				width: 100%;
				padding: 0;
				margin: 0;
				transform: skewX(0);
				top: 0;
			}
			.nav ul li {
				width: 14%;
			}
			.nav ul li a {
				margin: 0;
				padding: 15px 10px;
				transform: skewX(0);
				font-size :13px;
			}
			.nav ul li a:hover {
				padding: 5px 10px;
			}
			.nav-brand {
				transform: skewX(0);
				padding: 35px 15px 35px 30px;
				margin-left: 0;
				width: 40%;
				z-index: 350;
			}
			.nav-brand img {transform: skewX(0) !important;}
			.nav-brand address {
				margin-left: -35px;
				font-size:12px;
				margin-top:7px;
			}
			.ribbon-small {max-width: 100%;}
			.home footer {margin-top: 50px;}
			.footer::before {width: 110%; left: -50px;}
			.home main {margin-top: 0; padding-top: 0;}
			main {margin-top: 70px;}
			
			.home .carousel {height: 500px;}
			.home .carousel .carousel-item {height: 500px;}
			
			.rpahresult {width: 100%; margin:0; margin-left: 0px; margin-top: 40px;}
			.rpahresult .col-12 {padding: 0;}
			.directory .entry {width: 100%;}
			.directory .form-group {width: 30%;}
			.directory .searchbar {width: 100%;}
			.directory .entry .room {right: 0}
			.directory .entry .more {right: 0;}
			
			.single-tenant h1 {width: 100%;}
			.single-tenant strong {font-size: 16px;}
    }

    /* Custom Swap */ 
    @media only screen and (max-width : 600px) {
			.nav-screen {display: none;}
			.nav-mobile {display: block;}
			main {margin-top: 0;}
    }

		/* Extra Small Devices, Phones */ 
    @media only screen and (max-width: 576px) {
			.home .quicklinks a.card {
				/* width: 50%; float: left; */
				/* height: 240px; */
			}
			.carousel {display: none;}
			.quicklinks .card-img-bottom {padding: 15px 30px;}
    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
	
    }

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
