/*
Theme Name: QCC
Theme URI: http://qcc.co.nz
Description: WordPress Theme
Author: Total Brand
Author URI: https://www.totalbrand.co
Version: 2018.06
*/

body {
	background: #20558a;
	color: #333;
	font-family: "Lato", Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight:400;
	line-height: 1.6em;
	margin: 0;
	padding: 0;
}

img {
	max-width:100%;
	height:auto
}

p {
	padding: 0px;
	margin: 0 0 18px 0;
}

strong {
	font-weight:700;
}

em {
	color:#20558a;
	font-style: normal;
}

hr {
	border:0;
	border-top:1px solid #EEE;
	clear:both;
	display:block;
	margin:0;
	margin-top:40px;
	margin-bottom:40px;
	padding:0;
	width:100%;
}

table {
	margin-bottom:15px;
}

tr:nth-child(2n) {
	background:#F8F8F8;
}

td {
	border:1px solid #DDD;
	font-size:85%;
	margin-bottom:0;
	padding-top:10px;
	padding-right:10px;
	padding-bottom:10px;
	padding-left:10px;
	vertical-align:middle;
}

/* LINKS */

a:link {
	color: #20558a;
	text-decoration:none;
}

a:visited {
	color: #20558a;
	text-decoration:none;
}

a:hover {
	color: #0099cc;
	text-decoration:none;
}

a:hover img { opacity:0.8; }

a:active {
	color: #20558a;
	text-decoration:none;
}

/* HEADINGS */

h1 {
	color:#20558a;
	font-size: 1.8em;
	font-family: "Lato", Helvetica, Arial, sans-serif;
	font-weight: 700;
	line-height: 1.4em;
	margin: 0 0 18px 0;
	padding: 0px;
}

h2 {
	color:#20558a;
	font-size: 1.5em;
	font-family: "Lato", Helvetica, Arial, sans-serif;
	font-weight: 700;
	line-height: 1.4em;
	margin: 0 0 18px 0;
	padding: 0px;
}

h3 {
	color:#000;
	font-size: 1.25em;
	font-family: "Lato", Helvetica, Arial, sans-serif;
	font-weight: 700;
	line-height:1.4em;
	margin: 0 0 18px 0;
	padding: 0px;
}

h4 {
	color:#000;
	font-size: 1.2em;
	font-family: "Lato", Helvetica, Arial, sans-serif;
	font-weight: 700;
	line-height:1.4em;
	margin: 0 0 8px 0;
	padding: 0px;
}

h5 {
	font-size: 1.2em;
	font-family: "Lato", Helvetica, Arial, sans-serif;
	font-weight: 400;
	line-height:1.4em;
	margin: 0 0 18px 0;
	padding: 0px;
}

h6 {
	font-size: 1.1em;
	font-family: "Lato", Helvetica, Arial, sans-serif;
	font-weight: 400;
	line-height:1.4em;
	margin: 0 0 18px 0;
	padding: 0px;
}

/***********************************************************************************************/
/* CUSTOM STYLES */
/***********************************************************************************************/

.alignleft {
	clear:both;
	margin-bottom:20px;
}

.aligncenter {
	display:block;
	margin-right:auto;
	margin-left:auto;
}

.alignright {
	clear:both;
	margin-bottom:20px;
}

.bkg-blue {
	background-color:#20558a;
	background-image: url("images/bkg-blue.png");
	background-repeat: repeat;
}

.bkg-grey {
	background-color:#EEE;
	background-image: url("images/bkg-grey.png");
	background-repeat: repeat;
}

@media only screen and (min-width: 992px) {

.bkg-blue {
	background-attachment: fixed;
}

.bkg-grey {
	background-attachment: fixed;
}

}

.bkg-white {
	background-color:#FFF;
}

blockquote {
	background:#F4F4F4;
	color:#20558a;
	font-size:1.4em;
	font-weight:400;
	line-height:1.8em;
	padding:30px 50px;
}

.btn-primary {
	background-color:#0099cc;
	border:none;
	border-radius: 6px;
	color:#FFF !important;
	display:inline-block;
	font-size: 0.8em;
	font-weight:700;
	letter-spacing: 2px;
	padding:12px 16px;
	text-transform: uppercase;
}

.btn-primary:hover {
	background-color:#20558a;
}

.btn-large {
	border-radius: 30px;
	font-size:1.4em;
	padding:18px 24px;
}

.carousel {
	border-bottom:5px solid #0099cc;
}

/* Caption hidden for mobile */
.carousel-caption {
  	display:none;
}

.carousel-caption {
	position: absolute;
	right: 0;
	bottom: 20px;
	left: 0;
	padding-top: 0;
	padding-bottom: 0;
	color: #fff;
	text-align: left;
	width:100%;
}

.carousel-item {
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	height:450px;
}

@media only screen and (min-width: 767px) {

.carousel-caption {
  	bottom: 100px;
	display:block;
}

.carousel-caption h1 {
	color:#FFF;
	font-size:2.5em;
	font-weight:700;
	line-height:1.2em;
	margin-bottom:10px;
    max-width: 500px;
	text-shadow:2px 2px 2px rgba(0,0,0,0.40);
}

.carousel-caption p {
	color:#FFF;
	font-size:1.2em;
	font-weight:400;
	letter-spacing: 4px;
	text-shadow:2px 2px 2px rgba(0,0,0,0.40);
}

.carousel-item {
	height:450px;
}

}

@media only screen and (min-width: 992px) {

.carousel-caption h1 {
	font-size:2.5em;
}

.carousel-caption p {
}

.carousel-item {
	height:650px;
}

}

@media only screen and (min-width: 1200px) {

.carousel-item {
	height:750px;
}

}

.clear {
	clear: both;
}

.collapse {
	margin-top:40px;
}

.dropdown-menu {
	background:#555;
}

.dropdown-item {
	font-size:0.85em;
}

.dropdown-item:active,
.dropdown-item:hover {
	background: none;
}

footer {
	border-top:5px solid #0099cc;
}

footer .nav-link {
    display:inline-block !important;
	font-weight:700 !important;
	letter-spacing:2px;	
	padding:0 15px !important;
	padding-left: 15px !important;
	text-transform: uppercase;
}

footer .nav-link:hover {
      color:#0099cc !important;
}

.form-title {
	display:none;
}

.list {
	list-style: none;
	margin:0;
	padding:0;
}

.list li {
	background:#EEE;
	display:inline-block;
	font-size: 0.85em;
	font-weight:400;
	margin:0 0 5px 0;
	padding:6px 10px;
	width:100%;
}

@media only screen and (min-width: 767px) {

.list li {
	width:32%;
}

}

.list li:nth-child(even) {
	background:#F4F4F4;
}

.max-width {
	max-width:700px;
	margin-left:auto;
	margin-right:auto;
}

.mobile-center {
	text-align:center;
}

.mobile-center.text-right {
	text-align:center !important;
}

.mobile-padding {
	padding:0 0 16px 0;
}

.nav-item {
}

.nav-link {
	padding:10px !important;
}

@media only screen and (min-width: 767px) {

.nav-link {
	padding:0 !important;
	padding-left: 20px !important;
}

}

.navbar {
	color:#FFF;
	display:block;
	font-family: "Lato", Helvetica, Arial, sans-serif;
	font-weight:700;
	letter-spacing:2px;
	margin:0;
	padding:0;
	text-transform: uppercase;
}

.navbar li {
}

.navbar-nav {
}

.navbar-toggler {
    border-color: #FFF;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#FFF' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.collapse {
	margin-top:10px;
}

.required {
	position:absolute;
	right:15px;
}

.small {
	font-size:80%;
	font-weight:400;
	letter-spacing: 1px;
}

.thumb {
	background-color:#000;
	background-repeat:no-repeat;
	background-position:center;
	background-size:cover;
	margin-bottom:20px;
	padding-bottom:60%;
	width:100%;
}

.thumb-small {
	background-color:#000;
	background-repeat:no-repeat;
	background-position:center;
	background-size:cover;
	margin-bottom:20px;
	padding-bottom:70%;
	width:95%;
}

.white,
.white a:link,
.white a:active,
.white a:visited {
	color:#FFF !important;
}

.white a:hover {
	color:#00a0c6 !important;
}

@media only screen and (min-width: 767px) {
	
.alignleft {
	float: left;
	margin-right:20px;
	margin-bottom:20px;
}

.alignright {
	float: right;
	margin-bottom:20px;
	margin-left:20px;
}

.collapse {
	margin-top:0;
}

.mobile-center {
	text-align:left;
}

.mobile-center.text-right {
	text-align:right !important;
}

.mobile-padding {
	padding:0 0 0 0;
}

}

@media only screen and (min-width: 1200px) {



}


/***********************************************************************************************/
/* Back to Top */
/***********************************************************************************************/

.go-top {
	background-color: #888;
	border-radius:8px 8px 0 0;
	bottom:0;
	color: white;
	display: block;
	font-size: 12px;
	padding-top: 0.5em;
	padding-right: 1em;
	padding-bottom: 0.5em;
	padding-left:1em;
	position: fixed;
	right: 2em;
	text-decoration: none;
}

.go-top:hover {
	background-color: #666;
}

/***********************************************************************************************/
/* TOOL TIP */
/***********************************************************************************************/

.tooltip{
    display: inline;
    position: relative;
}

.tooltip:hover:before{
    border: solid;
    border-color: #888 transparent;
    border-width: 6px 6px 0 6px;
    bottom: 20px;
    content: "";
    left: 50%;
    position: absolute;
    z-index: 999;
}

.tooltip:hover:after{
    background: #666;
    background: rgba(102,102,102,.8);
    border-radius: 5px;
    bottom: 26px;
	font-size:80%;
	line-height:1.4em;
    color: #fff;
    content: attr(title);
    left: 20%;
    padding: 10px 15px;
    position: absolute;
    z-index: 98;
    width: 220px;
}
