/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}

/* latin */
@font-face {
  font-family: 'Droid Serif';
  font-style: normal;
  font-weight: 400;
  src: local('Droid Serif'), local('DroidSerif'), url(//fonts.gstatic.com/s/droidserif/v6/0AKsP294HTD-nvJgucYTaI4P5ICox8Kq3LLUNMylGO4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin */
@font-face {
  font-family: 'Droid Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Droid Sans'), local('DroidSans'), url(//fonts.gstatic.com/s/droidsans/v6/s-BiyweUPV0v-yRb-cjciPk_vArhqVIZ0nv9q090hN8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
   
html {
	position: relative;
	min-height: 100%;
}
body {
	padding-top: 50px;
    /* uncomment for footer 
	padding-bottom: 260px; */
}
h1 {
    font-family: 'Droid Serif', Georgia, Times, serif;
    font-size: 42px;
    line-height: 65px;
}
body, p {
    font-family: 'Droid Sans', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 25px;
}
.navbar-brand {
	padding: 3px 0 0 0;
}
#avatar{
	padding-top: 9px;
	padding-bottom: 9px;
}
ol.breadcrumb {
    padding: 0;
    margin: 0;
}
.breadcrumb>li+li:before {
    content: "\00BB";
}
body > .container {
	/* for use with footer: margin-bottom: 40px; */
	margin-bottom: 100px;
}
.alert {
    margin-top: 20px;
}
.row-fullheight {
	overflow: hidden;
}
.column-fullheight {
	margin-bottom: -9999px;
	padding-bottom: 9999px;
}
.btn-social {
	color: white;
	opacity: 0.8;
}
.btn-social:hover {
	color: white;
	opacity: 1;
	text-decoration: none;
}
.btn-social-sm {
	min-width: 35px;
	padding: 6px 10px;
	margin-right: 3px;
}
.btn-facebook {
	background-color: #3b5998;
}
.btn-twitter {
	background-color: #00aced;
}
.btn-linkedin {
	background-color: #0e76a8;
}
.btn-google {
	background-color: #c32f10;
}
.footer {
	position: absolute;
    bottom: 60px;
    width: 100%;
    height: 200px;
    background-color: #f5f5f5;
	border-top: 1px solid;
	border-color: #e7e7e7;
}
.footer .row {
	margin-top: 25px;
}
.sub-footer {
	position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #101010;
}
.sub-footer .text-muted {
	font-size: 11px;
    margin-top: 23px;
}
.sub-footer a {
	font-size: 12px;
	color: #9d9d9d;
	margin-left: 20px;
}
.sub-footer a:hover {
	color: #fff;
	text-decoration: none;
}
.sub-footer .legal {
    margin-top: 20px;
}


/**** Home ****/
img.loading {
    position: relative;
    top: 50%;
    margin-top: -70px;
}
.guest {
	background-image: url('/img/cash-1257463.jpg');
	background-size: cover;
}
.guest > .container {
	min-height: 400px;
}
.guest > .container  h1 {
	margin-top: 85px;
	font-size: 48px;
	color: #082f08;
}
.guest > .container  h2 {
	color: #082f08;
}
.call-to-action {
	margin-top: 85px;
}
.call-to-action .btn {
	width: 100%;
	margin-top: 25px;
}
#main {
	height: 640px;
	margin: 15px 40px;
	text-align: center;
}
#collapseOne .btn-primary, #collapseTwo .btn-primary {
	margin-top: 25px;
}
#expense-form div.row.well {
	padding-bottom: 10px;
}
#expense-form .row div {
	padding-left: 2px;
	padding-right: 2px;
	margin-top: 2px;
	margin-bottom: 2px;
}
#expense-form .row div > input[type="text"], #expense-form .row div > input[type="number"] {
	width: 100%;
	margin-top: 25px;
}
#expense-form p.datepicker {
	padding-top: 25px;
}
#expense-form a.btn.btn-link, .timepicker-editable a.btn.btn-link, .filter-time a.btn.btn-link {
	padding-top: 0px;
	padding-bottom: 0px;
}
#expense-form .btn-success, #user-form .btn-success {
	margin-top: 20px;
}
#expense .editable-wrap, #expense form {
	padding-top: 25px;
}
#expense .editable-bstime {
	padding-top: 0;
}
#expense .editable-bsdate {	
	max-width: 145px;
}

#user .checkbox input[type="checkbox"] {
	margin-left: 0;
	margin-top: -5px;
}

@media screen and (max-width: 415px) {
	#main {
		margin-left: 0;
		margin-right: 0;
	}
}


/**** Sign Up / Log In ****/
.panel-login {
	border-color: #ccc;
	-webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
	margin-top: 85px;
}
.panel-login>.panel-heading {
	color: #00415d;
	background-color: #fff;
	border-color: #fff;
	text-align:center;
}
.panel-login>.panel-heading a{
	text-decoration: none;
	color: #666;
	font-weight: bold;
	font-size: 15px;
	-webkit-transition: all 0.1s linear;
	-moz-transition: all 0.1s linear;
	transition: all 0.1s linear;
}
.panel-login>.panel-heading a.active{
	color: #029f5b;
	font-size: 18px;
}
.panel-login>.panel-heading hr{
	margin-top: 10px;
	margin-bottom: 0px;
	clear: both;
	border: 0;
	height: 1px;
	background-image: -webkit-linear-gradient(left,rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.15),rgba(0, 0, 0, 0));
	background-image: -moz-linear-gradient(left,rgba(0,0,0,0),rgba(0,0,0,0.15),rgba(0,0,0,0));
	background-image: -ms-linear-gradient(left,rgba(0,0,0,0),rgba(0,0,0,0.15),rgba(0,0,0,0));
	background-image: -o-linear-gradient(left,rgba(0,0,0,0),rgba(0,0,0,0.15),rgba(0,0,0,0));
}
.panel-login input[type="text"],.panel-login input[type="email"],.panel-login input[type="password"] {
	height: 45px;
	border: 1px solid #ddd;
	font-size: 16px;
	-webkit-transition: all 0.1s linear;
	-moz-transition: all 0.1s linear;
	transition: all 0.1s linear;
}
.panel-login input:hover,
.panel-login input:focus {
	outline:none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border-color: #ccc;
}
.btn-login {
	background-color: #59B2E0;
	outline: none;
	color: #fff;
	font-size: 14px;
	height: auto;
	font-weight: normal;
	padding: 14px 0;
	text-transform: uppercase;
	border-color: #59B2E6;
}
.btn-login:hover,
.btn-login:focus {
	color: #fff;
	background-color: #53A3CD;
	border-color: #53A3CD;
}
.forgot-password {
	text-decoration: underline;
	color: #888;
}
.forgot-password:hover,
.forgot-password:focus {
	text-decoration: underline;
	color: #666;
}

.btn-register {
	background-color: #1CB94E;
	outline: none;
	color: #fff;
	font-size: 14px;
	height: auto;
	font-weight: normal;
	padding: 14px 0;
	text-transform: uppercase;
	border-color: #1CB94A;
}
.btn-register:hover,
.btn-register:focus {
	color: #fff;
	background-color: #1CA347;
	border-color: #1CA347;
}

/**** Contact ****/
.side-contact {
	background-color: #e7e7e7;
	padding-left: 20px;
    padding-top: 20px;
    padding-right: 20px;
}

/**** Logged out ****/
.logged-out > .container {
	min-height: 400px;
}
.logged-out > .container  h1 {
	margin-top: 85px;
}












/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
