@import url('https://fonts.googleapis.com/css?family=PT+Sans');

body {
	background-color: rgb(242, 242, 242);
    font-family: 'PT Sans', sans-serif;
    font-size: 17px;
}

a {
    /*color: rgba(241, 19, 19, 0.6);*/
    color: #2793A2;
    font-weight: 600;
}

a:hover {
    color: #7ACCD7;
    text-decoration: none;
}

h3 {
    margin: 20px 0px;
}

footer {
    margin: 20px;
}

.menu {
		margin-left: 20px;
}

input[type="submit"] {
    background-color: #2C3031;
    border-color: #232828;
    border-radius: 3px;
    color: white;
    padding: 4px 10px;
    margin-top: 10px;
}

input#card-value[disabled] {
    display: none;
}

input {
    height: 35px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

input[type=text]:focus, input[type=number]:focus,
textarea:focus {
    box-shadow: none;
    border-color: #7ACCD7;
    outline: none;
}

form {
    background-color: rgba(255, 255, 255, 0.4);
    display: inline-block;
}

form>fieldset {
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

form>fieldset>input {
    padding-left: 5px;
    margin-left: 20px;
    width: 150px;
}

form>input[type="submit"] {
    margin: 10px auto;
    display: block;
}

form#log-in {
    text-align: center;
    width: 300px;
    margin: auto;
    display: block;
    padding-top: 20px;
    padding-bottom: 10px;
}


/* NAVBAR */
.navbar-custom {
	background-color: rgba(0,0,0,0.8);
    color: #FFFFFF;
    border-radius: 0px;
}

.navbar-brand {
    font-size: 20px;
    font-weight: 700;
}

.nav>li {
    padding: 15px 0px;
}

.nav>li>a:hover {
    text-decoration: none;
    background-color: rgba(0,0,0,0.4);
}

li#user-greeting {
    color: #d9d9d9;
    position: relative;
    display: block;
    padding-left: 30px;
}

li#logout {
    padding: 0px;
    font-weight: 600;
}

form#logout {
    padding: 0px;
}

input#logout {
    background-color: rgba(0,0,0,0.7);
    padding: 15px 25px;
    border: none;
    border-radius: 0px;
    margin: 0px;
    height: auto;
}

input#logout:hover {
    text-decoration: none;
    background-color: rgba(0,0,0,0.8);
}


/* SIDEBAR */
.sidebar {
    background-color: #3d3737;
    width: 300px;
    min-height: 100%;
    margin-top: -30px;
    position: absolute;
    right: 0%;
}

.sidebar>ul {
    list-style-type: none;
    padding-left:0;
}

.sidebar>ul>li {
    background-color: #4e4545;
    border-bottom: solid 3px;
}

.sidebar>ul>li#manual {
    margin-top: 15px;
    border-top: solid 3px;
    border-bottom: solid 3px;
}

.sidebar>ul>li>a{
    display: block;
    height: 40px;
    line-height: 40px;
    text-align: center;
    width: 100%;
}

#tariff-message {
    font-weight: 700px;
    font-size: 20px;
    margin-right: 300px;
    margin-bottom: 10px;
    text-align: center;
}


/*CONTENT*/
.minigrid-index {
    margin-right: 300px;
}

.content {
    padding-top: 10px;
}

.full-page-content {
    padding: 0 20%;
}

.center-wrap {
    text-align: center;
}

.box-container {
    display: flex;
    justify-content: center;
}

.content-box {
	width: 33%;
	padding: 2%;
    margin: 0px 10px;
	color: rgba(0,0,0,0.8);
}

form#minigrid {
    width: 250px;
}


/*READ CARD TABLE*/

.card-info {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
    display: inline-block;
    text-align: center;
    min-width: 400px;
    margin: 40px 0px;
    padding: 20px;
    border-collapse: collapse;
    border-spacing: 5px;
}

.card-info-header {
    font-size: 22px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px;
    color: white;
}

.card-info-row {
    overflow: auto;
    clear: both;
    border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}

#no-card-message {
    border: none;
    display: inline-block;
    margin-top: 20px;
}

.card-info-col {
    display: table-column;
    margin: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.col-left {
    float: left;
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
    padding-left: 10px;
    padding-right: 10px;
}

.col-right {
    vertical-align: middle;
    float: right;
}

.device-info {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
    display: inline-block;
    text-align: center;
    min-width: 400px;
    margin: 40px 0px 0px 0px;
    padding: 20px;
    border-collapse: collapse;
    border-spacing: 5px;
}

.device-hr {
	margin: 0px;
}

form.credit-form {
    padding: 15px 20px;
    margin: auto;
    margin-top: 50px;
    display: block;
    text-align: center;
    width: 350px;
}

legend {
    font-weight: bold;
    text-align: center;
    padding: 5px;
}

form.tariffs> {
    width: 450px;
}

form.tariffs>legend {
    padding: 10px;
    margin-bottom: 0px;
}

form.tariffs>fieldset> {
    height: 100px;
}
form.tariffs>fieldset>label {
    margin: 7px 10px;
}

form.tariffs>fieldset>input {
    float: right;
    width: 80px;
    padding-left: 7px;
}

form.tariffs>fieldset>input.flatpickr {
    float: right;
    margin: 2px;
    padding: 7px;
    display: inline !important;
    height: 35px !important;
    background-color: white !important;
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 0px;
    line-height: 0px !important;
    width: 150px;
}

div.manual {
    background-color: rgba(255, 255, 255, 0.3);
    margin: 10px 0px 20px 0px;
    padding: 15px 25px;
}

div.manual>p>img {
    border: 2px solid rgba(0, 0, 0, 0.4);
    display: block;
    margin: 5px auto 15px auto;
}
