@-ms-viewport{ width: device-width; }
@-o-viewport{ width: device-width; }
@-moz-viewport{ width: device-width; }
@-webkit-viewport{ width: device-width; }
@viewport{ width: device-width; }

* {
        box-sizing: border-box;
}

/*
.usermenu, .icons{
	display: none;
}
*/
.page-header {
	border-bottom: 0;
	margin: 0;
	padding: 0;
}
body {
	font: 16px/21px 'Open Sans', Arial, sans-serif;
	position: relative;
	min-height: 100%;
	overflow-x: hidden;
	background: black;
}
body.site {
	background-color: black;
}

html {
	height: 100%;
}
.body {
	margin-bottom: 50px;
/*	background: black; */
	color: white;
}
footer > .container-fluid,
.body > .container-fluid {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

.normalpage {
	background: black;
}
.normalpage::before {
	display: block;
	background-color: black;
	width: 100vw;
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	content: "";
	z-index: -1;
}

a, a:hover, a:focus {
	color: white;
}
div.mod-languages a:hover,div.mod-languages a:focus,
a:hover, a:focus {
	text-decoration: underline;
}
h1 {
	font-size: 26px;
	font-weight: bold;}

h2 {
/*
	font-size: 18.6px;
	font-weight: bold;
	*/
	font-size: 24px;
	font-weight: normal;
	line-height: 24px;
	margin-top: 30px;
}

h3 {
	font-weight: bold;
	margin-top: 20px;
	font-size: 16px;
}

h4 {
	font-weight: bold;
	color: #333;
}
.page-header h2 {
	margin-top: 10px;
	font-size: 20px;
}

#content a:link, #content a:visited {
	color: white; 
	text-decoration: none;
	font-weight: normal;
}

#content a:hover {
	color: #eee;	
	text-decoration: underline;
	font-weight: normal;
}

.item-page p a.btn {
	color: black;
	background: #adc2da;
	font-size: 24px;
	font-weight: bold;
	padding: 10px;
	border: 2px solid black;
	border-radius: 8px;
}
.item-page p a.btn:after {
    content: '\000BB';
    margin-left: 8px;
    font-size: 140%;
    display: inline-block;
}
body.view-category ul.tags {
	background-color: #222;
	padding: 10px 0;
	margin-top: -10px;
}
.label-info[href], .badge-info[href] {
    background-color: #555;
}

.maintitle {
	font-size: 32px;
	line-height: 60px;
/*	padding-top: 58px;*/
	color: white;
/*	font-family: 'Roboto', Arial, sans-serif;*/
}
.maintitle p {
	font-size: 16px;
	line-height: 22px;
	font-weight: bold;
}
.tilaaheti {
	font-weight: bold;
	line-height: 32px;
	color: white;
	z-index: 20;
}
header .search {
	z-index: 20;
	position: relative;
}
header {
}
header > .row-fluid {
	position: relative;
}

.header .pull-right {
    padding-top: 0px;
}

nav {
	background-color: #777777; /*#405a77;*/
	
}
footer {
	padding: 30px 0 0 0;
	background-color: #777777; /*#405a77; */
	color: white;
}
footer a:focus, footer a:hover,
footer a {
	color: white;
}
.copyright {
	border-top: 1px solid white;
	margin-top: 20px;
	padding-top: 10px;
}
.slideshow {
	margin-bottom: 10px;
}
.navbar {
	margin-bottom: 0px;
}
.navbar .btn-navbar .icon-bar {
	box-shadow: none;
	border-radius: 0;
	background-color: white;
}
.topmenu .navbar .btn-navbar .icon-bar {
}
.navbar .btn-navbar:hover, .navbar .btn-navbar:focus, .navbar .btn-navbar:active, .navbar .btn-navbar.active, .navbar .btn-navbar.disabled, .navbar .btn-navbar[disabled] {
	background: none;
}
.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus,
.navbar .nav > .active > .separator,
.navbar .nav > .active > .separator:hover,
.navbar .nav > .active > .separator:focus {
	background: white;
	font-weight: bold;
	color: #555;
}
.navbar .nav  li:hover > .separator {
	cursor: default;
	color: #555;
}
.navbar .btn, .navbar .btn-group {
	margin-bottom: 5px;
}
.navbar .nav > li li > a,
.navbar .nav > li li > .separator,
.navbar .nav > li > a,
.navbar .nav > li > .separator {
        color: white;
        float: none;
/*	padding: 10px 15px 10px;*/
	padding: 10px 15px 10px;
	display: block;
	font-size: 18px;
}
.navbar .nav {
/*	padding-left: 30px;*/
	z-index: 20;
}


.navbar .nav > li > a:focus, .navbar .nav > li:hover > a,
.navbar .nav > li:focus, .navbar .nav > li:hover,
.navbar .nav > li > .separator:focus, .navbar .nav > li > .separator:hover {
        color: #555;
        background: white;
}

.topmenu .navbar .nav li ul {
	display: none;
	position: absolute;
	background: white;
	z-index: 1000;
	border: 4px solid white;
	box-shadow: 0px 13px 12px rgba(0,0,0,0.2)
}
.topmenu .navbar .nav li ul ul {
	display: block;
	position: inherit;
	margin-left: 10px;
	box-shadow: none;
}
.topmenu .navbar .nav li .small li {
	font-size: 16px;
	line-height: 24px;
}
.topmenu .navbar .nav li .small li.current {
	font-weight: bold;
}

.topmenu .navbar .nav li .small li a,
.topmenu .navbar .nav li .small li .separator {
	color: #555;
}
.topmenu .navbar .nav li .small li .separator {
	font-weight: bold;
}
.topmenu .navbar .nav > li li > a:focus,
.topmenu .navbar .nav > li li > a:hover {
	background: #ccc;
	color: #555;
	text-decoration: none;
}

.topmenu .navbar .nav li:hover ul {
	display: block;
}

div.mod-languages {
	margin-top: 23px;
	text-align: right;
	padding-right: 20px;
}
div.mod-languages a {
	padding: 5px;
}
div.mod-languages li {
	margin: 0 !important;
}
.logo {
	padding: 20px 0;
}
.logo img {
	max-width: 150px;
}
#content {
	padding: 10px;
}
body.view-article #content,
body.view-category #content {
	padding: 0;
}


body.view-featured #content,
body.view-article #content {
	padding-top: 0;
}

#aside .banneritem {
	margin-bottom: 20px;
	text-align: center;
}

.blog .items-row {
/*	border-bottom: 1px solid #ccc; */
}
.blog .items-leading > div > a,
.blog .items-row .item > a {
	background: #222;
	margin-bottom: 5px;
	padding: 10px;
	display: block;
}
#content .blog .items-leading > div a:hover,
#content .blog .items-leading > div a:focus,
#content .blog .items-row .item a:hover,
#content .blog .items-row .item a:focus {
	background: #333;
	text-decoration: none;
}

#content .blog .items-leading > div a:hover h2,
#content .blog .items-leading > div a:focus h2,
#content .blog .items-row .item a:hover h2,
#content .blog .items-row .item a:focus h2 {
	text-decoration: underline;
}

.blog .items-row .item > a {
	height: 400px;
}

footer .nav {
	float: right;
}
footer .nav > li {
/*	text-align: right;*/
}
footer .nav > li a {
	padding: 0 5px 0 5px;
	color: white;
	line-height: 21px;
/*	text-align: right; */
}
footer .nav > li a:before {
	content: '\000BB';
	margin-right: 5px;
/*	font-size: 140%;*/
	display: inline-block;
}

footer .nav > li > a:hover,
footer .nav > li > a:focus {
	background: none;
	color: white;
	text-decoration: underline;
}
.contenttopmodules {
	margin: 20px 0;
}

.flexslider .carouselcapt h4 {
	font-size: 48px !important;
	text-align: center;
	text-shadow: 2px 2px rgba(0,0,0,0.4);
	font-family: 'Roboto', Arial, sans-serif;
}
.flexslider .carouselcapt {
	background: none !important;
	top: 46% !important;
}
.flexslider .slides li:only-child img{
	opacity: 0;
}

.service.newsfeed li,
body.view-featured .flexslider {
	width: 32.33%;
	float: left;
	margin: 0.5%;
}
body.view-featured .flexslider li {
	background: #eee;
	transition: 0.7s;
}
body.view-featured .flexslider img {
	height: 300px;
}
body.view-featured .flexslider:focus li,
body.view-featured .flexslider:hover li {
	opacity: 0.7;
}
body.view-featured .flexslider .carouselcapt h4 {
	font-size: 24px !important;
}
body.view-featured .flexslider div.desc {
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 10px;
}
body.view-featured .flexslider div.desc .btn {
	background: #405a77;
	border: 0;
	text-shadow: 1px 1px rgba(0,0,0,0.4);
	font-weight: bold;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
}

.video-js.vjs-16-9 {
    padding-top: 56.25%;
}
.video-js.vjs-fluid, .video-js.vjs-16-9, .video-js.vjs-4-3 {
	width: 100%;
	max-width: 100%;
	height: 0;
}

.newsfeed {
	margin: 0;
}

.newsfeed li {
	list-style: none;
	padding-bottom: 30px;
	margin: 20px 0;
	border-bottom: 1px solid #eee;
}
.feed-item-description img {
	margin: 0px 20px 0px 0px !important;
	width: 150px;
}

.service .feed-item-description img {
	margin: 0px !important;
	width: 100%;
}
.service.newsfeed li {
	border: 0;
	margin-bottom: 20px;
/*	height: 422px;*/ /*347px;*/
	position: relative;
	cursor: pointer;
}
.service.newsfeed li.wide {
	position: fixed;
	top:0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	padding: 10px;
/*	transition: width 0.5s ease;*/
	z-index: 5;
	background: white;
	margin: 0;
	overflow-y: auto;
}
.service.newsfeed li.wide h2,
.service.newsfeed li.wide .feed-item-description {
	display: block;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}
.service.newsfeed li .icon-cancel-2 {
	display: none;
	float: right;
}
.service.newsfeed li.wide .icon-cancel-2 {
	display: block;
}
body.servicewide {
	overflow: hidden;
}

.service.newsfeed li .K2FeedFullText,
.service.newsfeed li a {
/*	padding: 20px;*/
	display: none;
}

.service.newsfeed li.wide .K2FeedFullText,
.service.newsfeed li.wide a {
	display: block;
}
.service .K2FeedFullText {
	padding: 10px 5px;
}
.service a,
.service a:hover {
	text-decoration: none;
	color: #333;
}

.service h2 a,
.service h2 a:hover {
/*	color: white;*/
}

.service h2 {
	font-size: 18px;
	display: inline-block;
	height: 48px;
	width: 100%;
}
#sidebar .menu {
	margin-top: 25px;
}

#sidebar .menu li a {
	padding: 3px 0 3px 3px;
	padding: 10px 15px;
	text-transform: uppercase;
	color: black;
	text-shadow: none;
/*	font-size: 120%;*/
	position: relative;
	text-decoration: none;
}

#sidebar .menu li li {
	margin-left: 10px;
}

#sidebar .nav > li > a:hover,
#sidebar .nav > li > a:focus {
	background-color: #405a77;
	color: white;
}
#sidebar .nav li.active > a{
	font-weight: 700;
	color: black;
	background: #eee;
}

ul.category-module.mod-list {
	list-style: none;
	margin: 0;
}
ul.category-module.mod-list li {
	margin-bottom: 15px;
	border-bottom: 1px solid #eee;
}

.item-page dd.field-entry {
	margin-left: 0;
}

.content-category #adminForm {
	max-width: 100%;
	overflow-x: auto;
}
.content-category #adminForm table {
	min-width: 900px;
}
.content-category #adminForm th:first-child,
.content-category #adminForm td:first-child {
	position: sticky;
	left: 0;
	background: white;
	border-right: 1px solid #ddd;
}


.input-append .add-on, .input-prepend .add-on,
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
	height: inherit;
}

.item-page.edit .page-header h1,
.blog-featured .page-header h1 {
	display: none;
}

.items-leading > div,
.item-page {
	position: relative;
	margin-bottom: 10px;
}

/*
#content.span12 .items-leading > div .item-image,
#content.span12 .item-page .item-image {
	position: relative;
	margin-left: -50vw;
	left: 50%;
	width: 100vw;
	margin-bottom: 30px;
	background: #527398;
	z-index: -11;
	margin-top: -120px;
}
*/
AA#content.span12 .items-leading > div .item-image.emp,
AA#content.span12 .item-page .item-image.emp {
	margin-top: 0;
}

s#content.span12 .items-leading > div .item-title,
s#content.span12 .item-page .page-header {
	position: absolute;
	top: 15vw;
	color: white;
	z-index: 10;
	width: 100%;
	text-shadow: 2px 2px rgba(0,0,0,0.4)
}
s#content.span12 .items-leading > div.leading-0 .item-title {
	top: 0; /*7vw; */
}

s#content.span12 .items-leading > div .item-title {
	top: 1vw;
}

AA#content.span12 .items-leading > div .item-title.emp {
	top: 1vw;
}
AA#content.span12 .item-page .page-header.emp {
	top: 2vw;
	text-shadow: none;
}

#content.span12 .items-leading > div .item-title,
#content.span12 .item-page .page-header h1 {
	text-align: center;
	font-size: 48px;
	line-height: 60px;
/*	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;*/
}
body.view-featured #content.span9, body.view-article #content.span9 {
	padding-top: 20px;
}

#content.span9 .item-image.emp {
	display: none;
}

#content.span12 .item-image.emp img {
	max-width: 50%;
}

dt.result-title {
	margin: 30px 0 10px 0;
}

header .moduletable .search {
	margin-top: 0px;
}
input.search-query {
	border-radius: 0;
	float: right;
}
header,header::before {
/*	background-color: #adc2da !important;*/
}

nav::before {
	display: block;
	background-color: #777777; /*#405a77; */
	width: 100vw;
	position: absolute;
	height: 40px;
	left: 0;
/*	z-index: -10; */
	content: "";
/*	box-shadow: 0px 3px 6px black;*/
	box-shadow: 0px 5px 10px rgba(0,0,0,0.6)
}

header::before {
	background-image: url(/templates/sw/images/head.png);
	height: 100px;
	display: block;
	background-size: cover;
/*	background-color: #405a77;*/
/*	background-color: rgba(0,0,0,0.3); */
	width: 100vw;
	position: absolute;
	left: 0;
/*	z-index: -10; */
	content: "";
}

.icons .btn-group {
	margin-top: 70px;
	z-index: 15;
}

/*
.breezingforms_iframe_plg {
	border: 0;
	width: 100%;
}
*/

div.copy,div.plan {
	font-size: 11px;
}

.muted {
	color: #aaa;
}

dl.article-info {
/*	margin-top: 40px; */
}
dd.create {
	margin-left: 0;
}

#content .dropdown-menu > li > a,
#content a.btn {
	color: #333;
}

img.pull-right {
	margin: 0 0 20px 20px;
}

.btn-group, .dropdown-menu {
}

.bannerimg {
/*	background-attachment: fixed; */
	background-size: cover;
	padding-top: 40%;
	background-repeat: no-repeat;
/*	background-position-y: bottom; */
	background-position: center;
}
AA.emp .bannerimg {
	padding-top: 16%;
}

.mod-list li.default a.icon-home {
	width: auto;
	line-height: 20px;
	margin-right: 0;
	height: auto;
}
.mod-list li.default a.icon-home:before {
	display: none;
}
.videowrap {
	padding-top: 56.2061%;
	width: 100%;
	position: relative;
	height: 0;
}

.videowrap iframe, .videowrap object, .videowrap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fields-container {
	margin: 0;
}

header .form-search .input-medium {
	width: 70%;
}

.items-leading .category-module {
	list-style: none;
	margin: 0;
}

@media (min-width: 1200px) {
	.maintitle {
/*		padding-top: 75px;*/
	}
}


@media (max-width: 1200px) and (min-width: 1024px){
	.bannerimg {
/*		background-attachment: fixed; */
		background-size: cover;
		padding-top: 40%;
		background-repeat: no-repeat;
/*		background-position-y: bottom; */
		background-position: center
	}
}


@media (max-width: 979px) and (min-width: 768px){
	.topmenu .navbar .nav li.default > a {
		overflow: hidden;
		font-size: 0px !important;
		padding: 11px 27px 12px 4px;
		height: 28px;
		background: none;
	}
	.mod-list li.default a.icon-home:before {
		font-size: 18px;
		display: block;
		color: white;
	}
	.mod-list li.default a.icon-home {
		width: 14px;
		line-height: 14px;
	}
	.bannerimg {
		padding-top: 60%;
		background-position: bottom 400px center;
	}
	AA#content.span12 .items-leading > div .item-image, aa#content.span12 .item-page .item-image {
		margin-top: -125px;
	}
	
}
@media (max-width: 979px) {
	.header .pull-right {
	    padding-top: 10px;
	}
	.nav-collapse .nav > li.active > a {
		color: #555;
	}
	.nav-collapseu, .nav-collapseu.collapse {
		overflow: hidden;
		height: 0;
	}
	.navbar .btn-navbar {
		float: left;
		background: none;
		color: white;
		border: 0;
		position: relative;
		z-index: 21;
	}	
	.navbar .nav {
		padding-left: 0;
	}
	.navbar .nav > li li > a,
	.navbar .nav > li li > .separator,
	.navbar .nav > li > a,
	.navbar .nav > li > .separator {
		padding: 10px 7px 10px;
	}
	.service.newsfeed li,
	body.view-featured .flexslider {
		width: 49%;
		float: left;
	}
	.service.newsfeed li {
		width: 100%;
		float: none;
		height: auto;
	}
	.service.newsfeed li .K2FeedFullText {
		max-height: unset;
	}
	div.mod-languages {
		float: none;
		margin-top: 15px;
	}
	.maintitle {
		font-size: 30px;
		line-height: 48px;
/*		padding-top: 50px;*/
	}
	header .moduletable .search form{
		margin: 0;
	}
	input.search-query {
		float: none;
		margin: 10px auto 0 auto;
		display: block;
	}

	#content.span12 .items-leading > div .item-title,
	#content.span12 .item-page .page-header h1 {
		text-align: center;
		font-size: 28px;
		line-height: 32px;
	}
	#content.span12 .items-leading > div .item-title, #content.span12 .item-page .page-header {
		top: 30vw;
	}

	#content.span12 .item-image.emp img {
		max-width: 100%;
	}
	AA#content.span12 .items-leading > div .item-title.emp,
	AA#content.span12 .item-page .page-header.emp {
		top: 4vw;
	}

}

@media (max-width: 767px) {
	#content {
		padding: 10px !important;
	}
	.body {
		backgroudnd: black;
	}
	.normalpage::before {
		display: none;
		}
	header::before {
		height: 200px;
	}
	.nav-collapse .nav > li > a, .nav-collapse .dropdown-menu a {
		border-radius: 0;
		margin: 0;
		font-weight: normal;
	}
	div.mod-languages li a {
/*
		color: black;
		background: white;
*/
	}
	div.mod-languages {
		float: none;
		margin-top: 5px;
		text-align: center;
	}
	.maintitle {
		font-size: 30px;
		line-height: 30px;
		padding-top: 0;
		text-align: center;
		padding: 10px;
	}
	.nav-collapse .nav {
		margin-bottom: 0;
	}
	.body .navbar {
/*		margin-bottom: 20px;*/
/*		border-bottom: 1px solid #ccc;*/
	}
	.navbar .nav {
		padding-left: 0;
	}
	.logo {
		text-align: center;
	}
	.copyright {
		padding: 0 10px;
	}
	footer [class*="span"], footer .row-fluid [class*="span"] {
		width: 48%;
		float: left;
	}
	.topmenu .navbar .nav li ul {
		list-style: disc;
		display: block;
		position: inherit;
		border: 0;
		padding-top: 0;
		box-shadow: none;
	}

	.topmenu .navbar .nav > li li > a,
	.topmenu .navbar .nav > li li > .separator {
		padding-left: 30px;
		color: #555;
	}
	.topmenu .navbar .nav > li li > a:before,
	.topmenu .navbar .nav > li li > .separator:before {
		content: "- ";
	}
	.contenttopmodules {
		margin-left: 0px;
		}
	.flexslider .carouselcapt h4 {
		font-size: 36px !important
	}
	.service.newsfeed li,
	body.view-featured .flexslider {
		width: 100%;
		float: none;
	}
	.service.newsfeed li {
		height: auto;
	}

	input.search-query {
		margin: 0 auto 10px auto;
	}
	#content.span12 .items-leading > div .item-title, #content.span12 .item-page .page-header {
		/*top: 4vw;*/
		top: 120px;
	}
	.bannerimg {
		padding-top: 60%;
		background-size: 150%;
		background-position: top center;
	}
	AA.emp .bannerimg {
		padding-top: 30%;
	}
	.normalpage {
		display: flex;
		flex-direction: column-reverse;
	}
	#content.span12 .items-leading > div .item-title {
		top: 25px !important;
	}
	header {
	}
	.blog .items-row .item a {
		height: auto;
		padding-bottom: 20px;
	}
	header .pull-right .moduletable {
		float: left;
		width: 48.93%;
	}

}
@media (max-width: 480px) {
	#aside, footer {
		padding: 10px;
	}
	footer [class*="span"], footer .row-fluid [class*="span"] {
		width: 100%;
		float: none;
		margin: 20px 0;
	}
	footer .nav > li {
		text-align: inherit;
	}
	footer .nav > li a {
		padding: inherit;
	}
	footer .nav {
		float: none;
	}
	.copyright {
		padding: 0;
	}
	footer .copyright div {
		margin: 0 !important;
		min-height: initial !important;
	}
	div.plan {
		text-align: left;
	}
	.bannerimg {
/*
		padding-top: 130%;
		background-size: 150%;
*/
		padding-top: 80%;
		background-size: 175%;
		background-position: top center;
	}
	.wfpopup, 
	.wfpopup img {
		width: 100%;
		margin: 0 !important;
		float: none !important;
	}
	.wfpopup {
		margin-bottom: 20px !important;
	}
	.bannergroup {
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid #ccc;
	}
	.banneritem {
		float: left;
		width: 50%;
	}
	.item-page .page-header h1 {
		font-size: 30px;
	}
	.item-page .page-header {
		top: 4vw;
	}
	.items-leading > div .item-title, .item-page .page-header {
		top: 0;
		font-size: 30px;
	}
	#content.span12 .items-leading > div .item-image,
	#content.span12 .item-page .item-image {
		margin-bottom: 30px;
/*
		margin-top: -170px;
*/
		margin-top: 0;
	}
	
	#content.span12 .items-leading > div .item-image img,
	#content.span12 .item-page .item-image img {
		object-fit: cover;
		height: 300px;
	}

	#content.span12 .items-leading > div .item-image.emp img,
	#content.span12 .item-page .item-image.emp img {
		object-fit: cover;
		height: auto;
	}
	.maintitle,
	header .row-fluid > .pull-right {
/*		background-color: rgba(0,0,0,0.3);*/
	}
	header::before {
/*		background-color: transparent; */
	}
}

@media (max-width: 320px) {
	.maintitle {
		font-size: 24px;
		padding: 5px;
	}
}