/*
**********************************************************
* Angular related
**********************************************************
*/
/*
* This fix is to prevent the flickering caused by the angular loading 'ng-cloak'
*/
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak, .translate-cloak {
  display: none !important;
}

/* Fix pixelised logo */
.nav-main .navbar-default .navbar-brand img { width: auto; }

/*
**********************************************************
* Application Related
**********************************************************
*/

/*
* this is used to apply/overwrite background color following certain criterias @see app.js - gridService.getQtyDecorator
*/
.grid-yellow-background {
	background-color: #FDF59A !important; 
	border-color: #FDF59A !important;
}
.grid-orange-background {
	background-color: #FFDCB5 !important; 
	border-color: #faefca !important;
}
.grid-red-background {
	background-color: #ffe5e5 !important; 
	border-color: #faefca !important;
}

/*
* This used for the highlight color in the search results
*/
.PINK {
	background-color: #FCD9FC !important;
}
.YELLOW {
	background-color: #ffff9d !important;
}
.GREEN {
	background-color: #9BFAD7 !important;
}
.BLUE {
	background-color: #82D0FA !important;
}

.text-left-imp { text-align: left!important; }
.vertical-top { vertical-align: top!important; }
.vertical-middle { vertical-align: middle; }
.vertical-bottom { vertical-align: bottom; }

.btn.btn-link.btn-link-mc { padding: 0; text-align: left; border: none; margin: 0; color: #053c81; font-weight: inherit; white-space: normal; }
.btn.btn-link.btn-link-mc:hover { color: #333; }


/**
	Used by the contextual help to display a help bubble
*/
span.helpTooltip {
	width: 16px;
	height: 16px; 
	border: 0;
 	background-image: url("tink/images/icons/question_sign-blue.png");
 	display: inline-block;
}

#main-content { min-height: 500px; }

.alert.alert-success { padding: 20px 40px 20px 80px; }
.alert.alert-success .glyphicon { height: 44px; width: 44px; }
.alert.alert-success .glyphicon.glyphicon-ok-sign:before { display: block; font-size: 44px; }
.glyphicon.blue::before { color: #0093cf; } 

/*
**********************************************************
* Tink Related
**********************************************************
*/
/*
* // TODO this should be overwritten by TINK
* This is used to overwrite the fake checkbox displayed with the btn class 'TINK'
*/
.filters-default label.btn:before {
	background: none !important;
}

/*
* this is to override header narrow
*/
.not-logged-in.nav-main .navbar-nav li:nth-child(2) img {
    margin-right: 10px;
    position: relative;
    top: -2px;
    width: 14px;
}

/*
* // Bootstrap calendar provided by Tink is too much coupled with JQuery implementation
* This is used to overwrite the calendar
*/
div > ul > li > div > table > tbody > tr > td > button.btn-default {
	background-color: #ffffff;
	margin-bottom: 10px;
} 

div > ul > li > div > table > tbody > tr > td > button.btn-info {
	margin-bottom: 10px;
}

.uib-day button, .uib-month button, .uib-year button { margin-bottom: 0px; }
.uib-datepicker .btn-default { background: #fff; }
.uib-datepicker .btn-default.active { background-color: #31b0d5; }

.pagination>li.active>a { z-index: 0; }

/*
**********************************************************
* 		Override Tink to be bootstrap compatible
**********************************************************
*/

/** 	MAIN 		**/
/** ************** **/
.container {
	min-width: inherit;
}

.row {
	margin-right: -15px;
	margin-left: -15px;;
}

[class*="col-"]:first-child,[class*="col-"]:first-of-type {
	padding-left: 15px;
}

[class*="col-"]+[class*="col-"] {
	padding-right: 15px;
}

.pagination>li {
	margin-right: 0;
}

.glyphicon-calendar {
	right: 17px;
}


.table input[type="text"] {
	width: inherit;
	border: 1px solid #ccc;
}

input {
	border: 1px solid #ccc;
}

/** 	HEADER 		**/
/** ************** **/
.nav-secondary .navbar-nav {
/* 	display: inline-block; */
	display: block;
}
.nav-secondary .navbar-default {
	float: none;
}
.navbar-default .navbar-toggle {
	border: none;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #fff;
	
}
.navbar-default .navbar-toggle:focus, 
.navbar-default .navbar-toggle:hover {
	background-color: inherit;
}

.logged-in.nav-main .navbar-default .navbar-nav>li>a>span {
	display: inline-block;
}

.container, .jumbotron .container { min-width: inherit; }
#main-content { clear:both; margin-bottom:40px;}

.modal-dialog { width: 80%; max-width: 1200px; }

@media (min-width: 1024px) {
	.logged-in.nav-main .navbar-default .navbar-nav:nth-of-type(1) li:nth-child(2), 
	.logged-in.nav-main .navbar-default .navbar-nav:nth-of-type(1) li:nth-child(3) {
		display: inherit;
	}
}

@media (min-width: 768px) {
	.nav-main .navbar-default {
		height: 80px;
	}
	.logged-in.nav-main .navbar-default .navbar-nav>li>a {
    	padding: 0 0 0 15px;
	}

	.nav-secondary .navbar-nav>li.open .dropdown-menu li {
		width: 25%;
	}
}

@media (max-width: 1210px) {
	.nav-secondary .navbar-nav>li>a { font-size: 1em; padding: 15px 10px;}
}


@media (max-width: 1023px) {
	.logged-in.nav-main .navbar-default .navbar-nav>li>a {
		background: none;
	    border: none;
	    height: inherit;
	    width: inherit;
	}
	.logged-in.nav-main .navbar-default .navbar-nav>li>a>.glyphicon {
		display: none;
	}
	
	.logged-in.nav-main .container {
		padding-right: 15px;
	}
	
	/* 	Override language switcher */
	.logged-in.nav-main .navbar-default .navbar-nav>li>a>.glyphicon.glyphicon-shopping-cart+span+span,
	.logged-in.nav-main .navbar-default .navbar-nav>li>a>.glyphicon.glyphicon-comment+span{ 
		background: inherit;
	    left: inherit;
	    position: relative;
	    display: inline-block;
	    font-size: inherit;
	    letter-spacing: inherit;
	    line-height: inherit;
	    padding: 0;
	    top: inherit;
        text-transform: inherit;
        color: #fff;
	}
	
	.nav-secondary .navbar-nav>li.open .dropdown-menu { top: 136px;  }
}

@media (max-width: 767px) {
	.logged-in.nav-main .navbar-default .navbar-toggle:focus, 
	.logged-in.nav-main .navbar-default .navbar-toggle:hover {
		background-color: inherit;
	}
	.logged-in.nav-main .navbar-default .navbar-nav>li>a>.glyphicon {
		display: none;
	}
	.logged-in.nav-main .navbar.navbar-default .container-fluid {
		padding: 0 15px;
	}
	.logged-in.nav-main .navbar-collapse {
	    background: #0093cf;
   		float: none;
   		border: none;
	    margin-top: 10px;
	    box-shadow: none;
	    overflow: hidden;
	}
	.logged-in.nav-main .navbar-default .navbar-header {
		float: none;
	}
	.logged-in.nav-main .navbar-default .navbar-nav {
		float: none;
	}
	.logged-in.nav-main .navbar-default .navbar-nav>li {
		float: none;
	    margin: 0;
    	padding: 0;
	}
	.logged-in.nav-main .navbar-default .navbar-nav>li>a>.glyphicon, 
	.logged-in.nav-main .navbar-default .navbar-nav>li .dropdown-menu .glyphicon {
		display: none!important;
	}
	.logged-in.nav-main .navbar-default .navbar-nav>li>a>.glyphicon:before {
		display: block;
		position: relative;
	}
	/* 	Inner dropdown */
	.logged-in.nav-main .navbar-default .dropdown {
		max-width: 100%;
	}
	.logged-in.nav-main .navbar-default .navbar-nav>li .dropdown-menu:before {
		display: none;
	}
	.logged-in.nav-main .navbar-default .navbar-nav>li .dropdown-menu {
		background: #0186C3;
		color: #fff;
	    box-shadow: none;
	    position: relative;
	    top: inherit;
	    width: inherit;
	    margin: 0;
	    right: inherit;
	    width: 100%;
	}
	.logged-in.nav-main .navbar-default .navbar-nav>li .dropdown-menu a {
		padding: 5px 15px 5px 25px;
		color: #fff;
	}
	.logged-in.nav-main .navbar-default .navbar-nav>li .dropdown-menu a:before {
		display: none;
	}
	.logged-in.nav-main .navbar-default .dropdown>a.dropdown-toggle {
	    padding: 10px 15px;
	}
	.logged-in.nav-main .navbar-default .navbar-nav>li>a {
   		padding: 10px 15px;
	}
	/* 	submenu triangle	 */
	.logged-in.nav-main .navbar-default .dropdown>a:before {
		display: none;
	}
	.logged-in.nav-main .navbar-default .dropdown>a:after {
	   border-style: solid;
	   border-width: 5.2px 3px 0 3px;
	   border-color: #fff transparent transparent transparent;
	   content: "";
	   margin-left: 15px;
	   display: inline-block;
	}
	.logged-in.nav-main .navbar-default .dropdown.open>a:after {
	    border-width: 0px 3px 5.2px 3px;
	    border-color: transparent transparent #fff transparent;
	}
	.nav-secondary .navbar-nav>li.open .dropdown-menu li {
		width: 50%;
	}
	
	/* Home page */
	.not-logged-in.nav-main .navbar-default { height: auto; }
	.not-logged-in .nav.navbar-nav.navbar-right { clear: both; }
}


@media (max-width: 500px) {
	.nav-secondary .navbar-nav>li.open .dropdown-menu li {
		width: 100%;
	}
}


/** FOOTER
.copyright { 
	background: #fff;
	color: #000;
}
 **/



/*
**********************************************************
* 				Spinner overlay
**********************************************************
*/

#spinner { z-index: 99999; position: fixed; width: 100%; height: 100%;}
#spinner #spinner-center { position:fixed; top:50%; left:50%; margin-left:-143px; margin-top:-69px; background: #0193cf; padding: 40px 60px; border-radius:15px; }
#spinnerAnimation { width:120px; height:14px; position: relative; margin: 15px auto 0 auto; }
.spinnerAnimation {
	position: absolute;
	top: 0;
	background-color: #0193cf;
	width: 14px;
	height: 14px;
	animation-name: bounce_spinnerAnimation;
	-o-animation-name: bounce_spinnerAnimation;
	-ms-animation-name: bounce_spinnerAnimation;
	-webkit-animation-name: bounce_spinnerAnimation;
	-moz-animation-name: bounce_spinnerAnimation;
	animation-duration: 1.105s;
	-o-animation-duration: 1.105s;
	-ms-animation-duration: 1.105s;
	-webkit-animation-duration: 1.105s;
	-moz-animation-duration: 1.105s;
	animation-iteration-count: infinite;
	-o-animation-iteration-count: infinite;
	-ms-animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
	-moz-animation-iteration-count: infinite;
	animation-direction: normal;
	-o-animation-direction: normal;
	-ms-animation-direction: normal;
	-webkit-animation-direction: normal;
	-moz-animation-direction: normal;
	transform: scale(.3);
	-o-transform: scale(.3);
	-ms-transform: scale(.3);
	-webkit-transform: scale(.3);
	-moz-transform: scale(.3);
	border-radius: 9px;
	-o-border-radius: 9px;
	-ms-border-radius: 9px;
	-webkit-border-radius: 9px;
	-moz-border-radius: 9px;
}

#spinnerAnimation_1 {
	left: 0;
	animation-delay: 0.446s;
	-o-animation-delay: 0.446s;
	-ms-animation-delay: 0.446s;
	-webkit-animation-delay: 0.446s;
	-moz-animation-delay: 0.446s;
}

#spinnerAnimation_2 {
	left: 15px;
	animation-delay: 0.5525s;
	-o-animation-delay: 0.5525s;
	-ms-animation-delay: 0.5525s;
	-webkit-animation-delay: 0.5525s;
	-moz-animation-delay: 0.5525s;
}

#spinnerAnimation_3 {
	left: 30px;
	animation-delay: 0.659s;
	-o-animation-delay: 0.659s;
	-ms-animation-delay: 0.659s;
	-webkit-animation-delay: 0.659s;
	-moz-animation-delay: 0.659s;
}

#spinnerAnimation_4 {
	left: 45px;
	animation-delay: 0.7755s;
	-o-animation-delay: 0.7755s;
	-ms-animation-delay: 0.7755s;
	-webkit-animation-delay: 0.7755s;
	-moz-animation-delay: 0.7755s;
}

#spinnerAnimation_5 {
	left: 60px;
	animation-delay: 0.882s;
	-o-animation-delay: 0.882s;
	-ms-animation-delay: 0.882s;
	-webkit-animation-delay: 0.882s;
	-moz-animation-delay: 0.882s;
}

#spinnerAnimation_6 {
	left: 75px;
	animation-delay: 0.9985s;
	-o-animation-delay: 0.9985s;
	-ms-animation-delay: 0.9985s;
	-webkit-animation-delay: 0.9985s;
	-moz-animation-delay: 0.9985s;
}

#spinnerAnimation_7 {
	left: 90px;
	animation-delay: 1.105s;
	-o-animation-delay: 1.105s;
	-ms-animation-delay: 1.105s;
	-webkit-animation-delay: 1.105s;
	-moz-animation-delay: 1.105s;
}

#spinnerAnimation_8 {
	left: 105px;
	animation-delay: 1.2115s;
	-o-animation-delay: 1.2115s;
	-ms-animation-delay: 1.2115s;
	-webkit-animation-delay: 1.2115s;
	-moz-animation-delay: 1.2115s;
}

@keyframes bounce_spinnerAnimation{
	0%{ transform:scale(1); background-color: #ffffff; }
	100%{ transform:scale(.3); background-color: #0193cf;}
}

@-o-keyframes bounce_spinnerAnimation{
	0%{ -o-transform:scale(1); background-color: #ffffff; }
	100%{ -o-transform:scale(.3); background-color: #0193cf; }
}

@-ms-keyframes bounce_spinnerAnimation{
	0%{ -ms-transform:scale(1); background-color: #ffffff; }
	100%{ -ms-transform:scale(.3); background-color: #0193cf;}
}

@-webkit-keyframes bounce_spinnerAnimation{
	0%{ -webkit-transform:scale(1); background-color: #ffffff; }
	100%{ -webkit-transform:scale(.3); background-color: #0193cf; }
}

@-moz-keyframes bounce_spinnerAnimation{
	0%{ -moz-transform:scale(1); background-color: #ffffff; }
	100%{ -moz-transform:scale(.3); background-color: #0193cf; }
}

.username-fail{color: red; font-weight: bold; }



/*
**********************************************************
* 				Salon d'achat
**********************************************************
*/

.iconCopyWrapper>div {
	display: inline-block; 
}

.table input[type="text"].length3 { width: 40px; }
.table input[type="text"].length7 { width: 62px; }
.table input[type="text"].lengthDate { width: 80px; }
.table .inputHeight { height: 24px; }
#buyingshow.table tbody tr.background-blue {background-color: #EFFAFF;}

/*
**********************************************************
* 				Retour et crédit - image
**********************************************************
*/
.rcImage {
	display: inline-block; 
	max-width: 90%; 
	text-overflow: ellipsis; 
	overflow: hidden; 
	white-space: nowrap;
}
