.d3container{
	margin-bottom:20px;
}
h3.d3title{
	color:var(--primary-dark);
}
.page-title-span{
	color:var(--primary-dark);
}
html .btn.d3toggle.arrow img{
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
.d3Graphs {
    clear: both;
    position: relative;
}

.d3Graphs h3{
	margin:5px 0;
	font-size:14px;
	color:var(--primary-dark);
}
.d3Graphs .d3Dep h3{
	color:var(--primary-dark);
}
.d3depret .d3gr{
	overflow:hidden;
	width:74%;
}
.d3gr{
	overflow:hidden;
	width:75%;
	position:relative;
}
.d3gr > h3 {
    left: 45%;
    opacity: 0.6;
    position: absolute;
    top: 0;
}
.d3Graphs svg{
	float:left;
	background:#fff;
	box-sizing: border-box;
	width:100%;
	min-width: 10rem;
}

#d3GraphRet svg{
	float:right;
}
.d3Ret{
 	width:50%;
 	float:left;
}
.d3Dep{
	width:100%;
 	float:left;
}
.d3Dep.d3depret{
	width:50%;
}
.d3depret .d3price{
 	width:25%;
}

.d3price .d3-title{
	margin-top:0;
	padding-bottom:23px;
}
.d3price .d3-title h3{
	margin:2px 0 0;
	color:var(--primary-dark);
	text-transform:uppercase;
}
.d3price{
 	float:left;
 	margin: 0;
 	padding: 0;
 	width:23%;
 	font-size:11px;
 	height:210px;
 	position:relative;
}
.d3price span{
	color:var(--primary-dark);
	font-weight:bold;
 	display:block;
}
.d3price span span{
 	display:inline-block;
 	font-size:10px;
 	opacity:.9;
}
.d3price li{
 	padding-right:5px;
 	font-size:13px;
	color:var(--primary-dark);
	margin-top:20px;
	white-space:nowrap;
	display: flex;
	justify-content: space-between;
}
.d3depret .d3price li{
	margin-top:5px;
	display: block;
}
.d3max,.d3maxRet{
 	top:5px;
}
.d3min,.d3minRet{
 	bottom:53px;
}
.d3avg,.d3avgRet {
    top: 75px;
}
.d3dateleft{
 	float:left;
 	margin:10px 0;
 	color:var(--primary);
 	font-size:12px;
}
.d3dateright{
 	float:right;
 	margin:10px 0;
 	color:var(--primary);
 	font-size:12px;
}
#graphSelectedDates{
	text-align: center;
    clear: both;
    margin: 20px 0 5px;
    padding: 10px;
    border-top: 1px solid #e0e9f2;
}
#graphSelectedDates span{
	height: 34px;
    line-height: 32px;
    display:inline-block;
    color:var(--primary-dark);
    font-weight:bold;
}
#graphSelectedDates span#graphDepartureDate,
#graphSelectedDates span#graphReturnDate{
    color:var(--primary);
}
.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.bar {
  fill: var(--button-alt);
}

.bar:hover {
  fill: var(--primary) ;
}

.x.axis path {
  display: none;
}

.d3-tip {
  line-height: 1;
  font-weight: bold;
  padding: 12px;
  background:#fff;
  color: var(--primary-dark);
  border:1px solid var(--primary-dark);
  border-radius: 5px;
  text-align: center;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0, 0, 0, 0.8);
  content: "\25BC";
  position: absolute;
  text-align: center;
}

/* Style northward tooltips differently */
.d3-tip.n:after {
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}
.d3-tip{
  display:block;
  color:var(--primary-dark);
  font-size:18px;
  margin-bottom:5px;
}
.d3-tip span{
  font-size:11px;
  opacity:.9;
}
.d3-tip label{
  display:block;
  font-size:11px;
  color:#333;
}
.d3legend{
	clear: both;
	text-align: center;
	padding: 10px 0;
	color: #aaa;
	width: 100%;
}
.d3depret .d3legend{
	bottom:0;
}
.d3legend span{
  	margin:0 0 0 20px;
    color: var(--primary);
    font-size: 12px;
    text-transform: capitalize;
}
.d3legend b{
  width:10px;
  height:10px;
  display:inline-block;
  margin-right:5px;
  border-radius:1px;
}
.d3legend .d3query b{
  background:var(--primary);
}
.d3legend .d3cheapest b{
  background:orange;
}

@media ( max-width :767px) {
    html .d3Graphs .d3legend {
        bottom: 15px
    }

    html .d3Graphs {
        padding: 20px 0 5px;
        margin-bottom: 15px
    }

    html .d3depret .d3price,html .d3price {
        float: none;
        width: 100%;
        height: inherit
    }

    html .d3depret .d3gr,html .d3gr {
        width: 100%;
        margin: 10px 0
    }

    html .d3price li {
        position: inherit;
        float: left;
        width: 25%;
        text-align: center;
        padding: 0;
        margin-top: 0;
        flex-direction: column
    }

    html .de .d3price li {
        font-size: 11px
    }

    html .d3Graphs h3.d3title,html .d3Graphs h3.d3title.d3depret {
        margin: 0;
        display: inline-block;
        position: relative;
        top: -45px
    }

    html .d3container {
        margin-bottom: 0
    }

    html .d3container .d3title {
        float: left;
        width: 100%
    }

    html .d3container .page-title-span {
        padding: 0;
        margin: 5px 5px 5px 0;
        font-size: 11px
    }

    html .d3Graphs .page-title-span {
        padding-left: 0
    }

    html .d3Dep,html .d3Dep.d3depret,html .d3depret {
        width: 100%
    }

    html .d3Graphs h3.d3title {
        position: inherit;
        left: 0;
        top: 0;
        width: auto;
        display: block
    }

    html .d3price .d3-title {
        padding-bottom: 0;
        text-align: left
    }

    html .d3price span {
        float: none
    }

    html #graphSelectedDates {
        margin-bottom: 40px
    }
}
.page-flight .d3container .d3-btn-group{
	display:flex;
	flex-wrap: wrap;
	margin: 20px 0;
}
.page-flight .d3container .d3-btn-group .d3-btn-icon{
	font-size: 12px;
	margin-right: 5px;
}
