@font-face {
  src: url(../static/fonts/plugs-font/fonts/charge-plugs.tff);
  font-family: plugs;
}

/* ---------- DEFAULT ---------- */
html, body, .pusher {
  min-height: 100vh;
  margin: 0;
  box-sizing: border-box;
}

.pusher {
  display: flex;
  flex-direction: column;
}

.wrapper {
  flex: 1;
}

/* Master header UI */
.masthead.segment {
  min-height: 700px;
  padding: 1em 0em;
}

.ui.vertical.masthead.center.aligned.segment {
  min-height: inherit;
}

.masthead .logo.item img {
  margin-right: 1em;
}

.masthead .ui.menu .ui.button {
  margin-left: 0.5em;
}

.masthead h1.ui.header {
  margin-top: 3em;
  margin-bottom: 0em;
  font-size: 4em;
  font-weight: normal;
}

.masthead h2 {
  font-size: 1.7em;
  font-weight: normal;
}

/* Vertical segment */
.ui.vertical.stripe {
  padding: 8em 0em;
}

.ui.vertical.stripe h3 {
  font-size: 2em;
}

.ui.vertical.stripe .button+h3, .ui.vertical.stripe p+h3 {
  margin-top: 3em;
}

.ui.vertical.stripe .floated.image {
  clear: both;
}

.ui.vertical.stripe p {
  font-size: 1.33em;
}

.ui.vertical.stripe .horizontal.divider {
  margin: 3em 0em;
}


/*Submit button */
button[type="submit"]{
  background-color: var(--palette-color-4);
  border-radius: var(--button-radius);
  color: white;
  border: none!important;
  cursor:pointer;
  display: inline-block;
  min-height: 1em;
  outline: 0;
  vertical-align: baseline;
  margin: 0 .25em 0 0;
  padding: .8em 1.5em .8em;
  text-transform: none;
  text-shadow: none;
  font-weight: 700;
  line-height: 1em;
  font-style: normal;
  text-align: center;
  text-decoration: none;
}

button[type="submit"]:hover{
  background-color: var(--secondary-color);
}



/* Messages */
.quote.stripe.segment {
  padding: 0em;
}

.quote.stripe.segment .grid .column {
  padding: 5em;
}




/* Header */


/* Footer */
.ui.footer.segment {
  padding: 1em;
  min-width: 100% !important;
  min-height: 5vh !important;
  background-color: #e6e6e6 !important;
}

#footer-text {
  min-width: 60% !important;
  vertical-align: middle;
  color: rgba(0,0,0,.6);
  font-size: .9rem;
}

#button-footer {
  min-width: 40% !important;
}

#stackable-column-footer {
  float: right;
}

#button-privacy {
  min-width: 33% !important;
  font-size: 1rem;
}

#button-language {
  min-width: 33% !important;
  font-size: 1rem;
}

#footer-logo {
  min-width: 33% !important;
}

#footer-logo-item,
#lang-item,
#privacy-item {
  float: right;
}

.small-icon {
  width: 5rem !important;
}

a.item:hover {
  background: rgba(0, 0, 0, 0) !important;
}

.ui.language.item:hover {
  background: rgba(0, 0, 0, 0) !important;
}

.ui.language.item:focus {
  background: rgba(0, 0, 0, 0) !important;
}

.ui.secondary.menu .active.item {
  background: rgba(0, 0, 0, 0) !important;
}


/* Sidebar menu */
.hidden.menu {
  display: none;
}

.secondary.pointing.menu .toc.item {
  display: none;
}

@media only screen and (max-width: 991px) {
  .ui.fixed.menu {
    display: none !important;
  }

  .ui.stackable.grid > .row > .tablet.column {
    padding: 1rem;
  }

  .secondary.pointing.menu .item,
  .secondary.pointing.menu .menu {
    display: none;
  }

  .secondary.pointing.menu .toc.item {
    display: block;
  }

  .masthead.segment {
    min-height: 350px;
  }

  .masthead h1.ui.header {
    font-size: 2em;
    margin-top: 1.5em;
  }

  .masthead h2 {
    margin-top: 0.5em;
    font-size: 1.5em;
  }
}

.ui.sidebar {
  z-index: 102 !important;
}

.ui.stackable.grid > .row > .tablet.column > .ui.segment > a img {
    width: 150px;
    height: auto;
}

/* The Modal (background) */
.modal{
  display: none;
  /* position: fixed; */
  /* z-index: 1; /* Sit on top */ */
  /* padding-top: 5em; /* Location of the box */ */
  /* left: 0;
  top: 0; */
  /* width: 100%; /* Full width */ */
  /* height: 100%; /* Full height */ */
  /* overflow: auto; /* Enable scroll if needed */ */
  /* background-color: rgb(0,0,0); /* Fallback color */ */
  /* background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ */
}

/* Modal Content */
/* .modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 4em;
  border: 1px solid #888;
  max-width: 70%;
  min-height: 70%;
} */


/* Map */
#map_canvas {
  width: 100%;
  height: 600px;
}

#map_container {
  min-height: 600px;
}

@media screen and (max-width: 768px) {
  #map_canvas {
    width: 100%;
    height: 480px;
  }

  #map_container {
    min-height: 480px;
  }
}

@media screen and (max-width: 700px) {
  #map_container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-height: 480px;
  }

  #map_canvas {
    width: 100%;
    height: 480px;
  }
}

@media screen and (max-width: 600px) {
  #map_container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-height: 400px;
  }

  #map_canvas {
    width: 100%;
    height: 400px;
  }
}

.menu {
  position: relative;
  z-index: 2000;
}

/* Error form */
.ui.form.error {
  padding-bottom: 1em;
}

/* Login column */
#login_column {
  margin: 2em;
  background-color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  border-radius: 1em;
}

#login-div {
  margin-top: .01vh;
  min-height: 90vh !important;
}

/* Login */
.ui.form.login {
  padding: 1em;
}

.ui.center.container {
  text-align: center;
}

/* Privacy */
.margin-list {
  padding-inline-start: 2em;
}

.margin-list li {
  font-weight: bold;
  font-size: 1.28571429rem;
}

.margin-list li > p{
  font-weight: normal;
  font-size: 1rem;
}

.margin-list-nested {
  padding-inline-start: 1em ;
}

.margin-list-nested li {
  font-weight: normal;
  font-size: 1rem;
}

.nested-list {
  list-style-type: disc;
  padding-inline-start: 1em;
}

.nested-list li {
  font-weight: normal;
  font-size: 1rem;
}


/* Stats */

#stat-column-left, #stat-column-right {
  min-width: 50%;
}

#stat-container {
  margin: 1rem;
  padding: 2rem;
  /*background-color: #f2f2f2;
  border-radius: 1rem;
  width: 500px;*/
}

.content {
  margin-bottom: 1rem;
}

.ui.divided.grid {
  padding: 1rem 0;
}


#id_id_type {
  margin: 1em 0;
}

/* Tables */

.ui.celled.table {
  margin-top: 2rem;
  border-collapse: collapse;
}

.ui.celled.table thead th {
  border-top: 1px solid rgba(34,36,38,.1);
}

.ui.celled.table thead th{
  border-left: 0;
  border-right: 0;
}

.ui.celled.table tbody{
  border-collapse: collapse;
}

.ui.celled.table thead th:last-child{
  border-right: 1px solid rgba(34,36,38,.1);
  text-align: center;
}

.command-select {
  min-width: 100%;
}


/* Staff */

#staff-container {
  margin: 1rem;
  padding: 2rem;
  background-color: #F9FAFB;
  border-radius: 1rem;
  width: 800px;
}


/* Profile */
.card-container{
  margin-top: 2rem;
  margin-bottom: 2rem;
}
/* #profile-container {
  margin: 1rem;
  padding: 1rem;
  background-color: #f2f2f2;
  border-radius: 1rem;
  width: 400px;
} */


/* Input */

input[type=text] {
  background: #fff;
  border: 1px solid rgba(34,36,38,.15);
  /*margin: 1rem 0 !important; */
}

input[type=email] {
  background: #fff;
  border: 1px solid rgba(34,36,38,.15);
  /*margin: 1rem 0 !important; */
}

input[type="checkbox"]
{
    vertical-align: middle !important;
    display: inline-block !important;
}

input[type="submit"] {
  border: none;
  padding: .5rem 1rem !important;
}

input[type="button"] {
  padding: .5rem 1rem !important;
}

input {
  background: #fff;
  border: 1px solid rgba(34,36,38,.15);
  padding: .5rem 1rem !important;
  /*margin: 1rem 0 !important;*/
}

select {
  background-color: white;
  min-height: 2rem;
  padding: .5rem 1rem!important;
  /*margin: 1rem 0 !important; */

}

.user_detail .form-group{
  margin-top:1rem!important;
}

.login .field{
  margin:1.5rem!important;

}

#privacy-text-box {
  overflow-y: auto;
  max-height: 300px;
}

#tos-text-box {
  overflow-y: auto;
  max-height: 300px;
}

.ui.aligned.icon.header img {
  width: 150px;
}

.ui.horizontal.divider {
  font-size: 1.5rem;
}

@media screen and (max-width: 600px) {
  .scrollable_popup {
    overflow-y: auto;
    max-height: 300px;
  }
}

/*Network management*/
.network_title{
  width: 70%;
}

.network_row td{
  margin: 0px!important;
  padding: 0px!important;
}

.network_detail_table{
margin-top: -1rem!important;
}

.chargepoint_title{
  margin-top:2rem;
}

.detail_show{
margin-top:1rem!important;
margin-bottom:1rem!important;
}

.opening_hours{
  margin-top:1rem!important;
  margin-bottom:1rem!important;
}

.top_bordered_row{
border-top: 2px solid gray;
}

.station .label{
  margin-bottom: 1rem!important;
}

/*FAQ*/
.content .padded{
  padding-left: 2rem;
}

/*TABELLE RICARICHE E PRENOTAZIONI*/
@media only screen and (max-width: 767px){
  .mobile-x-scroll{
    overflow-x: scroll;
  }
}

.left-steps{
  text-align: left!important;
}

.left-steps .content{
  max-width: 80%;

}
