
/**
Make the container wider
 */
.md-grid {
    max-width: 73rem;
}
@media only screen and (min-width: 76.25em) {
    .md-sidebar--secondary {
        margin-left: 73rem;
    }
}


@font-face {
  font-family: sawarabi-gothic-regular;
  src: url("../fonts/SawarabiGothic-Regular.ttf");
}

body, input {
  font-family: sawarabi-gothic-regular, serif
}


/* Footer underneath the text "Copyright © 2018 GPayments Pty Ltd. All rights reserved." */
.md-footer-meta {
    background-color: black !important;
    padding-bottom: 5px;
}

/* Custom styles to override MkDocs defaults and enhance theme */

/* Unordered list <ul> symbols:
 * - level 2 is hollow circle
 * - level 3 is filled square
 * - ul default is filled disc (bullet)
 */
article ul ul {
    list-style-type: circle !important;
}

article ul ul ul {
    list-style-type: square !important;
}

.mdc-select {
    height: 100% !important;
    margin-top: 8px;
    margin-right: 10px;
}

.mdc-select__native-control, .mdc-select__selected-text {
    height: 38px !important;
}

.mdc-select.mdc-select--outlined .mdc-floating-label {
    top: 8px !important;
}

.mdc-select:not(.mdc-select--disabled) .mdc-select__native-control, .mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text {
    color: white;
}

.mdc-select:not(.mdc-select--disabled) .mdc-floating-label {
    color: white !important;
    font-size: 15px;
}

.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch {
    border-color: white !important;
}

.mdc-select:not(.mdc-select--disabled) .mdc-select__native-control, .mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text {
    border-color: white !important;
}

.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading {
    border-color: white !important;
}

.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__leading, .mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__notch, .mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__trailing {
    border-color: white !important;
}

.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading, .mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch, .mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing {
    border-color: white !important;
}

.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-line-ripple {
    background-color: white !important;
}

.mdc-select--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-select--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
    font-size: 15px !important;
    margin-top: 15px;
}

.mdc-menu .mdc-list-item {
    font-size: 18px !important;
}

.mdc-select:not(.mdc-select--disabled) .mdc-select__native-control, .mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text {
    font-size: 15px !important;
    color: white !important;
    transform: translate(0, -10px);
}

@media only screen and (max-width: 900px) {
    .version-select {
        display: none !important;
    }

    .language-select {
        display: none !important;
    }
}

@media only screen and (min-width: 900px) {
  .language-nav {
    display: none !important;
  }

  .version-nav {
    display: none !important;
  }
}

/*pdf*/

/* pdf watermark */
@media print {
    /*This is a known issue for WeasyPrint where table gets cut off in the first page*/
    .md-typeset table:not([class]) {
        display: block;
        border: none;
    }

    /*Fix formatting issues with the table*/
    table {
        table-layout: fixed;
        width: 100%;
    }

    td {
        word-break: break-word;
        white-space: pre-line;
    }
}

@page {
    size: a4 portrait;
    margin: 25mm 10mm 15mm 10mm;
    counter-increment: page;
    counter-reset: none;
  font-family: sawarabi-gothic-regular, "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    white-space: pre;
    color: grey;

    @bottom-left {
        /*\00A9 is the copyright mark*/
        content: 'Copyright \00A9 2019 GPayments Pty Ltd. All rights reserved.';
        font-size: 8px;
    };
    /*NOTE: Injected by gulpfile*/
    @bottom-center {
      content: 'ActiveServer Version: V1.0.5 | ドキュメント Ver: V1.0.5:2';
        font-size: 8px;
    }
  /*@bottom-right {*/
  /*    content: 'Page ' counter(page);*/
  /*    font-size: 8px;*/
  /*}*/
    /*@top-left {*/
    /*    content: url("../images/logo-with-text-small.png");*/
    /*}*/
    @top-right {
        content: string(chapter);
        font-size: 10px;
    }
}

@page horizontal {
    size: A4 landscape;
    font-size: 1vw;
    margin: 25mm 10mm 15mm 10mm;
    counter-increment: page;
    counter-reset: none;
  font-family: sawarabi-gothic-regular, "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    white-space: pre;
    color: grey;

    @bottom-left {
        /*\00A9 is the copyright mark*/
        content: 'Copyright \00A9 2019 GPayments Pty Ltd. All rights reserved.';
        font-size: 8px;
    };
    /*NOTE: Injected by gulpfile*/
    @bottom-center {
      content: 'ActiveServer バージョン: V1.0.5 | ドキュメント バージョン: V1.0.5:2';
        font-size: 8px;
    }
  /*@bottom-right {*/
  /*    content: 'Page ' counter(page);*/
  /*    font-size: 8px;*/
  /*}*/
    /*@top-left {*/
    /*    content: url("../images/logo-with-text-small.png");*/
    /*}*/
    @top-right {
        content: string(chapter);
        font-size: 10px;
    }
}

.pdf-landscape {
    page: horizontal;
}
