/* Common css rules */

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

.clearfix:after {
	clear: both;
}

body {
	margin: 0;
	font-family: 'Open Sans';
	font-size: 14px;
	background-color: #F6FAFE;
}

button,
.ui-dialog .ui-dialog-buttonset button,
.finishButton {
	font-weight: 500;
	font-size: 16px;
	padding: 6px 22px;
	background-color: #FFF;
	border: 0;
	color: #0DA0FF;
	cursor: pointer;
}

button,
.ui-dialog .ui-dialog-buttonset button:hover{
	background-color: #F2F2F2;
}

#accountCreationButton{
	font-weight: 300;
	font-size: 15px;
	background: rgba(13,160,255,0.78);
	border-radius: 4px;
	color: #FFF;
	cursor: pointer;
	border: none;
	text-transform: uppercase;
	margin: 5px;
	padding: 8px 16px;
}

.finishButton {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	background: no-repeat left 8px center;
	padding-left: 33px;
	margin: 10px auto;
}

.finishButton.aodocs {
	background-image: url('/img/aodocs-white-icon.png');
}

.finishButton.drive {
	background-image: url('/img/drive.png');
}

.ui-dialog .ui-dialog-buttonset button.cancelButton {
	background-color: #fff;
	background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.02));
	background-image: linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.02));
	color: #0DA0FF;
	text-transform: uppercase;
	border: 0;
}

.ui-dialog .ui-dialog-buttonset button.cancelButton:hover{
	background-color: #F2F2F2;
}

button:focus {
	outline: none;
}

.hidden {
	display: none !important;
}

div.checking {
	text-align: center;
	margin-top: 20px;
}

div.checking .loader,
div.step-loading .loader {
	width: 16px;
	height: 11px;
	background: url('/img/loader.gif') no-repeat center;
	margin-left: 10px;
	display: inline-block;
	vertical-align: middle;
}

div.recheck {
	text-align: center;
}

div.recheck button {
	margin-top: 20px;
}

div.step-loading {
	margin-top: 20px;
	margin-bottom: 20px;
	font-style: italic;
	display: inline;
	padding: 20px 20px;
}

div.step-loading .material-spinner{
	margin-top: 30px;
}

div.error,
div.soft-error {
	font-size: 12px;
	color: #DC524C;
	text-align: center;
	display: inline-block;
	margin: 9px 0 0 10px;
	border-radius: 4px;
}

div.error a {
	color: #DC524C;
	font-weight: 700;
}

div.error table.credentials {
	text-align: left;
	margin: 10px 0 10px 18%;
	border-spacing: 8px 2px;
}

div.error.user-not-found {
	margin-bottom: 0;
}

.bloc-error{
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

/* TODO : create a common class for this */
.oauth-error div,
.domain-error div,
.admin-error div,
.apis-error div,
.superadmin-error div,
.enable-error div,
.authorize-error div,

/* Not selectable elements */
header,
#wizardWrapper [role=tablist],
button {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* User profile info */

#userInfo {
	float: right;
	cursor: pointer;
	margin-top: 16px;
	margin-right: 100px;
}

#userInfo .thumb {
	border-radius: 50%;
	width: 32px;
	height: 32px;
	vertical-align: middle;
	margin-right: 8px;
}

#userInfo .email {
	font-size: 12px;
	max-width: 250px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	vertical-align: middle;
	margin-right: 10px;
	display: inline-block;
	color: #FFFFFF;
}

.wizardWrapper {
	height: 350px;
	margin-left: 0;
	margin-right: 0;
	background: url('/img/background_wizardWrapper.png') no-repeat;
	background-size: cover;
}

#logo_aodocs {
	margin: 0 0 0 150px;
	display: block;
	padding-top: 16px;
}

.wizardWrapper_header_title {
	font-weight: 300;
	font-size: 25px;
	color: #FFFFFF;
	letter-spacing: 1.43px;
	line-height: 65px;
	text-align: center;
	margin: 0;
}

/* Wizard header */

header > * {
	vertical-align: middle;
}

.headerCard {
	display: flex;
	align-items: center;
	width: auto;
	height: 50px;
	background: #EFEFEF;
	border-radius: 10px 10px 0 0;
	border: 1px solid rgba(0, 0, 0, 0.12);
}

/* Wizard steps content */

.card {
	width: 840px;
	height: 435px;
	margin: 10px auto 0;
	border-radius: 10px;
	background-color: #FFFFFF;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12);
}

#wizard section {
	text-align: center;
}

#wizard section H1 {
	font-weight: 500;
	font-size: 24px;
	color: rgba(0, 0, 0, 0.87);
	letter-spacing: 0.86px;
	margin: 60px 0 50px;
}

#wizard section > div,
#wizard section > p,
#wizard form {
	width: 840px !important;
	margin-right: auto;
	margin-left: auto;
	margin-top: -20px;
	box-sizing: border-box;
}

#wizard section > p {
	text-align: left;
}

#wizard .step-loading img {
	margin-right: 8px;
}

/* Wizard Step 0: Welcome section */

#startFSInstall {
	margin-top: 100px;
	padding-left: 56px;
	height: 44px;
	cursor: pointer;
	color: #FFFFFF;
	text-transform: none;
	background-color: #4285F4;
	background-repeat: no-repeat;
	background-position: left -2px center;
	background-image: url('/img/google-logo.svg');
}

#wizard #salesforce-form {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#wizard #salesforce-form fieldset {
	text-align: left;
	padding-bottom: 45px;
}

#wizard #salesforce-form fieldset.hideinputs {
	background-color: transparent;
	border: none;
}

#wizard #salesforce-form fieldset.hideinputs input {
	display: none;
}

#wizard #salesforce-form h4 {
	text-align: left;
}

#wizard #salesforce-form .input-container {
	margin: 10px 0;
}

/* Wizard Step 1: Marketplace Install */

#installInfo {
	text-align: center;
}

#installInfo div:first-child {
	font-weight: bold;
	margin: 20px 0;
}

/* Wizard Step 2: Storage account */

#accountCreation fieldset div:first-child {
	text-align: center;
}

#accountCreationName {
	text-align: right;
}


/* Wizard Step 3: Chrome Extension */

@-webkit-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		-webkit-transform: translateY(0);
	}
	40% {
		-webkit-transform: translateY(-30px);
	}
	60% {
		-webkit-transform: translateY(-15px);
	}
}

.bouncingArrow {
	-webkit-animation: bounce 2s infinite;
	position: fixed;
	bottom: 5px;
	left: 50px;
	width: 40px;
	height: 40px;
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZ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AtMTkwYy0yMC4xNzgtMjAuMTc4LTUzLjE2NC0xOS45MTMtNzMuNjcxLDAuNTk1bDAsMGMtMjAuNTA4LDIwLjUwOS0yMC43NzIsNTMuNDkyLTAuNTk1LDczLjY3MUwyMjAuMjQ5LDQ1NS44Njh6Ii8+DQo8L3N2Zz4=);
	background-size: contain;
}

/*a.skip-link {
    display: inline-block;
    margin: 15px 0 10px;
}*/
button.skip-link {
	border: none;
	font-size: 16px;
	color: #000;
	background-color: snow;
	opacity: 0.54;
	box-shadow: none !important;
	font-weight: normal !important;
}

/* Wizard Step 4: Library Creation */

#libraryCreation .input-container > input, #accountCreation fieldset input {
	display: block;
	float: left;
	width: 24px;
	height: 14px;
	line-height: 14px;
}

#libraryCreation .input-container > label, #accountCreation fieldset label {
	display: block;
	float: left;
	line-height: 20px;
	width: 88%;
	padding-left: 2%;
}

#libraryCreation .input-container > i {
	line-height: 22px;
	vertical-align: bottom;
}

#libraryCreation fieldset h4 {
	text-align: left;
}

#libraryCreationInfo {
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.04);
	border-radius: 2px;
	width: 60% !important;
	border: 1px solid #E5E5E5;
	padding: 25px 50px;
	background-color: #f5f5f5;
	display: inline-block;
	text-align: center;
}

.welcome-video-container {
	text-align: center;
	margin-top: 30px;
}

#wizard-p-4 div.checking {
	margin-top: 0;
}

/* Tooltips */

.ui-tooltip {
	background-color: #FFF;
	border-radius: 2px;
	font-size: 13px;
	color: rgba(0, 0, 0, 0.54);
	line-height: 20px;
	box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.14);
	padding: 10px 15px;
	position: absolute;
	z-index: 9999;
	max-width: 300px;
}

.ui-helper-hidden-accessible {
	display: none;
}

/* Dialog */

.ui-dialog {
	border: 1px solid #C7C7C7;
	border-radius: 4px;
	background-color: #F1F1F1;
	padding: 0;
	box-shadow: rgba(0, 0, 0, 0.2) 0 4px 16px;
}

.ui-dialog .ui-widget-header {
	background-color: #FFF;
	border: 0;
	border-bottom: 1px solid #E5E5E5;
	border-radius: 0;
	color: rgba(0, 0, 0, 0.87);
	font-weight: 700;
}

.ui-dialog .ui-dialog-titlebar {
	padding: 0;
	margin-right: -10px;
}

.ui-dialog .ui-dialog-titlebar button {
	border: 0;
	background: #FFF;
	box-shadow: none;
	font-size: 16px;
	color: rgba(0, 0, 0, 0.5);
	margin-right: 10px;
}

.ui-dialog .ui-dialog-titlebar-close{
	display: none;
}

.ui-dialog .ui-dialog-title {
	font-weight: 300;
	color: #FFFFFF;
	background-color: #0DA0FF;
	padding: 15px 20px;
	font-size: 20px;
	margin: 0;
}

.ui-dialog .ui-dialog-buttonpane {
	background-color: #FFF;
	border-top: 1px solid #E5E5E5;
	margin-top: 0;
}

.ui-dialog .ui-dialog-buttonset button span {
	padding: 0;
}

.ui-dialog .ui-dialog-content {
	padding: 20px;
	background-color: #FFFFFF;
}

.ui-dialog .ui-dialog-content p:first-child {
	margin-top: 0;
	font-family: Roboto-Regular;
	font-size: 16px;
	color: rgba(0,0,0,0.56);
	line-height: 21px;
}

.ui-dialog .ui-dialog-content p:last-child {
	margin-bottom: 0;
	font-family: Roboto-Regular;
	font-size: 16px;
	color: rgba(0,0,0,0.56);
	line-height: 21px;

}

.ui-dialog .ui-button-text {
	padding: 0;
	text-indent: 0;
}

.ui-widget-overlay {
	opacity: .7;
}

/* Block UI while loading */
#uiBlocker {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 9999;
	background: url('/img/aodocs_logo.png') center no-repeat #FFF;
	text-align: center;
}

#uiBlocker div {
	position: relative;
	top: 60%;
}

/* Forms for user input */
#wizard form fieldset,
.step-loading {
	border: none;
}

#wizard form {
	display: none;
}

#wizard form fieldset {
	text-align: center;
	margin: 0;
}

#wizard form p {
	font-size: 16px;
	color: #858FA9;
	letter-spacing: 0.57px;
	text-align: center;
	margin: 0;
}

#wizard form p + fieldset {
	margin-top: 20px;
}

#wizard form input[type="text"],
#wizard form input[type="email"],
#wizard form input[type="tel"] {
	display: inline-block;
	font-size: inherit;
	font-family: inherit;
	color: inherit;
	border-width: 0 0 0 0;
	padding: 9px 8px;
	outline: none;
	width: 132px;
	background-color: #FFFFFF;
	border-radius: 5px 0 0 5px;
	border-right: 1px solid #D8D9DC;
}

#wizard form input + .focus-border {
	transition: transform .3s cubic-bezier(.2, 0, .03, 1);
	transform-origin: center center;
	transform: scale(0);
	background: #4059a9;
	bottom: 1px;
	height: 2px;
	position: relative;
}

#wizard form input:focus + .focus-border {
	transform: scale(1);
}

input.error {
	border: solid #FF5050;
	transition: all 0.3s ease;
}

/* Override jquery.steps.css */
.actions a {
	font-weight: 700;
	font-size: 13px;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.04);
	border-radius: 2px;
	text-decoration: none;
	padding: 6px 22px;
	line-height: 40px;
}

.wizard > .steps > ul {
	background-color: transparent;
	box-shadow: none;
	width: 100%;
}

.wizard > .steps > ul > li {
	width: calc(100% / 5);
	display: inline-block;
	margin: 0;
	padding: 0;
	opacity: 1;
}

.wizard > .steps > ul:before {
	border-top: 1px solid #ebebeb;
	content: "";
	margin: 0 auto;
	position: absolute;
	top: 45%;
	left: 0;
	right: 0;
	bottom: 0;
	width: calc(100% * 4 / 5);
	z-index: -1;
}

.wizard > .steps > ul > li > a,
.wizard > .steps > ul > li.done > a {
	margin: 0;
	padding: 0;
	line-height: 25px;
	color: #666;
	border-radius: 13px;
	width: 24px;
	display: inline-block;
	height: 24px;
	border: 1px solid #ebebeb;
	background-color: white;
	font-weight: bold;
}

.wizard > .steps > ul > li.current > a,
.wizard > .steps > ul > li > a:hover,
.wizard > .steps > ul > li > a:active {
	color: white;
	border: 1px solid #dd4b39;
	background: #dd4b39 none;
}

.wizard > .steps .disabled a,
.wizard > .steps .disabled a:hover,
.wizard > .steps .disabled a:active {
	color: #666666;
	background-color: #ebebeb;
	border-color: #ebebeb;
	cursor: default;
}

#accountCreation, .install-smartbar, #libraryCreation, #libraryCreation, #salesforce-form, .install-infos {
	width: 950px !important;
	min-height: 270px;
	padding: 0 40px 0 !important;
	position: relative;
}

#accountCreation > img, .install-smartbar > img, #libraryCreation > img, #libraryCreation > img, #salesforce-form > img {
	display: none;
	width: 20%;
	float: left;
}

#accountCreation > fieldset, #libraryCreation > fieldset, #salesforce-form > fieldset {
	text-align: left !important;
}

#accountCreation .input-container {
	display: inline-block;
	height: 32px;
	background-color: #F9F9F9;
	border: 1px solid #D8D9DC;
	border-radius: 5px;
}

#accountCreation .input-container > input {
	text-align: left !important;
	float: none;
}

#accountCreationDomain {
	text-overflow: ellipsis;
	margin: 7px;
	display: inline-block;
}

#accountCreationButton, #libraryCreationButton {
	font-weight: 300;
	font-size: 15px;
	background: rgba(13,160,255,0.78);
	border-radius: 4px;
	color: #FFFFFF;
	cursor: pointer;
	border: none;
	text-transform: uppercase;
	padding: 8px 16px;
	display: block;
	margin: 15px auto;
}

#accountCreation > fieldset > div:first-child {
	display: flex;
	min-height: 47px;
	margin-bottom: 15px;
}

.install-smartbar > div {
	width: auto;
	text-align: left;
}

.install-smartbar > div > span {
	font-weight: 300;
	font-size: 15px;
	color: #858FA9;
}

.install-smartbar ul {
	padding-top: 10px;
	margin-left: 165px;
}

.install-smartbar .smb-actions {
	display: flex;
	justify-content: center;
	margin: 0 auto;
}

#libraryCreation > div > p {
	margin: 14px 0;
}

#libraryCreation > div > p:first-child {
	margin-top: 0;
}

#libraryCreation > div > p:last-child {
	margin-bottom: 0;
}

.user-not-found + button.restore {
	display: block;
	margin: 0 auto;
}

.wizard > .content > .body > form ul > li {
	margin: 10px 0 21px 40px;
	font-weight: 500;
	font-size: 12px;
	color: #858FA9;
}

.separator_horizontal {
	width: 33px;
	height: 3px;
	background-color: #0DA0FF;
	margin-top: 70px;
	position: absolute;
}

.separator_horizontal_2 {
	max-width: 33px;
	height: 3px;
	background-color: #0DA0FF;
	margin: 40px auto;
}

.separator_vertical {
	width: 6px;
	height: 33px;
	background-color: #0DA0FF;
	margin: 0 20px 0 24px;
}

section h2 {
	font-weight: 500;
	font-size: 24px;
	color: rgba(0, 0, 0, 0.87);
	letter-spacing: 0.86px;
	margin: 30px 0 30px;
}

#wizard section p{
	font-size: 16px;
	color: #858FA9;
}

.button_actions{
	font-weight: 300;
	font-size: 15px;
	background: rgba(13,160,255,0.78);
	border-radius: 4px;
	color: #FFF;
	cursor: pointer;
	border: none;
	text-transform: uppercase;
	margin: 5px;
	padding: 8px 16px;
}

.icon_extension{
	position: absolute;
}

.icon_extension:nth-child(1){
	margin-top: 9px;
}

.boxImg{
	display: flex;
	justify-content: flex-end;
}

.boxImg img{
	margin-top: -121px;
	margin-right: -203px;
}

.input-container.clearfix{
	display: flex;
	align-items: center;
	margin-top: 23px;
	min-height: 47px;
}

.wizard a{
	color: #0DA0FF;
	display: inherit;
}

/* progress bar */
.containerProgressBar {
	display: flex;
	justify-content: center;
	width: 100%;
	height: 8px;
	margin: 16px 0;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-transition: opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
	transition: opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
	overflow: hidden;
}

.linearProgressBarBackground {
	width: 480px;
	height: 100%;
	background-color: #FFFFFF;
	-webkit-transform-origin: top left;
	transform-origin: top left;
	-webkit-transition: -webkit-transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
	transition: -webkit-transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
	transition: transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
	transition: transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
}

.linearProgressBarStep {
	position: absolute;
	width: 480px;
	height: 100%;
	background-color: #42B5FF;
	text-align: -webkit-left;
	transform: scaleX(0);
	-webkit-animation: none;
	animation: none;
	-webkit-transform-origin: top left;
	transform-origin: top left;
	-webkit-transition: -webkit-transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
	transition: -webkit-transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
	transition: transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
	transition: transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
}

/* material spinner */
.material-spinner {
	width: 50px;
	height: 50px;
	min-height: 50px;
	margin: 0 auto;
	border-radius: 100px;
	border: 5px transparent solid;
	border-top: 5px #3F51B5 solid;
	animation: material-spinner 4s infinite;
}

@keyframes material-spinner {
	0% {
		transform: rotate(0deg);
		border-top: 5px #42B5FF solid;
	}
	25% {
		transform: rotate(360deg);
		border-top: 5px #42B5FF solid;
	}
	50% {
		transform: rotate(720deg);
		border-top: 5px #42B5FF solid;
	}
	75% {
		transform: rotate(1080deg);
		border-top: 5px #42B5FF solid;
	}
	100% {
		transform: rotate(1440deg);
		border-top: 5px #42B5FF solid;
	}
}

/* Footer */
.wizardWrapperFooter {
	font-size: 14px;
	letter-spacing: 0.5px;
	text-align: center;
	color: rgba(0, 0, 0, 0.34);
	margin-top: 50px;
}

#logo_googleBy {
	display: block;
	text-align: center;
	margin: 0 auto;
}

.wizardWrapperFooter p {
	white-space: pre;
}

/*  media queries  */
@media screen and (min-height: 840px){
	.wizardWrapper_header_title{
		margin: 40px 0 80px 0;
	}
	.wizardWrapperFooter p{
		margin-top: 70px;
	}
}

button#accountCreationButton:disabled {
	background: grey;
}

fieldset#container-text-center {
	text-align: center !important;
}

.Step4LibraryText{
	display: inline !important;
}