body.app-fluid,
body.app-fluid-responsive,
body {
  overflow-x: hidden;
  min-width: 240px;
  line-height: 1.33 !important;
  font-size: 120% !important;
  font-family: Arial, sans-serif !important; 
}

body {
  -webkit-text-size-adjust: 100%; 
}
 /* Breaking text with hyphens with fallback to break-word and break-all */
* {
  word-wrap: break-word;
  word-break: break-word;
  word-break: hyphenate;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

/* Header and footer */

#app-head-wrapper {
  background: #ffffff;
  border-bottom: 1px solid #cfcfcf;
  margin-bottom: 10px;
}

.app-fluid-responsive #app-head-wrapper,
.app-fluid-responsive #app-footer-wrapper,
.app-fluid #app-head-wrapper,
.app-fluid #app-footer-wrapper,
#app-head-wrapper,
#app-footer-wrapper {
    width: 100%;
    min-width: 0;
}

#app-head-wrapper #app-head #app-name,
.app-fluid #app-head-wrapper #app-head #app-name,
.app-fluid-responsive #app-head-wrapper #app-head #app-name {
  left: 0;
}


.app-fluid #app-head-wrapper #line-top #uiologo a,
.app-fluid-responsive #app-head-wrapper #line-top #uiologo a,
#app-head-wrapper #line-top #uiologo a {
  left: 15px;
}

#app-footer #contact-info,
#app-footer #app-responsible,
#app-footer hr {
    clear: both !important;
    float: left;
    position: relative;
}

#app-footer #contact-info {
  background: url("images/line-dotted-responsive.png") repeat-x scroll 2px 100%;
  background-size: auto 2px;
  padding-top: 80px;
  margin-bottom: 10px;
  width: 100%;
  left: 0;
}

#app-footer #app-responsible {
    padding-bottom: 20px;
}

#app-footer hr {
  background: url("images/line-dotted-reponsive.png") repeat-x 0 0 transparent;
  background-size: auto 2px;
  border: none;
  color: #fff;
  height: 2px;
  margin: 10px 0;
  width: 100%;
}

#app-head {
  height: auto;
  margin: 0 auto 0 auto;
  background-color: transparent;
  text-align: left;
}

.app-fluid-responsive #app-content,
.app-fluid #app-content,
#app-content {
  font-size: 81.25%;
  width: auto;
  min-width: 0;
  margin: 0 auto;
  border-width: 1px 0 1px 0;
  border-color: #cfcfcf;
  padding: 10px 15px;
  margin: 15px 0;
}

#app-footer-wrapper {
  width: 100%;
  border-top: 1px solid #cfcfcf;
}

#app-head-wrapper #app-head {
  width: auto;
  padding-left: 0px;
  padding-right: 0px;
}

.app-fluid #app-footer-wrapper #app-footer,
.app-fluid-responsive #app-footer-wrapper #app-footer,
#app-footer-wrapper #app-footer {
  background: url(images/uio-app-uio-sickle-medium.png) no-repeat 15px 10px;
  margin-bottom: 0;
  margin: 0 auto;
  padding: 24px 15px 44px;
}

/* Black line and UiO logo */
#app-head-wrapper #line-top, #app-head-wrapper #line-top #uiologo {
  height: 31px;
}

.app-fluid #app-head-wrapper #line-top #uiologo,
.app-fluid-responsive #app-head-wrapper #line-top #uiologo,
#app-head-wrapper #line-top #uiologo {
  width: auto;
  display: block;
  float: none;
  height: 19px;
  font-size: 0.1em;
  padding-left: 0px;
  padding-right: 0px;
}

#app-head-wrapper #line-top #uiologo a, #app-head-wrapper #line-top #uiologo a:hover {
  background: url("images/uio-small-black-responsive.png") no-repeat scroll 0 0;
    background-size: 90%;
}

#app-head-wrapper #line-top #uiologo.english-uiologo a, #app-head-wrapper #line-top #uiologo.english-uiologo a:hover {
  background-image: none;
  background: url("images/uio-small-black-en-responsive.png") no-repeat scroll 0 0;
  background-size: 85%;
}

#app-head form.app-form {
  display: none;
}

/* Head menu */
#app-head-wrapper #responsive-menu {
    background: url(images/uio-app-menu-responsive.png) no-repeat scroll 0 0 transparent;
    display: block;
    position: absolute;
    top: -3px;
    right: 0;
    height: 32px;
    width: 32px;
    margin-right: 18px;
    text-indent: -9999px;
}

#app-head-wrapper #head-login {
    font-size: 0.80em;
    top: 38px;
    right: 15px !important;
    z-index: 0;
}

#app-head-wrapper #head-login.multiple-links {
    right: 0 !important;
    border-color: #414141;
    display: none;
    background-color: #272727;
    width: 100%;
    height: auto;
    z-index: 1;
}

#app-head-wrapper #head-login ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#app-head #head-login.multiple-links ul li {
    background-image: none;
    border-top: 1px solid #414141;
    color: #eeeeee;
    display: block;
    list-style: none;
    margin: 0;
    padding-left: 0;
    width: auto;
}

#app-head-wrapper #head-login ul #user-fullname, 
#app-head-wrapper #head-login ul #login-out-link {
    top: 0;
}

#app-head #head-login.multiple-links ul li#user-fullname, #app-head #head-login ul li#user-fullname {
  display: none;
}

.no-touch #app-head #head-login.multiple-links ul li:hover,
.no-touch #app-head #head-login.multiple-links ul li:first-child:hover  {
    background-color: #5d5d5c;
}

#app-head #head-login.multiple-links ul li:first-child {
    border-top: none;
}

#app-head-wrapper #head-login.multiple-links a,
#app-head-wrapper #head-login.multiple-links #login-out-link a {
    color: #ffffff;
    display: block;
    padding: 0.7em 1.3em 0.7em 0.7em;
    outline: none;
}

.app-fluid #app-head-wrapper #head-menu,
.app-fluid-responsive #app-head-wrapper #head-menu,
#app-head-wrapper #head-menu {
  font-size: 0.7em;
  right: 0;
  top: 0;
  float: right;
  margin-right: 10px;
} 

#app-head-wrapper #head-menu #language-select {
  background: url(images/uio-app-dropdown-toggle.png) no-repeat scroll top right transparent;
  color: #ffffff;
  display: inline-block;
  float: right;
  position: relative;
  bottom: 40px;
  margin-right: 10px;
  left: 10px;
  font-size: 0.9em;
  padding: 1px 20px 0 0;
  font-weight: normal;
}

#app-head-wrapper #head-menu #language-select,
#app-head-wrapper #head-menu #language-select:hover {
  text-decoration: none;
}

#app-head-wrapper #head-menu ul {
  background: #ffffff;
  display: none;
  float: none;
  font-weight: normal;
  border: 1px solid #cfcfcf;
  position: relative;
  bottom: 15px;
  z-index: 1;
}

#app-head-wrapper #head-menu ul li {
  display: block;
  font-size: 1.1em;
  margin: 0;
  position: relative;
  bottom: 10px;
  padding: 5px 10px;
}

#app-head-wrapper #head-menu ul li:first-child {
  padding-top: 18px;
}

#app-head-wrapper #head-menu ul li:last-child {
  padding-bottom: 0;
}

#app-head-wrapper #head-menu ul li a {
  color: #0b5a9d;
}
/* ^Head menu */

/* App-name */
#app-head #app-name {
  font-size: 1.5em;
  position: relative;
  top: 0;
  margin: 15px 0;
  left: 0;
  padding-left: 15px;
  padding-right: 15px;
}

#app-head #app-name span#tagline {
  color: #000;
  font-size: 0.51em;
  margin-top: 10px;
  line-height: 1.2em;
  display: block;
}
/* ^App-name */

/* Footer */
#app-footer div span, #app-footer span.vrtx-label {
  color: #2b2b2b;
}

#app-footer div span a {
  color: #0b5a9d !important;
  line-height: 1.5em;
}

#app-footer #contact-info,
#app-footer #app-responsible {
  font-size: 100%;
  line-height: 1.2em;
}

#app-footer div.phone-fax-email {
    padding: 0 0 10px 0;
}

#app-footer {
  font: normal 0.85em/1.25em Arial, sans-serif;
}

@media screen and (max-width: 15.5cm) and (orientation: portrait),
                screen and (max-width: 17.5cm) and (orientation: landscape) {
  #app-footer #app-responsible {
    padding-top: 90px;
    margin-bottom: -70px;
  }
  #app-footer #contact-info {
        margin-bottom: 0;
  }
}
/* ^Footer */
