﻿body {
    background-color:#fff;
    font-family:'Open Sans','Raleway', Georgia, sans-serif;
    min-height:calc(100vh - 90px);
}

.bg-light-dark-1x{
    background-color:#efefef;
}



.main-container.container {
   min-height:calc(100vh - 90px)
}

.navbar-nav .nav-item a{
    font-size: .8rem;
}
.navbar-nav .nav-item a:hover{
        cursor:pointer;
        font-weight:500;
        color:#f46b2e !important;
}
.navbar-nav .nav-item.active {
    border-bottom:3px #f46b2e solid;
}
.navbar-nav .nav-item.active a {
    font-weight:bold;
}



.header .navbar{
    border:2px;
}
.header .navbar-brand{
    /*height: 90px;
    width: 90px;
    position:absolute;
    top:0px;*/
}
.header .navbar-brand .brand-logo {
    background:url(../../Content/Images/new_logo.jpg) no-repeat;
    background-size: contain;
    /*background: #fff url(../../Content/Images/safe_logo_hands.png) no-repeat -20px -5px;*/
    /*background-size: 120px;*/
    /*border-radius: 50%;*/
    display: block;
    height: 75px;
    width: 100px;
}
.header .navbar-brand .brand-title .main-title,
.safe-title {
    color: #f5aa31;
    font-size:2rem;
    font-weight: 600;
}
.header .navbar-brand .brand-title .sub-title {
    color: #6c757d;
    /*color:#fff;*/
    font-size:0.8rem;
    font-weight:600;
    text-transform:uppercase;
}
.header .navbar-brand .brand-title .main-title, 
.header .navbar-brand .brand-title .sub-title{
    margin:0px;
}
.header .navbar-nav .nav-item a {
    /*color:#343a40;*/
    /*color:#f8f9fa;*/
    font-size:0.9em;
    font-weight:600;
    text-transform:uppercase;
}
.header .navbar-nav .nav-item.active{
    border-bottom:none;
}

.header .navbar-nav .nav-item.active a {
    /*color:#ff5115 !important;*/
    /*color:#f5aa31 !important;*/
    color:#f46b2e !important;
    font-weight:bold;
}
.header .navbar .navbar-collapse{
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}
.header .navbar-collapse .navbar-toggler {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
}

.user-profile .dropdown-menu{
    top:auto;
}

.user-profile .dropdown-menu-right{
    right:10px;
}

#lvView_dropdownProfile{
    border: 1px solid #ccc;
    border-radius: 50px;
    padding-left: 5px;
    padding-top: 2px;
    padding-bottom: 0px;
    /*height: 42px;*/
}

#lvView_dropdownProfile .fa-user-circle{
    font-size:1.5em !important;
}

#lvView_lblUsername{
    vertical-align:top;
}


.main-content{
    margin-top: 75px;
    padding-top: 10px
    /*height: calc(100vh - 90px);*/
}
.main-content .right-panel .card.categories, 
.main-content .right-panel .card.archives {
    border:0px;
    margin-bottom:1rem;
    padding-bottom:1rem;
    margin-top:0.25rem;
    background-color:#f8f9fa;
}
.main-content .right-panel .card.user-points{
    border:0px;
    margin-bottom:1rem;
}
.main-content .right-panel .card.categories .card-header, 
.main-content .right-panel .card.archives .card-header{
    border:0px;
    font-weight:bold;
    padding-bottom:0.25rem;
    background-color:#f8f9fa;
}
.main-content .right-panel .card.categories .list-group-item , 
.main-content .right-panel .card.archives .list-group-item 
{
    border:0px;
    padding-top:0.25rem;
    padding-bottom:0.25rem;
    font-size:0.875rem;
    background-color:#f8f9fa;
}
.main-content .right-panel .card.categories a, 
.main-content .right-panel .card.archives a{
   color:#343a40;
}
.main-content .right-panel .summary-count {
    font-size:1em;
    font-weight:normal;
}

.skeleton.card.user-points .card-title{
    background-color:#fff !important;
    margin:auto;
}
.skeleton.card.user-points .card-title .trophy .fa-trophy{
    color:#dadee3 !important;
}
.skeleton.card.user-points .card-title .trophy .fa-star{
    color:#fdffff !important;
}
.skeleton.card.user-points .card-title .trophy-ribbon{
    background-color:#d4d7dc !important;
}
.skeleton.card.user-points .card-title .trophy-ribbon-text h4{
    padding: 0.7rem;
}
.skeleton.card.user-points .card-title .trophy-ribbon:before, 
.skeleton.card.user-points .card-title .trophy-ribbon:after {
    border-color:#dadee3;
}
.skeleton.card.user-points .card-title .trophy-ribbon-text:before, 
.skeleton.card.user-points .card-title .trophy-ribbon-text:after {
    border-color:#dadee3;
}
.skeleton.card.user-points .card-footer
{
    padding:0px !important;
}
.skeleton.card.user-points .card-footer .btn{
    width: 7rem;
    background-color:#dadee3;
}
.skeleton .list-group .list-group-item .badge {
    display: inline-block !important;
    padding: 0.7rem;
    background-color: #e9ecef;
}
.skeleton .list-group .list-group-item .badge.summary-content{
    width:70%;
}
.skeleton .list-group .list-group-item .badge.summary-count{
    width:20%;
}

.main-content .card.user-points .card-title {
    /*background-color: #e9ecef !important;*/
    /*width: 10em;*/
    margin: auto;
    font-size:0.9em;
}
.main-content .card.user-points .card-title .points-trophy-container
{
    position:relative;
}
.main-content .card.user-points .card-title .points-trophy-container .trophy .fa-stack{
    background-color:#e9ecef!important;
    border-radius: 50%;
    padding: 55px;
}
.main-content .card.user-points .card-title .points-trophy-container .trophy .fa-stack .fa-star{
    height: .8em;
    width: .8em;
    top: 20px;
    bottom: inherit;
    opacity:0.5;
}
.main-content .card.user-points .card-title .points-trophy-container .trophy .trophy-ribbon{
    position: absolute;
    bottom: 0px;
    margin: auto;
    text-align: center;
    left: calc(50% - 50px);
    font-size: 0.8em;
    background-color: #007bff;
    padding: 3px 5px;
    color: #fff;
    height:auto;
    width:100px;
}

.trophy-ribbon:before, 
.trophy-ribbon:after {
    content: "";
    position: absolute;
    display: block;
    bottom: -0.6em;
    border: 1.4em solid #026bdc;
}
.trophy-ribbon:before {
    left: -2em;
    border-right-width: 0.7em;
    border-left-color: transparent !important;
}
.trophy-ribbon:after {
    right: -2em;
    border-left-width: 0.7em;
    border-right-color: transparent !important;
}

.trophy-ribbon .trophy-ribbon-text:before, 
.trophy-ribbon .trophy-ribbon-text:after {
     content: "";
     position: absolute;
     display: block;
     border-style: solid;
     border-color: #0d4582 transparent transparent transparent;
     bottom: -6px;
     z-index: 1;
}
.trophy-ribbon .trophy-ribbon-text:before {
    left: 0;
    border-width: 0.7em 0 0 1em;
}
.trophy-ribbon .trophy-ribbon-text:after {
     right: 0;
     border-width: 0.7em 1em 0 0;
}

.trophy-ribbon .trophy-ribbon-text .ribbon-text-left, 
.trophy-ribbon .trophy-ribbon-text .ribbon-text-right{
    height: 0.6em;
    width: 11px;
    background-color: #026bdc;
    position: absolute;
    bottom: -6.5px;
}
.trophy-ribbon .trophy-ribbon-text .ribbon-text-left{ left: 0; }
.trophy-ribbon .trophy-ribbon-text .ribbon-text-right{ right: 0; }

/*.article-points {
    position: absolute;
    top: -10px;
}
.article-points .point-holder{
    color:#fff;
    font-family: Roboto;
    font-size: 1.2em;
    font-weight: bold;
    height: 100%;
    line-height:1;
    position: absolute;
    padding-right: 0px;
    padding-top: 10px;
    text-align: center;
    top: 5px;
    width: 100%;
}*/

.btn-orange, 
a.btn.btn-orange:hover, 
a.btn.btn-orange:active {
    color: #fff !important;
    background-color: #ff5115 !important;
    border-color: #ff5115 !important;
}

/*.btn-orange {
    color: #fff;
    background-color: #ff5115;
    border-color: #ff5115;
}*/


@media (max-width: 767.98px) {
    body{
        font-size:1rem;
    }

    .main-content{
        /*height: calc(100vh - 70px);*/
        margin-top:70px;
    }
    .navbar-brand {
        /*position: absolute;
        top: 10px;
        left: calc(50% - 55px);*/
    }

    .header .navbar-brand .brand-logo {
        /*background-size: 100px;*/
        height: 55px;
        width: 55px;
    }


    .header .navbar-brand .brand-title .main-title, .safe-title{
        font-size:1.5rem;
    }

    .header .navbar-brand .brand-title .sub-title
    {
         font-size:0.6rem;
    }

    .header .navbar-nav .nav-item a ,
    .header .navbar-nav .nav-item a:hover,
    .header .navbar-nav .nav-item a:active
    {
        color:#343a40 !important;
    }

    .navbar-collapse {
        position: fixed;
        top: 1rem;
        right: 1rem;
        left: 1rem;
        height: auto !important;
        max-height: calc(100vh - 2rem);
        background-color: #fff;
        border-radius: .375rem;
        box-shadow: 0 1.5rem 4rem rgba(22,28,45,.15);
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        transition: all .2s ease-in-out;
        transition-property: opacity,transform;
        transform-origin: top right;
    }

    .nav-item.user-profile{
        /*border: 1px solid #ccc;*/
        background-color: #f8f9fa!important;
        margin-top:10px;
    }

   #navbarSite .navbar-nav{
       text-align:center;
   }

    #lvView_dropdownProfile{
        border: 0px;
        text-align:center;
        margin-top:10px;
    }

   .nav-item.user-profile .dropdown-menu{
       border:0px;
       background-color: #f8f9fa!important;
       display:block !important;
   }

   .nav-item.user-profile .dropdown-toggle::after{
       display:none;
   }

   .nav-item.user-profile .dropdown-menu .card-header{
       font-size: 0.8em;
   }
   .nav-item.user-profile .dropdown-menu .card-body .fa-stack{
       font-size: 1.5em;
       position: absolute;
       left: 10px;
       top: 15px;
   }

   #lvView_lblNavUserPoints{
       font-size:2em;
       font-weight:bolder;
   }

   #lvView_LogOutButton{
        background-color: #343a40;
        color: #fff !important;
        width: 90%;
        margin: auto;
        text-align: center;
        padding: 7px;
        border-radius: 20px;
   }

   /*#modalCongrats .congrats-message{
       text-align:center !important;
   }*/
}

@media (min-width: 1200px) {
    .main-container.container {
        background-color:#faf6f2;
        max-width: 1200px;
        box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important;
    }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .content .main-summary{
        position: fixed;
   }
}