﻿@charset "UTF-8";
/*
  GS Toolkit Components:
  Import the building blocks you need for your project.
  Reducing the number of imported components will optimize page speed.
  ---------------------------------------------------------------------
  The GS Toolkit is built by Graphically Speaking
*/
/*
  Resets
  ----------------------------------
*/
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
/* Document
       ========================================================================== */
/**
     * 1. Change the default font family in all browsers (opinionated).
     * 2. Correct the line height in all browsers.
     * 3. Prevent adjustments of font size after orientation changes in
     *    IE on Windows Phone and in iOS.
     */
html {
    font-family: sans-serif;
    /* 1 */
    line-height: 1.15;
    /* 2 */
    -ms-text-size-adjust: 100%;
    /* 3 */
    -webkit-text-size-adjust: 100%;
    /* 3 */
}

/* Sections
       ========================================================================== */
/**
     * Remove the margin in all browsers (opinionated).
     */
body {
    margin: 0;
}

/**
     * Add the correct display in IE 9-.
     */
article,
aside,
footer,
header,
nav,
section {
    display: block;
}

/**
     * Correct the font size and margin on `h1` elements within `section` and
     * `article` contexts in Chrome, Firefox, and Safari.
     */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
       ========================================================================== */
/**
     * Add the correct display in IE 9-.
     */
figcaption,
figure {
    display: block;
}

/**
     * Add the correct margin in IE 8.
     */
figure {
    margin: 1em 40px;
}

/**
     * 1. Add the correct box sizing in Firefox.
     * 2. Show the overflow in Edge and IE.
     */
hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
     * Add the correct display in IE.
     */
main {
    display: block;
}

/**
     * 1. Correct the inheritance and scaling of font size in all browsers.
     * 2. Correct the odd `em` font sizing in all browsers.
     */
pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Links
       ========================================================================== */
/**
     * 1. Remove the gray background on active links in IE 10.
     * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
     */
a {
    background-color: transparent;
    /* 1 */
    -webkit-text-decoration-skip: objects;
    /* 2 */
}

    /**
     * Remove the outline on focused links when they are also active or hovered
     * in all browsers (opinionated).
     */
    a:active,
    a:hover {
        outline-width: 0;
    }

/* Text-level semantics
       ========================================================================== */
/**
     * 1. Remove the bottom border in Firefox 39-.
     * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
     */
abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}

/**
     * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
     */
b,
strong {
    font-weight: inherit;
}

/**
     * Add the correct font weight in Chrome, Edge, and Safari.
     */
b,
strong {
    font-weight: bolder;
}

/**
     * 1. Correct the inheritance and scaling of font size in all browsers.
     * 2. Correct the odd `em` font sizing in all browsers.
     */
code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
     * Add the correct font style in Android 4.3-.
     */
dfn {
    font-style: italic;
}

/**
     * Add the correct background and color in IE 9-.
     */
mark {
    background-color: #ff0;
    color: #000;
}

/**
     * Add the correct font size in all browsers.
     */
small {
    font-size: 80%;
}

/**
     * Prevent `sub` and `sup` elements from affecting the line height in
     * all browsers.
     */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
       ========================================================================== */
/**
     * Add the correct display in IE 9-.
     */
audio,
video {
    display: inline-block;
}

    /**
     * Add the correct display in iOS 4-7.
     */
    audio:not([controls]) {
        display: none;
        height: 0;
    }

/**
     * Remove the border on images inside links in IE 10-.
     */
img {
    border-style: none;
}

/**
     * Hide the overflow in IE.
     */
svg:not(:root) {
    overflow: hidden;
}

/* Forms
       ========================================================================== */
/**
     * 1. Change the font styles in all browsers (opinionated).
     * 2. Remove the margin in Firefox and Safari.
     */
button,
input,
optgroup,
select,
textarea {
    font-family: sans-serif;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
     * Show the overflow in IE.
     */
button {
    overflow: visible;
}

/**
     * Remove the inheritance of text transform in Edge, Firefox, and IE.
     * 1. Remove the inheritance of text transform in Firefox.
     */
button,
select {
    /* 1 */
    text-transform: none;
}

/**
     * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
     *    controls in Android 4.
     * 2. Correct the inability to style clickable types in iOS and Safari.
     */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    /**
       * Remove the inner border and padding in Firefox.
       */
    /**
       * Restore the focus styles unset by the previous rule.
       */
}

    button::-moz-focus-inner,
    [type="button"]::-moz-focus-inner,
    [type="reset"]::-moz-focus-inner,
    [type="submit"]::-moz-focus-inner {
        border-style: none;
        padding: 0;
    }

    button:-moz-focusring,
    [type="button"]:-moz-focusring,
    [type="reset"]:-moz-focusring,
    [type="submit"]:-moz-focusring {
        outline: 1px dotted ButtonText;
    }

/**
     * Show the overflow in Edge.
     */
input {
    overflow: visible;
}

/**
     * 1. Add the correct box sizing in IE 10-.
     * 2. Remove the padding in IE 10-.
     */
[type="checkbox"],
[type="radio"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
     * Correct the cursor style of increment and decrement buttons in Chrome.
     */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
     * 1. Correct the odd appearance in Chrome and Safari.
     * 2. Correct the outline style in Safari.
     */
[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
    /**
       * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
       */
}

    [type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration {
        -webkit-appearance: none;
    }

/**
     * 1. Correct the inability to style clickable types in iOS and Safari.
     * 2. Change font properties to `inherit` in Safari.
     */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/**
     * Change the border, margin, and padding in all browsers (opinionated).
     */
fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
     * 1. Correct the text wrapping in Edge and IE.
     * 2. Correct the color inheritance from `fieldset` elements in IE.
     * 3. Remove the padding so developers are not caught out when they zero out
     *    `fieldset` elements in all browsers.
     */
legend {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /* 1 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    color: inherit;
    /* 2 */
    white-space: normal;
    /* 1 */
}

/**
     * 1. Add the correct display in IE 9-.
     * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
     */
progress {
    display: inline-block;
    /* 1 */
    vertical-align: baseline;
    /* 2 */
}

/**
     * Remove the default vertical scrollbar in IE.
     */
textarea {
    overflow: auto;
}

/* Interactive
       ========================================================================== */
/*
     * Add the correct display in Edge, IE, and Firefox.
     */
details {
    display: block;
}

/*
     * Add the correct display in all browsers.
     */
summary {
    display: list-item;
}

/*
     * Add the correct display in IE 9-.
     */
menu {
    display: block;
}

/* Scripting
       ========================================================================== */
/**
     * Add the correct display in IE 9-.
     */
canvas {
    display: inline-block;
}

/**
     * Add the correct display in IE.
     */
template {
    display: none;
}

/* Hidden
       ========================================================================== */
/**
     * Add the correct display in IE 10-.
     */
[hidden] {
    display: none;
}

/*
  Settings
  ----------------------------------
*/
button, input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #1565c0;
    border: 0;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
    -webkit-font-smoothing: antialiased;
    font-weight: 600;
    line-height: 1;
    padding: 0.875em 1.75em;
    text-align: center;
    text-decoration: none;
    -webkit-transition: background-color 150ms ease;
    transition: background-color 150ms ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}

    button:hover, button:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="reset"]:hover, input[type="reset"]:focus, input[type="submit"]:hover, input[type="submit"]:focus {
        background-color: #11519a;
        color: #fff;
    }

    button:disabled, input[type="button"]:disabled, input[type="reset"]:disabled, input[type="submit"]:disabled {
        cursor: not-allowed;
        opacity: 0.5;
    }

        button:disabled:hover, input[type="button"]:disabled:hover, input[type="reset"]:disabled:hover, input[type="submit"]:disabled:hover {
            background-color: #1565c0;
        }

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
/*
  Standard Button
-------------------------------*/
.gsbutton,
.social-button a,
.sfLeaveCommentLnk,
.sfcommentsSubmitBtn,
.sfFormSubmit > input[type="submit"],
.sfnewsFullStory,
.sfSubmitBtn,
.subformWrap > input[type="submit"],
.desktop-search,
.sfprofileSaveLnk,
input.sfnewsletterSubmitBtn,
input.sfnewsletterSubmitBtn:visited,
.sfprofileSaveLnk:visited,
.gsbutton:visited,
.social-button a:visited,
.sfLeaveCommentLnk:visited,
.sfcommentsSubmitBtn:visited,
.sfFormSubmit > input[type="submit"]:visited,
.sfnewsFullStory:visited,
.sfSubmitBtn:visited,
.subformWrap > input[type="submit"]:visited, .desktop-search:visited {
    margin-top: 10px;
    display: inline-block;
    color: #fff;
    padding: 10px 12px 10px 30px;
    line-height: 1;
    margin-right: 16px;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    background-image: url(../img/i-right.png);
    background-repeat: no-repeat;
    -webkit-background-size: 14px 14px;
    background-size: 14px;
    background-position: 12px center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -webkit-transition: 0.2s all ease-out;
    transition: 0.2s all ease-out;
}

@media only screen and (min-width: 768px) {
    .gsbutton,
    .social-button a,
    .sfLeaveCommentLnk,
    .sfcommentsSubmitBtn,
    .sfFormSubmit > input[type="submit"],
    .sfnewsFullStory,
    .sfSubmitBtn,
    .subformWrap > input[type="submit"],
    .desktop-search,
    .sfprofileSaveLnk,
    input.sfnewsletterSubmitBtn,
    input.sfnewsletterSubmitBtn:visited,
    .sfprofileSaveLnk:visited,
    .gsbutton:visited,
    .social-button a:visited,
    .sfLeaveCommentLnk:visited,
    .sfcommentsSubmitBtn:visited,
    .sfFormSubmit > input[type="submit"]:visited,
    .sfnewsFullStory:visited,
    .sfSubmitBtn:visited,
    .subformWrap > input[type="submit"]:visited, .desktop-search:visited {
        font-size: 16px;
    }
}

.page-break-prev {
    padding: 1rem;
    background-color:red;
}


/* NAV LINKS HOVER */
.sfNavList a[href="/cj"]:hover{
    background-color: #17467c;
}

.sfNavList a[href="/kb"]:hover{
    background-color: #6e0a00;
}

.sfNavList a[href="/ca"]:hover{
    background-color: #ad9768;
}

/* FURTHER DETAILS TEXTAREA */
textarea[data-sf-role="paragraph-text-field-textarea"]{
    width: 100%;
    height: 150px;
}


/* ERROR MESSAGES */
p[data-sf-role="error-message"] {
  color: red;
  font-weight: bold;
  margin-bottom: 2rem;
}

p[data-sf-role="error-message"]:empty {
    display: none;
    margin: 0;
    height: 0;
}

/* FORMS BUTTONS FOR ALL COURTS */

.page-template-queens-bench .gsbutton, .page-template-queens-bench
.social-button a, .page-template-queens-bench
.sfLeaveCommentLnk, .page-template-queens-bench
.sfcommentsSubmitBtn, .page-template-queens-bench
.sfFormSubmit > input[type="submit"], .page-template-queens-bench
.sfnewsFullStory, .page-template-queens-bench
.sfSubmitBtn, .page-template-queens-bench
.subformWrap > input[type="submit"], .page-template-queens-bench
.desktop-search, .page-template-queens-bench
.sfprofileSaveLnk, .page-template-queens-bench
input.sfnewsletterSubmitBtn, .page-template-queens-bench
input.sfnewsletterSubmitBtn:visited, .page-template-queens-bench
.sfprofileSaveLnk:visited, .page-template-queens-bench
.gsbutton:visited, .page-template-queens-bench
.social-button a:visited, .page-template-queens-bench
.RadScheduler_Metro .rsHeader, .page-template-queens-bench
.RadScheduler_Metro .rsMonthView .rsSelectedSlot, .page-template-queens-bench
.sfLeaveCommentLnk:visited, .page-template-queens-bench
.sfcommentsSubmitBtn:visited, .page-template-queens-bench
.sfFormSubmit > input[type="submit"]:visited, .page-template-queens-bench
.sfnewsFullStory:visited, .page-template-queens-bench
.sfSubmitBtn:visited, .page-template-queens-bench
.subformWrap > input[type="submit"]:visited, .page-template-queens-bench .desktop-search:visited, .page-template-queens-bench .maincontent button{
    background-color: #6e0a00;
}

.page-template-queens-bench .maincontent a{
    color: #6e0a00;
    /* margin-left: 1.5rem; */
}

.page-template-provincial-court .gsbutton, .page-template-provincial-court
.social-button a, .page-template-provincial-court
.sfLeaveCommentLnk, .page-template-provincial-court
.sfcommentsSubmitBtn, .page-template-provincial-court
.sfFormSubmit > input[type="submit"], .page-template-provincial-court
.sfnewsFullStory, .page-template-provincial-court
.sfSubmitBtn, .page-template-provincial-court
.subformWrap > input[type="submit"], .page-template-provincial-court
.desktop-search, .page-template-provincial-court
.sfprofileSaveLnk, .page-template-provincial-court
input.sfnewsletterSubmitBtn, .page-template-provincial-court
input.sfnewsletterSubmitBtn:visited, .page-template-provincial-court
.sfprofileSaveLnk:visited, .page-template-provincial-court
.gsbutton:visited, .page-template-provincial-court
.social-button a:visited, .page-template-provincial-court
.sfLeaveCommentLnk:visited, .page-template-provincial-court
.sfcommentsSubmitBtn:visited, .page-template-provincial-court
.sfFormSubmit > input[type="submit"]:visited, .page-template-provincial-court
.sfnewsFullStory:visited, .page-template-provincial-court
.sfSubmitBtn:visited, .page-template-provincial-court
.subformWrap > input[type="submit"]:visited, .page-template-provincial-court .desktop-search:visited {
    background-color: #17467c;
}

.page-template-provincial-court .maincontent a{
    color: #17467c;
    /* margin-left: 1.5rem; */
}

.page-template-court-of-appeal .gsbutton, .page-template-court-of-appeal
.social-button a, .page-template-court-of-appeal
.sfLeaveCommentLnk, .page-template-court-of-appeal
.sfcommentsSubmitBtn, .page-template-court-of-appeal
.sfFormSubmit > input[type="submit"], .page-template-court-of-appeal
.sfnewsFullStory, .page-template-court-of-appeal
.sfSubmitBtn, .page-template-court-of-appeal
.subformWrap > input[type="submit"], .page-template-court-of-appeal
.desktop-search, .page-template-court-of-appeal
.sfprofileSaveLnk, .page-template-court-of-appeal
input.sfnewsletterSubmitBtn, .page-template-court-of-appeal
input.sfnewsletterSubmitBtn:visited, .page-template-court-of-appeal
.sfprofileSaveLnk:visited, .page-template-court-of-appeal
.gsbutton:visited, .page-template-court-of-appeal
.social-button a:visited, .page-template-court-of-appeal
.sfLeaveCommentLnk:visited, .page-template-court-of-appeal
.sfcommentsSubmitBtn:visited, .page-template-court-of-appeal
.sfFormSubmit > input[type="submit"]:visited, .page-template-court-of-appeal
.sfnewsFullStory:visited, .page-template-court-of-appeal
.sfSubmitBtn:visited, .page-template-court-of-appeal
.subformWrap > input[type="submit"]:visited, .page-template-court-of-appeal .desktop-search:visited {
    background-color: #ad9768;
}

.page-template-court-of-appeal .maincontent a{
    color: #ad9768;
    /* margin-left: 1.5rem; */
}

.gsbutton:hover,
.social-button a:hover,
.sfLeaveCommentLnk:hover,
.sfcommentsSubmitBtn:hover,
.sfFormSubmit > input[type="submit"]:hover,
.sfnewsFullStory:hover,
.sfSubmitBtn:hover,
.subformWrap > input[type="submit"]:hover,
.desktop-search:hover,
.sfprofileSaveLnk:hover,
input.sfnewsletterSubmitBtn:hover,
input.sfnewsletterSubmitBtn:visited:hover,
.sfprofileSaveLnk:visited:hover,
.gsbutton:visited:hover,
.social-button a:visited:hover,
.sfLeaveCommentLnk:visited:hover,
.sfcommentsSubmitBtn:visited:hover,
.sfFormSubmit > input[type="submit"]:visited:hover,
.sfnewsFullStory:visited:hover,
.sfSubmitBtn:visited:hover,
.subformWrap > input[type="submit"]:visited:hover, .desktop-search:visited:hover {
    text-decoration: none;
}

.page-template-queens-bench .gsbutton:hover, .page-template-queens-bench
.social-button a:hover, .page-template-queens-bench
.sfLeaveCommentLnk:hover, .page-template-queens-bench
.sfcommentsSubmitBtn:hover, .page-template-queens-bench
.sfFormSubmit > input[type="submit"]:hover, .page-template-queens-bench
.sfnewsFullStory:hover, .page-template-queens-bench
.sfSubmitBtn:hover, .page-template-queens-bench
.subformWrap > input[type="submit"]:hover, .page-template-queens-bench
.desktop-search:hover, .page-template-queens-bench
.sfprofileSaveLnk:hover, .page-template-queens-bench
input.sfnewsletterSubmitBtn:hover, .page-template-queens-bench
input.sfnewsletterSubmitBtn:visited:hover, .page-template-queens-bench
.sfprofileSaveLnk:visited:hover, .page-template-queens-bench
.gsbutton:visited:hover, .page-template-queens-bench
.social-button a:visited:hover, .page-template-queens-bench
.sfLeaveCommentLnk:visited:hover, .page-template-queens-bench
.sfcommentsSubmitBtn:visited:hover, .page-template-queens-bench
.sfFormSubmit > input[type="submit"]:visited:hover, .page-template-queens-bench
.sfnewsFullStory:visited:hover, .page-template-queens-bench
.sfSubmitBtn:visited:hover, .page-template-queens-bench
.subformWrap > input[type="submit"]:visited:hover, .page-template-queens-bench .desktop-search:visited:hover {
    background-color: #3b0500;
}

.page-template-provincial-court .gsbutton:hover, .page-template-provincial-court
.social-button a:hover, .page-template-provincial-court
.sfLeaveCommentLnk:hover, .page-template-provincial-court
.sfcommentsSubmitBtn:hover, .page-template-provincial-court
.sfFormSubmit > input[type="submit"]:hover, .page-template-provincial-court
.sfnewsFullStory:hover, .page-template-provincial-court
.sfSubmitBtn:hover, .page-template-provincial-court
.subformWrap > input[type="submit"]:hover, .page-template-provincial-court
.desktop-search:hover, .page-template-provincial-court
.sfprofileSaveLnk:hover, .page-template-provincial-court
input.sfnewsletterSubmitBtn:hover, .page-template-provincial-court
input.sfnewsletterSubmitBtn:visited:hover, .page-template-provincial-court
.sfprofileSaveLnk:visited:hover, .page-template-provincial-court
.gsbutton:visited:hover, .page-template-provincial-court
.social-button a:visited:hover, .page-template-provincial-court
.sfLeaveCommentLnk:visited:hover, .page-template-provincial-court
.sfcommentsSubmitBtn:visited:hover, .page-template-provincial-court
.sfFormSubmit > input[type="submit"]:visited:hover, .page-template-provincial-court
.sfnewsFullStory:visited:hover, .page-template-provincial-court
.sfSubmitBtn:visited:hover, .page-template-provincial-court
.subformWrap > input[type="submit"]:visited:hover, .page-template-provincial-court .desktop-search:visited:hover {
    background-color: #0f2e51;
}

.page-template-court-of-appeal .gsbutton:hover, .page-template-court-of-appeal
.social-button a:hover, .page-template-court-of-appeal
.sfLeaveCommentLnk:hover, .page-template-court-of-appeal
.sfcommentsSubmitBtn:hover, .page-template-court-of-appeal
.sfFormSubmit > input[type="submit"]:hover, .page-template-court-of-appeal
.sfnewsFullStory:hover, .page-template-court-of-appeal
.sfSubmitBtn:hover, .page-template-court-of-appeal
.subformWrap > input[type="submit"]:hover, .page-template-court-of-appeal
.desktop-search:hover, .page-template-court-of-appeal
.sfprofileSaveLnk:hover, .page-template-court-of-appeal
input.sfnewsletterSubmitBtn:hover, .page-template-court-of-appeal
input.sfnewsletterSubmitBtn:visited:hover, .page-template-court-of-appeal
.sfprofileSaveLnk:visited:hover, .page-template-court-of-appeal
.gsbutton:visited:hover, .page-template-court-of-appeal
.social-button a:visited:hover, .page-template-court-of-appeal
.sfLeaveCommentLnk:visited:hover, .page-template-court-of-appeal
.sfcommentsSubmitBtn:visited:hover, .page-template-court-of-appeal
.sfFormSubmit > input[type="submit"]:visited:hover, .page-template-court-of-appeal
.sfnewsFullStory:visited:hover, .page-template-court-of-appeal
.sfSubmitBtn:visited:hover, .page-template-court-of-appeal
.subformWrap > input[type="submit"]:visited:hover, .page-template-court-of-appeal .desktop-search:visited:hover {
    background-color: #baa370;
}

.page-template-queens-bench a.gsbutton {
    color: #fff;
}

.page-template-provincial-court a.gsbutton {
    color: #fff;
}

.page-template-court-of-appeal a.gsbutton {
    color: #fff;
}

a.gsbutton:visited {
    color: #fff !important;
}

.page-template-court-of-appeal .maincontent a.gsbutton,
.page-template-court-of-appeal a.gsbutton,
.page-template-court-of-appeal input.sfnewsletterSubmitBtn {
    display: inline-block;
    color: #000;
    background: #baa370;
    padding: 10px;
    padding-right: 20px;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: background-color 150ms ease;
    transition: background-color 150ms ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-family: Arial, sans-serif;
    font-weight: normal;
    border-radius: 0;
}

    .page-template-court-of-appeal .maincontent a.gsbutton:before,
    .page-template-court-of-appeal a.gsbutton:before,
    .page-template-court-of-appeal input.sfnewsletterSubmitBtn:before {
        content: "";
        width: 12px;
        height: 12px;
        background: url(../img/i-right.png) no-repeat;
        -webkit-background-size: cover;
        background-size: cover;
        display: inline-block;
        margin-right: 10px;
    }

    .page-template-court-of-appeal .maincontent a.gsbutton:visited,
    .page-template-court-of-appeal a.gsbutton:visited,
    .page-template-court-of-appeal input.sfnewsletterSubmitBtn:visited {
        color: #000;
    }

    .page-template-court-of-appeal .maincontent a.gsbutton:hover, .page-template-court-of-appeal .maincontent a.gsbutton:focus,
    .page-template-court-of-appeal a.gsbutton:hover,
    .page-template-court-of-appeal a.gsbutton:focus,
    .page-template-court-of-appeal input.sfnewsletterSubmitBtn:hover,
    .page-template-court-of-appeal input.sfnewsletterSubmitBtn:focus {
        color: #000;
        background-color: #ad9768;
    }

.page-template-court-of-appeal input.sfnewsletterSubmitBtn {
    padding-left: 28px;
    background-image: url(../img/i-right.png);
    background-repeat: no-repeat;
    background-position: 9px 10px;
    -webkit-background-size: 12px 12px;
    background-size: 12px 12px;
}

input.sfnewsletterSubmitBtn {
    margin-top: 15px;
}

.sflistTopLnkWrp {
    text-align: right;
    padding: 15px 15px 0 0;
}

.sflistTopLnk {
    color: #acacac;
    font-size: 0.8em;
    text-decoration: underline;
}

    .sflistTopLnk:before {
        content: "↑  ";
    }

    .sflistTopLnk:hover,
    .sflistTopLnk:focus {
        text-decoration: none;
    }

.sites-button {
    background: #FF6908;
    font-size: 1.25rem;
    font-weight: bold;
    -webkit-box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.2) inset;
    border-radius: 3px;
    border: none;
}

.btn {
    display: inline-block;
    color: #fff;
    padding: 8px 12px 8px 30px;
    line-height: 1;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    background-image: url(../img/i-right.png);
    background-repeat: no-repeat;
    -webkit-background-size: 13px 13px;
    background-size: 13px;
    background-position: 12px center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
}

    .btn:visited {
        color: #fff;
        color: #fff !important;
    }

@media only screen and (min-width: 768px) {
    .btn {
        font-size: 15px;
    }
}

.page-template-queens-bench .btn {
    background-color: #6e0a00;
}

.page-template-provincial-court .btn {
    background-color: #17467c;
}

.page-template-court-of-appeal .btn {
    background-color: #ad9768;
}

.btn:hover {
    text-decoration: none;
    color: #fff;
}

.page-template-queens-bench .btn:hover {
    background-color: #3b0500;
}

.page-template-provincial-court .btn:hover {
    background-color: #0f2e51;
}

.page-template-court-of-appeal .btn:hover {
    background-color: #b49614;
}

#wrapper a.btn {
    color: #fff;
}

    #wrapper a.btn:visited {
        color: #fff;
    }

.sfnewsFullStory {
    background: #17467c;
}

    .sfnewsFullStory:hover {
        background: #000;
    }

fieldset {
    background-color: transparent;
    border: 0;
    margin: 0;
    padding: 0;
}

legend {
    font-weight: 600;
    margin-bottom: 0.4375em;
    padding: 0;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4375em;
}

span.sfCheckListBox > label {
    display: inline;
}

input,
select,
textarea {
    display: block;
    font-family: "Karla", sans-serif;
    font-size: 1em;
}

    input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"], input:not([type]), textarea {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 3px;
        -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        margin-bottom: 0.875em;
        padding: 0.58333em;
        -webkit-transition: border-color 150ms ease;
        transition: border-color 150ms ease;
        width: 100%;
    }

        input[type="color"]:hover, input[type="date"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="email"]:hover, input[type="month"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="search"]:hover, input[type="tel"]:hover, input[type="text"]:hover, input[type="time"]:hover, input[type="url"]:hover, input[type="week"]:hover, input:not([type]):hover, textarea:hover {
            border-color: #b1b1b1;
        }

        input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="email"]:focus, input[type="month"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="time"]:focus, input[type="url"]:focus, input[type="week"]:focus, input:not([type]):focus, textarea:focus {
            border-color: #9815c0;
            -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 5px rgba(18, 89, 169, 0.7);
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 5px rgba(18, 89, 169, 0.7);
            outline: none;
        }

        input[type="color"]:disabled, input[type="date"]:disabled, input[type="datetime"]:disabled, input[type="datetime-local"]:disabled, input[type="email"]:disabled, input[type="month"]:disabled, input[type="number"]:disabled, input[type="password"]:disabled, input[type="search"]:disabled, input[type="tel"]:disabled, input[type="text"]:disabled, input[type="time"]:disabled, input[type="url"]:disabled, input[type="week"]:disabled, input:not([type]):disabled, textarea:disabled {
            background-color: #f2f2f2;
            cursor: not-allowed;
        }

            input[type="color"]:disabled:hover, input[type="date"]:disabled:hover, input[type="datetime"]:disabled:hover, input[type="datetime-local"]:disabled:hover, input[type="email"]:disabled:hover, input[type="month"]:disabled:hover, input[type="number"]:disabled:hover, input[type="password"]:disabled:hover, input[type="search"]:disabled:hover, input[type="tel"]:disabled:hover, input[type="text"]:disabled:hover, input[type="time"]:disabled:hover, input[type="url"]:disabled:hover, input[type="week"]:disabled:hover, input:not([type]):disabled:hover, textarea:disabled:hover {
                border: 1px solid #ddd;
            }

        input[type="color"]::-webkit-input-placeholder, input[type="date"]::-webkit-input-placeholder, input[type="datetime"]::-webkit-input-placeholder, input[type="datetime-local"]::-webkit-input-placeholder, input[type="email"]::-webkit-input-placeholder, input[type="month"]::-webkit-input-placeholder, input[type="number"]::-webkit-input-placeholder, input[type="password"]::-webkit-input-placeholder, input[type="search"]::-webkit-input-placeholder, input[type="tel"]::-webkit-input-placeholder, input[type="text"]::-webkit-input-placeholder, input[type="time"]::-webkit-input-placeholder, input[type="url"]::-webkit-input-placeholder, input[type="week"]::-webkit-input-placeholder, input:not([type])::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
            color: #858585;
        }

        input[type="color"]:-ms-input-placeholder, input[type="date"]:-ms-input-placeholder, input[type="datetime"]:-ms-input-placeholder, input[type="datetime-local"]:-ms-input-placeholder, input[type="email"]:-ms-input-placeholder, input[type="month"]:-ms-input-placeholder, input[type="number"]:-ms-input-placeholder, input[type="password"]:-ms-input-placeholder, input[type="search"]:-ms-input-placeholder, input[type="tel"]:-ms-input-placeholder, input[type="text"]:-ms-input-placeholder, input[type="time"]:-ms-input-placeholder, input[type="url"]:-ms-input-placeholder, input[type="week"]:-ms-input-placeholder, input:not([type]):-ms-input-placeholder, textarea:-ms-input-placeholder {
            color: #858585;
        }

        input[type="color"]::placeholder, input[type="date"]::placeholder, input[type="datetime"]::placeholder, input[type="datetime-local"]::placeholder, input[type="email"]::placeholder, input[type="month"]::placeholder, input[type="number"]::placeholder, input[type="password"]::placeholder, input[type="search"]::placeholder, input[type="tel"]::placeholder, input[type="text"]::placeholder, input[type="time"]::placeholder, input[type="url"]::placeholder, input[type="week"]::placeholder, input:not([type])::placeholder, textarea::placeholder {
            color: #858585;
        }


textarea {
    resize: vertical;
}

[type="checkbox"],
[type="radio"] {
    display: inline;
    margin-right: 0.4375em;
}

[type="file"] {
    margin-bottom: 0.875em;
    width: 100%;
}

select {
    margin-bottom: 0.875em;
    width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
input,
select,
textarea {
    border: #ddd 1px solid;
    padding: 3px;
}

/*
  Labels
-------------------------------*/
.sfTxtLbl {
    font-weight: 600;
    margin-bottom: 5px;
    margin-top: 20px;
    display: block;
}

/*
  Text fields
-------------------------------*/
input[type="text"],
input[type="email"],
input[type="phone"],
input[type="password"] {
    width: 100%;
    padding: 10px;
}

/*
  Select
-------------------------------*/
select {
    width: 100%;
    padding: 0px;
    height: 40px;
}

/*
  Radio buttons
-------------------------------*/
input[type="radio"] {
    margin-right: 5px;
}

/*
  Radio buttons
-------------------------------*/
input[type="checkbox"] {
    margin-right: 5px;
}

/*
  textarea
-------------------------------*/
textarea.sfTxt {
    width: 100%;
    max-width: 100%;
}

/*
  Submit Wrap
-------------------------------*/
.sfFormSubmit {
    margin: 10px 0;
}

/*
  Upload
-------------------------------*/
.maincontent .RadUpload ul,
.maincontent .RadUpload ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.RadUpload .ruFakeInput {
    width: auto;
    height: auto;
    border: 1px solid #ddd;
}

/*
  Captcha
-------------------------------*/
.sfFormCaptcha {
    margin-top: 40px;
}

    .sfFormCaptcha img {
        /*border:1px solid #ddd;*/
    }

.sfError, .sfMsg {
    color: #ff0000;
    font-weight: normal;
}

/*
  Login Screen
-------------------------------*/
#sfLoginWidgetWrp, .sfprofileChangePasswordFormWrp {
    padding: 20px;
    border: 1px solid #eee;
    border-top: 4px solid #0093d0;
}

.sfnewsletterForm {
    margin: 0;
    padding: 0;
    border: 0;
}

    .maincontent #sfLoginWidgetWrp ol, .maincontent .sfprofileChangePasswordFormWrp ol, .sfnewsletterForm ol {
        margin: 0;
        padding: 0;
    }

    .maincontent #sfLoginWidgetWrp li, .maincontent .sfprofileChangePasswordFormWrp li, .sfnewsletterForm li {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .maincontent #sfLoginWidgetWrp li.sfCheckBoxWrapper {
            margin: 1.3em 0;
        }

.sfSubmitBtnWrp, .sfprofileLnkWrp {
    margin-top: 15px;
}

#sfLoginWidgetWrp .sfCheckBoxWrapper {
    display: none;
}

/*
  Footer Newsletter
-------------------------------*/
.subformWrap input {
    margin-bottom: 10px;
}

/*
  Standard Forms
  ----------------------------------*/
.maincontent .sfFormsEditor {
    max-width: 500px;
}

    .maincontent .sfFormsEditor input[type='submit'] {
        /* background-color: #17467c; */
    }

    .maincontent .sfFormsEditor select {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .maincontent .sfFormsEditor span.sfRadioList label {
        display: inline;
        padding-right: 20px;
    }

    .maincontent .sfFormsEditor input[type='submit']:hover {
        background-color: #000;
    }

/*
  Publication Ban
-------------------------------*/
/*** pin form ****/
.responsive-tables .pin-form-table {
    margin: 0;
}

    .responsive-tables .pin-form-table td {
        padding: 0;
        border: none;
    }

.pin-form label, .pin-form input {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 10px 0;
}

    .pin-form input[type='password'] {
        max-width: 200px;
    }

    .pin-form input[type='submit'] {
        padding-top: 0.7em;
        padding-bottom: 0.7em;
    }

/***** main form ********/
.form-publication-ban p {
    font-weight: bold;
}

.form-publication-ban label {
    font-weight: normal;
}

.form-publication-ban select {
    padding-top: 0;
    padding-bottom: 0;
}

.form-publication-ban input[type='radio'] {
    display: inline-block;
    vertical-align: middle;
}

    .form-publication-ban input[type='radio'] + label {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 0;
    }

.form-publication-ban #cphMain_C003_MadeBy {
    margin-bottom: 0;
}

.form-publication-ban .date-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    clear: both;
}

    .form-publication-ban .date-row input, .form-publication-ban .date-row label {
        width: 32%;
        display: inline-block;
        vertical-align: top;
        margin: 0 10px 10px 0;
    }

@supports (display: flex) {
    .form-publication-ban .date-row input, .form-publication-ban .date-row label {
        width: auto;
    }
}

.form-publication-ban .date-row #cphMain_C003_Courttimeampm {
    max-width: 100px;
}

/*
  Subscription
-------------------------------*/
.maincontent ol.sfnewsletterFieldsList {
    margin: 0;
    max-width: 500px;
}

    .maincontent ol.sfnewsletterFieldsList li.sfnewsletterField {
        list-style: none;
    }

.sfMessage.sfMsgVisible {
    margin: 10px 0;
    padding: 15px;
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

html,
body {
    height: 100%;
    min-width: 100% !important;
}

ul,
ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

dl {
    margin: 0;
}

dt {
    font-weight: 600;
    margin: 0;
}

dd {
    margin: 0;
}

/*--------------------------------------------------------------
# Lists
--------------------------------------------------------------*/
.maincontent ul:not([class]),
.maincontent ol {
    margin: 1em 0 1em 1em;
}

    .maincontent ul:not([class]) li {
        margin-bottom: 0.315em;
        list-style: disc;
    }

        /*second level*/
        .maincontent ul:not([class]) li ul {
            margin: 0.625em 0 0.625em 1em;
        }

        .maincontent ul:not([class]) li li {
            list-style: alpha;
        }

/*
  Sidebar
-------------------------------*/
.rightsidebar ul {
    padding: 0 0 0 1em;
    margin-bottom: 2.6em;
}

/*
  Event lists
-------------------------------*/
.maincontent .sfeventsList,
.maincontent .overview-blocks-wrapper {
    margin: 0;
    padding: 0;
}

    .maincontent .sfeventsList li,
    .maincontent .overview-blocks-wrapper li {
        list-style: none;
        margin-bottom: 40px;
    }

/*
  Anchor List
-------------------------------*/
.maincontent .sfanchorList,
.maincontent .sfanchoredListWrp > ul {
    margin: 0;
    padding: 0;
}

.maincontent .sfanchorList {
    margin-left: 15px;
}

.maincontent .sfanchoredListWrp > ul > li {
    list-style: none;
}

.maincontent .sfanchoredListWrp > ul {
    margin-top: 2.6em;
}

.sfanchoredListWrp > ul > li {
    padding: 1.3em 0;
    border-top: 1px solid #eee;
}

.sflistTopLnk {
    margin-top: 1.3em;
}

/*
  Download List
-------------------------------*/
.maincontent .sfdownloadList {
    margin: 0;
    padding: 0;
}

    .maincontent .sfdownloadList > li {
        list-style: none;
        padding-bottom: 0.625em;
        border-bottom: 1px solid #eee;
        margin-bottom: 1.3em;
    }

        .maincontent .sfdownloadList > li:last-child {
            border-bottom: 0;
        }

/*
  Gallery lists + Video lists
-------------------------------*/
.maincontent .sfimagesTmbList,
.maincontent .sfvideosTmbList,
.maincontent .videoList {
    margin: 0;
    padding: 0;
}

    .maincontent .sfimagesTmbList li,
    .maincontent .sfvideosTmbList li,
    .maincontent .videoList li {
        list-style: none;
    }

.sfimagesTmbList li,
.sfvideosTmbList li,
.videoList li {
    float: left;
    margin: 0 5px 5px 0;
    width: 170px;
}

.documents-library.with-list {
    margin-top: 0.625em;
}

.maincontent ul:not([class]),
.documents-library.with-list {
    margin-left: 5px;
}

    .maincontent ul:not([class]) li,
    .documents-library.with-list li {
        list-style: none;
        padding-left: 10px;
        position: relative;
        line-height: 1.6;
    }

        .maincontent ul:not([class]) li:before,
        .documents-library.with-list li:before {
            content: "\2022";
            position: absolute;
            left: 0;
            top: 1px;
        }

.page-template-queens-bench .maincontent ul:not([class]) li:before, .page-template-queens-bench
.documents-library.with-list li:before {
    color: #6e0a00;
}

.page-template-provincial-court .maincontent ul:not([class]) li:before, .page-template-provincial-court
.documents-library.with-list li:before {
    color: #17467c;
}

.page-template-court-of-appeal .maincontent ul:not([class]) li:before, .page-template-court-of-appeal
.documents-library.with-list li:before {
    color: #ad9768;
}

.maincontent ul:not([class]) li li:before,
.documents-library.with-list li li:before {
    content: "\002d";
    position: absolute;
    left: 0;
    top: 1px;
}

.page-template-queens-bench .maincontent ul:not([class]) li li:before, .page-template-queens-bench
.documents-library.with-list li li:before {
    color: #6e0a00;
}

.page-template-provincial-court .maincontent ul:not([class]) li li:before, .page-template-provincial-court
.documents-library.with-list li li:before {
    color: #17467c;
}

.page-template-court-of-appeal .maincontent ul:not([class]) li li:before, .page-template-court-of-appeal
.documents-library.with-list li li:before {
    color: #ad9768;
}

.maincontent ul:not([class]) li + li,
.documents-library.with-list li + li {
    margin-top: 0.625em;
}

.maincontent ol li {
    list-style: decimal;
    line-height: 1.1;
}

    .maincontent ol li + li {
        margin-top: 0.625em;
    }

.maincontent ol.alpha li {
    list-style: lower-alpha;
}

h2.sfmediaFieldTitle {
    color: white !important;
    background-color: grey;
    font-size: 16px;
    font-weight: normal;
    padding: 10px;
    text-transform: none !important;
}

.page-template-queens-bench h2.sfmediaFieldTitle {
    background-color: #6e0a00;
}

.page-template-provincial-court h2.sfmediaFieldTitle {
    background-color: #17467c;
}

.page-template-court-of-appeal h2.sfmediaFieldTitle {
    background-color: #ad9768;
}

/*
  New Video List
-------------------------------*/
.videoList li {
    width: 230px;
    position: relative;
    border: 1px solid #eee;
}

.videoList h2 {
    font-size: 14px;
    color: #111;
    padding: 5px 10px;
    font-weight: 600;
}

.videoList p {
    position: absolute;
    background: #0093D0;
    margin: 0;
    right: 0;
    top: 0;
    color: #fff;
    font-weight: 700;
    padding: 2px 4px;
    line-height: 1;
    font-size: 11px;
}

.videoList .playLink {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-indent: 400%;
    white-space: nowrap;
    overflow: hidden;
}

    .videoList .playLink:after {
        content: "";
        width: 40px;
        height: 40px;
        background-color: rgba(0, 147, 208, 0.8);
        background-image: url(../img/playvideo.png);
        background-repeat: no-repeat;
        background-position: 55% center;
        position: absolute;
        left: 50%;
        margin-left: -20px;
        top: 40px;
        border-radius: 50%;
        -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.4);
        box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.4);
        -webkit-transition: 0.2s all ease-out;
        transition: 0.2s all ease-out;
    }

    .videoList .playLink:hover:after {
        background-color: #000;
    }

/*
  Post List
-------------------------------*/
.sfpostsList {
    margin-bottom: 1.3em;
}

    .sfpostsList h2 {
        font-size: inherit;
        text-transform: none;
        font-size: inherit;
    }

figure {
    margin: 0;
}

img,
picture {
    margin: 0;
    max-width: 100%;
    vertical-align: middle;
}

table {
    border-collapse: collapse;
    margin: 0.875em 0;
    table-layout: fixed;
    width: 100%;
}

.responsive-tables th {
    border-bottom: 1px solid #a6a6a6;
    font-weight: 600;
    padding: 0.875em 0;
    text-align: left;
}

td {
    border-bottom: 1px solid #ddd;
    padding: 0.875em 0;
}

tr,
td,
th {
    vertical-align: middle;
}

/*--------------------------------------------------------------
# Tables
--------------------------------------------------------------*/
.sfdownloadTable,
.responsive-tables table {
    border: 0 !important;
    outline: 0 !important;
    min-width: 400px;
}

.responsive-tables table {
    margin: 30px 0;
    line-height: 1.73em;
    width: 100%;
}

.responsive-tables th,
.responsive-tables td {
    padding: 7px 15px;
    line-height: 1.1;
    border-left: 2px solid #e6e6e6;
}

    .responsive-tables th:first-child,
    .responsive-tables td:first-child {
        border-left: 0;
    }

.responsive-tables .rgMasterTable {
    margin: 30px 0 !important;
    line-height: 1.73em !important;
    width: 100% !important;
    border-collapse: collapse;
}

.rgMasterTable th,
.rgMasterTable td,
.responsive-tables th,
.responsive-tables td {
    padding: 7px 15px !important;
    line-height: 1.1 !important;
    border-left: 2px solid #e6e6e6 !important;
}

    .rgMasterTable th:first-child,
    .rgMasterTable td:first-child,
    .responsive-tables th:first-child,
    .responsive-tables td:first-child {
        border-left: 0 !important;
    }

/*
  Heading
-------------------------------*/
.responsive-tables th {
    color: #003c64;
    text-align: left;
    border-bottom: 2px solid #fff;
    border-top: 2px solid #fff;
    background-color: #888;
    color: #fff;
    font-weight: 400;
    vertical-align: middle;
    font-size: 16px;
    padding: 12px 20px;
}

.rgMasterTable th,
.responsive-tables th {
    color: #003c64 !important;
    text-align: left !important;
    border-bottom: 2px solid #fff !important;
    border-top: 2px solid #fff !important;
    background-color: #888 !important;
    color: #fff !important;
    font-weight: 400 !important;
    vertical-align: middle !important;
    font-size: 16px !important;
    padding: 12px 20px !important;
    background-image: none !important;
}

/*
  Body
-------------------------------*/
.responsive-tables td {
    border-top: 2px solid #e6e6e6;
    font-size: 15px;
}

.responsive-tables tr:first-child > td {
    border-top: 0;
}

.rgMasterTable td,
.responsive-tables td {
    border-top: 2px solid #e6e6e6 !important;
    font-size: 15px !important;
}

.rgMasterTable tr:first-child > td,
.responsive-tables tr:first-child > td {
    border-top: 0 !important;
}

.rgMasterTable,
.responsive-tables table {
    font-family: "Karla", sans-serif !important;
}

    /*
  Caption
-------------------------------*/
    .responsive-tables caption,
    .rgMasterTable caption {
        color: #fff;
        text-align: left;
        padding: 13px 20px;
        font-weight: 400;
        font-size: 16px !important;
        line-height: 1;
    }

.page-template-queens-bench .responsive-tables caption, .page-template-queens-bench
.rgMasterTable caption {
    background-color: #6e0a00;
}

.page-template-provincial-court .responsive-tables caption, .page-template-provincial-court
.rgMasterTable caption {
    background-color: #17467c;
}

.page-template-court-of-appeal .responsive-tables caption, .page-template-court-of-appeal
.rgMasterTable caption {
    background-color: #ad9768;
}

.page-template-court-of-appeal .responsive-tables caption,
.page-template-court-of-appeal .rgMasterTable caption {
    color: #000;
}

.sfmediaFieldTitle.hidden {
    display: none;
    visibility: hidden;
}

.icon-excel,
.icon-pdf,
.icon-PDF,
.icon-zip,
.icon-ppt,
.icon-jpg,
.icon-doc,
.icon-docx,
.icon-Link {
    display: inline-block;
    width: 34px;
    height: 38px;
    background: url(../img/file-icons.png) no-repeat;
    -webkit-background-size: 34px auto;
    background-size: 34px auto;
}

.icon-zip {
    background-position: 0 0;
}

.icon-ppt {
    background-position: 0 -38px;
}

.icon-jpg {
    background-position: 0 -76px;
}

.icon-doc,
.icon-docx {
    background-position: 0 -114px;
}

.icon-pdf,
.icon-PDF {
    background-position: 0 -152px;
}

.icon-excel {
    background-position: 0 -190px;
}

.icon-Link {
    background-position: 0 -228px;
}

@media only screen and (max-width: 767px) {
    .responsive-tables {
        overflow-x: scroll;
    }
}

.sfitemFieldLbl.hidden {
    display: none;
    visibility: hidden;
}

.rgMasterTable {
    background: none;
    border: 0;
}

.table-files {
    table-layout: auto;
    width: 100%;
}

    .table-files td:not(:first-child),
    .table-files th:not(:first-child) {
        text-align: center;
    }

    .table-files td:first-child,
    .table-files th:first-child {
        width: 430px;
        padding-left: 35px;
        padding-right: 25px;
    }

    .table-files tr:before {
        display: none;
    }

.rgMasterTable {
    table-layout: auto !important;
    width: 100% !important;
}

    .rgMasterTable td:not(:first-child),
    .rgMasterTable th:not(:first-child) {
        text-align: center !important;
    }

    .rgMasterTable td:first-child,
    .rgMasterTable th:first-child {
        width: 430px !important;
        padding-left: 35px !important;
        padding-right: 25px !important;
    }

    .rgMasterTable tr:before {
        display: none !important;
    }

    .rgMasterTable .sfdownloadLink {
        display: inline-block !important;
        color: #fff !important;
        padding: 8px 12px 8px 30px !important;
        line-height: 1 !important;
        text-decoration: none !important;
        -webkit-transition: all 0.2s ease-out !important;
        transition: all 0.2s ease-out !important;
        background-image: url(../img/i-right.png) !important;
        background-repeat: no-repeat !important;
        -webkit-background-size: 13px 13px !important;
        background-size: 13px !important;
        background-position: 12px center !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        font-size: 14px !important;
        text-decoration: none !important;
        color: #fff !important;
    }

        .rgMasterTable .sfdownloadLink:visited {
            color: #fff !important;
        }

@media only screen and (min-width: 768px) {
    .rgMasterTable .sfdownloadLink {
        font-size: 15px !important;
    }
}

.page-template-queens-bench .rgMasterTable .sfdownloadLink {
    background-color: #6e0a00 !important;
}

.page-template-provincial-court .rgMasterTable .sfdownloadLink {
    background-color: #17467c !important;
}

.page-template-court-of-appeal .rgMasterTable .sfdownloadLink {
    background-color: #ad9768 !important;
}

.rgMasterTable .sfdownloadLink:hover {
    text-decoration: none !important;
    color: #fff !important;
}

.page-template-queens-bench .rgMasterTable .sfdownloadLink:hover {
    background-color: #3b0500 !important;
}

.page-template-provincial-court .rgMasterTable .sfdownloadLink:hover {
    background-color: #0f2e51 !important;
}

.page-template-court-of-appeal .rgMasterTable .sfdownloadLink:hover {
    background-color: #b49614 !important;
}

body {
    color: #333;
    font-family: "Karla", sans-serif;
    font-size: 1em;
    line-height: 1.75;
    font-weight: 400;
    line-height: 1.375;
}

@media only screen and (min-width: 768px) {
    body {
        line-height: 1.75;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
.sfitemFieldLbl {
    font-family: "Montserrat", sans-serif;
    font-size: 1.333em;
    line-height: 1.2;
}

* + h1, * +
h2, * +
h3, * +
h4, * +
h5, * +
h6, * +
.sfitemFieldLbl {
    margin-top: 10px;
}

@media only screen and (min-width: 768px) {
    * + h1, * +
    h2, * +
    h3, * +
    h4, * +
    h5, * +
    h6, * +
    .sfitemFieldLbl {
        margin-top: 25px;
    }
}

p {
    margin: 0 0 0.875em;
}

    /* p:first-of-type {
        margin-bottom: 0;
    } */

    p + p {
        margin-top: 0.875em;
    }

    p.close-text {
        line-height: 1.2em;
    }

a {
    color: #00328c;
    text-decoration: none;
    -webkit-transition: color 150ms ease;
    transition: color 150ms ease;
}

    a:visited {
        color: #4c82cc;
    }

hr {
    border-bottom: 1px solid #ddd;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    margin: 1.75em 0;
}

h1 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
    margin-top: 0;
    text-transform: uppercase;
}

@media only screen and (min-width: 768px) {
    h1 {
        font-size: 44px;
    }
}

h2 {
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 400;
}

.page-template-queens-bench h2 {
    color: #6e0a00;
}

.page-template-provincial-court h2 {
    color: #17467c;
}

.page-template-court-of-appeal h2 {
    color: #ad9768;
}

@media only screen and (min-width: 768px) {
    h2 {
        font-size: 36px;
    }
}

h3,
.sfitemFieldLbl {
    font-size: 22px;
    color: #4b4b4b;
    margin-bottom: 0px;
    font-weight: 400;
}

@media only screen and (min-width: 768px) {
    h3,
    .sfitemFieldLbl {
        font-size: 30px;
    }
}

h4 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 400;
}

.page-template-queens-bench h4 {
    color: #6e0a00;
}

.page-template-provincial-court h4 {
    color: #17467c;
}

.page-template-court-of-appeal h4 {
    color: #ad9768;
}

@media only screen and (min-width: 768px) {
    h4 {
        font-size: 30px;
        margin-bottom: 0px;
    }
}

h5 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 400;
}

.page-template-queens-bench h5 {
    color: #6e0a00;
}

.page-template-provincial-court h5 {
    color: #17467c;
}

.page-template-court-of-appeal h5 {
    color: #ad9768;
}

@media only screen and (min-width: 768px) {
    h5 {
        font-size: 30px;
        margin-bottom: 0px;
    }
}

strong {
    font-weight: 700;
}

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .c-w1 a {
        text-decoration: underline;
    }

        .c-w1 a:visited {
            text-decoration: underline;
        }

        .c-w1 a[href]:after {
            content: " (" attr(href) ")";
        }

        .c-w1 a[href^="#"]:after, .c-w1 a[href^="javascript:"]:after {
            content: "";
        }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
        height: auto;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 {
        page-break-after: avoid;
    }

    #ctas,
    #subnav,
    #mainnav,
    #header-banner,
    #util,
    #bottomlinks,
    #credit,
    #masthead {
        display: none;
    }

    .page-template-court-of-appeal #header {
        display: none;
    }

    #wrapper {
        width: 7in;
        padding-top: 0.25in;
        position: relative;
    }

    #content {
        padding: 0 !important;
    }

    #secondary-nav,
    #mainnav,
    #menu-toggle,
    .menu-wrap,
    .font-sizer-wrap {
        display: none !important;
    }

    #footer {
        display: none;
    }

    .home-3blocks {
        display: block;
    }

    .sf_1col_1_100,
    .sf_2cols_1_25,
    .sf_2cols_2_75,
    .sf_2cols_2_75 .sf_2cols_2in_75,
    .sf_2cols_1_33,
    .sf_2cols_2_67,
    .sf_2cols_2_67 .sf_2cols_2in_67,
    .sf_2cols_1_50,
    .sf_2cols_2_50,
    .sf_2cols_2_50 .sf_2cols_2in_50,
    .sf_2cols_1_67,
    .sf_2cols_2_33,
    .sf_2cols_2_33 .sf_2cols_2in_33,
    .sf_2cols_1_75,
    .sf_2cols_2_25,
    .sf_2cols_2_25 .sf_2cols_2in_25,
    .sf_3cols_1_33,
    .sf_3cols_2_34,
    .sf_3cols_3_33,
    .sf_3cols_2_34 .sf_3cols_2in_34, .sf_3cols_3_33 .sf_3cols_3in_33,
    .sf_3cols_1_25,
    .sf_3cols_2_50,
    .sf_3cols_3_25,
    .sf_3cols_2_50 .sf_3cols_2in_50, .sf_3cols_3_25 .sf_3cols_3in_25,
    .sf_4cols_1_25, .sf_4cols_2_25, .sf_4cols_3_25, .sf_4cols_4_25,
    .sf_4cols_4_25,
    .sf_4cols_2_25 .sf_4cols_2in_25, .sf_4cols_3_25 .sf_4cols_3in_25, .sf_4cols_4_25 .sf_4cols_4in_25,
    .sf_5cols_1_20, .sf_5cols_2_20, .sf_5cols_3_20, .sf_5cols_4_20, .sf_5cols_5_20,
    .sf_5cols_5_20,
    .sf_5cols_2_20 .sf_5cols_2in_20, .sf_5cols_3_20 .sf_5cols_3in_20, .sf_5cols_4_20 .sf_5cols_4in_20, .sf_5cols_5_20 .sf_5cols_5in_20 {
        margin: 0 !important;
        float: none !important;
        width: auto !important;
    }
}

/*
  Overrides
  ----------------------------------
*/
/*--------------------------------------------------------------
# Magnific popup css
--------------------------------------------------------------*/
.mfp-bg, .mfp-wrap {
    left: 0;
    top: 0;
    position: fixed;
}

.mfp-bg, .mfp-container, .mfp-wrap {
    width: 100%;
    height: 100%;
}

    .mfp-container:before, .mfp-figure:after {
        content: '';
    }

.mfp-bg {
    z-index: 1042;
    overflow: hidden;
    background: #0b0b0b;
    opacity: .8;
    filter: alpha(opacity=80);
}

.mfp-wrap {
    z-index: 1043;
    outline: 0 !important;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.mfp-container, img.mfp-img {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

    .mfp-container:before {
        display: inline-block;
        height: 100%;
        vertical-align: middle;
    }

.mfp-align-top .mfp-container:before {
    display: none;
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

.mfp-ajax-holder .mfp-content, .mfp-inline-holder .mfp-content {
    width: 100%;
    cursor: auto;
}

.mfp-ajax-cur {
    cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: zoom-out;
}

.mfp-zoom {
    cursor: pointer;
    cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
    cursor: auto;
}

.mfp-arrow, .mfp-close, .mfp-counter, .mfp-preloader {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mfp-loading.mfp-figure {
    display: none;
}

.mfp-hide {
    display: none !important;
}

.mfp-preloader {
    color: #CCC;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}

    .mfp-preloader a {
        color: #CCC;
    }

        .mfp-close, .mfp-preloader a:hover {
            color: #FFF;
        }

.mfp-s-error .mfp-content, .mfp-s-ready .mfp-preloader {
    display: none;
}

button.mfp-arrow, button.mfp-close {
    overflow: visible;
    cursor: pointer;
    background: 0 0;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: 0;
    padding: 0;
    z-index: 1046;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.mfp-figure:after, .mfp-iframe-scaler iframe {
    position: absolute;
    left: 0;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: .65;
    filter: alpha(opacity=65);
    padding: 0 0 18px 10px;
    font-style: normal;
    font-size: 28px;
    font-family: Arial,Baskerville,monospace;
}

    .mfp-close:focus, .mfp-close:hover {
        opacity: 1;
        filter: alpha(opacity=100);
    }

    .mfp-close:active {
        top: 1px;
    }

.mfp-close-btn-in .mfp-close {
    color: #333;
}

.mfp-iframe-holder .mfp-close, .mfp-image-holder .mfp-close {
    color: #FFF;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #CCC;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.mfp-figure, img.mfp-img {
    line-height: 0;
}

.mfp-arrow {
    position: absolute;
    opacity: .65;
    filter: alpha(opacity=65);
    margin: -55px 0 0;
    top: 50%;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: transparent;
}

    .mfp-arrow:active {
        margin-top: -54px;
    }

    .mfp-arrow:focus, .mfp-arrow:hover {
        opacity: 1;
        filter: alpha(opacity=100);
    }

    .mfp-arrow .mfp-a, .mfp-arrow .mfp-b, .mfp-arrow:after, .mfp-arrow:before {
        content: '';
        display: block;
        width: 0;
        height: 0;
        position: absolute;
        left: 0;
        top: 0;
        margin-top: 35px;
        margin-left: 35px;
        border: inset transparent;
    }

    .mfp-arrow .mfp-a, .mfp-arrow:after {
        border-top-width: 13px;
        border-bottom-width: 13px;
        top: 8px;
    }

    .mfp-arrow .mfp-b, .mfp-arrow:before {
        border-top-width: 21px;
        border-bottom-width: 21px;
        opacity: .7;
    }

.mfp-arrow-left {
    left: 0;
}

    .mfp-arrow-left .mfp-a, .mfp-arrow-left:after {
        border-right: 17px solid #FFF;
        margin-left: 31px;
    }

    .mfp-arrow-left .mfp-b, .mfp-arrow-left:before {
        margin-left: 25px;
        border-right: 27px solid #3F3F3F;
    }

.mfp-arrow-right {
    right: 0;
}

    .mfp-arrow-right .mfp-a, .mfp-arrow-right:after {
        border-left: 17px solid #FFF;
        margin-left: 39px;
    }

    .mfp-arrow-right .mfp-b, .mfp-arrow-right:before {
        border-left: 27px solid #3F3F3F;
    }

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px;
}

    .mfp-iframe-holder .mfp-content {
        line-height: 0;
        width: 100%;
        max-width: 900px;
    }

.mfp-image-holder .mfp-content, img.mfp-img {
    max-width: 100%;
}

.mfp-iframe-holder .mfp-close {
    top: -40px;
}

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}

    .mfp-iframe-scaler iframe {
        display: block;
        top: 0;
        width: 100%;
        height: 100%;
        background: #000;
    }

.mfp-figure:after, img.mfp-img {
    display: block;
    width: auto;
    height: auto;
}

img.mfp-img {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 40px 0;
    margin: 0 auto;
}

.mfp-figure:after {
    top: 40px;
    bottom: 40px;
    right: 0;
    z-index: -1;
    background: #444;
}

.mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px;
}

.mfp-figure figure {
    margin: 0;
}

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #F3F3F3;
    word-wrap: break-word;
    padding-right: 36px;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0;
    }

    .mfp-img-mobile img.mfp-img {
        padding: 0;
    }

    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0;
    }

    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px;
    }

    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

        .mfp-img-mobile .mfp-bottom-bar:empty {
            padding: 0;
        }

    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px;
    }

    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0;
    }
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }

    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px;
    }
}

.mfp-ie7 .mfp-img {
    padding: 0;
}

.mfp-ie7 .mfp-bottom-bar {
    width: 600px;
    left: 50%;
    margin-left: -300px;
    margin-top: 5px;
    padding-bottom: 5px;
}

.mfp-ie7 .mfp-container {
    padding: 0;
}

.mfp-ie7 .mfp-content {
    padding-top: 44px;
}

.mfp-ie7 .mfp-close {
    top: 0;
    right: 0;
    padding-top: 0;
}

/*--------------------------------------------------------------
# Reusable Document Styles
--------------------------------------------------------------*/
html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

/*--------------------------------------------------------------
# Helpers
--------------------------------------------------------------*/
/*
	Clearfix
-------------------------------*/
.cf::after,
.page-section::after,
.navblock::after,
.navlevel-1::after,
.index-cols::after,
.social-box::after,
.videoList::after,
.sfimagesTmbList::after {
    clear: both;
    content: "";
    display: table;
}

/*
	Accessability
-------------------------------*/
.element-invisible {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}

/*
  Hiding
-------------------------------*/
@media only screen and (max-width: 767px) {
    body:not(.sfPageEditor) .mobile-h {
        display: none;
        visibility: hidden;
        speak: none;
    }
}

@media only screen and (min-width: 768px) {
    body:not(.sfPageEditor) .desktop-h {
        display: none;
        visibility: hidden;
        speak: none;
    }
}

/*--------------------------------------------------------------
# Wrappers and Columns
--------------------------------------------------------------*/
body {
    overflow-x: hidden;
    overflow-y: scroll;
    position: relative;
}

#wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/*
  Container
-------------------------------*/
.section-inner,
.container,
.navblock,
.slick-slide > .container > .banner-content {
    padding: 0 18px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

@media only screen and (min-width: 768px) {
    .section-inner,
    .container,
    .navblock,
    .slick-slide > .container > .banner-content {
        padding: 0 15px;
    }
}

/*
  Content
-------------------------------*/
.leftsidebar .subnav {
    padding: 6px 0 0;
}

    .leftsidebar .subnav > ul, .leftsidebar .subnav > ul > li.sfSel ul {
        padding: 0;
        margin: 0;
    }

        .leftsidebar .subnav > ul > li {
            list-style: none;
            display: none;
        }

            .leftsidebar .subnav > ul > li > ul {
                border-top: 1px dotted #000;
            }

            .leftsidebar .subnav > ul > li.sfSel {
                display: block;
            }

                .leftsidebar .subnav > ul > li.sfSel li {
                    list-style: none;
                    padding: 6px 0 6px;
                    border-bottom: 1px solid #e1e1e1;
                }

                    .leftsidebar .subnav > ul > li.sfSel li li {
                        padding: 5px 0 5px 25px;
                        border-bottom: 0;
                    }

                .leftsidebar .subnav > ul > li.sfSel > a {
                    color: #111;
                    font-size: 20px;
                    margin-bottom: 10px;
                    text-decoration: none;
                    font-family: "Open Sans",sans-serif;
                    font-weight: 400;
                    display: block;
                    display: none;
                }

                .leftsidebar .subnav > ul > li.sfSel > ul {
                    border-top: 0;
                    margin-top: -10px;
                }

    .leftsidebar .subnav a {
        text-decoration: none;
        color: #000;
        text-transform: uppercase;
        font-size: 16px;
        padding: 0 20px;
        line-height: 1.4;
        display: block;
        -webkit-transition: color 0.2s ease-out;
        transition: color 0.2s ease-out;
    }

        .leftsidebar .subnav a:hover, .leftsidebar .subnav a:visited {
            color: inherit;
        }

        .leftsidebar .subnav a.sfSel {
            color: #000;
            position: relative;
        }

            .leftsidebar .subnav a.sfSel:before {
                content: "";
                width: 0;
                height: 0;
                display: block;
                position: absolute;
                left: 6px;
                top: 6px;
                border-top: 4px solid transparent;
                border-bottom: 4px solid transparent;
            }

.page-template-queens-bench .leftsidebar .subnav a.sfSel:before {
    border-left: 6px solid #6e0a00;
}

.page-template-provincial-court .leftsidebar .subnav a.sfSel:before {
    border-left: 6px solid #17467c;
}

.page-template-court-of-appeal .leftsidebar .subnav a.sfSel:before {
    border-left: 6px solid #ad9768;
}

.leftsidebar .subnav ul ul ul a {
    text-transform: none;
    line-height: 1.32;
    font-size: 14px;
}

    .leftsidebar .subnav ul ul ul a:before {
        border: none !important;
        width: 6px !important;
        height: 2px !important;
        top: 8px !important;
    }

.page-template-queens-bench .leftsidebar .subnav ul ul ul a:before {
    background: #6e0a00;
}

.page-template-provincial-court .leftsidebar .subnav ul ul ul a:before {
    background: #17467c;
}

.page-template-court-of-appeal .leftsidebar .subnav ul ul ul a:before {
    background: #ad9768;
}

.leftsidebar .subnav ul ul {
    display: none;
}

    .leftsidebar .subnav ul ul.sfSel {
        display: block;
    }

.rightsidebar {
    float: left;
    width: 100%;
    clear: both;
}

.leftsidebar {
    margin-top: 25px;
    display: none;
}

@media only screen and (min-width: 768px) {
    .leftsidebar {
        display: block;
        margin-top: 0;
    }
}

@media only screen and (min-width: 960px) {
    .colmain {
        padding: 0 0 38px 0;
    }
}

@media only screen and (min-width: 768px) {
    .maincontent {
        position: relative;
        left: 25%;
        float: left;
        width: 75%;
    }
}

@media only screen and (min-width: 768px) {
    .leftsidebar {
        position: relative;
        width: 25%;
        right: 75%;
        float: left;
    }
}

.leftsidebar .subnav {
    max-width: 290px;
    padding-right: 30px;
}

.m-w1 {
    background: #fff;
    margin-bottom: 95px;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
    padding: 15px 20px 15px 20px;
    margin: 0 18px 48px 18px;
}

    .m-w1::after {
        clear: both;
        content: "";
        display: table;
    }

.page-template-queens-bench .m-w1 {
    border-bottom: 30px solid #6e0a00;
}

.page-template-provincial-court .m-w1 {
    border-bottom: 30px solid #17467c;
}

.page-template-court-of-appeal .m-w1 {
    border-bottom: 30px solid #ad9768;
}

@media only screen and (min-width: 960px) {
    .m-w1 {
        padding: 45px 30px;
        max-width: 1230px;
        margin: 0 auto 70px auto;
    }
}

.page-template-provincial-court #content {
    background: url(../img/main-bg.png) repeat;
}

.page-template-queens-bench #content {
    background: url(../img/main-bg.png) repeat;
}

.page-template-queens-bench--home #content {
    background: #3F3F3F;
}

#breadcrumbs-wrapper {
    font-size: 14px;
    position: relative;
    top: -28px;
    display: none;
}

@media only screen and (min-width: 768px) {
    #breadcrumbs-wrapper {
        display: block;
    }
}

#breadcrumbs-wrapper ul {
    padding: 0;
    margin: 0;
}

#breadcrumbs-wrapper li {
    margin: 0;
    padding: 0;
}

    #breadcrumbs-wrapper li:last-child a {
        color: #000;
    }

        #breadcrumbs-wrapper li:last-child a:hover {
            text-decoration: none;
        }

#breadcrumbs-wrapper .sfBreadcrumbNodeSeparator {
    display: inline-block;
    margin: 0 4px 0 5px;
}

#breadcrumbs-wrapper a {
    padding: 0;
    color: #6e6e6e;
    margin: 0;
    font-size: 14px;
    text-align: left;
    outline-width: 0;
    letter-spacing: 0;
    border: 0;
    font-weight: 400;
}

    #breadcrumbs-wrapper a:hover {
        background: transparent;
        border: 0;
        text-decoration: underline;
    }

body[class*="--internal"] .maincontent .sfContentBlock:first-of-type img {
    margin-bottom: 20px;
}

body {
    -webkit-transition: all .35s;
    transition: all .35s;
    background: #fff;
}

    body.no-js {
        opacity: 1;
    }

.js body[class*="page-template"] {
    opacity: 1;
}

/*--------------------------------------------------------------
#Responsive sitefinity grid
--------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
    .sf_1col_1_100,
    .sf_2cols_1_25,
    .sf_2cols_2_75,
    .sf_2cols_2_75 .sf_2cols_2in_75,
    .sf_2cols_1_33,
    .sf_2cols_2_67,
    .sf_2cols_2_67 .sf_2cols_2in_67,
    .sf_2cols_1_50,
    .sf_2cols_2_50,
    .sf_2cols_2_50 .sf_2cols_2in_50,
    .sf_2cols_1_67,
    .sf_2cols_2_33,
    .sf_2cols_2_33 .sf_2cols_2in_33,
    .sf_2cols_1_75,
    .sf_2cols_2_25,
    .sf_2cols_2_25 .sf_2cols_2in_25,
    .sf_3cols_1_33,
    .sf_3cols_2_34,
    .sf_3cols_3_33,
    .sf_3cols_2_34 .sf_3cols_2in_34, .sf_3cols_3_33 .sf_3cols_3in_33,
    .sf_3cols_1_25,
    .sf_3cols_2_50,
    .sf_3cols_3_25,
    .sf_3cols_2_50 .sf_3cols_2in_50, .sf_3cols_3_25 .sf_3cols_3in_25,
    .sf_4cols_1_25, .sf_4cols_2_25, .sf_4cols_3_25, .sf_4cols_4_25,
    .sf_4cols_4_25,
    .sf_4cols_2_25 .sf_4cols_2in_25, .sf_4cols_3_25 .sf_4cols_3in_25, .sf_4cols_4_25 .sf_4cols_4in_25,
    .sf_5cols_1_20, .sf_5cols_2_20, .sf_5cols_3_20, .sf_5cols_4_20, .sf_5cols_5_20,
    .sf_5cols_5_20,
    .sf_5cols_2_20 .sf_5cols_2in_20, .sf_5cols_3_20 .sf_5cols_3in_20, .sf_5cols_4_20 .sf_5cols_4in_20, .sf_5cols_5_20 .sf_5cols_5in_20 {
        margin: 0 !important;
        float: none !important;
        width: auto !important;
    }
}

/*
  Third Party Styles
  ----------------------------------
*/
@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    60% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    60% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@-webkit-keyframes flash {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

@keyframes flash {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

@-webkit-keyframes jello {
    11.1% {
        -webkit-transform: none;
        transform: none;
    }

    22.2% {
        -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
        transform: skewX(-12.5deg) skewY(-12.5deg);
    }

    33.3% {
        -webkit-transform: skewX(6.25deg) skewY(6.25deg);
        transform: skewX(6.25deg) skewY(6.25deg);
    }

    44.4% {
        -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
        transform: skewX(-3.125deg) skewY(-3.125deg);
    }

    55.5% {
        -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
        transform: skewX(1.5625deg) skewY(1.5625deg);
    }

    66.6% {
        -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
        transform: skewX(-0.78125deg) skewY(-0.78125deg);
    }

    77.7% {
        -webkit-transform: skewX(0.39063deg) skewY(0.39063deg);
        transform: skewX(0.39063deg) skewY(0.39063deg);
    }

    88.8% {
        -webkit-transform: skewX(-0.19531deg) skewY(-0.19531deg);
        transform: skewX(-0.19531deg) skewY(-0.19531deg);
    }

    100% {
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes jello {
    11.1% {
        -webkit-transform: none;
        transform: none;
    }

    22.2% {
        -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
        transform: skewX(-12.5deg) skewY(-12.5deg);
    }

    33.3% {
        -webkit-transform: skewX(6.25deg) skewY(6.25deg);
        transform: skewX(6.25deg) skewY(6.25deg);
    }

    44.4% {
        -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
        transform: skewX(-3.125deg) skewY(-3.125deg);
    }

    55.5% {
        -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
        transform: skewX(1.5625deg) skewY(1.5625deg);
    }

    66.6% {
        -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
        transform: skewX(-0.78125deg) skewY(-0.78125deg);
    }

    77.7% {
        -webkit-transform: skewX(0.39063deg) skewY(0.39063deg);
        transform: skewX(0.39063deg) skewY(0.39063deg);
    }

    88.8% {
        -webkit-transform: skewX(-0.19531deg) skewY(-0.19531deg);
        transform: skewX(-0.19531deg) skewY(-0.19531deg);
    }

    100% {
        -webkit-transform: none;
        transform: none;
    }
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes rubberBand {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    30% {
        -webkit-transform: scale3d(1.25, 0.75, 1);
        transform: scale3d(1.25, 0.75, 1);
    }

    40% {
        -webkit-transform: scale3d(0.75, 1.25, 1);
        transform: scale3d(0.75, 1.25, 1);
    }

    50% {
        -webkit-transform: scale3d(1.15, 0.85, 1);
        transform: scale3d(1.15, 0.85, 1);
    }

    65% {
        -webkit-transform: scale3d(0.95, 1.05, 1);
        transform: scale3d(0.95, 1.05, 1);
    }

    75% {
        -webkit-transform: scale3d(1.05, 0.95, 1);
        transform: scale3d(1.05, 0.95, 1);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes rubberBand {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    30% {
        -webkit-transform: scale3d(1.25, 0.75, 1);
        transform: scale3d(1.25, 0.75, 1);
    }

    40% {
        -webkit-transform: scale3d(0.75, 1.25, 1);
        transform: scale3d(0.75, 1.25, 1);
    }

    50% {
        -webkit-transform: scale3d(1.15, 0.85, 1);
        transform: scale3d(1.15, 0.85, 1);
    }

    65% {
        -webkit-transform: scale3d(0.95, 1.05, 1);
        transform: scale3d(0.95, 1.05, 1);
    }

    75% {
        -webkit-transform: scale3d(1.05, 0.95, 1);
        transform: scale3d(1.05, 0.95, 1);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@-webkit-keyframes shake {
    0%, 100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translateX(-10px);
        transform: translateX(-10px);
    }

    20%, 40%, 60%, 80% {
        -webkit-transform: translateX(10px);
        transform: translateX(10px);
    }
}

@keyframes shake {
    0%, 100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translateX(-10px);
        transform: translateX(-10px);
    }

    20%, 40%, 60%, 80% {
        -webkit-transform: translateX(10px);
        transform: translateX(10px);
    }
}

@-webkit-keyframes swing {
    20%, 40%, 60%, 80%, 100% {
        -webkit-transform-origin: top center;
        transform-origin: top center;
    }

    20% {
        -webkit-transform: rotate(15deg);
        transform: rotate(15deg);
    }

    40% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }

    60% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
    }

    80% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }

    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes swing {
    20%, 40%, 60%, 80%, 100% {
        -webkit-transform-origin: top center;
        transform-origin: top center;
    }

    20% {
        -webkit-transform: rotate(15deg);
        transform: rotate(15deg);
    }

    40% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }

    60% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
    }

    80% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }

    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@-webkit-keyframes tada {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    10%, 20% {
        -webkit-transform: scale(0.9) rotate(-3deg);
        transform: scale(0.9) rotate(-3deg);
    }

    30%, 50%, 70%, 90% {
        -webkit-transform: scale(1.1) rotate(3deg);
        transform: scale(1.1) rotate(3deg);
    }

    40%, 60%, 80% {
        -webkit-transform: scale(1.1) rotate(-3deg);
        transform: scale(1.1) rotate(-3deg);
    }

    100% {
        -webkit-transform: scale(1) rotate(0);
        transform: scale(1) rotate(0);
    }
}

@keyframes tada {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    10%, 20% {
        -webkit-transform: scale(0.9) rotate(-3deg);
        transform: scale(0.9) rotate(-3deg);
    }

    30%, 50%, 70%, 90% {
        -webkit-transform: scale(1.1) rotate(3deg);
        transform: scale(1.1) rotate(3deg);
    }

    40%, 60%, 80% {
        -webkit-transform: scale(1.1) rotate(-3deg);
        transform: scale(1.1) rotate(-3deg);
    }

    100% {
        -webkit-transform: scale(1) rotate(0);
        transform: scale(1) rotate(0);
    }
}

@-webkit-keyframes wobble {
    0% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }

    15% {
        -webkit-transform: translateX(-25%) rotate(-5deg);
        transform: translateX(-25%) rotate(-5deg);
    }

    30% {
        -webkit-transform: translateX(20%) rotate(3deg);
        transform: translateX(20%) rotate(3deg);
    }

    45% {
        -webkit-transform: translateX(-15%) rotate(-3deg);
        transform: translateX(-15%) rotate(-3deg);
    }

    60% {
        -webkit-transform: translateX(10%) rotate(2deg);
        transform: translateX(10%) rotate(2deg);
    }

    75% {
        -webkit-transform: translateX(-5%) rotate(-1deg);
        transform: translateX(-5%) rotate(-1deg);
    }

    100% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
}

@keyframes wobble {
    0% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }

    15% {
        -webkit-transform: translateX(-25%) rotate(-5deg);
        transform: translateX(-25%) rotate(-5deg);
    }

    30% {
        -webkit-transform: translateX(20%) rotate(3deg);
        transform: translateX(20%) rotate(3deg);
    }

    45% {
        -webkit-transform: translateX(-15%) rotate(-3deg);
        transform: translateX(-15%) rotate(-3deg);
    }

    60% {
        -webkit-transform: translateX(10%) rotate(2deg);
        transform: translateX(10%) rotate(2deg);
    }

    75% {
        -webkit-transform: translateX(-5%) rotate(-1deg);
        transform: translateX(-5%) rotate(-1deg);
    }

    100% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
}

@-webkit-keyframes bounceIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.3);
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }

    70% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.3);
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }

    70% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes bounceInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }

    60% {
        opacity: 1;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }

    80% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes bounceInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }

    60% {
        opacity: 1;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }

    80% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes bounceInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }

    60% {
        opacity: 1;
        -webkit-transform: translateX(30px);
        transform: translateX(30px);
    }

    80% {
        -webkit-transform: translateX(-10px);
        transform: translateX(-10px);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes bounceInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }

    60% {
        opacity: 1;
        -webkit-transform: translateX(30px);
        transform: translateX(30px);
    }

    80% {
        -webkit-transform: translateX(-10px);
        transform: translateX(-10px);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes bounceInRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px);
    }

    60% {
        opacity: 1;
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }

    80% {
        -webkit-transform: translateX(10px);
        transform: translateX(10px);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes bounceInRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px);
    }

    60% {
        opacity: 1;
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }

    80% {
        -webkit-transform: translateX(10px);
        transform: translateX(10px);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes bounceInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(2000px);
        transform: translateY(2000px);
    }

    60% {
        opacity: 1;
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    80% {
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes bounceInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(2000px);
        transform: translateY(2000px);
    }

    60% {
        opacity: 1;
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    80% {
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes bounceOut {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    25% {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(0.3);
        transform: scale(0.3);
    }
}

@keyframes bounceOut {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    25% {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(0.3);
        transform: scale(0.3);
    }
}

@-webkit-keyframes bounceOutDown {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    20% {
        opacity: 1;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(2000px);
        transform: translateY(2000px);
    }
}

@keyframes bounceOutDown {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    20% {
        opacity: 1;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(2000px);
        transform: translateY(2000px);
    }
}

@-webkit-keyframes bounceOutLeft {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    20% {
        opacity: 1;
        -webkit-transform: translateX(20px);
        transform: translateX(20px);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }
}

@keyframes bounceOutLeft {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    20% {
        opacity: 1;
        -webkit-transform: translateX(20px);
        transform: translateX(20px);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }
}

@-webkit-keyframes bounceOutRight {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    20% {
        opacity: 1;
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px);
    }
}

@keyframes bounceOutRight {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    20% {
        opacity: 1;
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px);
    }
}

@-webkit-keyframes bounceOutUp {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    20% {
        opacity: 1;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }
}

@keyframes bounceOutUp {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    20% {
        opacity: 1;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes fadeInDownBig {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInDownBig {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes fadeInLeftBig {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes fadeInLeftBig {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(20px);
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(20px);
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes fadeInRightBig {
    0% {
        opacity: 0;
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes fadeInRightBig {
    0% {
        opacity: 0;
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes fadeInUpBig {
    0% {
        opacity: 0;
        -webkit-transform: translateY(2000px);
        transform: translateY(2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInUpBig {
    0% {
        opacity: 0;
        -webkit-transform: translateY(2000px);
        transform: translateY(2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-webkit-keyframes fadeOutDown {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
}

@keyframes fadeOutDown {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
}

@-webkit-keyframes fadeOutDownBig {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(2000px);
        transform: translateY(2000px);
    }
}

@keyframes fadeOutDownBig {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(2000px);
        transform: translateY(2000px);
    }
}

@-webkit-keyframes fadeOutLeft {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px);
    }
}

@keyframes fadeOutLeft {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px);
    }
}

@-webkit-keyframes fadeOutLeftBig {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }
}

@keyframes fadeOutLeftBig {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }
}

@-webkit-keyframes fadeOutRight {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(20px);
        transform: translateX(20px);
    }
}

@keyframes fadeOutRight {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(20px);
        transform: translateX(20px);
    }
}

@-webkit-keyframes fadeOutRightBig {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px);
    }
}

@keyframes fadeOutRightBig {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px);
    }
}

@-webkit-keyframes fadeOutUp {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
}

@keyframes fadeOutUp {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
}

@-webkit-keyframes fadeOutUpBig {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }
}

@keyframes fadeOutUpBig {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }
}

@-webkit-keyframes flip {
    0% {
        -webkit-transform: perspective(400px) rotateY(0);
        transform: perspective(400px) rotateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    40% {
        -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg);
        transform: perspective(400px) translateZ(150px) rotateY(170deg);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    50% {
        -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
        transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    80% {
        -webkit-transform: perspective(400px) rotateY(360deg) scale(0.95);
        transform: perspective(400px) rotateY(360deg) scale(0.95);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    100% {
        -webkit-transform: perspective(400px) scale(1);
        transform: perspective(400px) scale(1);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
}

@keyframes flip {
    0% {
        -webkit-transform: perspective(400px) rotateY(0);
        transform: perspective(400px) rotateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    40% {
        -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg);
        transform: perspective(400px) translateZ(150px) rotateY(170deg);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    50% {
        -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
        transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    80% {
        -webkit-transform: perspective(400px) rotateY(360deg) scale(0.95);
        transform: perspective(400px) rotateY(360deg) scale(0.95);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    100% {
        -webkit-transform: perspective(400px) scale(1);
        transform: perspective(400px) scale(1);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
}

@-webkit-keyframes flipInX {
    0% {
        opacity: 0;
        -webkit-transform: perspective(400px) rotateX(90deg);
        transform: perspective(400px) rotateX(90deg);
    }

    40% {
        -webkit-transform: perspective(400px) rotateX(-10deg);
        transform: perspective(400px) rotateX(-10deg);
    }

    70% {
        -webkit-transform: perspective(400px) rotateX(10deg);
        transform: perspective(400px) rotateX(10deg);
    }

    100% {
        opacity: 1;
        -webkit-transform: perspective(400px) rotateX(0deg);
        transform: perspective(400px) rotateX(0deg);
    }
}

@keyframes flipInX {
    0% {
        opacity: 0;
        -webkit-transform: perspective(400px) rotateX(90deg);
        transform: perspective(400px) rotateX(90deg);
    }

    40% {
        -webkit-transform: perspective(400px) rotateX(-10deg);
        transform: perspective(400px) rotateX(-10deg);
    }

    70% {
        -webkit-transform: perspective(400px) rotateX(10deg);
        transform: perspective(400px) rotateX(10deg);
    }

    100% {
        opacity: 1;
        -webkit-transform: perspective(400px) rotateX(0deg);
        transform: perspective(400px) rotateX(0deg);
    }
}

@-webkit-keyframes flipInY {
    0% {
        opacity: 0;
        -webkit-transform: perspective(400px) rotateY(90deg);
        transform: perspective(400px) rotateY(90deg);
    }

    40% {
        -webkit-transform: perspective(400px) rotateY(-10deg);
        transform: perspective(400px) rotateY(-10deg);
    }

    70% {
        -webkit-transform: perspective(400px) rotateY(10deg);
        transform: perspective(400px) rotateY(10deg);
    }

    100% {
        opacity: 1;
        -webkit-transform: perspective(400px) rotateY(0deg);
        transform: perspective(400px) rotateY(0deg);
    }
}

@keyframes flipInY {
    0% {
        opacity: 0;
        -webkit-transform: perspective(400px) rotateY(90deg);
        transform: perspective(400px) rotateY(90deg);
    }

    40% {
        -webkit-transform: perspective(400px) rotateY(-10deg);
        transform: perspective(400px) rotateY(-10deg);
    }

    70% {
        -webkit-transform: perspective(400px) rotateY(10deg);
        transform: perspective(400px) rotateY(10deg);
    }

    100% {
        opacity: 1;
        -webkit-transform: perspective(400px) rotateY(0deg);
        transform: perspective(400px) rotateY(0deg);
    }
}

@-webkit-keyframes flipOutX {
    0% {
        opacity: 1;
        -webkit-transform: perspective(400px) rotateX(0deg);
        transform: perspective(400px) rotateX(0deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: perspective(400px) rotateX(90deg);
        transform: perspective(400px) rotateX(90deg);
    }
}

@keyframes flipOutX {
    0% {
        opacity: 1;
        -webkit-transform: perspective(400px) rotateX(0deg);
        transform: perspective(400px) rotateX(0deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: perspective(400px) rotateX(90deg);
        transform: perspective(400px) rotateX(90deg);
    }
}

@-webkit-keyframes flipOutY {
    0% {
        opacity: 1;
        -webkit-transform: perspective(400px) rotateY(0deg);
        transform: perspective(400px) rotateY(0deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: perspective(400px) rotateY(90deg);
        transform: perspective(400px) rotateY(90deg);
    }
}

@keyframes flipOutY {
    0% {
        opacity: 1;
        -webkit-transform: perspective(400px) rotateY(0deg);
        transform: perspective(400px) rotateY(0deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: perspective(400px) rotateY(90deg);
        transform: perspective(400px) rotateY(90deg);
    }
}

@-webkit-keyframes lightSpeedIn {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100%) skewX(-30deg);
        transform: translateX(100%) skewX(-30deg);
    }

    60% {
        opacity: 1;
        -webkit-transform: translateX(-20%) skewX(30deg);
        transform: translateX(-20%) skewX(30deg);
    }

    80% {
        opacity: 1;
        -webkit-transform: translateX(0%) skewX(-15deg);
        transform: translateX(0%) skewX(-15deg);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0%) skewX(0deg);
        transform: translateX(0%) skewX(0deg);
    }
}

@keyframes lightSpeedIn {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100%) skewX(-30deg);
        transform: translateX(100%) skewX(-30deg);
    }

    60% {
        opacity: 1;
        -webkit-transform: translateX(-20%) skewX(30deg);
        transform: translateX(-20%) skewX(30deg);
    }

    80% {
        opacity: 1;
        -webkit-transform: translateX(0%) skewX(-15deg);
        transform: translateX(0%) skewX(-15deg);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0%) skewX(0deg);
        transform: translateX(0%) skewX(0deg);
    }
}

@-webkit-keyframes lightSpeedOut {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0%) skewX(0deg);
        transform: translateX(0%) skewX(0deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(100%) skewX(-30deg);
        transform: translateX(100%) skewX(-30deg);
    }
}

@keyframes lightSpeedOut {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0%) skewX(0deg);
        transform: translateX(0%) skewX(0deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(100%) skewX(-30deg);
        transform: translateX(100%) skewX(-30deg);
    }
}

@-webkit-keyframes rotateIn {
    0% {
        opacity: 0;
        -webkit-transform: rotate(-200deg);
        transform: rotate(-200deg);
        -webkit-transform-origin: center center;
        transform-origin: center center;
    }

    100% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: center center;
        transform-origin: center center;
    }
}

@keyframes rotateIn {
    0% {
        opacity: 0;
        -webkit-transform: rotate(-200deg);
        transform: rotate(-200deg);
        -webkit-transform-origin: center center;
        transform-origin: center center;
    }

    100% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: center center;
        transform-origin: center center;
    }
}

@-webkit-keyframes rotateInDownLeft {
    0% {
        opacity: 0;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }

    100% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }
}

@keyframes rotateInDownLeft {
    0% {
        opacity: 0;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }

    100% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }
}

@-webkit-keyframes rotateInDownRight {
    0% {
        opacity: 0;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }

    100% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }
}

@keyframes rotateInDownRight {
    0% {
        opacity: 0;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }

    100% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }
}

@-webkit-keyframes rotateInUpLeft {
    0% {
        opacity: 0;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }

    100% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }
}

@keyframes rotateInUpLeft {
    0% {
        opacity: 0;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }

    100% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }
}

@-webkit-keyframes rotateInUpRight {
    0% {
        opacity: 0;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }

    100% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }
}

@keyframes rotateInUpRight {
    0% {
        opacity: 0;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }

    100% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }
}

@-webkit-keyframes rotateOut {
    0% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: center center;
        transform-origin: center center;
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate(200deg);
        transform: rotate(200deg);
        -webkit-transform-origin: center center;
        transform-origin: center center;
    }
}

@keyframes rotateOut {
    0% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: center center;
        transform-origin: center center;
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate(200deg);
        transform: rotate(200deg);
        -webkit-transform-origin: center center;
        transform-origin: center center;
    }
}

@-webkit-keyframes rotateOutDownLeft {
    0% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }
}

@keyframes rotateOutDownLeft {
    0% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }
}

@-webkit-keyframes rotateOutDownRight {
    0% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }
}

@keyframes rotateOutDownRight {
    0% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }
}

@-webkit-keyframes rotateOutUpLeft {
    0% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }
}

@keyframes rotateOutUpLeft {
    0% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transform-origin: left bottom;
        transform-origin: left bottom;
    }
}

@-webkit-keyframes rotateOutUpRight {
    0% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }
}

@keyframes rotateOutUpRight {
    0% {
        opacity: 1;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        -webkit-transform-origin: right bottom;
        transform-origin: right bottom;
    }
}

@-webkit-keyframes slideInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes slideInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes slideInRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes slideInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(2000px);
        transform: translateY(2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(2000px);
        transform: translateY(2000px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes slideOutDown {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(2000px);
        transform: translateY(2000px);
    }
}

@keyframes slideOutDown {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(2000px);
        transform: translateY(2000px);
    }
}

@-webkit-keyframes slideOutLeft {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }
}

@keyframes slideOutLeft {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(-2000px);
        transform: translateX(-2000px);
    }
}

@-webkit-keyframes slideOutRight {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px);
    }
}

@keyframes slideOutRight {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(2000px);
        transform: translateX(2000px);
    }
}

@-webkit-keyframes slideOutUp {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }
}

@keyframes slideOutUp {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(-2000px);
        transform: translateY(-2000px);
    }
}

@-webkit-keyframes hinge {
    0% {
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: top left;
        transform-origin: top left;
    }

    20%, 60% {
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-transform: rotate(80deg);
        transform: rotate(80deg);
        -webkit-transform-origin: top left;
        transform-origin: top left;
    }

    40% {
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-transform: rotate(60deg);
        transform: rotate(60deg);
        -webkit-transform-origin: top left;
        transform-origin: top left;
    }

    80% {
        opacity: 1;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-transform: rotate(60deg) translateY(0);
        transform: rotate(60deg) translateY(0);
        -webkit-transform-origin: top left;
        transform-origin: top left;
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(700px);
        transform: translateY(700px);
    }
}

@keyframes hinge {
    0% {
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-transform: rotate(0);
        transform: rotate(0);
        -webkit-transform-origin: top left;
        transform-origin: top left;
    }

    20%, 60% {
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-transform: rotate(80deg);
        transform: rotate(80deg);
        -webkit-transform-origin: top left;
        transform-origin: top left;
    }

    40% {
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-transform: rotate(60deg);
        transform: rotate(60deg);
        -webkit-transform-origin: top left;
        transform-origin: top left;
    }

    80% {
        opacity: 1;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-transform: rotate(60deg) translateY(0);
        transform: rotate(60deg) translateY(0);
        -webkit-transform-origin: top left;
        transform-origin: top left;
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(700px);
        transform: translateY(700px);
    }
}

@-webkit-keyframes rollIn {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100%) rotate(-120deg);
        transform: translateX(-100%) rotate(-120deg);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0px) rotate(0deg);
        transform: translateX(0px) rotate(0deg);
    }
}

@keyframes rollIn {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100%) rotate(-120deg);
        transform: translateX(-100%) rotate(-120deg);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0px) rotate(0deg);
        transform: translateX(0px) rotate(0deg);
    }
}

@-webkit-keyframes rollOut {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0px) rotate(0deg);
        transform: translateX(0px) rotate(0deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(100%) rotate(120deg);
        transform: translateX(100%) rotate(120deg);
    }
}

@keyframes rollOut {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0px) rotate(0deg);
        transform: translateX(0px) rotate(0deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(100%) rotate(120deg);
        transform: translateX(100%) rotate(120deg);
    }
}

@-webkit-keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

@-webkit-keyframes zoomInDown {
    0% {
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    }

    60% {
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    }
}

@keyframes zoomInDown {
    0% {
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    }

    60% {
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    }
}

@-webkit-keyframes zoomInLeft {
    0% {
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    }

    60% {
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    }
}

@keyframes zoomInLeft {
    0% {
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    }

    60% {
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    }
}

@-webkit-keyframes zoomInRight {
    0% {
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    }

    60% {
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    }
}

@keyframes zoomInRight {
    0% {
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    }

    60% {
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    }
}

@-webkit-keyframes zoomInUp {
    0% {
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    }

    60% {
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    }
}

@keyframes zoomInUp {
    0% {
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    }

    60% {
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    }
}

@-webkit-keyframes zoomOut {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    100% {
        opacity: 0;
    }
}

@keyframes zoomOut {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    100% {
        opacity: 0;
    }
}

@-webkit-keyframes zoomOutDown {
    40% {
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    }

    100% {
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
        -webkit-transform-origin: center bottom;
        transform-origin: center bottom;
    }
}

@keyframes zoomOutDown {
    40% {
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    }

    100% {
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
        -webkit-transform-origin: center bottom;
        transform-origin: center bottom;
    }
}

@-webkit-keyframes zoomOutLeft {
    40% {
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
        transform: scale(0.1) translate3d(-2000px, 0, 0);
        -webkit-transform-origin: left center;
        transform-origin: left center;
    }
}

@keyframes zoomOutLeft {
    40% {
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
        transform: scale(0.1) translate3d(-2000px, 0, 0);
        -webkit-transform-origin: left center;
        transform-origin: left center;
    }
}

@-webkit-keyframes zoomOutRight {
    40% {
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
        transform: scale(0.1) translate3d(2000px, 0, 0);
        -webkit-transform-origin: right center;
        transform-origin: right center;
    }
}

@keyframes zoomOutRight {
    40% {
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
        transform: scale(0.1) translate3d(2000px, 0, 0);
        -webkit-transform-origin: right center;
        transform-origin: right center;
    }
}

@-webkit-keyframes zoomOutUp {
    40% {
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    }

    100% {
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
        -webkit-transform-origin: center bottom;
        transform-origin: center bottom;
    }
}

@keyframes zoomOutUp {
    40% {
        -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        opacity: 1;
        -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
        transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    }

    100% {
        -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
        opacity: 0;
        -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
        transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
        -webkit-transform-origin: center bottom;
        transform-origin: center bottom;
    }
}

/*
  Theme Styles
  ----------------------------------
*/
/*
  My custom styles:
  Add your scss files below to structure your project styles
*/
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/*
  Wrappers
-------------------------------*/
@media only screen and (min-width: 768px) {
    #header {
        position: relative;
        z-index: 500;
    }
}

.h-w1 {
    padding: 0;
    background: #fff;
}

    .h-w1.is_stuck {
        z-index: 999;
        background: transparent;
        -webkit-transition: background 0.2s ease-out;
        transition: background 0.2s ease-out;
    }

        .h-w1.is_stuck:hover {
            background: #000;
        }

@media only screen and (max-width: 767px) {
    .h-w1.is_stuck {
        position: static !important;
        top: auto !important;
        width: auto !important;
    }

        .h-w1.is_stuck + div {
            display: none !important;
        }
}

/*
  Sticky Header
  needs to be enabled in 
  site-functions.js
-------------------------------*/
@media only screen and (min-width: 768px) {
    .h-w1 {
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
    }

        .h-w1.is_stuck {
            z-index: 9999;
            top: 0 !important;
        }

            .h-w1.is_stuck #navsection {
                height: 50px;
            }

                .h-w1.is_stuck #navsection:before {
                    display: none;
                }

            .h-w1.is_stuck #search-header,
            .h-w1.is_stuck #headerlinks {
                display: none !important;
            }

            .h-w1.is_stuck #logo {
                max-width: 35px;
                top: 2px;
                z-index: 70;
                -webkit-animation-name: fadeInLeft;
                animation-name: fadeInLeft;
                -webkit-animation-iteration-count: 1;
                animation-iteration-count: 1;
                -webkit-animation-duration: 0.2s;
                animation-duration: 0.2s;
                -webkit-animation-delay: 0s;
                animation-delay: 0s;
                -webkit-animation-timing-function: ease;
                animation-timing-function: ease;
                -webkit-animation-fill-mode: both;
                animation-fill-mode: both;
                -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
            }

                .h-w1.is_stuck #logo a {
                    position: relative;
                    display: block;
                }

                    .h-w1.is_stuck #logo a:after {
                        content: "";
                        position: absolute;
                        left: 100%;
                        width: 170px;
                        height: 50px;
                        top: -2px;
                    }

                .h-w1.is_stuck #logo:hover + #slogan {
                    color: #fff;
                    -webkit-transition: color 0.2s ease-out;
                    transition: color 0.2s ease-out;
                }

            .h-w1.is_stuck #mainnav {
                left: auto;
                right: 15px;
            }

            .h-w1.is_stuck #slogan {
                left: 48px;
                top: 7px;
                color: rgba(255, 255, 255, 0.6);
                font-size: 12px;
                width: 150px;
                line-height: 1;
                -webkit-animation-name: fadeInLeft;
                animation-name: fadeInLeft;
                -webkit-animation-iteration-count: 1;
                animation-iteration-count: 1;
                -webkit-animation-duration: 0.2s;
                animation-duration: 0.2s;
                -webkit-animation-delay: 0s;
                animation-delay: 0s;
                -webkit-animation-timing-function: ease;
                animation-timing-function: ease;
                -webkit-animation-fill-mode: both;
                animation-fill-mode: both;
                -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
            }
}

.h-w1.is_stuck #slogan {
    width: 140px;
    top: 12px;
}

    .h-w1.is_stuck #slogan a img {
        filter: grayscale(100%) brightness(1000%);
        width: 125px;
        margin-top: -2px;
    }

.page-template-provincial-court .h-w1.is_stuck #slogan a img {
    width: 110px;
}

.kbwordmark img {
    max-width: 240px;
    margin-top: -6px;
}

.cjwordmark img {
    max-width: 190px;
    margin-top: -6px;
}
/*
  Wrappers Inner
-------------------------------*/
.h-w1 > .section-inner {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 0;
    padding-right: 0;
    margin: auto;
    z-index: 70;
}

@media only screen and (max-width: 768px) {
    .h-w1 > .section-inner {
        padding-top: 0;
        padding-bottom: 0;
    }

    .kbwordmark img {
        margin-top: -52px;
    }

    .cjwordmark img {
        margin-top: -52px;
    }
}

@media only screen and (min-width: 768px) {
    .h-w1 > .section-inner {
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media only screen and (min-width: 768px) {
    #header {
        padding-top: 60px;
    }
}

#util {
    background: #000;
    text-align: right;
    height: 50px;
    overflow: hidden;
}

.page-template-court-of-appeal #util {
    background: #333132;
}

@media only screen and (min-width: 768px) {
    #util {
        height: 60px;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        z-index: 10;
    }
}

#util .util-inner {
    position: relative;
    z-index: 20;
}

@media only screen and (min-width: 768px) {
    #util .util-inner {
        padding-top: 13px;
    }
}

#util .util-bg {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 50px;
    z-index: 10;
    background: url(../img/topbar-bg-mobile.jpg) no-repeat top right #000;
    -webkit-background-size: auto 100%;
    background-size: auto 100%;
}

@media only screen and (min-width: 768px) {
    #util .util-bg {
        height: 120px;
        background: url(../img/util-bg.jpg) no-repeat top center #000;
    }
}

#util .section-inner {
    height: 100%;
}

    #util .section-inner::after {
        clear: both;
        content: "";
        display: table;
    }

#util ul {
    text-align: right;
}

#util li {
    display: inline-block;
}

    #util li + li {
        margin-left: 30px;
    }

@media only screen and (max-width: 767px) {
    #util li + li {
        display: none;
    }
}

#util li:first-child {
    display: block;
    float: none;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    #util li:first-child {
        float: left;
        text-align: left;
        display: list-item;
    }
}

#util a {
    border: 1px solid #fff;
    white-space: nowrap;
    text-transform: uppercase;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 34px;
    opacity: 0.5;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
}

@media only screen and (min-width: 960px) {
    #util a {
        font-size: 14px;
        width: 200px;
        padding-left: 0;
        padding-right: 0;
    }
}

#util a:hover {
    opacity: 1;
}

#util a.sfSel {
    opacity: 1;
}

.page-template-queens-bench #util a.sfSel {
    background: #6e0a00;
}

.page-template-provincial-court #util a.sfSel {
    background: #17467c;
}

.page-template-court-of-appeal #util a.sfSel {
    background: #ad9768;
}

#util a.class-court_of_queen_s_bench:hover {
    background-color: #6e0a00;
}

#util a.class-court_of_king_s_bench:hover {
    background-color: #6e0a00;
}

#util a.class-provincial_court:hover {
    background-color: #17467c;
}

#util a.class-court_of_appeal:hover {
    background-color: #ad9768;
}




.page-template-provincial-court #util li:first-child a, .page-template-queens-bench #util li:first-child a {
    content: url(../img/CourtsLogoInverted.png);
    opacity: 1;
    width: auto;
    border: 0;
    opacity: 0.7;
    margin: 3px;
    height: 30px;
    font-size: 14px;
}

@media only screen and (max-width: 768px) {
    #util li:first-child a {
        margin: 0px;
        margin-top: 6px;
        height: 40px;
    }
}

#util li:first-child a:hover {
    opacity: 1;
}

#search-header {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 38px;
    z-index: 100;
    -webkit-box-shadow: 1px 1px 0 0 rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 0 0 rgba(0, 0, 0, 0.1);
}

@media only screen and (min-width: 768px) {
    #search-header {
        left: auto;
        right: 10px;
        top: 0;
        margin-top: 0;
        display: block !important;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

.activate-search #search-header {
    display: block;
}

.sfSearchBoxSet {
    padding: 0;
    border: 0;
    position: relative;
    margin: 0;
    border-radius: 2px;
    overflow: hidden;
    padding-right: 48px;
    border-radius: 0;
}

.page-template-queens-bench .sfSearchBoxSet {
    border-bottom: 1px solid #6e0a00;
}

.page-template-provincial-court .sfSearchBoxSet {
    border-bottom: 1px solid #17467c;
}

.page-template-court-of-appeal .sfSearchBoxSet {
    border-bottom: 1px solid #ad9768;
}

@media only screen and (min-width: 768px) {
    .sfSearchBoxSet {
        padding: 0;
        border: 0;
        position: relative;
        margin: 0;
        border: 0;
        border-bottom: 1px solid #aaa;
        overflow: hidden;
        padding-right: 48px;
        width: 470px;
        background: transparent;
    }
}

.sfSearchBoxSet .searchTxtBox {
    width: 100%;
    border: none;
}

.sfSearchBoxSet input.sfTxt {
    font-size: 17px;
    height: 47px;
    line-height: 1;
    border: 0;
    color: #111;
    margin: 0;
    outline: none;
    padding-left: 12px;
    padding-right: 12px;
    background: transparent;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 0;
}

.page-template-queens-bench .sfSearchBoxSet input.sfTxt {
    color: #6e0a00;
}

.page-template-provincial-court .sfSearchBoxSet input.sfTxt {
    color: #17467c;
}

.page-template-court-of-appeal .sfSearchBoxSet input.sfTxt {
    color: #ad9768;
}

.sfSearchBoxSet input.sfTxt::-webkit-input-placeholder {
    opacity: 1;
}

.page-template-queens-bench .sfSearchBoxSet input.sfTxt::-webkit-input-placeholder {
    color: #6e0a00;
}

.page-template-provincial-court .sfSearchBoxSet input.sfTxt::-webkit-input-placeholder {
    color: #17467c;
}

.page-template-court-of-appeal .sfSearchBoxSet input.sfTxt::-webkit-input-placeholder {
    color: #ad9768;
}

.sfSearchBoxSet input.sfTxt::-moz-placeholder {
    opacity: 1;
}

.page-template-queens-bench .sfSearchBoxSet input.sfTxt::-moz-placeholder {
    color: #6e0a00;
}

.page-template-provincial-court .sfSearchBoxSet input.sfTxt::-moz-placeholder {
    color: #17467c;
}

.page-template-court-of-appeal .sfSearchBoxSet input.sfTxt::-moz-placeholder {
    color: #ad9768;
}

.sfSearchBoxSet input.sfTxt:-ms-input-placeholder {
    opacity: 1;
}

.page-template-queens-bench .sfSearchBoxSet input.sfTxt:-ms-input-placeholder {
    color: #6e0a00;
}

.page-template-provincial-court .sfSearchBoxSet input.sfTxt:-ms-input-placeholder {
    color: #17467c;
}

.page-template-court-of-appeal .sfSearchBoxSet input.sfTxt:-ms-input-placeholder {
    color: #ad9768;
}

.sfSearchBoxSet input.sfTxt:-moz-placeholder {
    opacity: 1;
}

.page-template-queens-bench .sfSearchBoxSet input.sfTxt:-moz-placeholder {
    color: #6e0a00;
}

.page-template-provincial-court .sfSearchBoxSet input.sfTxt:-moz-placeholder {
    color: #17467c;
}

.page-template-court-of-appeal .sfSearchBoxSet input.sfTxt:-moz-placeholder {
    color: #ad9768;
}

.sfSearchBoxSet input.sfTxt:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

@media only screen and (min-width: 768px) {
    .sfSearchBoxSet input.sfTxt {
        font-size: 20px;
        padding-left: 5px;
        padding-right: 5px;
    }
}

.sfSearchBoxSet .sfLinkBtn {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    line-height: 0;
    border: 0;
    background: none;
    display: inline-block;
    width: 48px;
    height: 48px;
    border-radius: 0;
    background-image: url(../img/i-search.png);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: 14px 14px;
    background-size: 14px 14px;
    -webkit-transition: -webkit-transform 0.2s ease-out;
    transition: -webkit-transform 0.2s ease-out;
    transition: transform 0.2s ease-out;
    transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
}

@media only screen and (min-width: 768px) {
    .sfSearchBoxSet .sfLinkBtn {
        -webkit-background-size: 24px 24px;
        background-size: 24px 24px;
    }
}

.sfSearchBoxSet .sfLinkBtn:hover, .sfSearchBoxSet .sfLinkBtn:focus, .sfSearchBoxSet .sfLinkBtn:active {
    background-color: transparent;
    -webkit-transform: rotate(-10deg);
    transform: rotate(-10deg);
}

.page-template-queens-bench .sfSearchBoxSet .sfLinkBtn {
    background-image: url(../img/i-search.png);
}

.page-template-provincial-court .sfSearchBoxSet .sfLinkBtn {
    background-image: url(../img/i-search-provincial.png);
}

.page-template-court-appeal .sfSearchBoxSet .sfLinkBtn {
    background-image: url(../img/i-search-appeal.png);
}

#headerlinks {
    position: absolute;
    right: 0;
    top: 58px;
    z-index: 70;
    display: none;
}

@media only screen and (min-width: 768px) {
    #headerlinks {
        display: block;
    }
}

#headerlinks li {
    display: inline-block;
    padding: 0 12px 0 13px;
    position: relative;
}

    #headerlinks li + li:before {
        content: "";
        position: absolute;
        left: 0;
        width: 1px;
        height: 15px;
        top: 5px;
        background: #d6d6d6;
    }

#headerlinks a {
    font-size: 14px;
}

.page-template-queens-bench #headerlinks a {
    color: #6e0a00;
}

.page-template-provincial-court #headerlinks a {
    color: #17467c;
}

.page-template-court-of-appeal #headerlinks a {
    color: #ad9768;
}

#headerlinks a:hover {
    text-decoration: underline;
}

#logo {
    width: 100px;
}

@media only screen and (min-width: 768px) {
    #logo {
        width: 165px;
    }
}

#logo {
    position: absolute;
    left: 15px;
    top: -3px;
    z-index: 60;
    width: 95px;
}

@media only screen and (min-width: 768px) {
    #logo {
        left: 5px;
        top: -7px;
        z-index: 60;
        width: 155px;
    }
}

#slogan {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 20px;
    z-index: 60;
    color: #000;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 130px;
    line-height: 1;
    width: 170px;
}

    #slogan p {
        margin: 0;
    }

@media only screen and (min-width: 768px) {
    #slogan {
        position: absolute;
        left: 185px;
        top: 60px;
        font-size: 16px;
        margin-left: 0;
        width: auto;
    }

        #slogan br {
            display: none;
        }
}

@media only screen and (min-width: 960px) {
    #slogan {
        font-size: 24px;
    }
}

#slogan a {
    color: white;
    text-decoration: none;
}

#slogan br {
    display: none;
}

#slogan {
    position: absolute;
    left: 50px;
    top: 30px;
    width: 400px;
    font-size: 14px;
}

@media only screen and (max-width: 768px) {
    #slogan {
        margin-left: -10px;
        margin-top: 10px;
    }

        #slogan img {
            width: 100px;
            filter: grayscale(100%) brightness(1000%);
        }
}

@media only screen and (min-width: 768px) {
    #slogan br {
        display: initial;
    }

    .page-template-queens-bench #slogan a {
        color: #6e0a00;
    }

    .page-template-provincial-court #slogan a {
        color: #17467c;
    }

    #slogan {
        font-size: 20px;
    }
}

@media only screen and (min-width: 960px) {
    #slogan {
        font-size: 24px;
    }
}

@media only screen and (min-width: 1200px) {
    #slogan {
        font-size: 28px;
    }
}

#masthead {
    overflow: hidden;
    height: 150px;
    position: relative;
    /*fix issue on qb banners*/
}

    #masthead .single-banner-responsive {
        width: 480px;
        position: relative;
        left: 50%;
        margin-left: -240px;
    }

@media only screen and (max-width: 767px) {
    #masthead .single-banner-responsive {
        -webkit-transform: translate3d(0px, 0px, 0px) !important;
        transform: translate3d(0px, 0px, 0px) !important;
    }
}

@media only screen and (min-width: 480px) {
    #masthead .single-banner-responsive {
        width: 768px;
        margin-left: -384px;
    }
}

@media only screen and (min-width: 768px) {
    #masthead .single-banner-responsive {
        width: 1920px;
        margin-left: -960px;
    }
}

@media only screen and (min-width: 768px) {
    #masthead {
        height: 340px;
        margin-top: -150px;
    }
}

#masthead .masthead-image img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    min-width: 100%;
}

#masthead .page-overview-title {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    color: #fff;
    text-transform: uppercase;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    padding-bottom: 13px;
}

@media only screen and (min-width: 768px) {
    #masthead .page-overview-title {
        font-size: 40px;
        font-weight: 600;
        padding-bottom: 27px;
        padding-left: 0;
    }
}

.page-template-court-of-appeal #masthead {
    margin-top: 0;
}

.mobilenav-triggers {
    height: 44px;
    text-align: right;
    padding: 0 18px;
}

.page-template-queens-bench .mobilenav-triggers {
    background-color: #6e0a00;
}

.page-template-provincial-court .mobilenav-triggers {
    background-color: #17467c;
}

.page-template-court-of-appeal .mobilenav-triggers {
    background-color: #ad9768;
}

.mobilenav-triggers > div a {
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-indent: 200%;
    display: block;
    float: right;
    width: 36px;
    height: 44px;
    background: url(../img/i-menu.png) no-repeat right center;
    -webkit-background-size: 20px auto;
    background-size: 20px auto;
}

/*--------------------------------------------------------------
# Main Navigation Mobile Version
--------------------------------------------------------------*/
/*
  Shared list style
  needs to be outside of medias
  to prevent conflict with
  mediaqueries.js
-------------------------------*/
#mainnav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    clear: both;
    background: none;
    display: none;
}

@media only screen and (max-width: 767px) {
    /*
  You can easily change the direction by inverting the numbers
  and replacing the left by right.
*/
    /*
    Normal Navigation State
  -------------------------------*/
    #navsection {
        width: 270px;
        position: absolute;
        overflow: hidden;
        top: 0;
        right: -270px;
        height: 100%;
        z-index: 9000;
        -webkit-box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.12);
        box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.12);
        -webkit-transition: 0.3s all ease-out;
        transition: 0.3s all ease-out;
    }

    .no-boxshadow #navsection {
        border-right: 2px solid #ccc;
    }
    /*enhance if possible*/
    .csstransforms3d.csstransitions #navsection {
        opacity: 0.7;
        -webkit-transition: -webkit-transform 300ms ease;
        transition: -webkit-transform 300ms ease;
        transition: transform 300ms ease;
        transition: transform 300ms ease, -webkit-transform 300ms ease;
        -webkit-transform: translate3d(0, 0, 0) scale3d(0.9, 0.9, 0.9);
        transform: translate3d(0, 0, 0) scale3d(0.9, 0.9, 0.9);
        -webkit-transform-origin: 50% 0%;
        transform-origin: 50% 0%;
    }
    /*
    Active Navigation State
  -------------------------------*/
    .activate-nav #navsection {
        right: 0;
    }
    /*enhance if possible*/
    .csstransforms3d.csstransitions .activate-nav #navsection {
        right: -270px;
        opacity: 1;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
    /*
    Activate if you wish to push 
    the content when menu opens
  -------------------------------*/
    /*.w-w1{
    position: relative;
    width: 100%;
    left: 0;
  }
  .activate-nav .w-w1 {
    left: 300px;
  }

  .csstransforms3d.csstransitions .w-w1 {
    left: 0 !important;
    transform: translate3d(0, 0, 0);
    transition: transform 300ms ease;
    backface-visibility: hidden;
  }
    .csstransforms3d.csstransitions .activate-nav .w-w1 {
      transform: translate3d(270px, 0, 0) scale3d(1, 1, 1);
    }
  
  .activate-nav #navsection{
    left: 0;
  }
    .csstransforms3d.csstransitions .activate-nav #navsection{
      left: -270px;
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }  
  */
    /*
    Inner Nav Wrapper
  -------------------------------*/
    .navblock {
        overflow: auto;
        height: 100%;
        background: #000;
        padding: 0;
    }

    .no-js #mainnav .active > ul {
        display: block;
    }

    #mainnav li {
        position: relative;
        display: block;
        background: none;
        border: 0;
    }
    /*
      Untrigger
    -------------------------------*/
    .overlaytrigger {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        display: none;
        background: rgba(0, 0, 0, 0.7);
    }
    /*activate*/
    .activate-nav .overlaytrigger {
        display: block;
    }
    /*
    Main Navigation Styles Drop Icons
  -------------------------------*/
    #mainnav .droptrigger {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 40px;
        text-align: center;
        cursor: pointer;
        display: block;
        text-align: right;
    }
    /*first level version*/
    #mainnav .sfNavList > li > .droptrigger:before {
        content: "";
        display: inline-block;
        width: 32px;
        height: 34px;
        position: relative;
        -webkit-background-size: 32px auto;
        background-size: 32px auto;
        background-repeat: no-repeat;
    }

    #mainnav .sfNavList > li.active > .droptrigger:before {
        background-position: 0 -34px;
        background-color: #fff;
    }

    .page-template-queens-bench #mainnav .sfNavList > li > .droptrigger:before {
        background-image: url(../img/i-drop.png);
    }

    .page-template-provincial-court #mainnav .sfNavList > li > .droptrigger:before {
        background-image: url(../img/i-drop-provincial.png);
    }

    .page-template-court-of-appeal #mainnav .sfNavList > li > .droptrigger:before {
        background-image: url(../img/i-drop-appeal.png);
        background-position: 0 -34px;
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .page-template-court-of-appeal #mainnav .sfNavList > li.active > .droptrigger:before {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    /*second level version*/
    #mainnav .navlevel-2 > li > .droptrigger:before,
    #mainnav .navlevel-2 > li > .droptrigger:after {
        font-family: Arial, sans-serif;
        font-size: 17px;
        color: #111;
        font-weight: 700;
        line-height: 24px;
    }

    #mainnav .navlevel-2 .droptrigger {
        display: none;
    }
    /*Plus*/
    #mainnav .navlevel-2 > li > .droptrigger:before {
        display: inline-block;
        content: "\2B";
    }
    /*on active*/
    #mainnav .navlevel-2 > li.active > .droptrigger:before {
        display: none;
    }
    /*Minus*/
    #mainnav .navlevel-2 > li > .droptrigger:after {
        display: none;
        content: "\2D";
        width: 8px;
        height: 2px;
        background: #fff;
    }
    /*on active*/
    #mainnav .navlevel-2 > li.active > .droptrigger:after {
        display: inline-block;
    }
    /*
    Main Navigation Styles First Level + Utility
  -------------------------------*/
    #mainnav .sfNavList {
        display: block;
    }

        #mainnav .sfNavList > li {
            -webkit-transition: 0.2s all ease-out;
            transition: 0.2s all ease-out;
        }

        #mainnav .sfNavList > li,
        #topUtility a {
            border-bottom: 1px solid #fff;
        }

    .page-template-queens-bench #mainnav .sfNavList > li, .page-template-queens-bench
    #topUtility a {
        background: #6e0a00;
    }

    .page-template-provincial-court #mainnav .sfNavList > li, .page-template-provincial-court
    #topUtility a {
        background: #17467c;
    }

    .page-template-court-of-appeal #mainnav .sfNavList > li, .page-template-court-of-appeal
    #topUtility a {
        background: #ad9768;
    }

    #mainnav .sfNavList > li > a,
    #topUtility a {
        display: block;
        color: #fff;
        text-transform: uppercase;
        font-weight: 700;
        padding: 13px 13px;
        font-size: 13px;
        line-height: 1;
        text-decoration: none;
    }

    #topUtility a {
        display: block;
    }

    #mainnav .sfNavList > li.active > a {
        background: #999;
    }

    #mainnav .sfNavList > li.active .navlevel-2 > li a {
        background: #ccc;
    }
    /*
    Main Navigation Styles Second Level
  -------------------------------*/
    .page-template-queens-bench #mainnav .navlevel-2 > li {
        background: #6e0a00;
    }

    .page-template-provincial-court #mainnav .navlevel-2 > li {
        background: #17467c;
    }

    .page-template-court-of-appeal #mainnav .navlevel-2 > li {
        background: #ad9768;
    }

    #mainnav .navlevel-2 > li:last-of-type a {
        padding-bottom: 15px;
    }

    #mainnav .navlevel-2 > li:first-child {
        border-top: 0;
    }

    #mainnav .navlevel-2 > li > a {
        padding: 8px 5px 8px 28px;
        font-weight: 400;
        font-size: 14px;
        color: #000;
        text-decoration: none;
        display: block;
    }

    #mainnav .navlevel-2 > li.haschildren > a:after {
        content: "";
        position: absolute;
        right: 10px;
        top: 6px;
        width: 0;
        height: 0;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 4px solid green;
        -webkit-transition: all .25s;
        transition: all .25s;
    }

    .page-template-queens-bench #mainnav .navlevel-2 > li.haschildren > a:after {
        border-left: 4px solid #000;
    }

    .page-template-provincial-court #mainnav .navlevel-2 > li.haschildren > a:after {
        border-left: 4px solid #000;
    }

    .page-template-court-of-appeal #mainnav .navlevel-2 > li.haschildren > a:after {
        border-left: 4px solid #000;
    }

    #mainnav .navlevel-2 > li.haschildren.open > a:after {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
    /*
    Main Navigation Styles Third Level
  -------------------------------*/
    #mainnav .open > .navlevel-3 {
        display: block;
    }

    #mainnav .navlevel-3 > li > a {
        display: block;
        font-weight: 400;
        padding: 8px 25px 8px 50px;
        font-size: 12px;
        text-decoration: none;
        color: #111;
    }
    /*
    Top Utilities styles
  -------------------------------*/
    #topUtility span {
        display: none;
    }

    .top-bar ul {
        padding: 0;
        list-style: none;
        margin: 0;
    }

    .bankingli {
        display: none;
        visibility: hidden;
        speak: none;
    }
    /*
  Mobile Triggers -> Close button
  -------------------------------*/
    #mobilenav-close {
        position: absolute;
        right: -50px;
        top: 0;
        width: 50px;
        height: 50px;
        background-color: rgba(0, 0, 0, 0.7);
        display: block;
        z-index: 9000;
        opacity: 0.7;
        padding-top: 10px;
    }

        #mobilenav-close span {
            display: block;
            position: relative;
            height: 30px;
            -webkit-transform: scale3d(0.5, 0.5, 0.5);
            transform: scale3d(0.5, 0.5, 0.5);
            -webkit-transition: all 0.2s ease-out;
            transition: all 0.2s ease-out;
        }

            #mobilenav-close span:before, #mobilenav-close span:after {
                content: "";
                display: block;
                height: 15%;
                width: 85%;
                position: absolute;
                top: 37%;
                left: 8%;
                -webkit-transition: 0.3s;
                transition: 0.3s;
                background: #fff;
            }

            #mobilenav-close span:before {
                -webkit-transform: rotate(45deg);
                transform: rotate(45deg);
            }

            #mobilenav-close span:after {
                -webkit-transform: rotate(-45deg);
                transform: rotate(-45deg);
            }

        #mobilenav-close:hover > span {
            -webkit-transform: rotate(-90deg) scale3d(0.55, 0.55, 0.55);
            transform: rotate(-90deg) scale3d(0.55, 0.55, 0.55);
        }

    .activate-nav #mobilenav-close {
        right: 270px;
        opacity: 1;
        z-index: 1000;
        -webkit-transition: 0.4s all ease-out;
        transition: 0.4s all ease-out;
    }

    .page-template-queens-bench #mainnav .mobile-menu-top ul.sfNavList li:first-child a {
        background: url(../img/i-home.png) no-repeat center center;
        -webkit-background-size: 18px 18px;
        background-size: 18px;
    }

    .page-template-provincial-court #mainnav .mobile-menu-top ul.sfNavList li:first-child a {
        background: url(../img/i-home-blue.png) no-repeat center center;
        -webkit-background-size: 18px 18px;
        background-size: 18px;
    }

    .page-template-court-appeal #mainnav .mobile-menu-top ul.sfNavList li:first-child a {
        background: url(../img/i-home-appeal.png) no-repeat center center;
        -webkit-background-size: 18px 18px;
        background-size: 18px;
    }

    #mainnav .mobile-menu-top {
        background: #fff;
    }

        #mainnav .mobile-menu-top ul.sfNavList {
            display: block;
            border: 0;
            padding: 12px 12px;
            padding-left: 48px;
            position: relative;
            display: block;
            min-height: 46px;
        }

            #mainnav .mobile-menu-top ul.sfNavList::after {
                clear: both;
                content: "";
                display: table;
            }

            #mainnav .mobile-menu-top ul.sfNavList li {
                background-color: #fff;
                border: 0;
                display: inline-block;
                float: left;
            }

                #mainnav .mobile-menu-top ul.sfNavList li + li {
                    padding-right: 8px;
                    padding-left: 7px;
                }

                #mainnav .mobile-menu-top ul.sfNavList li:first-child a {
                    width: 36px;
                    height: 36px;
                    background: url(../img/i-home.png) no-repeat center center;
                    text-indent: -999em;
                    white-space: nowrap;
                    overflow: hidden;
                    display: inline-block;
                    vertical-align: middle;
                    position: absolute;
                    left: -45px;
                    top: -6px;
                    z-index: 30;
                }

                #mainnav .mobile-menu-top ul.sfNavList li:before {
                    content: "";
                    position: absolute;
                    right: 0;
                    width: 1px;
                    height: 12px;
                    background-color: #d3d3d3;
                    top: 7px;
                }

                #mainnav .mobile-menu-top ul.sfNavList li:first-child:before, #mainnav .mobile-menu-top ul.sfNavList li:last-child:before {
                    display: none;
                }

            #mainnav .mobile-menu-top ul.sfNavList a {
                font-size: 14px;
                line-height: 1;
            }

    .page-template-queens-bench #mainnav .mobile-menu-top ul.sfNavList a {
        color: #6e0a00;
    }

    .page-template-provincial-court #mainnav .mobile-menu-top ul.sfNavList a {
        color: #17467c;
    }

    .page-template-court-of-appeal #mainnav .mobile-menu-top ul.sfNavList a {
        color: #ad9768;
    }

    #mainnav .mobile-menu-bottom .useful-links-mobile {
        padding: 10px !important;
        background: #fff;
    }

    #mainnav .mobile-menu-bottom .menu-footer {
        padding: 20px 12px;
        background: url(../img/mobile-menu-footer-bg.jpg) no-repeat center top #000;
        -webkit-background-size: 100% auto;
        background-size: 100% auto;
        color: rgba(255, 255, 255, 0.5);
        font-size: 12px;
        text-align: center;
    }

        #mainnav .mobile-menu-bottom .menu-footer:before {
            content: "Alberta Courts";
            text-transform: uppercase;
            display: block;
            color: #fff;
            font-size: 14px;
            margin-bottom: 20px;
            padding-top: 42px;
            background: url(../img/icon-util-balance-50.png) no-repeat center top;
            -webkit-background-size: 34px 30px;
            background-size: 34px 30px;
        }

        #mainnav .mobile-menu-bottom .menu-footer ul {
            display: block;
            border: 0;
        }

        #mainnav .mobile-menu-bottom .menu-footer .sfContentBlock {
            line-height: 2;
        }

            #mainnav .mobile-menu-bottom .menu-footer .sfContentBlock li {
                display: inline-block;
                padding: 0 7px 0 8px;
                position: relative;
            }

                #mainnav .mobile-menu-bottom .menu-footer .sfContentBlock li a {
                    color: #fff;
                    padding: 0;
                    opacity: 0.5;
                    -webkit-transition: all 0.2s ease-out;
                    transition: all 0.2s ease-out;
                }

                    #mainnav .mobile-menu-bottom .menu-footer .sfContentBlock li a:hover {
                        opacity: 1;
                    }

                #mainnav .mobile-menu-bottom .menu-footer .sfContentBlock li + li:not(:last-of-type):before {
                    content: "";
                    width: 1px;
                    height: 12px;
                    background-color: #fff;
                    position: absolute;
                    left: 0;
                    opacity: 0.5;
                    top: 3px;
                }

    #mainnav .mobile-menu-bottom ul.sfNavList {
        display: block;
        border: 0;
        width: 190px;
        margin: 0 auto;
        margin-bottom: 20px;
    }

        #mainnav .mobile-menu-bottom ul.sfNavList li + li {
            margin-top: 15px;
        }

        #mainnav .mobile-menu-bottom ul.sfNavList a {
            display: block;
            border: 1px solid #fff;
            text-align: center;
            text-transform: uppercase;
            color: #fff;
            font-size: 13px;
            white-space: nowrap;
            opacity: 0.5;
            height: 30px;
            line-height: 30px;
            -webkit-transition: all 0.2s ease-out;
            transition: all 0.2s ease-out;
            padding: 0;
            font-family: "Karla", sans-serif;
            text-decoration: none;
        }

            #mainnav .mobile-menu-bottom ul.sfNavList a.sfSel {
                opacity: 1;
            }

    .page-template-queens-bench #mainnav .mobile-menu-bottom ul.sfNavList a.sfSel {
        background-color: #6e0a00;
    }

    .page-template-provincial-court #mainnav .mobile-menu-bottom ul.sfNavList a.sfSel {
        background-color: #17467c;
    }

    .page-template-court-of-appeal #mainnav .mobile-menu-bottom ul.sfNavList a.sfSel {
        background-color: #ad9768;
    }

    #mainnav .mobile-menu-bottom ul.sfNavList a:hover {
        opacity: 1;
        background: none;
        text-decoration: none;
    }

    .mobile-menu-bottom h2 {
        font-size: 14px;
        color: #646464;
        font-weight: 400;
        text-transform: uppercase;
        margin-bottom: 15px;
    }

    .mobile-menu-bottom a {
        display: block;
        padding: 0 7px;
    }

    .mobile-menu-bottom .sfContentBlock + .sfContentBlock {
        margin-top: 12px;
    }
}

/*--------------------------------------------------------------
# Main Navigation Desktop Version
--------------------------------------------------------------*/
@media only screen and (min-width: 768px) {
    .touch #mainnav .haschildren > a {
        pointer-events: none;
    }
    /*
  Nav Section Block (background)
-------------------------------*/
    #navsection {
        position: relative;
        z-index: 60;
        height: 150px;
        background: transparent;
    }

        #navsection:before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 50px;
            background: url(../img/util-bg-white.png) repeat-y center bottom;
        }

        #navsection:after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            right: 0;
            height: 50px;
        }

    .page-template-queens-bench #navsection:after {
        background: url(../img/util-bg-qb.png) repeat-y center top;
    }

    .page-template-provincial-court #navsection:after {
        background: url(../img/util-bg-pc.png) repeat-y center top;
    }

    .navblock {
        height: 100%;
    }

    #mainnav {
        position: absolute;
        left: 160px;
        right: 15px;
        bottom: 0;
        z-index: 50;
        -webkit-transition: left 0.2s ease-out;
        transition: left 0.2s ease-out;
    }

        #mainnav ul li {
            list-style: none;
        }
        /*
  First Level
-------------------------------*/
        #mainnav .sfNavList,
        #mainnav .topnav > ul {
            display: block;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
        }

            #mainnav .sfNavList > li,
            #mainnav .topnav > ul > li {
                border: none;
                border-width: 0;
                position: relative;
                -webkit-box-flex: 1;
                -ms-flex-positive: 1;
                flex-grow: 1;
            }

                #mainnav .sfNavList > li:after,
                #mainnav .topnav > ul > li:after {
                    content: "";
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 1px;
                    height: 100%;
                    background-color: #f4f4f4;
                }

                #mainnav .sfNavList > li > a {
                    display: block;
                    padding: 0 10px 6px 10px;
                    white-space: nowrap;
                    text-decoration: none;
                    -webkit-transition: 0.2s background-color ease-out;
                    transition: 0.2s background-color ease-out;
                    font-size: 11px;
                    height: 50px;
                    line-height: 50px;
                    font-weight: 600;
                    border-bottom: 2px solid transparent;
                    color: rgba(255, 255, 255, 0.6);
                    text-align: center;
                    text-transform: uppercase;
                    -webkit-transition: color 0.2s ease-out;
                    transition: color 0.2s ease-out;
                }
}

@media only screen and (min-width: 768px) and (min-width: 960px) {
    #mainnav .sfNavList > li > a {
        font-size: 14px;
        padding: 0 16px 6px 16px;
    }
}

@media only screen and (min-width: 768px) {
    /*hover*/
    #mainnav .sfNavList > li:hover > a,
    #mainnav .sfNavList > li:focus > a,
    #mainnav .sfNavList > li:active > a,
    #mainnav .sfNavList > li > a:hover,
    #mainnav .sfNavList > li > a:focus,
    #mainnav .sfNavList > li > a:active {
        color: #fff;
    }
    /*active*/
    #mainnav .sfNavList > li.active-trail > a {
        color: #fff;
        position: relative;
    }

        #mainnav .sfNavList > li.active-trail > a:after {
            content: "";
            width: 20px;
            height: 1px;
            background-color: #fff;
            position: absolute;
            left: 50%;
            margin-left: -10px;
            bottom: 7px;
        }
    /*
  Second Level
-------------------------------*/
    #mainnav .sfNavList > li > ul {
        background: #fff !important;
        position: absolute;
        left: 0;
        top: 100%;
        min-width: 200px;
        -webkit-animation-duration: 0.2s;
        animation-duration: 0.2s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.1);
        box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.1);
    }

    .page-template-queens-bench #mainnav .sfNavList > li > ul {
        border: 1px solid #6e0a00;
    }

    .page-template-provincial-court #mainnav .sfNavList > li > ul {
        border: 1px solid #17467c;
    }

    .page-template-court-of-appeal #mainnav .sfNavList > li > ul {
        border: 1px solid #ad9768;
    }
    /*show*/
    #mainnav .sfNavList > li:hover > ul {
        display: block;
        -webkit-animation-name: fadeIn;
        animation-name: fadeIn;
    }
    /*last item*/
    #mainnav .sfNavList > li.last > ul {
        left: auto;
        right: 0;
    }

    .navlevel-2 {
        position: relative;
        z-index: 200;
        min-width: 120px;
    }

        .navlevel-2 > li,
        .navlevel-3 > li {
            padding: 0 10px;
            position: relative;
            list-style: none !important;
        }

            .navlevel-2 > li > a,
            .navlevel-3 > li > a {
                font-weight: 600;
                font-size: 13px;
                font-weight: 600;
                padding: 12px 10px 12px 0 !important;
                line-height: 1.1;
                color: #111;
                text-decoration: none;
                display: block;
                -webkit-transition: 0.2s color ease-out;
                transition: 0.2s color ease-out;
            }

    .page-template-queens-bench .navlevel-2 > li > a, .page-template-queens-bench
    .navlevel-3 > li > a {
        border-top: 1px solid #6e0a00;
        color: #6e0a00;
    }

    .page-template-provincial-court .navlevel-2 > li > a, .page-template-provincial-court
    .navlevel-3 > li > a {
        border-top: 1px solid #17467c;
        color: #17467c;
    }

    .page-template-court-of-appeal .navlevel-2 > li > a, .page-template-court-of-appeal
    .navlevel-3 > li > a {
        border-top: 1px solid #ad9768;
        color: #ad9768;
    }

    .navlevel-2 > li:first-child > a,
    .navlevel-3 > li:first-child > a {
        border-top: 0;
    }
    /*on hover*/
    .navlevel-2 > li > a:hover,
    .navlevel-2 > li > a:focus,
    .navlevel-2 > li > a:active,
    .navlevel-3 > li > a:hover,
    .navlevel-3 > li > a:focus,
    .navlevel-3 > li > a:active {
        color: #000;
    }

    .navlevel-2 > li.haschildren > a {
        position: relative;
    }

        .navlevel-2 > li.haschildren > a:after {
            content: "";
            position: absolute;
            right: 0;
            top: 13px;
            width: 0;
            height: 0;
            border-top: 6px solid transparent;
            border-bottom: 6px solid transparent;
            border-left: 6px solid green;
        }

    .page-template-queens-bench .navlevel-2 > li.haschildren > a:after {
        border-left: 6px solid #000;
    }

    .page-template-provincial-court .navlevel-2 > li.haschildren > a:after {
        border-left: 6px solid #000;
    }

    .page-template-court-of-appeal .navlevel-2 > li.haschildren > a:after {
        border-left: 6px solid #000;
    }
    /*
  Third Level
-------------------------------*/
    .navlevel-2 > li > ul {
        background: #fff !important;
        position: absolute;
        left: 100%;
        top: 0;
        min-width: 160px;
        -webkit-animation-duration: 0.2s;
        animation-duration: 0.2s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.1);
        box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.1);
    }

    .page-template-queens-bench .navlevel-2 > li > ul {
        border: 1px solid #6e0a00;
    }

    .page-template-provincial-court .navlevel-2 > li > ul {
        border: 1px solid #17467c;
    }

    .page-template-court-of-appeal .navlevel-2 > li > ul {
        border: 1px solid #ad9768;
    }
    /*show*/
    #mainnav .navlevel-2 > li:hover > ul,
    #mainnav .navlevel-2 > li:focus > ul,
    #mainnav .navlevel-2 > li:active > ul {
        display: block;
        -webkit-animation-name: fadeIn;
        animation-name: fadeIn;
    }
    /*last item*/
    #mainnav .sfNavList > li.last > ul > li > ul {
        left: auto !important;
        right: 100% !important;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.f-w1 {
    padding: 0;
}

/*
  Columns
-------------------------------*/
.f-col1,
.f-col2,
.f-col3 {
    padding-bottom: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

@media screen and (min-width: 768px) {
    .f-col1,
    .f-col2,
    .f-col3,
    .f-col4 {
        width: 25%;
        padding: 0 10px;
        float: left;
        border-bottom: 0;
    }
}

/*
  Background styles
-------------------------------*/
.footer_bg_1 {
    background: #fff;
}

.footer_bg_2 {
    padding-bottom: 65px;
    padding-top: 30px;
    position: relative;
    background-color: #000;
    overflow: hidden;
}

    .footer_bg_2::after {
        clear: both;
        content: "";
        display: table;
    }

    .footer_bg_2:before {
        content: "";
        background: url(../img/mobile-footer-bg.jpg) no-repeat center top #000;
        -webkit-background-size: 768px auto;
        background-size: 768px auto;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        display: none;
    }

@media only screen and (min-width: 768px) {
    .footer_bg_2:before {
        background: url(../img/footer-bg.jpg) no-repeat center top #000;
        -webkit-background-size: auto auto;
        background-size: auto;
    }
}

.footer_bg_2.active:before {
    display: block;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media only screen and (min-width: 768px) {
    .footer_bg_2 {
        padding-bottom: 0;
        padding-top: 30px;
    }
}

.footer_bg_2 #scrolltop {
    width: 44px;
    height: 44px;
    position: absolute;
    right: 7px;
    bottom: 7px;
    border-radius: 2px;
    background: url(../img/i-arrow-top.png) no-repeat center center;
    -webkit-background-size: 15px auto;
    background-size: 15px auto;
}

.page-template-queens-bench .footer_bg_2 #scrolltop {
    background-color: #6e0a00;
}

.page-template-provincial-court .footer_bg_2 #scrolltop {
    background-color: #17467c;
}

.page-template-court-of-appeal .footer_bg_2 #scrolltop {
    background-color: #ad9768;
}

@media only screen and (min-width: 768px) {
    .footer_bg_2 #scrolltop {
        display: none;
    }
}

/*
 Headings
-------------------------------*/
.f-w1 h2 {
    margin-top: 0;
    color: #111;
    font-weight: 600;
}

.f-w1 h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

@media screen and (min-width: 768px) {
    .f-w1 h2 {
        font-size: 22px;
    }
}

/*
 Paragraphs
-------------------------------*/
.f-w1 p {
    margin: 0;
}

.f-w1 .f2-date {
    margin-bottom: 10px;
    color: #333;
    font-size: 12px;
}

.f-w1 .clear {
    margin-top: 20px;
    border-top: 1px dashed #ddd;
}

.f-w1 p:last-of-type + .clear {
    border-top: 0;
}

/*
 Lists
-------------------------------*/
.f-w1 ul {
    padding-left: 20px;
}

.f-w1 li {
    margin-bottom: 5px;
}

.f-w1 .postlist {
    padding: 0;
}

    .f-w1 .postlist li {
        border-top: 1px solid #eee;
        padding: 10px 0;
        list-style: none;
    }

        .f-w1 .postlist li:first-child {
            border-top: 0;
            padding-top: 0;
        }

/*
 Footer bottom text
-------------------------------*/
.textf {
    padding: 20px 0 20px 0;
    font-size: 11px;
    float: left;
}

/*
 Credit
-------------------------------*/
#credit {
    padding: 20px 0 20px 0;
    float: right;
}

    #credit a {
        font-size: 11px;
        color: #717171;
        text-decoration: none;
        -webkit-transition: 0.2s all ease-out;
        transition: 0.2s all ease-out;
    }

        #credit a:hover,
        #credit a:focus,
        #credit a:active {
            color: #0093D0;
        }

@media screen and (max-width: 767px) {
    /*
     Footer bottom text
    -------------------------------*/
    .textf {
        padding: 20px 0 10px 0;
        font-size: 11px;
        float: none;
    }
    /*
     Credit
    -------------------------------*/
    #credit {
        padding: 0 0 20px 0;
        float: none;
    }
}

#footer .f-w1 {
    position: relative;
    padding-top: 20px;
}

@media only screen and (min-width: 768px) {
    #footer .f-w1 {
        padding-top: 52px;
    }
}

@media only screen and (min-width: 768px) {
    #footer .footer-sitebrand {
        position: absolute;
        left: 15px;
        top: -33px;
        z-index: 40;
    }
}

#footer .sf_colsOut {
    padding-right: 10px;
}

#footer .footer-sitebrand .sfContentBlock {
    position: relative;
}

@media only screen and (max-width: 767px) {
    #footer .footer-sitebrand .sfContentBlock {
        display: table;
    }

        #footer .footer-sitebrand .sfContentBlock > * {
            display: table-cell;
            vertical-align: middle;
        }

        #footer .footer-sitebrand .sfContentBlock img {
            max-width: 60px;
        }
}

#footer .footer-sitebrand .sfContentBlock h3 {
    font-size: 20px;
    font-weight: 600;
}

.page-template-queens-bench #footer .footer-sitebrand .sfContentBlock h3 {
    color: #6e0a00;
}

.page-template-provincial-court #footer .footer-sitebrand .sfContentBlock h3 {
    color: #17467c;
}

.page-template-court-of-appeal #footer .footer-sitebrand .sfContentBlock h3 {
    color: #ad9768;
}

@media only screen and (max-width: 767px) {
    #footer .footer-sitebrand .sfContentBlock h3 {
        width: 215px;
        padding-left: 10px;
        font-size: 18px;
    }
}

@media only screen and (min-width: 768px) {
    #footer .footer-sitebrand .sfContentBlock h3 {
        position: absolute;
        left: 0px;
        top: -5px;
    }
}

#footer .footer-nav {
    padding: 25px 0 25px 0;
}

    #footer .footer-nav .sf_4cols_1_25 {
        border-top: 1px solid #dcdcdc;
    }

@media only screen and (min-width: 768px) {
    #footer .footer-nav .sf_4cols_1_25 {
        border-top: 0;
    }
}

@media only screen and (min-width: 768px) {
    #footer .footer-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 25px 0 25px 0px;
        border-top: 0;
    }
}

#footer .footer-nav > div {
    position: relative;
    z-index: 50;
    float: none;
}

@media only screen and (min-width: 768px) {
    #footer .footer-nav > div {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
}

#footer .footer-nav > div:last-of-type {
    padding-right: 0;
}

#footer .footer-nav > div > div {
    margin: 0;
}

#footer .footer-nav .sfNavList {
    padding: 0;
    margin: 0;
    line-height: 1;
    border-bottom: 1px solid #dcdcdc;
}

@media only screen and (min-width: 768px) {
    #footer .footer-nav .sfNavList {
        border-bottom: 0;
    }
}

#footer .footer-nav .sfNavList li {
    margin: 0;
    position: relative;
}

    #footer .footer-nav .sfNavList li.active-now > ul {
        display: block;
        -webkit-animation-name: fadeInDown;
        animation-name: fadeInDown;
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-duration: 0.2s;
        animation-duration: 0.2s;
        -webkit-animation-delay: 0s;
        animation-delay: 0s;
        -webkit-animation-timing-function: ease;
        animation-timing-function: ease;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

#footer .footer-nav .sfNavList > li.active-now > a:after {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

#footer .footer-nav .sfNavList > li > a {
    color: #646464;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1;
    display: block;
    padding: 13px 12px;
    text-decoration: none;
}

    #footer .footer-nav .sfNavList > li > a:after {
        content: "";
        width: 13px;
        height: 13px;
        float: right;
        background: url(../img/i-footer-icon.png) no-repeat;
        -webkit-background-size: cover;
        background-size: cover;
        -webkit-transition: all 0.2s ease-out;
        transition: all 0.2s ease-out;
    }

@media only screen and (min-width: 768px) {
    #footer .footer-nav .sfNavList > li > a:after {
        display: none;
    }
}

@media only screen and (min-width: 768px) {
    #footer .footer-nav .sfNavList > li > a {
        display: inline-block;
        color: #323232;
        font-size: 16px;
        padding: 0;
    }
}

#footer .footer-nav .sfNavList > li > ul {
    padding: 0 12px 20px 12px;
    display: none;
}

@media only screen and (min-width: 768px) {
    #footer .footer-nav .sfNavList > li > ul {
        display: block;
        margin-top: 10px;
        padding: 0;
    }
}

#footer .footer-nav .sfNavList > li > ul li {
    padding-left: 8px;
    position: relative;
}

    #footer .footer-nav .sfNavList > li > ul li:before {
        content: "\2022";
        position: absolute;
        left: 0;
        top: 1px;
        color: #680900;
    }

.page-template-queens-bench #footer .footer-nav .sfNavList > li > ul li:before {
    color: #6e0a00;
}

.page-template-provincial-court #footer .footer-nav .sfNavList > li > ul li:before {
    color: #17467c;
}

.page-template-court-of-appeal #footer .footer-nav .sfNavList > li > ul li:before {
    color: #ad9768;
}

#footer .footer-nav .sfNavList > li > ul > li + li {
    margin-top: 6px;
}

#footer .footer-nav .sfNavList > li > ul > li > a {
    color: #969696;
    font-size: 15px;
    text-decoration: none;
}

#footer .footer-logo {
    border-top: 2px solid #680900;
    text-align: center;
    margin-left: -18px;
    margin-right: -18px;
    width: auto;
    padding-bottom: 30px;
    padding-top: 20px;
}

.page-template-queens-bench #footer .footer-logo {
    border-top-color: #6e0a00;
}

.page-template-provincial-court #footer .footer-logo {
    border-top-color: #17467c;
}

.page-template-court-of-appeal #footer .footer-logo {
    border-top-color: #ad9768;
}

@media only screen and (min-width: 768px) {
    #footer .footer-logo {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        padding: 15px 0 20px 0;
    }
}

#footer .footer-logo:hover > div:not(:first-child) {
    opacity: 0.5;
}

    #footer .footer-logo:hover > div:not(:first-child):hover {
        opacity: 1;
    }

#footer .footer-logo > div {
    -webkit-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
}

@media only screen and (min-width: 768px) {
    #footer .footer-logo > div {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
}

#footer .footer-logo > div + div {
    padding-top: 12px;
}

@media only screen and (min-width: 768px) {
    #footer .footer-logo > div + div {
        padding-top: 0;
        margin-left: 36px;
    }
}

#footer .footer-logo > div img {
    vertical-align: middle;
}

#footer .footer-logo > div div {
    margin: 0;
}

#footer .footer-logo h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #646464;
    margin-bottom: 5px;
}

@media only screen and (min-width: 768px) {
    #footer .footer-logo h2 {
        padding-left: 4px;
        font-size: 16px;
        margin-bottom: 0;
    }
}

#footer .f-w2 .textf {
    float: none;
}

@media only screen and (max-width: 767px) {
    #footer .f-w2 .textf {
        padding-top: 0;
        padding-bottom: 0;
    }
}

#footer .f-w2 .footer-bottom-home {
    text-align: center;
}

    #footer .f-w2 .footer-bottom-home a {
        content: url(../img/CourtsLogoInverted.png);
        color: #fff;
        text-transform: uppercase;
        font-size: 18px;
        font-weight: 400;
        display: inline-block;
        margin-bottom: 20px;
        text-decoration: none;
    }


#footer .f-w2 .footer-bottom-nav {
    text-align: center;
}

    #footer .f-w2 .footer-bottom-nav ul {
        padding: 0;
    }

@media only screen and (max-width: 767px) {
    #footer .f-w2 .footer-bottom-nav ul {
        margin: 0 auto 20px auto;
        width: 190px;
    }
}

#footer .f-w2 .footer-bottom-nav li {
    display: inline-block;
    margin-bottom: 20px;
}

    #footer .f-w2 .footer-bottom-nav li:not(:first-child) {
        margin-top: 15px;
    }

@media only screen and (min-width: 768px) {
    #footer .f-w2 .footer-bottom-nav li:not(:first-child) {
        margin-top: 0;
        margin-left: 36px;
    }
}

#footer .f-w2 .footer-bottom-nav a {
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    height: 31px;
    line-height: 30px;
    display: block;
    width: 190px;
    text-align: center;
    border: 1px solid #fff;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    opacity: 0.5;
    text-transform: uppercase;
}

@media only screen and (min-width: 768px) {
    #footer .f-w2 .footer-bottom-nav a {
        font-size: 16px;
        height: 41px;
        line-height: 40px;
        width: 250px;
    }
}

#footer .f-w2 .footer-bottom-nav a.sfSel {
    opacity: 1;
}

.page-template-queens-bench #footer .f-w2 .footer-bottom-nav a.sfSel {
    background-color: #6e0a00;
}

.page-template-provincial-court #footer .f-w2 .footer-bottom-nav a.sfSel {
    background-color: #17467c;
}

.page-template-court-of-appeal #footer .f-w2 .footer-bottom-nav a.sfSel {
    background-color: #ad9768;
}

#footer .f-w2 .footer-bottom-nav a:hover {
    opacity: 1;
}

#footer .f-w2 .footer-bottom-nav a.class-court_of_queen_s_bench:hover {
    background-color: #6e0a00;
}

#footer .f-w2 .footer-bottom-nav a.class-court_of_king_s_bench:hover {
    background-color: #6e0a00;
}

#footer .f-w2 .footer-bottom-nav a.class-provincial_court:hover {
    background-color: #17467c;
}

#footer .f-w2 .footer-bottom-nav a.class-court_of_appeal:hover {
    background-color: #ad9768;
}

#footer .f-w2 .footer-copyrights {
    text-align: center;
    color: #fff;
    font-size: 12px;
    line-height: 2;
}

@media only screen and (min-width: 768px) {
    #footer .f-w2 .footer-copyrights {
        font-size: 15px;
        line-height: 1.75;
    }
}

#footer .f-w2 .footer-copyrights ul {
    margin: 0;
    padding: 0;
}

@media only screen and (min-width: 480px) {
    #footer .f-w2 .footer-copyrights ul {
        display: inline-block;
    }
}

#footer .f-w2 .footer-copyrights li {
    width: 50%;
    float: left;
}

@media only screen and (min-width: 480px) {
    #footer .f-w2 .footer-copyrights li {
        display: inline-block;
        position: relative;
        width: auto;
        float: none;
    }

        #footer .f-w2 .footer-copyrights li + li {
            padding-left: 25px;
        }

            #footer .f-w2 .footer-copyrights li + li:before {
                content: "";
                position: absolute;
                left: 12px;
                width: 1px;
                top: 4px;
                height: 15px;
                background-color: #fff;
                opacity: 0.5;
            }
}

@media only screen and (min-width: 480px) and (min-width: 768px) {
    #footer .f-w2 .footer-copyrights li + li:before {
        top: 6px;
    }
}

#footer .f-w2 .footer-copyrights li a {
    display: block;
}

#footer .f-w2 .footer-copyrights .copytext {
    display: inline-block;
    margin-right: 15px;
    opacity: 0.5;
}

#footer .f-w2 .footer-copyrights a {
    color: #fff;
    text-decoration: none;
    opacity: 0.5;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

    #footer .f-w2 .footer-copyrights a:hover {
        opacity: 1;
    }

/*--------------------------------------------------------------
# Main Sidebar
--------------------------------------------------------------*/
@media screen and (max-width: 960px) {
    .rightsidebar {
        padding-top: 40px;
        margin-top: 40px;
        border-top: 2px solid #0093d0;
    }
}

.rightsidebar h2 {
    margin-bottom: 10px;
}

.sfSuccess {
    color: red;
    font-size: 120%;
    line-height: 1.1em;
}

.sfErrorSummary {
    color: red;
    font-size: 120%;
}

/*** fix for captcha error (position at bottom of form)*/
.formWrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

    .formWrap .sfErrorSummary {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

/*--------------------------------------------------------------
# Slick slider
--------------------------------------------------------------*/
.slick-slider {
    position: relative;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

    .slick-list:focus {
        outline: none;
    }

    .slick-list.dragging {
        cursor: pointer;
        cursor: hand;
    }

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}

    .slick-track:before,
    .slick-track:after {
        display: table;
        content: '';
    }

    .slick-track:after {
        clear: both;
    }

.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}

[dir='rtl'] .slick-slide {
    float: right;
}

.slick-slide img {
    display: block;
}

.slick-slide.slick-loading img {
    display: none;
}

.slick-slide.dragging img {
    pointer-events: none;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-loading .slick-slide {
    visibility: hidden;
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
    display: none;
}

/*
  Full Slider
-------------------------------*/
.slides {
    padding: 0;
    margin-top: 0;
}

    .slides img {
        min-width: 100%;
    }

.maincontent ul.slides {
    padding: 0;
    margin: 0;
}

.maincontent ul.slides-nav {
    padding: 0;
    margin: 10px 0 0;
}

    .maincontent ul.slides-nav li {
        padding: 2px;
    }

    .maincontent ul.slides-nav li, .maincontent ul.slides li {
        margin: 0;
    }

/*
  Slide content
-------------------------------*/
@media screen and (min-width: 1200px) {
    .slick-slide {
        position: relative;
    }

        .slick-slide > .container {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            background: #fff;
            background: rgba(255, 255, 255, 0.9);
            max-width: 100%;
            padding: 0;
        }

    #masthead .slick-slide > .container > .banner-content {
        padding-top: 1.3em;
        padding-bottom: 1.3em;
    }

    .slick-slide > .container h2 {
        margin-bottom: 10px;
        margin-top: 0;
        font-size: 22px;
        color: #111;
    }

    .slick-slide > .container p {
        margin: 1em 0;
    }
}

/*
  Slick Previous and Next
-------------------------------*/
.slick-arrow {
    display: none !important;
}

@media screen and (min-width: 1200px) {
    .slick-arrow {
        display: block !important;
        border: 0;
        width: 50px;
        height: 50px;
        overflow: hidden;
        white-space: nowrap;
        position: absolute;
        top: 35%;
        margin-top: -25px;
        z-index: 50;
        border-radius: 50%;
        padding: 0;
        background-color: #fff;
        background-color: rgba(255, 255, 255, 0.7);
        text-align: center;
        -webkit-box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.24), 0 1.5px 6px rgba(0, 0, 0, 0.12);
        box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.24), 0 1.5px 6px rgba(0, 0, 0, 0.12);
        -webkit-transition: 0.2s all ease-out;
        transition: 0.2s all ease-out;
    }

    .slider .slick-arrow {
        top: 50%;
    }

    .ie8 .slick-arrow:before {
        margin-left: 20px;
    }

    .slick-arrow:hover,
    .slick-arrow:focus,
    .slick-arrow:active {
        -webkit-box-shadow: 0 15px 24px rgba(0, 0, 0, 0.22), 0 19px 76px rgba(0, 0, 0, 0.3);
        box-shadow: 0 15px 24px rgba(0, 0, 0, 0.22), 0 19px 76px rgba(0, 0, 0, 0.3);
        background-color: #fff;
    }

    .slick-arrow:before {
        display: inline-block;
        text-indent: 0;
        width: 50px;
        color: #0093D0;
    }

    .slick-arrow:hover:before,
    .slick-arrow:focus:before,
    .slick-arrow:active:before {
        color: #111;
    }

    .slider .slick-prev, .slider .slick-next {
        background-image: url(../img/controls.png);
        cursor: pointer;
        display: block;
        height: 32px;
        margin-top: -16px;
        opacity: 0.5;
        position: absolute;
        top: 50%;
        -webkit-transition: opacity 0.35s linear 0s;
        transition: opacity 0.35s linear 0s;
        width: 32px;
        z-index: 9999;
        background-color: transparent;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .slider .slick-next {
        background-position: -32px 0;
    }

        .slider .slick-prev:hover, .slider .slick-next:hover {
            opacity: 1;
        }

    .slider .slick-arrow.slick-prev:before, .slider .slick-arrow.slick-next:before {
        content: " ";
    }

    .slick-prev {
        left: 50px;
    }

    .slider .slick-prev {
        left: 20px;
    }

    .slick-arrow.slick-prev:before {
        content: "   \25C0";
        padding-right: 3px;
    }

    .slick-next {
        right: 50px;
    }

    .slider .slick-next {
        right: 20px;
    }

    .slick-arrow.slick-next:before {
        content: "   \25b6";
        padding-left: 3px;
    }
}

/*
  Slick dots
-------------------------------*/
.slick-dots {
    list-style: none;
    padding: 0;
    text-align: center;
    margin: 20px 0;
}

    .slick-dots > li {
        display: inline-block;
        padding: 0 5px;
    }

    .slick-dots button {
        height: 15px;
        width: 15px;
        background: #ccc;
        border: none;
        text-indent: 300%;
        white-space: nowrap;
        overflow: hidden;
        border-radius: 50%;
    }

    .slick-dots .slick-active button {
        background: #0093D0;
    }

@media screen and (min-width: 768px) {
    .slick-dots {
        margin: 40px 0;
    }

        .slick-dots > li {
            padding: 0 10px;
        }

        .slick-dots button {
            height: 20px;
            width: 20px;
        }
}

.dotted {
    border-style: dashed;
    margin: 2rem 0;
}

[data-whatinput="mouse"] a:focus, button:focus
[data-whatinput="touch"] a:focus, button:focus {
    outline: none;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
.maincontent a:not(.btn) .maincontent a:not(.gsbutton) {
    text-decoration: none;
    text-decoration: underline;
    -webkit-transition: color 0.2s ease-out;
    transition: color 0.2s ease-out;
}

.page-template-queens-bench .maincontent a:not(.btn) .maincontent a:not(.gsbutton) {
    color: #6e0a00;
}

.page-template-provincial-court .maincontent a:not(.btn) .maincontent a:not(.gsbutton) {
    color: #17467c;
}

.page-template-court-of-appeal .maincontent a:not(.btn) .maincontent a:not(.gsbutton) {
    color: #705d38;
}

.page-template-queens-bench a:visited {
    color: #6e0a00;
}

.page-template-provincial-court a:visited {
    color: #17467c;
}

.page-template-court-of-appeal a:visited {
    color: #ad9768;
}

.page-template-court-of-appeal .maincontent a {
    color: #896f04;
}

    .page-template-court-of-appeal .maincontent a:hover {
        color: #ad9768;
    }

a:hover,
a:focus,
a:active {
    text-decoration: underline;
}

/*
  Read more links
-------------------------------*/
/*
  Placeholders
-------------------------------*/
/*--------------------------------------------------------------
# Accordions
--------------------------------------------------------------*/
.sfexpandableListWrp > ul {
    margin: 1.3em 0 2.6em 0 !important;
    border: 1px solid #ddd;
    padding: 0;
}

/*
  Expandable Link
-------------------------------*/
.sflistExpandAllLnkWrp {
    margin-top: 20px;
}

.sflistExpandAllLnk,
.sflistCollapseAllLnk {
    display: inline-block;
    text-decoration: none;
}

    .sflistExpandAllLnk:before,
    .sflistCollapseAllLnk:before {
        content: "\2B";
        display: inline-block;
        margin-right: 5px;
        position: relative;
        top: -2px;
        height: 20px;
        width: 20px;
        line-height: 20px;
        font-weight: 700;
        color: #fff;
        text-align: center;
    }

.page-template-queens-bench .sflistExpandAllLnk:before, .page-template-queens-bench
.sflistCollapseAllLnk:before {
    background: #6e0a00;
}

.page-template-provincial-court .sflistExpandAllLnk:before, .page-template-provincial-court
.sflistCollapseAllLnk:before {
    background: #17467c;
}

.page-template-court-of-appeal .sflistExpandAllLnk:before, .page-template-court-of-appeal
.sflistCollapseAllLnk:before {
    background: #ad9768;
}

.sflistCollapseAllLnk:before {
    content: "\2D";
    line-height: 16px;
}

/*
  List Items
-------------------------------*/
.sfexpandableListWrp > ul > li {
    overflow: hidden;
    position: relative;
    list-style: none !important;
    border-top: 1px solid #ddd;
    margin-bottom: 0 !important;
}

    .sfexpandableListWrp > ul > li:first-child {
        border-top: 0;
    }

/*
  List Content
-------------------------------*/
.sfexpandableListWrp .sflistItemContent {
    height: 0;
    padding: 0 10px;
    background: #fff;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

    .sfexpandableListWrp .sflistItemContent.sflistItemContentExp {
        -webkit-animation-name: fadeIn;
        animation-name: fadeIn;
        height: auto;
        padding: 10px;
    }

@media (min-width: 768px) {
    .sfexpandableListWrp .sflistItemContent.sflistItemContentExp {
        padding: 20px;
    }
}

/*
  List Links
-------------------------------*/
.sfexpandableListWrp > ul > li > h3 {
    margin: 0;
}

    .sfexpandableListWrp > ul > li > h3 > a {
        display: block;
        padding: 10px;
        font-weight: 400;
        font-size: 16px;
        background: #fff;
        color: #111;
        text-decoration: none;
        -webkit-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }

        .sfexpandableListWrp > ul > li > h3 > a:hover,
        .sfexpandableListWrp > ul > li > h3 > a:focus {
            background: #f8f8f8;
        }

        .sfexpandableListWrp > ul > li > h3 > a.sflistListItemExpanded {
            color: #fff;
        }

.page-template-queens-bench .sfexpandableListWrp > ul > li > h3 > a.sflistListItemExpanded {
    background: #6e0a00;
}

.page-template-provincial-court .sfexpandableListWrp > ul > li > h3 > a.sflistListItemExpanded {
    background: #17467c;
}

.page-template-court-of-appeal .sfexpandableListWrp > ul > li > h3 > a.sflistListItemExpanded {
    background: #ad9768;
}

@media (min-width: 768px) {
    .sfexpandableListWrp > ul > li > h3 > a {
        font-size: 19px;
        padding: 10px 20px;
    }
}

/*
  List Links Arrow
-------------------------------*/
.sfexpandableListWrp > ul > li > h3 > a:after {
    content: "";
    display: inline-block;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #0093d0;
    margin-left: 10px;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.page-template-queens-bench .sfexpandableListWrp > ul > li > h3 > a:after {
    border-left-color: #6e0a00;
}

.page-template-provincial-court .sfexpandableListWrp > ul > li > h3 > a:after {
    border-left-color: #17467c;
}

.page-template-court-of-appeal .sfexpandableListWrp > ul > li > h3 > a:after {
    border-left-color: #ad9768;
}

/*hover/active*/
.sfexpandableListWrp > ul > li > h3 > a:hover:after,
.sfexpandableListWrp > ul > li > h3 > a.sflistListItemExpanded:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

/*active*/
.sfexpandableListWrp > ul > li > h3 > a.sflistListItemExpanded:after {
    border-left-color: #fff;
}

@media screen and (min-width: 768px) {
    .sfexpandableListWrp > ul > li > h3 > a:after {
        border-top-width: 6px;
        border-bottom-width: 6px;
        border-left-width: 6px;
    }
}

/*--------------------------------------------------------------
#Calendar
--------------------------------------------------------------*/
.RadScheduler_Metro .rsHeader {
    border: none !important;
}

    .RadScheduler_Metro .rsHeader h2 {
        color: #fff;
        text-transform: capitalize !important;
    }

.RadScheduler .rsHeader ul {
    display: none;
}

.sfcalendarWrp .rsAptContent {
    font-weight: bold !important;
    color: #fff !important;
    padding: 2px !important;
    padding-left: 15px !important;
}

.sfcalendarWrp .responsive-tables table {
    margin: 0 !important;
    border-collapse: collapse;
}

    .sfcalendarWrp .responsive-tables table th {
        padding: 2px !important;
        padding-left: 4px !important;
    }

    .sfcalendarWrp .responsive-tables table td {
        padding: 0 !important;
    }

@media screen and (min-width: 368px) {
    .RadScheduler .rsHeader ul {
        margin: 0;
        display: block;
    }
}
/*--------------------------------------------------------------
#MonthScheduleWidget
--------------------------------------------------------------*/
.MonthScheduleWidget .month_title {
    background-color: #888;
}

    .MonthScheduleWidget .month_title span {
        font-weight: bold;
        font-size: 1.33em;
        padding-top: 2px;
        color: white;
    }

.MonthScheduleWidget .day_title span {
    font-weight: bold;
}

.MonthScheduleWidget .open_event {
    color: darkgreen;
    font-weight: bold;
}

.MonthScheduleWidget .closed_event {
    color: #6e0a00;
    font-weight: bold;
}

.MonthScheduleWidget .weekend {
    background-color: #f3f3f3;
}

.MonthScheduleWidget .week td {
    line-height: 1.5em !important;
    height: 6em;
    vertical-align: top;
}
/*--------------------------------------------------------------
# Tabs
--------------------------------------------------------------*/
@media (min-width: 767px) {
    #page-products {
        margin-left: -50px;
        margin-right: -50px;
    }
}

.tabs {
    visibility: hidden;
    -webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

    .tabs.ready {
        visibility: visible;
        -webkit-animation-name: fadeIn;
        animation-name: fadeIn;
    }

/*
  Overwrites
-------------------------------*/
.maincontent .tabs-accordion {
    padding: 0;
    margin: 0.625em 0;
    /*required*/
    width: 100%;
}

    .maincontent .tabs-accordion li {
        list-style: none;
        margin: 0;
        overflow: hidden;
    }

/*
  Lists
-------------------------------*/
.tabs-accordion li {
    display: inline;
}

/*
  Tabs Navigation
-------------------------------*/
.tab {
    display: block;
    padding: 14px 42px 14px 16px;
    line-height: 1;
    font-size: 15px;
    font-weight: 600;
    text-transform: capitalize;
    color: #111;
    background-color: #fff;
    border: 1px solid #eee;
    margin-bottom: -1px;
    position: relative;
    text-decoration: none;
    -webkit-transition: 0.2s color ease-out;
    transition: 0.2s color ease-out;
}

    .tab.is-selected {
        background-color: #0093D0;
        color: #fff;
        -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.16);
        box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.16);
    }

        .tab.is-selected:focus {
            color: #fff;
        }

    .tab:focus {
        outline: 0;
    }

    /*tab arrow*/
    .tab:after {
        content: "";
        position: absolute;
        top: 0;
        top: 50%;
        margin-top: -2px;
        right: 17px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #111;
        -webkit-transition: 0.3s all ease-out;
        transition: 0.3s all ease-out;
    }

    .tab.is-selected:after {
        border-top-color: #fff;
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

@media (min-width: 768px) {
    .tab {
        display: inline-block;
        font-size: 14px;
        font-weight: 400;
        border: 0;
        line-height: 38px;
        border-bottom: 0;
        margin-bottom: 0;
        padding: 1px 1px 0 1px;
        background-color: #111;
        background-color: #eee;
        -webkit-transition: 0.2s color ease-out;
        transition: 0.2s color ease-out;
    }

        .tab:after {
            display: none;
        }

        .tab.is-selected {
            background-color: #eee;
            border-top: 2px solid #0093D0;
            -webkit-box-shadow: none;
            box-shadow: none;
            font-weight: 700;
        }
        /*hover*/
        .tab:hover,
        .tab:focus {
            color: #0093D0;
            outline: 0;
        }

        .tab > span {
            display: block;
            position: relative;
            padding: 0 13px;
            background-color: #fff;
        }

        .tab.is-selected > span {
            background-color: #fff;
            color: #111;
        }

            .tab.is-selected > span:after {
                content: "";
                position: absolute;
                left: 0;
                right: 0;
                height: 2px;
                background-color: #fff;
                top: 100%;
            }
}

/*
  Panels
-------------------------------*/
.panel.is-hidden {
    display: none;
}

.panel {
    overflow: hidden;
    width: 100%;
    color: #fff;
    padding: 0 5px;
}

    .panel > div {
        padding: 15px 0 22px 0;
    }

        .panel > div > div {
            -webkit-animation-duration: 0.3s;
            animation-duration: 0.3s;
            -webkit-animation-fill-mode: both;
            animation-fill-mode: both;
        }

.tab.is-selected + .panel > div > div {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

@media (min-width: 768px) {
    .panel {
        background-color: #eee;
        float: left;
        padding: 1px;
    }

        .panel > div {
            background-color: #fff;
            padding: 44px 27px;
        }
}

/*panel first item*/
.panel .sfContentBlock > *:first-child {
    margin-top: 0;
}

.panel .sfContentBlock {
    overflow: hidden;
}

/*
  Panels content
-------------------------------*/
/*panel headings*/
.panel h1,
.panel h2,
.panel h3,
.panel h4,
.panel h5,
.panel h6 {
    color: #111;
}

.panel h2 {
    font-size: 25px;
    line-height: 1.25;
    margin-bottom: 10px;
}

.panel h3 {
    font-size: 20px;
}

/*panel text*/
.panel p,
.panel {
    font-size: 14px;
    color: #111;
    line-height: 1.57;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .panel h2 {
        font-size: 32px;
        color: #febd15;
        margin-bottom: 0.625em;
    }
}

/*
  Lists
-------------------------------*/
.maincontent .nav-tabs li {
    display: table-cell;
    list-style: outside none none;
    margin: 0;
    vertical-align: bottom;
}

/*
  Links
-------------------------------*/
.maincontent .nav-tabs a {
    text-decoration: none;
    line-height: 1.2;
    display: block;
    padding: 13px 10px 10px 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    margin-right: 4px;
    border: 1px solid #ddd;
    margin-bottom: -1px;
    text-align: center;
}

.maincontent .nav-tabs li:last-child a {
    margin-right: 0;
}

.maincontent .nav-tabs a:hover,
.maincontent .nav-tabs a:focus,
.maincontent .nav-tabs a:active {
    color: #0093d0;
}

/*active*/
.maincontent .nav-tabs a[aria-selected="true"] {
    color: #0093d0;
    padding-bottom: 15px;
    border-top: 3px solid #0093d0;
    border-bottom-color: #fff;
}

/*
    Content
  -------------------------------*/
.tabs > div {
    border: 1px solid #ddd;
}

    .tabs > div .sfContentBlock > *:first-child {
        margin-top: 0;
    }

.tabs > div {
    padding: 20px 10px;
}

    .tabs > div[aria-hidden="true"] {
        display: none;
    }

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
/*
  Index columns (homepage)
-------------------------------*/
.index-cols {
    padding: 20px 0;
    height: auto;
}

.index-col {
    border-top: 1px solid #eee;
}

    .index-col:first-child {
        border-top: 0;
    }

.index-cols h2 {
    margin-bottom: 5px;
}

/*border frame*/
.index-img img {
    padding: 4px;
    border: 1px solid #ddd;
    background-color: #fff;
    height: auto;
}

/*variation*/
.img-brow img {
    border: none;
}

@media screen and (min-width: 768px) {
    /*single column*/
    .index-col {
        width: 30%;
        margin: 0;
        padding: 0;
        float: left;
        border: 0;
    }
    /*variation*/
    .index-col-center {
        margin: 0 5%;
    }
}

/*
  Social Box
  think of it as featured 
  list of the site
-------------------------------*/
.social-box > div {
    padding: 50px 0 30px 0;
    height: auto;
    border-bottom: 1px solid #eee;
}

/*Image icon*/
.social-star {
    display: block;
    border: none;
    margin: auto;
}

@media screen and (min-width: 768px) {
    .social-star {
        margin: 0;
        float: left;
    }
}

/*content : p tag*/
.social-slogan {
    padding: 0 10px;
    font-size: 16px;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .social-slogan {
        float: left;
        padding: 0;
        width: 70%;
        margin: 0 5% 0 0;
        font-size: 18px;
        padding-left: 20px;
        text-align: left;
    }
}

/*content list links*/
.social-links {
    padding: 6px 0 0;
}

    .social-links img {
        margin: 0 0 0 3px;
        border: none;
    }

/*button*/
.social-button {
    margin: 0;
    padding: 0;
    text-align: center;
}

    .social-button a {
        display: inline-block;
        margin: 0;
    }

@media screen and (min-width: 768px) {
    .social-button {
        float: right;
        width: 20%;
    }

        .social-button a {
            display: block;
        }
}

.albertacourt-listgroup > li {
    position: relative;
}

    .albertacourt-listgroup > li::after {
        clear: both;
        content: "";
        display: table;
    }

    .albertacourt-listgroup > li + li {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid #e1e1e1;
    }

.albertacourt-listgroup h2 {
    margin-top: 0;
}

    .albertacourt-listgroup h2 a {
        color: inherit;
    }

@media only screen and (min-width: 768px) {
    .albertacourt-listgroup h2 {
        font-size: 24px;
    }
}

.albertacourt-listgroup .sffullstory a {
    color: #fff;
}

.albertacourt-listgroup .sffullstory p {
    margin: 0;
}

.page-template-queens-bench .albertacourt-listgroup .sffullstory {
    background-color: #6e0a00 !important;
}

.page-template-provincial-court .albertacourt-listgroup .sffullstory {
    background-color: #17467c !important;
}

.page-template-court-of-appeal .albertacourt-listgroup .sffullstory {
    background-color: #ad9768 !important;
}

.albertacourt-listgroup .thumbnailwrapper {
    display: none;
}

@media only screen and (min-width: 768px) {
    .albertacourt-listgroup .thumbnailwrapper {
        display: block;
    }
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.sf_pagerNumeric {
    padding: 2px 5px 15px 5px;
    margin: 0;
    text-align: right;
    min-height: 12px;
}

    .sf_pagerNumeric a {
        color: #ffffff;
        display: inline-block;
        font-size: 1.1em;
        padding: 1px 6px 1px 7px;
        margin: 0 4px 0 0;
        text-decoration: none;
        border: none !important;
        background: #0093d0;
    }

        .sf_pagerNumeric a.sf_PagerCurrent, .sf_pagerNumeric a:hover {
            background: rgba(0, 147, 208, 0.5);
        }

.pageWrapTop .sf_pagerNumeric {
    border-bottom: 1px solid #eee;
}

.pageWrapBottom .sf_pagerNumeric {
    border-top: 1px solid #eee;
    text-align: left;
    padding-top: 15px;
}

/*
 Heading
-------------------------------*/
.sfeventTitle,
.overviewContent h2,
.sfnewsList .sfnewsTitle {
    margin-top: 0;
    margin-bottom: 15px;
}

    .sfeventTitle a,
    .overviewContent h2 a,
    .sfnewsList .sfnewsTitle a {
        text-decoration: none;
        color: #acacac;
    }

.sflistList h2 {
    margin: 0.5em 0;
}

/*
 Date
-------------------------------*/
.sfnewsMetaInfom, .sfnewsTitle span, .sfeventsListCTA, .sfeventTitle span {
    margin-bottom: 10px;
    font-size: 12px;
    color: #333;
    display: block;
    margin-top: 5px;
}

/*
 Full Story
-------------------------------*/
.sfnewsFullStory {
    margin-top: 15px;
}

/*
 Image
-------------------------------*/
.thumbnailwrapper,
.overviewBlock .thumbnailimage,
.sfnewsList .sfimagesTmb {
    float: left;
    width: 120px;
    /*height: 78px;*/
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
}

.overviewBlock .thumbnailimage,
.sfnewsList .sfimagesTmb {
    height: 125px;
    width: 125px;
}

.Imagetitle {
    display: none;
}

/*  Widgets Styles */
.sfnewsList.sfnewsListTitleDate > li, .sfnewsList.sfnewsListTitlesOnly > li {
    border: 0;
    padding-left: 0px;
    padding-bottom: 0px;
    min-height: 0px;
    margin-bottom: 10px;
}

/*  End Widgets Styles */
.page-template-court-of-appeal .navlevel-2 > li > ul {
    border-color: #000;
}

.page-template-court-of-appeal #mainnav .navlevel-2 > li > a {
    color: #000;
}

.page-template-court-of-appeal .navlevel-2 > li.haschildren:hover > a:after {
    border-left-color: #000;
}

@media only screen and (max-width: 767px) {
    .page-template-court-of-appeal .h-w1 > .section-inner {
        padding: 0;
        overflow: hidden;
    }

    .page-template-court-of-appeal #util {
        overflow: hidden;
        text-align: center;
    }

        .page-template-court-of-appeal #util a {
            border: none;
            opacity: 1;
            position: absolute;
            left: 20px;
            right: 50px;
            height: 30px;
            top: 53px;
            top: 5px;
            display: block;
            padding: 0;
            text-align: left;
        }

            .page-template-court-of-appeal #util a img {
                max-height: 100%;
            }

        .page-template-court-of-appeal #util .util-bg {
            display: none;
            visibility: hidden;
        }

    .page-template-court-of-appeal .util-coa__search-area {
        display: none;
    }

    .page-template-court-of-appeal .mobilenav-triggers {
        background-color: #ad9768 !important;
    }

    .page-template-court-of-appeal #mainnav .navlevel-1 > li,
    .page-template-court-of-appeal #topUtility a {
        border-top-color: #000;
        border-bottom-color: #000;
    }

        .page-template-court-of-appeal #mainnav .navlevel-1 > li > a,
        .page-template-court-of-appeal #topUtility a {
            color: #000;
        }

    .page-template-court-of-appeal #mainnav .mobile-menu-bottom ul.sfNavList a.sfSel {
        color: #000;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal #header {
        padding-top: 90px;
    }

    .page-template-court-of-appeal .h-w1.is_stuck #mainnav {
        left: 0;
    }

    .page-template-court-of-appeal .util-coa__logo-area img {
        max-width: 210px;
    }

    .page-template-court-of-appeal #util .util-bg {
        display: none;
        visibility: hidden;
    }

    .page-template-court-of-appeal #util {
        height: 140px;
    }

        .page-template-court-of-appeal #util .util-inner {
            padding-top: 16px;
        }

        .page-template-court-of-appeal #util .util-coa {
            text-align: left;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            width: 100%;
        }

            .page-template-court-of-appeal #util .util-coa > div {
                float: none;
                margin: 0;
                padding: 0;
                width: 50%;
            }

                .page-template-court-of-appeal #util .util-coa > div > div {
                    margin: 0;
                }


        .page-template-court-of-appeal #util a {
            border: 0;
            line-height: 1;
            text-transform: none;
            text-align: left;
            opacity: 1;
            width: auto;
        }

        .page-template-court-of-appeal #util .util-coa__search-area .sfSearchBoxSet {
            float: right;
            clear: both;
            border-bottom-color: #fff;
        }

            .page-template-court-of-appeal #util .util-coa__search-area .sfSearchBoxSet > span {
                border: 0;
            }

            .page-template-court-of-appeal #util .util-coa__search-area .sfSearchBoxSet .sfLinkBtn {
                background-image: url(../img/i-search-white.png);
                -webkit-background-size: 16px 16px;
                background-size: 16px;
            }

            .page-template-court-of-appeal #util .util-coa__search-area .sfSearchBoxSet input.sfTxt {
                font-size: 13px;
                height: 37px;
                color: #fff;
                opacity: 1 !important;
                font-weight: 400;
                font-family: arial, sans-serif;
            }

                .page-template-court-of-appeal #util .util-coa__search-area .sfSearchBoxSet input.sfTxt::-webkit-input-placeholder {
                    color: #fff;
                }

                .page-template-court-of-appeal #util .util-coa__search-area .sfSearchBoxSet input.sfTxt:-ms-input-placeholder {
                    color: #fff;
                }

                .page-template-court-of-appeal #util .util-coa__search-area .sfSearchBoxSet input.sfTxt::placeholder {
                    color: #fff;
                }

            .page-template-court-of-appeal #util .util-coa__search-area .sfSearchBoxSet .sfLinkBtn {
                height: 37px;
                width: 37px;
                outline: none;
            }

        .page-template-court-of-appeal #util .util-coa__search-area .sfNavList {
            clear: both;
            line-height: 1;
            background: none;
        }

        .page-template-court-of-appeal #util .util-coa__search-area li {
            float: none;
            display: inline-block;
            color: #fff;
            padding-top: 8px;
            background: none;
            border: 0;
        }

            .page-template-court-of-appeal #util .util-coa__search-area li a {
                font-size: 13px;
                line-height: 1;
                font-family: arial;
                font-weight: 400;
                background: none;
            }

                .page-template-court-of-appeal #util .util-coa__search-area li a:hover {
                    color: #ad9768;
                }

            .page-template-court-of-appeal #util .util-coa__search-area li:first-child a {
                font-size: 13px;
                color: inherit;
                opacity: 1;
            }

                .page-template-court-of-appeal #util .util-coa__search-area li:first-child a:hover {
                    color: #ad9768;
                }

                .page-template-court-of-appeal #util .util-coa__search-area li:first-child a:before {
                    display: none;
                }

    .page-template-court-of-appeal #navsection {
        height: 50px;
        box-shadow: 0 10px 8px -5px rgba(0, 0, 0, 0.3);
    }

        .page-template-court-of-appeal #navsection:after {
            background-color: #ad9768 !important;
        }
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal #mainnav {
        left: 0;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal #mainnav .navlevel-1 {
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal #mainnav .navlevel-1 > li {
        -webkit-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        margin-right: 25px;
    }
}

@media only screen and (min-width: 960px) {
    .page-template-court-of-appeal #mainnav .navlevel-1 > li {
        margin-right: 30px;
    }
}

@media only screen and (min-width: 1200px) {
    .page-template-court-of-appeal #mainnav .navlevel-1 > li {
        margin-right: 70px;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal #mainnav .navlevel-1 > li:last-child {
        margin-right: 0;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal #mainnav .navlevel-1 > li:after {
        display: none;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal #mainnav .navlevel-1 > li > a {
        color: #000;
        font-family: "Monserrat", sans-serif;
        font-size: 14px;
        font-weight: 400;
        padding: 0;
        position: relative;
        letter-spacing: 0.1em;
        background: none !important;
    }
}

@media only screen and (min-width: 960px) {
    .page-template-court-of-appeal #mainnav .navlevel-1 > li > a {
        font-size: 16.5px;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal #mainnav .navlevel-1 > li > a:after {
        content: "";
        background: #000;
        height: 6px;
        left: 0;
        right: 0;
        bottom: -2px;
        position: absolute;
        display: none;
    }
}

.page-template-court-of-appeal #mainnav .navlevel-1 > li.active-trail > a:after {
    width: auto;
    display: block;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal #mainnav .navlevel-1 > li:hover > a:after,
    .page-template-court-of-appeal #mainnav .navlevel-1 > li:focus > a:after,
    .page-template-court-of-appeal #mainnav .navlevel-1 > li:active > a:after {
        display: block;
        -webkit-animation-name: fadeIn;
        animation-name: fadeIn;
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-duration: 0.2s;
        animation-duration: 0.2s;
        -webkit-animation-delay: 0s;
        animation-delay: 0s;
        -webkit-animation-timing-function: ease;
        animation-timing-function: ease;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

.page-template-court-of-appeal {
    /*
  Slider
-------------------------------*/
    /*
  Internal Banner
-------------------------------*/
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal .sfSearchBoxSet {
        width: 270px;
    }
}

@media only screen and (min-width: 960px) {
    .page-template-court-of-appeal .sfSearchBoxSet {
        width: 470px;
    }
}

.page-template-court-of-appeal .flexslider--coa {
    /*hide all but first child on mobile*/
}

    .page-template-court-of-appeal .flexslider--coa > ul > li {
        display: none;
    }

        .page-template-court-of-appeal .flexslider--coa > ul > li:first-child {
            display: block;
            opacity: 1;
        }

    .page-template-court-of-appeal .flexslider--coa .slick-slide {
        height: 336px;
        position: relative;
        overflow: hidden;
    }

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal .flexslider--coa .slick-slide {
        height: 590px;
    }
}

.page-template-court-of-appeal .flexslider--coa .slick-slide img {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 768px;
    margin-left: -384px;
    max-width: none;
    z-index: 50;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal .flexslider--coa .slick-slide img {
        width: 1920px;
        margin-left: -960px;
    }
}

@media only screen and (min-width: 1400px) {
    .page-template-court-of-appeal .flexslider--coa .slick-slide img {
        width: 1920px;
        margin-left: -960px;
    }
}

.page-template-court-of-appeal .ca-bottom-cta .slick-dots {
    position: absolute;
    left: 0;
    bottom: 100%;
    margin: 0;
    margin-bottom: 30px;
}

    .page-template-court-of-appeal .ca-bottom-cta .slick-dots li {
        padding: 0 5px;
        line-height: 1;
    }

    .page-template-court-of-appeal .ca-bottom-cta .slick-dots button {
        width: 10px;
        height: 10px;
        padding: 0;
        text-indent: -999em;
        display: inline-block;
        border: 2px solid #fff;
        border-radius: 0;
        background: none;
    }

    .page-template-court-of-appeal .ca-bottom-cta .slick-dots .slick-active button {
        background: #fff;
    }

.page-template-court-of-appeal #masthead .single-banner-responsive {
    top: -35px;
}

.page-template-court-of-appeal .mobile-menu-top .sfSearchBoxSet input.sfTxt {
    color: #000;
}

    .page-template-court-of-appeal .mobile-menu-top .sfSearchBoxSet input.sfTxt::-webkit-input-placeholder {
        color: #000;
    }

    .page-template-court-of-appeal .mobile-menu-top .sfSearchBoxSet input.sfTxt:-ms-input-placeholder {
        color: #000;
    }

    .page-template-court-of-appeal .mobile-menu-top .sfSearchBoxSet input.sfTxt::placeholder {
        color: #000;
    }

.page-template-court-of-appeal .mobile-menu-top .sfSearchBoxSet .sfLinkBtn {
    background-image: url(../img/i-search-dark.png);
    -webkit-background-size: 16px 16px;
    background-size: 16px;
}

.page-template-court-of-appeal .f-w1 {
    display: none;
}

.page-template-court-of-appeal .f-w2 {
    padding-top: 0;
    background-color: #ad9768;
    border-top: 2px solid #333132;
}

@media only screen and (max-width: 767px) {
    .page-template-court-of-appeal .f-w2 {
        background-color: #ad9768;
        border-top: 2px solid #333132;
    }
}

.page-template-court-of-appeal .f-w2:before {
    display: none;
}

.page-template-court-of-appeal .coa-prefooter__left {
    margin-top: 15px !important;
    position: relative;
}

    .page-template-court-of-appeal .coa-prefooter__left img {
        max-width: 275px;
        margin-bottom: 10px;
    }

    .page-template-court-of-appeal .coa-prefooter__left ul {
        margin-top: 30px;
        text-align: left;
    }

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal .coa-prefooter__left ul {
        margin-top: 0;
        display: inline-block;
    }
}

.page-template-court-of-appeal .coa-prefooter__left li {
    font-family: arial, sans-serif;
    font-size: 15px;
    line-height: 1;
    border-bottom: 1px solid #9f9779;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal .coa-prefooter__left li {
        display: inline-block;
        border-bottom: 0;
        margin-right: 35px;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal .coa-prefooter__left li + li {
        margin-top: 0;
    }
}

.page-template-court-of-appeal .coa-prefooter__left li a {
    text-transform: uppercase;
    font-family: arial, sans-serif;
    font-size: 15px;
    color: #1d1513;
    text-decoration: none;
}

@media only screen and (max-width: 767px) {
    .page-template-court-of-appeal .coa-prefooter__left li a {
        color: #1d1513;
        font-size: 15px;
        text-transform: uppercase;
        font-weight: 400;
        line-height: 1;
        display: block;
        padding: 13px 12px;
        text-decoration: none;
        text-align: center;
    }
}

.page-template-court-of-appeal .coa-prefooter__left .sfContentBlock a {
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-size: 19px;
    color: #1d1513;
    text-decoration: none;
}

@media only screen and (max-width: 767px) {
    .page-template-court-of-appeal .coa-prefooter__left .sfContentBlock a {
        display: block;
        line-height: 1.1;
        padding-top: 7px;
        text-align: center;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal .coa-prefooter__right {
        padding-top: 20px;
    }
}

.page-template-court-of-appeal .coa-prefooter__right .sfSearchBoxSet {
    clear: both;
    border-bottom-color: #9f9779;
    margin-top: 30px;
    margin-bottom: 30px;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal .coa-prefooter__right .sfSearchBoxSet {
        float: right;
        max-width: none;
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.page-template-court-of-appeal .coa-prefooter__right .sfSearchBoxSet .sfLinkBtn {
    background-image: url(../img/i-search-dark.png);
    -webkit-background-size: 16px 16px;
    background-size: 16px;
}

.page-template-court-of-appeal .coa-prefooter__right .sfSearchBoxSet input.sfTxt {
    font-size: 13px;
    height: 37px;
    color: black;
    opacity: 1 !important;
    font-weight: 400;
    font-family: arial, sans-serif;
}

@media only screen and (max-width: 767px) {
    .page-template-court-of-appeal .coa-prefooter__right .sfSearchBoxSet input.sfTxt {
        padding-left: 0;
    }
}

.page-template-court-of-appeal .coa-prefooter__right .sfSearchBoxSet input.sfTxt::-webkit-input-placeholder {
    color: #666666;
}

.page-template-court-of-appeal .coa-prefooter__right .sfSearchBoxSet input.sfTxt:-ms-input-placeholder {
    color: #666666;
}

.page-template-court-of-appeal .coa-prefooter__right .sfSearchBoxSet input.sfTxt::placeholder {
    color: #666666;
}

.page-template-court-of-appeal .coa-prefooter__right .sfSearchBoxSet .sfLinkBtn {
    height: 37px;
    width: 37px;
    outline: none;
}

.page-template-court-of-appeal .coa-footer-links {
    margin-top: 20px;
    border-top: 2px solid #333132;
    padding-top: 15px;
}

@media only screen and (min-width: 1200px) {
    .page-template-court-of-appeal .coa-footer-links {
        padding-top: 10px;
    }
}

.page-template-court-of-appeal .coa-footer-links p {
    color: #1d1513;
    font-size: 15px;
    text-transform: uppercase;
    margin: 0;
    font-family: arial, sans-serif;
    margin-right: 20px;
    margin-bottom: 10px;
}

@media only screen and (min-width: 1200px) {
    .page-template-court-of-appeal .coa-footer-links p {
        margin-bottom: 0;
        display: block;
    }
}

.page-template-court-of-appeal .coa-footer-links ul {
    margin-bottom: 15px;
}

@media only screen and (min-width: 960px) {
    .page-template-court-of-appeal .coa-footer-links ul {
        margin-bottom: 0;
        display: block;
    }
}

@media only screen and (min-width: 960px) {
    .page-template-court-of-appeal .coa-footer-links li {
        display: inline-block;
        margin-right: 25px;
        margin-left: 25px;
    }
}

.page-template-court-of-appeal .coa-footer-links a {
    color: #1d1513;
    font-size: 15px;
    font-family: arial, sans-serif;
    text-decoration: none;
}

    .page-template-court-of-appeal .coa-footer-links a:hover {
        color: #000;
    }

.page-template-court-of-appeal {
    /* duplicates gsbutton style so should be removed when these exceptions are dealt with*/
}

    .page-template-court-of-appeal #content {
        background: #fff;
    }

        .page-template-court-of-appeal #content .home-3blocks {
            margin-left: -25px !important;
            margin-right: -25px !important;
        }

            .page-template-court-of-appeal #content .home-3blocks > div {
                padding-left: 25px;
                padding-right: 25px;
            }

                .page-template-court-of-appeal #content .home-3blocks > div > div {
                    border-bottom: 0;
                    -webkit-box-shadow: none;
                    box-shadow: none;
                    padding: 0;
                    background: none;
                    line-height: 1.5;
                    font-size: 16px;
                    font-family: Arial, sans-serif;
                    display: -webkit-box;
                    display: -ms-flexbox;
                    display: flex;
                    -webkit-box-orient: vertical;
                    -webkit-box-direction: normal;
                    -ms-flex-direction: column;
                    flex-direction: column;
                }

                    .page-template-court-of-appeal #content .home-3blocks > div > div:before {
                        display: none;
                    }

                    .page-template-court-of-appeal #content .home-3blocks > div > div:nth-child(1) .homethree-profile + .sfContentBlock {
                        -webkit-box-flex: 1;
                        -ms-flex-positive: 1;
                        flex-grow: 1;
                    }

                    .page-template-court-of-appeal #content .home-3blocks > div > div:nth-child(2) .homethree-profile + div {
                        -webkit-box-flex: 1;
                        -ms-flex-positive: 1;
                        flex-grow: 1;
                    }

    .page-template-court-of-appeal .homethree-heading {
        border-bottom: 3px solid #d8d8d8;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }

        .page-template-court-of-appeal .homethree-heading h2 {
            margin: 0;
            color: #333;
            font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
            font-size: 20px;
            font-weight: 400;
            margin-top: 35px;
        }

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal .homethree-heading h2 {
        margin-top: 0;
    }
}

.page-template-court-of-appeal .homethree-profile:after {
    content: "";
    display: table;
    clear: both;
}

.page-template-court-of-appeal .homethree-profile h3 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1.2;
    border-bottom: 0;
}

    .page-template-court-of-appeal .homethree-profile h3::after {
        clear: both;
        content: "";
        display: table;
    }

.page-template-court-of-appeal .homethree-profile img {
    margin-right: 15px;
    margin-bottom: 15px;
    vertical-align: middle;
}

.page-template-court-of-appeal .homethree-more,
.page-template-court-of-appeal .homethree-more-rss {
    margin-top: 25px;
    border-top: 3px solid #d8d8d8;
    padding-top: 20px;
}

    .page-template-court-of-appeal .homethree-more-rss a:not(.rss) {
        margin-right: 20px;
    }

    .page-template-court-of-appeal .homethree-more-rss a.rss {
        text-indent: -999em;
        overflow: hidden;
        width: 22px;
        height: 22px;
        background: url(../img/i-rss-gray.png) no-repeat;
        background-position: center center;
        -webkit-background-size: contain;
        background-size: contain;
        display: inline-block;
        vertical-align: middle;
    }

.page-template-court-of-appeal .homethree-more-middle a {
    margin-top: 15px;
    margin-bottom: 30px;
}

.page-template-court-of-appeal .ac-latest-news > li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

    .page-template-court-of-appeal .ac-latest-news > li + li {
        margin-top: 20px;
    }

    .page-template-court-of-appeal .ac-latest-news > li > a {
        display: block;
        font-size: 14px;
        text-align: center;
        color: #666666;
        margin-right: 18px;
        text-decoration: none;
    }

        .page-template-court-of-appeal .ac-latest-news > li > a .month-day {
            background: #e5e5e5;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column;
            height: 44px;
            width: 44px;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            line-height: 1;
        }

        .page-template-court-of-appeal .ac-latest-news > li > a .year {
            margin-top: 2px;
        }

    .page-template-court-of-appeal .ac-latest-news > li > div {
        width: calc(100% - 72px);
    }

        .page-template-court-of-appeal .ac-latest-news > li > div a {
            color: #333;
        }

.page-template-court-of-appeal .homethree-blog li + li {
    margin-top: 25px;
}

.page-template-court-of-appeal .homethree-blog h2 {
    margin: 0;
}

    .page-template-court-of-appeal .homethree-blog h2 .judgments-title_title {
        display: none;
    }

.page-template-court-of-appeal.page-template-court-of-appeal--overview .overview-content {
    margin: 0;
    padding: 0;
    border-bottom: 0;
}

.page-template-court-of-appeal.page-template-court-of-appeal--overview .ovblock .col1 {
    border: 1px solid #e5e5e5;
}

    .page-template-court-of-appeal.page-template-court-of-appeal--overview .ovblock .col1 h2 {
        font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
        font-style: normal;
        font-variant: normal;
        color: #000;
    }

.page-template-court-of-appeal.page-template-court-of-appeal--overview .ovblock .col2 {
    background: #e5e5e5;
}

    .page-template-court-of-appeal.page-template-court-of-appeal--overview .ovblock .col2 .readmore {
        color: #000;
        font-family: Arial, sans-serif;
        font-size: 14px;
        display: inline-block;
        color: #000;
        background: #ad9768;
        padding: 10px;
        padding-right: 20px;
        font-size: 14px;
        line-height: 1;
        text-transform: uppercase;
        text-decoration: none;
        -webkit-transition: background-color 150ms ease;
        transition: background-color 150ms ease;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        vertical-align: middle;
    }

        .page-template-court-of-appeal.page-template-court-of-appeal--overview .ovblock .col2 .readmore:before {
            content: "";
            width: 12px;
            height: 12px;
            background: url(../img/i-right.png) no-repeat;
            -webkit-background-size: cover;
            background-size: cover;
            display: inline-block;
            margin-right: 10px;
            vertical-align: middle;
            position: relative;
            bottom: -2px;
        }

        .page-template-court-of-appeal.page-template-court-of-appeal--overview .ovblock .col2 .readmore div {
            display: inline-block;
            vertical-align: middle;
            position: relative;
            bottom: -2px;
        }

    .page-template-court-of-appeal.page-template-court-of-appeal--overview .ovblock .col2:hover .readmore, .page-template-court-of-appeal.page-template-court-of-appeal--overview .ovblock .col2:focus .readmore {
        background: #baa370 !important;
    }

.page-template-court-of-appeal.page-template-court-of-appeal--internal .m-w1 {
    border-bottom: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 0;
    max-width: 1200px;
}

.page-template-court-of-appeal .navlevel-1 > li > ul {
    border-color: #000;
}

.page-template-court-of-appeal .navlevel-2 > li > a,
.page-template-court-of-appeal .navlevel-3 > li > a {
    color: #000;
    border-top-color: #000;
}

    .page-template-court-of-appeal .navlevel-2 > li > a:hover, .page-template-court-of-appeal .navlevel-2 > li > a:focus, .page-template-court-of-appeal .navlevel-2 > li > a:active,
    .page-template-court-of-appeal .navlevel-3 > li > a:hover,
    .page-template-court-of-appeal .navlevel-3 > li > a:focus,
    .page-template-court-of-appeal .navlevel-3 > li > a:active {
        color: #baa370;
    }

.page-template-court-of-appeal h1,
.page-template-court-of-appeal h2,
.page-template-court-of-appeal h3,
.page-template-court-of-appeal h4,
.page-template-court-of-appeal h5,
.page-template-court-of-appeal h6 {
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-style: normal;
    font-variant: normal;
}

.page-template-court-of-appeal h2,
.page-template-court-of-appeal h4,
.page-template-court-of-appeal h5 {
    color: #4b4b4b;
}

.page-template-court-of-appeal .maincontent ul:not([class]) li:before,
.page-template-court-of-appeal .documents-library.with-list li:before {
    color: #4b4b4b;
}

.page-template-court-of-appeal .f-w2 .textf {
    padding-top: 0;
}

.page-template-court-of-appeal .btn {
    color: #000;
    font-family: arial, sans-serif;
    font-size: 14px;
}

.page-template-court-of-appeal .useful-links-mobile .coa-footer-links {
    margin: 10px 0 10px 20px;
    border: 0;
    padding: 0 0 0 0px;
}

    .page-template-court-of-appeal .useful-links-mobile .coa-footer-links p {
        display: none;
    }

    .page-template-court-of-appeal .useful-links-mobile .coa-footer-links ul {
        display: block !important;
        list-style: disc !important;
    }

        .page-template-court-of-appeal .useful-links-mobile .coa-footer-links ul li {
            display: list-item !important;
            line-height: 1.1;
        }

            .page-template-court-of-appeal .useful-links-mobile .coa-footer-links ul li + li {
                margin-top: 15px;
            }

.page-template-court-of-appeal #footer .coa-footer-links {
    text-align: center;
}

    .page-template-court-of-appeal #footer .coa-footer-links ul {
        list-style: none;
        padding: 0;
    }

        .page-template-court-of-appeal #footer .coa-footer-links ul li + li {
            margin-top: 15px;
            line-height: 1.1;
        }

@media only screen and (max-width: 767px) {
    .page-template-court-of-appeal #content .home-3blocks .sf_colsOut:first-child .homethree-heading h2 {
        margin-top: 0;
    }
}

.page-template-court-of-appeal #mainnav .mobile-menu-bottom .menu-footer {
    background: #000;
}

.page-template-court-of-appeal #mainnav .mobile-menu-top ul.sfNavList li:not(:first-child) a {
    display: inline-block;
    height: auto;
    padding: 0;
    color: #000;
    background: none !important;
}

.page-template-court-of-appeal #mainnav .mobile-menu-top ul.sfNavList li:first-child a {
    background-image: url(../img/i-home-black.png);
    -webkit-background-size: 18px 18px;
    background-size: 18px;
    display: block;
    height: 36px;
}

@media only screen and (max-width: 767px) {
    .page-template-court-of-appeal .sfSearchBoxSet {
        border-bottom-color: #000;
    }
}

.imageborder {
    display: inline-block;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    border-radius: 0 3px 3px 0;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

    .imageborder img {
        margin: 0 !important;
    }

    .imageborder:before {
        content: '';
        position: absolute;
        top: 0;
        left: 10px;
        bottom: 0;
        width: 3px;
        background: rgba(0, 0, 0, 0.06);
        -webkit-box-shadow: 1px 0 3px rgba(255, 255, 255, 0.1);
        box-shadow: 1px 0 3px rgba(255, 255, 255, 0.1);
    }

    .imageborder:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        -webkit-box-shadow: inset 4px 0 10px rgba(0, 0, 0, 0.1);
        box-shadow: inset 4px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 10;
        opacity: 0.8;
    }

.sitemap .k-treeview .k-item {
    padding-left: 0;
}

.sitemap .k-treeview .k-icon {
    display: none;
}

.sitemap .k-treeview > .k-group {
    list-style: disc;
}

    .sitemap .k-treeview > .k-group > li {
        position: relative;
        padding-left: 20px;
    }

        .sitemap .k-treeview > .k-group > li:before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #000;
            position: absolute;
            left: 0;
            top: 10px;
        }

        .sitemap .k-treeview > .k-group > li > ul > li {
            position: relative;
            padding-left: 20px;
        }

            .sitemap .k-treeview > .k-group > li > ul > li:before {
                content: "\00bb";
                display: inline-block;
                position: absolute;
                left: 0;
                top: 0px;
            }

            .sitemap .k-treeview > .k-group > li > ul > li > ul > li {
                position: relative;
                padding-left: 20px;
            }

                .sitemap .k-treeview > .k-group > li > ul > li > ul > li:before {
                    content: "\2013";
                    display: inline-block;
                    position: absolute;
                    left: 0;
                    top: 0px;
                }

.sitemap .k-treeview a {
    border: 0;
    margin: 0;
    text-decoration: underline;
    padding: 0;
}

.page-template-court-of-appeal .locations-sittings_legend {
    display: none;
}

/*--------------------------------------------------------------
# Main Content Blog
--------------------------------------------------------------*/
#content {
    padding-top: 35px;
    padding-bottom: 35px;
    /*can remove if use document css template*/
}

@media only screen and (min-width: 768px) {
    #content {
        padding-top: 40px;
        padding-bottom: 40px;
        /*can remove if use document css template*/
        min-height: 500px;
    }
}

/*
  Post leav (learn more link)
-------------------------------*/
.post-leav {
    margin: 15px 0;
    padding: 0;
    line-height: 1em;
    background: none;
}

/*
  Post Title
-------------------------------*/
.post-title {
    padding: 0;
    margin: 0;
}

    .post-title a {
        text-decoration: none;
    }

/*
  Post Images
-------------------------------*/
.pic {
    margin: 10px 0 0 0;
    padding: 0;
}

    .pic img {
        margin: 0 0 15px;
        padding: 4px;
        border: 1px solid #d8d8d8;
        background-color: #fff;
    }

/*
  Post Date
-------------------------------*/
/*- Post Date -*/
.post-date {
    margin: 40px 0;
    padding: 15px 10px;
    font-size: 12px;
    line-height: 1.1;
    border-top: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
}

    .post-date div {
        display: inline-block;
    }

.maincontent ul.sfCategoriesList {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .maincontent ul.sfCategoriesList li {
        list-style: none;
    }

/* comments count */
.comm_count {
    display: inline;
}

.post-date .comm_count a {
    font-weight: 700;
    color: #3AABDA;
    text-decoration: none;
}

/*
  Headings post
-------------------------------*/
.sfpostDetails > h1 {
    margin-bottom: 10px;
}

/*
  Content post
-------------------------------*/
.sfpostContent {
    padding-top: 20px;
}

/*
  Comments
-------------------------------*/
.commentsWidget {
    border-top: 1px solid #eee;
}

.maincontent .sfcommentsList {
    margin: 0;
    padding: 0;
    list-style: none;
    margin: 0;
    border: 0;
    margin-top: 40px;
}

.sfcommentDetails {
    position: relative;
    padding-left: 56px;
    min-height: 36px;
    margin-top: 40px;
}

.sfcommentAuthorAvatar {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    position: absolute;
    left: 0;
    top: 0;
}

@media screen and (min-width: 768px) {
    .sfcommentDetails {
        padding-left: 92px;
        min-height: 72px;
    }

    .sfcommentAuthorAvatar {
        width: 72px;
        height: 72px;
    }
}

.sfcommentAuthor {
    font-size: 22px;
    text-transform: uppercase;
    display: block;
}

.sfcommentSeparator {
    display: none;
}

.sfcommentDate {
    color: #acacac;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.sfcommentText {
    padding-top: 10px;
}

/*
  Comment form
-------------------------------*/
.sfcommentsFormWithAvatarWrp {
    padding-top: 40px;
    border-top: 1px solid #eee;
}

    .sfcommentsFormWithAvatarWrp .sfcommentAuthorAvatar {
        position: static;
    }

.sfcommentsForm,
.maincontent .sfcommentsFieldsList {
    padding: 0;
    margin: 0;
    border: 0;
    list-style: none;
}

.sfcommentsField {
    margin-bottom: 20px;
}

.sfcommentsFormWrp table.k-editor, table.k-editor {
    border: 0;
    margin: 0;
    border-spacing: 0;
}

.k-editor .k-editable-area {
    background: none;
    padding: 20px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.sfWatermarkField {
    position: relative;
}

.sfcommentsField .sfTxtLbl {
    position: absolute;
    left: 10px;
    top: 10px;
    margin: 0;
    font-weight: 400;
}

.sfcommentsField input.sfTxt {
    border: 1px solid #ddd;
    height: auto;
    line-height: 1.5;
    font-size: 14px;
    padding: 10px;
}

/*--------------------------------------------------------------
# Events + Overview + News
--------------------------------------------------------------*/
.maincontent .sfnewsList {
    margin: 0;
    padding: 0;
}

.sfmetainfo {
    margin-bottom: 5px;
}

.eventDate {
    display: inline;
}

.sfmetainfo .eventDate span {
    display: none;
}

.sfeventsList > li,
.overviewBlock,
.sfnewsList > li {
    position: relative;
    padding-left: 140px;
    min-height: 78px;
}

.maincontent .sfnewsList li {
    margin-bottom: 30px;
    margin-top: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    list-style: none;
}

    .maincontent .sfnewsList li:last-child {
        border-bottom: 0;
    }

.maincontent .sfnewsListTitleDateSummaryNoImg li, .maincontent .sfeventsListTitleCityDateContentNoImg li, .maincontent .sfeventsListTitleCityDateNoImg li {
    padding-left: 0px;
}

.maincontent .sfeventsListTitleCityDateNoImg li {
    margin-bottom: 0;
}

.sfnewsAuthorAndDate {
    margin-bottom: 10px;
}

.rightsidebar .sfnewsCTA, .rightsidebar .sfeventsListCTA {
    padding: 0;
}

.sfnewsCTA li, .sfeventsListCTA li {
    list-style: none;
    padding-left: 0;
}

.rightsidebar .sfnewsCTA h3 a, .rightsidebar .sfeventsListCTA h3 a {
    font-size: 18px;
    color: #0093d0;
}

.rightsidebar .sfnewsCTA h3 span, .rightsidebar .sfeventsListCTA h3 span {
    color: #acacac;
}

/*--------------------------------------------------------------
# Overview boxes
--------------------------------------------------------------*/
body[class*="--overview"] .m-w1 {
    background: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    max-width: 1200px;
    padding: 0;
    margin-bottom: 30px;
    border-bottom: 0;
}

@media only screen and (min-width: 960px) {
    body[class*="--overview"] .m-w1 {
        padding: 0 15px;
    }
}

body[class*="--overview"] .maincontent {
    float: none;
    left: auto;
    width: auto;
}

body[class*="--overview"] .overview-content {
    background: #fff;
    padding: 30px 30px;
    width: auto;
    line-height: 1.44;
    border-bottom: 30px solid transparent;
}

@media only screen and (min-width: 768px) {
    body[class*="--overview"] .overview-content {
        font-size: 18px;
        margin-left: -30px;
        margin-right: -30px;
    }
}

body[class*="--overview"] .ov-blocks .sflist {
    padding: 0;
    margin: 0;
    float: none;
    width: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /*ipad fix*/
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
}

    body[class*="--overview"] .ov-blocks .sflist::after {
        clear: both;
        content: "";
        display: table;
    }

body[class*="--overview"] .ov-blocks .overview-blocks {
    padding-top: 30px;
    width: 100%;
}

@media only screen and (min-width: 768px) {
    body[class*="--overview"] .ov-blocks .overview-blocks {
        width: 50%;
        float: left;
        padding-top: 15px;
    }
}

@media only screen and (min-width: 960px) {
    body[class*="--overview"] .ov-blocks .overview-blocks {
        padding-top: 30px;
    }
}

@media only screen and (min-width: 768px) {
    body[class*="--overview"] .ov-blocks .overview-blocks:nth-child(odd) {
        padding-right: 8px;
    }
}

@media only screen and (min-width: 960px) {
    body[class*="--overview"] .ov-blocks .overview-blocks:nth-child(odd) {
        padding-right: 15px;
    }
}

@media only screen and (min-width: 768px) {
    body[class*="--overview"] .ov-blocks .overview-blocks:nth-child(even) {
        padding-left: 7px;
    }
}

@media only screen and (min-width: 960px) {
    body[class*="--overview"] .ov-blocks .overview-blocks:nth-child(even) {
        padding-left: 15px;
    }
}

body[class*="--overview"] .ovblock {
    position: relative;
    background-color: rgba(0, 0, 0, 0.1);
    display: block;
    text-decoration: none;
    -webkit-transition: background 0.2s ease-out;
    transition: background 0.2s ease-out;
}

@media only screen and (min-width: 768px) {
    body[class*="--overview"] .ovblock {
        padding-left: 50%;
        height: 100%;
        min-height: 250px;
    }
}

body[class*="--overview"] .ovblock .col1 {
    padding: 15px;
    background: url(../img/kboverview_tile.png) repeat #fff;
}

@media only screen and (min-width: 768px) {
    body[class*="--overview"] .ovblock .col1 {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 50%;
        padding: 15px;
    }
}

@media only screen and (min-width: 960px) {
    body[class*="--overview"] .ovblock .col1 {
        padding: 30px;
    }
}

body[class*="--overview"] .ovblock .col1 h2 {
    margin: 0;
    font-weight: 600;
    font-size: 22px;
}

@media only screen and (min-width: 960px) {
    body[class*="--overview"] .ovblock .col1 h2 {
        font-size: 26px;
    }
}

body[class*="--overview"] .ovblock:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

body[class*="--overview"] .ovblock .col2 {
    position: relative;
    margin: 0;
    padding: 15px 15px 45px 15px;
    color: black;
    line-height: 1.44;
    height: 100%;
}

@media only screen and (min-width: 960px) {
    body[class*="--overview"] .ovblock .col2 {
        padding: 30px 30px 60px 30px;
    }
}

@media only screen and (min-width: 1200px) {
    body[class*="--overview"] .ovblock .col2 {
        font-size: 18px;
    }
}

body[class*="--overview"] .ovblock .col2 .readmore {
    text-transform: uppercase;
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 40px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 0 26px 0 48px;
    line-height: 40px;
    height: 40px;
    z-index: 50;
    background: url(../img/i-right.png) no-repeat 16px center;
    -webkit-background-size: 14px 14px;
    background-size: 14px;
    display: block;
}

@media only screen and (min-width: 768px) {
    body[class*="--overview"] .ovblock .col2 .readmore {
        font-size: 16px;
    }
}

.page-template-queens-bench .overview-content {
    border-bottom-color: #6e0a00 !important;
}

.page-template-provincial-court .overview-content {
    border-bottom-color: #17467c !important;
}

.page-template-court-of-appeal .overview-content {
    border-bottom-color: #ad9768 !important;
}

.page-template-queens-bench .ovblock .col2 .readmore {
    background-color: #6e0a00 !important;
}

.page-template-provincial-court .ovblock .col2 .readmore {
    background-color: #17467c !important;
}

.page-template-court-of-appeal .ovblock .col2 .readmore {
    background-color: #ad9768 !important;
}

/*
# Sitemap
----------------------------------*/
.sitemap div.k-treeview {
    overflow: visible;
}

.page-template-provincial-court--home #breadcrumbs-wrapper,
.page-template-queens-bench--home #breadcrumbs-wrapper,
.page-template-court-of-appeal--home #breadcrumbs-wrapper {
    display: none;
}

.page-template-provincial-court--home #masthead,
.page-template-queens-bench--home #masthead,
.page-template-court-of-appeal--home #masthead {
    height: 336px;
}

@media only screen and (min-width: 768px) {
    .page-template-provincial-court--home #masthead,
    .page-template-queens-bench--home #masthead,
    .page-template-court-of-appeal--home #masthead {
        height: 540px;
        margin-top: -150px;
    }
}

.page-template-provincial-court--home #masthead img,
.page-template-queens-bench--home #masthead img,
.page-template-court-of-appeal--home #masthead img {
    min-height: 336px;
    /*match masthead height*/
}

.page-template-provincial-court--home #masthead .single-banner-content,
.page-template-queens-bench--home #masthead .single-banner-content,
.page-template-court-of-appeal--home #masthead .single-banner-content {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
}

@media only screen and (min-width: 768px) {
    .page-template-provincial-court--home #masthead .single-banner-content,
    .page-template-queens-bench--home #masthead .single-banner-content,
    .page-template-court-of-appeal--home #masthead .single-banner-content {
        padding-top: 150px;
    }
}

.page-template-provincial-court--home #masthead .single-banner-content > div,
.page-template-queens-bench--home #masthead .single-banner-content > div,
.page-template-court-of-appeal--home #masthead .single-banner-content > div {
    height: 336px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media only screen and (min-width: 768px) {
    .page-template-provincial-court--home #masthead .single-banner-content > div,
    .page-template-queens-bench--home #masthead .single-banner-content > div,
    .page-template-court-of-appeal--home #masthead .single-banner-content > div {
        height: 394px;
    }
}

@media only screen and (max-width: 767px) {
    .page-template-provincial-court--home #masthead .single-banner-responsive,
    .page-template-queens-bench--home #masthead .single-banner-responsive,
    .page-template-court-of-appeal--home #masthead .single-banner-responsive {
        width: 768px;
        margin-left: -384px;
    }
}

.page-template-provincial-court--home #masthead .single-banner-responsive_block,
.page-template-queens-bench--home #masthead .single-banner-responsive_block,
.page-template-court-of-appeal--home #masthead .single-banner-responsive_block {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    line-height: 1.375;
    -webkit-transition: background 0.2s ease-out;
    transition: background 0.2s ease-out;
    max-width: 570px;
}

@media only screen and (max-width: 767px) {
    .page-template-provincial-court--home #masthead .single-banner-responsive_block,
    .page-template-queens-bench--home #masthead .single-banner-responsive_block,
    .page-template-court-of-appeal--home #masthead .single-banner-responsive_block {
        font-size: 14px;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-provincial-court--home #masthead .single-banner-responsive_block,
    .page-template-queens-bench--home #masthead .single-banner-responsive_block,
    .page-template-court-of-appeal--home #masthead .single-banner-responsive_block {
        padding: 35px;
    }
}

.page-template-provincial-court--home #masthead .single-banner-responsive_block:hover,
.page-template-queens-bench--home #masthead .single-banner-responsive_block:hover,
.page-template-court-of-appeal--home #masthead .single-banner-responsive_block:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

.page-template-provincial-court--home #masthead .single-banner-responsive_block h2,
.page-template-queens-bench--home #masthead .single-banner-responsive_block h2,
.page-template-court-of-appeal--home #masthead .single-banner-responsive_block h2 {
    margin-top: 0;
    font-weight: 600;
}

.page-template-provincial-court--home .m-w1,
.page-template-queens-bench--home .m-w1,
.page-template-court-of-appeal--home .m-w1 {
    background: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    max-width: 1200px;
    padding: 0;
    margin-bottom: 50px;
    border-bottom: 0;
}

@media only screen and (min-width: 960px) {
    .page-template-provincial-court--home .m-w1,
    .page-template-queens-bench--home .m-w1,
    .page-template-court-of-appeal--home .m-w1 {
        padding: 0 15px;
    }
}

.page-template-provincial-court--home .maincontent,
.page-template-queens-bench--home .maincontent,
.page-template-court-of-appeal--home .maincontent {
    float: none;
    left: auto;
    width: auto;
}

a.single-banner-responsive_link {
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 15px;
    font-weight: 600;
    position: relative;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    font-size: 14px;
}

    a.single-banner-responsive_link:visited {
        color: #fff;
    }

@media only screen and (min-width: 768px) {
    a.single-banner-responsive_link {
        font-size: 16px;
    }
}

@media only screen and (min-width: 960px) {
    a.single-banner-responsive_link {
        margin-top: 30px;
    }
}

a.single-banner-responsive_link:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    z-index: 10;
}

a.single-banner-responsive_link span {
    position: relative;
    z-index: 50;
    display: block;
    background-image: url(../img/i-right.png);
    background-repeat: no-repeat;
    -webkit-background-size: 14px 14px;
    background-size: 14px;
    background-position: 12px center;
    padding: 9px 20px 9px 40px;
    color: inherit;
}

.page-template-queens-bench a.single-banner-responsive_link {
    background-color: #6e0a00;
}

.page-template-provincial-court a.single-banner-responsive_link {
    background-color: #17467c;
}

.page-template-court-of-appeal a.single-banner-responsive_link {
    background-color: #ad9768;
}

.page-template-queens-bench a.single-banner-responsive_link:hover {
    background-color: #3b0500;
}

.page-template-provincial-court a.single-banner-responsive_link:hover {
    background-color: #0f2e51;
}

.page-template-court-of-appeal a.single-banner-responsive_link:hover {
    background-color: #b49614;
}

@media only screen and (min-width: 1200px) {
    #latestnews {
        margin-left: -18px;
        margin-right: -18px;
    }
}

#latestnews > .section-inner:empty {
    border: red;
}

#latestnews > .section-inner .top-header {
    margin-top: 25px;
    margin-bottom: 30px;
}

@media only screen and (min-width: 768px) {
    #latestnews > .section-inner .top-header {
        text-align: right;
    }
}

#latestnews > .section-inner .top-header .view-all {
    display: inline-block;
    color: #fff;
    padding: 12px 22px 12px 42px;
    line-height: 1;
    margin-right: 16px;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    background-image: url(../img/i-right.png);
    background-repeat: no-repeat;
    -webkit-background-size: 14px 14px;
    background-size: 14px;
    background-position: 12px center;
    font-weight: 600;
    font-size: 14px;
}

@media only screen and (min-width: 768px) {
    #latestnews > .section-inner .top-header .view-all {
        font-size: 16px;
    }
}

.page-template-queens-bench #latestnews > .section-inner .top-header .view-all {
    background-color: #6e0a00;
}

.page-template-provincial-court #latestnews > .section-inner .top-header .view-all {
    background-color: #17467c;
}

.page-template-court-of-appeal #latestnews > .section-inner .top-header .view-all {
    background-color: #ad9768;
}

.page-template-queens-bench #latestnews > .section-inner .top-header .view-all:hover {
    background-color: #3b0500;
}

.page-template-provincial-court #latestnews > .section-inner .top-header .view-all:hover {
    background-color: #0f2e51;
}

.page-template-court-of-appeal #latestnews > .section-inner .top-header .view-all:hover {
    background-color: #b49614;
}

#latestnews > .section-inner .top-header .rss-feed {
    width: 40px;
    height: 40px;
    text-indent: 200%;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    background: url(../img/icon-rss.png) no-repeat left top/contain;
}

#latestnews > .section-inner .latest-announcements {
    margin-top: 0;
    color: #4b4b4b;
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 15px;
}

@media only screen and (min-width: 768px) {
    #latestnews > .section-inner .latest-announcements {
        font-size: 25px;
        float: left;
        display: inline-block;
        margin-bottom: 0;
    }
}

#latestnews > .section-inner ul {
    margin-bottom: 25px;
}

@media only screen and (min-width: 768px) {
    #latestnews > .section-inner ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        clear: left;
    }
}

@media only screen and (min-width: 768px) {
    #latestnews > .section-inner ul {
        margin-left: -18px;
        margin-right: -18px;
    }
}

#latestnews > .section-inner ul li {
    padding: 0;
}

@media only screen and (min-width: 768px) {
    #latestnews > .section-inner ul li {
        width: 25%;
        padding: 0 18px;
    }
}

#latestnews > .section-inner ul a {
    display: table;
    table-layout: fixed;
    width: 100%;
    text-decoration: none;
}

    #latestnews > .section-inner ul a > div {
        display: table-cell;
        vertical-align: middle;
    }

@media only screen and (min-width: 480px) {
    #latestnews > .section-inner ul a > div {
        vertical-align: top;
    }
}

#latestnews > .section-inner ul a > div.date-section {
    width: 65px;
    padding-right: 10px;
    text-align: center;
}

#latestnews > .section-inner ul .month-day {
    display: block;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    padding: 5px 10px;
    line-height: 1;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.page-template-queens-bench #latestnews > .section-inner ul .month-day {
    background-color: #6e0a00;
}

.page-template-provincial-court #latestnews > .section-inner ul .month-day {
    background-color: #17467c;
}

.page-template-court-of-appeal #latestnews > .section-inner ul .month-day {
    background-color: #ad9768;
}

@media only screen and (min-width: 768px) {
    #latestnews > .section-inner ul .month-day {
        font-size: 18px;
    }
}

.page-template-queens-bench #latestnews > .section-inner ul a:hover .month-day {
    background-color: #3b0500;
}

.page-template-provincial-court #latestnews > .section-inner ul a:hover .month-day {
    background-color: #0f2e51;
}

.page-template-court-of-appeal #latestnews > .section-inner ul a:hover .month-day {
    background-color: #b49614;
}

#latestnews > .section-inner ul .year {
    font-size: 13px;
    color: #878787;
}

#latestnews > .section-inner ul .sfsummary {
    font-size: 15px;
    line-height: 1.13;
    position: relative;
    top: -2px;
}

#latestnews > .section-inner ul a:hover .sfsummary {
    text-decoration: underline;
}

.home-2blocks {
    width: auto !important;
}

@media only screen and (min-width: 768px) {
    .home-2blocks {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        /*ipad fix*/
        display: -webkit-flex;
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
}

.home-2blocks > div:first-child + div {
    margin-top: 18px !important;
}

@media only screen and (min-width: 768px) {
    .home-2blocks > div:first-child {
        padding-right: 6px;
    }

        .home-2blocks > div:first-child + div {
            padding-left: 6px;
            margin-top: 0 !important;
        }
}

.home-2blocks > div > div {
    background: #fff;
    margin: 0 !important;
    padding: 15px;
    min-height: 100px;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
    height: 100% !important;
}

.page-template-queens-bench .home-2blocks > div > div {
    border-bottom: 30px solid #6e0a00;
}

.page-template-provincial-court .home-2blocks > div > div {
    border-bottom: 30px solid #17467c;
}

.page-template-court-of-appeal .home-2blocks > div > div {
    border-bottom: 30px solid #ad9768;
}

.home-2blocks .information-for,
.home-2blocks .areas-law {
    padding: 8px;
    margin-bottom: 10px;
}

    .home-2blocks .information-for h2,
    .home-2blocks .areas-law h2 {
        margin: 0;
        font-weight: 400;
        font-size: 18px;
        line-height: 1;
        color: #4b4b4b;
    }

@media only screen and (min-width: 768px) {
    .home-2blocks .information-for h2,
    .home-2blocks .areas-law h2 {
        font-size: 25px;
    }
}

.home-2blocks ul {
    padding: 0;
    margin: 0 !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    padding-left: 12px !important;
}

    .home-2blocks ul::after {
        clear: both;
        content: "";
        display: table;
    }

.home-2blocks li {
    margin: 5px 7px;
    float: left;
    padding: 0 !important;
    width: 115px;
    height: 105px;
}

@media only screen and (min-width: 768px) {
    .home-2blocks li {
        width: 155px;
        height: 145px;
        margin: 10px 15px;
    }
}

.home-2blocks li:before {
    display: none;
}

/* REMOVED DROP SHADOWS */
.home-2blocks a {
    display: block;
    position: relative;
    -webkit-box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.55);
    box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.55);
}

    .home-2blocks a:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        /* background-image: -webkit-gradient(linear, left bottom, right top, from(#000000), color-stop(68%, transparent));
        background-image: -webkit-linear-gradient(left bottom, #000000 0%, transparent 68%);
        background-image: linear-gradient(left bottom, #000000 0%, transparent 68%); */
    }

    .home-2blocks a h2 {
        position: absolute;
        left: 0;
        bottom: 0;
        color: #fff;
        font-size: 18px;
        font-weight: 400;
        line-height: 1;
        padding: 10px;
        margin: 0;
        z-index: 20;
        text-transform: none;
    }

    .home-2blocks a p {
        position: absolute;
        left: -8px;
        top: -8px;
        width: 171px;
        height: 161px;
        z-index: 30;
        font-size: 16px;
        line-height: 1.375;
        color: #fff;
        padding: 10px;
        margin: 0;
        overflow: hidden;
        overflow: hidden;
        display: none;
        -webkit-box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.55);
        box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.55);
    }

.page-template-queens-bench .home-2blocks a p {
    background: #6e0a00;
}

.page-template-provincial-court .home-2blocks a p {
    background: #17467c;
}

.page-template-court-of-appeal .home-2blocks a p {
    background: #ad9768;
}

@media only screen and (min-width: 768px) {
    .home-2blocks a:hover p {
        display: block;
        -webkit-animation-name: fadeInUp;
        animation-name: fadeInUp;
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-duration: 0.2s;
        animation-duration: 0.2s;
        -webkit-animation-delay: 0s;
        animation-delay: 0s;
        -webkit-animation-timing-function: ease;
        animation-timing-function: ease;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-provincial-court .home-3blocks > div:nth-child(1) > div {
        background: url(../img/alberta-law.jpg) no-repeat left bottom/cover;
    }
}

.page-template-provincial-court .home-3blocks > div:nth-child(2) > div {
    position: relative;
    overflow: hidden;
}

@media only screen and (min-width: 768px) {
    .page-template-provincial-court .home-3blocks > div:nth-child(2) > div:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 560px;
        -webkit-transition: -webkit-transform 1s ease-out;
        transition: -webkit-transform 1s ease-out;
        transition: transform 1s ease-out;
        transition: transform 1s ease-out, -webkit-transform 1s ease-out;
        background: url(../img/provincial-location.jpg) no-repeat left top/cover;
    }

    .page-template-provincial-court .home-3blocks > div:nth-child(2) > div.on:before {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }
}

@media only screen and (min-width: 768px) {
    .page-template-provincial-court .home-3blocks > div:nth-child(3) > div {
        background: url(../img/alberta-justice.jpg) no-repeat left bottom/cover;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-queens-bench .home-3blocks > div:nth-child(1) > div {
        background: url(../img/kb-home-left.jpg) no-repeat left bottom/cover;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-queens-bench .home-3blocks > div:nth-child(2) > div {
        background: url(../img/kb-home-centre.jpg) no-repeat left bottom/cover;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-queens-bench .home-3blocks > div:nth-child(3) > div {
        background: url(../img/kb-home-right.jpg) no-repeat left bottom/cover;
    }
}

.home-3blocks {
    margin-top: 15px !important;
    width: auto !important;
}

@media only screen and (min-width: 768px) {
    .home-3blocks {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-left: -15px !important;
        margin-right: -15px !important;
    }
}

.home-3blocks > div {
    margin-top: 18px !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /*overriding webkit-box*/
    display: -webkit-flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

@media only screen and (min-width: 768px) {
    .home-3blocks > div {
        margin-top: 0 !important;
    }
}

.home-3blocks > div:first-child {
    margin-top: 0 !important;
}

@media only screen and (min-width: 768px) {
    .home-3blocks > div:first-child {
        padding-left: 0;
        padding-right: 8px;
    }
}

@media only screen and (min-width: 768px) {
    .home-3blocks > div:nth-child(2) {
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media only screen and (min-width: 768px) {
    .home-3blocks > div:nth-child(3) {
        padding-left: 8px;
    }
}

.home-3blocks > div > div {
    background: #fff;
    margin: 0 !important;
    padding: 15px;
    min-height: 100px;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
    position: relative;
    width: 100%;
}

@media only screen and (min-width: 960px) {
    .home-3blocks > div > div {
        padding: 25px 30px;
    }
}

.page-template-provincial-court .home-3blocks > div > div {
    border-bottom: 30px solid #17467c;
}

.page-template-court-of-appeal .home-3blocks > div > div {
    border-bottom: 30px solid #ad9768;
}

.home-3blocks .recent-judgment,
.home-3blocks .locations-sittings,
.home-3blocks .judicial-information,
.home-3blocks .areas-law,
.home-3blocks .forms,
.home-3blocks .social-media,
.home-3blocks .quick-links {
    margin-bottom: 10px;
}

.page-template-provincial-court .home-3blocks .recent-judgment h2,
.page-template-provincial-court .home-3blocks .locations-sittings h2,
.page-template-provincial-court .home-3blocks .judicial-information h2,
.page-template-provincial-court .home-3blocks .areas-law h2,
.page-template-provincial-court .home-3blocks .quick-links h2 {
    margin: 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    color: #4b4b4b;
    position: relative;
    vertical-align: middle;
    padding-top: 8px;
    padding-bottom: 5px;
    display: inline-block;
}

@media only screen and (min-width: 1200px) {
    .page-template-provincial-court .home-3blocks .recent-judgment h2,
    .page-template-provincial-court .home-3blocks .locations-sittings h2,
    .page-template-provincial-court .home-3blocks .judicial-information h2,
    .page-template-provincial-court .home-3blocks .areas-law h2,
    .page-template-provincial-court .home-3blocks .quick-links h2 {
        font-size: 25px;
        min-height: 50px;
        padding-top: 18px;
        padding-bottom: 15px;
    }
}

.page-template-queens-bench .home-3blocks h2 {
    margin: 0px;
    color: #595959;
    font-size: 28px;
}

.home-3blocks .recent-judgment + .sfContentBlock {
    line-height: 1.22;
    font-size: 18px;
    padding: 0;
}

    .home-3blocks .recent-judgment + .sfContentBlock p {
        margin: 0;
    }

    .home-3blocks .recent-judgment + .sfContentBlock a {
        margin-top: 10px;
        display: inline-block;
        color: #fff;
        padding: 12px 22px 12px 42px;
        line-height: 1;
        margin-right: 16px;
        text-decoration: none;
        -webkit-transition: all 0.2s ease-out;
        transition: all 0.2s ease-out;
        background-image: url(../img/i-right.png);
        background-repeat: no-repeat;
        -webkit-background-size: 14px 14px;
        background-size: 14px;
        background-position: 12px center;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
    }

@media only screen and (min-width: 768px) {
    .home-3blocks .recent-judgment + .sfContentBlock a {
        font-size: 16px;
    }
}

.page-template-queens-bench .home-3blocks .recent-judgment + .sfContentBlock a {
    background-color: #6e0a00;
}

.page-template-provincial-court .home-3blocks .recent-judgment + .sfContentBlock a {
    background-color: #17467c;
}

.page-template-court-of-appeal .home-3blocks .recent-judgment + .sfContentBlock a {
    background-color: #ad9768;
}

.page-template-queens-bench .home-3blocks .recent-judgment + .sfContentBlock a:hover {
    background-color: #3b0500;
}

.page-template-provincial-court .home-3blocks .recent-judgment + .sfContentBlock a:hover {
    background-color: #0f2e51;
}

.page-template-court-of-appeal .home-3blocks .recent-judgment + .sfContentBlock a:hover {
    background-color: #b49614;
}

.home-3blocks .judgments-title_title {
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.page-template-queens-bench .home-3blocks .judgments-title_title {
    color: #6e6e6e;
}

.page-template-provincial-court .home-3blocks .judgments-title_title {
    color: #17467c;
}

.page-template-court-of-appeal .home-3blocks .judgments-title_title {
    color: #ad9768;
}

.home-3blocks .judgments-title {
    font-size: 16px;
    color: #333;
    font-family: arial, sans-serif;
    font-weight: normal;
}

.home-3blocks .recent-judgment + .sfContentBlock + .sfnewsList {
    margin-top: 20px;
}

@media only screen and (min-width: 768px) {
    .home-3blocks .recent-judgment + .sfContentBlock + .sfnewsList {
        padding: 0 20px 30px 20px;
    }
}

.home-3blocks .recent-judgment + .sfContentBlock + .sfnewsList li {
    padding: 0;
    border-bottom: 0;
    margin: 0;
}

    .home-3blocks .recent-judgment + .sfContentBlock + .sfnewsList li + li {
        margin-top: 20px;
    }

    .home-3blocks .recent-judgment + .sfContentBlock + .sfnewsList li:before {
        display: none;
    }

.home-3blocks .recent-judgment + .sfContentBlock + .sfnewsList h2 {
    margin: 0;
    font-size: 18px;
    text-transform: none;
    color: #4b4b4b;
}

    .home-3blocks .recent-judgment + .sfContentBlock + .sfnewsList h2 a {
        color: #4b4b4b;
    }

        .home-3blocks .recent-judgment + .sfContentBlock + .sfnewsList h2 a:hover {
            text-decoration: underline;
        }

    .home-3blocks .recent-judgment + .sfContentBlock + .sfnewsList h2 span {
        font-size: 14px;
        color: #17467c;
        margin: 0;
    }

.home-3blocks .locations-sittings {
    position: relative;
    z-index: 20;
}

.page-template-provincial-court .home-3blocks .locations-sittings + .sfContentBlock {
    font-weight: 400;
    line-height: 1;
    position: relative;
    z-index: 20;
    text-shadow: #FFF 0 0 10px;
}

@media only screen and (min-width: 768px) {
    .page-template-provincial-court .home-3blocks .locations-sittings + .sfContentBlock {
        text-align: center;
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        padding: 0 30px;
        font-size: 24px;
    }
}

.home-3blocks .locations-sittings + .sfContentBlock a {
    margin: 10px;
    display: inline-block;
    color: #fff;
    padding: 12px 22px 12px 42px;
    line-height: 1;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    background-image: url(../img/i-right.png);
    background-repeat: no-repeat;
    -webkit-background-size: 14px 14px;
    background-size: 14px;
    background-position: 12px center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    text-shadow: none;
}

@media only screen and (min-width: 768px) {
    .home-3blocks .locations-sittings + .sfContentBlock a {
        font-size: 18px;
    }
}

.page-template-queens-bench .home-3blocks .locations-sittings + .sfContentBlock a {
    background-color: #6e0a00;
}

.page-template-provincial-court .home-3blocks .locations-sittings + .sfContentBlock a {
    background-color: #17467c;
}

.page-template-court-of-appeal .home-3blocks .locations-sittings + .sfContentBlock a {
    background-color: #ad9768;
}

.page-template-queens-bench .home-3blocks .locations-sittings + .sfContentBlock a:hover {
    background-color: #3b0500;
}

.page-template-provincial-court .home-3blocks .locations-sittings + .sfContentBlock a:hover {
    background-color: #0f2e51;
}

.page-template-court-of-appeal .home-3blocks .locations-sittings + .sfContentBlock a:hover {
    background-color: #b49614;
}

.home-3blocks .judicial-information + .sfContentBlock h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}

.home-3blocks .judicial-information + .sfContentBlock p {
    line-height: 1;
    margin-bottom: 14px;
}

    .home-3blocks .judicial-information + .sfContentBlock p a:link {
        font-size: 18px;
        line-height: 1.22;
    }

@media only screen and (min-width: 768px) {
    .home-3blocks .areas-law + div {
        padding-bottom: 40px;
    }
}

.home-3blocks .areas-law + div ul {
    padding: 0;
    margin: 0 !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
}

    .home-3blocks .areas-law + div ul::after {
        clear: both;
        content: "";
        display: table;
    }

.home-3blocks .areas-law + div li {
    margin: 6px 8px;
    float: left;
    padding: 0 !important;
    width: 115px;
    height: 108px;
}

@media only screen and (min-width: 768px) {
    .home-3blocks .areas-law + div li {
        width: 96px;
        height: 90px;
    }
}

@media only screen and (min-width: 960px) {
    .home-3blocks .areas-law + div li {
        width: 116px;
        height: 109px;
    }
}

@media only screen and (min-width: 1200px) {
    .home-3blocks .areas-law + div li {
        width: 155px;
        height: 145px;
    }
}

.home-3blocks .areas-law + div li:before {
    display: none;
}

.home-3blocks .areas-law + div a {
    display: block;
    position: relative;
    -webkit-box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.55);
    box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.55);
}

.page-template-provincial-court .home-3blocks .areas-law + div a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background-image: -webkit-gradient(linear, left bottom, right top, from(#000000), color-stop(68%, transparent));
    background-image: -webkit-linear-gradient(left bottom, #000000 0%, transparent 68%);
    background-image: linear-gradient(left bottom, #000000 0%, transparent 68%);
}

.home-3blocks .areas-law + div a h2 {
    position: absolute;
    left: 0;
    bottom: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    padding: 10px;
    margin: 0;
    z-index: 20;
    font-weight: 600;
}

@media only screen and (min-width: 768px) {
    .home-3blocks .areas-law + div a h2 {
        font-size: 10px;
        padding: 4px;
    }
}

@media only screen and (min-width: 960px) {
    .home-3blocks .areas-law + div a h2 {
        font-size: 12px;
        font-weight: 400;
        padding: 10px;
    }
}

@media only screen and (min-width: 1200px) {
    .home-3blocks .areas-law + div a h2 {
        font-size: 16px;
        font-weight: 400;
        padding: 15px;
    }
}

.home-3blocks .areas-law + div a p {
    position: absolute;
    left: -8px;
    top: -8px;
    width: 171px;
    height: 161px;
    z-index: 30;
    font-size: 16px;
    line-height: 1.375;
    color: #fff;
    padding: 14px;
    margin: 0;
    overflow: hidden;
    display: none;
    -webkit-box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.55);
    box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.55);
}

.page-template-queens-bench .home-3blocks .areas-law + div a p {
    background: #6e0a00;
}

.page-template-provincial-court .home-3blocks .areas-law + div a p {
    background: #17467c;
}

.page-template-court-of-appeal .home-3blocks .areas-law + div a p {
    background: #ad9768;
}

@media only screen and (min-width: 768px) {
    .home-3blocks .areas-law + div a:hover p {
        display: block;
        -webkit-animation-name: fadeInUp;
        animation-name: fadeInUp;
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-animation-duration: 0.2s;
        animation-duration: 0.2s;
        -webkit-animation-delay: 0s;
        animation-delay: 0s;
        -webkit-animation-timing-function: ease;
        animation-timing-function: ease;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

@media only screen and (max-width: 768px) {
    .quick-links + .sfContentBlock {
        width: 100%;
    }
}

@media only screen and (min-width: 768px) {
    .home-3blocks .quick-links + .sfContentBlock {
        padding-bottom: 40px;
    }
}

.home-3blocks .quick-links + .sfContentBlock ul {
    padding: 0;
    margin: 0 !important;
}

.home-3blocks .quick-links + .sfContentBlock li {
    padding: 0;
}

    .home-3blocks .quick-links + .sfContentBlock li:before {
        display: none;
    }

    .home-3blocks .quick-links + .sfContentBlock li:first-child {
        margin-top: 15px;
    }

@media only screen and (min-width: 768px) {
    .home-3blocks .quick-links + .sfContentBlock li:first-child {
        margin-top: 35px;
    }

    .page-template-queens-bench .home-3blocks .quick-links + .sfContentBlock li:first-child {
        margin-top: 0px;
    }
}

.home-3blocks .quick-links + .sfContentBlock li + li {
    margin-top: 10px;
}

@media only screen and (min-width: 768px) {
    .home-3blocks .quick-links + .sfContentBlock li + li {
        margin-top: 20px;
    }
}

.home-cta {
    margin: 0 auto !important;
}

.page-template-court-of-appeal--home #masthead {
    height: auto;
}

    .page-template-court-of-appeal--home #masthead .masthead-image {
        -webkit-transform: none !important;
        transform: none !important;
    }

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal--home #masthead {
        height: 542px;
        margin-top: 0px;
    }
}

.page-template-court-of-appeal--home .ca-right-cta {
    position: absolute;
    left: 0;
    top: 0;
    right: -15px;
    bottom: 164px;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal--home .ca-right-cta {
        top: 0;
        right: 0;
        bottom: 72px;
    }
}

.page-template-court-of-appeal--home .ca-right-cta__inner {
    max-width: 1200px;
    padding: 0 15px;
    margin: auto;
    position: relative;
    height: 100%;
}

@media only screen and (max-width: 767px) {
    .page-template-court-of-appeal--home .ca-right-cta__inner {
        padding-left: 0;
    }
}

.page-template-court-of-appeal--home .ca-right-cta__inner ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 205px;
    margin: auto;
    background: rgba(0, 0, 0, 0.75);
    float: right;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal--home .ca-right-cta__inner ul {
        background-color: #0a0a0a;
        opacity: 80%;
        width: 385px;
        width: 33.33%;
    }
}

.page-template-court-of-appeal--home .ca-right-cta__inner ul li {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 25%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    -webkit-transition: background 0.2s ease-out;
    transition: background 0.2s ease-out;
    line-height: 1.3;
    padding: 10px;
}

@media only screen and (max-width: 767px) {
    .page-template-court-of-appeal--home .ca-right-cta__inner ul li + li {
        border-top: 1px solid #000;
    }
}

.page-template-court-of-appeal--home .ca-right-cta__inner ul li:hover {
    background-color: #232323;
}

.page-template-court-of-appeal--home .ca-right-cta__inner h4 {
    margin: 0;
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-size: 13px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
    letter-spacing: 0.16em;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal--home .ca-right-cta__inner h4 {
        font-size: 19px;
    }
}

.page-template-court-of-appeal--home .ca-right-cta__inner p {
    color: #ad9768;
    text-transform: uppercase;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-size: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
    letter-spacing: 0.14em;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal--home .ca-right-cta__inner p {
        font-size: 14px;
    }
}

.page-template-court-of-appeal--home .ca-right-cta__inner a {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    text-indent: -999em;
    overflow: hidden;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal--home .ca-bottom-cta {
        height: 100px;
        -webkit-background-size: auto auto;
        background-size: auto;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        box-shadow: 0 -10px 8px -5px rgba(0, 0, 0, 0.3);
        height: 72px;
        background-color: #ad9768;
        -webkit-background-size: cover;
        background-size: cover;
    }
}

.page-template-court-of-appeal--home .ca-bottom-cta .ca-bottom-cta__inner {
    max-width: 1200px;
    padding: 0;
    margin: auto;
    position: relative;
    height: 100%;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal--home .ca-bottom-cta .ca-bottom-cta__inner {
        padding: 0 15px;
    }
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal--home .ca-bottom-cta ul:not([class]) {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
        justify-content: space-evenly;
        height: 100%;
        border-top: 0;
    }
}

.page-template-court-of-appeal--home .ca-bottom-cta ul:not([class]) li {
    background-color: #ad9768;
    border-bottom: 1px solid #000;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    -webkit-transition: background 0.2s ease-out;
    transition: background 0.2s ease-out;
    line-height: 1.3;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 55px;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal--home .ca-bottom-cta ul:not([class]) li {
        border-bottom: 0;
        height: 100%;
        padding-left: 40px;
        padding-right: 40px;
        padding-top: 0;
        padding-bottom: 0;
        width: 33.33%;
    }
}

.page-template-court-of-appeal--home .ca-bottom-cta ul:not([class]) li:hover {
    background-color: #baa370;
}

.page-template-court-of-appeal--home .ca-bottom-cta h4 {
    margin: 0;
    text-transform: uppercase;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #000;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal--home .ca-bottom-cta h4 {
        font-size: 19px;
    }
}

.page-template-court-of-appeal--home .ca-bottom-cta p {
    text-transform: uppercase;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-style: normal;
    font-variant: normal;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

@media only screen and (min-width: 768px) {
    .page-template-court-of-appeal--home .ca-bottom-cta p {
        font-size: 14px;
    }
}

.page-template-court-of-appeal--home .ca-bottom-cta a {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    text-indent: -999em;
    overflow: hidden;
}

.sfsearchResultStatistics strong {
    text-decoration: underline;
}

.sfsearchResultsWrp {
    line-height: 1.2;
    padding-bottom: 26px;
}

.sfsearchResultTitle {
    margin-top: 26px;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 2px;
}

    .sfsearchResultTitle a {
        color: #000;
    }

.sfsearchResultUrl {
    margin-top: 3px;
}

    .sfsearchResultUrl a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

.sf_pagerNumeric {
    text-align: left;
    padding: 0;
    margin: 20px 0;
}

    .sf_pagerNumeric a {
        width: 32px;
        text-align: center;
        height: 32px;
        line-height: 32px;
        padding: 0;
        background: #969696;
    }

.page-template-queens-bench .sf_pagerNumeric a {
    background-color: #6e0a00;
}

.page-template-provincial-court .sf_pagerNumeric a {
    background-color: #17467c;
}

.page-template-court-of-appeal .sf_pagerNumeric a {
    background-color: #ad9768;
}

.page-template-queens-bench .sf_pagerNumeric a:hover {
    background-color: #3b0500;
}

.page-template-provincial-court .sf_pagerNumeric a:hover {
    background-color: #0f2e51;
}

.page-template-court-of-appeal .sf_pagerNumeric a:hover {
    background-color: #b49614;
}

.sf_pagerNumeric a.sf_PagerCurrent, .sf_pagerNumeric a.sf_PagerCurrent:hover {
    cursor: default;
    background: #969696;
    color: #fff;
}

.page-template-location-map .maincontent {
    float: none;
    left: auto;
    width: auto;
}

.page-template-location-map .leftsidebar {
    display: none;
}

.page-template-location-map .maincontent .sfContentBlock:first-of-type {
    padding-right: 0 !important;
    min-height: 0 !important;
}

.page-template-location-map .location-map #addresslist {
    margin-top: 0 !important;
}

.page-template-location-map .location-map #map_view_left {
    margin-right: 0;
}

.page-template-location-map .location-map #map_canvas {
    width: 100%;
    height: 300px;
}

@media only screen and (min-width: 768px) {
    .page-template-location-map .location-map #map_canvas {
        height: 600px;
    }
}

.maincontent .locations-sittings_map {
    position: relative;
    padding: 1px;
    background: #000;
    overflow: hidden;
}

.maincontent .locations-sittings_legend {
    background: #fff;
    padding: 25px;
}

@media only screen and (min-width: 768px) {
    .maincontent .locations-sittings_legend {
        position: absolute;
        left: 0;
        top: 0;
        width: 280px;
        z-index: 50;
        border: 1px solid #000;
    }
}

.maincontent .locations-sittings_legend:before, .maincontent .locations-sittings_legend:after {
    display: none !important;
}

.maincontent .locations-sittings_legend ul {
    margin: 0 !important;
    padding: 0;
}

.maincontent .locations-sittings_legend li {
    list-style: none !important;
}

.maincontent .locations-sittings_legend .sfContentBlock > ul > li {
    position: relative;
    padding-left: 22px;
    top: 5px;
    margin-bottom: 0 !important;
}

    .maincontent .locations-sittings_legend .sfContentBlock > ul > li + li {
        margin-top: 25px;
    }

    .maincontent .locations-sittings_legend .sfContentBlock > ul > li ul {
        margin-top: 7px !important;
    }

    .maincontent .locations-sittings_legend .sfContentBlock > ul > li img {
        position: absolute;
        left: 0;
        top: -3px;
        width: 15px !important;
        height: auto !important;
        margin: 0 !important;
    }

.maincontent .locations-sittings_legend li {
    margin: 0;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
}

.page-template-queens-bench .maincontent .locations-sittings_legend li {
    color: #6e0a00;
}

.page-template-provincial-court .maincontent .locations-sittings_legend li {
    color: #17467c;
}

.page-template-court-of-appeal .maincontent .locations-sittings_legend li {
    color: #ad9768;
}

.maincontent .locations-sittings_legend li + li {
    margin-top: 25px;
}

.maincontent .locations-sittings_legend li ul {
    margin-top: 5px;
}

    .maincontent .locations-sittings_legend li ul li {
        text-transform: none;
        font-size: 14px;
        color: #646464 !important;
        line-height: 1.28;
        padding-left: 5px;
    }

.maincontent .locations-sittings_legend li:before {
    display: none;
}

.maincontent .location-map h3 {
    margin: 0;
    font-size: 20px;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 10px;
    padding-bottom: 8px;
    font-size: 16px;
}

.page-template-queens-bench .maincontent .location-map h3 {
    color: #6e0a00;
}

.page-template-provincial-court .maincontent .location-map h3 {
    color: #17467c;
}

.page-template-court-of-appeal .maincontent .location-map h3 {
    color: #ad9768;
}

.maincontent .location-map h3 span {
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1;
    display: block;
    font-weight: 600;
}

.maincontent .location-map .locationtype {
    display: block;
}

.maincontent .location-map .detail-link {
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    padding: 5px 10px;
}

    .maincontent .location-map .detail-link:before {
        content: "";
        display: inline-block;
        width: 12px;
        height: 12px;
        background: url(../img/i-arrow-top.png) no-repeat;
        -webkit-background-size: 12px auto;
        background-size: 12px auto;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        margin-right: 7px;
        vertical-align: middle;
        position: relative;
        top: -1px;
    }

.page-template-queens-bench .maincontent .location-map .detail-link {
    background-color: #6e0a00;
}

.page-template-provincial-court .maincontent .location-map .detail-link {
    background-color: #17467c;
}

.page-template-court-of-appeal .maincontent .location-map .detail-link {
    background-color: #ad9768;
}

.maincontent .locations-sittings_header {
    font-size: 18px;
    margin-bottom: 10px;
}

.maincontent .locations-sittings_footer {
    font-size: 14px;
    padding-top: 20px;
}

    .maincontent .locations-sittings_footer p {
        margin-bottom: 0;
    }

        .maincontent .locations-sittings_footer p + p {
            margin-top: 12px;
        }

    .maincontent .locations-sittings_footer a[href*="pdf"] {
        display: inline-block;
        text-decoration: underline;
    }

        .maincontent .locations-sittings_footer a[href*="pdf"]:after {
            content: "";
            width: 34px;
            height: 38px;
            display: inline-block;
            vertical-align: bottom;
            background: url(../img/i-pdf.png) no-repeat;
            overflow: hidden;
            margin-left: 7px;
        }

.page-template-location-map .loc-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.page-template-location-map .loc-detail {
    width: auto;
    -webkit-box-ordinal-group: 6;
    -ms-flex-order: 5;
    order: 5;
}

.page-template-location-map .wli-gmap {
    width: auto;
    border: 1px solid #000;
    margin-bottom: 10px;
}

.page-template-location-map .loc-detail-intro-info h1 {
    margin-bottom: 0;
}

.locations-details-area {
    background: #fff;
    margin-left: -30px !important;
    margin-right: -30px !important;
    width: auto !important;
    padding: 30px !important;
}

    .locations-details-area .sharedDocs {
        padding-left: 40%;
    }

        .locations-details-area .sharedDocs p {
            padding-left: 30px;
        }

        .locations-details-area .sharedDocs a[href*="pdf"] {
            display: inline-block;
            text-decoration: underline;
        }

            .locations-details-area .sharedDocs a[href*="pdf"]:after {
                content: "";
                width: 34px;
                height: 38px;
                display: inline-block;
                vertical-align: bottom;
                background: url(../img/i-pdf.png) no-repeat;
                overflow: hidden;
                margin-left: 7px;
            }

.maincontent .locations-details-breadcrumb a {
    display: inline-block;
    background-color: #fff;
    padding: 0 10px 0 0;
    color: #fff;
    height: 32px;
    line-height: 32px;
    margin-bottom: 15px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.page-template-queens-bench .maincontent .locations-details-breadcrumb a {
    background-color: #6e0a00;
}

.page-template-provincial-court .maincontent .locations-details-breadcrumb a {
    background-color: #17467c;
}

.page-template-court-of-appeal .maincontent .locations-details-breadcrumb a {
    background-color: #ad9768;
}

.page-template-queens-bench .maincontent .locations-details-breadcrumb a:hover {
    background-color: #3b0500;
}

.page-template-provincial-court .maincontent .locations-details-breadcrumb a:hover {
    background-color: #0f2e51;
}

.page-template-court-of-appeal .maincontent .locations-details-breadcrumb a:hover {
    background-color: #b49614;
}

.maincontent .locations-details-breadcrumb a:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    width: 32px;
    height: 32px;
    background: url(../img/i-drop-appeal.png) no-repeat;
    -webkit-background-size: 30px auto;
    background-size: 30px auto;
}

.locations-details-area .pin-title {
    margin-top: 0;
    font-size: 16px;
}

.page-template-queens-bench .locations-details-area .pin-title {
    color: #6e0a00;
}

.page-template-provincial-court .locations-details-area .pin-title {
    color: #17467c;
}

.page-template-court-of-appeal .locations-details-area .pin-title {
    color: #ad9768;
}

.locations-details-area .pin-wrap .city {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.page-template-queens-bench .locations-details-area .pin-wrap .city {
    color: #6e0a00;
}

.page-template-provincial-court .locations-details-area .pin-wrap .city {
    color: #17467c;
}

.page-template-court-of-appeal .locations-details-area .pin-wrap .city {
    color: #ad9768;
}

.locations-details-area .wli-gmaps {
    margin-bottom: 15px;
    padding: 1px;
    background: #000;
}

.locations-details-area .loc-detail {
    width: auto;
    float: none;
}

.locations-details-area .loc-table {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media only screen and (min-width: 768px) {
    .locations-details-area .loc-row {
        padding-left: 30px;
    }
}

@media only screen and (min-width: 768px) {
    .locations-details-area .loc-row {
        width: 60%;
    }
}

.locations-details-area .loc-row:first-child {
    padding-left: 0;
    position: relative;
    padding-left: 120px;
}

@media only screen and (min-width: 768px) {
    .locations-details-area .loc-row:first-child {
        width: 40%;
    }
}

@media only screen and (min-width: 960px) {
    .locations-details-area .loc-row:first-child {
        padding-left: 210px;
    }
}

.locations-details-area .loc-row:first-child .loc-cell:first-child {
    position: absolute;
    width: 90px;
    height: 90px;
    left: 0;
    top: 0;
    overflow: hidden;
}

@media only screen and (min-width: 960px) {
    .locations-details-area .loc-row:first-child .loc-cell:first-child {
        width: 180px;
        height: 180px;
    }
}

.locations-details-area .loc-row:first-child h1 {
    line-height: 1;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 0;
}

.page-template-queens-bench .locations-details-area .loc-row:first-child h1 {
    color: #6e0a00;
}

.page-template-provincial-court .locations-details-area .loc-row:first-child h1 {
    color: #17467c;
}

.page-template-court-of-appeal .locations-details-area .loc-row:first-child h1 {
    color: #ad9768;
}

.locations-details-area .loc-row:first-child .city {
    color: #000;
    text-transform: uppercase;
    font-size: 34px;
    line-height: 1;
    display: block;
    font-weight: 600;
}

@media only screen and (min-width: 1200px) {
    .locations-details-area .loc-row:first-child .city {
        font-size: 44px;
    }
}

.locations-details-area .loc-row:first-child .address {
    line-height: 1.375;
    display: block;
    color: #646464;
}

.locations-details-area .loc-row:first-child .phone,
.locations-details-area .loc-row:first-child .fax,
.locations-details-area .loc-row:first-child .manager {
    display: block;
}

    .locations-details-area .loc-row:first-child .phone > span,
    .locations-details-area .loc-row:first-child .fax > span,
    .locations-details-area .loc-row:first-child .manager > span {
        font-weight: 600;
    }

.page-template-queens-bench .locations-details-area .loc-row:first-child .phone > span, .page-template-queens-bench
.locations-details-area .loc-row:first-child .fax > span, .page-template-queens-bench
.locations-details-area .loc-row:first-child .manager > span {
    color: #6e0a00;
}

.page-template-provincial-court .locations-details-area .loc-row:first-child .phone > span, .page-template-provincial-court
.locations-details-area .loc-row:first-child .fax > span, .page-template-provincial-court
.locations-details-area .loc-row:first-child .manager > span {
    color: #17467c;
}

.page-template-court-of-appeal .locations-details-area .loc-row:first-child .phone > span, .page-template-court-of-appeal
.locations-details-area .loc-row:first-child .fax > span, .page-template-court-of-appeal
.locations-details-area .loc-row:first-child .manager > span {
    color: #ad9768;
}

.locations-details-area .loc-row:nth-child(2) {
    padding-top: 70px;
    color: #646464;
    line-height: 1.375;
}

    .locations-details-area .loc-row:nth-child(2) h4 {
        font-size: 24px;
        margin-bottom: 5px;
    }

        .locations-details-area .loc-row:nth-child(2) h4:first-of-type {
            margin-top: 0;
        }

    .locations-details-area .loc-row:nth-child(2) strong {
        font-weight: 700;
        color: #000;
    }

.locations-details-area .col-3 {
    list-style: none;
}

@media only screen and (min-width: 768px) {
    .locations-details-area .col-3 {
        -webkit-columns: 3;
        columns: 3;
    }
}

.locations-details-area .col-3 li {
    margin-bottom: 10px;
}

.basepointsinfo {
    display: block;
    margin-bottom: 5px;
}

    .basepointsinfo + .phone br {
        display: none;
    }

.location-map .basepointsinfo a {
    text-decoration: underline;
}

.page-template-homesplash {
    background-color: #1d2307;
}

    .page-template-homesplash #masthead {
        display: block;
    }

    .page-template-homesplash .leftsidebar,
    .page-template-homesplash .rightsidebar,
    .page-template-homesplash #header,
    .page-template-homesplash #footer {
        display: none;
    }

    .page-template-homesplash .maincontent, .page-template-homesplash .colmain {
        width: 100%;
        padding: 0;
    }

    .page-template-homesplash #content {
        padding: 0;
        background: none;
    }

    .page-template-homesplash .m-w1 {
        padding: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        margin-bottom: 0;
        background: transparent;
    }

    .page-template-homesplash .maincontent {
        width: 100%;
        float: none;
        left: 0;
    }

    .page-template-homesplash #wrapper {
        background-color: #1d2307;
        padding-top: 10vh;
    }

@media only screen and (min-width: 768px) {
    .page-template-homesplash #wrapper {
        padding-top: 160px;
    }
}

.page-template-homesplash .page-section {
    position: relative;
    z-index: 50;
}

.page-template-homesplash .overlaytrigger {
    position: fixed;
    left: 50%;
    width: 768px;
    height: 100%;
    margin-left: -384px;
    top: 0;
    background: url(/dist/img/homesplash-mobile.jpg) center top no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    z-index: 1;
    display: block;
    opacity: 1;
}

@media only screen and (min-width: 768px) {
    .page-template-homesplash .overlaytrigger {
        position: absolute;
        width: 100%;
        left: 0;
        margin-left: 0;
        background: url(/dist/img/home/bg-home.jpg) center top no-repeat;
    }
}

.page-template-homesplash h1 {
    color: #fff;
    font-size: 40px;
    text-transform: uppercase;
    text-align: center;
    font-weight: normal;
    margin-bottom: 15px;
}

@media only screen and (max-width: 767px) {
    .page-template-homesplash h1 {
        font-size: 32px;
    }
}

.page-template-homesplash .home-cta {
    max-width: 1170px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /*ipad fix*/
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
}

    .page-template-homesplash .home-cta .sf_colsOut {
        text-align: center;
        width: 31.5%;
        margin-right: 2%;
    }

@media only screen and (max-width: 767px) {
    .page-template-homesplash .home-cta .sf_colsOut {
        margin-bottom: 30px !important;
    }
}

.page-template-homesplash .home-cta .sf_colsOut:last-child {
    margin-right: 0;
}

.page-template-homesplash .home-cta .sf_colsOut .sf_colsIn {
    margin: 0;
}

.page-template-homesplash .home-cta .upper-block {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+1,ffffff+100&0+0,1+99 */
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.01) 1%, white 99%, white 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(1%, rgba(255, 255, 255, 0.01)), color-stop(99%, white), to(white));
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.01) 1%, white 99%, white 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
    /* IE6-9 */
    padding: 40px 30px 15px 30px;
    position: relative;
}

.page-template-homesplash .home-cta img {
    display: block;
    margin: 0 auto;
}

@media only screen and (max-width: 767px) {
    .page-template-homesplash .home-cta img {
        max-width: 120px;
    }
}

.page-template-homesplash .home-cta .sf_colsOut h2 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 10px;
}

@media only screen and (min-width: 768px) {
    .page-template-homesplash .home-cta .sf_colsOut h2 {
        font-size: 24px;
    }
}

.page-template-homesplash .home-cta .sf_colsOut p {
    line-height: 22px;
}

.page-template-homesplash .home-cta .upper-block .btn {
    background: #a18300;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    max-width: 250px;
    margin: 0 auto;
    padding: 13px 0;
    text-shadow: 1px 0 1px rgba(0, 0, 0, 0.3);
}

    .page-template-homesplash .home-cta .upper-block .btn:hover {
        background: #000 !important;
    }

.page-template-homesplash .home-cta .lower-block {
    padding: 15px 25px 25px 25px;
    background: #a18300;
    min-height: 190px;
    position: relative;
}

    .page-template-homesplash .home-cta .lower-block ul {
        margin: 0;
        padding: 0;
        line-height: 1.5em;
        font-size: 15px;
    }

        .page-template-homesplash .home-cta .lower-block ul li {
            list-style: none;
            display: inline;
            margin: 0 !important;
            padding-left: 0;
        }

            .page-template-homesplash .home-cta .lower-block ul li:before {
                content: '';
                width: 4px;
                height: 4px;
                background-color: rgba(255, 255, 255, 0.5);
                border-radius: 50%;
                display: inline-block;
                vertical-align: middle;
                position: relative;
                top: -1px;
                margin-right: 5px;
            }

            .page-template-homesplash .home-cta .lower-block ul li a {
                color: #fff;
                text-decoration: none;
            }

.page-template-homesplash .home-cta .sf_colsOut:nth-child(1) .lower-block ul li:before {
    background-color: #cbb387;
}

.page-template-homesplash .home-cta .sf_colsOut:first-child h2 {
    color: #705d38;
}

.page-template-homesplash .home-cta .sf_colsOut:nth-child(2) h2 {
    color: #6e0a00;
}

.page-template-homesplash .home-cta .sf_colsOut:nth-child(2) .btn {
    background: #6e0a00;
}

.page-template-homesplash .home-cta .sf_colsOut:nth-child(2) .lower-block {
    background: #6e0a00;
}

.page-template-homesplash .home-cta .sf_colsOut:nth-child(3) h2 {
    color: #17467c;
}

.page-template-homesplash .home-cta .sf_colsOut:nth-child(3) .btn {
    background: #17467c;
}

.page-template-homesplash .home-cta .sf_colsOut:nth-child(3) .lower-block {
    background: #17467c;
}

.page-template-homesplash .sf_cols.home-footer {
    text-align: center;
    padding: 25px 0;
    font-size: 15px;
}

.page-template-homesplash .home-footer .copytext {
    display: inline-block;
    color: #fff;
}

@media only screen and (min-width: 768px) {
    .page-template-homesplash .home-footer .copytext {
        opacity: 0.35;
    }
}

.page-template-homesplash .maincontent .home-footer ul {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.page-template-homesplash .home-footer ul li {
    display: inline-block;
    position: relative;
    padding-left: 15px !important;
}

    .page-template-homesplash .home-footer ul li:before {
        content: "" !important;
        position: absolute;
        left: 4px !important;
        width: 2px;
        top: 0;
        height: 15px;
        background-color: #fff;
        color: #fff;
        opacity: 0.35;
    }

    .page-template-homesplash .home-footer ul li:first-child:before {
        display: none;
    }

    .page-template-homesplash .home-footer ul li a {
        color: #fff;
        text-decoration: none;
        -webkit-transition: all 0.2s ease-out;
        transition: all 0.2s ease-out;
        color: #fff;
    }

@media only screen and (min-width: 768px) {
    .page-template-homesplash .home-footer ul li a {
        opacity: 0.35;
    }
}

.page-template-homesplash .home-footer ul li a:hover {
    opacity: 1;
}

.page-template-homesplash .home-footer ul li:last-child {
    display: none;
}

/*--------------------------------------------------------------
# Fullwidth
--------------------------------------------------------------*/
body[class*="--fullwidth"] .m-w1 {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-bottom: 0;
}

body[class*="--fullwidth"] .leftsidebar {
    display: none;
}

body[class*="--fullwidth"] .maincontent {
    float: none;
    left: 0;
}

/*--------------------------------------------------------------
# Overwrite Sitefinity 
--------------------------------------------------------------*/
html .sfPageContainer * {
    position: static;
    margin-top: 0;
    margin-bottom: 0;
    height: auto;
    color: inherit;
}

    html .sfPageContainer * .mobilenav-triggers {
        display: none;
    }

    html .sfPageContainer * #masthead {
        margin: 0 !important;
        height: auto;
        background: none;
    }

    html .sfPageContainer * #header {
        padding: 0;
    }

    html .sfPageContainer * #util,
    html .sfPageContainer * #mainnav,
    html .sfPageContainer * #slogan,
    html .sfPageContainer * #navsection,
    html .sfPageContainer * #search-header,
    html .sfPageContainer * #headerlinks {
        position: static;
        height: auto;
    }

    html .sfPageContainer * tr.sfClearfix:before, html .sfPageContainer * tr.sfClearfix:after {
        display: none;
    }

.RadDockZone .tabs {
    visibility: visible;
}

    .RadDockZone .tabs > div {
        margin-bottom: 15px;
        background: #eee;
    }

.sfPageContainer #wrapper {
    padding: 20px;
}

html .sfPageContainer .RadDockZone {
    border-width: 3px !important;
    border-color: #FFA8A8 !important;
    padding: 10px !important;
    margin-bottom: 10px !important;
    margin-top: 22px !important;
    position: relative !important;
}

    html .sfPageContainer .RadDockZone:before {
        content: "Layout";
        display: inline-block;
        background-color: #FFA8A8;
        padding: 6px 12px;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        color: #fff;
        position: absolute;
        left: -3px;
        bottom: 100%;
    }

.sfPageContainer .RadDockZone:after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22) !important;
}

.sfPageContainer .RadDockZone:hover:after {
    opacity: 1;
}

.sfPageContainer .RadDockZone.zeDockZoneHasLabel:hover:after {
    opacity: 0;
}

html .sfPageContainer .zeControlDock {
    border: 1px dashed #b7d2e6 !important;
}

    html .sfPageContainer .zeControlDock > table {
        margin-left: 2px !important;
        margin-right: 2px !important;
    }

html .sfPageContainer .zeDockZoneHasLabel {
    border: 5px solid #DEE2E7 !important;
    padding: 10px !important;
    margin-top: 47px !important;
    margin-bottom: 20px !important;
}

    html .sfPageContainer .zeDockZoneHasLabel:before {
        background: #DEE2E7 !important;
        font-size: 12px;
        color: #333 !important;
        content: "ZONE: " attr(placeholderid);
        left: -5px;
    }

.TestCache {
    width: 100%;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    background: #0093D0;
    text-align: center;
    padding: 20px;
}

html .sfPageContainer .home-2blocks a:before {
    display: none;
    visibility: hidden;
}

/*# sourceMappingURL=main.css.map */
