a.has_ref, a.has_ref i{
	color: #0A0;
}

.hidden {
  display: none;
}

*[data-uk-modal] {
  cursor: pointer;
}

.user_heading_avatar img {
  border: 2px solid #FFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.8);
}

i[data-refresh] {
  cursor: pointer;
  font-weight: bold;
  opacity: 0;
  transition: opacity .25s ease-in-out;
}

.pdf-download {
  color: #FFF;
  text-decoration: underline;
}

.md-card:hover i[data-refresh] {
  opacity: 1;
}

i[data-refresh]:hover {
  color: #0A0;
}

@media screen {
	.print_container {
		display: none;
	}
}

@media print {
  
  i[data-refresh] {
    display: none;
  }
  
  html, body {
    width: 100%;
    /*font-size: 1.2em;*/
    font-size:100%;
    -webkit-print-color-adjust: exact !important;
  }
  
  h5 {
    font-size: 17px;
    color: #C80000 !important;
  }
  
  .heading_c {
    margin: 0;
    font: 400 19px / 20px "Roboto", sans-serif;
    color: #C80000 !important;
    border-bottom: 1px solid;
    padding-bottom: 2px;
  }
  
	.print_container {
		display: block;
	}
	
	.noprint {
	  display: none;
	}
	
  .pagebreak {page-break-after: always;}
  
  .uk-modal > div{
    position:initial;
    display:block;
    border:10px solid tomato; 
  }
  
  .uk-width-large-3-10{
      width:100%;
      float:none;
      clear:both;
      min-height:1px!important;
  }
  
  html body .md-card .user_heading{
    background:#fff;
  }
  
  .user_content{
    padding:20px;
  }
  
  .user_heading_content .heading_b{
    color:#000;
  }

  .uk-table thead th,
  .uk-table td,
  .uk-table th{
    padding-left:0px;
    width:50%;
    min-width:50%;
  }
  
  .md-list-addon > li{
    margin-left:44px;
  }
  
  #page_content,
  #page_content_inner,
  .uk-grid > *{
    padding:0px;
    margin:0px;
  }

}

.j77_tab_search {
	position: absolute;
    right: 19px;
    top: 10px;
    width: 259px;
    height: 35px;
}

.j77_tab_search input {
	border: 1px solid rgba(0,0,0,.12);
	width: 100%;
	height: 100%;
    padding: 10px;
    box-sizing: border-box;
}

@media only all and (max-width: 768px) {
	.j77_tab_search {
		position: relative;
	    right: auto;
	    top: auto;
	    width: 100%;
	    height: auto;
	}
}

@media only all and (max-width: 480px) { 
	.rechnung_name,.angebot_name {
		font-size: 0.8em;
	}
 }
 
 a.anchor {
    display: block;
    position: relative;
    top: -150px;
    visibility: hidden;
}
 
 .md-card-list-wrapper .md-card-list .md-card-list-item-sender {
 	width: 350px;
 }

#sidebar_main .sidebar_main_header{
	background-image: none;
	background-color: #c11818;
	height: 120px;
}

.md-card .md-card-head-avatar {
	width: 150px;
	height: auto;
}

.md-card .md-card-head{
	height: 225px;	
}

#sidebar_main .sidebar_main_header img {
	margin-top: 25px;
}

#sidebar_main .sidebar_main_header .sidebar_logo {
	height: auto;
	
}

.md-bg-primary {
	background: #c11818;
}

.md-card .user_heading {
	background: #c11818;
}

table {
	max-width: 100%!important;
}

.uk-alert {
  background: #c11818;
}
.md-btn-primary,
.md-btn-primary:hover,
.md-btn-primary:focus,
.md-btn-primary:active {
  background: #c11818;
  color: #ffffff;
}
.md-btn-flat-primary,
.md-btn-flat-primary:hover,
.md-btn-flat-primary:focus,
.md-btn-flat-primary:active {
  color: #303f9f;
}
.md-btn-flat-primary:hover,
.md-btn-flat-primary:focus,
.md-btn-flat-primary:active {
  background: #d1d6ef;
}
.uk-badge-primary {
  background: #c11818;
}
.md-card-list-wrapper .md-card-list > ul > li.item-shown.md-card-list-item-selected:before {
  background: #e8eaf6;
}
.md-card-list-wrapper .md-card-list .md-card-list-item-selected {
  background: #e8eaf6;
}
.md-card-list-wrapper .md-card-list .md-card-list-item-selected.item-shown {
  background: #ffffff;
}
.md-card-list-wrapper .md-card-list .md-card-list-item-selected.item-shown:before {
  background: #e8eaf6;
}
.md-fab.md-fab-accent {
  background: #9c1915;
}
.md-list .uk-nestable-list > li.md-list-item-active,
.md-list > li.md-list-item-active {
  color: #9c1915;
}
.md-list-addon > li.md-list-item-active .md-list-addon-element,
.md-list-addon > li.md-list-item-active .md-list-addon-element .material-icons {
  color: #9c1915;
}
.uk-pagination > li > a:hover {
  background: #ffd9e6;
}
.uk-pagination > li.uk-active > a,
.uk-pagination > li.uk-active > span {
  background: #9c1915;
  color: #ffffff;
}
.uk-subnav-pill > .uk-active > * {
  background: #9c1915;
}
.uk-tab > li > a:hover,
.uk-tab > li > a:focus {
  border-bottom-color: #abb4e2;
}
.uk-tab > li.uk-active > a {
  border-bottom-color: #c11818;
}
.uk-tab-bottom li > a:hover,
.uk-tab-bottom li > a:focus {
  border-top-color: #abb4e2;
}
.uk-tab-bottom li.uk-active > a {
  border-top-color: #c11818;
}
.uk-tab-left li > a:hover,
.uk-tab-left li > a:focus {
  border-right-color: #abb4e2;
}
.uk-tab-left li.uk-active > a {
  border-right-color: #c11818;
}
.uk-tab-right li > a:hover,
.uk-tab-right li > a:focus {
  border-left-color: #abb4e2;
}
.uk-tab-right li.uk-active > a {
  border-left-color: #c11818;
}
#header_main {
  background: #c11818;
}
.app_my_theme.header_double_height #page_content:after {
  background: #c11818;
}
#top_bar .top_bar_nav > li > a:hover {
  box-shadow: inset 0 -3px 0 #c11818;
}
#top_bar .top_bar_nav > li.uk-active a {
  box-shadow: inset 0 -3px 0 #c11818;
}
.user_heading {
  background: #303f9f;
}
#sidebar_main .menu_section > ul > li ul li.act_item a {
  color: #9c1915;
}
#sidebar_main .menu_section > ul > li.current_section > a > .menu_icon .material-icons {
  color: #9c1915;
}
#sidebar_main .menu_section > ul > li.current_section > a .menu_title {
  color: #9c1915;
}
.app_my_theme.sidebar_mini #sidebar_main .menu_section > ul > li > a > .menu_title {
  background: #9c1915;
  color: #ffffff;
}
.app_my_theme.sidebar_mini #sidebar_main .menu_section > ul > li:hover.sidebar_submenu {
  background: #9c1915;
}
.app_my_theme.sidebar_mini #sidebar_main .menu_section > ul > li:hover.sidebar_submenu > a .menu_icon .material-icons {
  color: #ffffff;
}
.app_my_theme.sidebar_mini #sidebar_main .menu_section > ul > li:hover.sidebar_submenu ul {
  border-left-color: #9c1915;
}
.app_my_theme.sidebar_mini #sidebar_main .menu_section > ul > li.current_section > a > .menu_icon .material-icons {
  color: #9c1915;
}
.clndr .clndr_days .clndr_days_grid .day.today > span {
  background: #9c1915;
}
.DTTT_print_info h6 {
  color: #9c1915;
}
.fc-unthemed .fc-button.fc-state-active:after {
  color: #9c1915;
}
.fc-unthemed .fc-highlight {
  box-shadow: inset 0 0 0 2px #c11818, inset 0 -1px 0 2px #c11818;
}
.tablesorter-altair tbody > tr.row_highlighted > td {
  background: #e8eaf6;
}
.tablesorter-altair .headerSortUp,
.tablesorter-altair .tablesorter-headerSortUp,
.tablesorter-altair .tablesorter-headerAsc,
.tablesorter-altair .headerSortDown,
.tablesorter-altair .tablesorter-headerSortDown,
.tablesorter-altair .tablesorter-headerDesc {
  color: #9c1915;
}
.wizard > .steps {
  background: #c11818;
}
.wizard > .steps > ul > li.current a,
.wizard > .steps > ul > li.current a:hover,
.wizard > .steps > ul > li.current a:active {
  background: #606fc7;
}
.wizard > .steps > ul > li.done a,
.wizard > .steps > ul > li.done a:hover,
.wizard > .steps > ul > li.done a:active {
  background: #303f9f;
}
.md-card-primary {
  border-left-color: #c11818;
}

/*  Navbar  */

header nav ul.j77menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  float: right;
}

header nav ul.j77menu li {
  display: inline-block;
  float: left;
  margin-top: 8px;
}

header nav ul.j77menu li a.md-btn.md-btn-flat.md-btn-wave.waves-effect.waves-button {
  display: block;
  color: white;
}

/*  Forms */

html body form[action="login/register"],
html body form[action="login/pwreset"],
html body form[action="/login/confirmpasswordreset"],
html body form[action="/user/edit"],
html body form[action="/user/password"]{
  background-color:#fff;
  padding:16px;
  border-radius:6px;
  box-sizing:border-box;
  max-width:33.33%;
  display:block;
  float:none;
  margin:30px auto;
}

html body form[action="login/register"] label,
html body form[action="login/pwreset"] label,
html body form[action="/login/confirmpasswordreset"] label,
html body form[action="/user/edit"] label,
html body form[action="/user/password"] label{
  width:100%;
  font-weight:400;
}

html body form[action="login/register"] label.required:after,
html body form[action="login/pwreset"] label.required:after,
html body form[action="/login/confirmpasswordreset"] label.required:after,
html body form[action="/user/edit"] label.required:after,
html body form[action="/user/password"] label.required:after{
  content:'*';
  color:#c11818;
  margin-left:6px;
  font-weight:bold;
}

html body form[action="login/register"] input,
html body form[action="login/pwreset"] input,
html body form[action="/login/confirmpasswordreset"] input,
html body form[action="/user/edit"] input,
html body form[action="/user/password"] input{
  box-sizing:border-box;
  width:100%;
  height:36px;
  padding:0px 16px;
}

html body form[action="login/register"] input[type="submit"],
html body form[action="login/pwreset"] input[type="submit"],
html body form[action="/login/confirmpasswordreset"] input[type="submit"],
html body form[action="/user/edit"] input[type="submit"],
html body form[action="/user/password"] input[type="submit"]{
  cursor:pointer;
  background:#c11818;
  color:#fff;
  border:none;
}
html body form[action="login/register"] input[type="submit"]:focus,
html body form[action="login/pwreset"] input[type="submit"]:focus,
html body form[action="/login/confirmpasswordreset"] input[type="submit"]:focus,
html body form[action="/user/edit"] input[type="submit"]:focus,
html body form[action="/user/password"] input[type="submit"]:focus{
  outline:none;
}

html body form[action="login/register"] dl dd,
html body form[action="login/pwreset"] dl dd,
html body form[action="/login/confirmpasswordreset"] dl dd,
html body form[action="/user/edit"] dl dd,
html body form[action="/user/password"] dl dd{
  margin:10px 0px 20px 0px;
}

html body form[action="login/register"] ul.errors,
html body form[action="login/pwreset"] ul.errors,
html body form[action="/login/confirmpasswordreset"] ul.errors,
html body form[action="/user/edit"] ul.errors,
html body form[action="/user/password"] ul.errors{
  margin:0px;
  padding:0px 0px 0px 16px;
}

html body form[action="login/register"] ul.errors li,
html body form[action="login/pwreset"] ul.errors li,
html body form[action="/login/confirmpasswordreset"] ul.errors li,
html body form[action="/user/edit"] ul.errors li,
html body form[action="/user/password"] ul.errors li{
  color:#c11818;
  padding:8px 0px 0px 0px;
}

@media only screen and (max-width: 996px){
  html body form[action="login/register"],
  html body form[action="login/pwreset"],
  html body form[action="/login/confirmpasswordreset"],
  html body form[action="/user/edit"],
  html body form[action="/user/password"]{
    max-width:100%;
    margin:30px 10px;
  }
}




/* Gloabl Mobile Fittings  */

@media only screen and (max-width: 996px){
  
  html body ul.j77menu{
    display:none;
  }
  
  html body .j77-teaser{
    width:40%;
    margin-bottom:60px;
  }
  
  html body .j77-story{
    padding:0px 20px;
    margin:20px 0px;
  }
  
  html body .uk-grid{
    margin:0px;
  }
  
  html body .uk-width-1-2{
    width:100%;
  }
  
  html body .j77-story ul{
    margin-left:20px;
  }
  
  html body .j77-large-heading{
    font-size:28px;
    line-height:36px;
  }
  
  html body .j77-story-content{
    padding:0px 20px;
  }
  
  html body .uk-navbar > div{
    max-width:90px!important;
  }
  
  html body .j77-story#section1 br{
    display:none;
  }
  
  html body .j77-optin{
    padding:10px 0px 30px 0px;
    margin:10px 0px 40px 0px;
  }
  
}




@media only screen and (max-width: 680px){
  
  html body .j77-teaser{
    width:calc(100% - 60px);
  }
  
}