* {
  box-sizing: border-box;
}

body {
  background: url(img/bg.png) no-repeat center/cover;
  color: #fab549;
  line-height: 1.6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 1em;
}

.wrapper {
  background: #ddd;
  margin-bottom: 20px;
}
 
.cover {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding: 1em;
}

div.user-photo {
  width: 150px;
  height: 150px;
  margin: 1em auto;
  background: #ddd;
  border-radius: 50%;
  overflow: hidden;
}

.user-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.container{
  align-content: center;
}

form input {
  background: transparent;
  color: #204f7d;
}

.container ul {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.container #button {
  width: 100%;
  display: block;
  text-decoration: none;
  line-height: 0.7;
  text-align: center;
}

h1 {
  text-align: center;
  padding: 0;
  margin: 0;
}

h3 {
  text-align: center;
  padding: 0;
  margin: 0;
}

input {
  padding: 1em;
  margin: 1em;
  background: #ddd;
  border: none;
  width: 50%;
}

button,
#button{
  background: #203f7d;
  color:#fab549;
  padding: 1em;
  margin-top: 20px;
  margin-bottom: 20px;
  border: #ddd 2px solid;
  border-radius: 10px;
  text-transform: uppercase;
}

button:hover, 
button:focus {
  background: #fab549;
  color: #203f7d;
  outline: 0;
  border: #ddd 2px solid;
  border-radius: 10px;
  transition: background-color 1s ease-out;
}  

#button:hover, 
#button:focus {
  background: #fab549;
  color: #203f7d;
  outline: 0;
  border: #ddd 2px solid;
  border-radius: 10px;
  transition: background-color 1s ease-out;
}  


.search{
  width: 100%;
  text-align: center;
  background: #bbb;
  padding: 0;
  margin: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap; 
  padding: 1em;
  color: #204f7d;
}
.tabs label {
  order: 1; 
  display: block;
  padding: 1rem 2rem;
  margin-right: 0.2rem;
  cursor: pointer;
  background:#203f7d;
  color: #fab549;
  font-weight: bold;
  transition: background-color ease 0.1s;
}
.tabs .tab {
  order: 100; 
  flex-grow: 1;
  width: 100%;
  display: none;
  padding: 1rem;
  background: #ddd;
}
.tabs input[type="radio"] {
  display: none;
}
.tabs input[type="radio"]:checked + label {
  background: #fab549;
  color: #203f7d;
}
.tabs input[type="radio"]:checked + label + .tab {
  display: block;
}

#view-all-account{
width: 100%;
padding: 0;
margin: 0;
}

.modal{
  display: none; 
  position: fixed; 
  z-index: 1; 
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto;  
  background-color: rgba(0,0,0,0.7); 
  animation: modal-open .5s;
}

.modal button {
    width: 30%;
    margin: auto;
    padding: 1rem;
    margin-top: 20px;
    display: block;
}

/* Modal Content */
.modal-content{
  background-color: #203f7d;
  margin: auto;
  padding: 10px;
  border: 1px solid #fff;
  width: 40%;

}

.list li {
  list-style: none;
  color: #204f7d;
}

/* The Close Button */
.close{
  color: #ddd;
  float: right;
  padding-right: 10px;
  font-size: 25px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #fab549;
  text-decoration: none;
  cursor: pointer;
}

.modal input, 
.modal label{
  display: block;
  width: 80%;
  margin: auto;
  line-height: 1.3;
}
.modal input {
  padding: 1em;
  padding-left: 0;
  border: none;
  margin-bottom: 30px;
  margin: auto;
}
.modal-open {
  background: #203f7d;
  color: #fab549;
  padding: 1em;
  margin-top: 20px;
  border: none;
  text-transform: uppercase;
}

.modal a{
  font-size: 30px;
  font-weight: bold;
  color: #ddd;
  display: inline-flex;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-right: 100px;
  padding-left: 100px;
  text-align: center;
  text-decoration: none;
}

.modal p {
  text-align: center;
  font-size: 14px;
}

.modal a:hover, a:focus {
  color: #fab549;
  border-bottom: 2px #ddd solid;
}

#modal8 ul,
#modal9 ul,
#modal10 ul{
  float: left;
}

#modal8 li,
#modal9 li,
#modal10 li{
  color: #ddd;
}


@media screen and (max-width:1300px) {
  .modal-content{
  width: 40%;
  }

  .modal a{
  font-size: 30px;
  font-weight: bold;
  color: #ddd;
  display: inline-flex;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-right: 40px;
  padding-left: 40px;
  text-align: center;
  text-decoration: none;
    }
} 

@media screen and (max-width:1000px) {
  #modal8 ul,
  #modal9 ul,
  #modal10 ul{
    float: left;
    }

  #modal8 li,
  #modal9 li,
  #modal10 li{
  color: #ddd;
    }

}

@media screen and (max-width:792px) {
  .modal-content{
  width: 50%;
  }

  .modal a{
  font-size: 30px;
  font-weight: bold;
  color: #ddd;
  display: inline-flex;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-right: 30px;
  padding-left: 30px;
  text-align: center;
  text-decoration: none;
    }

  #modal8 ul,
  #modal9 ul,
  #modal10 ul{
    float: left;
    }

  #modal8 li,
  #modal9 li,
  #modal10 li{
  color: #ddd;
    }
}  

@media screen and (max-width:610px) {
  .modal-content{
  width: 60%;
  }

  .modal a{
  font-size: 30px;
  font-weight: bold;
  color: #ddd;
  display: inline-flex;
  margin-top: 15px;
  margin-bottom: 30px;
  padding-right: 30px;
  padding-left: 30px;
  text-align: center;
  text-decoration: none;
    }

    #modal8 ul,
  #modal9 ul,
  #modal10 ul{
    float: left;
    }

  #modal8 li,
  #modal9 li,
  #modal10 li{
  color: #ddd;
    }
}  

@media screen and (max-width:300px) {
  .modal-content{
  width: 80%;
  }
}  


@keyframes modal-open {
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}

@media (max-width: 45em) {
  .tabs .tab,
  .tabs label {
    order: initial;
  }
  .tabs label {
    width: 100%;
    margin-right: 0;
    margin-top: 0.2rem;
  }
}

#debit {
  color: red;
}

#credit {
  color: green;
}

.list ul:nth-child(odd) {
  background-color:#eee;
}

.list ul:nth-child(even) {
  background-color:#fff;
}

/* big */
@media screen and (min-width:700px) {

  .cover{
    display: grid;
    width: 100%;
    grid-template-columns: 2fr 5fr;
  }

  .cover > *{
        padding: 1em;
  }

  .container{
    padding: 1em;
  }

  .list {
    display:table;
    margin:1em auto;
    width: 100%;
    padding: 1em;
    list-style: none;
  
  }
 
  .list ul {
    display:table-row;
    list-style: none;
  }
  
  .list ul:first-child li {
    background-color:#203f7d;
    color: #fab549;
  }
  
  .list ul > li {
    display:table-cell;
    padding:.5em 1em;
    list-style: none;
  }
  
}

/* small */
@media screen and (max-width:599px) {
  
  .list ul {
    border:solid 1px #ccc;
    display:block;
    list-style:none;
    margin:1em;
    padding:.5em 1em;
    list-style: none;
  }
  
  .list ul:first-child {
    display:none;
  }
  
  .list ul > li {
    display:block;
    padding:.25em 0;
    list-style: none;
  }
  
  .list ul:nth-child(odd) > li + li {
    border-top:solid 1px #fff;
  }
  
  .list ul:nth-child(even) > li + li {
    border-top:solid 1px #ddd;
  }
  
  .list ul > li:before {
    color:#203f7d;
    content:attr(data-label);
    display:inline-block;
    font-size:75%;
    font-weight:bold;
    text-transform:capitalize;
    vertical-align:top;
    width:50%;
  }
}

/* tiny */
@media screen and (max-width:349px) {
    
  .list ul > li:before {
    display:block;
  }
}

.sec {
  margin: 1em auto;
  display: block;
  width: 80%;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #203f7d;
  color: #fab549;
  text-align: center;
  margin-top: 30px;
  text-align: center;
  padding: 1rem;
}