/*
 * General Style
 * Table of contents:
 * 1. Reset CSS
 * 2. Predefined classes
 */

/****************************
 * Reset CSS
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
*****************************/
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
summary {
    display:block;
}
audio,
canvas,
video {
    display:inline-block;
}
audio:not([controls]) {
    display:none;
    height:0;
}
[hidden] {
    display:none;
}
a:focus {}
a:active,
a:hover {
    outline:0;
}
abbr[title] {
    border-bottom:1px dotted;
}
b,
strong {
    font-weight:bold;
}
dfn {
    font-style:italic;
}
mark {
    display:inline-block;
    padding:0 3px; color:#fff; background:#66c18c;
}
code,
kbd,
pre,
samp {
    font-size:1em;
    -moz-hyphens:none;
    -ms-hyphens:none;
    -webkit-hyphens:none;
    hyphens:none;
}
pre {
    font-size:1em;
    overflow:auto;
    margin:20px 0;
    padding:20px;
    white-space:pre-wrap;
    word-wrap:break-word;
    color:#666;
}
blockquote,
q {
    quotes:none;
    -moz-hyphens:none;
    -ms-hyphens:none;
    -webkit-hyphens:none;
    hyphens:none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content:none;
}
blockquote {
    font-size:18px;
    font-weight:300;
    font-style:italic;
    margin:24px 40px;
}
blockquote blockquote {
    margin-right:0;
}
blockquote cite,
blockquote small {
    font-size:14px;
    font-weight:normal;
    text-transform:uppercase;
}
blockquote em,
blockquote i {
    font-weight:300;
    font-style:normal;
}
blockquote strong,
blockquote b {
    font-weight:400;
}
small {
    font-size:smaller;
}
sub,
sup {
    font-size:75%;
    line-height:0;
    position:relative;
    vertical-align:baseline;
}
sup {
    top:-0.5em;
}
sub {
    bottom:-0.25em;
}
img {
    vertical-align:middle;
    border:0;
    -ms-interpolation-mode:bicubic;
}
svg:not(:root) {
    overflow:hidden;
}
figure {
    margin:0;
}
form {
    margin:0;
}
fieldset {
    display:block;
    margin:20px 0; padding:0.35em 0.625em 0.75em;
    border:1px solid rgba(0, 0, 0, 0.1);
}
legend {
    padding:0;
    white-space:normal;
    border:0;
}
button,
input,
select,
textarea {
    font-family:inherit;
    font-size:100%;
    max-width:100%;
    margin:0;
    vertical-align:baseline;
}
button,
input {
    line-height:normal;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor:pointer;
    -webkit-appearance:button;
}
button[disabled],
input[disabled] {
    cursor:default;
}
input[type="checkbox"],
input[type="radio"] {
    padding:0;
}
input[type="search"] {
    -webkit-appearance:textfield;
}
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance:none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
    padding:0;
    border:0;
}
textarea {
    overflow:auto;
    vertical-align:top;
}
del {
    color:#333;
}
ins {
    text-decoration:none;
    background:#fff9c0;
}
hr {
    height:1px;
    margin:0 0 18px;
    border:0;
    background:#a6b2b4;
}
a {text-decoration:none;}


/*********************************************
 * Predefined classes
**********************************************/
/* Keep aspect ratio using css */
.ev-ratio-container {position:relative; padding-top:56.25%;}
.ev-ratio-element {position:absolute; top:0; left:0; right:0; bottom:0;}

/* fix VC single image not display when using svg image */
.wpb_single_image img {width:100%;}

/* align absolute full */
.ev-align--absolute-full,
.ev-align--absolute-full-b:before,
.ev-align--absolute-full-a:after,
.ev-align--absolute-full-ba:before,
.ev-align--absolute-full-ba:after {position:absolute; top:0; left:0; right:0; bottom:0;}
.ev-align--absolute-full-b:before,
.ev-align--absolute-full-a:after,
.ev-align--absolute-full-ba:before,
.ev-align--absolute-full-ba:after {content:'';}

/* align absolute center */
.ev-align--absolute-center {
    position:absolute; top:50%; left:50%;
    transform:translate(-50%, -50%);
}
.ev-align--absolute-center-h {
    position:absolute; left:50%;
    transform:translateX(-50%);
}
.ev-align--absolute-center-v {
    position:absolute; top:50%;
    transform:translateY(-50%);
}

/* align flex center */
.ev-align--flex-center-v {display:flex; align-items:center;}
.ev-align--flex-center-h {display:flex; justify-content:center;}
.ev-align--flex-center-both, .ev-align--flex-center {display:flex; align-items:center; justify-content:center;}

/* align flex grid */
.ev-grid--flex {
    display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;
    -webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;
}

/* Background size cover */
.ev-bg-cover {background-size:cover; background-position:center;}
.ev-bg-contain {background-size:contain; background-position:center; background-repeat:no-repeat;}
.ev-bg-cover > img, .ev-bg-contain > img {opacity:0; max-width:100%; max-height:100%;}

/* Display flex */
.ev-flex {display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}
.ev-flex--inline {display:-ms-inline-flexbox;display:inline-flex;}
.ev-flex--wrap {-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;}
.ev-flex--align-center {-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;}
.ev-flex--align-start {
    -webkit-box-align:start;-webkit-align-items:flex-start;
    -moz-box-align:start;-ms-flex-align:start;align-items:flex-start;
}
.ev-flex--align-end {-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;}
.ev-flex--justify-space-around {-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;}
.ev-flex--justify-space-between {
    -webkit-box-pack:justify;-webkit-justify-content:space-between;
    -ms-flex-pack:justify;justify-content:space-between;
}
.ev-flex--justify-center {
    -webkit-box-pack:center;-webkit-justify-content:center;
    -moz-box-pack:center;-ms-flex-pack:center;justify-content:center;
}
.ev-flex--justify-end {
    -webkit-box-pack:end;-webkit-justify-content:flex-end;
    -moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;
}
.ev-flex--column {
    -webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;
    -moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;
}

/* Miscellaneous */
.hidden {display:none;}
.show {display:block;}
[onclick], [data-link] {cursor:pointer;}
html, body {position:relative;}
html {-webkit-text-size-adjust:none;}

/* Background object fit */
[class*="ev-bg-object-"] > img {
    object-position:center center;
    height:100%; width:100%;
    min-height:100%; min-width:100%; max-height:100%; max-width:100%;
}
.ev-bg-object-cover > img {object-fit:cover;}
.ev-bg-object-contain > img {object-fit:contain;}