/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
    *zoom: 1;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }


/* --------------------------------------- Fixed Bootstrap Grid ----------------------------------------- */

.mail .attachments {
	margin-top:20px;

}

.mail h4 {
	font-weight:normal;
}

.mail .attachment {
	border: 1px solid #cfcfcf;
	border-bottom: none;
	border-radius: 3px;
	padding:15px 20px 15px 10px;
}

.mail .attachment-icon {
	width: 15px;
	margin-right:10px;
}

.mail .attachment.last {
	border-bottom: 1px solid #cfcfcf;
}

.mail .download-icon {
	width: 20px;
}

.container,
.small-container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px; }

  .small-container:before,
  .small-container:after,
  .container:before,
  .container:after {
    content: " ";
    display: table; }

   .small-container:after,
  .container:after { clear: both; }

.small-container { margin-top: 60px; }

  @media (min-width: 768px) {
    .container {
      width: 750px; } }
  @media (min-width: 992px) {
    .container {
      width: 970px; } }
  @media (min-width: 1200px) {
    .container {
      width: 1170px; } }

.small-container {
    max-width: 375px;
}

.small-container form {
	    margin: 20px;
}

.container.mail {
	background: white;
}

.mail h1 {
	
		color: #16397d;
		font-size: 14pt;
	
}

.mail .person {
	max-width: 180px;
}

.mail img.person {
	margin-bottom:10px;
	margin-top:20px;
}

.mail .message {
	font-size:12pt;
	line-height:1.4em;
}

/*! jQuery UI - v1.11.2 - 2015-02-03
* http://jqueryui.com
* Includes: core.css, draggable.css, sortable.css
* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */

/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
	display: none;
}
.ui-helper-hidden-accessible {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
.ui-helper-reset {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	line-height: 1.3;
	text-decoration: none;
	font-size: 100%;
	list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
	content: "";
	display: table;
	border-collapse: collapse;
}
.ui-helper-clearfix:after {
	clear: both;
}
.ui-helper-clearfix {
	min-height: 0; /* support: IE7 */
}
.ui-helper-zfix {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	opacity: 0;
	filter:Alpha(Opacity=0); /* support: IE8 */
}

.ui-front {
	z-index: 100;
}


/* Interaction Cues
----------------------------------*/
.ui-state-disabled {
	cursor: default !important;
}


/* Icons
----------------------------------*/

/* states and images */
.ui-icon {
	display: block;
	text-indent: -99999px;
	overflow: hidden;
	background-repeat: no-repeat;
}


/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-widget-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.ui-draggable-handle {
	-ms-touch-action: none;
	touch-action: none;
}
.ui-sortable-handle {
	-ms-touch-action: none;
	touch-action: none;
}



/* --------------------------------------- Global Styles ----------------------------------------- */


body {
	background: #edeef2 !important;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 400;
	font-size: 14px;
   }

h1,h2,h3,h4,h5,h6, p, li, span, td, th, label {
	color: #53545c;
}

button {
	font-size: 14px;
}
a {
	color: #16397d;
	text-decoration: none;
}

h1 {
	font-size: 25px;
	line-height: 25px;
	font-weight: 300;
	padding: 20px 0px 20px;
}


h2 {
	font-size: 20px;
	line-height: 25px;
	font-weight: 300;
	padding: 20px 0px 20px;
}

input[type="radio"]{
    vertical-align: baseline;
}

input, select {
	font-size:100%;
}

/* --------------------------------------- Helper Classes  ----------------------------------------- */

.float-left {
	float:left !important;
}

.float-right {
	float:right !important;
}

.inline-list {
	display: block;
}

.inline-list li  {
	display: inline-block;

}

.block-element {
	display: block;
}

.element-title {
	position: absolute;
	bottom: 30px;
	padding-left: 10px;
	background: rgba(255,255,255,0.8);
	padding-top:10px;
	padding-right:10px;
	color: #16397d;
	padding-bottom: 10px;
}

.margin-vertical-xs {
	margin: 5px 0px;
}


.margin-vertical-sm {
	margin: 10px 0px;
}


.margin-vertical-md {
	margin: 25px 0px;
}

.margin-vertical-lg {
	margin: 50px 0px;
}



.padding-vertical-xs {
	padding: 5px 0px;
}


.padding-vertical-sm {
	padding: 10px 0px;
}


.padding-vertical-md {
	padding: 25px 0px;
}

.padding-vertical-lg {
	padding: 50px 0px;
}

.small {
	font-size: 0.8em !important;
}

.text-align-right {
	text-align: right;
}

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

/* --------------------------------------- GUI Elements ----------------------------------------- */

.styled-upload  {
	position: relative;
	border: 1px solid red;
	padding: 0px !important;
}

.styled-upload input {
	opacity: 0;
	display: block;
	width: 100%;
	height: 50px;
	z-index: 2;
}



select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}


.styled-select select {
   background: transparent;
   width: 100%;
   vertical-align: middle;
   line-height: 50px;
   border: 0;
   border-radius: 0;
   height: 50px;
   -webkit-appearance: none;
   -moz-appearance: none;
   font-size: 14px;
   color: #16397d;
}


.styled-select select option {
	color: #53545c;
}


.styled-select select:active,
.styled-select select:focus {
	border: none;
}

   .styled-select {
	display: block;
   	width: auto;
   	height: 51px;
   	overflow: hidden;
   	background: url('../images/icon-arrow-down-b-16.png') no-repeat right #fff;
   	border: 1px solid #dbdce0;
   	margin-right: 10px;
   	border-radius: 5px;
   	box-shadow: 0px 0px 5px rgba(0,0,0,.1);
   	margin-bottom: 5px;
   	padding-left:5px;
	}


.tabs {}

.tab {
	border: 1px solid #dbdce0;
	border-top-width: 0px;
	padding: 15px;
	display: none;

}

.tab.active {
	display: block;
}

/* --------------------------------------- CMS Styles ----------------------------------------- */
ul.breadcrumb {
	opacity: 0.5;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}

ul.breadcrumb:hover {
	opacity: 1;
}

ul.breadcrumb li {
	display: inline-block;
	float: left;
}
ul.breadcrumb li a {
	font-size: 14px;
}
ul.breadcrumb li:first-child a:before {
	content: '';
	padding: 0px;
}
ul.breadcrumb li a:before {
	padding: 0px 10px;
}
ul.breadcrumb>li+li:before {
	padding: 0 12px;
}
ul.breadcrumb > li:last-child a {
    font-weight: bold;
}

a.thumbnail {
	display: inline-block;
	border: 1px solid #dbdce0;
	padding: 5px;
	border-radius: 5px;
	background: white;
	box-shadow: 0px 0px 5px rgba(0,0,0,.1);
	margin: 10px 0px;
}

a.thumbnail img {
	display: block;
}

h1 .edit {

	line-height: inherit;
	font-size: 14px;
}
hr {
	display: block;
	margin-bottom: 30px;
	border-width: 0px;
	height: 1px;
	background: #dbdce0;
}

.table {
	table-layout: fixed;
	border-collapse: collapse;
	width: 100%;
}

.table tr  {
	border-collapse: collapse;
}

.table th,
.table td {
	padding: 10px 0px;
	border-bottom: 1px solid #dbdce0;
	border-collapse: collapse;
	text-align: left;
	vertical-align: middle;
}

.table tfoot tr:first-child td {
    padding-top: 20px;
}

.table tfoot td {
    padding: 10px 0px;
}

.table th {
	vertical-align: bottom;
	text-transform: uppercase;
	opacity: .6;
	font-size: 12px;
}

.table tfoot td {
	border-bottom: 0px;
}

.table td:first-child {
	min-width: 400px;
}

.table td {
	min-width: 150px;
}

.content {
	border: 1px solid #dbdce0;
	border-radius: 5px;
	background: white;
	box-shadow: 0px 0px 5px rgba(0,0,0,.1);
	overflow: hidden;
	margin-bottom: 20px;
	padding-bottom: 20px;
}





.button {
	display: inline-block;
	background: linear-gradient(to bottom, #f7f8fb 0%, #f2f3f8 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: inset 0px 1px 0px #fff;
	color: #16397d;
	display: inline-block;
    text-shadow: 1px 1px 0 #fff;
    vertical-align: middle;
	margin-bottom: 5px;
    padding: 10px;
    border-radius: 4px;
}

.cta-button,
.button.active,
.button:hover {
	background: linear-gradient(to bottom, #173b7e 0%, #16397d 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    color: white !important;
    display: inline-block;
    margin-bottom: 5px;
    padding: 10px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
    vertical-align: middle;
    box-shadow: inset 0px 1px 0px #173b7e;
}

.cta-button span {
	color: white;
}



input[type="text"],
input[type="password"] {
	display: block;
	margin: 10px 0px 10px 0px;
	border-radius: 2px;
	border: 1px solid #dbdce0;
	padding: 10px 15px;
	box-shadow: inset 1px 1px 2px rgba(0,0,0,.1);
	font-size: 14px;
	min-width: 300px;

}

input[type="text"].error,
input[type="password"].error {
	border: 1px solid #d51c1c;
	background: #f7f0f0;
	box-shadow: 0px 0px 5px rgba(255,0,0,.2);
	color: #d51c1c;
}

.form-row {
	padding-bottom: 25px;
	margin-bottom: 25px;
	border-bottom: 1px solid rgba(0,0,0,.1);
}

.form-row input[type="radio"]{
   margin-top: 10px;
}


label {
	display: block;
	margin-bottom: 10px;
}

.action-bar li  {
	padding-right: 10px;

}

/* ------------ Messages -------- */

.error-message {
	background: #d51c1c;
	border: 1px solid #d51c1c;
	box-shadow: inset 0px 1px 0px rgba(255,255,255,.1);
	margin: 10px 0px;
	padding: 10px;
	border-radius: 5px;
	color: white;
}

.error-message * {
	color: white;
}

.notification {
	opacity: 0;
	background: linear-gradient(to bottom, #f66222 0%, #16397d 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	border-bottom: 1px solid rgba(0,0,0,.1);
	box-shadow: 0px 1px 5px rgba(0,0,0,.05);
	padding: 15px 0px;

}

.notification p {
	display: block;
	text-align: center;
	max-width: 1000px;
	margin: 0 auto;
	color: white;
}

.notification.success {
	background: linear-gradient(to bottom, #3fd821 0%, #5fd429 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
}

.notification.error {
	background: linear-gradient(to bottom, #d92121 0%, #d42929 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);

}
/* ------------ Navigation -------- */

.full-width {
	padding-left: 0px !important;
	padding-right: 0px !important;
}

.navigation {

	display: block;
	width: 100%;
	padding-bottom: 25px;

}

.navigation ul,
.tabbar {
	padding: 0px;
	margin: 0px;
	border-bottom: 1px solid #dbdce0;
	background: #f9fafb;
}

.navigation ul li,
.tabbar li {
	display: inline-block;
	float: left;
	position: relative;
	z-index: 1;
}

.navigation ul li.right {
	float: right;
}

.navigation ul li a,
.tabbar li a {
	display: block;
	padding: 20px;
	border-left: 1px solid #dbdce0;
	position: relative;
}

.navigation ul li a:hover,
.tabbar li a:hover {
	background:#16397d;
	color: white;
}

.navigation ul li:first-child a,
.tabbar li:first-child a {
	border-left: 0px;
}

.navigation ul li.active,
.tabbar li.active  {
	background: white;
}

.navigation ul li.active:hover,
.tabbar li.active:hover  {
	color: white;
}

.navigation ul li.active a,
.tabbar li.active a  {
	color: inherit;
}

.navigation ul li.active a:before,
.tabbar li.active a:before {
	content: ' ';
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	background: #16397d;
	display: block;
	border: 1px solid #16397d;
}

.navigation ul li.active a:after,
.tabbar li.active a:after {
	content: ' ';
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: -1px;
	background: white;
	display: block;
	border: 1px solid white;
}

.tabbar {
	border: 1px solid #dbdce0;
}

.tabbar li a

/* ------------ Content -------- */

ul.head-menu li a {
	line-height: 55px;
	padding: 0px 10px;
	vertical-align: middle;
}

.app-menu {
	padding-top: 20px;
	padding-bottom: 20px;
	margin-left: -5px;
}

.app-menu ul {
	display: block;
}

.app-menu ul li {
	display: block;
	float: left;


}

.grid-element,
div.sortable-placeholder {
	/* float: left; */

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-left: 20px;
	margin-bottom: 20px;
	display: block;
	text-align: center;
	background: #f9fafb;
	border: 1px solid #dbdce0;
	border-radius: 5px;
	overflow: hidden;
	width: 260px;
	height: 180px;
	box-shadow: 0px 0px 2px rgba(0,0,0,.2);
	position: relative;
	cursor: pointer;
	/*background-image:url('../images/jotec-placeholder-small.png');
	background-size: 100% auto;*/
}

.grid-element:before {
	opacity: 0;
	height: 40px;
	content: ' ';
	width: 40px;
	display: block;
	position: absolute;
	top: 0px;
	left: -50px;
	z-index: 3;
	background: url(../images/sortable.png) center center no-repeat;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}

.enabled .grid-element {
	cursor: move;
	cursor: -webkit-grab;
	cursor: -moz-grab;
}

.enabled .grid-element:before {
	top: 0px;
	left: 0px;
	opacity: 1;
}

table .sortable-placeholder {
	box-shadow: inset 0px 0px 2px rgba(0,0,0,.1);
	border: 1px solid #eaebef;
	background: white;
	line-height: 40px;
}

.grid-element:hover {
	border-color: #16397d;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}

.grid-element img {
	display: block;
	width: 260px;
	height: auto;

}

.grid-element span {
	display: inline-block;
	padding: 15px;
	color: #16397d;
}

.grid-element.create {
	background: url(../images/create.png) center center #FFF no-repeat;
}

.grid-element.create span {
	position: absolute;
	bottom: 5px;
	display: block;
	width: 100%;
		opacity: 1;
}

.grid-element.create:hover span,
.grid-element.create:active span {

	bottom: 5px;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	opacity: 1;
}

/* ----- Subcategory -----*/

.app-menu.subcategory .grid-element {
	max-width: 350px;
    max-height: 355px;
}

.app-menu.subcategory .grid-element img {
	width: 100%;
	height: auto;
}
.ui-sortable-helper { }


.ui-sortable-helper td:first-child {
	display: block;
}

.ui-sortable-helper td {
	padding-left: 10px;
	border-radius: 5px;
	box-shadow: 0px 0px 5px rgba(0,0,0,.1);
	border: 1px solid #dbdce0;
	background: white;
	display: none;
}

/* --------------------------------------- Super-Specific Styles ----------------------------------------- */
.tools a:first-child { padding-left: 0px; }
.tools a { padding-left: 10px; }

.tab { padding-top: 40px;}
.tab h2 { padding-top: 0px; margin-top: 0px; display: inline-block}
.tab .toggle-sortable { float: right;}

table .sortable.enabled td {

}

table .sortable td a {
	line-height: 40px;
	padding-left: 0px;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}

table .sortable.enabled td a {
	padding-left: 50px;
	display: block;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	position: relative;
	line-height: 40px;
}
table .sortable td a:before {
	opacity: 0;
	height: 40px;
	content: ' ';
	width: 40px;
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 3;
	background: url(../images/sortable.png) center center no-repeat;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}

table .sortable.enabled td a:before {

	opacity: 1;
}


.fileinput-button {
  position: relative;
  overflow: hidden;
}
.fileinput-button input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  -ms-filter: 'alpha(opacity=0)';
  font-size: 200px;
  direction: ltr;
  cursor: pointer;
}

/* Fixes for IE < 8 */
@media screen\9 {
  .fileinput-button input {
    filter: alpha(opacity=0);
    font-size: 100%;
    height: 100%;
  }
}


.progress {
	height: 6px;
	margin-bottom: 22px;
	overflow: hidden;
	background-color: #f5f5f5;
	border-radius: 4px;
}

.progress-bar-success {
	background-color: #16397d;
}

.progress-bar {
	float: left;
	width: 0;
	height: 100%;
	font-size: 12px;
	line-height: 20px;
	color: #fff;
	text-align: center;
	background-color: #16397d;
}

.uploadmeta {
	display:none;
}

.mediauploaddialogcontent h2 {
	padding: 10px 0px 10px 0px;
	margin: 0px;
	font-weight: normal;
}

.mediauploaddialogcontent h2 strong {
	font-weight: bold;
}

.logo img {
	max-width:230px;
}

#mediauploadselectexisting {
	height: 150px;
	overflow-y: scroll;
	margin: 10px 0px;
	padding: 5px;

}

#mediauploadselectexisting option {
	font-size: 12px;
	padding: 5px 0px;
	border-bottom: 1px solid #eee;
}

.ui-dialog-titlebar {
	border-bottom: 1px solid rgba(0,0,0,.1);
	margin-bottom: 10px;
}

.ui-dialog-titlebar-close {
	border-width: 1px;
}

.inlineediting-text input{
	font-size:18px;
}

#footer {
	margin-top: 40px;
}

#footer a {
	color: grey;
	margin-right: 20px;
}

#footer a:last-child {
	margin-right: 0;
}
