html, body {
    margin: 0;
}

body {
  /* font-family: 'Open Sans', Arial, sans-serif; */
  font-size: 0.9em;
  background-color: #ddd;
  overflow-x: hidden;
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover { text-decoration: none; }
button:focus { outline: none; }

ul, h1, h2, h3, h4, p, figure {
    padding: 0;
    margin: 0;
}

h1, h2, h3 {
    color: black;
    font-weight: 600;
}

p {
    color: black;
    line-height: 1.9;
}

.risk-color-primary { color: #09F; }

.navbar-toggler {
    padding: 10px 15px;
    border-color: #d4d4d4;
}

.container-fluid {
    max-width: 1200px;
    background-color: white;
    padding-left: 2em;
    padding-right: 2em;
}

@media (max-width: 992px) {
    .container-fluid {
        padding-left: 1em;
        padding-right: 1em;
    }
}

.risk-site-header {
    padding-top: 0.5em;
}

@media (max-width: 992px) {
    .risk-site-header {
        padding-top: 2em;
        padding-bottom: 2em;
    }
}

.risk-site-header-col {
    display: flex;
    justify-content: space-between;
}

.risk-site-header-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.risk-site-icon {
    display: none;
    padding-right: 0.7em;
    color: #999;
    width: 3rem;
    height: 3rem;
    background: url(../img/logo2.png);
    background-size: cover;
}

.risk-site-name {
    display: inline-block;
    text-transform: uppercase;
    font-size: 1.5rem;
    color: #999;
}

.risk-main-bg {
    background-image: url(../img/risk-splash.png);
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: cover;
    height: 300px;
    min-height: 150px;
    margin: 0 -2em;
}
@media (max-width: 992px) {
    .risk-main-bg {
        margin: 0 -1em;
    }
}

.risk-about-bg { background-image: url(../img/new-vision-02.jpg); }
.risk-services-bg { background-image: url(../img/new-vision-03.jpg); }
.risk-contact-bg { background-image: url(../img/new-vision-04.jpg); }

@media (max-width: 992px) {
    .risk-contact-bg { background-position: 80% top; }
}

nav > ul > li { list-style: none; }

.risk-nav {
}

.risk-nav > ul {
    display: flex;
    flex-direction: row;
    padding-right: 1em;
}

@media (max-width: 992px) {
    .risk-nav > ul {
        flex-direction: column;
        padding-right: 0;
    }
}

.risk-nav-link {
    font-size: 1.2rem;
    text-decoration: none;
    color: #999;
    display: inline-block;
    padding: 0.5em 1em;
/*    margin-left: 1em; */
    border-bottom: 5px solid transparent;
}

@media (min-width: 1080px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1em;
        padding-left: 1em;
    }
}

.nav-item > .risk-nav-link:hover,
.nav-item.active > .risk-nav-link {
    color: #000;
    border-bottom: 5px solid #09F;
    border-left: none;
}

@media (max-width: 992px) {
    .navbar-nav .risk-nav-link {
        margin-left: 0;
        margin-bottom: 0.7em;
        width: 100%;
        display: block;
        padding: 0.7em 0.5em;
    }

    .nav-item .risk-nav-link {
        border-left: 5px solid transparent;
        border-bottom: none;
    }

    .nav-item > .risk-nav-link:hover,
    .nav-item.active > .risk-nav-link {
        border-left: 5px solid #09F;
        border-bottom: none;
        padding-left: 0.5em
    }
    .nav-tabs .nav-item h3 {
        font-size: 1.3em;
    }
}
@media (max-width: 661px) {
    .nav-tabs .nav-item h3 {
        font-size: 1em;
    }
}

.risk-menu-container-outer {
    display: flex;
    justify-content: flex-end;
}

.risk-menu-container {
    display: inline-block;
    margin-right: -20px;
}

@media (max-width: 992px) {
    .risk-menu-container {
        position: absolute;
        right: 2em;
        top: 0;
    }

    .risk-nav {
        height: 0;
        transition: all 0.3s ease;
        position: absolute;
        right: 0;
        top: 44px;
        z-index: 1000;
        background-color: white;
        margin: 0;
        min-width: 180px;
    }

    .risk-nav.show { height: auto; }

    #navbarSupportedContent1 {
        position: absolute;
        top: 50px;
        right: 0;
        z-index: 1000;
        background-color: white;
    }
}

.risk-page-header {
    display:block;
    height:1px;
}

.risk-section-header {
    display: inline-block;
    background-color: #dc3545;
    color: white;
    padding: 0.8em 1em 1em 1em;
}

@media (max-width: 500px) {
    .risk-section-header { padding: 0.8em 1em 1em 1em; }
}

.risk-section-header .d-flex .p-2 {
    align-self: flex-end;
}

.risk-section-header h2 {
    font-size: 2rem;
    color: #fff;
}

.risk-section-header a {
    color: #fff;
    border-color: #fff;
}
.risk-section-header a:hover {
    color: #fff;
    border-color: #fff;
    background: #ec5545;
}

.risk-section-header-small h2 {
    font-size: 1.5rem;
}


.risk-header-floating {
    position: relative;
    z-index: 100;
    top: -2em;
}

.risk-body-row {
    margin-top: 5em;
    margin-bottom: 1em;
}

.risk-body-row + .risk-body-row {
    margin-top: 1em;
}

.risk-body-row-2 { margin-bottom: 45px; }

.risk-block {
/*
    display: flex;
    align-items: flex-start;
*/
    margin-bottom: 2em;
}

.risk-body-row .col-lg-6 {
    margin-bottom: 1em;
}

.risk-block-link:hover,
.risk-block-title {
    color: #09F;
}
.risk-hover-color { color: #09F; }

.risk-block-title {
    margin-bottom: 0.5em;
    /* transition: all 0.3s ease; */
}

.risk-block-v-center { align-items: center; }

@media (max-width: 992px) {
    .risk-block-body { width: auto; }
}

@media (max-width: 480px) {
    .risk-block { flex-direction: column; }
    .risk-block-img { width: auto; }

    .risk-block-body {
        max-width: 300px;
        margin-right: 0;
        margin-top: 20px;
    }
}

.risk-block-footnote {
    font-size: 0.7em;
}

.risk-block ul {
    margin-right: 2em;
}

.risk-article-title {
    font-size: 1.3rem;
    text-transform: uppercase;
    line-height: 1.5;
}

.risk-article-title,
.risk-article-text {
    margin-bottom: 30px;
}

.risk-article-link { align-self: flex-end; }

.list {
    padding-left: 2em;
}

.risk-featured { margin-bottom: 50px; }

.pagination {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.pagination li {
    border: 1px;
    margin: 0.2em 0.3em 0.2em 0;

}
.pagination li:last-child {
    margin-right: 0;
}
.pagination li .disabled:hover
{
    cursor: initial;
}

footer {
    color: #666;
    padding-top: 2em;
    padding-bottom: 4em;
}

footer a { color: #666; }

footer a:hover {
    color: #09F;
    text-decoration: none;
}

footer div + div {
    text-align: right;
}

.risk-btn-primary {
    color: white;
    background-color: #dc3545;
}

.risk-btn-primary:hover,
.risk-btn-primary:focus {
    color: white;
    background-color: #ec5545;
}

.risk-link { color: #666; }
.risk-contact-box { padding: 65px; }

.risk-stats .avatarWrapper {
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.4em;
    display: inline-block;
}
.avatarWrapper {
    background: no-repeat 50% 50%;
    background-size: contain
}
.avatarWrapper img {
    width:100%;
    height:100%;
}

.stats-extra {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}



.leaderboard-options {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.leaderboard-options li {
    margin: 0.2em 0;
    padding: 0;
}

.risk-download h4 {
    margin-top: 1.5em;
}

.risk-store img {
    width: 15em;
    max-width: 100%;
}
.risk-store .hide {
    display: none;
}

.risk-player-global {
    flex-direction: row-reverse;
}

.htmlContent h1{
    font-size:140%;
    margin:0.6em 0;
    font-weight:bold;
}
.htmlContent h2{
    font-size:120%;
    margin:1.5em 0 0.75em 0;
    font-weight:bold;
}
.htmlContent h3{
    font-size:110%;
    margin:0.5em 0;
    font-weight:bold;
}
.htmlContent p{
    margin:0.6em 0 0.3em 0;
}
.htmlContent strong{
    font-weight:bold;
}
.htmlContent ul, .htmlContent ol {
    margin: 0.25em 0.5em;
    padding: 0 0 0 2em;
}
.htmlContent ol li {
    margin: 0.5em 0;
}
.htmlContent ul li {
    margin: 0.5em 0.25em;
    list-style: disc;
}
.htmlContent ul li li {
    margin: 0;
    list-style: circle;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.prime-login-account {
    margin-bottom:2em;
}

@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        .risk-header-floating {
            top:-7em;
        }
    }
}

.login-panel {
    margin: 0;
    max-width: 30em;
}

.login-panel .spacer1 {
    margin-bottom:5px;
}

.login-panel .socialLoginButton {
    display: block;
    padding-bottom: 1em
}
.login-panel .customSignIn {
    display: inline-block;
    background: white;
    color: #444;
    width: 190px;
    border-radius: 5px;
    border: thin solid #888;
    box-shadow: 1px 1px 1px grey;
    white-space: nowrap;
}
.login-panel .customSignIn:hover {
    cursor: pointer;
}
.login-panel span.label {
    font-family: serif;
    font-weight: normal;
}
.login-panel .customSignIn .icon {
    display: inline-block;
    vertical-align: middle;
    width: 42px;
    height: 42px;
}
.login-panel span.buttonText {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    font-weight: bold;
    /* Use the Roboto font that is loaded in the <head> */
    font-family: 'Roboto', sans-serif;
}
.login-panel #signinGoogle.customSignIn .icon {
    background: url('../img/g-normal.png') transparent 5px 50% no-repeat;
}
.login-panel #signinSteam.customSignIn .icon {
    background: url('../img/Steam_icon_logo.png') transparent 5px 50% no-repeat;
    background-size: 60% 60%;
}
.login-panel #appleid-signin {
    height:44px;
    width:190px;
}
