// This stylesheet will hold some common CSS & utilities that is used across the expense sites

.img-responsive {
  max-width: 100%;
  max-height: 100%;
  display: inline-block;
}

.text-center {
  text-align: center;
}

.clearfix:before,
.clearfix:after {
	display: table;
	content: " ";
	clear: both;
}

.header-small-dash {
	position: relative;
}

.header-small-dash::after {
	content: "";
	display: block;
	width: 50px;
	border: 1px solid #B8B8B8;
	position: absolute;
	left: 50%;
	top: 120%;
	margin-left: -25px;
}

.btn {
  display: inline-block;
  padding: 8px 25px;
  font-size: 15px;
  letter-spacing: -0.03em;
  line-height: 1.44;
  cursor: pointer;
	border: 1px solid #333;
}


.footer-links {
  max-width: 900px;
  padding: 40px 10px;
  display: block !important;
}

.footer-links ul:last-child {
  width: 28%;
}

.footer-links ul {
  position: relative;
  width: 20%;
  padding-left: 3%;
}

@media screen and (max-width: 500px) {
  .footer-links {
    padding: 30px 10%;
  }
  .footer-links ul, .footer-links ul:last-child {
    padding: 20px 0%;
    width: 100%;
    min-height: 20px;
  }
}


/* Edition selction footer */
.edition-select-box{
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 166px;
}
.edition-select-box a{
    display: block;
    padding: 10px;
    position: relative;
}
.edition-select-box .edition-dropdown {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    height: 100%;
    width: 44px;
}
.edition-select-box .edition-dropdown b{
    background: url("/books/signup/images/sp1.png") no-repeat;
    background-position: 14px 8px;
    display: block;
    width: 44px;
    height: 40px;
    margin-top: 5px;
}
.edition-select-box .edition-dropdown b.open-caret{
    background-position: -46px 9px;
}
.edition-select-list{
    background-color: #fff;
    margin-top: -3px;
    border: 1px solid #ccc;
    width: 166px;
    display: none;
}
.edition-select-list-item {
    border-bottom: 1px solid #ccc;
}
.edition-select-list-item a{
    display: block;
    padding:10px;
}
.edition-select-list-item a:hover{
    background-color: #f5f5f5;
}
.edition-label{
    margin-left:34px;
}

[class*="edition-image-"] {
	background: url('/books/images/common-icon.png') no-repeat;
  position: absolute;
}
.edition-image-global{
  background-position: -340px -156px;
  height: 16px;
	width: 16px;
  margin-left:4px;
}
.edition-image-uk{
  background-position: -380px -156px;
  height: 26px;
	width: 27px;
}

.edition-image-us{
  background-position: -414px -156px;
  height: 26px;
	width: 27px;
}

.books-logo, .subscriptions-logo, .expense-logo {
	background:url('/invoice/images/common-sprite.png');
	width: 40px;
	height: 40px;
  float: left;
  margin-right: 10px;
}

.books-logo {
	background-position: -18px -518px;
}

.subscriptions-logo {
	background-position: -18px -457px;
}

.expense-logo {
	background-position: -18px -399px;
}

.other-app-title {
	font-weight: 600
}

.other-app-desc {
	font-size: 12px;
	white-space: nowrap;
	margin-top: 2px;
}


/* Contact Us Widget  -starts */

.contactus-form-stickydiv {
	position: fixed;
	bottom: 0;
	right: 0;
	width: 372px;
  z-index: 100;
}

.bump {
	-webkit-animation: bump 0.5s ease;
	-o-animation: bump 0.5s ease;
	animation: bump 0.5s ease;
}

.contactus-form-stickydiv * {
	-webkit-box-sizing: border-box;
		 -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.contactus-form-stickydiv .contact-form {
	width: 372px;
	padding: 20px;
}

.contactus-form-stickydiv .contact-form .form-group {
	margin-bottom: 9px;
}

.contactus-form-stickydiv .contact-form .clr-bdr{
	display: none;
}

@-webkit-keyframes bump {
  0% { bottom: 0em; }
  25% { bottom: 0.5em; }
  50% { bottom: 0em; }
  75% { bottom: 0.5em; }
  100% { bottom: 0em; }
}

@-o-keyframes bump {
  0% { bottom: 0em; }
  25% { bottom: 0.5em; }
  50% { bottom: 0em; }
  75% { bottom: 0.5em; }
  100% { bottom: 0em; }
}


@keyframes bump {
  0% { bottom: 0em; }
  25% { bottom: 0.5em; }
  50% { bottom: 0em; }
  75% { bottom: 0.5em; }
  100% { bottom: 0em; }
}

.icon-mail, .icon-uparrow, .icon-downarrow {
	background: url(/books/images/common-icon.png) no-repeat;
	width: 30px;
	height: 20px;
	display: inline-block;
}

.icon-uparrow {
	background-position: -536px -205px;
	float: right;
}

.icon-mail {
	background-position: -492px -205px;
	margin: 0 0 -5px;
}

.icon-downarrow {
	background-position: -586px -205px;
  margin-top: 5px;
	float: right;
}

.sticky-label {
	background-color: #444;
	width: 165px;
	padding: 5px;
	float: right;
    cursor: pointer;
}

.sticky-label div {
	display: inline;
	font-weight: 300;
	color: #fff;
}

.sticky-label.dropup {
	margin-right: 40px;
	border: 1px solid #444;
	border-radius: 5px 5px 0 0;
	box-shadow: #e5e5e5 0 0 6px 3px;
	border-bottom: none;
  cursor: pointer;
}

.stickyform-container {
	background-color: #fff;
	clear:both;
}

.contact-form {
  position: relative;
  border: 1px solid #ddd;
  width: 550px;
  padding: 40px 40px 30px;
  margin-top:20px;
}

.contact-form .form-control{
  border-radius: 0;
  box-shadow: none;
}
.contact-form .form-group p{
  margin-top: -10px;
  margin-bottom: 0;
  font-size: 12px;
}
.contact-form .form-group div {
	width: 90%;
	display: inline-block;
}
.contact-form .form-group span {
	position: absolute;
	padding-left: 20px;
}

/* To hide sticky footer in mobiles */

@media screen and (max-width: 481px) {
  .contactus-form-stickydiv {
    display: none;
  }
}

.mand {
  color: #F24638;
  margin-left: -15px;
}

.submit-button,
.submit-button:hover {
	background: #48bbb4;
	border-color: #48bbb4;
	color:#fff;
	border-radius: 0;
	padding:7px 20px;
	margin-top:20px;
  font-size:16px;
	border: 1px solid transparent;
}

.form-control {
	display: block;
	width: 100%;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
}

.form-control:focus {
	border-color: #66afe9;
	outline: 0;
}

.has-error .form-control {
	border: 1px solid #a94442;
}

.show {
	display: block !important;
}

.hide-widget {
	display: none !important;
}

.text-danger {
	color: #a94442;
}

.text-uppercase {
  text-transform: uppercase;
}

.zf-iphone-store,
.zf-android-store,
.zf-windows-store {
  background: url('/invoice/images/home-sprite-1x.png') no-repeat;
  background-size: 827px 541px;
  display: inline-block;
}

[class^="zf-integlogo-"] {
  background-image: url('/invoice/images/popular-integrations-sprite-1x.png');
  background-size: 780px 198px;
  display: inline-block;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
  .zf-iphone-store,
  .zf-android-store,
  .zf-windows-store {
    background-image: url('/invoice/images/home-sprite-2x.png');
    background-repeat:  no-repeat;
  }
  
  [class^="zf-integlogo-"] {
    background-image: url('/invoice/images/popular-integrations-sprite-2x.png');
    background-repeat:  no-repeat;
  }
}

.zf-integlogo-crm {
  background-position: -517px -68px;
  width: 165px;
  height: 44px;
}

.zf-integlogo-paypal {
  background-position: -148px 0;
  width: 119px;
  height: 31px;
}

.zf-integlogo-stripe {
  background-position: 0 0;
  width: 74px;
  height: 31px;
}

.zf-integlogo-checkout {
  background-position: -325px 0;
  width: 106px;
  height: 38px;
}

.zf-integlogo-briantree {
  background-position: -487px -5px;
  width: 99px;
  height: 34px;
}

.zf-integlogo-authorizenet {
  background-position: -633px -12px;
  width: 137px;
  height: 27px;
}

.zf-integlogo-books {
  background-position: -266px -67px;
  width: 202px;
  height: 36px;
}

.zf-integlogo-projects {
  background-position: 0 -50px;
  width: 213px;
  height: 60px;
}

.zf-integlogo-dropbox {
  background-position: 0 -134px;
  width: 51px;
  height: 64px;
}

.zf-integlogo-gdrive {
  background-position: -152px -135px;
  width: 59px;
  height: 63px;
}

.zf-integlogo-box {
  background-position: -320px -138px;
  width: 92px;
  height: 60px;
}

.zf-integlogo-evernote {
  background-position: -478px -134px;
  width: 123px;
  height: 64px;
}

.zf-integlogo-onedrive {
  background-position: -648px -138px;
  width: 117px;
  height: 60px;
}

.zf-iphone-store {
  background-position: -13px -426px;
  width: 142px;
  height: 47px;
}

.zf-android-store {
  background-position: -169px -426px;
  width: 142px;
  height: 47px;
}

.zf-windows-store {
  background-position: -324px -426px;
  width: 142px;
  height: 47px;
}

.hidden {
  visibility: hidden;
}

.visible {
  visibility: visible;
}

.hide {
  display: none;
}

.show {
  display: block;
}

.circled-bottom-arrow {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  transition: border-color 250ms;
}

.circled-bottom-arrow:hover {
  border-color: inherit;
}

.circled-bottom-arrow::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  position: relative;
  top: -1px;
  border-right: 2px solid;
  border-top: 2px solid;
  margin: 8px;

  -webkit-transform: rotate(135deg);
     -moz-transform: rotate(135deg);
          transform: rotate(135deg);
}

.text-center {
  text-align: center;
}


.animated {
  -webkit-animation-name: bounce;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-out;
  -webkit-animation-fill-mode: forwards;

  animation-name: bounce;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

/*
 * Animation for webkit
*/
@-webkit-keyframes bounce {
    0%, 50%, 100% {-webkit-transform: translateY(0);}
    25%, 75% {-webkit-transform: translateY(-5px);}
}

@keyframes bounce {
    0%, 50%, 100% {transform: translateY(0);}
    25%, 75% {transform: translateY(-5px);}
}

.bounce {
    -webkit-animation-name: bounce;
    animation-name: bounce;
}

/* Overwrite central design button */

.signupnow-button a:hover {
  background: #D2382F;
}

.get-started a {
  color: #fff;
  position: relative;
  z-index: 2;
}
.get-started a::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background-color: #fff;
  transition: all 0.2s;
  z-index: -1;
}
.get-started a:hover {
  color: #00add5;
}
.get-started a:hover::after {
  width: 100%;
}
