﻿/*-----------------------------------------------------------------------------------
	typography.scss
-----------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------
	Basic
-----------------------------------------------------------------*/
dl, dt, dd, ol, ul, li {
    margin: 0;
    padding: 0;
}

em {
    font-family: var(--cnvs-secondary-font);
}

.clear {
    clear: both;
    display: block;
    font-size: 0px;
    height: 0px;
    line-height: 0;
    width: 100%;
    overflow: hidden;
}

::-moz-selection {
    background: var(--cnvs-themecolor);
    color: var(--cnvs-body-bg);
    text-shadow: none;
}

::selection {
    background: var(--cnvs-themecolor);
    color: var(--cnvs-body-bg);
    text-shadow: none;
}

::-moz-selection {
    background: var(--cnvs-themecolor);
    color: var(--cnvs-body-bg);
    text-shadow: none;
}

::-webkit-selection {
    background: var(--cnvs-themecolor);
    color: var(--cnvs-body-bg);
    text-shadow: none;
}

:active,
:focus {
    outline: none !important;
}

/* ----------------------------------------------------------------
	Typography
-----------------------------------------------------------------*/
body {
    line-height: 1.5;
    font-size: var(--cnvs-font-size-body);
    font-family: var(--cnvs-body-font);
    background: var(--cnvs-body-bg);
}

    body:not(.stretched) {
        background: var(--cnvs-body-bg-boxed);
    }

a {
    color: var(--cnvs-link-color);
}

    a:not(.btn-link):not(.text-decoration-underline):not(.more-link) {
        text-decoration: none !important;
    }

    a:hover {
        color: var(--cnvs-link-hover-color);
    }

    a img {
        border: none;
    }

img {
    max-width: 100%;
}

iframe {
    width: 100%;
    border: 0 !important;
    overflow: hidden !important;
}

/* ----------------------------------------------------------------
	Basic Layout Styles
-----------------------------------------------------------------*/
h1, .h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    color: var(--cnvs-heading-color);
    font-weight: var(--cnvs-headings-font-weight);
    line-height: var(--cnvs-line-height-base);
    margin: 0 0 30px 0;
    font-family: var(--cnvs-primary-font);
}

h5, .h5,
h6,
.h6 {
    font-weight: bold;
    margin-bottom: 20px;
}

h1, .h1 {
    font-size: var(--cnvs-font-size-h1);
}

h2, .h2 {
    font-size: var(--cnvs-font-size-h2);
}

h3, .h3 {
    font-size: var(--cnvs-font-size-h3);
}

h4, .h4 {
    font-size: var(--cnvs-font-size-h4);
}

h5, .h5 {
    font-size: var(--cnvs-font-size-h5);
}

h6, .h6 {
    font-size: var(--cnvs-font-size-h6);
}

.h5 {
    font-size: 1.25rem;
}

.h6 {
    font-size: 1rem;
}

h4, .h4 {
    font-weight: 600;
}

h5, .h5,
h6,
.h6 {
    font-weight: bold;
}

@media (max-width: 767.98px) {
    h1, .h1 {
        font-size: 1.75rem;
    }

    h2, .h2 {
        font-size: 1.5rem;
    }

    h3, .h3 {
        font-size: 1.25rem;
    }

    h4, .h4 {
        font-size: 1rem;
    }
}

h1 > span:not(.nocolor):not(.badge), .h1 > span:not(.nocolor):not(.badge),
h2 > span:not(.nocolor):not(.badge),
.h2 > span:not(.nocolor):not(.badge),
h3 > span:not(.nocolor):not(.badge),
.h3 > span:not(.nocolor):not(.badge),
h4 > span:not(.nocolor):not(.badge),
.h4 > span:not(.nocolor):not(.badge),
h5 > span:not(.nocolor):not(.badge),
.h5 > span:not(.nocolor):not(.badge),
h6 > span:not(.nocolor):not(.badge),
.h6 > span:not(.nocolor):not(.badge) {
    color: var(--cnvs-themecolor);
}

p,
pre,
ul,
ol,
dl,
dd,
blockquote,
address,
table,
fieldset,
form {
    margin-bottom: 30px;
}

    blockquote p:last-child {
        margin-bottom: 0;
    }

small, .small {
    font-size: var(--cnvs-font-size-small);
}
