/*** ICONS CSS ***/
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?5yyhf6');
    src: url('../fonts/icomoon.eot?5yyhf6#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?5yyhf6') format('truetype'),
    url('../fonts/icomoon.woff?5yyhf6') format('woff'),
    url('../fonts/icomoon.svg?5yyhf6#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-card:before {
    content: "\e900";
}

.icon-logout:before {
    content: "\e901";
}

.icon-password:before {
    content: "\e902";
}

.icon-pin:before {
    content: "\e903";
}

.icon-profile:before {
    content: "\e904";
}

/*** END ICONS CSS ***/

/*** GENERAL LAYOUT CSS ***/
@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,700);

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

body {
    background: #673256 url('../imgs/overlay.png') top center no-repeat;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none !important;
/*    color: #fff;
    outline: 0;*/
}

a:hover, a:active, a:visited, a:focus {
/*    color: #fff;
    outline: 0 !important;*/
}

.wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center !important;
}

header {
    width: 100%;
    padding: 0 2%;
    height: 80px;
}

.login header {
    margin: 0 auto !important;
    height: auto !important;
    border-bottom: none !important;
}

.login .logo {
    display: block !important;
    margin: 0 auto !important;
    text-align: center !important;
    width: 100% !important;
    height: 150px !important;
}

.login .logo img {
    margin: 0 auto;
    max-height: 100%;
}

.page header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);;
    text-align: left;
}

.page .logo {
    display: inline-block;
    width: 20%;
    margin: 8px 0;
}

.page .logo img {
    max-height: 60px;
    height: 50px;
    margin-top: 5px;
}

nav {
    display: inline-block;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 300;
    float: right;
}

nav ul {
    margin: 0;
    height: 100%;
    padding: 0;
}

nav ul li {
    display: inline-block;
    height: 100%;
    padding: 0 10px;
    line-height: 80px;
}

nav ul a {
    color: inherit;
}

nav ul li:hover, nav ul li:focus, nav ul li:visited {
    background: rgba(0, 0, 0, 0.2);
    outline: 0;
}

nav .active {
    background: rgba(0, 0, 0, 0.2);
    outline: 0;
}

.icon-logout {
    font-size: 30px;
}

.main {
    width: 60%;
    margin: 2em auto;
    text-align: center;
}

.title {
    font-weight: 400;
    font-size: 30px;
    margin: 10px 0;
}

.subTitle {
    font-size: 20px;
    text-align: center;
}

.titleline {
    width: 70px;
    height: 3px;
    background: #fff;
    margin: 0 auto 20px auto;
}

p {
    font-size: 20px;
    font-weight: 300;
}

.text {
    font-weight: 300;
    font-size: 16px;
    margin: 25px 0;
    opacity: 0.9;
}

h5 {
    font-size: 20px;
    font-weight: 400;
}

.module {
    margin: 30px 0;
}

.error {
    background: rgba(233, 30, 30, 0.72);
    border: 1px solid red;
    padding: 5px !important;
    margin: 2px 0 10px 0 !important;
    color: #fff !important;
    position: relative;
    float: left;
    width: 100%;
}

table {
    border-collapse: collapse;
}

table td {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
}

table td.left {
    text-align: left;
}

table td.right {
    text-align: right;
}

footer {
    padding: 10px 0;
}

footer p {
    font-size: 12px;
    opacity: 0.5;
}

footer a {
    font-size: 15px;
}

/*** end GENERAL LAYOUT CSS ***/

/*** FORMS CSS ***/
.forgotten {
   font-size: 13px;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.mandatory:after {
    content: ' *';
    color: red;
}

input, select, textarea, .btn {
    padding: 8px;
    height: 45px;
    outline: none;
    border: 1px solid #fff;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    display: block;
    margin: 5px auto 10px auto;
    width: 100%;
    border-radius: 0;
}

input[type=checkbox] {
    width: 20px;
    display: inline-block;
    vertical-align: middle;
}

select {
    -webkit-appearance: normal;
}

textarea {
    height: 200px !important;
}

input:focus, select:focus, textarea:focus {
    background: rgba(0, 0, 0, 0.4);
    outline: 0;
}

.inputSmall {
    width: 49.5%;
    display: inline-block !important;
    vertical-align: top;
}

input[type="date"] {
    display: block;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    min-height: 1.2em;
}

.btn {
    text-align: center;
    line-height: 1.8em;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.btn:focus {
    outline: none;
}
.btnPrimary {
    background: #fff;
    color: #683357;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    margin: 15px 0;
    border-radius: 0;
}

.btnPrimary:hover {
    opacity: 0.8;
}

/*** end FORMS CSS ***/

/*** LOGIN PAGES CSS ***/
.login header {
    padding-top: 2%;
    border: 0 !important;
}

.page .login .logo {
    margin: 0 auto;
}

.login header {
    margin: 0 auto;
    height: auto;
}

.page .login header {
    border-bottom: none;
    text-align: center;
}

.page .login .logo {
    display: block;
    width: 100%;
    margin: 0;
}

.page .login .logo img {
    max-height: 100%;
    height: auto;
}

.loginForm {
    text-align: left;
    width: 50%;
    margin: 10px auto;
}
/*** end LOGIN PAGE CSS ***/

/*** REGISTER POPUP CSS ***/
.registerPopup {
    background: rgba(0, 0, 0, 0.5);
    min-height: 100vh;
}

.registerPopup .logo {
    display: none;
}

.registerPopup input, .registerPopup select {
    background: rgba(255, 255, 255, 0.2);
}

.registerPopup .btnPrimary {
    background: #fff;
}

a.link p {
    text-decoration: none;
    margin: 0 auto;
    color: #fff;
    opacity: 0.5;
    font-size: 13px;
    text-align: center !important;
}

.link:hover {
    opacity: 1;
}
/*** REGISTER POPUP CSS ***/

/*** BALANCE PAGE CSS ***/
.welcome {
    font-size: 20px;
}

.availableBalance {
    width: 270px;
    height: 270px;
    -webkit-border-radius: 150px;
    -moz-border-radius: 150px;
    border-radius: 150px;
    margin: 0 auto;
    padding: 90px 0;
}

.availableBalance h3 {
    font-weight: 300;
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.availableBalance span {
    font-size: 60px;
    line-height: 60px;
    font-weight: 300;
}

.shadows {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    webkit-box-shadow: #101010 0px 0px 8px;
    -moz-box-shadow: #101010 0px 0px 8px;
    box-shadow: #101010 0px 0px 8px;
}

.moduleContent {
    margin: 10px 0;
    min-height: 50px;
}

table.transactions {
    width: 100%;
}

.transTitle {
    font-size: 20px;
    line-height: 20px;
    margin: 0;
}

.transInfo {
    font-size: 15px;
    font-weight: 100;
    margin: 0;
}

.cardInfo {
    padding: 15px;
}

.cardInfo p {
    margin: 0;
}

/*** end BALANCE PAGE CSS ***/

/*** MANAGE ACC PAGE CSS ***/
.manageAcc .main a {
    color: #fff;
    text-decoration: none;
}

.manageAcc .icon {
    font-size: 100px;
}

.box {
    min-width: 23%;
    display: inline-block;
    margin: 15px 5px 0px 5px;
    padding: 15px 5px 5px 5px;
}

.box h4 {
    text-transform: uppercase;
}
/*** end MANAGE ACC PAGE CSS ***/

/*** MODAL ***/
.modal-dialog {
    text-align: center !important;
    color: #000;
}

.modal-header {
    color: #000;
    border: none;
}

.modal-title. h4.modal-title.ng-binding {
    font-weight: bold;
    font-size: 18px;
}

.modal-title:after {
    content: "";
    background: #000;
    height: 3px;
    width: 50px;
    display: block;
    margin: 0 auto;
    margin-top: 5px;
}

.modal-content {
    border-radius: 0;
}

.modal-body {
    font-size: 16px;
    line-height: 22px;
    color: #3A3A3A;
}

.modal-footer {
    border: none;
}

.modal-footer .btn {
    border-radius: 0;
    background: #000;
    border: 1px solid #000;
    color: #fff;
    font-weight: normal;
}
.modal-footer .btn + .btn {
    margin: 0;
}
/*** end MODAL ***/

/*** ng-messages ***/
div [ng-message="required"],
div [ng-message="alphanumeric"],
div [ng-message="alphaNumOnly"],
div [ng-message="frequencyNotSelected"],
div [ng-message="areEqual"],
div [ng-message="email"],
div [ng-message="url"],
div [ng-message="maxBelowMin"],
div [ng-message="pattern"],
div [ng-message="numOnly"],
div [ng-message="letterOnly"],
div [ng-message="notMatch"],
div [ng-message="maxDate"],
div [ng-message="emailNotEmpty"],
div [ng-message="negative"],
div [ng-message="maxlength"] {
    color: red;
    font-size: 11px;
    padding: 0;
    margin: -8px 0 0 0;
}
/*** end ng-messages ***/

/* media queries */
@media screen and (max-width: 1300px) {
    .main {
        width: 80%;
    }

    .logo {
        width: 100%;
        text-align: center;
    }

    .logo img {
        max-height: 60px;
    }
}

@media screen and (max-width: 900px) {
    .main {
        width: 90%;
    }

    table td {
        width: 100% !important;
        display: block !important;
        border: none !important;
        text-align: left !important;
    }

    table tr {
        border-bottom: 1px solid #fff !important;
    }
}

@media screen and (max-width: 800px) {
    .box {
        width: 45%;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 750px) {
    .logo {
        width: 100% !important;
        text-align: center;
    }

    header {
        height: 160px;
        text-align: center;
    }

    nav {
        text-align: center;
        width: 100%;
    }

    nav ul li {
        padding: 0 25px;
    }
}

@media screen and (max-width: 560px) {
    nav ul li {
        display: block;
        line-height: 50px;
    }

    header {
        border-bottom: none !important;
    }
}

@media screen and (max-width: 660px) {
    .loginForm {
        width: 80% !important;
    }

    .availableBalance {
        padding-top: 15%;
    }
}

@media screen and (max-width: 550px) {
    .availableBalance {
        padding-top: 90px;
    }
}

@media screen and (max-width: 440px) {
    .box {
        width: 90%;
    }

    .availableBalance {
        padding-top: 90px;
    }
}
