/* === GENERAL CSS === */
html, body {
    overflow-x: hidden; /* Prevent scroll on narrow devices. Used in offcanvas */
}

/* === STICKY FOOTER === */
html {
    min-height:100%;
    position: relative;
}

body {
    /*margin-bottom:265px; !*265px - footer height*!*/
    margin-bottom:345px; /*265px - footer height*/
}

footer {
    position:absolute;
    bottom:0;
    width:100%;
}

/* === GENERAL LANGUAGE FIXES === */

.btn.btn-break {
    white-space: normal;
}

/* === GENERAL RULES === */

@media (min-width: 1200px) {    /* limit content width to 940px */
    .container {
        width: 970px;
    }
}

.left {
    float: left;
}

.right {
    float: right;
}

.relative {
    position: relative;
}

.mb30{ margin-bottom: 30px !important; }

.mb20{ margin-bottom: 20px !important; }

.mb10{ margin-bottom: 10px !important; }

.mb0{ margin-bottom: 0 !important; }

.mb15 {margin-bottom:15px !important;}

.mt15 { margin-top:15px !important; }

.mt20 { margin-top:20px !important; }

.mt10 { margin-top:10px !important; }

.mt5 { margin-top:5px !important; }

.mr20 { margin-right:20px !important; }

.mr10 { margin-right:10px !important; }

.pointer { cursor: pointer !important; }

.text-middle {
    vertical-align:middle !important;
}

.nowrap {
    white-space: nowrap !important;
}

.glyphicon, .halflings{
    top: 2px;
}

@media screen and (min-width: 768px){
    .table-responsive{
        border-width: 0 1px;
    }
}

label .glyphicon, label .halflings {
    margin-left: 3px;
}

.iframe-colorbox, .prelease-colorbox {
    cursor: pointer;
}

table.table tr td, table.table tr th {
    vertical-align:middle;
}

.table > thead > tr > th {
    border-bottom: none;
}

table.table.beneath-tabs, table.table.beneath-tabs tr:first-child > *{
    border-top: none !important;
}

.myImages .panel-body .with-border{
    margin-bottom: 0;
}

@media screen and (max-width: 767px){
    table.table.beneath-tabs, .myImages .tab-content.with-border{
        border-top: 1px solid #ddd !important;
    }
}

table.table.table-striped {
    border: 1px solid #ddd;
}

.table-striped.table-borderless{
    border: 0!important;
}

ul.two-columns:before, ul.two-columns:after,
ul.three-columns:before, ul.three-columns:after {
    display: table;
    content: " ";
    list-style-type: none;
}

ul.two-columns:after, ul.three-columns:after {
    clear:both;
}

ul.two-columns {
    column-count: 2;
    column-gap: 20px;
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    -o-column-count: 2;
    -o-column-gap: 20px;
    list-style-type: none;
}

/*ul.two-columns > li{
    float:left;
    width: 49%;
    list-style-type: none;
}*/

ul.three-columns {
    column-count: 3;
    column-gap: 20px;
    -moz-column-count: 3;
    -moz-column-gap: 20px;
    -webkit-column-count: 3;
    -webkit-column-gap: 20px;
    -o-column-count: 3;
    -o-column-gap: 20px;
}

@media screen and (max-width: 480px) {
    ul.two-columns {
        column-count: 1;
        -moz-column-count: 1;
        -webkit-column-count: 1;
        -o-column-count: 1;
    }

    ul.three-columns {
        column-count: 2;
        -moz-column-count: 2;
        -webkit-column-count: 2;
        -o-column-count: 2;
    }
}


/*ul.three-columns > li {
    float:left;
    width: 33%;
    list-style-type: none;
}*/

ul.three-columns.default > li {
    list-style: disc inside;
}

.box, fieldset, section {
    background: none repeat scroll 0 0 #eaeaea;
    border: medium none;
    border-radius: 5px;
    color: #212121;
    margin: 0 0 15px;
    padding: 15px;
    word-wrap: break-word;
    overflow:hidden;
}

.box p {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 5px;
}


.box-line {
    background: none repeat scroll 0 0 #f0f0f0;
    border: medium none;
    border-radius: 4px;
    color: #212121;
    margin: 0 0 3px;
    padding: 10px;
    word-wrap: break-word;
    font-size:12px;
    display: table;
    width:100%;
}

.box-line > div, .box-line > span {
    display: table-cell;
    width:50%;
    vertical-align: top;
    padding-left: 2px;
    padding-right: 2px;
}

/*.box-line > span {
    -ms-word-break:   break-all;

    word-break:       break-all;
    word-wrap:        break-word;
}*/

.box-line label, .box-line h3 {
    font-size: 12px;
    margin-bottom: 0;
}

.box-line2 label, .box-line2 h3 {
    text-transform: capitalize;
}

.box-line h3, .box-line2 h3 {
    font-size: 12px;
    line-height: 17px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0;
}

.box-line span h3, .box-line2 span h3 {
    font-weight: normal;
    display: inline;
}

/* Fix for non-aligning box lines */
.box-line-group {
    display: table;
    border-collapse: collapse;
    width:100%;
}

.box-line-group > div.box-line {
    display: table-row;
    border-bottom: solid #fff 3px;
    padding:0;
}

.box-line-group > div.box-line > div, .box-line-group > div.box-line > span {
    padding: 10px;
}

.box-line-group > div.box-line > div {
    border-radius : 4px 0 0 4px;
    padding-right:5px;
}

.box-line-group > div.box-line > span {
    border-radius : 0 4px 4px 0;
    padding-left:5px;
}

.technical-data .box-line > div {
    width: 65%;
}

.technical-data .box-line > span {
    width: 35%;
}

.box-line2 {
    margin-bottom: 20px;
}
.box-line2 > div, .box-line2 > span {
    display:block;
    width:100%;
    vertical-align: middle;
    padding-left: 2px;
    padding-right: 2px;
    font-size:12px;
}

.tooltip-inner {
    opacity:0.8;
    -moz-box-shadow: 0 0 10px #000;
    -webkit-box-shadow: 0 0 10px #000;
    box-shadow: 0 0 10px #000;
    width:200px;
    white-space:normal;
}

.box-header {
    font-weight:bold;
    margin-top:0;
    margin-bottom: 10px;
}

.title_bar {
    margin-bottom: 10px;
}

h1.box-header.inline {
    /*width: calc(100% - 114px);*/
    display: inline;
}

h2.box-header {
    font-size: 18px;
}

h3.box-header {
    font-size: 14px;
}

.box-header.cyan {
    color: #007FCF;
}

.box-header > .header-link {
    color: #2194f4;
    text-decoration: underline;
    outline: 0;
}

.box-header > .header-link:hover {
    text-decoration:none;
}

.box-white {
    padding: 10px;
    box-shadow: 1px 1px 2px #b5b5b5;
    -moz-box-shadow: 1px 1px 2px #b5b5b5;
    -webkit-box-shadow: 1px 1px 2px #b5b5b5;
    background: #fff;
    color: #212121;
    margin-bottom:15px;
}

/* === TO TEST NO MARGIN IN ALL BOXES === */
.box-white > *:last-child,
.box > *:last-child ,
section > *:last-child ,
fieldset > *:last-child {
    margin-bottom: 0 !important;
}

.box-community {
    margin-bottom: 10px;
    background-color: #057DB6;
    color: #FFFFFF;
    box-shadow: 1px 1px 2px #b5b5b5;
    -moz-box-shadow: 1px 1px 2px #b5b5b5;
    -webkit-box-shadow: 1px 1px 2px #b5b5b5;
    padding:10px;
}
.box-community .box {
    margin-bottom:0;
    overflow: visible;
}

.box-community .btn-vertical,
div.building-gallery a.btn-download{
    width:100%;
    margin:5px 0;
    max-width:320px;
}

.progressInfo{
    background-color: #ffffff;
    box-shadow: 1px 1px 2px #b5b5b5;
    padding: 5px 10px;
    position: absolute;
    width: 320px;
    z-index: 999;
    margin-top: -17px;
    right: 0;
}

.progressInfo span{
    font-weight: bold;
    font-size: 12px;
    width: 100%;
    float: left;
}

.progressInfo p {
    float: left;
    font-size: 10px;
    line-height: 8px;
    width: 150px;
}

ul.noicon-list {
    list-style-type: none;
    padding:0;
}

ul.noicon-list.glyph-list > li{
    padding-left:17px;
}

ul.noicon-list.glyph-list > li > span.glyphicon ,
ul.noicon-list.glyph-list > li > span.halflings{
    margin-left:-17px;
    margin-right:3px;
}

.important_box {
    background-color: #057db6;
    color: #fff;
    padding:10px;
}

.no-margin {
    margin:0 !important;
}

.container article {
    line-height: 21px;
    margin-bottom: 20px;
}

.container article.small {
    font-size:12px;
    line-height:18px;
    margin-bottom:10px;
}

.nav-panel {
    border-top:none;
    border-radius: 0;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    background-color: #0667a4;
}

.list-group {
    margin-bottom:10px;
}

/* === Colorbox styles === */
#colorbox:focus {
    outline: 0;
}

/* === Custom small tables === */

table.table.table-small {
    margin-bottom:0;
    font-size:12px;
}

table.table.table-small td, table.table.table-small th {
    padding:5px;
}

/*table.table.table-small.table-striped tr:nth-child(2n + 1) > td,
table.table.table-small.table-striped tr > th {
    background-color:#f9f9f9;
}

table.table.table-small.table-striped tr:nth-child(2n) > td {
    background-color: #FFF;
}*/

table.table.table-small.table-striped tr > th {
    border-bottom:1px;
    border-top:1px solid #ddd;
    white-space:nowrap;
}


table.table.table-xsmall {
    margin-bottom:0;
    font-size:12px;
}

table.table.table-xsmall td, table.table.table-xsmall th {
    padding:3px;
}

/*
table.table.table-xsmall.table-striped tr:nth-child(even) > td,
table.table.table-xsmall.table-striped tr > th {
    background-color:#f9f9f9;
}

table.table.table-xsmall.table-striped tr:nth-child(odd) > td {
    background-color: #FFF;
}
*/

table.table.table-xsmall.table-striped tr > th {
    border-bottom:1px;
    border-top:1px solid #ddd;
}

/* --- BUTTONS --- */

.btn-default {
    color: #fff;
    text-shadow: 0 1px 2px #544;
    background-image: -webkit-linear-gradient(top, #FE8F3E 0%, #FE6601 100%);
    background-image:      -o-linear-gradient(top, #FE8F3E 0%, #FE6601 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#FE8F3E), to(#FE6601));
    background-image:         linear-gradient(to bottom, #FE8F3E 0%, #FE6601 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffe8f3e', endColorstr='#fffe6601', GradientType=0);
    background-repeat: repeat-x;
    border-color: #E16B06;
    font-weight: bold;
}
.btn-default:hover,
.btn-default:focus {
    background-color: #FE6601;
    background-position: 0 -15px;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    border-color: #b94a00;
    color: #fff;
}
.btn-default:active,
.btn-default.active {
    background-color: #FE6601;
    border-color: #dbdbdb;
}
.btn-default:disabled,
.btn-default[disabled],
.btn-default.disabled{
    background: #FE6601 none;
}

.btn-gray {
    background-image: -webkit-linear-gradient(top, #fafafa 0%, #ededed 100%);
    background-image:      -o-linear-gradient(top, #fafafa 0%, #ededed 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#ededed));
    background-image:         linear-gradient(to bottom, #fafafa 0%, #ededed 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa', endColorstr='#ffededed', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    color: #4C4C4C;
    text-decoration: none;
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 1px 1px rgba(0, 0, 0, 0.075);
    text-shadow: 0 1px 2px #aaa;

}
.btn-gray:hover,
.btn-gray:focus,
.btn-gray:active,
.btn-gray.active {
    background: none no-repeat #f0f0f0;
    border-color: #aaa;
}
.btn-gray:disabled,
.btn-gray.disabled,
.btn-gray[disabled] {
    background-color: #fafafa;
    color: #979797;
}

.btn-gray.disabled span.glyphicon, .btn-gray:disabled span.glyphicon,
.btn-gray.disabled span.halflings, .btn-gray:disabled span.halflings{
    color:#979797;
}

.btn-lg, .btn-group-lg > .btn{
    padding: 6px 12px;
}

.btn.btn-transparent {
    background-color:transparent;
    padding:0;
    line-height:1;
    border:0;
}

@media screen and (max-width: 1024px) {
    .btn.multiline {
        white-space:normal;
    }
}

/* === BUILDING STATUS ICONS === */
.building-status {
    display: inline-block;
    margin-right:4px;
    vertical-align: middle;
    border-radius:2px;
    overflow:hidden;
}

.building-status > div {
    width: 25px;
    height: 8px;
}

.status-green,
.select2-result-label .project-status-icon.existing {
    background-color: #66c547;
}

.status-blue,
.select2-result-label .project-status-icon.planned {
    background-color: #3875d7;
}

.status-green-blue,
.select2-result-label .project-status-icon.underconstruction{
    background-color:#c259b5;
}

.status-yellow,
.select2-result-label .project-status-icon.unbuilt {
    background-color: #ffc11f;
}

.status-red,
.select2-result-label .project-status-icon.demolished {
    background-color: #f34648;
}

/* === COMPANY STATUS ICONS === */
.company-status {
    display: inline-block;
    margin-right:4px;
    vertical-align: middle;
    border-radius:1px;
    overflow:hidden;
}

.company-status > div {
    width: 10px;
    height: 10px;
}

/* --- HEADER AND NAVIGATION BAR --- */

div.header-right {
    padding-top: 20px;
}

/*div.header-right.research {
    padding-top:30px;
}*/

/* === Social icons === *//*
#social-icons a.social-icon{
    float: right;
    margin: 0 0 10px 5px;
}*/

/* === navbar right === */
div.header-right .navbar-right > li {
    text-align: right;
}

div.header-right .navbar-right > li > * {
    padding:3px 10px;
}

div.header-right .navbar-right > li .glyphicon-shopping-cart,
div.header-right .navbar-right > li .glyphicon-log-out,
div.header-right .navbar-right > li .glyphicon-user{
    color:#B4B4B4;
}
/* === Language selector === */
#change-language {
    padding:2px 10px;
}
#change-language input[type='image'] {
    width:20px;
    height:15px;
    margin-left:5px;
    border: 1px solid #ECECEC;
    margin-top: 2px;
}

/* === Prev Next navigator control === */
#page-navigator {
    margin-bottom:20px;
    line-height:34px;
}
/* === Mobile fixes for header === */
@media screen and (max-width: 767px) {
    div.header-right #social-icons {
        padding:3px 10px;
    }
    #change-language{
        padding: 2px 5px 0 0;
    }
    div.header-right .navbar-right {
        margin:-10px 0 0 0;
    }
    div.header-right #social-icons{
        padding: 0;
    }
    .pull-right.header-right{
        line-height: 1.2;
        margin-right: -10px;
    }
    div.header-right {
        padding-top: 23px;
    }
}

@media screen and (max-width: 380px) {
    .main-logo img{
        height: auto;
        width: 200px;
        margin-left: -15px;
    }
    .pull-right.header-right {
        line-height: 1;
        position: absolute;
        right: 15px;
    }
    div.header-right {
        padding-top: 16px;
    }
}

.navbar-xs li{
    list-style: none;
    float: right;
    padding: 10px 5px;
}

.navbar-xs li a {
    color: #fff;
    font-weight: bold;

}


/* === Navbar === */

.navbar-default{
    background-image: none;
    border-radius: 0;
    border: 0 solid;
    box-shadow: none;
    min-height: 40px;
    margin-bottom: 0;
}

.navbar-default #navigation.navbar-nav > .active > a,
div#navbar-collapse > a.navbar-right.account-options.active, div#navbar-collapse > a.navbar-right.account-options.active:hover {
    background-image: -webkit-linear-gradient(top, #FFF 0%, #F3F3F3 100%);
    background-image: -o-linear-gradient(top, #FFF 0%, #EAEAEA 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EAEAEA));
    background-image: linear-gradient(to bottom, #FFF 0%, #EAEAEA 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eaeaea', GradientType=0);
    background-repeat: repeat-x;
    -webkit-box-shadow: none;
    box-shadow: none;
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: #0667a4;
    }
}

#open-nav,#open-nav.collapsed:hover  {
    border-radius: 0;
    border-width: 0 1px 0 0;
    border-color: #3b96ce;
    float: left;
    margin: 0;
    padding: 13px 14px 11px;
    background-color: #3b96ce;
}

#open-nav.collapsed, #open-nav.collapsed:focus{
    background-color: #0667a4;
}

.navbar-default .navbar-toggle:hover {
    background-color: #3b96ce;
}

.navbar-default .navbar-toggle .icon-bar{
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
}

.navbar-nav>li>ul.dropdown-menu.empty, .navbar-nav>li>ul.dropdown-menu.empty ~ a.dropdown-toggle {
    display: none;
}

div#navbar-collapse > a.navbar-right.account-options {
    color: #fff;
    font-size:20px;
    padding:10px 9px;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    margin-left:5px;
    margin-right:-15px;
}

div#navbar-collapse > a.navbar-right.account-options > span {
    display: block;
}

div#navbar-collapse > a.navbar-right.account-options:hover {
    text-decoration: none;
    background: #fff;
    color:#000;
    border-left: 1px solid rgba(0,0,0,0.3);
    border-right: 1px solid rgba(0,0,0,0.3);
}

div#navbar-collapse > a.navbar-right.account-options.active {
    color:#000;
}

@media (max-width:767px) {
    div#navbar-collapse > a.navbar-right.account-options {
        position: relative;
        display: block;
        float: none;
        margin: 0 -15px;
        color: #000;
        font-size: 14px;
        padding: 10px 13px;
        border-bottom: 1px solid #e0e0e0;
        font-weight:bold;
    }
}

@media (min-width: 768px) {
    .navbar-default .navbar-nav > li > a {
        color: #fff;
        text-transform: uppercase;
        font-weight: bold;
        text-shadow: none;
        padding: 10px;
    }
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav > li > a {
        padding: 10px 6px;
    }
}

@media (max-width: 767px) {
    .navbar-default .navbar-nav > li > a {
        padding: 10px 13px;
        font-weight: bold;
    }

    .navbar-default #navigation > li > a{
        border-bottom: 1px solid #e0e0e0;
    }

    .navbar-default #navigation.navbar-nav li a {
        color:  #333;
    }

    .navbar-default #navigation.navbar-nav li a:hover {
        color:  #333;
    }
}

@media (min-width: 768px) {
    .navbar-default .navbar-nav > li > a {
        border-left:1px solid transparent;
        border-right:1px solid transparent;
        z-index:1000;
    }

    .navbar-default .navbar-nav > li:hover > a,
    .navbar-default .navbar-nav > li > a:focus,
    .navbar-default .navbar-nav > li > a:active{
        color: #333;
        /*background-image: -webkit-linear-gradient(top, #FFF 0%, #F3F3F3 100%);
        background-image: -o-linear-gradient(top, #FFF 0%, #EAEAEA 100%);
        background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EAEAEA));
        background-image: linear-gradient(to bottom, #FFF 0%, #EAEAEA 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eaeaea', GradientType=0);*/
        background:white;
        border-left:1px solid rgba(0,0,0,0.3);
        border-right:1px solid rgba(0,0,0,0.3);
    }
    #navigation > li.active > ul.dropdown-menu {
        background: url('../img/backgrounds/bg_partner.png') repeat-x left top #FFF;
    }
    #navigation > li.active > ul.dropdown-menu > li:first-child > a {
        background:transparent;
    }

    #navigation .dropdown-menu > li:hover > a,
    #navigation .dropdown-menu > li.active > a,
    #navigation .dropdown-menu > li.active:hover > a,
    #navigation > li.active > ul.dropdown-menu > li:first-child:hover > a{
        background-color: #E8E8E8 !important;
        background-image: -webkit-linear-gradient(top, #F5F5F5 0%, #E8E8E8 100%) !important;
        background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%) !important;
        background-image: -webkit-gradient(linear, left top, left bottom, from(#F5F5F5), to(#E8E8E8)) !important;
        background-image: linear-gradient(to bottom, #F5F5F5 0%, #E8E8E8 100%) !important;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0) !important;
        background-repeat: repeat-x;
        color:#000;
    }
}

.navbar-header {
    display: none;
    background-color: #0667a4;
}

@media (max-width: 767px) {
    .navbar-header {
        color: #fff;
        display: block;
    }
}

.navbar-default #navigation > li.open > a{
    background-color: #F8F8F8;
}

.dropdown a.dropdown-toggle {
    background-color: #eaeaea;
    border-left: 1px solid #e0e0e0;
    position: absolute;
    right: 0;
    margin-top: -41px;
    color: #333;
}

.dropdown-toggle span.caret{
    margin-left: 4px;
}

@media (min-width: 768px) {
    .dropdown a.dropdown-toggle{
        display: none;
    }

    .dropdown-menu > li > a{
        background-color: #fff;
    }
}

@media (max-width: 767px) {

    #navigation > li > a.dropdown-toggle, #navigation > li > a.dropdown-toggle:hover, #navigation > li > a.dropdown-toggle:focus {
        background-color: #eaeaea !important;
        border-color: #e0e0e0;
    }

    #navigation .dropdown span.caret {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid;
    }

    #navigation > .dropdown > ul.dropdown-menu {
        background-color: #EAEAEA;
    }

    #navigation ul.dropdown-menu {
        padding: 0;
    }

    #navigation li.active > a {
        background-image: -webkit-linear-gradient(top, #FFF 0%, #F3F3F3 100%);
        background-image: -o-linear-gradient(top, #FFF 0%, #F3F3F3 100%);
        background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#F3F3F3));
        background-image: linear-gradient(to bottom, #FFF 0%, #F3F3F3 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f3f3f3', GradientType=0);
        background-repeat: repeat-x;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

}

@media only screen and (min-width : 768px) {
    /* Make Navigation Toggle on Desktop Hover */
    .dropdown:hover > .dropdown-menu {
        display: block;
        z-index:500;
        margin-top:-1px;
    }
}

@media (max-width: 767px) {

    #navigation .dropdown-menu a {
        border-bottom: 1px solid #d9d9d9;
        padding: 10px 13px 10px 25px;
        background-color: transparent;
    }

    #navigation .dropdown-menu a.dropdown-toggle.sub {
        background-color: #e0e0e0;
        padding: 10px 13px;
        border-left: 1px solid #d9d9d9;
    }

    #navigation ul.dropdown-menu ul.dropdown-menu.sub a {
        background-color: #e0e0e0;
        border-bottom: 1px solid #d0d0d0;
        padding: 10px 13px 10px 37px;
    }

    #navigation ul.dropdown-menu ul.dropdown-menu.sub ul.dropdown-menu.sub a {
        background-color: #d0d0d0;
        border-bottom: 1px solid #D6D6D6;
        padding: 10px 13px 10px 49px;
    }

    #navigation ul.dropdown-menu ul.dropdown-menu.sub a.dropdown-toggle.sub {
        background-color: #D6D6D6;
        padding: 10px 13px;
        border-left: 1px solid #d9d9d9;
    }

}

@media (min-width: 768px) {

    .dropdown-menu.sub{
        top:0;
        left:100%;
        margin-left:-1px;
        margin-top: -1px;
        -webkit-border-radius:0 4px 4px;
        -moz-border-radius:0 4px 4px;
        border-radius:0 4px 4px;
        display: none;
        /*min-height: 100%;*/
        overflow: visible;
    }

    .dropdown-menu > .has-submenu {
        position : relative;
    }

    .dropdown-menu > .has-submenu:hover > .dropdown-menu.sub{
        display:block;
    }

    .dropdown-menu > .has-submenu a{
        padding-right: 28px;
    }

    .dropdown-menu > .has-submenu > a:after{
        display:block;
        content:" ";
        float:right;
        width:0;
        height:0;
        border-color:transparent;
        border-style:solid;
        border-width:5px 0 5px 5px;
        border-left-color:#333;
        margin-top:5px;
        margin-right:-18px;
    }

}

#navigation {
    margin: 0 -15px;
}

nav #search {  /* Search Form */
    background-color: #fff;
    border: 1px solid #666;
    margin-top: 5px;
    padding: 4px 10px;
}

#search #search-input {
    background-color: #fff;
    border: medium none;
    color: #333;
    font-size: 12px;
    font-style: italic;
    height: 18px;
    line-height: 18px;
    vertical-align: middle;
    width: 200px;
}

@media (max-width: 991px) {
    #search #search-input {
        width: 130px;
    }
}

#search #search-submit {
    border: medium none;
    height: 18px;
    vertical-align: middle;
}

.navbar-default form.navbar-form{
    margin: 0 -15px;
    border: 0;
}

@media (min-width: 768px) {
    .navbar-default form.navbar-form{
        display: none;
    }
}

/* --- PAGE CONTAINER --- */
.page {
    padding:20px 0;
    background: url('../img/backgrounds/bg_partner.png') repeat-x left top transparent;
}

.page.startpage{
    padding-top: 0;
}

/* --- GLOBAL SPOTS --- */

/* === aside sidebar === */

#sidebar > ul.submenu,
#sidebar ul.subsubmenu{
    padding : 0;
    overflow: hidden;
    background-color: #f5f5f5;
}

#sidebar > ul.submenu  li {
    list-style-type: none;
}

#sidebar > ul.submenu > li.has-submenu > ul {
    padding-left:20px;
}

#sidebar > ul.submenu > li.has-submenu > ul.subsubmenu > li.has-submenu > ul {
    padding-left:20px;
}

#sidebar > ul.submenu li a {
    /*white-space: nowrap;*/
    white-space:normal;
    overflow: hidden;
    padding: 10px 15px;
    position: relative;
    display: block;
}

#sidebar > ul.submenu li a:hover {
    text-decoration: none;
    background-color: #eee;
}

#sidebar li#current > a {
    font-weight: bold;
    color: #00458B;
    background-color: #eee;
}

/* === aside image box === */

#sidebar > #image_box {
    margin-top: 20px;
    background: url("../img/backgrounds/bg_box_images.jpg") no-repeat top left;
    border: 1px solid #ccc;
    color: #fff;
    padding: 20px 10px 10px 10px;
}

#sidebar > #image_box > .image-pricing-list {
    width: 80%;
    margin: 10px auto;
}

#sidebar > #image_box > .image-pricing-list > li > label {
    float:left;
    clear:left;
    font-weight: normal;
}

#sidebar > #image_box > .image-pricing-list > li > span {
    float:right;
    clear:right;
}

.img-thumbnail .img-box{
    width: 80px;
    height: 80px;
    background-size: cover !important;
}

@media screen and (max-width: 991px){
    .img-thumbnail .img-box {
        width: 55px;
        height: 55px;
    }
}

/* === aside community and contact boxes=== */

#sidebar > #community_box, #contact_box,
#sidebar > #job_box {
    margin-top: 20px;
    color: #fff;
    padding: 20px;
}

#sidebar > #community_box {
    background: url('../img/backgrounds/bg_box_community.jpg') no-repeat top left;
    padding-left:15px;
    padding-right:15px;
}

#sidebar > #contact_box {
    background: url('../img/backgrounds/bg_box_context.jpg') no-repeat top left;
}

#sidebar > #job_box {
    background: url('../img/backgrounds/bg_box_jobs.jpg') no-repeat top left;
}

#sidebar > #community_box h4.box-header,
#sidebar > #job_box h4.box-header{
    margin-left:70px;
    margin-bottom:20px;
}

#sidebar > #contact_box h4.box-header {
    margin-left:60px;
}

@media screen and (min-width : 768px) and (max-width : 1100px) {
    #sidebar > #community_box.gradient,
    #sidebar > #image_box.gradient,
    #sidebar > #contact_box.gradient,
    #sidebar > #job_box.gradient{
        background: #5195bf;
        background: -moz-radial-gradient(bottom, ellipse cover, #5195bf 0%, #0567a4 100%);
        background: -webkit-gradient(radial, bottom center, 0px, center center, 100%, color-stop(0%, #5195bf), color-stop(100%, #0567a4));
        background: -webkit-radial-gradient(bottom, ellipse cover, #5195bf 0%, #0567a4 100%);
        background: -o-radial-gradient(bottom, ellipse cover, #5195bf 0%, #0567a4 100%);
        background: -ms-radial-gradient(bottom, ellipse cover, #5195bf 0%, #0567a4 100%);
        background: radial-gradient(ellipse at bottom, #5195bf 0%, #0567a4 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5195bf', endColorstr='#0567a4', GradientType=1 );
    }

    #sidebar > #community_box h4.box-header,
    #sidebar > #contact_box h4.box-header,
    #sidebar > #job_box h4.box-header{
        margin-left:20px;
    }

    #sidebar > #community_box a.link {
        border:1px solid white;
        border-radius: 4px;
        width:80%;
        padding:5px 0;
        margin:0 auto;
        display: block;
    }
}

#sidebar >#community_box a,
#sidebar > #contact_box a {
    color:white;
}
#sidebar >#community_box a{
    text-decoration: underline;
}

#sidebar > #contact_box .btn.btn-gray {
    padding:3px 6px;
    color:#333;
    font-weight:bold;
}

/* === aside statistic box === */

#sidebar > .statistic_box {
    margin: 25px 0 0 0;
    border: none;
    background-color:#fdfdfd;
}

#sidebar > .statistic_box .box-header {
    margin: 0;
    padding: 10px;
    font-weight: bold;
    background-color: #f5f5f5;
}

#sidebar table{
    border: none;
}

table.fixed{
    table-layout: fixed;
}

#sidebar td, #sidebar th{
    border-top: none;
    word-wrap: break-word;
}

#sidebar tr:nth-child(2n) td, #sidebar th, #sidebar table.no-head tr:nth-child(2n+1) td{
    background-color: #fff;
}

#sidebar tr:nth-child(2n+1) td, #sidebar table.no-head tr:nth-child(2n) td{
    background-color: #f5f5f5;
}

#sidebar .btn {
    width: 100%;
}

/* === Page styles ===*/
.page > .wrapper {

}

#partner{
    padding: 10px 0;
}

@media screen and (max-width: 767px){
    #partner{
        padding: 0;
    }
}

#partner .spot {
    width: 19.5%;
    display: inline-block;
}

@media screen and (max-width: 991px){
    aside .research-banner iframe{
        -webkit-transform: scale(0.72);
        -moz-transform: scale(0.72);
        -ms-transform: scale(0.72);
        -o-transform: scale(0.72);
        transform: scale(0.72);
        -webkit-transform-origin: scale(0.8);
        -moz-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
    }

    aside .research-banner{
        height: 360px!important;
        width: 158px!important;
    }
}

.with-border {
    padding: 0 !important;
    margin-bottom: 20px;
}

.with-border .spot {
    border: 1px solid #eaeaea;
    /*margin-bottom: 20px;*/
    height: 52px;
    padding: 6px 2px;
}

@media (max-width: 991px) and (min-width: 768px) {
    #partner .spot div{
        width: auto!important;
    }
    #partner .spot{
        border: none;
        width: 19%;
    }
    #partner .spot iframe{
        -webkit-transform: scale(0.8);
        -moz-transform: scale(0.8);
        -ms-transform: scale(0.8);
        -o-transform: scale(0.8);
        transform: scale(0.8);
    }
    #partner{
        margin-bottom: 0;
    }
}
@media (max-width: 767px) {
    #partner .small-spots{
        width:99.5%;
        display: inline-block;
    }
    #partner .small-spots.one{
        padding-top: 8px;
    }
    #partner .small-spots.two{
        margin-bottom: 5px;
    }
    #partner .spot{
        width: 32%;
        border: none;
        padding: 0px;
        height: 40px;
    }
    #partner{
        margin-bottom: 0;
    }
    #partner .small-spots.two .to-center{
        width: 10.5%;
        display: inline-block;
        height: 37px;
    }
    #partner .spot iframe{
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}
@media (max-width: 380px) {
    #partner .spot iframe{
        -webkit-transform: scale(0.8);
        -moz-transform: scale(0.8);
        -ms-transform: scale(0.8);
        -o-transform: scale(0.8);
        transform: scale(0.8);
    }
}

#partner .spot > div{
    margin: 0 auto;
}

/* --- MAIN CONTENT --- */

.content {
    width: 700px;
}

.content-fluid {
    max-width: 700px;
}

/* --- FOOTER / SEO TEXT --- */


#footer {
    background: none repeat scroll 0 0 #d6d6d6;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    color: #333;
    padding: 20px 0;
}

#footer ul.sub {
    border-top: 1px dotted #9e9e9e;
    margin-top: 5px;
    padding: 10px 0 0 0;
}

#footer ul.sub li {
    font-size: 12px;
    padding-bottom: 3px;
    list-style-type: none;
}

#footer a{
    color: #333;
    text-decoration: none;
}

#footer a:hover, #seo a:hover {
    color: #333;
    text-decoration: none;
}

#footer .heading {
    font-size: 16px;
}

footer #seo {
    background-color: #ededed;
    color: #666;
    font-size: 14px;
    padding: 20px 0 0;
}

#seo a{
    color: #666;
    text-decoration: underline;
}

#seo p{
    margin: 0;
    line-height: 16px;
}

.bhsm {
    background-color: #ededed;
    padding-top: 15px;
    text-align: center;
}

.bhsm a {
    color: #666;
    font-size: 9px;
    margin: 0 2px;
    text-decoration: underline;
}

#copyright {
    background-color: #ededed;
    color: #666;
    font-size: 14px;
    padding: 20px;
    text-align: center;
}

/* --- INDEX PAGE --- */

#teaser h1, #teaser_research h1 {
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    line-height: 40px;
    padding: 40px 0 0;
    width: 500px;
    margin-top: 0;
}

#teaser_research h1 {
    width:320px;
}

.main-teaser .teaser-icon {
    height: 115px;
}

.main-teaser p {
    text-align:justify;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

@media (max-width: 767px) {
    #teaser h1, #teaser_research h1 {
        width: auto;
        font-size: 28px;
        line-height: 30px;
        padding-top: 25px;
    }

    .main-teaser .teaser-icon {
        display: none;
    }
}

@media screen and (min-width:768px) and (max-width: 991px) {
    .main-teaser {
        height : 430px;
    }

    .main-teaser > .btn {
        position: absolute;
        bottom: 30px;
        left: 30px;
    }
}

@media (max-width: 450px) {
    #teaser h1 , #teaser_research h1 {
        padding-top: 15px;
    }
}

#teaser_bg {
    background: url("../img/backgrounds/bg_teaser.png") repeat-x scroll left top #108ec1;
    margin: 0 -15px 25px;
}

#teaser {
    background: url("../img/backgrounds/bg_teaser.jpg") no-repeat scroll center top rgba(0, 0, 0, 0);
    color: #fff;
}

/* === RESEARCH INDEX SPECIFIC PART === */
#teaser_research {
    background: url("../img/backgrounds/bg_teaser_research.jpg") no-repeat scroll center bottom #0075B2;
    color: #FFF;
    height: 363px;
}

#research_login {
    margin-top:30px;
}

#research_login .alert {
    margin-bottom:0;
}

@media (max-width: 778px) {
    #teaser_research {
        height:auto;

    }

    #research_login{
        margin-top:10px;
    }
}

/* === END OF RESEARCH INDEX SPECIFIC PART === */

@media (max-width: 991px) {
    #teaser{
        background: url("../img/backgrounds/bg_teaser_research2.jpg") no-repeat scroll center top rgba(0, 0, 0, 0);
    }
}

#teaser-search {
    background-color: #f0f0f0;
    border: 1px solid #fff;
    box-shadow: 5px 5px 5px #0d739f;
    height: 44px;
    margin: 30px 0;
    padding: 4px 10px;
    width: 410px;
}

#teaser-search #teaser-input {
    background-color: #f0f0f0;
    border: medium none;
    color: #7d7d7d;
    font-size: 18px;
    font-style: italic;
    height: 34px;
    vertical-align: top;
    width: 342px;
}

@media (max-width: 450px) {
    #teaser-search {
        margin: 15px 0;
        width: auto;
    }
    #teaser-search #teaser-input {
        width: 80%;
        overflow:hidden;
        text-overflow : ellipsis;
    }
    #teaser-submit{
        float:right;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #more-teasers img{
        float: none;
        margin: -10px 0 -5px 26px;
    }
}

#teaser p,  #teaser_research p {
    font-size: 16px;
    line-height: 14px;
}

#more-teasers h2{
    font-size: 18px;
    margin: 0;
    padding-bottom: 10px;
    font-weight: bold;
}

#known {
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    font-size: 14px;
    margin: 10px 0 20px;
    padding: 9px;
    vertical-align: middle;
}

#known span {
    display: inline-block;
    line-height:31px;
    vertical-align: middle;
}

#known ul{
    margin: 0;
}

#known ul li {
    float: left;
    height: 31px;
    list-style-type: none;
    padding-right: 10px;
}

#known ul li span {
    display: none;
}

#known ul li div.logo {
    background: url("../img/logos/known.jpg") no-repeat scroll left top rgba(0, 0, 0, 0);
    display: inline-block;
    height: 31px;
}

#known ul li div#logo-yahoo { background-position: 0 0; width: 186px; }
#known ul li div#logo-business { background-position: -186px 0; width: 150px; }
#known ul li div#logo-reuters { background-position: -336px 0; width: 138px; }
#known ul li div#logo-zdf { background-position: -475px 0; width: 70px; }
#known ul li div#logo-times { background-position: -546px 0; width: 160px; }

@media (max-width: 991px){
    /*#known span {
        display: none;
    }*/
    #known ul li {
        float:none;
        display:inline-block;
    }
    #known ul li, #known ul {
        padding: 0;
    }
    #known ul li div#logo-yahoo {
        width: 160px;
        background-position: -15px 0;
    }
}

/* === Usages === */
.usage {
    width: 17px;
    height: 17px;
    background: url("../img/icons/usage.png") no-repeat bottom right;
    display: inline-block;
    margin-right: 3px;
    vertical-align: text-bottom;
}

.usage_box {
    display: block;
    margin-bottom: 2px;
    vertical-align: middle;
}

.usage_utility, .usage_utilities {
    background-position: 0 0;
}

.usage_others {
    background-position: -17px 0;
}

.usage_retail, .usage_mercantile {
    background-position: -34px 0;
}

.usage_education, .usage_educational {
    background-position: -51px 0;
}

.usage_religious, .usage_religion {
    background-position: -68px 0;
}

.usage_telecommunication {
    background-position: -85px 0;
}

.usage_entertainment {
    background-position: -102px 0;
}

.usage_governmental, .usage_government {
    background-position: -119px 0;
}

.usage_laboratory, .usage_research {
    background-position: 0 -17px;
}

.usage_health {
    background-position: -17px -17px;
}

.usage_hotel, .usage_lodging {
    background-position: -34px -17px;
}

.usage_infrastructure {
    background-position: -51px -17px;
}

.usage_gastronomy {
    background-position: -68px -17px;
}

.usage_cultural, .usage_culture {
    background-position: -85px -17px;
}

.usage_agriculture {
    background-position: -102px -17px;
}

.usage_natural, .usage_nature {
    background-position: -119px -17px;
}

.usage_sports {
    background-position: 0 -34px;
}

.usage_civildefense {
    background-position: -17px -34px;
}

.usage_industrial, .usage_industry {
    background-position: -34px -34px;
}

.usage_office {
    background-position: -51px -34px;
}

.usage_residential {
    background-position: -68px -34px;
}

.usage_logistics {
    background-position: -85px -34px;
}

/* --- FORM COMMON STYLES--- */
textarea:focus, textarea.form-control:focus,
input[type="text"]:focus, input[type="password"]:focus,
input[type="datetime"]:focus, input[type="datetime-local"]:focus,
input[type="date"]:focus, input[type="month"]:focus,
input[type="time"]:focus, input[type="week"]:focus,
input[type="number"]:focus, input[type="email"]:focus,
input[type="url"]:focus, input[type="search"]:focus,
input[type="tel"]:focus, input[type="color"]:focus,
.uneditable-input:focus, .form-control:focus,
.select2-container.form-control:focus .select2-input {
    border-color: rgba(6, 103, 164, 0.6);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(6, 103, 164, 0.6);
    outline: 0 none;
}

form .no-focus:focus {
    outline:0;
    box-shadow:none;
}

h1 {
    font-weight: bold;
    font-size: 24px;
    color: #212121;
    margin: 5px 0 25px 0;
}

form.form button.btn:focus {
    outline: 0 none;
}

form.form a {
    text-decoration: underline;
    color: #2194f4;
}

form.form a.btn {
    color:inherit;
    text-decoration:none;
}

form.form a:hover {
    text-decoration: none;
}

form.form button[type='submit'], .btn-submit{
    padding-left: 70px;
    padding-right:70px;
}


form.form label.required:after {
    content: " *";
}

form.form legend {
    font-weight: bold;
    text-shadow: 2px 2px 5px #fff;
    font-size: 100%;
    border-bottom:none;
    margin-bottom:0;
}

form.form .input-group-btn select {
    border-color: #ccc;
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size:13px;
}

form.form .form-control.multiple {
    margin-bottom:5px;
}

form.form span.glyphicon[rel="tooltip"],
form.form span.glyphicon.glyphicon-plus,
form.form span.glyphicon.glyphicon-minus,
form.form span.glyphicon.glyphicon-calendar,
#involvementsTable .glyphicon.glyphicon-remove,
#buildingsTable .glyphicon.glyphicon-remove{
    color: #0667A4;
    cursor:pointer;
}

form.form select.addon-select {
    height:34px;
}

/* --- EDIT BUILDING --- */
.well.well-info {
    border:none;
    background-image: -webkit-linear-gradient(top, #d9edf7 0%, #EAF6FF 100%);
    background-image: -o-linear-gradient(top, #d9edf7 0%, #EAF6FF 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#EAF6FF));
    background-image: linear-gradient(to bottom, #d9edf7 0%, #EAF6FF 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d9edf7', endColorstr='#EAF6FF', GradientType=0);
    background-repeat: repeat-x;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 #bce8f1;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 #bce8f1;
    padding:10px;
}

.well.well-info button.btn-gray {
    font-weight: bold;
}

.well .glyphicon.left,
.well .halflings.left{
    margin-right:10px;
    line-height:16px;
}

.panel .panel-heading {
    cursor:pointer;
}

/*form.form .panel .panel-body {
    background-color: #eaeaea;
}*/

.form-control.datefield {   /*overriding disabled styles*/
    background-color:#fff;
    cursor: pointer;
}

.noMatchesFound.errorText {
    display: none;
    color: #A24709;
}

.form-group .cloneable {
    position: relative;
    margin-bottom:10px;
}

.form-group .cloneable .record-buttons {
    position: absolute;
    height:30px;
    width:17px;
    top:50%;
    margin-top:-15px;
    right:-17px;
    text-align: center;
    line-height:14px;
}

form.form table.table td{
    min-width:50px;
}

form.form #involvementsTable #rolesBlock,
form.form #involvementsTable #addBinding {
    display: none;
}

form.form #involvementsTable {
    background-color: #fff;
}

form.form #involvementsTable tr > th:first-child,
form.form #involvementsTable tr > td:first-child {
    width:60%;
}

form.form #involvementsTable.complex tr > th:first-child,
form.form #involvementsTable.complex tr > td:first-child {
    width:80%;
}

form.form #involvementsTable label.normal,
#buildingsTable label.normal {
    font-weight:normal;
}

form.form .panel .sources {
    padding-right:20px;
}

form.form .optionallyAvailableInputField { display: none; }

p.middle {
    margin-bottom:0;
}

/* === edit form map styles  === */
form.form div#mapCanvas {
    background: none transparent;
    border: 1px solid #CCCCCC;
    height: 250px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

form.form div#mapCanvas img {
    max-width: none;
}

form.form div#mapCanvas.doubleHeight {
    height: 500px;
}

form.form div#mapCanvas > button#mapActivate {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -13px;
    margin-left: -115px;
    z-index:3;
}

form.form div#mapCanvas > img#mapStaticImage {
    opacity:0.3;
    filter: alpha(opacity=30);
    width:100%;
    height:100%;
}

form.form button#mapSizingBtn,
form.form button#mapPinpointsBtn,
form.form span#fetchBuildingsText,
form.form div#zoomMessage,
form.form div#mapPopup,
form.form input#search-input {
    display:none;
}

form.form span#fetchBuildingsText {
    position:absolute;
    z-index:1000;
    top:20px;
    left:50px;
    background: #000;
    border-radius:4px;
}

form.form div#zoomMessage {
    position: absolute;
    z-index: 1000;
    top: 50px;
    left: 10px;
    padding: 5px;
    font-size: 12px;
    max-width: 200px;
}

form.form input#search-input,
#mapCanvas #search-control {
    margin-top: 6px;
    border: 1px solid transparent;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 26px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    padding: 0 11px 0 13px;
    width: 250px;
    font-size: 12px;
    font-weight: 300;
    text-overflow: ellipsis;
}

#mapCanvas #search-control {
    padding-right:20px;
}

form.form input#search-input:focus,
#mapCanvas #search-control:focus {
    border-color: #4d90fe;
    margin-left: -1px;
    padding-left: 14px;  /* Regular padding-left + 1. */
    width: 251px;
}

@media  screen and (max-width: 480px) {
    #mapCanvas #search-input-block {
        right:7px !important;
        top:25px !important;
    }

    #mapCanvas #search-control {
        width:175px;
    }

    form.form div#mapCanvas > button#mapActivate {
        white-space:normal;
        margin-top: -27px;
        margin-left: -75px;
        width:150px;
    }
}

form.form span#search-icon {
    width: 18px;
    height:17px;
    position: absolute;
    top: 11px;
    right:4px;
    background: url('../img/icons/search_small_transp.png') no-repeat;
    cursor: pointer;
}

div#mapPopup {
    min-width:200px;
    /*padding-bottom:10px;
    box-sizing:border-box;*/
    /*min-height:240px;*/
}

.gm-style-iw {
    min-width:190px !important;
}

.gm-style-iw > div {
    overflow:visible !important;
}

div#mapPopup img {
    max-width:120px !important;
    max-height:120px;
}

div#mapPopup > div.building-image {
    background: none repeat scroll 0 0 #FFFFFF;
    box-shadow: 1px 1px 2px #B5B5B5;
    padding: 5px;
    max-width:130px;
    max-height:130px;
}

div#mapPopup > div.building-details {
    width:190px;
    margin-left:5px;
    white-space:nowrap;
}
div#mapPopup > div.building-details table {
    border-spacing: 5px 0;
    border-collapse: separate;
}

div#mapPopup > div.building-details .building-name {
    white-space:normal;
}

#map_canvas {
    cursor:pointer;
    margin:0 auto;
    border:1px solid #ccc;
    display: block;
}

/* === Building index page === */
.map, .country_map {
    background: #fff;
    box-shadow: 1px 1px 2px #B5B5B5;
    -moz-box-shadow: 1px 1px 2px #b5b5b5;
    -webkit-box-shadow: 1px 1px 2px #b5b5b5;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
    overflow-x:auto;
}

ul#continent-list.noicon-list {
    padding-left:20px;

}

ul#continent-list.noicon-list > li {
    width: 33%;
    float: left;
}

div#continent_select {
    background: url('../img/maps/world.jpg');
    width:640px;
    height:268px;
    margin: 0 auto;
}

/* === Building statistics tallest worldwide page === */
#skyscraperDiagram {
    width: 100%;
    height: 450px;
    margin-bottom: 15px;
    position: relative;
    padding-left:50px;
    padding-right:30px;
    background-image:url(../img/buildings/background.png);
}

#skyscraperDiagram .whole-image {
    position: absolute;
    height: 0;
    width: 0;
    overflow: hidden;
}

.statistics-image .white-block{
    height: 25px;
    background-color: #fff;
    margin-top: -30px;
    position: relative;
}

@media screen and (max-width: 991px) {
    .statistics-image{
        overflow-x: scroll;
        overflow-y: hidden;
    }
}


#skyscraperDiagram h1, .timespan {
    /*position: absolute;
    top: 400px;
    width: 940px;*/
    color: #888;
    line-height: 38px;
    text-align: center;
    text-shadow: 0 1px 0 #f0f0f0;
    text-transform: uppercase;
}

@media screen and (min-width: 992px) {
    #skyscraperDiagram {
        overflow: visible;
    }
}


#skyscraperDiagram table {
    table-layout: fixed;
    width:100%;
    height:400px;
    min-width:600px;
}

#skyscraperDiagram table td {
    vertical-align:bottom;
}

#skyscraperDiagram .buildingImage {
    position:relative;
    text-align: center;
    bottom:4px;
}

@media screen and (max-width: 768px) {
    #skyscraperDiagram h1 {
        white-space: nowrap;
        margin-bottom: 0;
    }
}

.building-info a.image-colorbox {
    float:left;
    margin: 5px 15px 0 0;
}

/* === BUILDING STATISTICS INFOBOX === */
.buildingImage:hover .box-white {
    display: block !important;
}

.buildingImage .box-white {
    position: absolute;
    left:100%;
    bottom:40px;
    width:360px;
    z-index:1000;
    text-align: left;
}

.buildingImage .box-white .hoverInfo {
    line-height:1.5;
}

.buildingImage .box-white .hoverInfo:nth-child(even) {
    background-color: #fafafa;
}

.buildingImage .box-white .hoverInfo span {
    display: block;
    width: 150px;
    float: left;
}

.buildingImage .box-white .hoverInfoText {
    margin-top:10px;
}

/* === LEGEND CONTROL === */

.legend {
    margin: 10px 10px 0;
    display: inline-block;
    font-size: 12px;
}

table#awards-table td label {
    width: 100px;
}

table#building-list label {
    width : 200px;
}

table.table td.picture-cell {
    min-width:130px;
}

/* === awards table rows backgrounds === */

table#awards-table #award1{
    background: url('../img/icons/badge_1.png') transparent no-repeat right top;
}

table#awards-table #award2{
    background: url('../img/icons/badge_2.png') transparent no-repeat right top;
}

table#awards-table #award3{
    background: url('../img/icons/badge_3.png') transparent no-repeat right top;
}

/* === Position bar breadcrumb === */

.position_bar .breadcrumb {
    display: inline-block;
    margin-bottom: 10px;
}
.position_bar .breadcrumb > li {
    white-space: nowrap;
}

div.skyline {
    margin-bottom:15px;
}

/* ==== dashboard ==== */

.panel-collapse.panel-body.top-user{
    padding: 2%;
}

.tab-content.with-border{
    border: 1px solid #ccc;
    border-width: 0 1px 1px 1px;
}

.thumbnail.no-frame, .img-thumbnail.no-frame{
    box-shadow: none;
    border: none;
}

.caption .with-status-icon {
    margin-right: -13px;
    padding-top: 3px;
}

.thumbnail.gallery-item{
    margin-top: 10px;
    margin-bottom: 10px;
}

@media screen and (max-width: 991px) {
    .double-panel div:first-child .panel{
        margin-bottom: 5px;
    }
}

.panel .btn.show-all {
    margin: 5px 0 -9px;
}

.nav-tabs.small li a{
    white-space: nowrap;
    padding-left: 3px;
    padding-right: 3px;
}

.nav-tabs.small li a .badge{
    margin-left: 4px;
    padding: 2px 5px;
}

.badge{
    background-color: #428bca;
}

.disabled .badge{
    background-color: #888;
}



.nav-tabs li a{
    padding-left: 3px;
    padding-right: 3px;
    outline: 0;
}

@media screen and (max-width: 991px){
    .myImages .nav-tabs li a{
        font-size: 85%;
    }
}

.nav-tabs li a .badge{
    margin-left: 4px;
    margin-right : 4px;
    padding: 2px 5px;
    float: none!important;
}

.statistic_box .picture-cell{
    display: none;
}


/* ==== dashboard news ==== */
.news-item:nth-child(even) {
    background-color: #F7F7F7;
}

.news-item .news-header {
    font-weight:bold;
    margin-left:10px;
}
.news-item .news-date {
    font-style : italic;
}

.pagination > li.active > span,
.pagination > li.active:hover > span {
    background-color: #0667a4;
}

.panel .table {
    margin-bottom : 0;
}

/*.panel-group .double-panel.row {
    margin-top:5px;
}*/

/* === TOP USERS === */
a.nowrap.ellipsis {
    overflow: hidden;
    display: block;
    max-width:110px;
    text-overflow: ellipsis;
}

@media  screen and (max-width: 968px) {
    a.nowrap.ellipsis {
        max-width:100px;
    }
}

/* === My companies similarity with My buildings === */
.company-typeicon-wrapper {
    width: 78px;
    height: 78px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    border:1px solid #ddd;
    box-sizing: content-box;
}

.company-typeicon-wrapper > .type {
    margin-right:0;
}

/* === My images bottom buttons alignment === */
@media screen and (max-width:767px) {
    #myImages-inreview .left-btn, #myImages-approved .left-btn,
    #myImages-uploaded .left-btn, #myImages-declined .left-btn,
    #myImages-inreview .right-btn, #myImages-approved .right-btn,
    #myImages-uploaded .right-btn, #myImages-declined .right-btn{
        text-align: center;
        margin-bottom:10px;
    }

    #myImages-inreview .left-btn > a, #myImages-approved .left-btn > a,
    #myImages-uploaded .left-btn > a, #myImages-declined .left-btn > a,
    #myImages-inreview .right-btn > a, #myImages-approved .right-btn > a,
    #myImages-uploaded .right-btn > a, #myImages-declined .right-btn > a{
        width:200px;
    }
}

/* === Images ==== */
#shop-search-box, #filter-box {
    padding: 15px 20px;
    background: #eaeaea;
    border-radius: 5px 5px 0 0;
    color: #212121;
    border: none;
}

#filter-box {
    border-radius: 0 0 5px 5px;
}

#filter-toggle {
    margin-top: -3px;
    background-color: #eaeaea;
    width: 50px;
}

#shop-search-box + .box {
    border-top-left-radius: 0;
    border-top-right-radius: 0
}

#shop-search-box .shop-search {
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 5px 5px 5px #bdbdbd;
}

#shop-search-box .shop-search-info {
    font-size: 18px;
    line-height: 25px;
    color: #333;
    text-align: right;
}

#shop-search-box .shop-search-input {
    font-size: 18px;
    border: none;
    margin: 5px 0;
    padding: 5px 5px 5px 15px;
    font-style: italic;
    color:#aaa;
    width:80%;
}

#shop-search-box .shop-search-input:focus {
    box-shadow: none;
    outline: 0;
}

#shop-search-box #image-search-btn {
    position: absolute;
    top:50%;
    margin-top:-17px;
    right: 10px;
}

.shop-teaser {
    position:relative;
    margin-bottom:20px;
}

.shop-teaser > .shop-teaser-headline {
    position: absolute;
    z-index: 50;
    color: #fff;
    padding:10px;
    top:20px;
    left:20px;
    max-width:430px;
}

.shop-teaser > .shop-teaser-headline > h1 {
    color: #fff;
    font-size: 36px;
    line-height: 40px;
    margin: -5px 0 5px 0;
}

.shop-teaser #slideshow {
    width:100%;
    height:310px;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
}

.shop-teaser #slideshow > .slide {
    z-index:5;
    max-width:100%;
    width:100%;
    height:310px;
}

.shop-teaser #slideshow > .slide > .slide-copyright {
    position: absolute;
    bottom:10px;
    right:10px;
    text-align: right;
    font-size:11px;
    color:#fff;
    text-shadow: 0 1px 2px #aaa;
}

@media screen and (max-width: 991px){
    .cart-change-controls{
        text-align: left;
    }
    .cart-change-controls a{
        padding: 1px 9px;
    }
}

@media screen and (max-width: 767px){
    .cart-change-controls a{
        padding: 1px 0;
    }
}

/* IMAGES SLIDESHOW */
.shop-teaser #slideshow #slide-shop1 {
    background: url("../img/backgrounds/bg_images1.jpg") no-repeat top left;
}

.shop-teaser #slideshow #slide-shop2 {
    background: url("../img/backgrounds/bg_images2.jpg") no-repeat top left;
}

.shop-teaser #slideshow #slide-shop3 {
    background: url("../img/backgrounds/bg_images3.jpg") no-repeat top left;
}

.shop-teaser #slideshow #slide-shop4 {
    background: url("../img/backgrounds/bg_images4.jpg") no-repeat top left;
}

.shop-teaser #slideshow #slide-shop5 {
    background: url("../img/backgrounds/bg_images5.jpg") no-repeat top left;
}
.shop-teaser #slide-nav.shop-slider {
    background: url("../img/backgrounds/bg_slidenav2.png") no-repeat left top;
    height:16px;
    padding:4px;
}

.shop-teaser #slide-nav.shop-slider > a {
    width: 13px;
    height: 13px;
    display: inline-block;
    text-decoration: none;
    color: transparent;
}

.shop-teaser #slide-nav.shop-slider > a.activeSlide {
    background: url('../img/backgrounds/bg_slidenav_active.png') no-repeat top left;
}

.nav-small {
    margin-bottom: 5px;
}

.nav-small > li > a {
    padding: 3px 5px;
}
.nav-small > li > a > span{
    margin-left: 5px;
}

/* === Checkout navbar === */
ul#checkout-cart {
    margin-bottom:10px;
}

ul#checkout-cart li a{
    white-space: nowrap;
}

ul#checkout-cart li.divider {
    color: #ccc;
}

/* === Image gallery === */

.gallery-item.thumbnail > .image-wrapper {
    display: table;
    width:100%;
    height:120px;
}

.gallery-item.thumbnail > .research-image-wrapper {
    height:220px !important;
}

.gallery-item.thumbnail > .image-wrapper > a {
    display:table-cell;
    vertical-align:middle;
}

.gallery-item.thumbnail .caption span.glyphicon-shopping-cart {
    margin-right: 5px;
    top: 1px;
}

.gallery-item.thumbnail > .image-wrapper > a > img {
    max-height:120px;
}

.gallery-item.thumbnail > .research-image-wrapper > a > img {
    max-height:210px !important;
}

.gallery-item.thumbnail .caption {
    padding: 5px 10px 2px;
    height: 27px;
}

.gallery-item-last {
    display:table;
    height:160px;
    width:100%;
}

.gallery-item-last > a,
.gallery-item-last > div{
    display:table-cell;
    vertical-align: middle;
    text-align: center;
}

.gallery-item-last .btn {
    display:block;
    margin-top: 4px;
    margin-bottom: 2px;
}

.image-section .buttons {
    text-align: right;
    margin-top: 5px;
}
.image-section .buttons a {
    margin-left: 10px;
}

@media screen and (max-width: 767px) {
    .image-section a.show-pdf-dialog {
        margin-bottom: 5px;
    }
}

#singlerow-justified-search-gallery {
    height: 200px !important;
}

#singlerow-justified-search-gallery a{
    height: 0;
    width: 0;
}

.admintools .gallery-item.thumbnail > .image-wrapper > a {
    height: 120px;
    display: block;
}
.admintools .gallery-item.thumbnail > .image-wrapper > a > img {
    border: none;
}

div.hoverPopup {
    position:absolute !important;
    z-index:1000;
    border:1px solid #ccc;
    display:none;
    background:#fff;
    padding:10px 10px 0;
    -webkit-box-shadow: 0px 4px 17px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 4px 17px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 4px 17px 0px rgba(50, 50, 50, 0.75);
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
}

div.hoverPopup > p {
    font-size:12px;
    width:90%;
    margin:0 auto;
    text-align: center;
    padding:10px 0;
    line-height:14px;
}

div.hoverPopup > p > span {
    display: block;
}

#resolutions .offer {
    padding: 10px;
    color: #212121;
    word-wrap: break-word;
    margin-bottom: 20px;
    border: none;
    font-size: 12px;
}

#resolutions .offer .btn {
    width:130px;
    display: block;
    margin: 10px auto 0;
}

#resolutions .btn .glyphicon-shopping-cart{
    top: 1px;
}

#resolutions .vat-notice{
    color: #777;
    font-weight: normal;
    font-size: 18px;
}

@media screen and (max-width: 991px){
    #resolutions .offer .btn, #resolutions .offer .btn.de100, #resolutions .offer .btn.fr100 {
        float: right;
        width: auto!important;
    }
}

/* === UPLOAD IMAGES === */
/*
form.form div.dz-default {
    border-top:1px #ccc solid;
    cursor: pointer;
    padding:10px;
}
*/

#uploadForm {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor:pointer;
}

#uploadForm.drop-here {
    -webkit-box-shadow: 0 0 7px 3px #0667a4;
    -moz-box-shadow:    0 0 7px 3px #0667a4;
    box-shadow:         0 0 7px 3px #0667a4;
}

form.form div.upload-icon {
    font-size:30px;
    display: block;
    margin:10px auto;
}

div.dropzone-previews {
    margin:0 15px;
}
div.dz-preview {
    position: relative;
    margin-top:15px;
    margin-bottom:0;
}

div.dz-preview form.form {
    margin-bottom: 0;   /*iframe css override*/
}

div.dz-preview div.error-info,
div.dz-preview div.success-info,
div#dropzone-alert-success,
div#dropzone-alert-error {
    display:none;
}

input.date + button.btn {
    position:absolute;
    top:50%;
    right:0;
    background-color: transparent;
    margin-top:-15px;
}

div.dz-preview img.thumbnail{
    margin-bottom:0;
}

div.dz-preview .waiting {
    background-color : #e1dfdb;
}

div.dz-preview .overlay {
    position: absolute;
    top:50%;
    left:50%;
    margin-top:-32px;
    margin-left:-32px;
    z-index:10000;
    background:transparent url('../map/img/spinner-large.gif') no-repeat;
    width:64px;
    height:64px;
}

div.upload-marks {
    position: absolute;
    right:20px;
    top:10px;
}

div.upload-marks div.dz-success-mark,
div.upload-marks div.dz-error-mark{
    display:none;
}

div.upload-marks span.glyphicon,
div.upload-marks span.halflings {
    color:#000;  /*#3c763d*/
    font-size:20px;
}

p.folded-status {
    font-size:12px;
    margin-bottom:0;
}

/*
* Off Canvas
* --------------------------------------------------
*/
@media screen and (max-width: 767px) {
    .row-offcanvas {
        position: relative;
        -webkit-transition: all .25s ease-out;
        -o-transition: all .25s ease-out;
        transition: all .25s ease-out;
    }

    .row-offcanvas-right {
        right: 0;
    }

    .row-offcanvas-left {
        left: 0;
    }

    .row-offcanvas-right
    .sidebar-offcanvas {
        right: -50%; /* 6 columns */
    }

    .row-offcanvas-left
    .sidebar-offcanvas {
        left: -50%; /* 6 columns */
    }

    .row-offcanvas-right.active {
        right: 50%; /* 6 columns */
    }

    .row-offcanvas-left.active {
        left: 50%; /* 6 columns */
    }

    .sidebar-offcanvas {
        position: absolute;
        top: 0;
        width: 50%; /* 6 columns */
    }
}

/* === BUILDING QUERY TOOL === */
#areaSearch {
    text-indent: 999px; /*before autocomplete load hiding value*/
}

/*.research-group ul.nav.nav-pills {
    position: relative;
    *//*z-index:2;*//*
}*/

.research-group .nav-pills > li + li {
    margin-left: 0;
}

.research-group ul.nav.nav-pills.top-level > li > a {
    border:1px solid transparent;
    background-color:#fafafa;
    font-weight:bold;
    padding:5px 15px;
}

/* === Added Require all companies checkbox style === */
.research-group ul.nav.nav-pills.top-level li.all-companies {
    clear: both;
    width: 100%;
    text-align: center;
    margin-bottom: -10px;
    margin-top: 15px;
}

.research-group ul.nav.nav-pills.top-level li.all-companies input.not-count {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
/* === End of new checkbox styles === */

.research-group ul.nav.nav-pills > li .option-title {
    position: relative;
    display:table;
    width:100%;
    padding-right:16px;
}

.research-group ul.nav.nav-pills > li .option-title-text {
    display: table-cell;
    vertical-align: middle;
    /*word-break: break-word;*/
}

.research-group ul.nav.nav-pills.top-level > li.active > a,
.research-group ul.nav.nav-pills.top-level > li > a:hover{
    border:1px solid #ccc;
    background-color: #fff;
    color: #2a6496;
}

.research-group ul.nav.nav-pills > li.active > .option-wrapper,
.research-group ul.nav.nav-pills > li > .option-wrapper {
    padding:5px 10px;
    background-color: #eee;
    color: black;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    cursor:pointer;
}

.research-group ul.nav.nav-pills > li.active > a {
    border-bottom:none !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.research-group ul.nav.nav-pills.top-level > li.active > a,
.research-group ul.nav.nav-pills.child-level > li.active > .option-wrapper.to-extend {
    padding-bottom:20px;
}

@media screen and (max-width:768px) {
    .research-group ul.nav.nav-pills.top-level > li.active > a {
        padding-bottom:10px;
    }
    .research-group ul.nav.nav-pills.child-level > li.active > .option-wrapper.to-extend {
        padding-bottom: 5px;
    }
    .topBody > ul {
        padding-top:0 !important;
    }
}

.research-group ul.nav.nav-pills.top-level > li > a .glyphicon-chevron-down,
.research-group ul.nav.nav-pills.child-level > li > .option-wrapper.to-extend .glyphicon-chevron-down,
.research-group ul.nav.nav-pills.top-level > li.active > a .glyphicon-chevron-up,
.research-group ul.nav.nav-pills.child-level > li.active > .option-wrapper.to-extend .glyphicon-chevron-up {
    display: block;
}

.research-group ul.nav.nav-pills.top-level > li > a .glyphicon-chevron-up,
.research-group ul.nav.nav-pills.child-level > li > .option-wrapper.to-extend .glyphicon-chevron-up,
.research-group ul.nav.nav-pills.top-level > li.active > a .glyphicon-chevron-down,
.research-group ul.nav.nav-pills.child-level > li.active > .option-wrapper.to-extend .glyphicon-chevron-down {
    display:none;
}

.research-group .option-wrapper.to-extend .glyphicon-chevron-up {
    padding:2px 2px 2px 3px;
}

.research-group .option-wrapper.to-extend .glyphicon-chevron-down{
    padding:3px 3px 1px 2px;
    /*padding:2px;*/
}

.research-group .option-wrapper.to-extend .glyphicon-chevron-up:hover,
.research-group .option-wrapper.to-extend .glyphicon-chevron-down:hover{
    background-color:white;
    border-radius:3px;
}

.research-group .option-wrapper.to-extend.active .glyphicon-chevron-up:hover,
.research-group .option-wrapper.to-extend.active .glyphicon-chevron-down:hover,
.research-group .option-wrapper.to-extend.semi-active .glyphicon-chevron-up:hover,
.research-group .option-wrapper.to-extend.semi-active .glyphicon-chevron-down:hover {
    background-color:#eee;
    color:black;
}


/*.research-group div.tab-pane.active {
    border-radius: 4px;
    position: relative;
    z-index: 1;
    padding-top:15px;
}

.research-group div.tab-pane.active:first-of-type {
    border-top-left-radius:0;
}

.research-group div.tab-pane.active:last-of-type {
    border-top-right-radius:0;
}

.research-group div.tab-content.top-level > .tab-pane.active {
    border:1px solid #ccc;
    background-color:#fff;
    margin-top:-1px;
}

.research-group div.tab-content.child-level > .tab-pane.active {
    background-color:#eee;
    margin-top:-2px;
    padding-bottom:15px;
}

.research-group div.tab-content > .tab-pane.active .research-option {
    display: block;
    position: relative;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 4px;
    color: black;
    padding:2px 0 2px 10px;
    cursor: pointer;
    overflow:hidden;
}*/

.research-group .option-wrapper.active,
.research-group .research-option.active {
    background-color:#0667A4 !important;
    color:#fff !important;
}

.research-group .option-wrapper.to-extend.semi-active {
    background-color: #97C2DB !important;
    color:#fff !important;
}

.research-group ul.nav.nav-pills > li .research-option.active:hover .glyphicon-remove,
.research-group ul.nav.nav-pills > li .option-wrapper.active:hover .glyphicon-remove{
    display: block !important;
    visibility: visible !important;
}

.research-group li.topBody .research-option:hover,
.research-group ul.nav.nav-pills > li > .option-wrapper:hover{
    text-decoration: none;
    background-color: #ccc;
}

.research-group ul.nav.nav-pills > li.active > .option-wrapper:hover {
    border-radius:4px 4px 0 0;
}

.research-group {
    padding-bottom:15px;
}

.research-group .tab-content.top-level > .tab-pane > ul.nav > li { /*no research-group layer between list and tab pane*/
    margin-bottom: 15px;
}

.research-group span.glyphicon-chevron-down,
.research-group span.glyphicon-chevron-up,
.research-group span.glyphicon-remove{
    position:absolute;
    right:0;
    top:50%;
    margin-top:-7px;
}

.research-group span.glyphicon-remove.offset {
    right:5px;
}

.research-group .normal {
    font-weight:normal;
}

.research-group .units-select {
    padding-left:2px;
    padding-right:2px;
}
.topCat, .childCat  {
    margin-top:10px;
    position: relative;
    z-index:10;
}
ul.nav.nav-pills > li.added{
    margin-top:0;
    position: relative;
    z-index:9;
}

ul.nav.nav-pills > li.added .tab-pane.active {
    border-radius:0;
}

.topBody > ul, .topBody > div.ul {  /*div.ul as measurement container*/
    border: 1px solid #CCC;
    background-color: #FFF;
    margin-top: -1px;
    border-radius: 0 0 4px 4px;
    position: relative;
    z-index: 1;
    padding-top: 10px;
}

.childBody > ul {
    background-color: #EEE;
    margin-top: -2px;
    padding: 10px 0;
}

.catNameTextWrapper, .catNameIconWrapper {
    display:table-cell;
    vertical-align: middle;
}

.catNameTextWrapper {
    width:100%;
}
.catNameIconWrapper {
    width:1%;
    white-space: nowrap;
}

.catNameIconWrapper > .glyphicon {
    width:14px;
    height:14px;
    font-size:14px;
    /*resetting css*/
    position: static !important;
    right: auto !important;
    top: auto !important;
    margin-top:auto !important;
}

.catNameText {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}

.research-option {
    display: block;
    position: relative;
    margin:5px 0;
    border-radius: 4px;
    color: #000;
    padding: 2px 0 2px 10px;
    cursor: pointer;
    overflow: hidden;
}

.option-wrapper {
    display:table;
    width:100%;
}
div.add-category-block {
    border-top: 5px dashed #dadada;
    padding:15px 0;
    /*margin:15px 0;*/
}
div .missingdata div.add-category-block {
    border-top: 0;
    border-bottom: 5px dashed #dadada;
    padding:0 0 15px;
    /*margin:15px 0;*/
}

.search-container .query-field {
    padding-top:10px;
}
.search-container .control-label {
    padding-top:15px;
}

.search-container .form-group {
    margin-bottom: 5px;
}

.search-container.sticky {
    position: fixed;
    top:0;
    z-index:1000;
}

.search-container.sticky .query-field {
    padding-top:0;
}

.search-container.sticky .results-container.col-xs-6 {
    height:34px;
}

.search-container.sticky .results-container.col-xs-6 #resultsCount,
.search-container.sticky .results-container.col-xs-6 #queryingAnimation {
    position: absolute;
    bottom: 0;
}

.querytool {
    z-index: 2000;
    overflow: visible;
}

.querytool #queryingAnimation {
    background: url('../img/icons/loading_bar.gif') transparent no-repeat center;
    width:100px;
    height:15px;
    border:0;
    display: inline-block;
}



div.hoverDetails {
    position: absolute;
    z-index:10;
    width:100%;
    left:0;
}

#resultsTable tr.details {
    display:none;
}

#resultsTable.table-striped > tbody > tr:nth-child(odd) > td,
#resultsTable.table-striped > tbody > tr:nth-child(odd) > th,
#resultsTable .table-striped > tbody > tr:nth-child(odd) > td,
#resultsTable .table-striped > tbody > tr:nth-child(odd) > th{
    background-color: transparent;
}

#resultsTable.table-striped > tbody > tr:nth-child(4n+1) > td,
#resultsTable.table-striped > tbody > tr:nth-child(4n+1) > th,
#resultsTable .table-striped > tbody > tr:nth-child(4n+1) > td,
#resultsTable .table-striped > tbody > tr:nth-child(4n+1) > th{
    background-color: #f9f9f9;
}

#resultsTable .glyphicon.details-button,
#resultsTable .halflings.details-button{
    font-size:20px;
    cursor: pointer;
    color:#bbb;
    top:0;
}

/* === REGISTRATION PAGE === */
#register-teaser {
    background: url('../img/backgrounds/bg_community.jpg') #15191A no-repeat left top;
    border-radius:5px;
    padding:20px;
    margin-bottom:20px;
}

#register-teaser .form a{
    color:white;
}

#register-teaser .form input[type="submit"] {
    display:block;
}

#register-teaser .register-title {
    color: #fff;
    font-size: 40px;
    line-height: 50px;
    text-shadow: 0 0 10px #212121;
    /*float: right;
    max-width: 370px;*/
}

/* === STANDARDS PAGE === */
.data-standards form,
.data-standards .standards-block {
    margin-bottom:20px;
}

.data-standards .noicon-list {
    margin-left:20px;
}

.data-standards .data-standard {
    text-decoration:underline;
}

.data-standards .standards-block:nth-child(even) {
    float:right;
}

/* === COMPANIES BY CITIES PAGE === */
#listAlphabetical {
    margin-bottom:10px;
}

#listAlphabetical > li > a {
    padding: 3px 5px;
    text-decoration:underline;
}

#listAlphabeticalResults {
    padding-left:20px;
}

/* PREMIUM COMPANY STYLES */
tr.premium td {
    background-color: #eff2f4 !important;
}

tr.premium td .thumbnail img.small {
    max-width: 60px;
}

tr.premium td .premium-entry .thumbnail {
    display: inline-block;
    max-width: 70px;
    margin: 0 5px 0 0;
}

tr.premium td .premium-entry a {
    display: inline-block;
    vertical-align: middle;
}

tr.premium td .premium-entry b {
    display: inline-block;
    margin: 0;
}

.company-level {
    text-transform: capitalize;
    font-weight:bold;
}

div.contact-details > div:first-child {
    margin-top:10px;
}


.company-logo{
    padding: 0;
}

.company-logo img {
    margin: 10px 0;
    max-width: 270px;
    border: 10px solid #ffffff;
    border-radius: 5px;
    background: #fff;
}

@media screen and (max-width: 991px) and (min-width: 768px){
    .company-logo img{
        max-width: 200px;
    }
}

/* ==== Successful registration small page styles ==== */
#registerSuccess #message{
    position: fixed;
    top: 50%;
    font-size: 14px;
    width: 80%;
    left: 50%;
    margin-left: -40%;
    text-align: center;
}

#registerSuccess #refreshBtn {
    position: fixed;
    bottom: 30px;
}

#registerSuccess #closeBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
}

/* === Involvements for companies  ===  */
#renovTable {
    margin-top:5px;
}

/* === PRODUCTS SLIDESHOW === */
.products-slider > #slide-building {
    background: url('../img/backgrounds/bg_teaser_products_building_intelligence.jpg') no-repeat top left;
}

.products-slider > #slide-images {
    background: url('../img/backgrounds/bg_teaser_products_image_intelligence.jpg') no-repeat top left;
}

.products-slider > #slide-premium {
    background: url('../img/backgrounds/bg_teaser_products_premium_company_listings.jpg') no-repeat top left;
}

.products-slider > #slide-advertising {
    background: url('../img/backgrounds/bg_teaser_products_online_advertising.jpg') no-repeat top left;
}

.products-slider > #slide-reference {
    background: url('../img/backgrounds/bg_teaser_products_reference_customers.jpg') no-repeat top left;
}

.products-slider > .slide > .slider-text-block {
    position: absolute;
    top: 70px;
    left: 20px;
    width: 320px;
    height: 220px;
    padding:10px;
}

@media screen and (max-width: 370px) {
    .products-slider > .slide > .slider-text-block {
        width:auto;
        border-right: 1px solid #C0C0C0;
    }
}

.products-slider > .slide > .slider-text-block > .btn {
    position:absolute;
    bottom:10px;
    right:10px;
}

#additionalBox {
    background-color:#dae8f1;
}

.products-box > .image {
    height:150px;
}

/* === Products -> research === */
.product-heading {
    color: #0667A4;
}

h1.product-heading {
    font: 35px/38px sans-serif;
    margin-top: 20px;
    text-align: center;
}

.products-list {
    list-style-type: none;
    width:600px;
}

@media screen and (max-width:600px) {
    .products-list {
        width:auto;
    }
}

.products-list > li {
    padding-left:10px;
    font-size:16px;
}

.products-list > li:before {
    content: "• ";
    color: #0667A4;
    font-size:20px;
    vertical-align:middle;
    margin-left:-13px;
}

.product-box {
    background-color:#f8f8f8;
}

.customer-logo {
    display:inline-block;
    width:19.5%;
    height:75px;
    line-height:75px;
    vertical-align:middle;
}

.customer-logo.products {
    width:32.5%;
}

@media (max-width: 768px) {
    .customer-logo {
        width:32%;
    }

    .customer-logo.products {
        width:49%;
    }
}

@media (max-width: 560px) {
    .customer-logo {
        width:49%;
    }
}

@media (max-width: 400px) {
    .customer-logo {
        width:99% !important;
    }
}

.between-labels {
    position: absolute;
    left: 15px;
    top: 132px;
    font-weight: bold;
}
/* === CONTACT FORM === */
#contactForm {
    margin-top:20px;
}

/* === CONTACT BOX ==== */
#contactBoxWrapper {
    /*margin-left:-15px;
    margin-right:-15px;*/
    position:fixed;
    bottom:0;
    z-index:1000;
    box-sizing: content-box;
    display: none;
}

#contactBox {
    background-color: #057DB6;
    color: #fff;
    box-shadow: 0 0 3px #666;
    padding: 10px;
}

#moreInfo_box {
    border-radius:0;
}

#contactBox h4 {
    margin:10px 0;
}

#contactBox .btn {
    margin-top:5px;
}

/* === Products -> Online advertising === */
#targetList {
    font-size:16px;
    line-height:20px;
}

#targetList span {
    display: inline-block;
    height: 10px;
    margin: 0 8px 1px 0;
    width: 10px;
}

.pricing {
    background-color: #58B8DD;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 30px;
    margin: 20px 30px;
    padding: 10px 25px;
    text-align: center;
    font-weight: bold;
}

.pricing h4 {
    margin-bottom: 0;
    border-bottom: 2px solid;
    padding-bottom: 5px;
}

/* ==== QUERY TOOL STYLES === */
table.table.table-xsmall.table-striped tr.new-result:nth-child(even) > td {
    background: #E3F2D5 !important;
}
table.table.table-xsmall.table-striped tr.new-result:nth-child(odd) > td {
    background: #E3F2D5 !important;
}

/* ==== Search Result Styles === */
.type {
    width: 53px;
    height: 52px;
    background-size: contain;
    margin-right: 10px;
    overflow: hidden;
    display: inline-block;
}
.type img {
    max-width: 53px;
    max-height: 52px;
}
.type_building {
    background-image: url(../img/icons/type_building.png);
}
.type_company {
    background-image: url(../img/icons/type_company.png);
}
.type_city {
    background-image: url(../img/icons/type_city.png);
}
.type_complex {
    background-image: url(../img/icons/type_complex.png);
}
.type_country {
    background-image: url(../img/icons/type_country.png);
}
.type_image {
    background-image: url(../img/icons/type_image.png);
}

/* === IMAGE BOX SIDEBAR === */
#sidebarImageList .image-box-item {
    float: left;
    width: 49%;
    margin-right: 1%;
    margin-bottom:1%;
}

#sidebarImageList .image-box-item.navigate {
    padding-top: 20px;
    text-align: center;
}

#sidebarImageList .image-box-item img {
    width:100%;
}

#sidebarImageList img {
    height:100px;
}

#sidebarImageList .btn {
    margin-top:10px;
}

/* === CORPORATE -> About us === */
.press-image {

}

.press-image > div.thumbnail {
    width:86px;
    height:86px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.press-image img {
    max-height: 76px !important;
    max-width: 76px !important;
}

@media screen and (max-width:768px) {
    .press-image {
        /*float:left;*/
        margin:0 10px 10px 0;
        /*width:120px;*/
    }

    .press-image > div.thumbnail {
        width:100px;
        height:100px;
    }

    .press-image img {
        max-width:90px !important;
        max-height:90px !important;
    }
}

.left-image {
    float:left;
    margin:0 10px 10px 0;
}

.link-more {
    margin-left:5px;
}

.rss-link {
    font-size: 16px;
    /*    vertical-align: middle;*/
    margin-left: 10px;
    color:#AAA;
}

.rss-link > span.social {
    vertical-align: baseline;
}

/* === CORPORATE -> Press release === */
.press-release:nth-child(even) {
    background: #f7f7f7;
}

.press-release:hover {
    background: #eaeaea !important;
}


#iframe .press-release {
    padding:40px;
}

@media screen and (max-width:640px) {
    #iframe .press-release {
        padding:10px;
    }
}

#iframe .press-release:hover {
    background: #fff !important;
}
#iframe .press-release > .box {
    padding:10px 15px;
}
.press-release ul.add-info-list {
    padding:10px 20px;
}

.social-icon {
    /*display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: bottom;*/
    float: right;
    margin: 0 0 5px 5px;
    font-size:16px;
    color:#bbb;
    z-index:2000;
}

.share-links {
    z-index:1000;
}

.share-links.absolute {
    position:absolute;
    right:15px;
}

.share-links .social-icon {
    margin-left:0;
    float:none;
}
.share-links .social-icon .social,
.share-links .social-icon .glyphicons{
    vertical-align: middle;
    top:0;
}
.share-links .social-icon.facebook {
    color:#526da5;
}
.share-links .social-icon.twitter {
    color:#09b5f2;
}
.share-links .social-icon.linkedin {
    color:#4999bd;
}
.share-links .social-icon.email {
    color:#c2c2c2;
}

.download-links {
    margin-top:10px;
}
/*
.share-links.absolute .social-icon {
    margin-left:3px;
}*/

.press-release-addon {
    position: relative;
    margin-left: 10px;
    margin-bottom: 10px;
}

/* === CORPORATE -> Reference Customers === */
.logo-item-wrapper {
    display:inline-table;
    margin:5px;
    vertical-align:middle;
}

.logo-item {
    display: table-cell;
    vertical-align: middle;
    height: 100px;
    width:90px;
}

.logo-item > img {
    width:100%;
}

.floating-left {
    margin:0 10px 10px 0;
}

/* === CUSTOM PROGRESS BAR === */
.progress.custom {
    position:relative;
}

.progress.custom > .bar {
    position: absolute;
    top: 0;
    height: 100%;
    overflow: hidden;
}

.progress.custom > .bar > span {
    text-align: center;
    position: absolute;
    display: block;
    width:185px;
}

.progress.custom > .bar.positive {
    left: 0;
    background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%);
    background-image: -o-linear-gradient(top, #428bca 0%, #3071a9 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3071a9));
    background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
    background-repeat: repeat-x;
}
.progress.custom > .bar.positive > span {
    color:#fff;
    left:0;
}

.progress.custom > .bar.negative {
    background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
    background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
    background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
    background-repeat: repeat-x;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    right:0;
}

.progress.custom > .bar.negative > span {
    color:#000;
    right:0;
}

.label-simple {
    font-weight:normal;
    margin:0;
}

.progress-small {
    margin-bottom: 0;
    height: 7px;
}

/* === BO PANEL FIX === */
.panel > textarea, .panel > table {
    border-radius:0;
    border:none;
}

/* === Payout Request === */

.payout-info label{
    float:left;
    width: 150px;
    display: inline-block;
    margin: 0;
}

.payout-info .form-group{
    margin: 0;
}


/* === Research BQT -> Feedback Iframe === */

#research-feedback{
    border: none;
    overflow: hidden;
    width: 213px;
}

@media screen and (max-width: 767px) {
    #research-feedback{
        width: 158px;
    }
}
.tooltip-custom {
    font-size:12px !important;
    margin-bottom:0;
}

/* === FACADE COLORS === */
.facade {
    display: inline-block;
    margin: 0 4px 1px 0;
    vertical-align: middle;
    border: 1px solid #666;
    width: 16px;
    height: 8px;
}

.facade.dropdown {
    float:right;
    margin-top:6px;
}

.facade-wrapper {
    white-space: nowrap;
    margin-right:10px;
}

.color_black {
    background-color: #000;
}
.color_darkbrown {
    background-color: #392d2b;
}
.color_darkred {
    background-color: #9e0b0e;
}
.color_darkorange {
    background-color: #cf7600;
}
.color_darkyellow {
    background-color: #fed600;
}
.color_darkgreen {
    background-color: #006544;
}
.color_darkblue {
    background-color: #002280;
}
.color_darkpurple {
    background-color: #43125f;
}
.color_darkpink {
    background-color: #d70078;
}
.color_darkgray {
    background-color: #3d3d3d;
}
.color_brown {
    background-color: #6d4820;
}
.color_red {
    background-color: #f00;
}
.color_orange {
    background-color: #ec8100;
}
.color_yellow {
    background-color: #ff0;
}
.color_green {
    background-color: #07c911;
}
.color_blue {
    background-color: #00f;
}
.color_purple {
    background-color: #6631ba;
}
.color_pink {
    background-color: #f576c9;
}
.color_gray {
    background-color: #818181;
}
.color_lightbrown {
    background-color: #c6bb8f;
}
.color_lightred {
    background-color: #f94360;
}
.color_lightorange {
    background-color: #f0ba46;
}
.color_lightyellow {
    background-color: #eceb8e;
}
.color_lightgreen {
    background-color: #6adca2;
}
.color_lightblue {
    background-color: #00c2e2;
}
.color_lightpurple {
    background-color: #b27ac9;
}
.color_lightpink {
    background-color: #f5bdd5;
}
.color_lightgray {
    background-color: #c1c1c1;
}
.color_white {
    background-color: #fff;
}
.color_multicolor {
    background: url("../img/icons/multicolor.png") no-repeat top left;
}
.color_gold, .color_golden {
    background: url("../img/icons/multicolor.png") no-repeat left -8px;
}
.color_silver {
    background: url("../img/icons/multicolor.png") no-repeat left -16px;
}
.color_aqua {
    background-color: #00FFFF;
}
.color_beige {
    background-color: #F5F5DC;
}

@media screen and (min-width: 992px) {
    /* INDEX PAGE CONTENT BOXES*/
    .main-teaser-research > .btn {
        position: absolute;
        bottom: 35px;
        left: 30px;
    }
    .main-teaser-research {
        height: 260px;
    }
}

/* === EDIT BUTTONS FOR BUILDING LIST === */
.edit-buttons {
    /*margin-left:10px;*/
}

.edit-buttons > a, .edit-buttons > button , .edit-buttons > input[type="button"] {
    margin-right:5px;
}

/*Terms and conditions*/
.terms h2 {
    counter-increment: counter-h2;
    counter-reset:counter-h3;
    margin-top:30px;
}

.terms h2:before {
    content: counter(counter-h2) ". ";
}

.terms h3:before {
    counter-increment:counter-h3;
    content:counter(counter-h2) "." counter(counter-h3) " ";
}

.terms h4 {
    counter-increment: counter-h4;
    counter-reset:counter-h5;
}

.terms h4:before {
    content: counter(counter-h4) ". ";
}

.terms h5:before {
    counter-increment:counter-h5;
    content:counter(counter-h4) "." counter(counter-h5) " ";
}

/* === STATISTICS FIX === */
.equal-spacing article,
.equal-spacing div.box-white,
.equal-spacing p {
    margin-bottom:15px !important;
}

.equal-spacing article:last-child,
.equal-spacing div.box-white:last-child,
.equal-spacing p:last-child {
    margin-bottom:0 !important;
}

/* === WORLD BUILDING INDEX === */
.wbindex-table {
    background-color: #fff;
}
.wbindex-table td {
    font-size:11px;
    padding:3px 8px;
}

/* ===  SEARCH RESULTS FIX === */
.pagination {
    white-space: nowrap;
    margin:10px 0;
}

.pagination > li {
    display: inline-block;
    float: none;
    margin: 0 -4px 0 0;
}
.pagination > li > a, .pagination > li > span {
    padding: 5px 10px;
}

@media screen and (max-width: 767px) {
    .small-list > li {
        float:none !important;
    }

    .small-list > li > a {
        padding:3px 6px;
    }

    .pagination { margin:3px 0;}

    /*.pagination > li > span,
    .pagination > li > a {
        padding:6px;
    }*/

    .pagination #pager-first > span,
    .pagination #pager-first > a,
    .pagination #pager-last > span ,
    .pagination #pager-last > a {
        max-width: 50px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* === NAV HORIZONTAL MOBILE FIX === */
    .nav.nav-horizontal {
        white-space: normal;
    }
    .nav.nav-horizontal > li {
        display: inline-block;
        float:none;
        margin: 0 -4px 0 0;
    }
}

ul.toggled > li {
    display:none;
}

/* === Bootstrap responsive table fix === */
@media screen and (max-width: 1100px) {
    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }
}

/* === Company involvements overlay teaser === */
#teaser-overlay {
    position:absolute;
    z-index:1000;
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 30%, rgba(255,255,255,0.8) 69%, rgba(255,255,255,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(30%,rgba(255,255,255,0.8)), color-stop(69%,rgba(255,255,255,0.8)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 30%,rgba(255,255,255,0.8) 69%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 30%,rgba(255,255,255,0.8) 69%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 30%,rgba(255,255,255,0.8) 69%,rgba(255,255,255,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 30%,rgba(255,255,255,0.8) 69%,rgba(255,255,255,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    display: flex;
    justify-content: center;
    align-items: center;
}

#moreInvBtn {
    position : absolute;
    top : 50%;
    left : 50%;
    outline:3px solid white;
}

/* === Reportings table fixes === */
.reports-table {
    margin-bottom:20px !important;
}

.reports-table tr > th,
.reports-table tr > td {
    max-width:50px;
}

.reports-table tr > th {
    white-space: normal !important;
}

.reports-table tr > th:first-child,
.reports-table tr > td:first-child,
.reports-table tr > th:last-child,
.reports-table tr > td:last-child{
    max-width:100px;
}

/* === Checkout buttons fix === */
#worldpay.btn {
    width:142px;
    height:27px;
    font-size:12px;
    line-height: 12px;
}

#paypalBtn {
    display: block;
}

/* === Zones, boroughs, metro cities === */
a.areaLink {
    font-size:12px;
    white-space:nowrap; /*to prevent breaks between area and (number)*/
}

/* === Facts, features adn amenities fix === */
ul.facts-list {
    padding-left:20px;
    line-height:18px;
    font-size:12px;
}
ul.facts-list > li{
    margin-bottom:7px;
}

/* === Project autocomplete icons === */
.select2-result-label .project-response-cell {
    display: table-cell;
    vertical-align: middle;
    min-width:9px;
}

.select2-result-label .project-status-icon {
    height:24px;
    width:6px;
    border-radius:4px;
    display: block;
    margin-right:3px;
}

.select2-result-label .project-icon {
    height:26px;
    width:26px;
    margin-right:5px;
    display: block;
}

.select2-result-label .project-icon.Building {
    background: url("../img/icons/subject_building_blue.png") no-repeat;
}

.select2-result-label .project-icon.Complex {
    background: url("../img/icons/subject_complex_blue.png") no-repeat;
}

.select2-result-label .project-icon.City {
    background: url("../img/icons/subject_city_blue.png") no-repeat;
}


#addBinding {
    padding:6px 30px;
}

/* === IE img-thumbnails fix === */
.img-thumbnail {
    width:auto !important;
}

/* === Emporis research sqved queries fixes === */

table.table.saved-queries, table.table.saved-queries tbody th {
    border-top:0;
    background-color: transparent;
}

table.table.saved-queries .glyphicon.green {
    color:#41B843;
}

table.table.saved-queries .glyphicon.red {
    color:#D22929;
}

table.table.saved-queries .btn.margin {
    margin:0 5px;
}

.text-capitalize-first:first-letter {
    text-transform: uppercase;
}

/* === Fix for non-breaking urls. Cross-browser === */
div.building-url-row.box-line { /*Fix for FF*/
    white-space: nowrap;
}

div.building-url-row.box-line > div, div.building-url-row.box-line > span {
    display: inline-block;
}

a.complex-url, a.building-url {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    text-overflow: ellipsis;
    max-width: 164px;   /* fixes strange overflow bug for extra long urls (after some breakpoint width the urls are not getting truncated) */
}


/* Cookie notice */
div#cookieNotice {
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
    background-color: #EEE;
    display: none;
}

div#cookieNotice > div.container {
    position: relative;
}

div#cookieNotice span.cookie-notice-close {
    position: absolute;
    right:60px;
    top:50%;
    margin-top:-12px;
    text-transform: uppercase;
}

@media screen and (max-width:990px) {
    div#cookieNotice > div.container {
        padding-right: 60px;
    }

    div#cookieNotice span.cookie-notice-close {
        right:10px;
    }
}

@media screen and (max-width:768px) {
    div#cookieNotice {
        text-align: left;
        position: fixed;
        bottom:0;
        border-top: 1px solid #969696;
        z-index: 999;
        padding:8px;
    }
}

/* ===  social buttons === */
div.social-buttons > *{
    margin:0 5px;
}

/* === Image Workflow drag'n'drop === */
div#coverImages {
    min-height : 150px;
    border:1px dashed silver;
    margin-bottom:20px;
}

div#coverImages > div.sortable-ghost > div, div#otherImagesOfSubject > div.sortable-ghost > div {
    border: 1px dashed #C0C0C0;
    opacity: 0.4;
}

div#otherImagesOfSubject {
    min-height : 150px;
    border:1px dashed silver;
}

div#coverImages > div.sortable-ghost img, div#otherImagesOfSubject > div.sortable-ghost img {
    display: none;
}

div#coverImages div.gallery-item.current-image, div#otherImagesOfSubject div.gallery-item.current-image {
    background-color: #fcf8e3 !important;
}

div#otherImagesOfSubject div.all-images-link {
    height:150px;
}

/* === Research company charts === */
div.wrapper.container div.chart-wrapper > div.box-line {
    padding : 0;
    display: block;
    overflow-x:auto;
}

div.wrapper.container div.chart-wrapper > div.box-line canvas {
    display : block;
}

div.wrapper.container div#activityChart.chart-wrapper div.form-inline{
    position: absolute;
    top: 5px;
    right: 5px;
    display: block;
    width: auto;
}

div.wrapper.container div#activityChart.chart-wrapper div.form-inline > label {
    font-weight: normal;
    font-size: 14px;
    vertical-align: middle;
    margin-right: 5px;
}

div.wrapper.container div.chart-wrapper button#activityBtnLeft, div.wrapper.container div.chart-wrapper button#activityBtnRight {
    font-size: 30px;
    position: absolute;
    left: 5px;
    top: 50%;
    margin-top: -22px;
    cursor: pointer;
    color: #C0C0C0;
    border: 0;
    display: block;
    background: rgba(0, 0, 0, 0);
}

div.wrapper.container div.chart-wrapper button#activityBtnRight{
    left:auto;
    right : 5px;
}

div.wrapper.container div.chart-wrapper button#activityBtnLeft:hover ,div.wrapper.container div.chart-wrapper button#activityBtnRight:hover {
    color : #ADADAD;
}

div.wrapper.container div.chart-wrapper button#activityBtnLeft:active ,div.wrapper.container div.chart-wrapper button#activityBtnRight:active,
div.wrapper.container div.chart-wrapper button#activityBtnLeft:focus ,div.wrapper.container div.chart-wrapper button#activityBtnRight:focus {
    outline: 0;
}

@media (min-width:992px) {
    div.wrapper.container div#activityChart.chart-wrapper {
        padding-top:25px;
    }
}

/* === Research building map === */
div#osm_building_one.olMap {
    margin : 0 auto !important;
}

/* === Research building details buttons === */
section.box a.research-request, section.box a.follow-project, section.box a.download-pdf {
    font-size: 18px;
    padding: 6px;
    margin-left: 5px;
    color:#737373;
}

section.box a.follow-project.btn-success {
    color:#fff;
}

section.box a.research-request > span, section.box a.follow-project > span, section.box a.download-pdf > span {
    display: block;
    top:0;
    left:0;
    margin : 0;
}

.circle-cart {
    margin-left: 5px;
    margin-top: 5px;
    width:25px;
    height:25px;
    line-height: 25px;
    text-align: center;
    border-radius: 50%;
    background: #fff;
    color: #007FCF;
}

/* === RELATED BUILDINGS BOX STYLES === */
div#relatedBuildings {
    clear:both;
}

div#relatedBuildings.fixed {
    position:fixed;
    width:250px;
    padding:0 15px;
    /*display: none;*/
    max-height:1200px;
    overflow:hidden;
}

div#relatedBuildings h5.box-header {
    padding: 10px;
    background-color: #f5f5f5;
    margin-bottom:0;
}

div#relatedBuildings div.related-building {
    padding-top:10px;
    padding-bottom:10px;
}

div#relatedBuildings.fixed div.animate-row {
    margin-top: 2000px;
    /*padding : 10px 0;*/
    opacity:0.5;
    width:100%;
}

div#relatedBuildings div.related-building:nth-child(2n) {
    background-color: #f5f5f5;
}

div#relatedBuildings div.related-building > div {
    display: inline-block;
    width:49%;
    vertical-align: top;
    padding: 5px;
}

@media screen and (max-width : 1445px) and (min-width:768px) {
    div#relatedBuildings div.related-building {
        width:50%;
        float:left;
        min-height:1px;
        background-color:transparent !important;
    }

    div#relatedBuildings div.related-building:nth-child(5) {
        display: none;
    }
}

div#relatedBuildings div.animate-row > div a.header {
    font-size:15px;
}

div#relatedBuildings div.animate-row > div a.city {
    font-size:14px;
}

/* taken from : https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ */
.dont-break-out {

  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;

}

.chart-row .other {
    text-transform: lowercase;
}

/* ie8 fixes*/
iframe.cboxIframe, iframe#details-iframe {
    position:relative;
}

/* Research follow dropdown fix */
.dropdown.follow-dropdown:hover > ul.dropdown-menu {
    display: none;
}

.dropdown.open.follow-dropdown > .btn.dropdown-toggle {
    color:#fff;
    background-color: #FE6601;
    border-color: #dbdbdb;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.dropdown.follow-dropdown > .btn.dropdown-toggle > span.follow-period {
    text-transform: lowercase;
}

.dropdown.follow-dropdown > .btn.dropdown-toggle > i.glyphicons-star-empty,
.dropdown.follow-dropdown > .btn.dropdown-toggle > span.message-follow {
    display: inline-block;
}

.dropdown.follow-dropdown > .btn.dropdown-toggle > i.glyphicons-star,
.dropdown.follow-dropdown > .btn.dropdown-toggle > span.message-following {
    display: none;
}

.dropdown.follow-dropdown > .btn.dropdown-toggle.following > i.glyphicons-star,
.dropdown.follow-dropdown > .btn.dropdown-toggle.following > span.message-following {
    display: inline-block;
}

.dropdown.follow-dropdown > .btn.dropdown-toggle.following > i.glyphicons-star-empty,
.dropdown.follow-dropdown > .btn.dropdown-toggle.following > span.message-follow {
    display: none;
}

.dropdown.open.follow-dropdown > ul.dropdown-menu {
    display: block;
    margin:2px 0 5px 0;
}

.dropdown.open.follow-dropdown > ul.dropdown-menu > li > a {
    position: relative;
}

.dropdown.open.follow-dropdown > ul.dropdown-menu > li > a.active {
    background-color: #e8e8e8;
    background-image: -webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));
    background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
    background-repeat: repeat-x;
}

.dropdown.open.follow-dropdown > ul.dropdown-menu > li > a > i.glyphicons-remove-2 {
    display: none;
    font-weight: bold;
    position:absolute;
    top:50%;
    margin-top:-7px;
    right:5px;
}

.dropdown.open.follow-dropdown > ul.dropdown-menu > li > a.active:hover > i.glyphicons-remove-2 {
    display: block;
}

/* === Project Notes === */
table.project-notes {
    margin-bottom:0;
}

table.project-notes tr.overlapping, table.project-notes tr.show-more-notes .halflings {
    display: none;
}

table.project-notes tr:not(.overlapping) + tr.show-more-notes {
    display: none;
}

table.project-notes tr.show-more-notes .halflings {
    font-size:18px;
}

table.project-notes tr.overlapping + tr.show-more-notes .halflings-menu-up {
    display: block;
}

table.project-notes tr.show-more-notes:hover > td {
    background-color:transparent;
}

table.project-notes.full tr.overlapping {
    display: table-row;
}

table.project-notes.full tr.overlapping + tr.show-more-notes .halflings-menu-up {
    display: none;
}

table.project-notes.full tr.overlapping + tr.show-more-notes .halflings-menu-down {
    display: block;
}

table.project-notes>thead>tr>th, table.project-notes>tbody>tr>th, table.project-notes>tfoot>tr>th, table.project-notes>thead>tr>td, table.project-notes>tbody>tr>td, table.project-notes>tfoot>tr>td {
    padding:3px 10px;
}

table.project-notes tbody tr:first-child td, table.project-notes tfoot tr:first-child td {
    border-top:none;
}

table.project-notes .btn.margin {
    margin:0 3px;
}

table.project-notes .btn.margin:last-child {
    margin-right:0;
}

table.project-notes td.date {
    white-space: nowrap;
}

table.project-notes td.date, table.project-notes td.actions {
    width:80px;
}

table.project-notes td .note-body {
    overflow:hidden;
    max-height:60px;
    -webkit-transition: max-height .2s ease-in-out;
    transition: max-height .2s ease-in-out;
}

/* === fixing tinymce default paragraph style === */
table.project-notes td .note-body > p {
    margin-bottom:3px;
    line-height:18px;
}

table.project-notes td .note-body > p:only-child, table.project-notes td .note-body > p:last-child {
    margin-bottom:0;
}

table.project-notes td .note-body.opened {
    max-height:999px;
}

table.project-notes td .note-body ~ .halflings {
    display: none;
    color:#777;
}

table.project-notes td .note-body.overflown ~ .halflings-menu-up {
    display: block;
}

table.project-notes td .note-body.overflown.opened ~ .halflings-menu-down {
    display: block;
}
table.project-notes td .note-body.overflown.opened ~ .halflings-menu-up {
    display: none;
}

ul.nav.nav-tabs + div.tab-content.box-white {
    box-shadow: none;
    border:1px solid #ddd;
    margin-top:-1px;
}

div.notes-overview-body div.list-group {
    cursor:pointer;
}

div.notes-overview-body div.list-group > div.list-group-item {
    padding:10px;
}

div.notes-overview-body div.list-group div.notes-table-wrapper {
    display: none;
    margin-top:10px;
}

div.notes-overview-body div.list-group:not(.opened) > .list-group-item:hover {
    background-color: #f5f5f5;
}

div.notes-overview-body div.list-group.opened div.notes-table-wrapper {
    display: block;
}

div.title_bar div.title-buttons > .title-btn.pull-right:not(:first-child) {
    margin-right:5px;
}

#privacy h2 {
    font-size: 18px;
    font-weight: bold;
    line-height: 20px;
    text-transform: uppercase;
    color: #666;
    margin-top: 30px;
}

#privacy h3 {
    font-size: 14px;
    font-weight: bold;
    line-height: 16px;
    color: #333;
}

#privacy p {
    font-size: 14px;
    line-height: 18px;
    text-align: justify;
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}
