/***************************************
                GENERAL
***************************************/
html {
    height: 100%;
}

 body{
	height: 100%;
	margin: 0;
    padding: 0;
    font-size: 1.3rem;
    text-align: left;
}

#page-wrap{
	position: relative;
}

.container-fluid {
    max-width: none;
    position: relative;
    max-width: 1110px;
    margin-left: auto;
    margin-right: auto;
}

/* MODAL */
.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none;
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}
.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events:all;
}

.help-block.has-error{
 	color: #a94442;
}

.nopadding{
	padding: 0 !important;
}

.halfpadding{
	padding: 0 7.5px;
}

.no-search .select2-search {
    display:none
}


/***************************************
                TOOLBAR
***************************************/
.dist-table {
    position: relative;
}

.topside_toolbar {
    top: 82px;
    left: 50%;
    margin-left: 540px;
    position: fixed;
    z-index: 1;
}

.bottomside_toolbar {
    bottom: 10px;
    left: 50%;
    margin-left: 540px;
    position: fixed;
    z-index: 1;
}

.side_toolbars.affix {
    position: fixed;
    top: 10px;
}

.side_toolbars {
    left: 50%;
    margin-left: 559px;
    position: absolute;
    top: 30px;
    z-index: 100;
}

.icons-toolbar .tool-link, .icons-toolbar .tool-lang {
    background: #2471cc none repeat scroll 0 0;
    display: block;
    font-size: 22px;
    height: 50px;
    line-height: 50px;
    margin: 1px;
    text-align: center;
    width: 50px;
}

.icons-toolbar .tool-lang {
    line-height: 45px;
}

.icons-toolbar .tool-link > a, .icons-toolbar .tool-lang > a {
    display: block;
    height: 100%;
    width: 100%;
}

.icons-toolbar .tool-link a, .icons-toolbar .tool-lang a {
    color: white;
}

.icons-toolbar .tool-link:hover a, .icons-toolbar .tool-link:active a, .icons-toolbar .tool-lang:hover a, .icons-toolbar .tool-lang:active a {
    color: #f9fc56;
}

.cd-cart.items-added span {
    transform: scale(1);
}
.cd-cart span {
    background-color: #46b29d;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    height: 18px;
    line-height: 18px;
    position: absolute;
    right: 5px;
    text-align: center;
    top: 5px;
    transform: scale(0);
    transition: transform 0.2s ease 0s;
    width: 18px;
}

.side_toolbars .popover {
    border-radius: 0;
}

.side_toolbars .popover .popover-content {
    font-size: 1em;
    padding: 0 10px;
}

.side_toolbars .popover {
    width: 165px;
}

.side_toolbars .popover .popover-content .list-group {
    margin: 0;
}

.side_toolbars .popover .popover-content .list-group-item:first-child {
    border-bottom-width: 0;
}

.side_toolbars .popover .popover-content .list-group-item {
    border-width: 0 0 1px;
}

.side_toolbars .popover .popover-content a {
    color: #2a83ed;
}

.side_toolbars .popover .popover-content .list-group-item img + .l {
    margin-left: 20px;
}

/***************************************
                HEADER
***************************************/
.navbar-header {
    width: 65%;
}

.navbar-static-top {
    z-index: 1;
}

.navbar-header h1.navbar-brand{
    font-size: 2.8rem;
}

.navbar-nav li {
    margin-right: 25px;
    width: auto;
}

header.navbar img {
    margin-top: 12px;
}

/* MENU */

li.dropdown-menu-header.open a, li.dropdown-menu-header.open a:hover {
    background-color: transparent;
}

.dropdown-menu-header .dropdown-menu{
    background-color: #3788e7;
    padding: 10px;
    min-width: auto;
}

.dropdown-menu-header .dropdown-menu li{
    margin-right: 0;
}

.navbar-nav li.dropdown a {
    color: #d6e7f2;
    display: inline-block;
    padding: 0;
    text-decoration:none;
}

.navbar-nav li.dropdown a:hover {
    text-decoration:none;
}

.nbArticles{
    color: #f9fc56;
    font-weight: bold;
}

.navbar-toggle {
    margin: 13px 0 0;
}

.navbar-collapse.in {
    margin-top: 0;
}

header nav.collapse {
    margin-bottom: 13px;
}

header .navbar-header > .tool {
	font-size: 1.6rem;
	margin : 10px;
    height: 40px;
    width: 40px;
    text-align: center;
}

header .navbar-header > .tool > button {
    color: white;
    display: block;
    height: 100%;
    width: 100%;
    text-align: center;
    border-radius: 0;
}

header .navbar-header > .tool > button:hover {
    color: #093564;
    background-color: #feed01;
}

#toolbar_row_mobile {
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.navbar-toggle {
	margin : 0;
}

@media (max-width: 991px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }
  .navbar-header {
    width: 100%;
  }
  .navbar-toggle {
    padding: 0;
  }
  header.navbar div.right {
    width: 100%;
  }
  .container-fluid .left {
    float: none;
  }
  .border {
    border: medium none;
  }
  nav.collapse {
    background-color: #2772c5;
    float: none;
    margin: 0;
  }
  .side_toolbars {
    top: 30px;
    right: 15px;
    left: auto;
    margin-left: auto;
    z-index: 100;
    position: absolute;
  }
}

/***************************************
              SEARCH BAR
***************************************/
.navbar-form .txt-search{
	width: 100%;
}	

form.navbar-form .dropdown {
    margin-right: 0;
/*     width: 25%; */
}

.navbar-form .search-line .dropdown-menu a {
    margin: 0;
}

.navbar-form .dropdown a {
    height: 36px;
}

.searchInput {
    padding-right: 0;
}

a.disable {
	pointer-events: none;
	color: #ebecec;
}

:not(.select2) > .selection {
	margin-right: 5px;
}

.multiselect-container{
	max-height: 350px;
	max-width: 514px;
	overflow: scroll;
}

#searchform .button-group {
    display: table;
    width: 100%;
}

#searchform .button-group .input-group-btn {
    white-space: nowrap;
    width: 1%;
    vertical-align: top;
}

.ifremer-btn {
	background-color: #3788e7;
	border: 2px solid #d6e7f2;
	border-radius: 3px;
	color: #fff;
	text-align: center;
    vertical-align: middle;
    display: inline-block;
    height: 40px;
    padding: 8px 10px;
    color: white;
}

.ifremer-btn:hover {
	color: black;
	background-color: #f9fc56;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    color: #000;
}

.search-line .searchindex ul.dropdown-menu{
	max-height: 600px;
	overflow-y: scroll;
}

#searchform .button-group .input-group-btn .ifremer-btn {
	border-radius:  3px 0 0 3px;
	border-right-width: 1px;
}

#searchform .button-group input,
#searchform.navbar-form .button-group .dropdown {
	border-radius:  0 3px 3px 0;
}

/* Multiple selection */*
.select2.dropdown{
    height: auto;
}

/* Date picker */
.datepicker table tr td.range, .datepicker table tr td.range:hover, .datepicker table tr td.range.disabled, .datepicker table tr td.range.disabled:hover {
    background: none repeat scroll 0 0 #f9fc56;
}

.navbar-form .input-group-addon{
	background-color: #4794e7;
    border: 2px solid #d6e7f2;
    color: #fff;
}

.search-line:not(:last-child){
	margin-bottom: 10px;
}

.navbar-form .dropdown {
	margin-right: 0;
}

.navbar-form .dropdown-menu a{
	cursor: pointer;
}

.searchInput{
	padding-right: 0;
}

.search {
    width: 100%;
}
	
.manage-line {
    width: 100%;
}

.manage-line {
    background-color: #4794e7;
    border: 2px solid #d6e7f2;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-size: 3rem;
    height: 40px;
    line-height: 110%;
    margin-right: 10px;
    text-align: center;
    vertical-align: middle;
    width: 50px;
}

.manage-line:hover {
  text-decoration: none;
  color: #000;
  background-color: #f9fc56;
}

.input-group-btn .manage-line.minus {
	border-radius: 3px 0 0 3px;
}


.input-group-btn .manage-line.plus {
	border-radius: 0 3px 3px 0;
}

.search-line .plus {
	padding-left: 7.5px;
	padding-right: 15px;
}

.search-line .minus {
	padding-left: 15px;
	padding-right: 7.5px;
}

.manage-line {
    width: 100%;
}

table caption {
    background-color: #ebecec;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 0 5px;
    text-align: left;
}

.input-group.area-group {
    display: table;
    width: 100%;
}

@media (max-width: 767px) {
	.navbar-form .dropdown {
    	width: 100%;
	}
	
	.searchindex{
		margin-bottom: 10px;
	}
	
	.searchInput{
		padding: 0;
	}
	
	.txt-search {
	    margin:0;
	}
	
	.search-line .plus {
		padding: 0 15px;
	}
	
	.search-line .minus {
		padding: 0 0 0 15px;
	}
}

/***************************************
              BLOC CENTER
***************************************/
.dist-table section.cell.bloc-center {
    float: left;
}

/* Alert Message */
.alert-message
{
    margin: 20px 0;
    padding: 20px;
    border-left: 3px solid #eee;
}
.alert-message h4
{
    margin-top: 0;
    margin-bottom: 5px;
}
.alert-message p:last-child
{
    margin-bottom: 0;
}
.alert-message code
{
    background-color: #fff;
    border-radius: 3px;
}
.alert-message-success
{
    background-color: #F4FDF0;
    border-color: #3C763D;
}
.alert-message-success h4
{
    color: #3C763D;
}
.alert-message-danger
{
    background-color: #fdf7f7;
    border-color: #d9534f;
}
.alert-message-danger h4
{
    color: #d9534f;
}
.alert-message-warning
{
    background-color: #fcf8f2;
    border-color: #f0ad4e;
}
.alert-message-warning h4
{
    color: #f0ad4e;
}
.alert-message-info
{
    background-color: #f4f8fa;
    border-color: #5bc0de;
}
.alert-message-info h4
{
    color: #5bc0de;
}
.alert-message-default
{
    background-color: #EEE;
    border-color: #B4B4B4;
}
.alert-message-default h4
{
    color: #000;
}
.alert-message-notice
{
    background-color: #FCFCDD;
    border-color: #BDBD89;
}
.alert-message-notice h4
{
    color: #444;
}

.tab-article {
    margin-top: 20px;
    margin-bottom: 0;
    width: 100%;
}

/* Barre de fonctionnalitee (pagination, tri ...)*/
/* Boutons fonctionnalites */
.btn-functionality {
	border: 1px solid #ebecec;
    color: gray;
    background-repeat: no-repeat;
    display: inline-block;
    float: right;
    height: 31px;
    margin-left: 10px;
    text-shadow: none;
    width: 31px;
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
    cursor: pointer;
}

.btn-functionality:hover, .btn-functionality:focus {
	color: gray;
	background-color: #F9FC56;
}

/* TRI */
.btn-group > ul.dropdown-menu > li {
	cursor: pointer;
}

/* FACETTES */
input.css-checkbox[type="checkbox"] + label.css-label {
    background-position: 0 4px;
    background-repeat: no-repeat;
    cursor: pointer;
    display: inline-block;
    height: 17px;
    padding-left: 20px;
}
label.css-label {
    -moz-user-select: none;
    background-image: url("../images/sprite-check.png");
    vertical-align: baseline;
}

input.css-checkbox[type="checkbox"]:checked + label.css-label {
    background-position: 0 -13px;
}

input.css-checkbox[type="checkbox"] {
    display: none;
}

.col-filters h2 {
    color: #0b3667;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 11px;
    margin-top: 22px;
}

.facetcontent {
    max-height: 150px;
    overflow: auto;
}

.icheckbox_minimal-blue + label.css-label {
    cursor: pointer;
    display: inline;
}

.btn-init {
	background-repeat: no-repeat;
    border: 1px solid #cecece;
    color: #3788e7;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-shadow: none;
    vertical-align: middle;
}

.btn-init:hover {
	background-color: #f9fc56;
}

.btn-close-facet {
    color: #fff;
    background-color: #D3D3D3;
    border-color: #D3D3D3;
}

.btn-circle-micro {
    width: 19px;
    height: 19px;
    text-align: center;
    padding: 1px 0;
    font-size: 13px;
    line-height: 0.1;
    border-radius: 30px;
}

.init-facets:hover {
	text-decoration: none;
}

.init-facets *:hover {
	color: #fff;
    background-color: #2a6496;
    border-color: #2a6496;
}

/* BLOCS */
.mod-article p, .mod-article li {
    font-size: 1.3rem;
}

.search-result .resut-txt strong {
    color: #bb0000;
}

.search-result {
    margin: 30px 0px 30px 10px;
}

.results-bloc {
    padding-right: 0;
}

/* LOADER */
.loader {
    background: #f6f6f6 none repeat scroll 0 0;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    margin: 50px 50px;
    padding: 50px;
    text-align: center;
}

.loader > span {
    background: rgba(0, 0, 0, 0) url("../images/loader-454545-f6f6f6.gif") no-repeat scroll left center;
    display: inline-block;
    font-size: 1.25em;
    line-height: 32px;
    padding-left: 48px;
}

/* CLEARFIX */
.clearfixe {
    margin: 10px 0;
}

.clearfixe .btn-group {
    margin-right: 10px;
}

sup.asterisk {
    color: #d9534f;
    font-size: 60%;
}

/***************************************
             CENTER CONTENT
***************************************/

#landing-page .mod-article:first-child {
    padding: 20px 40px 0px 40px;
}

#landing-page #main-bloc .mod-article {
    padding: 20px;
}

#main-bloc .mod-article {
    padding: 20px;
}

.full.bloc-center .mod-article {
    padding: 30px 40px;
}

#main-bloc .mod-article {
    padding: 20px;
}

.full {
    padding: 0;
}

.mod-article:last-child {
    padding-bottom: 20px;
}

.mod-article {
    padding: 30px;
}

.col-md-9.cell {
    padding: 0;
}

#landing-page article {
    margin: 20px;
}

article.mod-article ul.nav-tabs > li {
	padding: 0;
}

ul.nav-tabs > li > a {
	border-radius: 0;
}

.action-buttons .button-checkbox button.btn-success {
	background-color: #feed01;
    border-color: #fceb2e;
    color: #000;
}

/***************************************
             FORMULAIRES
***************************************/

.form-area {
    background-color: #fafafa;
    border: 1px solid GREY;
    margin: 10px 0 20px;
    padding: 10px 40px 40px;
}

.legendForm {
    font-size: 2.2rem;
    margin-bottom: 35px;
    margin-top: 25px;
    text-align: center;
}

/***************************************
             	ASIDE
***************************************/

.olMap {
    height: 200px !important;
}

#landing-page aside.blue {
    background-color: white;
}
.col-md-3.cell {
    padding: 0;
}

#landing-page aside > div {
    margin: 20px 40px 20px 0;
}

#landing-page aside > div:first-child {
    margin-top: 40px;
}

aside > div.mod-relativepages {
    background-color: #2772c5;
}

aside > div.mod-relativepages > h2 {
    color: #f9fc56;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 5px;
}

#landing-page aside > div.mod-thumbnail, #landing-page aside > div.map-controls {
    padding: 0;
}


aside .thumbnail {
    background-color: transparent;
    border: medium none;
    border-radius: 0;
    color: white;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    padding: 3px;
}

aside .thumbnail:hover {
    background-color: #3788e7;
    color: white;
    text-decoration: none;
}

@media (max-width: 767px) {
	#landing-page aside > div {
    	margin: 20px 40px;
	}
	
	.dist-table section.cell.bloc-center {
		float: none;
	}
}

/***************************************
                FOOTER
***************************************/
.footer {
 	bottom: 0;
 	right: 15px;
 	left: 15px;
    position: absolute;
}

footer a:hover {
    color: #f9fc56;
    text-decoration: none;
}
