@import url(https://fonts.googleapis.com/css?family=Chewy);

@font-face {
  font-family: 'Helvetica Neue Condensed';
  src: url('HelveticaNeue-Condensed.eot');
  src: url('HelveticaNeue-Condensed.eot%3F') format('embedded-opentype'),
       url('HelveticaNeue-Condensed.woff2.html') format('woff2'),
       url('HelveticaNeue-Condensed.woff') format('woff'),
       url('HelveticaNeue-Condensed.ttf') format('truetype'),
       url('HelveticaNeue-Condensed.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Helvetica Neue Condensed';
  src: url('HelveticaNeue-CondensedBold.eot');
  src: url('HelveticaNeue-CondensedBold.eot%3F') format('embedded-opentype'),
       url('HelveticaNeue-CondensedBold.woff2.html') format('woff2'),
       url('HelveticaNeue-CondensedBold.woff') format('woff'),
       url('HelveticaNeue-CondensedBold.ttf') format('truetype'),
       url('HelveticaNeue-CondensedBold.svg') format('svg');
  font-weight: bold;
  font-style: normal;
}

@font-face {
    font-family: 'Helvetica-Roman';
    src: url('HelveticaLTStd-Roman.eot');
    src: url('HelveticaLTStd-Roman.woff') format('woff'), url('HelveticaLTStd-Roman.ttf') format('truetype'), url('HelveticaLTStd-Roman.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: 0;
    font-family: 'Helvetica Neue Condensed', sans-serif;
    font-size: 16px;
    color: #4e4e4e;
}

.form_wrapper {
    position: fixed;
    height: 100%;
    width: 100%;
    background: #054887;
}


.form_wrapper .form_content {
    width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.form_wrapper .form_content > p {
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.form_wrapper .form_content > p a {
    color: #fff;
    font-size: 14px;
    padding: 0 5px;
}

.form_wrapper .form {
    width: 100%;
    background: #f2f4f5;
    padding: 50px;
    border-radius: 10px;
}

.form_wrapper .form img {
    margin: 0 auto 20px;
    display: block;
}

.form_wrapper .form p {
    font-size: 24px;
    margin: 10px 0;
}

.form_wrapper .form input, .form_wrapper .form select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #4e4e4e;
    font-family: 'Helvetica Neue Condensed', sans-serif;
    font-size: 16px;
}

.form_wrapper .form input[type=submit] {
    font-size: 19px;
    border: none;
    background: #0971ce;
    border-radius: 8px;
    color: #ffffff;
    padding: 15px;
    text-transform: uppercase;
    margin: 10px 0;
    -webkit-box-shadow: 0px 2px 0px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 0px 2px 0px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 0px 2px 0px 0px rgba(50, 50, 50, 0.3);
    line-height: 1;
    font-weight: bold;
    text-shadow: 0px 1px 1px rgba(50, 50, 50, 1);
}

.form_wrapper .form a.button.grey {
    font-size: 19px;
    border: none;
    background: #dbdbdb;
    border-radius: 8px;
    color: #4e4e4e;
    padding: 15px;
    text-transform: uppercase;
    margin: 10px 0;
    -webkit-box-shadow: 0px 2px 0px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 0px 2px 0px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 0px 2px 0px 0px rgba(50, 50, 50, 0.3);
    line-height: 1;
    font-weight: bold;
    display: block;
    width: 100%;
    text-align: center;
}

header form {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

header input {
    font-size: 19px;
    border: none;
    background: #1793dc;
    border-radius: 8px;
    color: #fff;
    padding: 10px 15px;
    -webkit-box-shadow: 0px 2px 0px 0px rgba(4, 58, 109, 1);
    -moz-box-shadow: 0px 2px 0px 0px rgba(4, 58, 109, 1);
    box-shadow: 0px 2px 0px 0px rgba(4, 58, 109, 1);
    line-height: 1;
    font-weight: bold;
    text-align: center;
}
.form_wrapper .form hr {
    height: 1px;
    background: #d4d4d4;
    width: calc(100% + 100px);
    margin: 30px -50px 40px;
}

.form_wrapper p.center {
    text-align: center;
}

.form_wrapper p.center a {
    color: #0971ce;
    font-weight: bold;
    font-size: 16px;
}

header {
    width: 100%;
    background: #054887;
    padding: 5px 20px;
    position: fixed;
    top: 0;
}

#sidebar {
    width: 150px;
    background: #1d1e2a;
    position: fixed;
    left: 0;
    top: 69px;
    height: calc(100% - 69px);
}

#sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#sidebar ul li {
    border-bottom: 1px solid #404040;
    text-align: center;
}

#sidebar ul li img {
    display: block;
    margin: 0 auto;
    margin-bottom: 15px;
}

#sidebar ul li a {
    font-size: 16px;
    font-weight: bold;
    color: #7b7b7b;
    width: 100%;
    padding: 30px;
    display: block;
}

#sidebar ul li a:hover, #sidebar ul li a.active {
    background: #14151d;
    color: #d8d8d8;
}

.content {
    width: calc(100% - 150px);
    margin-left: 150px;
    margin-top: 69px;
}

.content .title {
    width: 100%;
    background: #1998de;
    padding: 50px;
}

.content .title h1 {
    margin: 0;
    font-size: 36px;
    color: #fff;
}

.content .title p {
    margin: 0;
    color: #fff;
    margin: 5px 0;
}

.content .tabs {
    width: 100%;
}

.content .tabs .tab {
    display: inline-block;
    padding: 15px 30px;
    border-right: 1px solid #eaeaea;
    font-weight: bold;
    border-bottom: 5px solid #fff;
}

.content .tabs .tab.active, .content .tabs .tab:hover {
    border-bottom: 5px solid #1998de;
}

.content .tab_content {
    background: #f2f5f7;
    padding: 50px;
    display: none;
}

.content .tab_content.active {
    display: block;
}

.content .table {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.content .table .row {
    display: table-row;
}

.content .table .row span {
    display: table-cell;
    padding: 15px 30px;
    background: #fff;
    border: 1px solid #f2f5f7;
    font-size: 14px;
}

.content .table .row span:last-child {
    text-align: center;
}

.content .table .row span a {
    color: #1998de;
    font-weight:bold;
}

.content .table .row.heading span {
    text-align: center;
    background: none;
    font-family: 'Helvetica-Roman';
    color: #acacac;
}

.content .summary, .content .profile {
    background: #fff;
    width: 60%;
    border-radius: 10px;
}


.content h2 {
    margin: 0;
    font-size: 24px;
    font-weight: normal;
    color: #1998de;
}

.content .summary, .content #calendar, .content .profile, #profile_sidebar {
    display: inline-block;
    vertical-align: top;
}

.content .summary h2, .content .profile h2 {
    padding: 30px 0 20px 30px;
}

.content .profile h2 {
    border-bottom: 1px solid #eaeaea;
}

.content .summary p {
    border-top: 1px solid #eaeaea;
    margin: 0;
    padding: 15px 30px;
    position: relative;
}

.content .summary p > span, .content .profile p > span {
    position: absolute;
    width: 70%;
    padding: 15px 30px;
    right: 0;
    top: 0;
}

.content .summary p .green {
    background: #2ecc71;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
}

.content .summary p .red {
    background: #ef4836;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
}

.content #calendar {
    width: 300px;
    background: #fff;
    border-radius: 10px;
    margin: 0 30px;
    overflow: hidden;
    padding-bottom: 10px;
}

.content .profile .left, .content .profile .right {
    width: 50%;
    display: inline-block;
    vertical-align: top;
}

.content .profile {
    padding-bottom: 20px;
}
.content .profile p {
    margin: 0;
    padding: 15px 30px;
    position: relative;
}

#profile_sidebar {
    width: 300px;
    margin: 0 30px;
    text-align: center;
}

#profile_sidebar #profile_box,
#profile_sidebar #files_box {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
}

#files_box {
    text-align: left;
}

#profile_box h2 {
    font-weight: bold;
}

#profile_box h2 a {
    font-weight: bold;
    margin: 0;
    font-size: 24px;
    color: #1998de;
    text-decoration: underline;
}

#profile_box p {
    margin: 10px 0;
}

#profile_box .profile_image {
    text-align: center;
    background: #3eb6f9;
    display: inline-block;
    padding: 20px;
    border-radius: 60px;
    border: 10px solid #b8e4fd;
    margin-bottom: 30px;
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
}


.fc th, .fc td {
    border: 0;
}

.fc th {
    padding: 10px 0;
}

.fc-head {
    border-bottom: 1px solid #ebeced;
}

.fc-head th {
    color: #777c80;
}

.fc-toolbar {
    background: #9b59b6;
    margin: 0;
    padding: 20px 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.fc-scroller {
    overflow-y: visible;
    overflow-x: visible;
}

.fc-toolbar h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
}

.fc-basic-view .fc-body .fc-row {
    height: 38px !important;
    min-height: auto;
}

.fc-ltr .fc-basic-view .fc-day-number {
    text-align: center;
    padding: 10px 0;
}

.fc button {
    height: auto; 
    padding: 0; 
}

.fc-state-default.fc-corner-right {
    border-radius: 0;
}

.fc-button {
    border: 0;
    background: none;
    text-shadow: none;
    box-shadow: none;
}

.fc-icon-left-single-arrow:after,
.fc-icon-right-single-arrow:after {
    color :#fff;
}

.fc-prev-button {
    left: 20px;
}

.fc-next-button {
    right: 20px;
}

.fc button .fc-icon {
    top: 1px;
}

.fc-unthemed .fc-today {
    background: #9b59b6;
    border-radius: 50px;
    color: #fff;
}

.profile .row label, .profile .row .input {
    display: inline-block;
    vertical-align: middle;
}

.profile .row {
    padding: 10px 30px;
}

.profile .row label {
    width: 25%;
}

.profile .row .input {
    width: 75%;
}

.profile input, .profile select {
    width: 100%;
    padding: 10px;
    background: #f2f4f5;
    border-radius: 10px;
}

.profile input[type=checkbox] {
    width: auto;
}

.profile .profile_image {
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    display: inline-block;
    vertical-align: middle;
    border-radius: 50px;
}

.profile input[type=file] {
    width: calc(100% - 110px);
    display: inline-block;
    vertical-align: middle;
    background: none;
}

.profile input[type=submit], .popup_content input[type=submit], .form a.button {
    width: 200px;
    font-size: 16px;
    border: none;
    background: #0971ce;
    border-radius: 8px;
    color: #ffffff;
    padding: 10px;
    text-transform: uppercase;
    margin: 30px auto;
    -webkit-box-shadow: 0px 2px 0px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 0px 2px 0px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 0px 2px 0px 0px rgba(50, 50, 50, 0.3);
    line-height: 1;
    font-weight: bold;
    text-shadow: 0px 1px 1px rgba(50, 50, 50, 1);
    display: block;
    text-align: center;
}

.breakdown {
    margin: 0 0 15px;
    text-align: center;
    color: #4e4e4e;
    text-shadow: none;
    padding: 15px 0;
}
.breakdown .col {
    display: inline-block;
    margin: 0 20px;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    width: 100%;
    height: 100%;
    display: none;
    z-index: 10000;
    text-align: center;
}

.popup_content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 680px;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 15px;
    text-align: center;
    box-sizing: border-box;
    padding: 20px;
    transition: top 0.5s;
    -webkit-transition: top 0.5s;
    max-height: 700px;
    overflow: auto;
}

.popup_content > h2 {
    color: #0971ce;
    display: inline-block;
    border-bottom: 1px solid #0971ce;
    padding: 0 40px;
    font-size: 24px;
}

.popup_content label, .popup_content textarea {
    display: block;
}

.popup_content textarea {
    width: 100%;
    background: #f2f4f5;
    border-radius: 20px;
    height: 100px;;
    resize: none;
    padding: 10px;
}

.popup_content .close {
    background: #0971ce;
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    cursor: pointer;
}

.popup_content form {
    margin-top: 20px;
}

.popup_content label {
    margin: 10px 0;
}

#signature-pad { 
    width: 100%;
    max-width: 680px;
    height: 300px; 
    position: relative; 
}

.search {
    margin-bottom: 40px;
}

.search h2 {
    margin-bottom: 20px;
}

.search input {
    padding: 10px;
    margin-right: 10px;
}

#sidebar form {
    display: none;
}

#navController {
    display: none;
}


noscript section {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #0971ce;
    z-index: 100000;
}

noscript p {
    text-align: center;
    font-size: 30px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}


@media only screen and (max-width: 800px) {

    .form_wrapper { padding: 0 20px; }
    .form_wrapper .form_content { 
        width: 100%;
        width: calc(100% - 40px);
    }

    #sidebar ul li a {
        padding: 20px;
    }

    .form_wrapper .form img {
        width: auto;
        max-width: 90%;
    }

    .form_wrapper p.center a {
        font-size: 5vw;
        display: block;
    }

    #sidebar {
        left: -150px;
        position: fixed;
        z-index: 100;
        transition: left 0.5s;
        -webkit-transition: left 0.5s;
    }

    #sidebar.open {
        left: 0;
    }

    body.noscroll {
        overflow: hidden;
    }   

    #sidebar form {
        display: block;
        position: absolute;
        bottom: 100px;
    }

    #sidebar form input[type=submit] {
        background: url(../img/white_exit_arrow.png) 10px center no-repeat #1793dc;
        width: 125px;
        margin-left: 12.5px;
        height: 55px;
        border-radius: 10px;
        background-size: 36px;
        color: #fff;
        text-indent: 40px;
        font-size: 14px;
        font-weight: bold;
    }

    .content { 
        width: 100%; 
        margin-left: 0;
    }

    .content .tabs {
        display: table;
    }

    .content .tabs .tab {
        width: 25%;
        padding: 15px;
        vertical-align: middle;
        display: table-cell;
    }

    .content .tab_content {
        padding: 50px 20px;
    }

    .search input { width: 100%; }

    .content .table,
    .content .table .row { display: block; }

    .content .table .row.heading span, .content .table .row span { 
        width: 50%; 
        display: inline-block;
        vertical-align: middle;
        min-height: 50px;
    }

    .content .table .row span {
        position: relative;
        padding-top: 30px;
        text-align: center;
        display: none;
    }

    .content .table .row.open span,
    .content .table .row span[data-text="Name"],
    .content .table .row span[data-text="Loan Total"],
    .content .table .row span[data-text="Date"],
    .content .table .row span[data-text="Repayment Date 1"],
    .content .table .row span[data-text="Email"]
    {
        display: inline-block;
    }   

    .content .table .row span[data-text="Email"] {
        word-break: break-all;
    }

    .bluebar {
        background-color: #1998dd;
        width: 100%;
        height: 50px;
        position: relative;
    }

    .bluebar div {
        height: 12px;
        width: 12px;
        background-color: #fff;
        border-radius: 50%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        position: absolute;
        cursor: pointer;
    }

    .bluebar div:before, .bluebar div:after {
        content: '';
        width: 12px;
        height: 12px;
        background-color: #fff;
        border-radius: 50%;
        top: 0;
        position: absolute;
    }

    .bluebar div:before {
        left: -20px;
    }

    .bluebar div:after {
        right: -20px;
    }

    .content .table .row span:before {
        content: attr(data-text);
        position: absolute;
        top: 10px;
        left: 0;
        width: 100%;
        font-size: 12px;
        color: #adadad;
        text-align: center;
    }

    .content .title h1 { font-size: 6vw; }

    .content .table .row span { border: none; }

    .content .table .row { background-color: #fff; }

    .content .table .row.heading { display: none; }

    .content .title { padding: 20px; }

    .content .summary p > span, .content .profile p > span { 
        position: relative; 
        font-weight: bold; 
        padding: 0 0 0 5px;
    }

    .content .table .row {
        margin-bottom: 20px;
    }

    .content .summary, .content .profile, .content #calendar, #profile_sidebar {
        width: 100%;
        margin: 0 0 20px 0;
    }

    .content .profile .left, 
    .content .profile .right,
    .profile input[type=file],
    .profile .row label,
    .profile .row .input {
        width: 100%;
    }

    .profile .row label {
        margin-bottom: 10px;
    }

    header {
        z-index: 200;
        height: 69px;
    }       

    header form { display: none; }

    header img {
        display: block;
        width: 40%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
    }

    .tabs a {
        font-size: 14px;
    }

    #navController {
        width: 50px;
        height: 50px;
        position: absolute;
        left: 10px;
        top: 10px;
        background-color: #043665;
        border-radius: 10px;
        display: block;
    }

    #navController:after {
        content: ''; /*'Menu';*/
        color: #fff;
        font-size: 22px;
        position: absolute;
        right: -110%;
        top: 13px;
    }

    #navController span {
        position: absolute;
        width: 28px;
        left: 6px;
        height: 3px;
        background-color: #fff;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
    }

    #navController span:before,
    #navController span:after {
        content: '';
        width: 35px;
        background-color: #fff;
        height: 3px;
        top: -10px;
        left: 0;
        position: absolute;
    }

    #navController span:after {
        top: auto;
        bottom: -10px;
    }

}

@media only screen and (max-width: 330px) {
    .content .tabs {
        display: block;
    }
    .content .tabs .tab { 
        width: 50%;
        display: inline-block;
    }
}

@media only screen and (max-height: 650px) {
    #sidebar form {
        position: relative;
        bottom: auto;
        margin-top: 20px;
    }
}
