/*
Theme Name: IAH - Group Site
Author: Alberon Ltd
Author URI: http://www.alberon.co.uk/
Version: 1.0
*/

/*==============================================================================
 Base styles: opinionated defaults
==============================================================================*/
html,
body {
    /*height: 100%;*/
}

html,
button,
input,
select,
textarea {
    color: #546263;
}

body {
    font-size: 13px;
    line-height: 1.4;
}

::-moz-selection {
    background: #d5e3e7;
    text-shadow: none;
}

::selection {
    background: #edf2f4;
    text-shadow: none;
}

.mobile {
    display: block;
}

.screen {
    display: none;
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .mobile {
        display: none;
    }

    .screen {
        display: block;
    }
}

/*==============================================================================
 Formatting
==============================================================================*/

ul, ol {
    padding: 0 0 0 1.2em;
}

li {
    padding: 0.3em 0 0.3em 0.3em;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #dfe9ec;
    margin: 1em 0;
    padding: 0;
}

a {
    color: #28a4bf;
    text-decoration: none;
}

a:hover {
    color: #28a4bf;
    text-decoration: underline;
}

.red a,
.red a:hover {
    color: #d65247;
}

.yellow a,
.yellow a:hover {
    color: #ab7336;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

h1 {
    color: #28a4bf;
    font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
    font-size: 25px;
    margin: 0 0 0.7em 0;
    line-height: 1.1;
}

.top-banner {
    margin: 0.5em 0 2em 0;
}

.top-banner h1 {
    background: #28a4bf;
    color: #fff;
    margin: 0;
    padding: 0.3em 0.35em 0.35em 0.35em;
}

.red .top-banner h1 {
    background: #d65247;
    color: #fff;
}

.yellow .top-banner h1 {
    background: #ab7336;
    color: #fff;
}

.top-banner img {
    height: auto;
    max-width: 100%;
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    h1 {
        font-size: 30px;
    }
}

h2 {
    color: #28a4bf;
    font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
    font-size: 22px;
    margin: 0.5em 0 0;
    line-height: 1.1;
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    h2 {
        font-size: 27px;
    }
}

h3 {
    color: #28a4bf;
    font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: normal;
    margin: 1em 0 0;
    line-height: 1.1;
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    h3 {
        font-size: 27px;
    }
}

.red h1,
.red h2,
.red h3 {
    color: #d65247;
}

.yellow h1,
.yellow h2,
.yellow h3 {
    color: #ab7336;
}

h4 {
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    margin: 1em 0 0;
    font-weight: normal;
}

h5 {
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin: 1em 0 0;
    font-weight: bold;
}

a.button {
    background-color: #edf2f4;
    padding: 0.32em 1em;
    text-decoration: none;
    display: inline-block;
    font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

/* Images */
/* Note: These styles also appear in the WYSIWYG editor, so don't delete them, but you can modify them to override it */
.wp-caption {
    background-color: #e3f3f7; /*light blue*/
    border: 1px solid #93d1df; /*mid blue*/
    -webkit-border-radius: 0;
    border-radius: 0;
    margin: 10px 0;
    padding-top: 4px;
    text-align: center;
    max-width: 100%;
    width: auto !important; /* Override [image size] + 10px that's hard-coded into WordPress */
}

.red .wp-caption {
    background-color: #faedec;
    border-color: #eeb4af;
}

.yellow .wp-caption {
    background-color: #f7f4f0;
    border-color: #d5b99b;
}

.sidebar-widget .widget-title {
    background-color: #
    color: #000;
    font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    padding: 0.6em;
    text-transform: uppercase;
}

.wp-caption img {
    display: inline-block;
    border: 0 none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0 5px;
    padding: 0;
    -webkit-user-drag: none;
}

.wp-caption-dd,
.wp-caption-text {
    font-size: 13px;
    font-style: italic;
    line-height: 17px;
    padding: 5px 4px;
    margin: 0;
}

.aligncenter,
dl.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Keep these two below .wp-caption so the margin takes precedence */
.alignleft {
    float: left;
    margin: 0 2em 2em 0;
}

.alignright {
    float: right;
    margin: 0 0 2em 2em;
}

/* Make embedded images responsive */
img.alignleft,
img.alignright,
img.aligncenter {
    height: auto;
    max-width: 100%;
}

.mceIEcenter {
    text-align: center;
}

/*==============================================================================
 Body
==============================================================================*/
body {
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #edf2f4;
}

.container {
    /*min-height: 100%;*/
    /*position: relative;*/
}

.wrapper {
    /*min-height: 100%;*/
    max-width: 1000px;
    /*height: auto;*/
    margin: 0.3em auto;
    padding: 0;
    background-color: #fff;
    /*width: 95%;*/
}

/*==============================================================================
 Header
==============================================================================*/
.header {
    width: 100%;
    margin: 0;
    text-align: left;
    position: relative;
    background-color: #fff;
}

.header-left {
    width: 63%; /*69%;*/
    padding: 4% 0 0 4%;
    float: left;
}

/* Mobile landscape */
@media only screen and (min-width: 480px) {
    .header-left {
        padding: 3% 0 0 3%;
    }
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .header-left {
        width: 58%;
    }
}

/* Tablet portrait */
@media only screen and (min-width: 712px) {
    .header-logo-banner .header-left,
    .header-title-banner .header-left {
        width: 100%;
        padding: 0;
    }

    .header-logo-only .header-left {
        padding: 2% 0 0 2.5%;
    }
}

.chapter-logo,
.header-image {
    float: left;
    position: relative;
}

.chapter-logo {
    width: 100%;
}

/* Tablet portrait */
@media only screen and (min-width: 712px) {
    .chapter-logo {
        width: 22%;
        padding: 2% 0 2% 3%;
    }

    .header-logo-only .chapter-logo,
    .header-title-only .chapter-logo {
        padding: 0;
        width: 97%;
    }
}

.chapter-logo a,
.chapter-logo a:hover {
    color: #000;
    underline: none;
    display: block;
}

.header-logo-banner .chapter-logo img {
    width: 100%;
    max-width: 220px;
    height: auto;
}

/* Mobile landscape */
@media only screen and (max-width: 480px) {
    .header-logo-only .chapter-logo img {
        width: 100%;
        max-width: 220px;
        height: auto;
    }
}

.header-logo-only .chapter-logo img.long-image {
    padding: 5% 0 0;
}

/* Mobile landscape */
@media only screen and (min-width: 480px) {
    .header-logo-only .chapter-logo img.long-image {
        padding: 3% 0 0;
    }
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .header-logo-only .chapter-logo img.long-image {
        padding: 2% 0 0;
    }
}

/* Tablet landscape */
@media only screen and (min-width: 910px) {
    .header-logo-only .chapter-logo img.long-image {
        padding: 0;
    }
}

/* Tablet landscape */
@media only screen and (max-width: 910px) {
    .header-logo-only .chapter-logo img.long-image {
        width: 100%;
        max-width: 480px;
        height: auto;
    }
}

.chapter-logo .website-title {
    float: left;
    font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
    color: #000;
    font-size: 21px;
    letter-spacing: -0.5px;
    line-height: 1.1;
    width: 100%;
    max-width: 220px;
}

.header-title-only .chapter-logo .website-title {
    max-width: 100%;
}

.chapter-logo .website-title .line1,
.chapter-logo .website-title .line2 {
    display: block;
}

/* Mobile landscape */
@media only screen and (min-width: 480px) {
    .chapter-logo .website-title {
        font-size: 27px;
    }
}

/*Tablet portrait
@media only screen and (min-width: 712px) {
    .header-title-banner .chapter-logo .website-title {
        font-size: 23px;
    }
}*/
/*Desktop*/
@media only screen and (min-width: 1024px) {
    .header-title-banner .chapter-logo .website-title {
        font-size: 30px;
    }
}

.header-image {
    display: none;
}

/* Tablet portrait */
@media only screen and (min-width: 712px) {
    .header-image {
        display: block;
        width: 46%;
    }
}

/*Desktop*/
@media only screen and (min-width: 1024px) {
    .header-image {
        width: 56%;
    }
}

.header-image .corners {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.header-image img {
    width: 122%;
    max-width: 553px;
    height: auto;
}

/*Desktop*/
@media only screen and (min-width: 1024px) {
    .header-image img {
        width: 100%;
    }
}

.iah-logo {
    float: right;
    padding: 0;
    position: relative;
    top: 0;
    bottom: 0;
    right: 0;
    width: 33%;
    max-width: 257px;
    height: auto;
}

/* Mobile landscape */
@media only screen and (min-width: 480px) {
    .iah-logo {
        width: 26%;
    }
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .iah-logo {
        width: 39%;
    }
}

/* Tablet portrait */
@media only screen and (min-width: 712px) {
    .header-logo-banner .iah-logo,
    .header-title-banner .iah-logo {
        width: 26.025%;
        position: absolute;
    }
}

.iah-logo a {
    float: right;
}

.iah-logo img.screen {
    width: 100%;
    max-width: 257px;
    height: auto;
    padding: 0;
}

.iah-logo img.mobile {
    width: 100%;
    max-width: 145px;
    height: auto;
    padding: 0;
}

/*==============================================================================
 Navigation
==============================================================================*/

.menu-button a {
    background-color: #28a4bf;
    padding: 0.32em 1em;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.red .menu-button a {
    background-color: #d65247;
}

.yellow .menu-button a {
    background-color: #ab7336;
}

.menu-button a img {
    max-width: 8px;
}

.menu-button a:hover {
    background-color: #93d1df;
    color: #fff;
    text-decoration: none;
}

.red .menu-button a:hover {
    background-color: #eeb4af;
}

.yellow .menu-button a:hover {
    background-color: #d5b99b;
}

.top-navigation {
    width: 100%;
    background-color: #28a4bf;
    padding: 0;
    position: relative;
    min-height: 6px;
}

.red .top-navigation {
    background-color: #d65247;
}

.yellow .top-navigation {
    background-color: #ab7336;
}

.top-navigation ul {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #7ec8d9;
}

.red .top-navigation ul {
    background-color: #e39791;
}

.yellow .top-navigation ul {
    background-color: #cdab86;
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .top-navigation > div > ul {
        display: block !important; /* Show even if toggled off in mobile version */
    }

    .top-navigation ul {
        list-style: none;
        padding: 0;
        margin: 0;
        background-color: #28a4bf;
    }

    .red .top-navigation ul {
        background-color: #d65247;
    }

    .yellow .top-navigation ul {
        background-color: #ab7336;
    }
}

/* Tablet portrait */
@media only screen and (min-width: 712px) {
    .top-navigation ul {
        padding: 0 1em;
    }
}

.top-navigation li {
    background-color: #48b2c9;
    /*float: left;*/
    margin: 1px 0 0 1px;
    padding: 0;
    /*width: 33%;*/
}

.red .top-navigation li {
    background-color: #da756c;
}

.yellow .top-navigation li {
    background-color: #bc8f5e;
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .top-navigation li,
    .red .top-navigation li,
    .yellow .top-navigation li {
        background-color: transparent;
        float: left;
        margin: 0;
        padding: 0;
        width: auto;
    }
}

.top-navigation li a {
    font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: #fff;
    padding: 0.4em 0.8em;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .top-navigation li a {
        padding: 0.4em;
    }
}

/* Tablet portrait */
@media only screen and (min-width: 712px) {
    .top-navigation li a {
        padding: 0.6em;
        font-size: 15px;
    }
}

/* Tablet landscape */
@media only screen and (min-width: 910px) {
    .top-navigation li a {
        padding: 0.6em 1em;
        font-size: 16px;
    }
}

.top-navigation li:hover > a,
.top-navigation li a:hover {
    background-color: #93d1df;
    color: #28a4bf;
}

.red .top-navigation li:hover > a,
.red .top-navigation li a:hover {
    background-color: #eeb4af;
    color: #d65247;
}

.yellow .top-navigation li:hover > a,
.yellow .top-navigation li a:hover {
    background-color: #d5b99b;
    color: #ab7336;
}

/*--------------------------------------
 Dropdowns
--------------------------------------*/

.top-navigation ul.sub-menu {
    padding: 1px 0.8em;
    z-index: 2;
}

.top-navigation ul.sub-menu li {
    /*background-color: #7ec8d9;*/
    border-left: 2px solid #28a4bf;
}

.red .top-navigation ul.sub-menu li {
    /*background-color: #e39791;*/
    border-color: #d65247;
}

.yellow .top-navigation ul.sub-menu li {
    /*background-color: #cdab86;*/
    border-color: #ab7336;
}

.top-navigation ul.sub-menu li a {
    font-weight: 400;
    text-transform: none;
}

@media only screen and (max-width: 598px) {
    .top-navigation ul.sub-menu {
        /* Override JS from tablet/desktop version */
        display: block !important;
    }
}

@media only screen and (min-width: 600px) {
    .top-navigation ul.sub-menu {
        display: none; /*!important;*/
        padding: 0;
        position: absolute;
    }

    /* .no-touch disables tap-to-hover on iPad, else it triggers both the JS and CSS at once */
    .no-touch .top-navigation li:hover ul.sub-menu {
        display: block !important;
    }

    .top-navigation ul.sub-menu li {
        float: none;
        border-left: none;
    }
}

/*==============================================================================
 Slideshow
==============================================================================*/

/*--------------------------------------
 Container
--------------------------------------*/

.slideshow-above-content {
    padding: 0 0 0.8em 0;
}

.slideshow-top-full-width {
    padding: 0.8em 0.8em 0 0.8em;
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .slideshow-above-content {
        padding-bottom: 3%;
    }

    .slideshow-top-full-width {
        padding: 3% 3% 0 3%;
    }
}

/*--------------------------------------
 Background
--------------------------------------*/

.slideshow-background {
    /* This is to ensure it looks reasonable when images are still loading or haven't been resized correctly */
    background: #e3f3f7;
}

.red .slideshow-background {
    /* This is to ensure it looks reasonable when images are still loading or haven't been resized correctly */
    background: #faedec;
}

.yellow .slideshow-background {
    /* This is to ensure it looks reasonable when images are still loading or haven't been resized correctly */
    background: #faedec;
}

/*--------------------------------------
 Slide
--------------------------------------*/

.slideshow-slide {
    display: none;
    position: relative;
}

.bx-wrapper .slideshow-slide {
    /* This border is to hide the bxSlider width rounding error at certain
       screen sizes - so you don't see 1px of the next image */
    border-right: 1px solid #fff;
}

.slideshow-slide:first-child {
    display: block;
}

/*--------------------------------------
 Image
--------------------------------------*/

.slideshow-image img {
    height: auto;
    max-width: 100%;
}

/*--------------------------------------
 Caption
--------------------------------------*/

.slideshow-caption {
    background: #e3f3f7;
    background: rgba(227, 243, 247, 0.75);
    bottom: 0;
    color: #000;
    font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    left: 0;
    line-height: 1;
    padding: 0.6em 68px 0.6em 0.6em;
    position: absolute;
    right: 0;
}

/* Mobile landscape */
@media only screen and (min-width: 480px) {
    .slideshow-caption {
        font-size: 16px;
    }
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .slideshow-caption {
        font-size: 18px;
    }
}

.red .slideshow-caption {
    background: #faedec;
    background: rgba(250, 237, 236, 0.75);
}

.yellow .slideshow-caption {
    background: #f7f4f0;
    background: rgba(247, 244, 240, 0.75);
}

/*--------------------------------------
 Arrows
--------------------------------------*/

.slideshow .bx-wrapper {
    position: relative;
}

.slideshow .bx-prev,
.slideshow .bx-next {
    background: #fff;
    bottom: 8px;
    color: #28a4bf;
    font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
    font-size: 18px;
    height: 24px;
    position: absolute;
    text-align: center;
    width: 24px;
}

.slideshow .bx-prev {
    right: 33px;
    /* Adjust the text position slightly as it's off-centre: */
    padding-right: 1px;
    width: 23px;
}

.slideshow .bx-next {
    right: 8px;
}

.red .slideshow .bx-prev,
.red .slideshow .bx-next {
    color: #d65247;
}

.yellow .slideshow .bx-prev,
.yellow .slideshow .bx-next {
    color: #ab7336;
}

.slideshow .bx-prev:hover,
.slideshow .bx-next:hover {
    color: #000;
    text-decoration: none;
}

/*==============================================================================
 Content
==============================================================================*/

.content {
    padding: 0.8em;
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .content {
        padding: 3%;
    }
}

/* Sidebar on the left */
.content .content-body {
    width: 100%;
    padding: 1em 0;
    float: none;
    display: block;
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .content .content-body {
        width: 71%;
        float: right;
        padding: 0 0 3%;
    }
}

.content .sidebar {
    width: 100%;
    padding: 1em 0;
    float: none;
    display: block;
}

/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .content .sidebar {
        width: 25%;
        padding: 0.5em 0 3%;
        float: left;
    }
}

/* Sidebar on the right - class "right-sidebar" is in "content" */
/* Small tablet landscape */
@media only screen and (min-width: 600px) {
    .right-sidebar .content .content-body {
        float: left;
    }

    .right-sidebar .content .sidebar {
        float: right;
    }
}

/* No Sidebar - class "no-sidebar" is in "content" */

.no-sidebar .content .content-body {
    float: none;
    width: 100%;
}

.no-sidebar .content .sidebar {
    display: none;
}

.back-to-top {
    clear: both;
}

/*==============================================================================
 Widgets
==============================================================================*/

.sidebar-widget {
    background-color: #e3f3f7; /*light blue*/
    margin-bottom: 2em;
}

.red .sidebar-widget {
    background-color: #faedec;
}

.yellow .sidebar-widget {
    background-color: #f7f4f0;
}

.sidebar-widget .widget-title {
    background-color: #93d1df; /*mid blue*/
    color: #000;
    font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    padding: 0.6em;
    text-transform: uppercase;
}

.sidebar-widget .widget-title-link {
    padding: 0;
}

.sidebar-widget .widget-title-link a {
    display: block;
    color: #000;
    padding: 0.6em;
}

.red .sidebar-widget .widget-title {
    background-color: #eeb4af;
}

.yellow .sidebar-widget .widget-title {
    background-color: #d5b99b;
}

.sidebar-widget .widget-image img {
    height: auto;
    width: 100%;
}

.sidebar-widget .widget-content {
    padding: 0.8em;
}

.sidebar-widget .widget-content p {
    margin: 0.5em 0;
}

/*==============================================================================
 Footer
==============================================================================*/

.footer {
    background-color: #edf2f4;
    padding: 3%;
}

.footer-left {
    margin-bottom: 1em;
}

.footer-right {
    /*padding: 1em 0;*/
}

.footer-right a {
    float: left;
    font-size: 12px;
    line-height: 1.2;
    margin: 0 10px 10px 0;
}

.footer-right img {
    float: left;
}

.footer-right span {
    float: left;
    margin: -2px 0 0 10px;
    width: 79px;
}

@media only screen and (min-width: 840px) {
    .footer-left {
        float: left;
    }

    .footer-right {
        float: right;
        margin-left: 15px;
    }
}

/*==============================================================================
 Helper classes
==============================================================================*/

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.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;
}


@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/*==============================================================================
 Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
==============================================================================*/

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

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

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/*==============================================================================
Language selectors
==============================================================================*/

.ml-lang-selector {
    display: inline-block;
    float: right;
    padding: 3px 5px;
    text-align: right;
}

@media only screen and (min-width: 768px) {
    .ml-lang-selector {
        padding: 10px;
    }
}

.ml-toggle {
    cursor: pointer;
}

.top-navigation .ml-lang-list {
    padding: 0;
    position: absolute;
    right: 0;
    text-align: left;
    top: 100%;
    z-index: 10;
}

.top-navigation > div > ul.ml-show-list {
    display: block !important;
}

.top-navigation .ml-lang-option {
    border-top: 1px solid #fff;
    display: block;
    float: none;
}

.ml-lang-option a {
    text-transform: none;
}

.ml-flag {
    margin-right: 10px;
}
