/*
Theme Name: 54 Degrees
Description: Custom Theme for 54 Degrees
Author: Blue Ginger
Author URI: http://www.bluginger.co.uk
Version: 1.0.0
*/
@import url('https://fonts.googleapis.com/css?family=Muli:300i,400i');
@font-face {
    font-family: 'mulilight';
    src: url('fonts/muli-light-webfont.eot');
    src: url('fonts/muli-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/muli-light-webfont.woff2') format('woff2'),
         url('fonts/muli-light-webfont.woff') format('woff'),
         url('fonts/muli-light-webfont.ttf') format('truetype'),
         url('fonts/muli-light-webfont.svg#mulilight') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'muliregular';
    src: url('fonts/muli-regular-webfont.eot');
    src: url('fonts/muli-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/muli-regular-webfont.woff2') format('woff2'),
         url('fonts/muli-regular-webfont.woff') format('woff'),
         url('fonts/muli-regular-webfont.ttf') format('truetype'),
         url('fonts/muli-regular-webfont.svg#muliregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body{
	font-family: 'muliregular';
	font-size:14px;
	color:#666;
}
em{
font-family: 'Muli', sans-serif;
font-weight:400i;
}
.regular{
	font-family: 'muliregular';
}
.light{
	font-family: 'mulilight';
}
.no-pad{
	padding-left:0;
	padding-right:0;
}
.no-pad-left{
	padding-left:0;
}
.no-pad-right{
	padding-right:0;
}
a{
	color:#a81c4e;
}
a:hover{
	color:#830b45;
	text-decoration: none;
}
h1{
	font-size:30px;
}
h2{
	font-size:24px;
}
h3{
	font-size:16px;
	color:#a81c4e;
	text-transform: uppercase;
}
.storycontent h2{
margin-top:0;
}
.container{
	max-width:1220px;
	width:100%;
}
.navbar-inverse{
	background:#a81c4e url(images/header-bg.png) no-repeat top center;
}
.navbar{
	border:none;
	margin-bottom:0;
}
.navbar-brand{
	height:auto;
}
.header{
	position:relative;
	padding:7px 15px;
}
.header-cta{
	font-size:28px;
	position:absolute;
	right:150px;
	top:67px;
	color:#fff;
}
.header-text{
	float:right;
	margin-top:-7px;
}
.header-text ul.topmenu{
	float:right;
	list-style:none;
	margin:0;
}
.header-text ul.topmenu > li{
	padding:12px 0 12px;
	float:left;
}
.header-text ul.topmenu > li > a{
	font-size:13px;
	color:#fff;
	border-right:1px solid #a81c4e;
	padding:0 8px;
	text-decoration: none !important;
	font-family: 'muliregular';
}
.header-text ul.topmenu > li:last-child > a{
	border-right:none;
	padding-right:0;
}
.header-contact{
	position:absolute;
	right:15px;
	top:70px;
	font-size:18px;
	color:#983668;
	line-height:18px;
}
.header-contact a{
	color:#983668;
}
.header-contact span{
	font-family: 'muliregular';
}
.contacts{
	float:left;
}
.social-icon{
	float:right;
	margin-left:6px;
}
.mainmenu{
	position:absolute;
	right:0;
	bottom:0;
}
.navbar-right{
	margin-right:0;
}

.navbar-nav > li > a{
	padding:15px;
	font-family: 'mulilight';
	font-size:16px;
	text-transform: uppercase;
}
.navbar-inverse .navbar-nav > li > a{
color:#fff;
}
.navbar-inverse .navbar-nav > li > a:hover{
	background:#fff;
	color:#a81c4e;
}
.navbar-nav > li > ul{
	display:none;
	position:absolute;
	top:50px;
	left:0;
	background:#fff;
	margin:0;
	padding:0;
	list-style:none;
	min-width:200px;
}
.navbar-nav > li:hover > ul{
	display:block;
}
.navbar-nav > li > ul > li{
	padding-left:15px;
	padding-right:15px;
}
.navbar-nav > li > ul > li > a{
	font-size:14px;
	text-transform: uppercase;
	border-bottom:1px solid #d2d2d2;
	padding-top:10px;
	padding-bottom:10px;
	width:100%;
	float:left;
}
.navbar-nav > li > ul > li:last-child > a{
	border-bottom:none;
}
.content{
	float:left;
	width:100%;
	padding:30px 0;
}
.pageheader{
	position:relative;
}
.pagetitle{
	position:absolute;
	color:#fff;
	font-size:34px;
	top:40px;
	left:6%;
	font-family: 'muliregular';
}

ul.page-menu{
margin:0;
padding:0;
list-style:none;
text-transform: uppercase;
}
ul.page-menu li{
	border-bottom:1px solid #ccc;
	padding:10px 0;
}
ul.page-menu li:first-child{
	padding-top:0;
}
.sidebar{
	float:right;
}
.sidebar ul{
	margin:0;
	padding:0;
	list-style:none;
}
.sidebar-title{
	color:#fff;
	width:100%;
	background:#a81c4e url(images/sbar-title-bg.png) no-repeat left top;
	font-size:16px;
	padding:10px;
}
ul.fixed-sidebar-item{
	background:#ececec url(images/fixed-sbar-bg.jpg) no-repeat bottom center;
	padding-bottom:30px;
}
ul.fixed-sidebar-item li{
	padding:5px 10px;
}
.case-footer{
	width:100%;
	float:left;
	background:#e0dfdf url(images/home-case-bg.jpg) no-repeat top center;
	padding:20px 0 30px;
}
.cases-wrap{
	margin-top:10px;
	width:100%;
	float:left;
}
.case-img{
	width:100%;
	background:url(images/case-img-bg.png) no-repeat;
	height:137px;
	padding:15px 15px 25px;
	text-align:center;
}
.footer{
	background:#830b45 url(images/footer-bg.jpg) no-repeat top center;
	width:100%;
	float:left;
	padding:25px 0;
}
.footer-wrap{
	position:relative;
}
.footer-widget{
	float:left;
	margin-right:30px;
}
.footer-widget a{
	color:#fff;
	text-transform: uppercase;
}
.footer-right{
	float:right;
	text-align:right;
}
.credits{
	color:#fff;
	position:absolute;
	right:15px;
	bottom:0;
	text-align:right;
	font-size:12px;
	font-family:Arial;
}
.credits a{
	color:#fff;
}

/*EventBrite*/
.page-template-eventbrite-index .eventbrite-container{
	max-width:1220px;
	width:100%;
	padding:0 15px;
	position:realtive;
	margin:0 auto;
}
.page-template-eventbrite-index .eventbrite-content{
	width:100%;
	float:left;
	padding:0 15px 0 30px;
	background:#fff;
}
#primary.content-area{
	width:66.66667%;
	float:left;
}

/* FLEXSLIDER */
#home-slider.flexslider{
	overflow:hidden;
}
.flexslider {
  margin: 0;
  background: #fff;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
  margin-top:-1px;
}
.flex-caption{
	position:absolute;
	left:6%;
	top:80px;
	width:50%;
	height:100%;
	font-size:19px;
	color:#fff;
	line-height:1.2;
	font-family: 'mulilight';
}
.flex-caption h1{
	font-size:82px;
	font-family: 'mulilight';
	text-transform: uppercase;
}
.flex-caption a{
font-size:14px;
color:#fff;
display:inline-block;
margin-top:30px;
padding:15px;
background:#a81c4e url(images/btn-corner.jpg) no-repeat right bottom;
}
.flex-caption a:hover{
	text-decoration: none;
}
span.underline{
	border-bottom:1px dotted #fff;
}

.flexslider .slides img {
  width: auto;
  float: right;
}
.flex-control-nav{
	bottom:20px;
	z-index:2;
	text-align:left;
	padding:0 6%;
}
.flex-control-paging li{
	margin:0 6px 0 0;
}
.flex-control-paging li a{
	font-size:0;
	width:19px;
	height:19px;
	background:#fff;
	box-shadow:none;
}
.flex-control-paging li a.flex-active{
	background:#a81c4e;
}
.flex-direction-nav .flex-prev { display:none; }
.flex-direction-nav .flex-next { right: 6%; background:url(images/slide-arrow.png) no-repeat; width:38px; height:68px; }
.flexslider:hover .flex-next { opacity: 1; right: 6%; }
.flex-direction-nav a { opacity: 1; }
.flex-direction-nav a.flex-next:before  { content: ''; }

/* SHORTCODES */


/* Featured Image */

.attachment-single-post {
    float: left;
    margin: 0px 20px 0 0px;
    border:1px solid #ddd;
}
.attachment-index-categories {
    float: left;
    margin: 3px 8px 8px 0px;
}
.attachment-blog-page {
    float: left;
    margin: 3px 8px 8px 0px;
}

/* Images */

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%;
	height: auto;
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right:7px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left:7px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}

.wp-caption {
	background: #ebebeb;
	line-height: 18px;
	margin-bottom: 3px;
	max-width: 630px !important;
	padding: 3px 13px 4px 3px;
	text-align: center;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}
.wp-caption img {
	margin: 5px;
}
.wp-caption p.wp-caption-text {
	color: #555;
	font-size: .875em;
	margin: 0;
	font-weight:bold;
}
.wp-smiley {
	margin: 0;
}

.bypostauthor{
}
.feedback{
	text-align:right;
	padding:0 20px 10px 0;
	clear:both;
}

.gallery {
	margin-bottom: 20px;
	margin-left: -4px;
}

.gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	position: relative;
}

.gallery-columns-1.gallery-size-medium,
.gallery-columns-1.gallery-size-thumbnail,
.gallery-columns-2.gallery-size-thumbnail,
.gallery-columns-3.gallery-size-thumbnail,
.gallery-columns-4.gallery-size-thumbnail {
	display: table;
	margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item {
	text-align: center;
}



.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 2px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	-webkit-transition: opacity 400ms ease;
	transition:         opacity 400ms ease;
	width: 100%;
}

.gallery-caption:before {
	box-shadow: 0 -10px 15px #000 inset;
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.gallery img {

	border: 10px solid #f1f1f1;
	max-width: 100%;
height: auto;
}

#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

/* Comments */
#comments {
	clear: both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding: 24px 0;
}
.commentlist {
	list-style: none;
	margin: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
}
.reply a:hover,
a.comment-edit-link:hover {
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}

/* Comments form */
input[type=submit] {
}
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	font-weight: bold;
}
#respond label {
	font-size: 12px;
	width:7%;
}
#respond input {
	margin: 20px 5px;
}
#respond textarea {
	width: 99%;
}
#respond .form-allowed-tags {
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}
#advert{
	width:640px;
	margin-left:-40px;
}
#advert ul{
	list-style:none;
}
/* =Widget Areas
-------------------------------------------------------------- */

h2.widget-title{
color: #fff;
width: 100%;
background: #a81c4e url(images/sbar-title-bg.png) no-repeat left top;
font-size: 16px;
padding: 10px;
text-transform:uppercase;
}
.sidebar .widget-container ul li{
background:url(images/icon-download.png) no-repeat left center;
padding:8px 0 8px 25px;
}
.textwidget{

}
.widget-area ul {
	list-style: none;
	margin: 0;
	padding-left:0;
}
.widget-area ul ul {
	margin: 0;
	padding-left:10px;
}
.widget-area select {
	max-width: 100%;
}
.widget_search #s {/* This keeps the search inputs in line */
	width: 60%;
}
.widget_search label {
	display: none;
}
.widget-container {
	margin: 0;
	padding:0;
	list-style:none;
	padding-bottom: 30px;
}
.sidebar .widget-container{
background: #ececec url(images/fixed-sbar-bg.jpg) no-repeat bottom center;
}
.widget-container .sidebar-title{
text-transform:uppercase;
}
.widget-container ul{
margin:0;
padding:5px 10px;
}
.widget-container ul li{
list-style:none;
}
.widget-container a,
.widget-container a:link,
.widget-container a:visited {
	text-decoration: none;
}
.widget-container a:active,
.widget-container a:hover {
	text-decoration: none;
}
.widget-area a,
.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration: none;
}
.widget-area .entry-meta {
	font-size: 11px;
}
#wp_tag_cloud div {
	line-height: 1.6em;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	color: #999;
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 4px;
	text-align: left;
	text-shadow:none;
}
#wp-calendar thead {
	font-size: 11px;
}
#wp-calendar thead th {
}
#wp-calendar tbody {
}
#wp-calendar tbody td {
	border: 1px solid #333;
	padding: 3px 0 2px;
	text-align: center;
	font-size:12px;
}

#wp-calendar tbody .pad {
	background: none;
}
#wp-calendar tfoot #next {
	text-align: right;
}
.widget_rss a.rsswidget {
	color: #CC0000;
}
.widget_rss a.rsswidget:hover {
	color: #FF0000;
}
.widget_rss .widget-title img {
	width: 11px;
	height: 11px;
}

/* Main sidebars */
#main .widget-area ul {
	margin-left: 0;
	padding: 0 20px 0 0;
}
#main .widget-area ul ul {
	border: none;
	margin-left: 1.3em;
	padding: 0;
}

/* RESPONSIVE */
img{
	max-width:100%;
	height:auto;
}
.navbar-toggle{
	width:100%;
	float: left;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  background:#830B45;
  border:none;
  color:#fff;
}
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus{
	background:#37414b;
}

@media only screen and (max-width:1220px) {
	#home-carousel.flexslider li{
		width:100% !important;
	}
	.pageheader{
		height:100px;
		overflow:hidden;
	}
	.pageheader img{
		width:100%;
		float:left;
		max-width:2000px;
	}
	.pagetitle{
		top:20px;
		left:15px;
	}
}

@media only screen and (max-width:1200px) {
	.flex-caption{
		left:15px;
		top:30px;
	}
	.flex-control-nav{
		padding:0 15px;
	}
	.flex-direction-nav .flex-next{
		right:15px;
	}
	.header-text ul.topmenu{
		padding: 0 15px 0 5px;
		background: #830B45;
		margin-right:-15px;
	}
}

@media only screen and (max-width:1035px) {
	.flex-caption{
		top:15px;
	}
	.flex-caption h1{
		font-size:50px;
	}
}

@media only screen and (max-width:991px) {
	.sidebar{
		float:none;
		margin:0 auto;
		width:283px;
	}
	.case-footer{
		text-align:center;
	}
	.case-img{
		width:270px;
		margin:0 auto;
	}
	.page-content{
		padding:15px 0;
	}
	.sidebar{
		padding:0;
		width:283px;
		float:none;
		margin:0 auto;
	}
}

@media only screen and (max-width:960px) {
	.flex-caption{
		top:0px;
	}
	.flex-control-nav{
		display:none;
	}
	.flex-direction-nav .flex-next{
		display:none;
	}
	.flex-caption a{
		margin-top:0;
	}
	.navbar-inverse{
		background-image:none;
	}
}

@media only screen and (max-width:900px) {
	.navbar-collapse{
		position: relative;
		border-top:none;
	}
	.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus{
		background:none;
		color:#fff;
	}
	.navbar-nav{
		margin:0;
	}
	.navbar-nav > li > a{
		padding:5px 0;
	}
	.navbar-nav > li:first-child > a{
		padding-top:15px;
	}
	.navbar-nav > li > ul{
		position:relative;
		display:block;
		top:0;
	}
	.navbar-nav > li > ul > li > a{
		color:#fff;
		border-bottom:0;
		padding-top:5px;
		padding-bottom:5px;
	}
	.pagetitle{
		position:relative;
		color:#666;
		float:left;
		top:0;
		left:0;
		padding:15px;
	}
	.pageheader{
		overflow:visible;
	}
}

@media only screen and (max-width:740px) {
	.flex-caption{
		position:relative;
		top:0;
		left:0;
		color:#666;
		padding:15px;
		float:left;
		border-bottom:1px solid #ccc;
		width:100%;
	}
	.content{
		padding:0;
	}
	.footer-widget{
		width:100%;
		margin-bottom:10px;
	}
	.footer-right{
		float:left;
	}
	.footer-right .social-icon{
		margin-right:6px;
		margin-left:0;
	}
}

@media only screen and (max-width:700px) {
	.header-cta, .header-contact{
		position:relative;
		top:0;
		right:0;
		text-align:center;
	}
	.header-contact{
		margin-bottom:10px;
		width:100%;
		float:left;
	}
	.contacts{
		width:100%;
		text-align:center;
	}
	.contacts .social-icon{
		float:none;
		margin:0 3px;
	}
}

@media only screen and (max-width:660px) {
	.footer-widget.right{
		float:left;
		margin-top:10px;
	}
}

@media only screen and (max-width:595px) {
	.header-contact{
		position:relative;
		right:0;
		top:0;
		margin-bottom:10px;
		float:left;
	}
	.flex-caption h1{
		font-size:40px;
	}
}

@media only screen and (max-width:575px) {
	.navbar-brand{
		width:100%;
		text-align:center;
	}
	.navbar-brand > img {
	    display: inline-block;
	}
	.header-text{
		width:100%;
	}
	.header-text ul.topmenu{
		width:100%;
		margin-right:0;
	}
}

@media only screen and (max-width:440px) {
	.header-text ul.topmenu > li{
		padding:3px 0;
	}
}