@charset "UTF-8";


/* Custom selection color because that can be done and it's cool */
::selection {
    color: white;
    background-color: darken($primary-color, 10%);
}

/* remove annoying border I can't remove with EO vars at the moment */
div.links-list ul > li:not(:last-child) {
  border-bottom: 0;
}

/* center "Code de suivi" title */

div#tracking-code h3 {
  padding: 0;
  color: #333333;
}

@font-face {
    font-family: "Oswald";
    font-weight: 300;
    src: url('fonts/Oswald-Light.ttf');
}
@font-face {
    font-family: "Oswald";
    font-weight: 400;
    src: url('fonts/Oswald-Regular.ttf');
}
@font-face {
    font-family: "Oswald";
    font-style: 500;
    src: url('fonts/Oswald-Medium.ttf');
}
@font-face {
    font-family: "Oswald";
    font-weight: 700;
    src: url('fonts/Oswald-Bold.ttf');
}
@font-face {
    font-family: "Oswald";
    font-weight: 600;
    src: url('fonts/Oswald-SemiBold.ttf');
}
a#publik-portal-agent {
    display: none;
}
div#header{
    height:auto;
    padding:1em 0;
}

div#header > div#top {
    background: none;
}
h1#logo a{
    padding:0;
    font-weight:normal;
}
#toplinks {
    border-radius: 0;
    box-shadow: none;
    border-width: 0;
    padding-right: 0.5em;
    right: 0.5em;
}
#toplinks span.connected-user {
    padding-right: 0;
}
#toplinks a {
    color: #666;
    margin-right: 1em;
    position: relative;
}
#toplinks a:last-child {
    margin-right: 0;
}
#toplinks a:last-child::after {
    display: none;
}
#toplinks a:hover {
    border-bottom: 1px solid #666;
}
div#nav {
    background: #f2f2f2;
    font-family: "Din";
}
div#nav ul li.selected a,
div#nav ul li:hover a {
    background: #D8297B;
}
div.gru-nav > ul > li a {
    margin-right: 2px;
    text-transform: uppercase;
    padding: 0.5em 1em;
    transition: background 0.5s, color 0.25s;
}
div#rub_service div.category h3, .gru-content div.a2-block h2,
.gru-content div.block h2, div.links-list h2, div#services > ul > li > strong > a,
.gru-content div.textcell h2:first-child, .gru-content div.cell h2:first-child,
div#tracking-code h3, div#rub_service h2 {
    color: #111;
    background: transparent;
}
.gru-content .cell.textcell {
    border: 0px solid #ccc;
    background: #f2f2f2;
    padding: 1em;
}
.gru-content div.cell{
    border:0px solid #ccc;
}
#content h2 {
     text-transform: uppercase;
     color: $cell-title-color;
     font-family: "Din";
     font-weight: bold;
     padding: 0.7rem 1rem 0.7rem 0;
     font-size: 16px;
}
 .gru-content div.cell h2 + div {
   padding-left: 0;
}
#content #columns .cell ul > li > a,
#content #columns #account-management ul > li > a {
    background: #f2f2f2;
    border-bottom: 0px;
    margin-bottom: 3px;
    color: #d8297b;
    border-radius: 3px;
    z-index:1;
    transition: color 0.25s ease-in-out;
    padding-left: 1.3em;
}
#content #columns .cell ul > li > a:hover,
#content #columns #account-management ul > li > a:hover {
    color: #fff;
}
#content #columns .cell ul > li > a::after,
#content #columns #account-management ul > li > a::after {
    width: 0.5em;
    opacity: 1;
    background: $primary-color;
}
#content #columns .cell ul > li > a:hover::after,
#content #columns #account-management ul > li > a:hover::after {
    z-index: -1;
    background: #d8297b;
    border-radius: 3px;
    opacity: 1;
    width: 100%;
}
#content #columns .cell ul > li > a .form-number {
    opacity: 1;
}

//PWA
.pwa-navigation {
    height: 75px;
}

.pwa-navigation div > ul li a,
.pwa-navigation div#nav ul li a{
    color: #FFF;
    height: 75px;
    padding-top: 48px;
    background-color: #d8297b;
    background-size: 48px 36px;
    font-weight: bold;
    border-right: 1px solid lighten(#d8297b, 10%);
}
.pwa-navigation div > ul li:hover a,
.pwa-navigation div#nav ul li:hover a {
    background-color: #d8297b;
}
.pwa-navigation div > ul li a span, .pwa-navigation div#nav ul li a span {
    font-size: 14px;
}

@media screen and (max-width: 800px){
    div#header h1 {
	padding-left: 0.5em;
	margin-top: 0;
    }
    #toplinks {
	top: 6em;
    }
    .gru-nav-wrapper {
        margin-top: 0px;
    }
    div.gru-nav .gru-nav-button {
        background: #D8297B;
    }
    div.gru-nav > ul > li a {
	padding: 0.25em 1em;
	border-bottom: 1px solid white;
    }
    div#nav {
        background: #FFF;
    }
}

