/*
 * Beretta Styles
 * ----------
 */

@import "webRanking.css";

body {
    min-width: 320px;
}

@media (max-width: 990px) {
    /* Reduce breadcrumb padding */
    .content-header {
        padding: 0px;
    }

    .content {
        padding: 5px;
    }

    /* Hide breadcrumb for small screens */
    .content-header > .breadcrumb {
        display: none;
    }
}

/**

    Sidebar Menu

**/

.left-sideboard-menu-icon{
    text-align: center;
    width: 20%;
    display: inline-block!important;
    padding: 15px;
    font-size: 20px;
}

.right-sideboard-menu-text{
    width: 80%;
    display: inline-block!important;
    text-align: left;
    padding: 15px 15px 15px 0px !important;
    border-bottom: 2px solid #EEEEEE;
}

.role-text{
    font-size: 10px;
    padding-left: 10px;
}

.user-data-sidebar {
    position: relative;
    width: 100%;
    padding: 15px;
    overflow: hidden;
    line-height: 1;
}
.user-data-sidebar:before,
.user-data-sidebar:after {
    content: " ";
    display: table;
}
.user-data-sidebar:after {
    clear: both;
}

.beretta-material-skin .user-panel {
    height: 80px;
}

.beretta-material-skin .user-panel:after {
    content: "";

    height: 2px;
    width: 70%;

    position: absolute;
    bottom: 0;
    margin-left: 2%;

    background: #13506F;    
}

@media (max-width: 767px) {
    /* Lower the sidebar to prevent it from being
       hidden under te main-header */
    .sidebar {
        margin-top: 60px;
    }
}

.sidebar-menu > li {
    padding-top: 10px;
    padding-bottom: 10px;
}

.sidebar img.icon {
    width: 20px;
    margin-right: 10px;
}

.sidebar-menu a span {
    text-transform: uppercase;
    font-weight: 400;
}

/**

    Colors

**/

/*.bg-light-grey {*/
    /*background-color: #EEEEEE !important;*/
/*}*/

/*.bg-dark-blue{*/
    /*color: white;*/
    /*background-color: #003652;*/
/*}*/

/*.bg-standard-blue{*/
    /*background-color: #13506F;*/
/*}*/

.bg-very-light-blue{
    background-color: #0DC1C6;
}

/*.bg-first-try-green{*/
    /*background-color: #2C9FA2;*/
/*}*/

.bg-age-bucket-18 {
    background-color: rgba(168, 42, 42, 0.2);
}
.bg-age-bucket-18-30 {
    background-color: rgba(168, 42, 42, 0.4);
}
.bg-age-bucket-31-50 {
    background-color: rgba(168, 42, 42, 0.6);
}
.bg-age-bucket-51-60 {
    background-color: rgba(168, 42, 42, 0.8);
}
.bg-age-bucket-60 {
    background-color: rgba(168, 42, 42, 1);
}

/*.standard-white{*/
    /*color: white;*/
/*}*/

/**

    TABLES

**/

.table>tbody>tr>td {
    vertical-align: middle !important;
}

/*.beretta-skin {*/
/*font-family: "Roboto", serif !important;*/
/*}*/

/*h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {*/
/*font-family: "Roboto", serif !important;*/
/*font-weight: 100 !important;*/
/*}*/

/**

    info-box

**/

.beretta-skin.info-box-text {
    white-space: normal;
}

.front-image {
    width: 40%;
}

/**

    Shots table

**/
.shot-table {

}

.shot-table tbody tr {
    border-top: 3px solid gray;
    border-bottom: 3px solid gray;
}

.shot-th-st{
    text-align: center;
    width: 22px;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.shot-st{
    /*border-right: 2px solid white !important;*/
    width: 22px;
    padding: 5px 0px !important;
}

.shot-st img {
    margin-right: 2px;
}

.perc-st{
    text-align: center;
}

/**

    Shot KPIs table

**/
.shot-kpi-table {

}

.shot-kpi-table tbody tr {
    border-top: 3px solid gray;
    border-bottom: 3px solid gray;
}


.shot-kpi-table tbody tr td {
    font-weight: normal;
}

.shot-kpi-table tbody tr.total {
    border: none;
}

.shot-kpi-table tbody tr.total td {
    font-weight: bold;
}

/**

    Legend

**/

.legend {
    padding-left: 0;
    list-style: none;
}

.legend>li {
    position: relative;
    display: block;
    margin: 5px;
}

/**

    Table expandable row

**/

.hiddenRow {
    padding: 0 !important;
}

.td-head .chevron {
    vertical-align: middle;
}

.td-head .chevron:after {
    content: "\f078";
}
.td-head.collapsed .chevron:after {
    content: "\f054";
}

.td-head .chevron.down:after {
    content: "\f077";
}
.td-head.collapsed .chevron.down:after {
    content: "\f078";
}


.numberCircle {
    border-radius: 50%;

    width: 28px;
    height: 28px;
    padding: 1px;

    background: #fff;
    border: 2px solid #666;
    color: #666;
    text-align: center;

    /*font: 32px Arial, sans-serif;*/
}

.beretta-excl{
    right: -5px;
    position: absolute;
    top: -2px;
}

/**

    Bootstrap column overrides

**/
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    /*padding-right: 15px;
    padding-left: 15px;*/
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}

/* The biggest header should not be bigger than the logo */
.main-header .logo {
    font-size: 24px;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 18px;
}

/* Force the box-tools section to go to new line
   instead of overlapping the box title */
.box-header > .box-tools {
    float: right;
    position: unset;
}

/**

    Cards style

**/

/* Box Structure */
.card {
    height: 455px;
}

/* This card has no visible header separation*/
.card > .box-header {
    height: 60px;
    color: #003652;
    border: none !important;
}

/* This card has blue header, with shadow*/
.card.card-with-extended-content > .box-header {
    background-color: #003652;
    color: white;
    box-shadow: 0px 3px 2px 0.5px rgba(0,0,0,0.4);    
}

/*.card .box-header .box {
    height: 60px;

    background-color: #003652;
}*/

.card .box-body {
    height: 350px;
}

.card .box-footer {
    height: 45px;
    padding: 0%;
}

/* Misc */
.card .btn {
    font-size: 1em;
}

.card .btn {   
    color: #003652;
}

.card .box-footer {
    padding: 2px 15px;
}

.card .box-header .btn {
    background-color: #003652;
    color: white !important;
}

.card .main-title {
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
}

.card .sub-title {
    font-weight: 300;
    font-size: 0.8em;
}

@media (max-width: 550px) {
    .card {
        height: 255px;
    }
    
    .card .box-header {
        height: 33px;
        padding: 8px;
    }

    .card.card-with-extended-content .box-header {
        height: 33px;
        padding: 5px;
    }   

    .card .box .box-header .box-title {
        font-size: 14px;
    }
    
    .card .box-body {
        height: 197px;
    }
    
    .card .box-footer {
        height: 25px;
        padding: 0px;
    }

    .card .main-title {
        font-size: 0.8em;
    }
    
    .card .sub-title {
        font-size: 0.6em;
    }

    .card .btn {
        font-size: 0.7em;
        margin: 0;
    }
}

.btn.btn-on-hover {
    display: none; /* Will show up hovering the containing box */
}

.btn-header {
    margin-top: -5px;
    font-size: 1.2em;
    float: right;
}

.card.btn-on-hover:hover .box-body {
    opacity: 0.5;
}        

.card:hover .btn-on-hover {
    display: block; /* On :hover of div show button */
}

.right-bordered-children > div:not(:last-child) {
    border-right: 2px solid lightgray;
}

/**
    HEADER BAR
**/
.custom-section .navbar-custom-menu {
    height: 100%;
}
.custom-section .navbar-nav {
    height: 100%;
}
.custom-section .navbar-nav > li {
    height: 100%;
    text-align: center;
}
.custom-section .navbar-nav > li > .dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
}
.custom-section .navbar-nav > li > a > p {
    font-weight: 400;
    text-transform: capitalize;
    margin-top: 8px;
}
.custom-section .navbar-nav > li > a > img {
    width: 32px;
    height: 32px;
}

@media (max-width: 1200px) {
    .custom-section .navbar-nav > li > a {
        line-height: 28px;
    }

    .custom-section .navbar-nav > li > a > p {
        font-size: 14px;
    }

    .custom-section .navbar-nav > li > a > img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 767px) {
    .custom-section .navbar-nav > li > a {
        line-height: 24px;
    }

    .custom-section .navbar-nav > li > a > p {
        font-size: 12px;
        display: none;
    }

    .custom-section .navbar-nav > li > a > img {
        margin-top: 10px;
        width: 24px;
        height: 24px;
    }
}

.content-header > .breadcrumb {
    top: -5px;
    right: 0px;
}

/**

    Fluid grid layout

**/
.fluid-grid-container {
    position: relative;
    display:table;
    width:100%;
    height: 100%; /* auto is default, you can have ur height here */
}

.fluid-grid-container-wrapper {
    display: table-cell;
    margin:auto;
    text-align:center;
    width:100%;
    height:100%;
    vertical-align:middle;
}

.fluid-grid-card {
    text-align: left;
    width: 500px;
    margin: 10px;
}

@media (max-width: 550px) {
    .fluid-grid-card {
        width: 280px;
        /*margin: 10px;*/
    }
}

.fluid-grid-container-wrapper .fluid-grid-card {
    display: inline-block;
    vertical-align: top;
}

.fluid-grid-container-wrapper-js,
.fluid-grid-container-wrapper-first-line-js {
    margin:auto;
    width:100%;
}

/* To prevent the Cards to be too many
   and the 'wide-as-the-cards' box out of place */
.content {
    max-width: 1900px;
}

/*
    This is now handled dynamically by 
    JS: beretta.js updateWideAsTheCardsWidth()
*/
/*.wide-as-the-cards {
    width: 1560px;
}    

@media (max-width: 1810px) {
    .wide-as-the-cards {
        width: 1040px;
    }
}

@media (max-width: 1287px) {
    .wide-as-the-cards {
        width: 500px;        
    }
}

@media (max-width: 550px) {
    .wide-as-the-cards {
        width: 280px;
    }
}*/

.breadcrumb {
    font-size: 14px !important;
    font-weight: 400;
}

/**

    Journal section

**/

.upper-date {
    font-weight: bold !important;
    margin-bottom: 0px;
    font-size: 1.2em;
    
}
.lower-date {
    font-size: 1.2em;
}
.note-table {
    border-collapse: separate;
    border-spacing: 0px 10px;
}
.note-time-box,
.note-entry {
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.2), 0 1px 5px 0 rgba(0,0,0,0.12);
}
.note-entry a {
    color: #13506F;
    cursor: pointer;
}
.note-entry-calendar-icon {
    color: #13506F;
    text-align: center;
    font-size: 30px;
    max-width: 99px;
}
.note-entry-calendar-icon img {
    width: 40px;    
    -webkit-filter: opacity(0.5) drop-shadow(0 0 0 #13506F);
    filter: opacity(0.5) drop-shadow(0 0 0 #13506F);
}
.note-entry-date {
    padding-top: 20px !important;
}
.note-entry-show-details {
    color: #13506F;
}
.note-entry-show-details a {
    color: #13506F;
    cursor: pointer;
}
.note-entry-delete {
    text-align: center;
    font-size: 26px;
}
.note-entry-delete a {
    color: gray;
    cursor: pointer;
}
.note-entry-delete img {
    width: 24px;    
    -webkit-filter: opacity(0.5) drop-shadow(0 0 0 gray);
    filter: opacity(0.5) drop-shadow(0 0 0 gray);
}

/* Hide Spint button (for input type=number)*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Equipment Section */

.equipment-list-title{
    font-size: 16px;
}

.upper-brand {
    font-weight: bold !important;
    margin-bottom: 0px;
    font-size: 1.2em;
}

.lower-model{
    font-size: 1.2em;
}

.equipment-table {
    border-collapse: separate;
    border-spacing: 0px 10px;
}
.equipment-time-box,
.equipment-entry {
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.2), 0 1px 5px 0 rgba(0,0,0,0.12);
}
.equipment-entry a {
    color: #13506F;
    cursor: pointer;
}
.equipment-entry-calendar-icon {
    color: #13506F;
    text-align: center;
    font-size: 30px;
    max-width: 99px;
}
.equipment-entry-calendar-icon img {
    width: 40px;
    -webkit-filter: opacity(0.5) drop-shadow(0 0 0 #13506F);
    filter: opacity(0.5) drop-shadow(0 0 0 #13506F);
}
.equipment-entry-date {
    padding-top: 20px !important;
}
.equipment-entry-show-details {
    color: #13506F;
}
.equipment-entry-show-details a {
    color: #13506F;
    cursor: pointer;
}
.equipment-entry-delete {
    text-align: center;
    font-size: 26px;
}
.equipment-entry-delete a {
    color: gray;
    cursor: pointer;
}
.equipment-entry-delete img {
    width: 24px;
    -webkit-filter: opacity(0.5) drop-shadow(0 0 0 gray);
    filter: opacity(0.5) drop-shadow(0 0 0 gray);
}

.equipment-entry-favorite-list {
    text-align: center;
}

.favorite-item {
    font-size: 1em;
}

.equipment-entry-favorite {
    text-align: center;
    font-size: 26px;
}
.equipment-entry-favorite a {
    color: #13506F;
    cursor: pointer;
}
.equipment-entry-favorite img {
    width: 24px;
}

/*  Shots statistics tables */
.row.shots-statistics,
.shots-statistics .row {
    margin: 0 auto;
}

.shots-statistics .col-md-12 {
    padding: 0;
}

.shots-statistics.table-responsive,
.shots-statistics .table-responsive{
    border: none !important;
}


.box.shots-statistics {
    box-shadow: none;
    padding: 0 !important;
}

.box.shots-statistics.collapsible-minigrid .box-header .box-title {
    padding: 10px;
    margin-top: 5px;
}

@media (max-width: 550px) {
    .box.shots-statistics.collapsible-minigrid .box-header {
        padding: 4px;
    }

    .box.shots-statistics.collapsible-minigrid .box-header .box-title {
        padding: 4px;
        margin-top: 2px;
    }

    table.shots-statistics,
    table.series-shots-statistics {
        font-size: 0.6em;
    }
}

table.shots-statistics,
table.shots-statistics tr:first-child,
table.shots-statistics tr:first-child th {
    border: none;
    text-transform: uppercase;
    font-weight: 400;
}

table.shots-statistics tr:first-child,
table.shots-statistics tr:first-child th {
    font-size: 0.97em;
}

table.shots-statistics tr:not(:first-child) td,
table.shots-statistics tr:not(:first-child) th {
    border: 2px solid #e0e0e0;
}

table.shots-statistics tr th,
table.shots-statistics tr td {
    padding: 1px 2px;
    text-align: center;
}

table.shots-statistics .summary-row {
    background: #f8f8f8;
    font-weight: bold;
}

table.series-shots-statistics{
    margin-top: 30px !important;
}

table.series-shots-statistics tr:first-child,
table.series-shots-statistics tr:first-child th,
table.series-shots-statistics tr:first-child td {
    background: #f8f8f8;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.90em;
    padding: 3px 4px;
}

table.series-shots-statistics tr td,
table.series-shots-statistics tr th {
    border: 2px solid #e0e0e0;
    padding: 1px 2px;
    text-align: center;
}

table.series-shots-statistics .per-status-total-row td {
    background: #f8f8f8;
}

table.series-shots-statistics .empty-cell {
    border: none !important;
    background: none !important;
}

table.series-shots-statistics .total-row {
    font-weight: bold;
}

/* Display a triangle to the bottom-right corner
   to indicate that the field (or cell) is editable */
.editable {
    position: relative;
    padding-right: 5px !important;
}

.editable:after {
    content: "";
    
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0; 
    height: 0; 
    display: block;

    border-style: solid;
    border-width: 0 0 10px 10px;
    border-color: transparent transparent #ff8c00 transparent;
}

.switch-to{
    padding: 8px;
    text-align: center;
    cursor: pointer;
}



.profile-container{
    width: 100%;
}

.profile-container h3{
    font-size: 16px;
}

.level-background-image{
    min-height: 140px;
    width: 100%;
    background-size: cover !important;
    background-position-y: center !important;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.level-background-image > h3{
    padding: 5px;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 2px;
    margin-top: 3px;
}

.profile-information-container{
    display: flex;
    justify-content: space-between;
}

.info-right{
    padding-left: 3rem;
    padding-bottom: 3rem;
    margin-top: -6rem;
    flex-basis: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-info > img{
    margin-bottom: 0;
}

.profile-info > h3{
    margin-top: 0;
}

.name-surname-profile{
    margin-top: 10px !important;
}

.profile-info-contact{
    margin-top: 20px;
}

.profile-achievements{
    display: flex;
    margin-top: 1rem; 
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.info-left{
    padding-right: 3rem;
    padding-bottom: 3rem;
    flex-basis: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.sd-points{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.sd-points-logo{
    width: 40px;
    height: 40px;
    background: url("../images/sdPointsIcon.png");
    background-size: cover;
}

.profile-info-contact > h3,
.sd-points>h3{
    margin-top: 5px;
    margin-bottom: 0;
}


.user-image{
    max-width: 140px;
    max-height: 140px;
    margin: 2rem;
    border-radius: 50%;
    border: 1px solid black;
    margin-left: -1rem;
}

.achievement{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    width: 80px;
    text-align: center;
}

@media (max-width: 1430px) {
    .profile-box{
        max-width: 100%;
    }
    .box-table-out-form{
        display: none;
    }
    .form-redeem-points{
        flex-basis: 60%!important;
    }
    
        
}


.form-redeem-points,
.form-redeem-points-manager {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-basis: 100%;
}

.form-redeem-points{
    justify-content: space-evenly;
}

.form-redeem-points-manager{
    padding: 2rem;

}

@media (max-width: 1000px) {
    .form-redeem-points-manager{
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
    }

    .select-redeem-points{
        width: 100%;
    }
}
@media (max-width: 450px) {
    .form-redeem-points-manager{
        padding: 0;
        padding-left: 1rem;
        margin-left: 1rem !important;
    }

    .input-redeem-point{
        margin-bottom: 20px;
        flex-direction: column;
    }
}
.input-redeem-point{
    display: flex; 
    align-items:center; 
    justify-content:center;

   
}

.form-container {
    justify-content: space-between;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
}
@media (min-width: 1430px) {
    .table-in-form {
            display: none;
    }

        
}

.table-out-form{
    width: 100% !important;
}

.card-container{
    display: flex;
        flex-wrap: wrap;
}

.info-container{
    display: flex;
    flex-direction: column;
    margin: 2rem;
    margin-top: 0;
    overflow-x: auto;
}


.label-input{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-basis: 200px;
}

.table-single-point{
    flex-basis: 30%;
        margin-right: 2rem;
        height: max-content;
}

.box-table-out-form{
    max-width: 45%;
    padding: 3rem;
    padding-top: 1rem;
    margin-left: 3%;
}

.select-redeem-points{
    width: 200px;
    margin: 2rem;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.profile-table{
    flex-basis: 100%;
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 1050px) {
    .form-redeem-points{
        flex-direction: column;
    }

    .label-input{
        flex-basis: initial;
        width: 200px;
    }
}


@media screen and (max-width: 980px) {
    .card-container{
        justify-content: center;
    }

    .form-redeem-points-manager{
        margin: 4rem;
    }
    .form-redeem-points-manager button{
        margin-right: 2rem;
    }

}

.show-mobile{
    display: none;
}

.hide-mobile{
    display: unset;
}


@media ( 776px < width < 818px ){
    .show-mobile{
        display: unset;
    }
    .hide-mobile{
        display: none;
    }
}

@media ( width < 490px ){
    .show-mobile{
        display: unset;
    }
    .hide-mobile{
        display: none;
    }
}
