.node-nt-fact.full .fact-header {
    display: table;
    width: 100%;
}

.node-nt-fact.full .fact-header .fact-info {
    display: table-cell;
    vertical-align: top;
}

.node-nt-fact.full .fact-header .fact-info .node-tags { 
    text-align: left;    
}

.node-nt-fact.full .fact-header .fact-info .node-tags .field-item { 
    margin-left: 0;
}

.node-nt-fact.full .fact-header .fact-map {
    vertical-align: top;
    display: table-cell;
    width: 50%;
}

.node-nt-fact.full .field-name-field-random-image .content {
    margin-top: 0;
}

.node-nt-fact.full .field-name-field-random-image img {
    width: 200px;
    height: auto;
}

.node-nt-fact.full .field-name-field-sources {
    margin-bottom: 0;
}

.node-nt-fact.full .field-name-field-sources .field-item {
    list-style: none;
}

.node-nt-fact .field-name-field-address .addressfield-container,
.node-nt-fact .field-name-field-address .addressfield-container div,
.node-nt-fact .field-name-field-address span.country {
    display: inline-block;
}

.node-nt-fact .field-name-field-address .addressfield-container div.locality:after,
.node-nt-fact .field-name-field-address .addressfield-container div.state:after {
    content: ",";
    padding-right: 5px;
}

.node-nt-fact .field-name-field-result .field-item,
.node-nt-fact .field-name-field-hypothesis .field-item {
    border: 1px solid #009999;
    margin-bottom: 20px;
}

.node-nt-fact .field-name-field-hypothesis .field-item .content,
#content .node-nt-fact .field-name-field-hypothesis .field-item h2,
.node-nt-fact .field-name-field-result .field-item .content,
#content .node-nt-fact .field-name-field-result .field-item h2 {
    margin: 0;
}

.node-nt-fact .field-name-field-result .field-item h2,
.node-nt-fact .field-name-field-hypothesis .field-item h2 {
    padding-left: 10px;
}

.node-nt-fact .field-name-field-result .field-item h2:hover,
.node-nt-fact .field-name-field-hypothesis .field-item h2:hover {
    background-color: #009999;
}

.node-nt-fact .field-name-field-result .field-item h2:before,
.node-nt-fact .field-name-field-hypothesis .field-item h2:before {
    margin-right: 5px;
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    background-color: white;
    border: 1px solid #009999;
}

.node-nt-fact .field-name-field-result .field-item h2:before {
    background-color: #009999;
    border: 1px solid white;
}


#content .node-nt-fact .field-name-field-result a,
#content .node-nt-fact .field-name-field-hypothesis a {
    text-decoration: none;
    color: black;
}

.node-nt-fact .fact-state {
    display: table;
    width: 100%;
    table-layout: fixed;
    position: relative;
}

.node-nt-fact.full .fact-state {
    margin: 20px 0;
}

.node-nt-fact.view_mode_tile .fact-state {
    margin: 0;
}

.node-nt-fact .fact-state-item {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    margin-right: 20px;
    padding: 0;
    background-color: silver;
}

.node-nt-fact.full .fact-state-item {
    height: 40px;
}

.node-nt-fact.view_mode_tile .fact-state-item {
    height: 10px;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

.node-nt-fact .fact-state-item.fact-state-item-not-first:after {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;           /* Go big on the size, and let overflow hide */
    border-bottom: 20px solid transparent;
    border-left: 20px solid silver;
    z-index: 2;
}

.node-nt-fact.view_mode_tile .fact-state-item.fact-state-item-not-first:after {
    margin-top: -5px;
    border-top: 5px solid transparent;           /* Go big on the size, and let overflow hide */
    border-bottom: 5px solid transparent;
    border-left: 5px solid silver;
}

.node-nt-fact .fact-state-item.fact-state-item-not-first:before {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;           /* Go big on the size, and let overflow hide */
    border-bottom: 20px solid transparent;
    border-left: 20px solid white;
    margin-left: 2px;
    z-index: 1;
}

.node-nt-fact.view_mode_tile .fact-state-item.fact-state-item-not-first:before {
    margin-top: -5px;
    border-top: 5px solid transparent;           /* Go big on the size, and let overflow hide */
    border-bottom: 5px solid transparent;
    border-left: 5px solid white;
}

.node-nt-fact .fact-state-item-active.fact-state-item-not-first:after,
.node-nt-fact .fact-state-item-first-unactive.fact-state-item-not-first:after {
position: absolute;
    top: 50%;
    margin-top: -20px;
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;           /* Go big on the size, and let overflow hide */
    border-bottom: 20px solid transparent;
    border-left: 20px solid #00CCCC;
    z-index: 2;
}

.node-nt-fact.view_mode_tile .fact-state-item-active.fact-state-item-not-first:after,
.node-nt-fact.view_mode_tile .fact-state-item-first-unactive.fact-state-item-not-first:after {
    margin-top: -5px;
    border-top: 5px solid transparent;           /* Go big on the size, and let overflow hide */
    border-bottom: 5px solid transparent;
    border-left: 5px solid #00CCCC;
}

.node-nt-fact .fact-state-item-active {
    background-color: #00CCCC;
}

.node-nt-fact.full .field .field-item .node-teaser {
    margin-bottom: 0;
}

.node-nt-fact.full .field-name-field-fact-news .news-title,
.node-nt-fact.full .field-name-field-fact-news .field-name-field-sources {
    display: inline-block;
}

.node-nt-fact.full .node-nt-version .field-name-field-random-image {
    float: left;
    margin-right: 20px;
    width: 50px;
}

.node-nt-fact.full .node-nt-version .field-name-field-random-image img {
    width: 100%;
    height: auto;
}

.view-view-archive .view-archive-links {
    margin-bottom: 10px;
}

.view-view-archive .view-archive-link-item {
    display: inline-block;
    border: 1px solid #009999;
    padding: 0 5px;
    margin-right: 10px;
}

.view-view-archive .view-archive-link-item a {
    text-decoration: none;
    color: #009999 !important;
}

.view-view-archive .view-header,
.view-view-phenomena-links .view-header {
    font-size: larger;
}

.view-view-archive .view-header fieldset,
.view-view-archive .view-header .view-archive-links {
    font-size: smaller;
}

.view-view-facts-map .leaflet-container {
    width: 100%;
}

.view-view-facts-map .leaflet-popup-content {
    min-width: 200px;
}

.view-view-facts-map .leaflet-popup-content .node-nt-fact.view_mode_tile .field {
    padding: 0;
}

.view-view-facts-map .leaflet-popup-content .node-nt-fact.view_mode_tile .views-row {
    margin: 0;
    max-width: none;
    min-height: inherit;
    width: 100%;
}

.view-view-facts-map .leaflet-popup-content .node-nt-fact.view_mode_tile .views-row .content {
    background: none;
    background-color: white;
}

.view-view-facts-map .leaflet-popup-content .node-nt-fact.view_mode_tile img {
    width: 100%;
    height: auto;
}

.view-view-facts-map .leaflet-popup-content .node-nt-fact.view_mode_tile .node-type-title,
.view-view-facts-map .leaflet-popup-content .node-nt-fact.view_mode_tile .field-name-field-phenomena {
    display: none;
}

.view-view-facts-map .leaflet-popup-content .node-nt-fact.view_mode_tile .tile-footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    color: white;
}

.view-view-facts-map .leaflet-popup-content .node-nt-fact.view_mode_tile .tile-footer .fact-info {
    background-color: rgba(0, 0, 0, 0.5);
    padding-left: 5px;
}

.view-view-facts-map .leaflet-popup-content .node-nt-fact.view_mode_tile .tile-footer h2 {
    margin: 0;
    padding-left: 5px;
}

.view-view-facts-map .leaflet-popup-content .node-nt-fact.view_mode_tile .tile-footer h2 a {
    color: white !important;
    text-decoration: none !important;
    font-family: 'Open Sans', Helvetica, 'Trebuchet MS', Arial, Tahoma, serif;
}