// 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: 85%;
	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;
}

/*edition select box */
.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;
}

.edition-image-canada{
  background-position: -447px -156px;
  height: 26px;
	width: 27px;
}
.footer-links {
  max-width: 900px;
  padding: 40px 10px;
  display: block !important;
}

.footer-links ul {
  padding-left: 3%;
  width: 22%;
  position: relative;
}

.footer-links ul:last-child {
	width: 25%;
}

.clearfix:before, .clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.books-logo, .subscriptions-logo, .expense-logo, .inventory-logo , .invoice-logo{
	background:url('../images/common-sprite.png');
	width: 40px;
	height: 40px;
  float: left;
  margin-right: 10px;
}

.invoice-logo {
	background-position: -21px -577px;
}

.books-logo {
	background-position: -18px -518px;
}

.subscriptions-logo {
	background-position: -18px -457px;
}

.expense-logo {
	background-position: -18px -399px;
}

.inventory-logo {
	background-position: -18px -338px;
}

.other-app-title {
	font-weight: 600
}

.other-app-desc {
	font-size: 12px;
	white-space: nowrap;
	margin-top: 2px;
}

@media screen and (max-width: 800px) {
  .footer-links ul {
    padding-left: 50px;
    width: 100%;
  }
}

.footer-links.footer-mobile {
  display: block !important;
}

@media screen and (max-width: 650px) {
  .footer-links ul:first-child {
    padding-left: 50px;
  }

  .footer-links ul {
    float:none;
    padding-bottom: 25px;
    width: 100%;
  }
}


/* 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,
.drop-box,
.one-drive,
.box,
.evernote,
.gdrive,
.zoho-drive,
.zoho-books,
.zoho-crm {
  background: url('/expense/images/home-sprite-1x.png') no-repeat;
  background-size: 884px 443px;
	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,
  .drop-box,
  .one-drive,
  .box,
  .evernote,
  .gdrive,
  .zoho-drive,
  .zoho-books,
  .zoho-crm {
    background-image: url('/expense/images/home-sprite-2x.png');
    background-repeat:  no-repeat;
  }
}

.zoho-drive {
  background-position: -3px -295px;
	width: 138px;
	height: 26px;
}

.drop-box {
  background-position: -646px -247px;
	width: 129px;
	height: 35px;
}

.gdrive {
  background-position: -436px -301px;
	width: 144px;
	height: 27px;
}

.evernote {
  background-position: -258px -302px;
	width: 142px;
	height: 35px;
}

.box {
  background-position: -812px -250px;
	width: 50px;
	height: 28px;
}

.one-drive {
  background-position: -643px -307px;
	width: 132px;
	height: 21px;
}

.zoho-books {
  background-position: -258px -247px;
	width: 154px;
	height: 26px;
}

.zoho-crm {
  background-position: -450px -247px;
	width: 133px;
	height: 26px;
}

.drop-box {
  position: relative;
  top: 5px;
}

.evernote {
  position: relative;
  top: 10px;
}

.zf-iphone-store {
  background-position: -66px -3px;
	width: 141px;
	height: 47px;
}

.zf-android-store {
  background-position: -222px -3px;
	width: 141px;
	height: 47px;
}

.zf-windows-store {
  background-position: -377px -3px;
	width: 141px;
	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;

  -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;
}
