html {
    margin: 0;
    padding: 0;

    --page-width-clamp: clamp(800px, 90lvw, 1600px);
    --column-break-width: 1090px;
}

body {
    background: #FCFCFC;
    margin: 0;
    padding: 0;

    font-family: 'Roboto', Arial, sans-serif;
    color: #1F1D2C;

    width: 100vw;
    overflow-x: hidden;
}

/* FOOTER */
#footer {
    width: var(--page-width-clamp);
    margin: 0 auto 4vh;
    
}
#footer .copyright {
    padding: 1vh 3vh;
    font-weight: 300;
    font-style: italic;
    font-size: .8em;
}

/* HEADER */
#header {
    position: relative;
    box-shadow: 0 0 5px rgba(0,0,0,.2);
    border-radius: 8px 8px 0 0;
    height: 4vh;
    width: var(--page-width-clamp);
    margin: 4vh auto 0;
}
#header #dex-logo {
    position: absolute;
    bottom: -1vh;
    left: 1vh;
    z-index: 10;
}
#header #dex-logo img {
    /*header is 4vh high, so this is 1vh more in each vertical direction*/
    height: 6vh; 
    filter: drop-shadow(0 0  5px rgba(0,0,0,.2));
}
#header .title {
    position: absolute;
    font-size: 1.9vh;
    top: 1vh;
    /* Logo is 6vh square, with a 1vh margin, so title has 8vh margin */
    left: 8vh;
}
#header .subTitle {
    position: absolute;
    top: 1.75vh;
    left: 16vh;
    font-size: 1.1vh;
}
#header #contact-us-button {
    position: absolute;
    margin: calc((4vh - 1.8vh)/2) 0;
    right: 1.2vh;
    font-size: 1vh;

}

#backpane {
    background: linear-gradient(135deg, #C44F93, #492FAB, #492FAB, #292251);
    width: 100vw;
    height: 40vh;
    position: relative;
    display: flex;
    justify-content: center;
}
#backpane svg {
    position: absolute;
    width: 100%;
    height: 100%;
}
#backpane.article {
    height: 20vh;
}
#article-header {
    position: absolute;
    bottom: 0;
    width: var(--page-width-clamp);
    background: #FCFCFC;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -4px 5px rgba(0,0,0,.2);
}
#article-header span {
    display: block;
    font-size: 26pt;
    font-weight: 400;
    padding: 1vh 3vh 0;
}

/* Navigation */
#nav {
    position: relative;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 0 5px rgba(0,0,0,.2);
    border-radius: 0 0 8px 8px;
    height: 4vh;
    width: var(--page-width-clamp);
    margin: 0 auto;
    display: flex;
    flex-flow: row;
}
#nav a {
    text-decoration: none;
    margin: 1vh 1vw;
    color: #FEFEFE;
    font-weight: 300;
    font-size: 1.1vh;
    border-radius: 6px;
    padding: 6px 10px;
}
#nav a:first-child {
    margin-left: calc(8vh - 10px);
}
#nav a:hover {
    background: rgba(255,255,255,.05);
}

#landing-highlights {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: row;
    flex-basis: 30%;
    background: #FCFCFC;
    min-height: 18vh;
    padding-top: 1vh;
    width: var(--page-width-clamp);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 0 5px rgba(0,0,0,.2);
}
@media (max-width: 1090px) {
    #landing-highlights {
        flex-direction: column;

    }
    #landing-highlights div.highlight:last-child {
        display:none;
    }
}
.highlight {
    padding: 2vh 3vh;
    position: relative;
    flex: 1 0;
}
.highlight h2 {
    margin: 0 0 2vh;
}
.highlight p {
    font-weight: 300;
    font-size: 1em;
    line-height: 1.6em;
    margin-bottom: 3vh;
}
.highlight a.button {
    position: absolute;
    bottom: 1.5vh;
    right: 2vw;
}
#landing-highlights .highlight:first-child {
    background: #FC702B;
    color: #FCFCFC;
    border-radius: 0 12px 0 0;
}
#landing-highlights .highlight:first-child a.button {
    background: #FCFCFC;
    color: #1F1D2C;
}

/* Page Center Flow */
#page {
    margin: 0 auto;
    width: var(--page-width-clamp);
    min-height: 10vh;
    box-shadow: 0 0 5px rgba(0,0,0,.2);
    border-radius: 0 0 8px 8px;
}
#page .content {
    padding: 1vh 3vh;
}
#page .content p {
    font-size: 1em;
    line-height: 1.8em;
    font-weight: 300;
}
#page .content a {
    text-decoration: none;
    color: #FC702B;
}
#page .content a:hover {
    font-weight: 500;
}
#page .content strong {
    font-weight: 500;
    letter-spacing: 1px;
}
dl, ol, ul {
    font-size: 1em;
    line-height: 1.5em;
    font-weight: 300;
}
#page .content dt {
    font-weight: 500;
    letter-spacing: 1px;
}
#page .content dd {
    padding-bottom: 15px;
}
.page-highlights, .page-shades {
    min-height: 18vh;
    display: flex;
    flex-direction: row;
    flex-basis: 30%;
    padding-top: 1vh;
}
@media (max-width: 1090px) {
    .page-highlights, .page-shades {
        flex-direction: column;
    }
}
.page-highlights .highlight, .page-shades .highlight {
    padding: 2vh 3vh;
    position: relative;
    flex: 1 0;
}

/* Page Highlights - Offered By Smart */
#offered-smart .smartLogo {
    float: right;
}
#orange-cloud {
    background: url('/assets/orangeCloud.png') no-repeat center center;
    background-size: contain;
}
@media (max-width: 1090px) {
    #orange-cloud {
        display: none;
    }
    #offered-smart {
        display: flex;
        justify-content: space-between;
    }
}

/* Page Shades  */
.page-shades {
    background: linear-gradient(180deg, #F4F3FC, #F6F5FC, #F3E6FD);
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}

/* Blog Highlights */
.blog-highlight {
    padding: 2vh 3vh;
    position: relative;
    flex: 1 0;
    display: flex;
    flex-flow: column;
    overflow: hidden;
}
.blog-highlight .blog-preview {
    flex: 1 0;
    padding-bottom: 15px;
}
.blog-highlight .blog-preview h3 {
    margin-top: 0;
    white-space: nowrap;
    overflow: hidden;
}
.blog-highlight .blog-preview p {
    font-size: .9em;
    font-weight: 300;
    height: 2vh;
    overflow: hidden;
}
.blog-highlight .blog-preview a {
    display: inline-block;
    padding: 4px 0;
    text-decoration: none;
    color: #FC702B;
    font-size: .9em;
}
.blog-highlight .blog-preview a:hover {
    font-weight: 500;
}



/* Button Styles */
a.button, button {
    font-size: .9em;
    border-radius: 6px;
    padding: 6px 10px;
    text-decoration: none;
}
a.button:hover, button:hover {
    box-shadow: 1px 1px 8px rgba(0,0,0,.2);
}
a.button.primary, button.primary {
    background-color: #FC702B;
    color: #FEFEFE;
}
a.button.secondary, button.secondary {
    background-color: #5C45B5;
    color: #FEFEFE;
}

/* Smart Software Logo */
.smartLogo {
    display: inline-block;
    background: url('https://www.smartsoftwareinc.com/image/landing/smartLogo-large2.png');
    background-size: contain;
    background-repeat: no-repeat;
    text-decoration: none;
    padding-left: 60px;
}
.smartLogo span {
    display:block;
    text-transform: uppercase;
    font-size: 12px;
    color: #1F1D2C;
}
.smartLogo span:first-child {
    color: #0c458e;
    text-transform: lowercase;
    font-weight: 500;
    font-size: 48px;
    line-height: 40px;
}


/* Text Classes */
.title {
    font-size: 1.8em;
    font-weight: 500;
}
.subTitle {
    font-size: 1em;
    font-weight: 300;
    font-style: italic;
}
h2 {
    font-weight: 400;
}
h3 {
    font-weight: 400;
}
h2 span, h3 span, h4 span {
    font-weight: 500;
}
