html,body{
    height: 100%;
    min-width: 450px;
}

body.main {
 background: url('/assets/images/stripe.png');
}

.header-wrapper
{
    height: 80px;
    line-height: 80px;
    background: #f5f5f5;
}
.footer
{
    width: 100%;
    height: 40px;
    background-color: #f5f5f5;
    line-height: 40px;
}

#mapContainer
{
    height: calc(100% - 210px);
    min-height: 600px;
    margin-bottom: 40px;
}

#mapContainer.highway
{
    padding: 0;
    margin-top: 0;
    height: calc(100% - 247px);
    overflow: hidden;
    position: relative;
}

.navbar.highway
{
    margin-bottom: 10px;
}

.content.district
{
    height: calc(100% - 210px);
    min-height: 500px;
    margin-bottom: 50px;
}

.row.map
{
    height: calc(100% - 115px);
    min-height: 500px;
    margin-bottom: 50px;
}

[class*="col-"].map
{
    height: 100%;
    min-height: 500px;
}

[class*="col-"].results
{
    margin-bottom: 50px;
}

#mapContainer.district
{
    width:100%;
    height: 100%;
    min-height: 300px;
    background: url('/assets/images/stripe.png');
}

.placemark_layout_container {
    position: relative;
}

.circle_layout {
    background-color: #225D9C;
    position: absolute;
    left: -8px;
    top: -8px;
    width: 16px;
    height: 16px;
    border: 2px solid #225D9C;
    color: #225D9C;
    line-height: 16px;
    /* Это CSS свойство не будет работать в Internet Explorer 8 */
    border-radius: 8px;
}


.circle_layout_hovered {
    background-color: #ffffff;
    position: absolute;
    left: -8px;
    top: -8px;
    width: 16px;
    height: 16px;
    border: 2px solid #225D9C;
    color: #225D9C;
    line-height: 16px;
    /* Это CSS свойство не будет работать в Internet Explorer 8 */
    border-radius: 8px;
}

.content
{
    margin-bottom: 40px;
}

.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}

.margin-right
{
    margin-right: 20px;
}

ul.providers li a img
{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
    -webkit-transition: all .6s ease; /* Fade to color for Chrome and Safari */
    -webkit-backface-visibility: hidden; /* Fix for transition flickering */
}

ul.providers li.active img, ul.providers li a:hover img{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(0%);
}

#map
{
    height: 40%;
    min-height: 600px;
    padding-top: 0;
    background: #fefefe;
    /*margin-top: 5px;*/
}

.pills
{
    position: absolute;
    top:10px;
    left:10px;
    z-index: 2000;
}

.pills.highway
{
    top:15px;
    left:10px;
    z-index: 2000;
}

.pills li
{
    background: #ffffff;
}

.legend
{
    position: absolute;
    bottom: 10px;
    right: 7px;
    z-index: 2000;
}

.legend li
{
    height: 50px;
    line-height: 50px;
}

.legend div.indicator
{
    display: block;
    margin-right:2px;
    float: left;
    width: 26px;
    height: 26px;
    border: 1px solid #f5f5f5;
}

.i5
{
    background: #827c02;
}

.i4
{
    background: #00ff01;
}

.i3
{
    background: #80ff00;
}

.i2
{
    background: #fffc01;
}

.i1
{
    background: #ff7f00;
}

.i0
{
    background: #fe0000;
}

.ix
{
    background: #000000;
}
.legend img
{
    display: block;
    margin-right:2px;
    float: left;
    width: 26px;
    height: 26px;
}

.region
{
    fill: #E6E6E6;
    stroke: #cccccc;
    stroke-width: 1;
}

.district-boundary
{
    fill: none;
    stroke: #29ABE2;
    stroke-width: 2;
}

.district
{
    fill:#E6E6E6;
    cursor: pointer;
}

.district:hover
{
    fill:#29ABE2;
}

.d3-tip{
    /*TODO scale tip styles with map*/
    background: #225D9C;
    border: 3px solid #225D9C;
    border-radius: 16px;
    padding:6px;
    height: 24px;
    color: #ffffff;
    line-height: 4px;
    font-size: 1em;
}

.pin
{
    fill:#225D9C;
    cursor: pointer;
}

.pin:hover
{
    fill:#29ABE2;
}

.pin-label
{
    fill: #666666;
    color: #666666;
    font-size: 0.75em;
    font-weight: 700;
}

body.main .pin-label
{
    fill: #666666;
    color: #666666;
    font-size: 0.65em;
}

.gray
{
    color: #666666;
}

li.active .gray
{
    color: #fefefe;
}

.g-recaptcha
{
    margin-bottom: 10px;
}

.legend.highway
{
    position: absolute;
    bottom: 10px;
    right: 3px;
    z-index: 2000;
}

#highwayList
{
    position: absolute;
    top: 15px;
    right: 3px;
    width: 228px;
    z-index: 2000;
    border: 1px solid #cccccc;
    background: #fff;
    padding: 10px;
}

#highwayList a
{
    display: block;
    float: left;
    width: auto;
    text-decoration: underline;
    margin-right: 10px;
    margin-bottom: 5px;
    text-decoration: none; /* Убираем подчеркивание */
    border-bottom: 1px dashed #008cba; /* Добавляем свою линию */
}

#highwayList a:hover
{
    border-bottom: 1px solid #008cba;
}

.highwayListShowHide
{
    font-size: 1.2em;
    background: #fff;
    position: absolute;
    top:16px;
    right:231px;
    width: 20px;
    height: 20px;
    z-index: 2000;
    text-align: center;
    line-height: 1.2em;
}

.highwayListShowHide a
{
    color:#cccccc;
}

#highwayList a.active
{
    font-weight: bold;
    border-bottom: 1px solid #008cba;
}