/*
Theme Name: Southern Fencing
Theme URI: http://southernfencing.co.nz
Description: WordPress Theme
Author: Total Brand
Author URI: https://www.totalbrand.co
Version: 2019.03
*/

/***********************************************************************************************/
/* BASE STYLES */
/***********************************************************************************************/

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

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

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

td {
	border:1px solid #DDD;
	vertical-align:middle;
}

td p {
	font-size:90%;
	margin-bottom:0;
	padding-top:10px;
	padding-right:10px;
	padding-bottom:10px;
	padding-left:10px;
}

/* LINKS */

a:link,
a:visited,
a:active {
	color: #204274;
	text-decoration:none;
}

a:hover {
	color: #00acee;
	text-decoration:none;
}

a:hover img { opacity:0.8; }

/* TEXT */

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5,
h6,
p {
	color:#333;
	font-family: "Montserrat", Helvetica, Arial, sans-serif;
	font-weight: 400;
	line-height: 1.6em;
	margin: 0 0 18px 0;
	padding: 0;
}

h1, .h1 {
	color:#204274;
	font-size: 2em;
	font-weight: 700;
	line-height: 1.2em;
}

h2, .h2 {
	color:#204274;
	font-size: 1.75em;
	font-weight: 700;
	line-height: 1.4em;
}

h3, .h3 {
	color:#00acee;
	font-size: 1.5em;
	font-weight: 400;
}

h4, .h4 {
	color:#7a7c81;
	font-size: 1.25em;
}

h5 {
	font-size: 1.2em;
}

h6 {
	font-size: 1.1em;
}

strong {
	font-weight:700;
}

em {
	color:#000;
}

img {
	border-radius:8px !important;
}

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

.alignleft {
	clear:both;
	display:block;
	margin-bottom:30px;
}

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

.alignright {
	clear:both;
	display:block;
	margin-bottom:30px;
}

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

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

.collapse {
	margin-top:0;
}

}

/***********************************************************************************************/
/* BACKGROUNDS */
/***********************************************************************************************/

.bg-dark {
	background-color: #204274 !important;
	background-image: url("images/bg-dark.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

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

.bg-dark {
	background-attachment: fixed;
}

}

.bg-grey {
	background-color:#EEE;
}

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

/***********************************************************************************************/
/* BUTTONS */
/***********************************************************************************************/

.btn-primary {
	background-color:#204274 !important;
	border:none !important;
	border-radius: 8px !important;
	color:#FFF !important;
	font-weight: 700;
}

.btn-primary:hover,
.btn-active:active {
	background-color:#00acee !important;
}

/***********************************************************************************************/
/* CAROUSEL */
/***********************************************************************************************/

.carousel-caption {
	bottom:60px;
	right:0;
	left:0;
	margin:0 !important;
	padding:0 !important;
	width:100%;
}

.carousel-caption h2 {
	background-color:#204274;
	color:#FFF;
	display:inline-block;
	font-size:1.2em;
	padding:15px 20px;
	margin-bottom:0;
	text-align:center;
}

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

.carousel-caption h2 {
	float:right;
	text-align:right;
}

}


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

.carousel-caption h2 {
	font-size:1.75em;
}

}

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

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

#myCarousel .carousel-item {
	height:450px;
}

}

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

#myCarousel .carousel-item {
	height:500px;
}

}

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

#myCarousel .carousel-item {
	height:550px;
}

}

/***********************************************************************************************/

.clear {
	clear: both;
}

.collapse {
	/*margin-top:40px;*/
}

header {
	font-size: 0.9em;
}

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

.max-800 {
	margin:auto;
	max-width:800px;
}

.max-900 {
	margin:auto;
	max-width:900px;
}

/***********************************************************************************************/
/* NAVIGATION */
/***********************************************************************************************/

.navbar-toggler {
	position:relative;
	margin:auto;
}

.navbar {
	font-family: "Montserrat", Helvetica, Arial, sans-serif;
	font-weight:600;
	letter-spacing:1px;
	margin:0 !important;
	margin-bottom:0;
	padding:0 !important;
}

.navbar li {
	margin:0;
}

.nav-link {
	color:#204274 !important;
}

.nav-link:hover {
	color:#00acee !important;
}

.nav-link:active {
	color:#00acee !important;
}

/***********************************************************************************************/

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

.rounded {
	border-radius:8px !important;
}

.so-widget-sow-image {
	position:relative;
}

.so-widget-sow-image h3 {
	bottom:0;
	color:#FFF !important;
	display:block;
	font-size:1.3em;
	font-weight:700;
	left:20px;
	position:absolute;
	text-shadow: 1px 1px 0 RGBa(0,0,0,0.6);
	z-index:999;
}

.thumb {
	background-color:#000;
	background-repeat:no-repeat;
	background-position:center;
	background-size:100%;
	padding-bottom:60%;
	-webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
	width:100%;
}

.thumb-small {
	background-color:#000;
	background-repeat:no-repeat;
	background-position:center;
	background-size:100%;
	margin-bottom:20px;
	padding-bottom:70%;
	-webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
	width:95%;
}

.thumb:hover,
.thumb-small:hover {
	background-size:120%;
	transition: 2s 
}

.vert-center {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

.white,
.white h1,
.white h2,
.white h3,
.white h4,
.white h5,
.white h6,
.white p {
	color:#FFF;
}

.white a:link,
.white a:active,
.white a:visited {
	color:#CCC;
}

.white a:hover {
	color:#FFF;
}

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

}

@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;
}
