/* Small additions on top of the original chemi.css for the static rebuild */

/* header: the login form is gone, keep the dark box with a Facebook link */
#header_userinfo_wrapper { padding: 40px 15px 0; width: 139px; }
.header_fb_link { color: #33b1d7 !important; font-weight: bold; font-size: 12px; text-decoration: none; background: url("/sites/all/themes/chemi/images/facebook_icon.gif") no-repeat right center; padding-right: 22px; display: inline-block; line-height: 20px; }
#header_search_text::placeholder { color: #8f8f8f; }

.header_menu { height: 34px; }

/* boxes grow with their content */
.bluewidebox_content, .blackbox_content, .homepage_news .blackbox_content .view { height: auto !important; min-height: 60px; overflow: visible; }
.greywidebox_content { overflow: visible; }
.panel-col-center .greywidebox_content { width: auto; }
.panel-region-separator { height: 15px; clear: both; }

/* side lists */
.side_link_list { list-style: none; margin: 0; padding: 0; }
.side_link_list li { border-bottom: 1px dotted #cfcfcf; padding: 5px 0; font-size: 12px; }
.side_link_list li a { text-decoration: none; font-weight: bold; }
.mapbox_bottom li.active a { color: #3d3d3b; }
.mapbox, .mapbox_top { position: relative; }
.mapbox_top img.mapbox_flag { position: absolute; left: 24px; top: 12px; }
.mapbox_content { min-height: 4px; }

/* location gallery in the side column */
.view-id-location_gallery .views-row { float: right; width: 190px; margin: 0 0 10px; text-align: center; }
.view-id-location_gallery .views-row img { width: 160px; height: 120px; object-fit: cover; border: 1px solid #ddd; padding: 3px; background: #fff; }
.view-id-location_gallery .views-field-title a { font-weight: bold; text-decoration: none; }

/* the original site showed the side column on the right */
.panel-3col-33 .panel-col-first, .panel-3col-33 .panel-col, .panel-3col-33 .panel-col-last { float: right; }

/* main content */
.node-continent h1.title { width: auto; font-size: 20px; margin-bottom: 10px; }
.node-continent .content { line-height: 1.5; }
.node-image-content .field-field-image { float: left; margin: 0 15px 10px 0; }
.node-image-content .field-field-image .field-item { background: none; height: auto; width: auto; padding: 0; }
.node-continent .node-image-content .field-field-image img.node_photo { width: 200px; height: auto; border: 1px solid #ddd; padding: 4px; background: #fff; position: static; }
.image_caption { clear: left; float: left; width: 210px; margin: -5px 15px 10px 0; color: #777; font-size: 11px; text-align: center; }
.node-continent .poi_writer_info { position: static !important; color: #777; margin: 0 0 8px; width: auto; float: none; }
.info_content { clear: both; background: #f7f7f7; border: 1px solid #e5e5e5; padding: 8px 10px; font-size: 12px; line-height: 1.6; }
.tip_vote_block { margin: 3px 0 6px; }

/* lists of places, points of interest and tips */
.poi-teaser, .child-place, .article-row { border-bottom: 1px dotted #cfcfcf; padding: 8px 0; }
.poi-teaser .title, .child-place .title, .article-row .title { font-size: 14px; margin: 0 0 3px; }
.poi-teaser .title a, .child-place .title a { color: #33b1d7 !important; }
.poi_thumb img { float: left; width: 90px; height: 68px; object-fit: cover; margin: 0 10px 5px 0; border: 1px solid #ddd; padding: 2px; }
.readmore a { font-weight: bold; text-decoration: none; }
.destination_category_body { margin-bottom: 10px; line-height: 1.5; font-size: 12px; }
.node-tip { border: 1px solid #e5e5e5; background: #fbfbfb; padding: 10px; margin: 0 0 10px; }
.node-tip .title { font-size: 14px; }
.node-tip .writer, .forum-topic .writer, .news-row .writer { color: #888; margin-bottom: 5px; }
.tip_fields { margin: 8px 0 0; }
.tip_fields dt { font-weight: bold; color: #3b3b3b; margin-top: 5px; }
.tip_fields dd { margin: 0 0 3px; line-height: 1.5; }
.tip_image img { float: left; width: 120px; height: 90px; object-fit: cover; margin: 0 10px 5px 0; }

/* simple (two column) pages */
.simple-page .panel-panel.simple-main { float: right !important; width: 715px !important; padding: 15px !important; box-sizing: border-box; }
.simple-page .panel-panel.simple-side { float: left !important; width: 240px !important; padding: 15px 0 !important; box-sizing: border-box; }
.simple-side .greywidebox_top { background: #f1f1f1; border: 1px solid #dedede; border-bottom: 0; border-radius: 6px 6px 0 0; height: 32px; line-height: 32px; font-size: 14px; }
.simple-side .greywidebox_content { width: auto; box-sizing: border-box; }
.simple-side .greywidebox_bottom { background: #f7f7f7; border: 1px solid #dedede; border-top: 0; border-radius: 0 0 6px 6px; height: 10px; padding: 0; box-sizing: border-box; }
.wide-page .simple-page .panel-panel.simple-main { width: 960px !important; }
.wide-page .simple-page .simple-side { display: none; }
.page_title { font-size: 22px; color: #3b3b3b; margin: 0 0 15px; }
.simple-main .node-continent { margin-bottom: 15px; }
.simple-main .content { font-size: 13px; line-height: 1.6; }
.node_main_image img { max-width: 100%; height: auto; margin-bottom: 10px; }
.trip_photo { display: inline-block; width: 220px; margin: 5px; vertical-align: top; text-align: center; }
.trip_photo img { width: 220px; height: 165px; object-fit: cover; }

/* forums */
.forum-topic { border: 1px solid #e5e5e5; padding: 12px; }
.forum-topic h3.title { font-size: 16px; margin: 0 0 4px; }
.forum_replies { margin-top: 10px; border-top: 1px solid #e5e5e5; padding-top: 6px; }
.forum_replies_title { font-weight: bold; color: #33b1d7; margin-bottom: 6px; }
.comment { background: #f7f7f7; border-right: 3px solid #33b1d7; padding: 6px 10px; margin: 0 0 6px; font-size: 12px; line-height: 1.5; }
.comment.comment-reply { margin-right: 25px; }
.comment_writer { color: #666; margin-bottom: 3px; }
.forum-row { border-bottom: 1px dotted #cfcfcf; padding: 10px 0; }

/* gallery */
.gallery_grid { display: grid; grid-template-columns: repeat(4, 228px); gap: 18px 14px; }
.gallery_grid .gallery_item { text-align: center; font-size: 11px; }
.gallery_grid .gallery_item img { width: 220px; height: 165px; object-fit: cover; border: 1px solid #ddd; padding: 3px; background: #fff; }
.gallery_title { font-weight: bold; color: #3b3b3b; margin-top: 3px; }
.gallery_where, .gallery_credit { color: #888; }

/* pager */
div.item-list ul.pager { list-style: none; margin: 15px 0; padding: 0; text-align: center; }
div.item-list ul.pager li { display: inline-block; margin: 0 3px; font-size: 13px; }
div.item-list ul.pager li.pager-current { font-weight: bold; color: #3b3b3b; }

/* home */
.homepage_featured_item { float: right; width: 300px; margin: 0 0 12px 15px; }
.homepage_featured_item img { width: 300px; height: 170px; object-fit: cover; }
.homepage_featured_item h3 { margin: 5px 0 3px; font-size: 15px; }
.homepage_featured_item h3 a { color: #3b3b3b; text-decoration: none; }
.homepage_featured_item p { font-size: 12px; line-height: 1.5; }
#homepage_tips_content .node-continent { border-bottom: 1px dotted #cfcfcf; padding: 6px 0 10px; }
.homepage_gallery_item { float: right; width: 140px; margin: 0 0 10px 12px; text-align: center; font-size: 11px; }
.homepage_gallery_item img { width: 140px; height: 105px; object-fit: cover; }
.homepage_gallery_item .title a { font-weight: bold; text-decoration: none; }
.homepage-news { padding: 6px 10px; border-bottom: 1px dotted #cfcfcf; }
.homepage-news .date { color: #888; }
.homepage-news .title { font-size: 13px; margin: 2px 0; }
.homepage-news .title a { color: #3b3b3b; text-decoration: none; }
.homepage_forum_list .homepage-forum { padding: 5px 0; border-bottom: 1px dotted #cfcfcf; }
.homepage_liveinfo_middle { height: auto !important; min-height: 415px; }
.homepage_liveinfo_item { height: auto !important; min-height: 74px; }
.homepage_liveinfo_middle ul li.homepage_liveinfo_item:nth-child(odd) { clear: right; }

/* footer */
.footer_copy { color: #9d9d9d; line-height: 25px; padding: 0 10px; }
.notfound { padding: 30px 20px; font-size: 14px; }
