﻿body {
    padding-top: 185px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.vertical-spacer {
    height: 15px;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.valign-top {
    display: flex;
    align-items: flex-start;
}

.valign-center {
    display: flex;
    align-items: center;
}

.valign-bottom {
    display: flex;
    align-items: flex-end;
}

.text-xxsmall {
    font-size: xx-small;
}

.text-xsmall {
    font-size: x-small;
}

.text-small {
    font-size: small;
}

.text-medium {
    font-size: medium;
}

.text-large {
    font-size: large;
}

.text-xlarge {
    font-size: x-large;
}

.text-xxlarge {
    font-size: xx-large;
}

.text-light {
    font-weight: 100;
}

.text-normal {
    font-weight: normal;
}

.text-bold {
    font-weight: bold;
}

/*header*/
#header {
    display: flex;
    justify-content: flex-start;
    background-color: white;
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 100px;
}

#logoCompagnie {
    margin: 13px auto 13px 13px;
    flex: 0 1 auto;
}

#logoCompagnie > a > img{
    max-width: 100%;
    max-height: 100%;
}

#myCarousel {
    flex: 0 1 auto;
    position: absolute;
    width: 50%;
    height: 75px;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
}

#myCarousel img{
    width: 700px;
    max-height: 75px;
    margin: 0 auto;
}

#logoG2 {
    margin-right: 20px;
    margin-top: 23px;
    margin-left: auto;
    flex: 0 1 auto;
}

#logoG2 img {
    width: 75px;
}

.navbar-nav > li > a {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.navbar-header > a {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-inverse .navbar-nav > li:hover {
    background-color: #23527c;
}

#panierPrincipal a {
    display: block;
}

#menu {
    left: 50%;
    transform: translateX(-59%);
    position: relative;
}

#panierPrincipal > a > .glyphicon.glyphicon-shopping-cart {
    font-size: 33px;
}

#panierPrincipal > a {
    color: black;
}

.smallGutter {
    padding-left: 5px;
    padding-right: 5px;
}

[data-element="Filters"] > div {
    margin-bottom: 10px;
}

/*pagination*/
.pagination {
    margin: 20px 0 30px 0;
}

.pagination .input-group {
    margin: 10px 0 20px 0;
}

/*table*/
.table-body > div > div {
    font-size: 12px;
}

.table > tbody > tr > .borderless {
    border: none;
}

.tr-hover:hover {
    background: #e8e8e8;
}

.header th {
    background-color: #00a0e1;
    color: white;
}

/*info btn*/
.info-btn {
    border-radius: 50% 50%;
    border: 1px solid #00A0E1;
    background: #FFFFFF;
}

.info-btn:active {
    background: #F0F0F0;
}

/*modal*/
.modal .modal-content {
    border: 4px solid #00A0E1;
}

.modal .modal-content tr {
    border: 1px solid #C8C8C8;
}

/*pour les dropdowns*/
.dropdown-container {
    position: relative;
}

.dropdown-container .dropdown-toggle::before {
    content: "\00a0";
}

.dropdown-container .dropdown-toggle {
    position: relative;
    padding-right: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-container .dropdown-toggle::after {
    position: absolute;
    top: 13px;
    right: 12px;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .3em;
    vertical-align: middle;
    content: "\00a0";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
}

/* height of dropdown (scrollable) */
.dropdown-container .dropdown-menu {
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
}

.dropdown-container .dropdown-menu div {
    padding: 10px 15px;
    color: black;
    white-space: nowrap;
}

.dropdown-container .dropdown-menu div::after {
    content: "\00a0";
}

.dropdown-container .dropdown-menu div:hover {
    background-color: #EEEEEE;
    cursor: default;
}

.dropdown-container .dropdown-menu a::after {
    content: "\00a0";
}

.bootstrap-dropdown {
    position: relative;
}

.bootstrap-dropdown .dropdown-toggle::before {
    content: "\00a0";
}

.bootstrap-dropdown .dropdown-menu a::after {
    content: "\00a0";
}

.bootstrap-dropdown .dropdown-toggle {
    position: relative;
    text-align: left;
    padding-right: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bootstrap-dropdown .dropdown-toggle::after {
    position: absolute;
    top: 13px;
    right: 10px;
    display: inline-block;
    width: 0;
    height: 0;
    content: "\00a0";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
}

.bootstrap-dropdown ul{
    max-height: 300px;
    overflow-y: scroll;
}

.iconTireGuide {
    width: 300px;
    height: 300px;
    position: absolute;
    top: -28px;
    left: -101px;
    clip: rect(0 150px 75px 75px);
}

.iconConversion1 {
    width: 240px;
    height: 240px;
    position: absolute;
    top: -81px;
    left: -137px;
    clip: rect(60px 180px 120px 120px);
}

.iconConversion2 {
    width: 300px;
    height: 300px;
    position: absolute;
    top: -99px;
    left: -169px;
    clip: rect(75px 225px 150px 150px);
}

.iconRemisage {
    width: 300px;
    height: 300px;
    position: absolute;
    top: -90px;
    left: -92px;
    clip: rect(75px 150px 150px 75px)
}

.ui-autocomplete {
    max-height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
}

h3 {
    color: #00a0e1;
}

iframe {
    border: 1px solid lightgrey;
    width: 100%;
    height: 13in;
    background: white;
}

fieldset {
    padding: 0 1em 1em;
    border: 1px solid #c0c0c0;
}

legend {
    width: initial;
    border: initial;
    margin: initial;
    padding: 0 5px;
}

input[type="checkbox"] {
    margin-top: 1px;
}

/*footer*/
footer {
    background-color: #00A0E1;
    text-align: center;
    color: white;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    font-size: 11px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

@media (max-width: 1030px) {
    .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;
        overflow-x: visible;
        overflow-y: auto !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;
    }

    #menu {
        left: 0%;
        transform: translateX(0%);
        position: relative;
    }
}
