/* MaterialDesign icons : https://material.io/resources/icons/?style=baseline */
@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	src: local('Material Icons'), url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
	font-display: block;
  }

.material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 1em;  /* Preferred icon size */
	display: inline-block;
	line-height: 1;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
  
	/* Support for all WebKit browsers. */
	-webkit-font-smoothing: antialiased;
	/* Support for Safari and Chrome. */
	text-rendering: optimizeLegibility;
  
	/* Support for Firefox. */
	-moz-osx-font-smoothing: grayscale;
  
	/* Support for IE. */
	font-feature-settings: 'liga';

    cursor: pointer;
  }

a, a:visited {
    color: #fff;
    text-decoration: none;
}

html,
body {
    margin: 0;
    padding: 0;
    color: #fff;
	/*font-family: 'Avenir', 'Lato', 'Sans Serif', Arial;*/
    font-family: "Helvetica Neue";
    font-weight: 400;
	min-height: 100vh;
    font-size: 12px;
    cursor: default;
}

body {    background-color: #185474;}

body.gradient {
    background:#185474 linear-gradient(0deg, rgba(2,0,36,0.5) 0%, rgba(0,170,255,0) 30%);
}

*:focus {
    outline: none;
}

.volee_title{
    margin-top: 50px;
}

#main_content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 0;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 5em;
    background: transparent;
}

#navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 5px;
    margin: 20px;
    width: 80%;
}

#content_block {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.round_button {
    padding: 15px;
    margin: 10px;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    transition: transform .5s;
    border-radius: 8px;
    box-shadow: 5px 5px 20px rgba(39, 39, 39, 0.398);
    font-size: 0.7em;
    cursor: pointer;
    color: #fff;
    border: none;
}
.round_button:hover {transform: scale(1.5)}
.round_button.black {background-color: #000;}

.scaler {transition: transform .5s;}
.scaler:hover {transform: scale(1.5)}

.title {
    font-weight: 800;
    font-size: 1em;
    padding-top: 15px;
    border-bottom: 1px white solid;
    margin-bottom: 10px;
}
.subtitle {
    font-weight: 800;
    font-size: 0.9em;
    padding-bottom: 20px;
}
.textbox {
    border-top: 1px solid #fff;
    padding: 20px;
    border-bottom: 1px solid #fff;
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: 0.7em;
    max-width: 60%;
}

#counter_line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    font-size: 2em;
}

#stepper_line {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 80%;
    font-size: 1em;
    position: relative;
    /*bottom: 40px;*/
    margin-top: 80px;
}

.counter_value {
    font-size:5em;
    border: 4px solid #ffffff75;
    padding: 20px;
    border-radius: 8px;
    text-shadow: 2px 2px 2px rgba(255,255,255,.1), 9px 4px 11px rgba(0,0,0,.5);
}

#menu li {
    list-style: none;
    border-bottom: 4px solid #ffffff75;
    padding-bottom: 10px;
    min-width: 60%;
    margin-bottom: 15px;
    cursor: pointer;
    text-shadow: 2px 2px 2px rgba(255,255,255,.1), 9px 4px 11px rgba(0,0,0,.5);
}
#menu li:hover {
    border-bottom: 4px solid #fff;
}

form input, textarea {
    display: block;
    font-size: 1em;
    border: none;
    border-bottom: 1px solid #fff;
    /*border-radius: 8px;*/
    background-color: transparent;
    color: #fff;
    font-weight: 100;
    text-align: left;
    font-family: sans-serif;
    margin-bottom: 40px;
}
*:autofill {
    background: none;
    background-color: transparent;
}
*:-webkit-autofill {
    background: none;
    background-color: transparent;
}
form label {
    font-weight: 600;
}

.formElement {
    margin-bottom: 15px;
    text-align: left;
}

.checkbox {
    vertical-align: top;
    width: 40px !important;
    height: 40px!important;
    border: 1px solid #aaa;
    -webkit-appearance: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all .2s;
    margin: 0px;
    margin-bottom: -6px;
    outline: none;
    position: relative;
    background-color: white;
    display: inline;
    margin-top: 21px;
    min-width: 40px;
}
.checkbox::after {
    position: absolute;
    content: '';
    display: block;
    outline: none;
    top: 4px;
    left: 4px;
    background-image: url(../images/checkmark.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    height: 24px;
    opacity: 0;
    transition: all .2s;
}
.checkbox:checked::after {
    opacity: 1;
}


#statusForm {
    padding: 15px;
    margin: 10px;
    font-weight: 600;
    border-radius: 8px;
    background-color: #ba0100;
    color: #fff;
    text-align: center;
    font-size: 0.5em;
}

#listContainer {
    /*width: 80%;*/
    height: 60vh;
    overflow-y: auto;
}

#listContainer .item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 3px solid #ffffff75;
}

#listContainer .item.header .dataItem {
    font-weight: 800;
    font-size: 0.8em;
}
#listContainer .item .dataItem.button {
    font-weight: 800;
    font-size: 0.8em;
    padding-top: 2px;
}
#listContainer .item .dataItem {
    font-size: 0.6em;
    text-align: left;
}

select {
    font-size: 20px;
    background: #ffffff75;
    border-radius: 8px;
    color: white;
    border: none;
    padding: 0 10px 0 12px;
}

.page-count {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
    margin-bottom: 30px;
    margin-top: 30px;
}
.page-count select {
    border-radius: 8px;
    display:inline-block; 
    width: auto; 
    padding-right: 7px !important; 
    padding-left:5px;
    font-size: 1em;
    background-color: transparent;
    color: white;
    border-color: #fff;
} 
.bigFigure {
    padding: 10px 25px 10px 25px;
    border: 1px solid white;
    border-radius: 20px;
    width: fit-content;
    background-color: #ffffff2b;
}

/* Pyramid page styles */
#arrows_block, #arrow_value_entries {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 350px;
    margin-top: 20px;
}

.arrow_display {
    width: 45px;
    height: 45px;
    border-radius: 32px;
    border: 3px solid white;
    margin: 10px;
    font-size: 0.7em;
    line-height: 46px;
}
.arrow_display.active {
    border: 6px solid yellow;
}

.arrow_value {
    width: 55px;
    height: 55px;
    border-radius: 5px;
    border: 2px solid white;
    margin: 8px;
    font-size: 0.8em;
    line-height: 55px;
    cursor: pointer;
}

.arrow_value.yellow {background-color: #f9e017 !important; color: black !important;}
.arrow_value.red {background-color: #d82525 !important;}
.arrow_value.blue {background-color: #306fc1 !important;}
.arrow_value.black {background-color: black !important;}
.arrow_value.white {background-color: white !important; color: black !important;}
.arrow_value.green {background-color: #50cc67 !important; color: black !important;}
.arrow_value.paille {background-color: #999 !important; color: white !important;}
.arrow_value.empty {background-color: rgba(255, 255, 255, 0.095) !important; }

#pyramidview_main {
background-color: #44444496; 
border-radius: 10px; 
padding: 8px;
}

#pyramidview_main .cell {
    width: 27px;
    height: 27px;
    font-size: 0.7em;
    line-height: 29px;
    border: 1px solid #ffffff40;
    margin: 1px;
}

#pyramidview_main .cell.end {border-width: 2px; background-color: #ffffff1f; margin-right:3px; border-radius: 5px;} 
#pyramidview_main .cell.arrow {background-color: #000; font-size: 0.6em; border-radius: 16px; border: 3px solid transparent;}
#pyramidview_main .cell.arrow.win {border: 3px solid #50cc67; font-size: 0.6em; color: white;}
#pyramidview_main .cell.count {background-color: #AEB1B1; font-size: 0.6em; color: black; margin-left:3px; border-radius: 5px;}
#pyramidview_main .cell.arrow.transparent {background-color: transparent;}


@media only screen and (max-width: 700px) {
    .counter_value {
        font-size:4em !important;
    }
    body {
        font-size: 11px !important;
    }
}

@media only screen and (max-width: 450px) {
    .counter_value {
        font-size:3em !important;
    }
    body {
        font-size: 10px !important;
    }
}

@media print {

    @page {
        size:  auto;   /* auto is the initial value */
        margin: 1.5cm;
    }

    .page-break { page-break-before: always !important;}
    .page-break:after {margin-top: 1.5cm !important;}

    .noprint {display: none !important;}

    html,
    body {
        color: #000;
        font-family: 'Avenir', 'Lato', 'Sans Serif', Arial;
        min-height: 100vh;
        font-size: 10pt;
        cursor: default;
    }

    body {    background-color: #fff;}

    #main_content {
        padding:0 !important;
        margin:0 !important;
        height: auto !important;
        width: 18cm;
        /*overflow:hidden !important;*/
    }
}

.canvasjs-chart-container {
    border-top: 6px solid #f2f2f28c;
    padding-top: 30px;
}

.scoreblock {
    margin-top: 24px; 
    background: rgba(0,0,0,0.25);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 0.6em;
    border: 1px solid rgba(255,255,255,0.1);
}

.scoreblock .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    margin-bottom: 10px;
}

.scoreblock .grid .gridLine {
    display:flex; 
    justify-content:space-between; 
    border-bottom: 1px solid rgb(255 255 255 / 33%);
    padding-bottom:6px;
}

.scoreblock .grid .gridLine .label {
    color:#30bcd8; 
    font-weight:bold; 
    text-transform:uppercase; 
    font-size: 0.7em;
    line-height: 2em;
    margin-right: 10px;
}

.winZoneLine {
    margin-top: 8px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.winZoneTitle {
    color:#7dc37d; 
    font-weight:bold; 
    letter-spacing:0.05em; 
    text-transform:uppercase; 
    font-size:0.8em;
}