/*
Theme Name: CMCC-VMC
Theme URI: http://www.tp1.ca
Author: the TP1 team
Author URI: http://www.tp1.ca/
Version: 1
License: All right reserved.
Text Domain: vmc
*/

/*--------------------------------------------------------------
            Font faces
--------------------------------------------------------------*/
@font-face {
    font-family: 'Butler';
    src: url('./font/Butler.eot');
    src: url('./font/Butler.eot?#iefix') format('embedded-opentype'),
        url('./font/Butler.woff2') format('woff2'),
        url('./font/Butler.woff') format('woff'),
        url('./font/Butler.ttf') format('truetype'),
        url('./font/Butler.svg#Butler') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Butler';
    src: url('./font/Butler-Medium.eot');
    src: url('./font/Butler-Medium.eot?#iefix') format('embedded-opentype'),
        url('./font/Butler-Medium.woff2') format('woff2'),
        url('./font/Butler-Medium.woff') format('woff'),
        url('./font/Butler-Medium.ttf') format('truetype'),
        url('./font/Butler-Medium.svg#Butler-Medium') format('svg');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('./font/Inter-Regular.eot');
    src: url('./font/Inter-Regular.eot?#iefix') format('embedded-opentype'),
        url('./font/Inter-Regular.woff2') format('woff2'),
        url('./font/Inter-Regular.woff') format('woff'),
        url('./font/Inter-Regular.ttf') format('truetype'),
        url('./font/Inter-Regular.svg#Inter-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('./font/Inter-Medium.eot');
    src: url('./font/Inter-Medium.eot?#iefix') format('embedded-opentype'),
        url('./font/Inter-Medium.woff2') format('woff2'),
        url('./font/Inter-Medium.woff') format('woff'),
        url('./font/Inter-Medium.ttf') format('truetype'),
        url('./font/Inter-Medium.svg#Inter-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
}

/*--------------------------------------------------------------
			Resets
--------------------------------------------------------------*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section,
summary,
time,
mark,
audio,
video,
.page-title h1,
.page-title h2 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    font-weight: normal;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}
del {
    text-decoration: line-through;
}
abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
input,
select {
    vertical-align: middle;
}
body {
    margin: 0;
    padding: 0;
    line-height: normal;
    *font-size: small;
}

select,
input,
textarea,
button {
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-bottom: 1px solid #000;
}
input[type=text], textarea {
    margin-bottom: 20px;
    font-size: 20px;
    padding: 5px 0 15px;
}
pre,
code,
kbd,
samp {
    font-family: monospace, sans-serif;
}
html {
    overflow-y: scroll;
}
a:hover,
a:active {
    outline: none;
}
ul,
ol {
    margin-left: 0;
    list-style: none;
}
nav ul,
nav li {
    margin: 0;
    list-style: none;
    float:left;
}
small {
    font-size: 85%;
}
strong,
th {
    font-weight: bold;
}
td {
    vertical-align: top;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    padding: 15px;
}
textarea {
    overflow: auto;
}
.ie6 legend,
.ie7 legend {
    margin-left: -7px;
}
input[type="radio"] {
    vertical-align: text-top;
    margin-top: 2px;
    padding: 0;
}
input[type="checkbox"] {
    vertical-align: text-top;
    margin-top: 2px;
    padding: 0;
}
.ie7 input[type="checkbox"] {
    vertical-align: top;
}
.ie6 input {
    vertical-align: text-bottom;
}
input[type="button"],
input[type="submit"],
input[type="image"],
button {
    cursor: pointer;
}
button,
input,
select,
textarea {
    margin: 0;
}
input:invalid,
textarea:invalid {
    border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red;
    -webkit-box-shadow: 0px 0px 5px red;
    box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid,
.no-boxshadow textarea:invalid {
    background-color: #f0dddd;
}
::-moz-selection {
    background: #ccc;
    color: #fff;
    text-shadow: none;
}
::selection {
    background: #ccc;
    color: #fff;
    text-shadow: none;
}
a:link {
    -webkit-tap-highlight-color: transparent;
}
button {
    width: auto;
    overflow: visible;
}
.ie7 img {
    -ms-interpolation-mode: bicubic;
}
*:active, *:focus {
    outline: none;
}
*:active.non-keyboard-outline, *:focus.non-keyboard-outline {
    outline: #f8c808 solid 5px;
    z-index: 10;
    position: relative;
}
button::-moz-focus-inner {
    border: 0;
    padding: 0;
}
img {
    display: block;
}
input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 50px #E8E7E2 inset; /* Change the color to your own background color */
    -webkit-text-fill-color: inherit;
}

input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 50px #E8E7E2 inset;
    -webkit-text-fill-color: inherit;
}


/*--------------------------------------------------------------
			Links
--------------------------------------------------------------*/

a {
    color: #171717;
    cursor: pointer;
    outline: none;
}

/* CTA button */
.button {
    color: #171717;
    display: inline-block;
    padding: 16px 40px;
    height: 56px;
    margin-bottom: 10px;
    position: relative;
    text-decoration: none;
    font-weight: 500;
    box-sizing: border-box;
    z-index: 1;
}
.button:last-of-type {
    margin-bottom: 30px;
}
.button span {
    font-weight: inherit;
    color: inherit;
    display: inline-block;
    transition: 0.6s color cubic-bezier(0.84, 0, 0.16, 1), 0.6s transform cubic-bezier(0.84, 0, 0.16, 1);
}
.button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #46cc7e;
    border-radius: 50px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.6s width cubic-bezier(0.84, 0, 0.16, 1);
    -webkit-transition: 0.6s width cubic-bezier(0.84, 0, 0.16, 1);
}

.button:hover span { transform: translateX(28px); }
.button:hover::after { width: 56px; }

/* Navigation button (stories) */
.button.nav {
    max-width: 260px;
    /* height: auto; */
    line-height: 45px;
    padding: 0;

    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.button.nav::after {
    width: 45px;
    height: 45px;
    margin: auto 0;
    transition: 0.6s transform cubic-bezier(0.84, 0, 0.16, 1);
    -webkit-transition: 0.6s transform cubic-bezier(0.84, 0, 0.16, 1);
}
.button.nav::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url('./images/arrow-bw.svg') center center no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto 15px;
}
.button.nav > span {
    font-size: 12px;
    max-width: 160px;
    white-space: pre-line;
    line-height: 1.3;
}
.button.nav:hover > span { transform: none; }
.button.nav:hover::after { transform: scale(1.1); }

.button.btn-previous {
    float: left;
    padding-left: 60px;
}
.button.btn-next {
    float: right;
    padding-right: 60px;
}
.button.btn-next > span {
    text-align: right;
}
.button.btn-next::after {
    margin-left: auto;
}
.button.btn-next::before {
    margin-left: auto;
    background-image: url('./images/arrow-fw.svg');
}
.button#btn-goback {
    float: right;
}


/* Form button */
.button--form input[type="submit"],
.button--form input[type="reset"] {
    border: none;
    background: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    cursor: pointer;
    opacity: 0;
}
.button--form:not(:last-of-type) {
    margin-right: 20px;
}


/* Inline chevron link */
.icon-link {
    position: relative;
    display: inline-block;
}
.icon-link > span {
    position: relative;
    padding-right: 21px;
    font-weight: 500;
    transition: 0.6s padding cubic-bezier(0.84, 0, 0.16, 1), 0.6s color cubic-bezier(0.84, 0, 0.16, 1), 0.6s transform cubic-bezier(0.84, 0, 0.16, 1);
    will-change: transform;
    display: inline-block;
}
.icon-link > span::after, .icon-link > span::before {
    content: '';
    position: absolute;
    line-height: 1.5;
    width: 12px;
    height: 12px;
    transition: 0.6s opacity cubic-bezier(0.84, 0, 0.16, 1);
    top: 50%;
    transform: translateY(-50%);
}
.icon-link > span::before {
    left: 0;
    opacity: 0;
}
.icon-link > span::after {
    right: 0;
}
.icon-link:hover > span {
    padding-left: 21px;
    padding-right: 0;
    /* transform: translateX(12px); */
}
.icon-link:hover > span::before { opacity: 1; }
.icon-link:hover > span::after  { opacity: 0; }

/* Reversed animation */
.icon-link--rev > span {
    padding-right: 0;
    padding-left: 21px;
}
.icon-link--rev > span::before { opacity: 1; }
.icon-link--rev > span::after { opacity: 0; }
.icon-link--rev:hover > span {
    padding-left: 0;
    padding-right: 21px;
    /* transform: translateX(-12px); */
}
.icon-link--rev:hover > span::before { opacity: 0; }
.icon-link--rev:hover > span::after { opacity: 1; }

/* Icon variants */
.icon-link.chevron-fw > span::after, .icon-link.chevron-fw > span::before { background: url('./images/chevron-fw.svg') top center no-repeat; }
.icon-link.chevron-dfw > span::after, .icon-link.chevron-dfw > span::before { background: url('./images/chevron-dfw.svg') top center no-repeat; }
.icon-link.chevron-bw > span::after, .icon-link.chevron-bw > span::before { background: url('./images/chevron-bw.svg') top center no-repeat; }
.icon-link.chevron-dbw > span::after, .icon-link.chevron-dbw > span::before { background: url('./images/chevron-dbw.svg') top center no-repeat; }

/*--------------------------------------------------------------
			Defaults
--------------------------------------------------------------*/
html {
    height: 100%;
}

body {
    background-color: #E8E7E2;
    color: #000;
    font: 16px/1.5 "Inter", Arial, sans-serif;
    -webkit-print-color-adjust:exact;
}

.container {
    margin: 0 auto;
    width: 1024px;
}




/*--------------------------------------------------------------
			Header
--------------------------------------------------------------*/

#skip-content a
{
    position:absolute;
    left:-10000px;
    top:5px;
    width:1px;
    height:1px;
    padding: 0 5px;
    font-size: 11px;
    text-decoration: none;
    color: #ffffff;
    overflow:hidden;
}

#skip-content a:focus
{
    left: 50%;
    margin-left: -80px;
    width:auto;
    height:auto;
}

header#site-header {
    background-color: #1E238B;
    height: 98px;
    width: 100%;
    overflow: hidden;
}

header#site-header .container {
    padding: 24px 42px 0;
    width: 940px;
}

header#site-header a#site-logo, nav li.site-logo-480 a#logo  {
    border-right: 1px solid #fff;
    float: left;
    padding: 5px 30px 10px 10px;
}
header#site-header a#site-logo img {
    width: 115px;
    height: 100%;
}
header#site-header p.site-description {
    color: #fff;
    display: block;
    font-size: 16px;
    line-height: 1.2;
    margin-left: 30px;
	padding-top: 4px;
	width: 33.75em; /* 540px */
    float: left;
}
header#site-header .nobold {
	font-weight:normal;
	font-size:11px;
}

.site-description .hide480 {
    white-space:pre-line; /* Preserve line wrapping in WYSIWYG */
    font-weight: 500;
}

header#site-header a#vmc-logo-header {
    float: right;
}
header#site-header a#vmc-logo-header img {
    width: auto;
    height: 45px;
}

/*--------------------------------------------------------------
			Nav
--------------------------------------------------------------*/

nav {
    background-color: #171717;
    height: auto;
    position:relative;
    width: 100%;
    transition-duration: .3s, .5s;
    transition-timing-function: ease-in-out;
    transition-property: left, opacity, box-shadow;
    z-index: 10;
    overflow: hidden;
}
nav ul li {
    font-size: 14px;
    float: left;
}
nav ul li a {
    color: #ffffff;
    display: block;
    padding: 20px 25px;
    text-decoration: none;
}
nav ul li a:hover, nav ul li a:active, nav ul li a.active {
    background-color: #000000;
    color: #ffffff;
}

nav ul li ul li {
    max-height: 0;
    transition: max-height 0.2s;
}

nav ul li ul li a {
    padding: 0 0 0 20%;
    width: 85%;
}
nav ul li a.trigger {
    position: relative;
}

nav ul li a.trigger:after {
    content: '';
    position: absolute;
    right: 10%;
    top: 31px;
    width: 12px;
    height: 12px;
    background: url('./images/chevron-down.svg') no-repeat center left;
    transition: 0.4s transform ease;
    transform-origin: 6px 6px;
}
nav ul li.opened a.trigger:after {
    transform: rotate(180deg);
}
nav ul li.opened ul li {
    max-height: 60px;
}
nav .lang-search {
    float: right;
}
nav #search {
    background-color: #000000;
    float: right;
    position: relative;
}
nav #search:before {
    content: '';
    position: absolute;
    left: 25px;
    top: 23px;
    width: 16px;
    height: 16px;
    background: url('./images/search.svg') no-repeat top left;
}
nav #search #lb-search{
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}
nav #search input[type="text"] {
    background-color: #000;
    border: none;
    color: #ffffff;
    padding: 20px 20px 20px 60px;
    width: 130px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 14px;
    margin: 0;
}
nav #search input[type="text"]::-webkit-input-placeholder,
nav #search input[type="text"]:-moz-placeholder,
nav #search input[type="text"]::-moz-placeholder,
nav #search input[type="text"]:-ms-input-placeholder,
nav #search input[type="text"]::placeholder {
    color: #fff;
}
nav #search input[type="submit"] {
    background-color: #000;
    border: none;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
nav #lang_sel_list {
    float: left;
    position: relative;
    z-index: 10;
}
nav #lang_sel_list ul {
    margin-left: 0;
}
nav #lang_sel_list ul li {
}
nav #lang_sel_list .lang_sel_sel{
    background-color: rgba(255,255,255,0.2);
}

/*--------------------------------------------------------------
			Home Page specifics
--------------------------------------------------------------*/
#featured-image {
    overflow: hidden;
    position: relative;
}
#featured-image #home-img-credits {
    background-color: rgba(0,0,0,0.5);
    color: white;
    cursor: pointer;
    font-size: 14px;
    line-height: 18px;
    position: absolute;
    bottom: 0px;
    height: auto;
    padding: 30px 8% 30px 4%;
    width: 88%;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
}
#featured-image #home-img-credits.hidden {
    background-color: rgba(0,0,0,0);
}
#featured-image #home-img-credits #open_btn {
    font-size: 24px;
    position: absolute;
    bottom: 115%;
    left: 30px;
    opacity: 1;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}

#featured-image #home-img-credits #close_btn:before{
    cursor: pointer;
    color:#fff;
    font-size: 24px;
    position: absolute;
    right: 10px;
    top: 14px;
    display: block;
    z-index: 10;
}

#featured-image #home-img-credits.open #open_btn {
    opacity: 0;
    bottom: -100%;
}
/*--------------------------------------------------------------
			Content
--------------------------------------------------------------*/

#content {
    background-color: #ffffff;
    float: right;
    padding: 70px 100px 70px 100px;
    width: 562px;
    min-height: 66vh;
}
#content.left {
    float: left;
    padding: 70px 80px 70px 36px;
    width: 568px;
}
#content.full {
    float: none;
    padding: 70px 42px 70px 42px;
    width: 940px;
}
#content.full-pad {
    float: none;
    padding: 70px 202px 70px 42px;
    width: 780px;
}
#content h1 {
    font-size: 40px;
    line-height: 1.25;
    margin-bottom: 30px;
    position: relative;
    font-family: 'Butler', serif;
    font-weight: 600;
}
#content.full h1, #content.full-pad h1 {
    padding-bottom: 20px;
}
.page-description {
    display: block;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 50px;
    max-width: 700px;
}
#content h2, #content h3, #content h4, #content h5, #content h6 {
    font-size: 24px;
    line-height: 1.7;
    margin-bottom: 15px;
    font-weight: 500;
}
#content h3 {font-size: 20px;}
#content h4 {font-size: 16px;}
#content h5 {font-size: 14px;}
#content h6 {font-size: 12px;}

#content p {
    margin-bottom: 30px;
    line-height: 1.7;
}
#content p a.button {
    margin-bottom: 0;
}
#content ul {
    margin: 0 0 30px 30px;
}
#content ul.vjs-menu-content {
    margin: 0;
}
#content ul li {
    list-style-type: disc;
}
#content ol {
    margin-left: 35px;
}
#content ol li {
    list-style-type: decimal;
}
#content em {
    font-style: italic;
}
#content img {
    max-width: 100%;
    height: auto;
}

#content blockquote {
	font-size: 18px;
	line-height: 30px;
	margin-bottom: 10px;
	quotes: '\201C' '\201D' '\2018' '\2019';
}
#content blockquote p {
	font-style: italic;
	font-family: "Merriweather", sans-serif;
}
#content blockquote p:before,
#content blockquote p:after {
	display: inline-block;
	vertical-align: top;
	margin-top: 5px;
	font-style: normal;
	height: 20px;
	line-height: 32px;
	font-size: 32px;
	color: #666;
}
#content blockquote p:before {
	content: open-quote;
	margin-right: 10px;
}
#content blockquote p:after {
	content: close-quote;
	margin-left: 10px;
	margin-right: -10px;
}

#content .excerpt {
    display: block;
    margin-bottom: 30px;
    margin-top: -20px;
}

.ct-border {
    margin-bottom: 30px;
    padding: 36px 0 0;
    position: relative;
}

.cm-info.dash:before {
    background-color: #000;
    content: '';
    height: 1px;
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

.cm-info {
    font-size: 12px;
    padding-bottom: 15px;
}

.cm-audio-image-caption {
    font-size: 0.75em;
}

/*-- Pagination --*/
ol.pagination {
    margin-top: 30px;
    margin-left: 0 !important;
}
ol.pagination li {
    position: relative;
    color: #171717;
    float: left;
    text-align: center;
    margin:0 10px 10px 0;
    list-style-type: none !important;
    line-height: 45px;
}

/* Page navigation */
ol.pagination li.pg-nav { font-size: 14px; }
ol.pagination li.pg-nav:not(:last-of-type) { margin-right: 20px; }
ol.pagination li.pg-nav:nth-last-of-type(2) { margin-left: 20px; }

/* Page index buttons */
ol.pagination li.pg-num {
    text-align: center;
    width: 45px;
    font-weight: 500;
    z-index: 1;
}
ol.pagination li.pg-num::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #46cc7e;
    border-radius: 50%;
    z-index: -1;
            transition: transform 0.5s cubic-bezier(0.84, 0, 0.16, 1);
    -webkit-transition: transform 0.5s cubic-bezier(0.84, 0, 0.16, 1);
}
ol.pagination li.pg-num:not(.current):hover::after { transform: scale(1.15); }

/* Page index indicator label */
ol.pagination li.page {
    background: none;
    text-align: left;
    width: 100%;
    border-bottom: 1px solid black;
}

/* Current page "button" */
ol.pagination li.current { color: white; font-weight: normal; }
ol.pagination li.current::after { background-color: #171717; }

/* Links */
ol.pagination li.pg-num a {
    display: block;
    text-decoration: none;
}


/*--------------------------------------------------------------
			Search
--------------------------------------------------------------*/

#search-container {
    margin-bottom: 60px;
}

#search-container input[type="text"] {
    float: left;
    width: 74%;
}

#search-container .button--form {
    float: right;
}

ul.category-list {
    margin:0 0 40px -5% !important;
}

ul.category-list li {
    float: left;
    font-size: 12px;
    font-weight: bold;
    line-height: 15px;
    list-style-type: none !important;
    margin:0 0 20px 5%;
    padding-left: 0.5%;
    width: 44.5%;
}
ul.category-list li span.category {
    display: block;
    font-weight: bold;
}
ul.category-list li a {
    color: #333333;
    text-decoration: none;
}

ul.category-list li ul.children {
    margin: 0 !important;
}
ul.category-list li ul.children li {
    float:left;
    font-weight: normal;
    margin: 0 5px 0 0;
    width: auto;
}
ul.category-list li ul.children li:after {
    content: ',';
}
ul.category-list li ul.children li:last-child:after {
    content: '';
}
ul.category-list li ul.children li a {
    text-decoration: underline;
}


#search-results h2 {
    font-size: 18px;
    margin-bottom: 40px;
    position: relative;
}
#search-results h2:after {
    background-color: #171717;
    /* content: ''; */
    position: absolute;
    left: 0; bottom: 0;
    height: 1px;
    width: 100%;
}
.result-item {
    margin-bottom: 34px;
}
.result-item a {
    color: #333;
}
.result-item .item-img {
    background-color: #F3F3F3;
    float: left;
    height: 124px;
    margin:0 36px 36px 0;
    position: relative;
    width: 124px;
}
.result-item a .item-img:before {
    content:'';
    position:absolute;
    width:100%; height:100%;
    top:0;left:0;
    background:#46cc7e;
    opacity:0;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.result-item a:hover .item-img:before {
    opacity: 0.7;
}
.result-item.audio .item-img:after, .result-item.video .item-img:after, .result-item.text .item-img:after {
    background: #171717 url("images/icon_audio.svg") center center no-repeat;
    bottom: 38px;
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    right: 38px;
}
.result-item.text .item-img:after {
    background-image: url("images/icon_text.svg");
}
.result-item.video .item-img:after {
    background-image: url("images/icon_video.svg");
}
.result-item .item-img img {
    width: 100%;
}
.result-item .item-content {
    float: left;
    margin:0 0 36px 0;
    max-width: 620px;
}
.result-item .item-content p {
    margin: 0 !important;
}


/*--------------------------------------------------------------
            Galeria
--------------------------------------------------------------*/

#galerie {
    display: none;
    min-height: 500px;
    margin-left: -20px;
}
#galerie .isotope {
    background-color: #F3F3F3;
    height: auto;
    margin:0 0 20px 20px;
    position: relative;
    list-style-type: none;
    width: 220px;
}
#galerie .isotope.audio:after, #galerie .isotope.text:after, #galerie .isotope.video:after {
    background: #171717 url("images/icon_audio.svg") center center no-repeat;
    bottom: 0;
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    right: 0;
}
#galerie .isotope.text:after {
    background-image: url("images/icon_text.svg");
}
#galerie .isotope.video:after {
    background-image: url("images/icon_video.svg");
}

#galerie .isotope a {
    display: block;
    height: 100%;
    width: 100%;
}

#galerie .isotope a:after {
    content:'';
    position:absolute;
    width:100%; height:100%;
    top:0; left:0;
    background:#46cc7e;
    opacity:0;
    transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
}
#galerie .isotope a:hover:after {
    opacity: 0.7;
}
#galerie .isotope a img {
    width: 100%;
}

#galerie .isotope{
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property:    -moz-transform, opacity;
    transition-property:         transform, opacity;
}

#content.gallery-single h1 {
    float: left;
}
#content.gallery-single p {
    margin-bottom: 0px;
}

#content.gallery-single .gallery-content p {
    margin-bottom: 30px;
}

#content.gallery-single .asset {
    /*
    float: left;
    max-width:100%;
    */
}
#content.gallery-single .asset img {
    margin: 0 auto;
}

#content.gallery-single .asset .videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

#content.gallery-single .asset .videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

#content.gallery-single aside {
    float: right;
    margin-left: 20px;
    width: 300px;
}

.container iframe{
    display: block;
    margin:0 auto;
    width:100%;
}


/*--------------------------------------------------------------
            Sidebar
--------------------------------------------------------------*/

#sidebar {
    float: left;
    padding: 70px 0;
    width: 262px;
}
#sidebar.right {
    float: right;
    padding: 70px 30px;
    width: 280px;
}
#sidebar.right a {
    text-decoration: none;
}

#sidebar ul {
    width: 100%;
}
#sidebar ul li {
    margin-bottom: 40px;
}
#sidebar ul li a {
    display: block;
    padding: 0 30px;
    position: relative;
    text-decoration: none;
    font-weight: 500;
}
#sidebar ul li a:hover, #sidebar ul li a:active, #sidebar ul li a.active {
    color: #000000;
}
#sidebar ul li a.active:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 50%;
    margin-bottom: -10px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 7px solid #fff;
}


/*--------------------------------------------------------------
			Footer
--------------------------------------------------------------*/


footer {
    background-color: #000000;
    color: #979797;
    font-size: 12px;
    height: 52px;
    width: 100%;
}
footer ul {
    margin-left: 0;
    padding-top: 16px;
}
footer ul li {
    float: left;
}
footer ul li a {
    border-right: 1px solid #979797;
    color: #979797;
    padding: 0 5px 0;
    text-decoration: none;
}
footer ul li a:hover {
    text-decoration: underline;
}
footer ul li:last-child a {
    border: none;
}
footer span#copyright {
    float: left;
    margin-left: 200px;
}
footer .logo-canada {
    float: right;
    margin-top: -3px;
}


/*------------------------------------------
------------- WordPress Core -----------
------------------------------------------*/


.alignnone {
    margin: 5px 20px 10px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float: right;
    margin: 5px 0 10px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 10px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float: right;
    margin: 5px 0 10px 20px;
}
a img.alignnone {
    margin: 5px 20px 10px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 10px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-video, .wp-video .wp-video-shortcode, .wp-video .mejs-overlay {
    width: 100% !important;
}
.wp-caption {
    background: #fff;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 0;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 40px 40px 0;
}
.wp-caption.alignleft {
    margin: 5px 40px 40px 0;
}
.wp-caption.alignright {
    margin: 5px 0 40px 40px;
}
.wp-caption img {
    border: 0 none;
    display: inline-block;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}
.wp-caption .wp-caption-text {
    color: #4A4A4A;
    font-size: 10px;
    line-height: 18px;
    margin: 0 !important;
    text-align: left;
    padding: 0;
}


/*--------------------------------------------------------------
			Miscelaneous
--------------------------------------------------------------*/

.container.main {
    transition: margin .3s ease-in-out;
    background-color: #bdb7aa;
}

.img-container img {
    margin-bottom: 10px;
    height: auto;
    width: 100%;
}
.img-container p {
    color: #171717;
    padding-right: 50px;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.clear {
    clear: both;
}


/*-- Responsive --*/
/* Advanced Checkbox Hack */
body {
    -webkit-animation: bugfix infinite 1s;
}
@-webkit-keyframes bugfix {
    from {padding:0;} to {padding:0;}
}

input#menu-cbx {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

label#menu-toggle {
    display: none;
    position: absolute;
    left:0; top:0;
    padding:32px 28px;
    color:#fff;
    cursor: pointer;
    z-index: 20;
    width: 20px;
}

label#menu-toggle span {
    background: #fff;
    display: block;
    position: relative;
    height: 4px;
    width: 18px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

label#menu-toggle span:before, label#menu-toggle span:after {
    background: #fff;
    content: "";
    display: block;
    height: 4px;
    top: -7px;
    position: absolute;
    width: 18px;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
label#menu-toggle span:after {
    top: inherit;
    bottom: -7px;
}

form label {
    display: block;
    font-size: 0.7em;
    opacity: 0;
    -webkit-transition: 0.3s opacity ease;
    -moz-transition: 0.3s opacity ease;
    -o-transition: 0.3s opacity ease;
    transition: 0.3s opacity ease;
}
form label.filled {
    opacity: 1;
}
.feedback input[type=text], .feedback textarea{
    width: 100%;
}
.feedback textarea{
    height:100px;
}

.feedback .g-recaptcha > div {
    margin: 15px 0 30px;
}

.page-template-template-feedback .alert{
    background-color: #f2dede;
    border-color: #ebcccc;
    color: #a94442;
    border-radius: 5px;
}
.page-template-template-feedback .alert.success{
    background-color: #dff0d8;
    border-color: #d0e9c6;
    color: #3c763d;
}

p.site-description{
    padding:0;
}
span.required{
    font-size:12px;
}
.legend{
    font-size:12px;
    margin:10px 0 0 0;
}
.show1024,
.show960,
.show780,
.show480 {
    display: none;
}
.hide1024,
.hide960,
.hide780,
.hide480 {
    display: block;
}

@media screen and (max-width: 1023px) {
    .container {
        width: 960px;
    }
    .container.main {
        background-position: -22px 0;
    }

    img {
        width: 100%;
        height: auto;
    }
    footer .logo-canada {
        width: 80px;
    }
    footer ul {
        margin-left: 10px;
    }
    footer span#copyright {
        margin-left: 100px;
    }

    /*-- Home page --*/
    #content.left {
        padding: 70px 7.8% 120px 3.5%;
        width: 55.7%;
    }
    #sidebar.right {
        padding: 70px 2.5%;
        width: 28%;
    }

    /*-- History --*/
    #content {
        padding: 70px 5% 120px 5%;
        width: 65%;
    }

    #sidebar {
        width: 25%;
    }
    #sidebar ul li a {
        padding: 0 7.5%;
    }

    /*-- Gallery --*/
    #content.full {
        padding: 70px 5%;
        width: 90%;
    }
    #content.gallery-single h1 {
        margin-right: 5%;
        width: 60%;
    }
    #content.gallery-single .asset {
        width: 60%;
    }
    #content.gallery-single aside {
        margin-left: 5%;
        width: 35%;
    }

    /*-- Search --*/
    #content.full-pad {
        padding: 70px 20% 120px 5%;
        width: 75%;
    }
    header#site-header p.site-description {
        width: 380px;
    }


    /*-- Header --*/
    header#site-header .container {
        padding: 24px 5% 0;
        width: 90%;
    }

    .hide1024 {
        display: none !important;
    }
    .show1024 {
        display: block !important;
    }
}

@media screen and (max-width: 959px) {
    iframe {
        width:100%;
        text-align: center;
    }
    .container {
        width: 780px;
    }
    .container.main {
        background-position: -67px 0;
    }
    #content.full-pad {
        padding: 40px 5%;
        width: 90%;
    }
    .button.nav {
        max-width: 160px;
    }

    footer span#copyright {
        margin-left: 20px;
    }

    .hide960 {
        display: none !important;
    }
    .show960 {
        display: block !important;
    }
}

@media screen and (max-width: 779px) {
    .header-logos {
        padding: 0 0 15px 20px;
    }
    .header-logos:after {
        content:'';
        display:block;
        clear:both;
    }
    .container {
        width: 480px;
    }
    #content.full {
        padding: 40px 5%;
    }

    header#site-header {height: auto;}
    header#site-header .container {
        padding: 10px 0 0;
        width: 480px;
    }
    header#site-header a#site-logo {
        font-size: 15px;
        border: none;
    }
    header#site-header p.site-description {
        border-top: 1px solid #fff;
        margin: 0;
        padding: 15px 5%;
        width: 90%;
    }
    header#site-header a#vmc-logo-header img {
        margin-top: 5px;
    }

    nav ul {
        margin-left: 0;
    }
    nav ul li a {
        padding: 15px 25px;
    }
    nav .lang-search {
        width: 100%;
    }
    nav #lang_sel_list {
        width: auto;
    }
    nav #lang_sel_list ul li {
        text-align: center;
        width: auto;
    }
    nav #search {
        width: 170px;
    }
    nav #search::before {
        top: 18px;
        left: 16px;
    }
    nav #search input[type="text"] {
        padding: 15px 15px 15px 40px;
        width: 100%;
        box-sizing: border-box;
    }
    nav #search input[type="submit"] {
        left: 10px;
        display: none;
    }

    #sidebar {
        display: none;
    }
    #sidebar.right {
        display: block;
        padding: 30px 5%;
        width: 90%;
    }
    #content, #content.left {
        padding: 40px 5% 20px 5%;
        width: 90%;
    }

    #content.gallery-single h1 {
        width: 100%;
    }
    #content.gallery-single .asset {
        width: 100%;
    }
    #content.gallery-single aside {
        margin: 5%;
        width: 90%;
    }

    #search-container input[type="text"] {
        width: 100%;
        box-sizing: border-box;
    }
    #search-container .button--form {
        float: left;
    }

    #galerie {
        margin: 0;
    }
    #galerie .isotope {
        margin: 0 0 20px 0;
        height: auto;
        width: 100%;
    }

    .button.nav {
        max-width: 130px;
    }


    footer {
        height: auto;
        padding: 30px 0;
    }
    footer ul {
        margin:0 auto;
        width: 100%;
    }
    footer ul li {
        float: none;
        padding-top: 5px;
        text-align: center;
    }
    footer ul li a {
        border: none;
    }

    footer span#copyright {
        float: none;
        display: block;
        margin: 20px 0;
        text-align: center;
        width: 100%;
    }
    footer .logo-canada {
        display: block;
        float: none;
        margin: 20px auto 0;
        width: 100px;
    }


    .hide780 {
        display: none !important;
    }
    .show780 {
        display: block !important;
    }
}

@media screen and (max-width: 479px) {
    .container {
        width: 100%;
    }
    .container.main {
        margin: 0;
    }
    #featured-image #home-img-credits {
        background-color: rgba(0,0,0,0.75) !important;
        bottom: 0 !important;
        cursor: default;
        position: relative;
    }
    #featured-image #home-img-credits #close_btn {
        display: none;
    }

    #featured-image #home-img-credits:before {
        display: none;
    }


    /*-- MENU Responsive --*/

    header#site-header {
        z-index: 10;
    }
    header#site-header .container {
        width: 100%;
    }

    header#site-header p.site-description {
        margin-top: 10px;
        text-align: center;
    }

    header#site-header a#site-logo {
        float: right;
        padding: 0 15px 0 0;
    }
    .header-logos {
        padding: 5px 0;
    }
    header#site-header a#vmc-logo-header img {
        margin: 5px 20px 12px 0;
        height: 34px;
        width: auto;
    }
    header#site-header p.site-description {
        margin-top: 10px;
    }

    .button.btn-previous, .button.btn-next {
        max-width: none;
    }

    html, body {
        margin: 0;
        overflow-x: hidden;
    }

    /*-- No scrolling when menu is open --*/
    body.menu-opened {
        overflow: hidden;
        height: 100%;
    }

    label#menu-toggle {
        display:block;
    }

    input:checked ~ label#menu-toggle span:before, input:checked ~ label#menu-toggle span:after {
        top: 0;
        width: 16px;
    }
    input:checked ~ label#menu-toggle span {
        background-color: transparent;
    }
    input:checked ~ label#menu-toggle span:before {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    input:checked ~ label#menu-toggle span:after {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }


    input:checked ~ nav {
        opacity:1;
        left:0;
    }

    input:checked ~ .container.main {
        margin-left: 100%;
        margin-right: -100%;
    }

    nav {
        background:none;
        top: 10px;
        left: -100%;
        position: absolute;
        width: 100%;
        z-index: 10;
        margin-top: 58px;
    }
    nav ul li{
        background-color: #171717;
        font-size: 20px;
        font-weight: 500;
        line-height: 40px;
        width: 100%;
    }
    nav ul li a {
        padding-left: 10%;
    }

    nav ul li a + ul li {
        font-size: 16px;
        font-weight: normal;
    }
    nav #search {
        padding: 15px 10%;
        width: 80%;
        height: auto;
    }
    nav #lang_sel_list,
    nav #lang_sel_list ul li,
    nav .lang-search {
        text-align: left;
        width: 100%;
    }
    nav .lang-search {
        margin-bottom: 20px;
        border-bottom: 1px solid #fff;
    }
    nav .lang-search ul {
        width: 100%;
    }
    nav .container {
        background: #000000;
        width: 100%;
        min-height: calc(100vh - 68px);
    }
    nav #search input[type="text"] {
        padding-left: 30px;
        height: 30px;
        width: 80%;
        box-sizing: initial;
        font-size: 20px;
    }
    nav #search input[type="submit"] {
        left: 36px;
        top: 20px;
    }
    nav #search::before {
        top: 36px;
        left: 10%;
    }
    nav #vmc-logo-menu {
        width: 120px;
        margin: 0 auto;
        padding: 10px 0;
        clear: both;
    }

    nav li.site-logo-480 {
        background-color: #283F44;
        padding: 10px 0;
    }
    nav li.site-logo-480 a {
        border: none !important;
        padding-left: 50% !important;
        margin-left: -100px;
    }


    .result-item .item-img {
        height: 48px;
        margin: 0 16px 16px 0;
        width: 48px;
    }
    .result-item.audio .item-img:after, .result-item.video .item-img:after, .result-item.text .item-img:after {
        bottom: 0;
        right: 0;
    }

    .result-item .item-content {
        max-width: 220px;
    }


    footer ul li {
        padding-left: 5%;
        width: 95%;
        text-align: left;
    }
    footer ul li a {
        border: none;
    }

    footer span#copyright {
        float: none;
        display: block;
        margin: 20px 0;
        text-align: center;
        width: 100%;
    }

    .hide480 {
        display: none !important;
    }
    .show480 {
        display: block !important;
    }
}
