﻿/* Sticky footer styles
-------------------------------------------------- */

html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by its height */
  margin: 0 auto -60px;
  /* Pad bottom by footer height */
  padding: 0 0 60px;
}

/* Set the fixed height of the footer here */
.footer {
  height: 60px;
  background-color: #f5f5f5;
}

.form-horizontal .form-group {
 margin-bottom: 0.2rem;
}

.first-column {
    line-height:1;
    width: 100%;
    border:1px solid;
    box-shadow:#ccc;
    margin-bottom:10px;
}


.second-column {
    line-height: 1.2;
    width: 100%;
}


.text-secondary-d1 {
    color: #728299 !important;
}

.text-grey-m2 {
    color: #888a8d !important;
}

.text-blue-m2 {
    color: #68a3d5 !important;
}

.btn-pay {
    white-space: normal !important;
    max-width: 140px;
}


    .btn-pay.disabled, .btn-pay:disabled {
        color: #212529;
        background-color: #f8f9fa;
        border-color: #f8f9fa;
        opacity: .65;
    }


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

#wrap > .container {
  padding: 60px 15px 0;
}
.container .credit {
  margin: 20px 0;
}

.footer > .container {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 15px;
  padding-right: 15px;
}

code {
  font-size: 80%;
}
/*--------------------*/

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}


.text-center {
    text-align: center!important;
}

.img {
        position: relative;
        width: auto;
        height: 0;
        padding-top: 110px
    }


.img {
    display: block;
    width: 100%;
}

.img img {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto
}



table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;

  /*
  padding: .35em;
*/

}

table th,
table td {
  padding: .625em;
  text-align: center;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}


th:nth-of-type(1) {
    width:110px;
}

th:nth-of-type(4) {
    width: 100px;
}

th:nth-of-type(5) {
    width: 120px;
}


@media screen and (max-width: 768px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 1.1em;
    text-align: right;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }

	td:nth-of-type(1):before { content: ""; }
	td:nth-of-type(2):before { content: "Azonosító"; }
	td:nth-of-type(3):before { content: "Bizonylat"; }
	td:nth-of-type(4):before { content: "Olvasva"; }


.bg-circle {
  display: inline-block;
  width: 60px;
  height: 60px;
  padding: 14px 4px;
  color: #ececec;
  text-align: center;
  border-radius: 50%;
}


    .btn-pay {
        white-space: normal !important;
        max-width: 240px;
    }


}