/* CONTENT CSS - 2013 */


/* GENERAL */

div.attribute-image div.attribute-caption p
{
    font-weight: normal;
    color: #000000;
    background-color: #f0f0f0;
    padding: 5px 10px;
}

div.attribute-image img, div.attribute-image-embed img
{
    width: 100%;
}

div.attribute-link, div.attribute-related
{
    margin-top: 5px;
}

div.attribute-link a, div.attribute-related a
{
    background: no-repeat 0 0.5rem;
    padding-left: 10px;
    text-decoration: none;
}

div.attribute-link a:hover, div.attribute-related a:hover
{
    text-decoration: underline;
}


.l-hide
{
    display: none;
}

div.attribute-image img
{
    border-radius: 5px;
}


/* FULL VIEW */

div.content-view-full + div.content-view-full
{
    margin-top: 30px;
}

div.content-view-full div.attribute-title h1
{
    margin: -5px 0 10px 0;
}

div.content-view-full div.attribute-byline
{
    font-size: 1.1rem;
    margin-bottom: 10px;
}

div.content-view-full div.attribute-byline
{
    margin: 20px 0 20px 0;
    padding: 5px 0;
    border: 1px #cfcfcf;
    border-style: solid none;
}

div.content-view-full div.attribute-byline p
{
    font-size: 1.1rem;
}

div.content-view-full div.attribute-byline a
{
    color: #000000;
    text-decoration: none;
}

div.content-view-full div.attribute-byline span.date
{
    margin-right: 10px;
}

div.content-view-full > * > div.attribute-image
{
    margin: 15px 0;
}

div.content-view-full > * > div.attribute-short
{
    font-weight: 700;
    color: #404040;
    margin-top: 10px;
}

div.content-view-full div.attribute-short + div.attribute-long
{
    margin-top: 10px;
}


/* LINE VIEW */

div.content-view-children
{
    clear: both;
}

div.content-view-children, div.content-view-list, div.content-view-full + div.content-view-full div.class-frontpage-block div.content-view-children
{
    margin-top: 20px;
}

div.class-frontpage-block div.content-view-children
{
    margin-top: 0;
}

div.class-frontpage-block + div.class-frontpage-block
{
    margin-top: 20px;
}

div.class-frontpage-block > div.attribute-title
{
    margin-bottom: 20px;
}

/* div.class-frontpage-block > div.attribute-title h2
{
    font-size: 1.3rem;
    font-weight: 400;
color: #404040;
    background-color: #ededed;
    margin: 0;
    padding: 8px 10px;
    border-radius: 5px;
}
 */
div.class-frontpage-block > div.attribute-title
{
    margin: 20px 0 20px 0;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #e0e0e0;
}

div.content-view-full:first-child > div.class-frontpage-block > div.attribute-title
{
    margin-top: 0;
}

div.class-frontpage-block > div.attribute-title h2
{
    font-size: 1.8rem;
    margin: 0;
    float: left;
}

div.class-frontpage-block > div.attribute-title h2 a
{
    color: #404040;
}

div.class-frontpage-block > div.attribute-title h2 + a
{
    font-size: 1.3rem;
    font-weight: 400;
    text-decoration: none;
    float: right;
    position: relative;
    top: 4px;
}


div.content-view-line
{
    clear: both;
}

div.content-view-line:after
{
    content: "-";
    height: 0;
    visibility: hidden;
    display: block;
    clear: both;
}

div.content-view-line + div.content-view-line
{
    margin-top: 20px;
}

div.content-view-line div.attribute-title h2
{
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 0;
}

div.content-view-line > * > div.attribute-image
{
    width: 140px;
    margin: 0 0 0 10px;
    float: right;
}


/* BLOCK VIEW */

div.class-frontpage-block.highlighted
{
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
}

div.content-view-block div.attribute-title:first-child h2
{
    margin-top: 0;
}

div.content-view-block div.attribute-image + div.attribute-title h2
{
    margin-top: 10px;
}

.l-1 div.content-view-block div.attribute-title h2, .l-2 div.content-view-block div.attribute-title h2
{
    font-size: 1.3rem;
}

.l-3 div.content-view-block div.attribute-title h2, .l-4 div.content-view-block div.attribute-title h2
{
    font-size: 1.6rem;
}

div.content-view-block div.attribute-icon
{
    text-align: center;
}


/* BOX VIEW */

div.infobox, div.bannerbox
{
    clear: both;
}

nav + div.infobox, div.infobox + div.infobox, div.infobox + div.bannerbox, div.bannerbox + div.bannerbox, div.bannerbox + div.infobox
{
    margin-top: 20px;
}

div.infobox
{
    background-color: #ffffff;
}

div.content-view-box a
{
    text-decoration: none;
}

div.content-view-box a:hover
{
    text-decoration: underline;
}

div.content-view-box > div.attribute-title
{
}

div.content-view-box > div.attribute-title > h2
{
    font-size: 1.9rem;
    font-weight: 400;
    color: #404040;
}

div.content-view-box > div.attribute-title > h2 > a
{
    color: #404040;
}

div.content-view-box div.attribute-title h2, div.content-view-box div.attribute-title h3
{
    margin: 0 0 5px 0;
}

div.content-view-box + div.content-view-box
{
    margin-top: 10px;
}

div.content-view-box div.attribute-image + div.attribute-short, div.content-view-box div.attribute-image + div.attribute-long
{
    margin-top: 10px;
}

div.content-view-box ul
{
    margin: 5px 0 5px 1.6rem;
}

div.content-view-box div.content-view-list
{
    margin-top: 10px;
}

div.content-view-boxline + div.content-view-boxline
{
    margin-top: 10px;
}

div.infobox.box-theme-1
{
    /* Theme color */
    padding: 10px;
    border-radius: 5px;
}

div.infobox.box-theme-2
{
    font-size: 1.7rem;
    /* Theme color */
    padding: 10px 15px 10px 15px;
    border-radius: 5px;
}

div.infobox.box-theme-2 a
{
    text-decoration: none;
}

div.infobox.box-theme-2 ul
{
    margin-left: 0;
}

div.infobox.box-theme-2 ul li
{
    background: 0 0.8rem no-repeat;
    margin-left: 0;
    padding-left: 12px;
    list-style-type: none;
}

div.infobox.box-theme-2 ul li:before
{
    display: none;
}

div.content-view-boxline div.class-article div.attribute-district
{
    font-size: 1.1rem;
    font-weight: 700;
}

div.content-view-boxline div.class-article div.attribute-district a
{
    color: #444444;
}

div.content-view-boxline div.class-article div.attribute-date, div.content-view-boxline div.class-article div.attribute-title, div.content-view-boxline div.class-article div.attribute-date *, div.content-view-boxline div.class-article div.attribute-title *, div.content-view-boxline div.class-event div.attribute-date, div.content-view-boxline div.class-event div.attribute-title, div.content-view-boxline div.class-event div.attribute-date *, div.content-view-boxline div.class-event div.attribute-title *
{
    display: inline;
}

div.content-view-boxline div.class-article div.attribute-date, div.content-view-boxline div.class-event div.attribute-date
{
    margin-right: 5px;
}

div.content-view-boxline div.class-article div.attribute-title h2, div.content-view-boxline div.class-event div.attribute-title h2
{
    font-size: 1.3rem;
}

div.content-view-boxline div.class-article div.attribute-title h2 a, div.content-view-boxline div.class-event div.attribute-title h2 a
{
    color: #000000;

}

div.infobox div.content-view-children ul, div.infobox div.content-view-children li
{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

div.infobox div.content-view-children ul
{
    margin: 8px 0 8px 0;
}

div.infobox div.content-view-children li
{
    margin-bottom: 5px;
}


/* EMBED-OBJECT POSITION */

div.object-right, div.object-left, div.object-center
{
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

div.object-right
{
    margin-left: 20px !important;
    float: right;
}

div.object-left
{
    margin-right: 20px !important;
    float: left;
}

div.object-center
{
    margin: 10px 0;
    text-align: center;
}

div.object-center > *
{
    margin: 0 auto;
}


/* EMBEDDED IMAGES */

div.content-view-embed div.attribute-image
{
    margin: 0 auto;
    float: none;
    text-align: center;
}

div.content-view-embed div.attribute-image p
{
    margin: 0;
}

div.attribute-image-embed img
{
    width: 100%;
}

div.attribute-image-embed.size-large
{
	width: 100% !important;
}

div.attribute-image-embed.size-medium
{
	width: 50% !important;
}

div.attribute-image-embed.size-small
{
	width: 33% !important;
}

    /* Backwards compatability */

    div.attribute-image-embed.size-size-large
    {
        width: 100% !important;
    }

    div.attribute-image-embed.size-size-medium
    {
        width: 50% !important;
    }

    div.attribute-image-embed.size-size-small
    {
        width: 33% !important;
    }

    div.attribute-image-embed.size-full
    {
        width: 100% !important;
    }

    div.attribute-image-embed.size-line
    {
        width: 33% !important;
    }


/* EMBEDDED FILES */

a.mime-icon {
    padding-left: 20px;
    background-repeat: no-repeat;
    height: 20px;
    display: block;
}

div.content-view-embed > a > img {
    float: left;
    margin-right: 7px;
}

div.content-view-line div.class-file div.attribute-link a
{
    background-image: none;
    padding-left: 0;
}

div.content-view-line div.class-file div.attribute-link img
{
    display: inline;
    vertical-align: middle;
    position: relative;
    top: -1px;
}


/* SLIDESHOW */

div.slideshow-wrapper
{
    margin: 0 auto;
}

div#page.design-wide div#topmenu-bg + div#content-top-bg > * > div.slideshow
{
    margin-top: -20px;
}

div.slideshow
{
    margin: 0 auto;
    position: relative;
    clear: both;
}

div.slideshow div.slide
{
    width: 100%;
}

div.slideshow-controls p
{
    margin: 0;
}

div.slideshow-controls a
{
    font-size: 1.6rem;
    padding: 0;
    text-decoration: none;
    position: absolute;
    display: block;
    top: 40%;
    z-index: 500;
}

div.slideshow-controls i:first-child
{
    color: rgba(255, 255, 255, 0.5);
}

div.slideshow-controls i:last-child
{
    color: rgba(0, 0, 0, 1);
}

div.slideshow-controls a.slide-previous
{
    left: 5px;
}

div.slideshow-controls a.slide-next
{
    right: 5px;
}

div.slideshow-slides
{
    position: relative;
}

div.class-slidebanner
{
    position: relative;
}

div.class-slidebanner div.attribute-image
{
    margin: 0 !important;
    padding: 0 !important;
    float: none;
}

div.class-slidebanner img
{
    width: 100%;
    display: block;
    border-radius: 0 !important;
}

div.class-slidebanner div.banner-overlay
{
    width: 100%;
    background-color: rgba( 255, 255, 255, 0.5 );
    position: absolute;
    bottom: 0;
}

div.class-slidebanner div.attribute-title h2
{
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    padding: 15px 0;
}

div.class-slidebanner div.attribute-title h2, div.class-slidebanner div.attribute-title h2 a
{
    color: #000000;
}

div.class-slidebanner div.attribute-short
{
    margin-top: -10px;
    padding-bottom: 13px;
}


div.class-slidebanner div.attribute-short p
{
    font-size: 1.6rem;
    margin: 0;
    padding: 0 20px 10px 20px;
}

div.slideshow-markers
{
    height: 20px;
    font-size: 50px;
    margin: -15px 0 30px 0;
    text-align: center;
    display: none;
}

div.slideshow-markers span
{
    color: #e0e0e0;
    cursor: pointer;
}

div.slideshow-markers a
{
    color: #000000;
    background-color: #e0e0e0;
    margin-right: 5px;
    padding: 2px 7px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
}

div.slideshow-markers span.cycle-pager-active
{
    color: #a0a0a0;
}


/* FOCUS POINTS */

* + div.content-focus
{
    margin-top: 20px;
}

div.content-view-block div.class-focus
{
    /* Theme color */
}

div.content-view-block div.class-focus div.attribute-image img
{
    border-radius: 5px 5px 0 0;
}

div.content-view-block div.class-focus div.attribute-title h2
{
    padding: 8px 10px 8px 10px;
    border-radius: 5px;

}

div.content-view-block div.class-focus div.attribute-title a
{
    background: no-repeat 99% 50%;
    display: block;
}

div.content-view-block div.class-focus div.attribute-title a:hover
{
    text-decoration: none;
}

/* div.content-view-block div.class-focus div.attribute-title a:after
{
    content: '\f138';
    font-family: FontAwesome;
    float: right;
    position: relative;
    top: 2px;
} */

div.content-view-block div.class-focus div.attribute-image + div.attribute-title h2
{
    margin-top: 0;
    border-radius: 0 0 5px 5px;

}

/* ARTICLES */

div.content-view-full div.class-article .fb-comments
{
    margin-top: 30px;
}


/* CALENDAR AND EVENTS */

div.content-view-full div.class-event div.attribute-date div.add
{
    float: right;
}

table.calendar
{
    border: 1px solid #e0e0e0;
    border-style: none solid solid none;
    background-color: #ffffff;
}

table.calendar th, table.calendar td
{
    padding: 5px 5px 3px 5px;
    border: 1px solid #e0e0e0;
    border-style: solid none none solid;
    text-align: center;
}

table.calendar th.dayname
{
    border-left: none;
}

table.calendar td.active
{
    background-color: #e0e0e0;
}

table.calendar td.current
{
    font-weight: bold;
    background-color: #e04020;
    color: #ffffff;
}

p.calendar-tip a
{
    text-decoration: none;
}

p.calendar-tip a:hover
{
    text-decoration: underline;
}


table.calendar td.active, table thead th.next, table thead th.previous
{
    cursor: pointer;
}

table.calendar td.day
{
    cursor: pointer;
}

table.calendar thead tr:nth-child(1)
{
    color: #404040;
    background-color: #d0d0d0;
}

table.calendar thead tr:nth-child(2)
{
    color: #404040;
    background-color: #f0f0f0;
}

div.content-view-full div.class-eventcalendar div.content-view-children
{
    margin-top: 10px;
}


div.content-view-full div.class-eventcalendar div.row > div.col > h2
{
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
}

div.content-view-full div.class-eventcalendar div.row > div.col > div.content-view-children + h2
{
    margin-top: 25px;
}

div.content-view-full div.class-event div.attribute-date
{
    font-weight: 400;
}

div.content-view-full div.class-event div.attribute-date + div.attribute-location
{
    margin-top: 0;
}

div.content-view-full div.class-event div.attribute-short
{
    margin-top: 10px;
}

div.content-view-full div.class-event div.attribute-date a.calendar-add
{
    font-size: 1.1rem;
    font-weight: normal;
    float: right;
}

div.content-view-full div.class-event div.attribute-date a.calendar-add i
{
    margin-right: 5px;
}

div.content-view-line div.class-event
{
    padding-left: 50px;
}

div.content-view-line div.class-event div.icon-box
{
    height: 40px;
    width: 40px;
    /* Theme color */
    border-radius: 50%;
    display: table;
    margin-left: -50px;
    float: left;
}

div.content-view-line div.class-event div.icon-symbol
{
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffffff;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

div.content-view-line div.class-event div.attribute-title h3
{
    font-size: 2rem;
    margin: 0;
}

/* div.content-view-box div.class-event
{
    padding-left: 30px;
}

div.content-view-box div.class-event div.icon-box
{
    height: 24px;
    width: 24px;
    background-color: #c0c0c0;
    border-radius: 50%;
    display: table;
    margin-left: -30px;
    float: left;
}

div.content-view-box div.class-event div.icon-symbol
{
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}
 */
div.content-view-box div.class-event div.attribute-title h3
{
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}


/* PERSON CLASS */

div.attribute-description
{
    margin-top: 20px;
}

/* FEEDBACK FORM */

div.class-feedback-form div.block
{
    margin: 10px 0;
}

/* PAGE NAVIGATOR */

div.pagenavigator
{
    margin-top: 15px;
}

div.pagenavigator p
{
    font-size: 1.1rem;
}

div.pagenavigator a
{
    text-decoration: underline;
}

div.pagenavigator a, div.pagenavigator span.previous, div.pagenavigator span.selected, div.pagenavigator span.next
{
    padding: 0 5px;
}

div.pagenavigator a.previous, div.pagenavigator span.previous
{
    padding-left: 0;
}

div.pagenavigator span.selected
{
    font-weight: bold;
}

div.pagenavigator span.divider
{
    color: #c0c0c0;
}


/* TO BE CLEANED UP */


/* Youtube embed */

.youtube {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin-bottom: 10px;
}

.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/**
 * Frontend editing
 */

/* Ez Toolbar Fix icons too large (Frontend editing) the fix is for version view.*/
#ezwt img, #content-middle form#edit img, #content-middle #fix #maincontent-design img{
    width: inherit !important;
    display: inline;
}

#content-middle form#edit .block {
    clear: both;
}
#content-middle form#edit > .block {
    overflow:hidden;
}
#content-middle form#edit > .block > label{
    font-weight: bold;
}

div#content-middle form#edit fieldset {
    border: 1px solid #D7D7D7;
    margin: 10px 0 15px 0;
}

/* Fieldset toggle */

div.fieldsetcontent.closed {
    display: none;
}
span.fieldsetopener {
    cursor: pointer;
    font-size: 1.7rem;
    font-weight: 500;
    margin-left: 5px;
}

/* Ez frontend editing: "column system for input fields"*/
#content-middle form#edit .block .element {
    float: left;
}

/* Used for emails */
.spamfilter {
    display: none;
}

/* Survey */

p.survey-mandatory
{
    margin-top: 10px;
}

div.survey-question
{
    clear: both;
    margin-top: 10px;
}

div.survey-question:after
{
    content: "-";
    height: 0;
    font-size: 0;
    visibility: hidden;
    display: block;
    clear: both;
}

div.attribute-survey div.message-warning h2, div.attribute-survey div.message-warning a,
div.attribute-survey div.message-warning h4, div.attribute-survey .error, div.attribute-survey .required
{
    color: #e53a3a;
}

div.attribute-survey div.survey-question.error input,
div.attribute-survey div.survey-question.error textarea,
div.attribute-survey div.survey-question.error select
{
    background-color: #f5fafa;
}

div.attribute-survey div.message-warning
{
    margin-top: 1em;
}

div.survey-choices
{
    clear: both;
}

div.survey-choices div.element
{
    float: left;
    margin-right: 20px;
}

div.survey-choices label
{
    font-weight: normal;
}

div.survey-choices input[type='text'],
div.survey-choices input[type='password'],
div.survey-choices textarea
{
    width: 100%;
}

div.survey-view div.buttonblock
{
    margin-top: 10px;
}

/* VD calendar */

div.vd-event-calendar div.content-view-line div.class-event
{
    padding-left: 90px;
}

div.content-view-line div.class-event div.date-highlight
{
    width: 80px;
    margin: 2px 0 0 -90px;
    float: left;
}

div.content-view-line div.class-event div.date-highlight h2
{
    font-size: 0.85em;
    font-weight: bold;
    color: #606060;
    background-color: #ffffff;
    margin: 0;
    padding: 8px 5px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    text-transform: uppercase;
}

div.content-view-line div.class-event div.date-highlight h2 span
{
    display: block;
    text-align: center;
}

div.content-view-line div.class-event div.date-highlight h2 span.date
{
    font-size: 2.6em;
}

div.element
{
    float: left;
    margin-right: 5px;
}

div.warning
{
    background-color: #ffbbbb;
    padding: 10px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Social toolbar */
div.social-toolbar
{
    margin-top: -15px;
    margin-bottom: 20px;
}

div.share-service
{
    display: block;
    float: left;
    margin-right: 10px;
}

div.service-facebook
{
    width: 105px;
    margin-right: 0px;
}

div.service-twitter
{
    width: 85px;
    margin-right: 2px;
}
