﻿/*
 * Main CSS file for ASP.NET webform pages
 */

/* ------------------------------- GENERAL ---------------------------- */

html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", "Helvetica", Verdana, Geneva, Tahoma, Arial, sans-serif; /* Compatible with Telerik */
  font-size: 14px;
  background-color: #FFF;
  line-height: 1.42857143;
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100%;
}

form {
  margin: 0;
  padding: 0;
  height: 100%;
}

.form-decorator-zone {
  width: 100%;
  height: 100%;
}

.flat-layout-container {
  height: 100%;
}

h3, h2 {
  color: #035E89;
}

img {
  border: 0;
}

input:disabled {
  -webkit-filter: opacity(60%);
  -moz-filter: alpha(opacity = 60);
  -o-filter: alpha(opacity = 60);
  filter: alpha(opacity = 60);
}

img:disabled {
  -webkit-filter: opacity(60%);
  -moz-filter: alpha(opacity = 60);
  -o-filter: alpha(opacity = 60);
  filter: alpha(opacity = 60);
}

.logo > img {
  padding: 24px 10px 20px 10px;
}

.input-label {
  color: #767676;
  vertical-align: bottom;
}

.error {
  color: #e80c4d !important;
}

.errorText {
  color: #e80c4d !important;
}

.asp-validate-error {
  color: #e80c4d !important;
}

.notes-text {
  font-style: italic;
}

.invisible-element {
  display: none !important;
}

.checkbox-wrap {
  display: block;
}

  .checkbox-wrap label {
    display: inline;
  }

.normal-text {
  /* Empty for now */
}

.help-text {
  font-style: italic;
}

label[disabled] {
  -webkit-filter: opacity(60%);
  -moz-filter: alpha(opacity=60);
  -o-filter: alpha(opacity=60);
  filter: alpha(opacity=60); /* IE<9 */
}

.command-link {
  text-decoration: none;
}

.command-link:link {
    text-decoration: none;
}

.command-link:hover {
  text-decoration: underline;
}

/* ---------------------------- HEADER ---------------------------------*/
/* overrides to make navigation meny appear identical in WebForms as in MVC */

.header-navigation-menu {
  font-size: 1em !important;
}

  .header-navigation-menu .rad-submenu {
    white-space: nowrap !important;
  }

  .header-navigation-menu .RadMenu {
    float: left;
    outline: none;
  }

  .header-navigation-menu > .rmSelected {
    background-color: transparent !important;
  }

  .header-navigation-menu .rmRootGroup {
    padding-top: 7px !important;
    padding-bottom: 3px !important;
    border: 0 !important;
    background: transparent !important;
  }

  .header-navigation-menu .rmText {
    padding: 0 !important;
  }

  .header-navigation-menu .go-home-link {
    padding: 7px 15px 3px 30px;
  }

  .header-navigation-menu .rmItem:not(.rad-submenu) > .rmLink {
    padding: 0 !important;
    border: 0 !important;
  }

  .header-navigation-menu .rmItem:not(.rad-submenu) {
    padding-left: 15px !important;
    padding-right: 15px !important;
    border: 0 !important;
  }

  .header-navigation-menu a:not(.rmLink), .header-navigation-menu .rmItem .rmRootLink, .header-navigation-menu .rmItem:not(.rad-submenu) > .rmLink {
      float: left;
    display: block;
    text-decoration: none;
    text-align: center;
    color: #D0D0D0 !important;
    cursor: pointer !important;
    background-color: transparent;
    -webkit-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
  }

 header-navigation-menu a:not(.rmLink):hover {
      color: white !important;
    }

    .header-navigation-menu .rmItem:not(.rad-submenu) > .rmLink:hover {
      color: white !important;
    }

    .header-navigation-menu .rmItem:not(.rad-submenu) > .rmLink .rmLeftImage {
      margin: 0 6px 0 0;
    }

  /* Mobile menu */

  .header-navigation-menu .rmRootToggle {
    float: right;
    width: 30px !important;
    height: 30px !important;
    background: transparent !important;
    color: white !important;
    border: 0 !important;
    position: relative !important;
    font-size: 13px !important;
    min-height: 30px !important;
  }

    .header-navigation-menu .rmRootToggle:before {
      font-size: 20px !important;
      margin-top: 2px;
      position: relative !important;
    }

@media (max-width: 769px) {
  .header-navigation-menu .RadMenu {
    float: right;
  }
}

a.goHome {
  height: 14px;
  width: 15px;
  background: #2B4047 url('../images/header/Home_Small_nohover.png') no-repeat 0 0;
  text-indent: -9000px;
  margin: 2px 2px 2px 10px;
}

  a.goHome:hover {
    background: #2B4047 url('../images/header/Home_Small_hover.png') no-repeat 0 0;
  }

/* ------------------------------------------ MENU ---------------------------------------- */

/*this is the menu below the header - taken from http://www.webcredible.co.uk/user-friendly-resources/css/css-navigation-menu.shtml*/
.page-menu {
  margin-top: 8px;
}

  .page-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .page-menu li {
    float: left;
    margin-right: 10px;
  }

  .page-menu .menu-link {
    color: #035e89;
    font-size: 1em;
    font-weight: bold;
    height: 21px;
    float: left;
    display: block;
    text-decoration: none;
    text-align: center;
  }

  .page-menu li a:hover {
    text-decoration: underline;
  }

/* --------------------------------------- MAIN PAGE ----------------------------------------- */

.main-page-tiles {
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

  .main-page-tiles .main-page-tile {
    display: inline-block;
    height: 220px;
    width: 256px;
    vertical-align: top;
    font-size: 12px;
    margin-right: 4px;
    margin-bottom: 12px;
    text-align: center;
    border: 1px solid #EAEAEA;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden;
  }

.main-page-tile img {
  border: 0;
  padding-top: 25px;
}

@media (min-width: 768px) {
  .main-page-tile:hover {
    border-color: white;
    background-color: #00658f;
  }

  .main-page-tile:hover a {
    color: white;
  }

  .main-page-tile:hover .tile-description a {
    color: white;
  }

  .main-page-tiles .main-page-tile:hover {
    -ms-transform: scale(1.1); /* IE 9 */
    -moz-transform: scale(1.1); /* Firefox */
    -webkit-transform: scale(1.1); /* Safari and Chrome */
    -o-transform: scale(1.1); /* Opera */
    transform: scale(1.1)
    ;
    -moz-transition: 0.2s;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    -ms-transition: 0.2s;
    transition: 0.2s;
  }
}

@media (min-width: 0) and (max-width: 767px) {
  .main-page-tiles .active-page-tile {
    border-color: white;
    background-color: #00658f;
    -moz-transition: 0.2s;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    -ms-transition: 0.2s;
    transition: 0.2s;
  }

  .main-page-tiles .active-page-tile h3 {
    color: white;
  }

  .main-page-tiles .active-page-tile .tile-description a {
    color: white;
  }
}

.main-page-tile .tile-description {
  padding-left: 6px;
  padding-right: 6px;
}

.main-page-tile .tile-description, .main-page-tile h3 {
  margin-bottom: 5px;
}

.main-page-tile a {
  text-decoration: none;
  color: #404040;
}

.main-page-tile .tile-description a {
  color: #404040;
  text-decoration: none;
}

/*------------------------------------------ AJAX --------------------------------------------*/

.ajaxImg {
  z-index: 10000;
  position: absolute;
  left: 15px;
  top: 15px;
}

/* ----------------------------------- INFO BOXES --------------------------------------------------*/

.infobox {
  background-image: url(../images/info_32.png);
  background-position: 10px center;
  background-repeat: no-repeat;
  display: block;
  padding: 20px;
  padding-left: 50px;
  border: 1px solid #444444;
  vertical-align: middle;
}

.infoelement {
  vertical-align: middle;
}

/*-------------------------------------------------- LOGIN ----------------------------------------*/

.loginWrapper {
  width: 100%;
}

.loginWrapper label {
  text-align: left;
}

.loginWrapper td {
  padding: 0 3px 8px 0;
}

/*--------------------------------------------------- INPUT AREA -------------------------------------*/

.inputArea {
  padding-bottom: 10px;
  padding-top: 0;
  font-size: 1em;
}

  .inputArea .inputGroup {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .inputArea .floatingField {
    float: left;
  }

.breakLine {
  clear: both;
}

.inputArea .inputLabel:not(:empty) {
  margin-top: 5px;
  margin-bottom: 1px;
}

.inputArea input[type=checkbox] + label {
  display: inline-block;
}

.inputArea input[type=radio] + label {
  display: inline-block;
}

.required {
  background: url(../images/required_star.png) no-repeat 0 2px;
  padding: 0 9px;
}

.requiredInfoLabel {
  float: right;
  background: url(../images/required_star.png) no-repeat 0 2px;
  padding: 0 12px;
}


/*-------------------------------------------------TELERIK -------------------------------------------*/

.rbPrimaryButton {
    /* Just here to avoid errors in CssClass declarations in files */    
}

/* Fixes a telerikbug with textareas in Q2 2016 version, where height and width in lightweight rendermode is set to a fixed value */
textarea.riTextBox {
    height: inherit !important;
    width: inherit !important;
}

/* Fixes a listboxes with textareas in Q2 2016 version, where width in lightweight rendermode is set to a fixed value */
.rfdSelectBox {
    width: inherit !important;
}

.RadSiteMap .rsmTemplate {
  padding: 0 10px 0 10px !important;
  width: 250px;
  height: 200px;
  margin-left: 0;
  margin-right: 20px;
  margin-bottom: 20px;
}

  .RadSiteMap .rsmTemplate a {
    color: Black;
    text-decoration: none;
  }

  .RadSiteMap .rsmTemplate h3 {
    font-size: 20px;
    margin-top: 0;
  }

.export-rad-grid {
  margin-top: 6px;
}

/*-- Telerik Menus --*/

.RadMenu .rmLink {
  font-size: 1em !important;
}

@media (min-width: 769px) {
    .RadMenu .rmLink {
      /*font-size: 0.9em !important;*/
    }
}

@media (min-width: 769px) {
    .RadMenu .rmRootGroup>.rmItem>.rmLink {
        /*padding: 10px 6px;*/
    }
}

.RadMenu {
  line-height: inherit !important;
  white-space: normal !important;
  z-index: 3000 !important; /* Fixes bug where RadWindow is behind Menu.. */
}

.RadMenu .rmItem img {
    width: 1em;
}


/* General Telerik */

.rad-panelbar-percentage-width-fix {
  /* Empty for now */
}

.rad-panelbar-percentage-width-fix .rpTemplate {
  /* Fixes scrollbars always visible in RadPanelBars */
  width: inherit !important;
}

.rad-splitterbar-smalldevice {
    height: 20px !important;
}

.rad-splitterbar-smalldevice .rspCollapseBarHorizontalCollapse, .rspCollapseBarHorizontalExpand {
    height: 20px !important;
    line-height: 35px !important;
}

.noRecordsCaption {
  color: #886B5D;
  font-size: 0.9em;
  display: inline-block;
  margin-top: 2px;
  margin-bottom: 2px;
  margin-left: 4px;
  padding: 4px;
  font-weight: normal;
  font-style: italic;
  text-decoration: none;
}

  .noRecordsCaption:empty {
    display: none;
  }