﻿@PageContentWidth: 700px;
@FontHeadline: Tahoma, Geneva, Verdana, "Trebuchet MS", Arial, Helvetica, sans-serif;
@FontText: Arial, Helvetica, sans-serif;
@PrimaryColor: #00522c;
@SecondaryColor: #888;
@TextColor: #555;
@BrightColor: #fcfcfc;
@BorderSize: 1px;
@BorderStyle: solid #eaeaea;
@BorderRadius: 2px;
@ImagePadding: 5px;
@LineHeight: 18px;
@TextShadow: 1px 1px 1px #fff;
/***********************************************************/


/*  SITE LAYOUT  *******************************************/
.sitecontent {
    /*  BODY  */
    font-family: @FontHeadline;
    font-size: 13px;
    line-height: 19px;
    height: 100%;
    color: @TextColor;
    /*  TEXT  */
    h1, h2, h3, h4, h5, h6 {
        text-transform: none;
        text-shadow: @TextShadow;
        font-weight: normal;
        float: left;
        width: 100%;
    }

    h1 {
        font-size: 24px;
        color: @PrimaryColor;
        margin-bottom: @LineHeight - 7px;
        line-height:30px;
    }

    h2 {
        font-size: 24px;
        color: #00522c;
    //    margin-bottom: @LineHeight - 10px;
        line-height:28px;
    }

    h3 {
        font-size: 16px;
        color: @SecondaryColor;
        margin-bottom: @LineHeight - 10px;
        line-height:20px;
    }

    h4 {
        font-size: 14px;
        color: @SecondaryColor;
    }

    h5 {
        font-size: 12px;
        color: @SecondaryColor;
    }

    h6 {
        font-size: 12px;
        color: @SecondaryColor;
    }



    .clear {
        margin: 0 !important;
        clear: both !important;
        float: none !important;
    }

    a {
        color: @PrimaryColor;
        text-decoration: none;
    }

        a:hover {
            text-decoration: underline;
        }
    /*  MENU  */
    .menu {
        margin: 0 auto;
        height: 40px - @BorderSize*2;
        /*  border: @BorderSize @BorderStyle;
        border-radius: @BorderRadius;
        border-right: 0px; */
    }

        .menu ul {
            text-align: center;
        }

        .menu li {
            height: 40px - @BorderSize*2;
            color: #00522c;
            display: inline-block;
            text-align: center;
        }

            .menu li a {
                padding: 0px 12px;
                line-height: 40px - @BorderSize*2;
                color: #00522c;
                font-size: 14px;
                text-transform: uppercase;
                text-decoration: none;
                /*  border-right: @BorderSize @BorderStyle;
        border-left: 1px solid #fff; */
                display: block;
                text-shadow: @TextShadow;
            }

                .menu li a:hover,
                .menu li.selected a {
                    /*  color: @PrimaryColor; */
                }
    /*  SUBMENU  */
    .submenu {
        margin-top: 24px;
        clear: both;
    }

        .submenu h1 {
            display: none;
        }

        .submenu ul li a {
            line-height: 30px;
            display: block;
            padding: 15px 6px;
            color: @SecondaryColor;
            font-size: 16px;
        }

        .submenu ul li:first-child {
            border-top: @BorderSize @BorderStyle;
        }

        .submenu ul li a:hover {
            background-color: @BrightColor;
            text-decoration: none;
            color: @PrimaryColor;
        }

        .submenu ul li.selected a {
            color: @PrimaryColor;
        }

        .submenu ul li {
            border-bottom: @BorderSize @BorderStyle;
        }

            .submenu ul li.open {
                border-top: none;
            }

            .submenu ul li i {
                padding-left: 20px;
                display: block;
                font-style: normal;
            }
    /*  SEARCH */
    .search {
        width: auto;
        float: left;
    }
    /*  FLASH  */
    .flash {
        display: inline;
    }

        .flash .images {
            position: relative;
            overflow: hidden;
        }
    /*  LANGUAGES  */
    .languages {
        float: right;
        margin-bottom: 14px;
        position:relative;
        z-index:1000;
    }

        .languages li {
            float: left;
            margin: 0px 5px;
        }
    /*  FRONTPAGELINKS  */
    .sitecontent .frontpagelinks > a {
        width: 288px;
        height: 98px;
        padding: 5px;
        border: 1px solid #eaeaea;
        border-radius: 2px;
        background: #fcfcfc;
        display: block;
    }

    .leftbox {
        max-width: 620px;
    }

    .frontpagelinks > a:hover {
        border-color: #000;
    }

    .frontpagelinks h3 a {
        //color: @SecondaryColor;
        text-decoration: none;
    }

        .frontpagelinks h3 a:hover {
            color: @PrimaryColor;
            text-decoration: underline;
        }
    /*  FOOTER */
    .footer {
        border-top: @BorderSize @BorderStyle;
        font-size: 11px;
        color: @SecondaryColor;
        text-transform: uppercase;
        padding-top: 25px;
        padding-bottom: 20px;
        line-height: @LineHeight;
    }

    .footerWrapper {
        background: #f0f0f0;
    }


    .footer h2, .footer a {
        color: @SecondaryColor;
    }

        .footer a:hover {
            color: @PrimaryColor;
            text-decoration: none;
        }
    /*  USER SET  */
    .bannerRotation {
        text-align:center;
        margin-top:10px;
    }

    .space {
        margin-top: 30px;
    }

    .cycle-pager {
        text-align: center;
    }

        .cycle-pager span {
            display: none;
        }

    .cycle-pager-active {
        color: @PrimaryColor;
    }

    .cycle-slideshow {
        height: 0;
    }

    #frontPageNews > div > div > h2 {
        font-size: 18px;
    }
}

#frontPageNews_header {
    display:none;
}

.sitecontent #frontPageNews > div > div > h2 {
    text-transform:uppercase;
}

#form1 > div.headWrapper > div.frontPageWrapper > div > div.itemWrapper > div > div > h2 {
        font-size:18px;
        margin-left:6px;
        margin-top:8px;
    }


.sitecontent #form1 > div.headWrapper > div.frontPageWrapper > div > div.itemWrapper > div > div > p {
  margin-left:6px;
}
/***********************************************************/

#divPageContents > div {
    line-height: @LineHeight;
    color: @TextColor;
    margin-bottom: 30px;
    float: left;
    width: 100%;
}

#divPageContents .editContents {
    margin-bottom: 0;
}

.subcontent > div {
    clear: both;
    margin-bottom: @LineHeight;
}

.subcontent > div > span {
    margin-bottom: @LineHeight;
}

/*  CONTENT LAYOUT  ****************************************/
.subcontent {
    //float: left;
    //width: @PageContentWidth;
    /*  PAGEOPTIONS  */
    #pageContents_divPageOptions {
        float: left;
        clear: both;
        //width: @PageContentWidth;
        padding-bottom: 10px;
        //border-bottom: @BorderSize @BorderStyle;
        margin-bottom: @LineHeight;
    }

        #pageContents_divPageOptions > span {
            margin-left: 20px;
            float: right;
            cursor: pointer;
        }

        #pageContents_divPageOptions span span {
            float: left;
            display: block;
            line-height: 16px;
            margin-left: 5px;
        }

            #pageContents_divPageOptions span span:hover {
                color: @PrimaryColor;
            }

        #pageContents_divPageOptions span img {
            float: left;
        }
    /* FAQ */
    .faq-question h1 {
        font-size: 14px !important;
        padding: 10px 0;
        cursor: pointer;
        text-transform: none !important;
        margin-bottom: 0px;
        float: none;
    }

        .faq-question h1 img {
            vertical-align: middle;
            padding-right: 5px;
        }

    .faq-question .faq-answer {
        display: none;
        padding: 0 0 10px 20px;
        color: #646464;
    }
    /*  INPUT MODULS  */
    input[type=text], input[type=password],
    textarea, input[type=submit] {
        outline: none;
        border: @BorderSize @BorderStyle;
        height: 30px - 10px - @BorderSize*2;
        width: 200px - 20px - @BorderSize*2;
        float: left;
        padding: 5px 10px;
        color: @TextColor;
        background: @BrightColor;
        border-radius: @BorderRadius;
    }

    .field {
        float: left;
        position: relative;
        width: 200px;
    }

        .field:first-child {
            margin-right: 10px;
        }

        .field + .field input {
            *margin-left: -10px;
        }

    input:focus, textarea:focus {
        border-color: @PrimaryColor;
    }

    input[type=submit] {
        filter: chroma(color=#000000);
        width: auto;
        height: 30px;
        color: @PrimaryColor;
        cursor: pointer;
    }

        input[type=submit]:active {
            border-color: @PrimaryColor;
            background: @PrimaryColor;
            color: @BrightColor;
        }

        input[type=submit]:hover {
            border-color: @PrimaryColor;
        }

    .watermark {
        position: absolute;
        margin: 7px 10px;
        color: @SecondaryColor;
        left: 0px;
    }

        .watermark label {
            cursor: text;
        }

    select {
        border: @BorderSize @BorderStyle;
        outline: none;
        height: 22px;
        padding: 2px;
        color: @SecondaryColor;
        background: @BrightColor;
        border-radius: @BorderRadius;
    }
    /*  IMAGE MODULS  */
    div span {
        float: left;
        width: 100%;
        border-radius: @BorderRadius;
    }

        div span img {
            border-radius: @BorderRadius;
            width: 100%;
        }

        div span.fl {
            margin: 0px 20px 20px 0px;
            float: left;
            width: 50%;
        }

        div span.fr {
            margin: 0px 0px 20px 20px;
            float: right;
            width: 50%;
        }
        /*div span + span {
            float: left;
            margin-left: 20px;
        }*/
        div span i {
            /*float: left;
        clear: both;
        width: 100%;*/
        }
    /*  NEWS MODULS  */
    .news {
        float: left;
        margin-bottom: @LineHeight;
    }

        .news .newssearch {
            float: none;
            display: block;
            width: 100%;
        }

            .news .newssearch .field, .news .newssearch input[type=submit] {
                margin-top: 6px;
            }

    .newslist {
        float: left;
        width:100%;
    }

        .newslist .newsitem {
            float: left;
            padding: 20px 0px;
            width:100%;
            //width: @PageContentWidth;
            border-bottom: @BorderSize @BorderStyle;
        }

            .newslist .newsitem:first-child {
                border-top: @BorderSize @BorderStyle;
                margin-top: 20px;
            }

    .newsitem > a {
        float: left;
        //margin-right: 20px;
        margin: 0 2% 2% 0;
        border: @BorderSize @BorderStyle;
        padding: @ImagePadding;
        background: @BrightColor;
        border-radius: @BorderRadius;
    }

        .newsitem > a:hover {
            border-color: @PrimaryColor;
        }

    .newsitem .newstext {
        //float: left;
        //width: @PageContentWidth - 160px - 20px - @BorderSize*2 - @ImagePadding*2;
    }

        .newsitem .newstext p {
            margin-bottom: 0px;
        }

    .newsitem h2 a {
        float: left;
    }

    .newsitem h2 em {
        font-size: 11px;
        color: @SecondaryColor;
        float: right;
    }

    .news .newspage {
        float: left;
        //width: @PageContentWidth;
        text-align: center;
        padding-top: 10px;
        height: 28px;
        display: block;
    }

        .news .newspage a {
            padding: 5px 10px;
            text-align: center;
            background: @BrightColor;
            display: inline-block;
            border: @BorderSize @BorderStyle;
        }

            .news .newspage a:hover {
                text-decoration: none;
                color: @PrimaryColor;
                border-color: @PrimaryColor;
            }

            .news .newspage a.active {
                color: @PrimaryColor;
            }

            .news .newspage a:active {
                background: @PrimaryColor;
                color: @BrightColor;
            }
    /*  NEWS VIEW  */
    .newsview {
        float: left;
    }

        .newsview span {
            width: auto;
            float: none;
        }

        .newsview strong {
            font-weight:bold !important;

            em {
                font-style:italic !important;
                font-weight:bold !important;
            }
        }

        .newsview em {
            font-style:italic !important;

            strong {
                font-style:italic !important;
                font-weight:bold !important;
            }
        }

    .viewback {
        width: @PageContentWidth;
        display: block;
        float: left;
        text-align: left;
        //border-bottom: @BorderSize @BorderStyle;
        line-height: 28px;
        margin-bottom: 20px;
    }

        .viewback.bottom {
            margin-top: 20px;
        }

    .newsview h1 em {
        font-size: 11px;
        color: @SecondaryColor;
        float: right;
    }

    .newsview .newsimages {
        //float: left;
        margin-top: @LineHeight;
        margin-bottom: @LineHeight;
        //overflow: hidden;
        //width: @PageContentWidth;
    }

        .newsview .newsimages .image {
            //float: left;
            display: block;
            //max-width: @PageContentWidth - @BorderSize*2 - @ImagePadding*2;
            //max-height: 350px - @BorderSize*2 - @ImagePadding*2;
            padding: @ImagePadding;
            //overflow: hidden;
            border: @BorderSize @BorderStyle;
            background: @BrightColor;
            border-radius: @BorderRadius;
        }

            .newsview .newsimages .image:hover {
                border-color: @PrimaryColor;
            }

            .newsview .newsimages .image a {
                display: block;
                //max-height: 350px - @BorderSize*2 - @ImagePadding*2;
                //overflow: hidden;
            }

            .newsview .newsimages .image img {
                //max-width: @PageContentWidth - @BorderSize*2 - @ImagePadding*2;
                width: 100%;
                height: auto;
            }

        .newsview .newsimages .list {
            //float: left;
            //width: @PageContentWidth;
            //clear: both;
        }

    .newsimages .list ul {
        //float: left;
    }

    .newsimages .list li {
        width: 108px - @BorderSize*2 - @ImagePadding*2;
        border: @BorderSize @BorderStyle;
        padding: @ImagePadding;
        background: @BrightColor;
        height: 75px - @BorderSize*2 - @ImagePadding*2;
        float: left;
        margin: 10px 10px 0px 0px;
        border-radius: @BorderRadius;
    }

        .newsimages .list li:hover {
            border-color: @PrimaryColor;
        }

        .newsimages .list li a {
            display: block;
            height: 75px - @BorderSize*2 - @ImagePadding*2;
            overflow: hidden;
        }

            .newsimages .list li a img {
                width: 108px - @BorderSize*2 - @ImagePadding*2;
                height: auto;
            }

    .newsview .newsimages a:hover {
        border-color: @PrimaryColor;
    }

    .newsview .newscomment {
        float: left;
        margin-bottom: @LineHeight;
        margin-top: 40px;
    }

    @FormWidth: @PageContentWidth - 150px - 20px;

    .newscomment, .guestbook-entries {
        float: left;
        clear: both;
        width: @PageContentWidth;
        margin-bottom: @LineHeight;
    }

        .newscomment .textarea {
            margin-bottom: 10px;
            float: left;
        }

        .newscomment textarea {
            width: @FormWidth - 20px - @BorderSize*2;
            height: 150px - 10px - @BorderSize*2;
        }

        .newscomment .textarea .field {
            width: @FormWidth;
        }

        .newscomment input[type=text] {
            width: 200px - 20px - @BorderSize*2;
        }

        .newscomment input[type=submit] {
            width: auto;
            margin: 10px 0 0 0;
        }

        .newscomment .form {
            width: @FormWidth;
            float: left;
        }

        .newscomment .error {
            width: 150px;
            float: left;
            margin-left: 20px;
        }

            .newscomment .error span {
                background: url(/gfx/Modules/starerror.png) no-repeat 0px 4px;
                padding-left: 15px;
                color: #c28484 !important;
                line-height: 20px;
            }

        .newscomment .news-comment {
            float: left;
            clear: both;
            width: @PageContentWidth;
        }

            .newscomment .news-comment h4 {
                float: left;
            }

                .newscomment .news-comment h4 em {
                    font-size: 11px;
                    color: @SecondaryColor;
                    float: right;
                }

        .newscomment .news-comment {
            float: left;
            padding: 20px 0px 3px 0px;
            width: @PageContentWidth;
            border-top: @BorderSize @BorderStyle;
        }

        .newscomment .commentlist-headline {
            margin-top: 40px;
        }

        .newscomment h3 em {
            font-size: 11px;
            color: @SecondaryColor;
            float: right;
        }
    /*  PRODUCT MODULS  */
    .product {
        float: left;
        margin-bottom: @LineHeight;
    }

        .product .search {
            float: left;
            padding-left: 18px;
        }

    .productlist {
    }

        .productlist table {
            clear: both;
        }

        .productlist .productitem {
            display: inline-block;
            width: 24%;
            vertical-align: middle;
            box-sizing: border-box;
            text-align: center;
            padding: 12px 4px 12px 4px;

            @media screen and (max-width: 479px) {
                width: 49%;
            }

            img {
                width: 100%;
            }
        }

            .productlist .productitem:first-child {
            }

    .productitem > a + a {
        font-family: Georgia;
        display: block;
        text-align: center;
        margin-top: 12px;
        font-size: 12px;
        color: #545454;
    }

    .productitem > a:hover {
        border-color: @PrimaryColor;
    }

    .productitem .newstext {
        float: left;
        width: @PageContentWidth - 160px - 20px - @BorderSize*2 - @ImagePadding*2;
    }

        .productitem .newstext p {
            margin-bottom: 0px;
        }

        .productitem .newstext h2 a {
            float: left;
        }

        .productitem .newstext h2 em {
            font-size: 11px;
            color: @SecondaryColor;
            float: right;
        }

    .product .newspage {
        float: left;
        width: @PageContentWidth;
        text-align: center;
        padding-top: 10px;
        height: 28px;
        display: block;
    }

        .product .newspage a {
            padding: 5px 10px;
            text-align: center;
            background: @BrightColor;
            display: inline-block;
            border: @BorderSize @BorderStyle;
        }

            .product .newspage a:hover {
                text-decoration: none;
                color: @PrimaryColor;
                border-color: @PrimaryColor;
            }

            .product .newspage a.active {
                color: @PrimaryColor;
            }

            .product .newspage a:active {
                background: @PrimaryColor;
                color: @BrightColor;
            }
    /*  PRODUCT VIEW  */
    .productview {
        float: left;
    }

        .productview table td {
            padding: 8px;
        }

    .viewback {
        width: @PageContentWidth;
        display: block;
        float: left;
        text-align: left;
        line-height: 28px;
        margin-bottom: 20px;
    }

        .viewback.bottom {
            margin-top: 20px;
        }

    .productview h2 span {
        float: none;
    }

    .productview h1 em {
        font-size: 11px;
        color: @SecondaryColor;
        float: right;
    }

    .productview .productimages {
        float: left;
        margin-bottom: @LineHeight;
    }

        .productview .productimages .image {
            display: inline-block;
            padding: @ImagePadding;
            background: @BrightColor;
        }

            .productview .productimages .image:hover {
            }

            .productview .productimages .image a {
                display: block;
                overflow: hidden;
            }

            .productview .productimages .image img {
                height: auto;
            }

        .productview .productimages .list {
            float: left;
            clear: both;
        }

    .productimages .list ul {
        float: left;
    }

    .productimages .list li {
        padding: @ImagePadding;
        background: @BrightColor;
        float: left;
    }

        .productimages .list li:hover {
        }

        .productimages .list li a {
            display: block;
            overflow: hidden;
        }

            .productimages .list li a img {
                height: auto;
            }

    .productview .productimages a:hover {
        border-color: @PrimaryColor;
    }

    .productview .newscomment {
        float: left;
        margin-bottom: @LineHeight;
        margin-top: 40px;
    }

    .txtQuantity {
        width: 22px !important;
        text-align: right;
    }

    .increase {
        padding: 8px 4px 8px 8px;
        float: left;
        cursor: pointer;
    }

    .decrease {
        padding: 8px 8px 8px 4px;
        float: left;
        cursor: pointer;
    }

    .delete {
        padding: 8px 4px 8px 8px;
        float: left;
        cursor: pointer;
    }

    .show {
        padding: 8px 8px 8px 4px;
        cursor: pointer;
        float: left;
    }

    .productBasket p {
        line-height: 30px;
        float: left;
        margin-right: 10px;
    }

    .productcomment, .guestbook-entries {
        float: left;
        clear: both;
        width: @PageContentWidth;
        margin-bottom: @LineHeight;
    }

        .productcomment .textarea {
            margin-bottom: 10px;
            float: left;
        }

        .productcomment textarea {
            width: @FormWidth - 20px - @BorderSize*2;
            height: 150px - 10px - @BorderSize*2;
        }

        .productcomment .textarea .field {
            width: @FormWidth;
        }

        .productcomment input[type=text] {
            width: 200px - 20px - @BorderSize*2;
        }

        .productcomment input[type=submit] {
            width: auto;
            margin: 10px 0 0 0;
        }

        .productcomment .form {
            width: @FormWidth;
            float: left;
        }

        .productcomment .error {
            width: 150px;
            float: left;
            margin-left: 20px;
        }

            .productcomment .error span {
                background: url(/gfx/Modules/starerror.png) no-repeat 0px 4px;
                padding-left: 15px;
                color: #c28484 !important;
                line-height: 20px;
            }

        .productcomment .news-comment {
            float: left;
            clear: both;
            width: @PageContentWidth;
        }

            .productcomment .news-comment h4 {
                float: left;
            }

                .productcomment .news-comment h4 em {
                    font-size: 11px;
                    color: @SecondaryColor;
                    float: right;
                }

        .productcomment .news-comment {
            float: left;
            padding: 20px 0px 3px 0px;
            width: @PageContentWidth;
            border-top: @BorderSize @BorderStyle;
        }

        .productcomment .commentlist-headline {
            margin-top: 40px;
        }

        .productcomment h3 em {
            font-size: 11px;
            color: @SecondaryColor;
            float: right;
        }
    /*  GALLERY MODULS  */
    @GalleryWidth: (@PageContentWidth - 20px*3) / 4; /* content width - margin*3 / 4 images */
    @GalleryHeight: @GalleryWidth * 0.75;

    .gallery {
        float: left;
        width: @PageContentWidth;
        *margin-bottom: @LineHeight;

        .text {
            padding: 5px;
            text-align: center;
        }
    }

        .gallery ul {
            display: block;
        }

        .gallery li {
            display: inline-block;
            *display: inline;
            zoom: 1;
            height: auto;
            list-style: none !important;
            vertical-align: top;
        }

            .gallery li a {
                display: block;
                //max-height: @GalleryHeight - @BorderSize*2 - @ImagePadding*2;
                //overflow: hidden;
            }

                .gallery li a img {
                    //width: @GalleryWidth - @BorderSize*2 - @ImagePadding*2;
                    width: 100%;
                    height: auto;
                    position: relative;
                    overflow: hidden;
                }

            .gallery li:hover {
                border-color: @PrimaryColor;
            }

            .gallery li i {
                float: left;
                width: @GalleryWidth;
                margin-top: 5px;
                text-align: center;
            }

    .gallerybox {
        text-align: center;
    }

        .gallerybox a {
            margin: auto;
            //width: @GalleryWidth - @BorderSize*2 - @ImagePadding*2;
            //height: @GalleryHeight - @BorderSize*2 - @ImagePadding*2;
            //border: @BorderSize @BorderStyle;
            //padding: 4px;
            //background: @BrightColor;
            //border-radius: @BorderRadius;
        }
    /*  LOGIN MODULS  */
    .login, .loginmodule {
        float: left;
        width: @PageContentWidth;
        margin-bottom: @LineHeight;
    }

        .login .inputs {
            clear: both;
            width: 100%;
            float: left;
            margin-top: 10px;
        }

        .login input:focus {
            border-color: @PrimaryColor;
        }

        .login .inputs a {
            float: left;
        }

            .login .inputs a + a {
                margin-left: 20px;
            }

        .login .field {
            margin: 6px 6px 0 0;
        }

        .login input[type=submit] {
            margin-top: 6px;
        }

        .login input[type=text] {
            width: 89%;
        }

    span.loggedInHeader {
        display: block;
        float: left;
        height: 30px - 10px - @BorderSize*2;
        border: @BorderSize @BorderStyle;
        width: auto - 20px;
        outline: none;
        padding: 5px 10px;
        color: @SecondaryColor;
        background: @BrightColor;
        margin-right: 10px;
        margin-top: 6px;
    }
    /*  FILE MODULS  */
    .fileContainer {
        float: left;
        margin-bottom: @LineHeight;
        clear: both;
        width: @PageContentWidth;
    }

        .fileContainer ul {
            float: left;
            width: 100%;
        }

        .fileContainer li {
            padding: 15px 0 15px 0;
            float: left;
            width: 100%;
            position: relative;
        }

        .fileContainer ul li a {
            float: left;
            padding-left: 40px;
        }

            .fileContainer ul li a img {
                position: absolute;
                top: 6px;
                left: 0px;
            }
    /*  CALENDAR MODULS  */
    .calendar {
        float: left;
        clear: both;
        width: @PageContentWidth;
        margin-bottom: @LineHeight;
    }

        .calendar > table {
            float: left;
            width: 300px;
            border: 1px @BorderStyle;
            background: @BrightColor;
            border-radius: @BorderRadius;
        }

        .calendar table.header {
            border: 0px;
            background: @BrightColor;
        }

            .calendar table.header td {
                border: 0 none;
                text-transform: uppercase;
                text-align: center;
                color: @PrimaryColor;
            }

                .calendar table.header td a {
                    color: @SecondaryColor !important;
                }

                    .calendar table.header td a:hover {
                        color: @PrimaryColor !important;
                        text-decoration: none;
                    }

        .calendar table td {
            height: 40px;
            border: @BorderSize @BorderStyle;
            color: @SecondaryColor;
            font-weight: bold;
        }

        .calendar table th {
            height: 20px;
            border: @BorderSize @BorderStyle;
            color: @SecondaryColor;
            font-weight: bold;
            text-align: center;
        }

        .calendar table td.day a {
            display: block;
            line-height: 40px;
            height: 40px;
            vertical-align: middle;
            width: 42px;
            position: relative;
            color: @SecondaryColor;
        }

            .calendar table td.day a:hover {
                color: @PrimaryColor;
                text-decoration: none;
            }

            .calendar table td.day a span {
                display: block;
                position: absolute;
                height: 7px;
                width: 7px;
                top: 2px;
                left: 2px;
                border-top: 3px solid @PrimaryColor;
                border-left: 3px solid @PrimaryColor;
            }

        .calendar table td.today {
            background: #eaeaea;
            //color: @BrightColor;
        }

        .calendar table td.event {
            background-color: @PrimaryColor;
        }

            .calendar table td.event a {
                color: @BrightColor;
            }

        .calendar table td.today.event span {
            //border-color: @BrightColor;
            display: none;
        }

        .calendar table .today.event a:hover {
            color: @BrightColor;
        }

        .calendar ul {
            float: left;
            width: @PageContentWidth - 300px - 20px;
            margin-left: 18px;
        }

            .calendar ul li {
                float: left;
                width: 100%;
                margin-bottom: 10px;
            }

                .calendar ul li h4 a {
                    float: left;
                }

                .calendar ul li h4 em {
                    font-size: 11px;
                    color: @SecondaryColor;
                    float: right;
                }

    .subcontent .calendar > table {
        width: 49%;
    }

    .subcontent .calendar ul {
        width: 49%;
        float: right;
        margin: 0;
    }
    /*  GUESTBOOK MODULS  */
    @InputBookWidth: (@PageContentWidth - 10*2 - 45px - 20px - 150px) / 2; /* content width - margin*2 - submit width - margin - error div width / 2 inputs */
    .guestbook-form, .guestbook-entries {
        float: left;
        clear: both;
        width: @PageContentWidth;
        margin-bottom: @LineHeight;
    }

        .guestbook-form textarea {
            width: @FormWidth - 20px - @BorderSize*2;
            max-width: @FormWidth - 20px - @BorderSize*2;
            min-width: 100px;
            height: 150px - 10px - @BorderSize*2;
            min-height: 50px;
        }

        .guestbook-form .form .field {
            width: @InputBookWidth;
        }

        .guestbook-form input[type=text] {
            width: @InputBookWidth - 20px - @BorderSize*2;
        }

        .guestbook-form input[type=submit] {
            width: 45px;
        }

        .guestbook-form .form {
            width: @FormWidth;
            float: left;
        }

        .guestbook-form .error {
            width: 150px;
            float: left;
            margin-left: 20px;
        }

            .guestbook-form .error span {
                background: url(/gfx/Modules/starerror.png) no-repeat 0px 4px;
                padding-left: 15px;
                color: #c28484 !important;
                line-height: 20px;
            }

        .guestbook-form .field.textarea {
            margin-bottom: 10px;
            width: @FormWidth;
        }

    .guestbook-gravatar {
        display: none;
    }

    .guestbook-entries .guestbook-entry {
        float: left;
        clear: both;
        width: @PageContentWidth;
    }

        .guestbook-entries .guestbook-entry h3 {
            float: left;
        }

            .guestbook-entries .guestbook-entry h3 em {
                font-size: 11px;
                color: @SecondaryColor;
                float: right;
            }

    .guestbook-entries .guestbook-entry {
        float: left;
        padding: 20px 0px 3px 0px;
        width: @PageContentWidth;
        border-top: @BorderSize @BorderStyle;
    }

    .commentlist-headline {
        margin-top: 40px;
    }

    .guestbook-entries h3 em {
        font-size: 11px;
        color: @SecondaryColor;
        float: right;
    }
    /* DEALER  MODULS  */
    @DealerWidth: (@PageContentWidth - 20px*4) / 4; /* content width - margin*3 / 4 images */
    @DealerMargin: (20px/700px)*@PageContentWidth;

    .dealerlist {
        float: left;
        clear: both;
        //width: @PageContentWidth;
        margin-bottom: @LineHeight;
    }

        .dealerlist h4 img {
            width: auto;
        }

        .dealerlist h3 {
            float: none;
        }

        .dealerlist .list {
            float: left;
            clear: both;
            //width: @PageContentWidth;
        }

            .dealerlist .list img {
                width: auto;
            }

            .dealerlist .list div {
                //float: left;
                display: inline-block;
                *display: inline;
                zoom: 1;
                vertical-align: top;
                min-width: 150px;
                margin: 20px 20px 0 0;
            }

            .dealerlist .list span {
                float: left;
                clear: left;
            }

            .dealerlist .list a {
                float: left;
            }

            .dealerlist .list > li {
                float: left;
                //padding: 12px 10px;
                //width: @PageContentWidth - 10*2;
                width: 100%;
                overflow: hidden;
                border-bottom: @BorderSize @BorderStyle;
                padding-bottom: 20px;
            }

                .dealerlist .list > li:first-child {
                    border-top: @BorderSize @BorderStyle;
                }

                .dealerlist .list > li h3 {
                    //margin: -12px 0;
                    //padding: 10px;
                    //width: 100%;
                    margin: 10px 0 0 0;
                }

                .dealerlist .list > li ul {
                    float: left;
                    margin: 15px;
                    //min-width:180px;
                }

        .dealerlist .info {
            float: left;
            width: 100%;
            margin-top: 15px;
        }

            .dealerlist .info td {
                vertical-align: top;
                width: 26%;
            }

                .dealerlist .info td:first-child {
                    width: 22%;
                }

            .dealerlist .info ul {
                float: left;
                line-height: @LineHeight;
            }

            .dealerlist .info li img {
                float: left;
                margin-right: 5px;
            }

            .dealerlist .info li {
                padding-left: 16px+5px;
            }

                .dealerlist .info li:first-child {
                    padding-left: 0px;
                }

                    .dealerlist .info li:first-child a img {
                        width: @DealerWidth - (@BorderSize*2 + @ImagePadding*2);
                        margin: 0px;
                    }

                    .dealerlist .info li:first-child a {
                        float: left;
                        border: @BorderSize @BorderStyle;
                        padding: @ImagePadding;
                        background: @BrightColor;
                        border-radius: @BorderRadius;
                        margin: 0px @DealerMargin 0px 0px;
                    }

                        .dealerlist .info li:first-child a:hover {
                            border-color: @PrimaryColor;
                        }

        .dealerlist .header {
            float: left;
            clear: both;
            //width: @PageContentWidth;
            width: 100%;
            border-top: @BorderSize @BorderStyle;
            padding-top: 7px;
            padding-bottom: 7px;
        }

            .dealerlist .header h2 {
                //float: left;
                width: 100%;
            }

            .dealerlist .header .sorting {
                float: left;
            }

                .dealerlist .header .sorting > div {
                    display: inline-block;
                    *display: inline;
                    zoom: 1;
                }

                    .dealerlist .header .sorting > div:first-child {
                        padding-top: 6px;
                        padding-right: 6px;
                    }

        .dealerlist .sorting select {
            margin-right: 6px;
        }

        .dealerlist .sorting select, .dealerlist .sorting input {
            margin-top: 6px;
        }

        .dealerlist .sorting .button {
            padding: 2px 10px;
            height: 22px;
            float: none;
        }

        .dealerlist .search {
            float: left;
            clear: both;
            //width: @PageContentWidth;
            margin-bottom: 20px;
        }

            .dealerlist .search .textfield {
                float: left;
            }

                .dealerlist .search .textfield input {
                    margin-top: 6px;
                }

                    .dealerlist .search .textfield input[type=text] {
                        margin-right: 6px;
                    }

            .dealerlist .search .checkfield {
                float: left;
            }

        .dealerlist .checkfield ul {
            float: left;
        }

            .dealerlist .checkfield ul li {
                margin: 10px 15px 0px 0px;
                //border: @BorderSize @BorderStyle;
                height: 30px - 10px - @BorderSize*2;
                float: left;
                padding: 5px 10px;
                color: @SecondaryColor;
                //background: @BrightColor;
                border-radius: @BorderRadius;
                line-height: 30px - 10px - @BorderSize*2;
            }

                .dealerlist .checkfield ul li label {
                    margin-left: 5px;
                    float: left;
                }

                .dealerlist .checkfield ul li input {
                    float: left;
                    margin-top: 2px;
                }

        .dealerlist .pagingContainer {
            float: left;
            //width: 700px;
            padding-top: 7px;
        }

            .dealerlist .pagingContainer table {
                width: 100%;
            }

            .dealerlist .pagingContainer td {
                text-align: center;
                width: 75px;
            }

            .dealerlist .pagingContainer span {
                padding: 5px;
                float: none;
            }

            .dealerlist .pagingContainer .pagingNumbers {
                width: 400px;
            }
    /*  FAMILY MODULS  */
    .FamilyTree {
        float: left;
        //width: @PageContentWidth;
        width: 100%;
        clear: both;
        margin-bottom: @LineHeight;
        word-break: break-all;
    }

        .FamilyTree td {
            border: 1px @BorderStyle;
            background: @BrightColor;
            padding: 5px;
        }
    /* HORSE VIEW */
    .horseview {
        float: left;
        width: @PageContentWidth;
        clear: both;
        margin-bottom: @LineHeight;
    }
    /* WYSIWYG */
    .wysiwyg {
        float: left;
        width: @PageContentWidth;
        clear: both;
        margin-bottom: @LineHeight;
    }

        .wysiwyg ul li {
            list-style: disc;
            margin-left: 20px;
        }

        .wysiwyg span {
            float: none;
        }

        .wysiwyg strong {
            font-weight: bold;
        }
    /*  COUNTER MODULS  */
    .view-counter {
        float: left;
        width: @PageContentWidth;
        clear: both;
        margin-bottom: @LineHeight;
    }
    /*  VIDEO MODULS  */
    .videocontainer {
        float: left;
        clear: both;
        //width: @PageContentWidth;
        margin-bottom: @LineHeight;

        .videoImage {
            width: 100%;
            max-width: 640px;
        }

        .videoWrapper {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            display: block;
            margin: auto;
        }

            .videoWrapper object,
            .videoWrapper embed {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
            }
    }

        .videocontainer .playButton {
            position: absolute;
            left: 50%;
            top: 50%;
            margin: -42px 0px 0px -42px;
        }
    /*  ADD THIS MODULS  */
    .addthis_toolbox {
        float: left;
        clear: both;
        //width: @PageContentWidth;
        margin-bottom: @LineHeight;
    }
    /*  HOMEMODULE  */
    .homeModule .searchWrapper td {
        padding: 4px;
    }

    .homeModule input {
        float: none;
        margin: 0;
    }

    .homeModule .homeList {
        width: 100%;
    }

        .homeModule .homeList td, .homeModule .homeList th {
            padding: 8px;
            border: 1px solid #EAEAEA;
            background-color: white;
        }

    .homeModule .currentPage {
        text-decoration: underline;
    }
}
/***********************************************************/


/*  ADMINISTRATION LAYOUT  ****************************************/
.admincontent {
    width: @PageContentWidth;
    background: white;

    fieldset {
        padding: 10px 10px 3px 10px;
        background: @BrightColor;
        overflow: hidden;
        margin-bottom: @LineHeight;
        border: @BorderSize @BorderStyle;
        border-radius: @BorderRadius;
    }

    .EmptyContentModule {
        margin-bottom: @LineHeight;
    }

    .faq h1 {
        font-size: 15px;
        font-weight: bold;
    }

    div .image {
        width: 48%;
        margin-right: 2%;
    }

    .fourImages span {
        width:24%;
        margin-right:1%;
    }
}
/***********************************************************/


/*  POPUP CONTENT LAYOUT  ****************************************/
.popupcontent {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;

    .calendarview {
        //width: 700px;
        margin: 20px auto;
    }

    .calendarview .stylebox {
        border: 1px @BorderStyle;
        background: @BrightColor;
        border-radius: @BorderRadius;
        margin-bottom: 10px;
        //float: left;
        //width: 698px;
        clear: both;
    }

    .calendarview h2 {
        text-align: center;
        padding-top: 7px;
        float: none;
    }

    .calendarview h1, .calendarview p {
        padding: 20px;
    }

    .calendarview h1 {
        padding-bottom: 0px;
        //width: 658px;
    }

    .calendarview .arrow {
        float: left;
        //width: 250px - 2px - 10px*2;
        width: 50%;
        text-align: center;
        padding: 8px 0;
    }

    .calendarview .paging {
        //float: left;
        text-align: center;
        //width: 200px;
        padding: 8px 0px;
    }

    .calendarview .paging table {
        width: 100%;
        text-align: center;
    }

    .calendarview .paging td input {
        margin-right: 5px;
    }

    .calendarview .arrow:first-child {
        /*float: left;
            text-align: left;
            width:50%;*/
    }

    .searchview {
        width: 700px;
        margin: 20px auto;
    }

    .searchview h1 {
        width: auto;
        float: left;
    }

    .searchview .search {
        float: right;
    }

    .searchview .searchpages {
        float: left;
        width: 700px;
        text-align: center;
        padding-top: 10px;
        height: 28px;
        display: block;
    }

    .searchview .searchpages a {
        padding: 5px 10px;
        text-align: center;
        background: @BrightColor;
        display: inline-block;
        border: @BorderSize @BorderStyle;
    }

    .searchview .searchpages a:hover {
        text-decoration: none;
        color: @PrimaryColor;
        border-color: @PrimaryColor;
    }

    .searchview .searchpages a.active {
        color: @PrimaryColor;
    }

    .searchview .searchpages a:active {
        background: @PrimaryColor;
        color: @BrightColor;
    }

    .searchview .resultlist {
        overflow: auto;
        height: 420px;
        float: left;
        width: 700px;
    }

    .searchview .searchitem {
        float: left;
        padding: 20px 0px;
        width: 660px;
        border-bottom: @BorderSize @BorderStyle;
    }

    .searchview .searchitem:first-child {
        border-top: @BorderSize @BorderStyle;
    }

    .searchview .searchitem h2 a {
        float: left;
    }

    .searchview .searchitem h2 em {
        font-size: 11px;
        color: @SecondaryColor;
        float: right;
    }

    .searchview .searchitem span {
        text-decoration: underline;
    }
}
/***********************************************************/

.images .overlay {
    position: absolute;
    top: 0;
    left: -100%;
}

/***********************************************************/

body {
    -webkit-text-size-adjust: 100%;
}

.pnlEditModule {
    position: absolute !important;
}

.subcontent {
    width: 100%;
}

.logoWrapper {
    float: left;
    clear: right;
}

.logoWrapper img {
    width: 100%;
    max-width: 220px;
}

.menuWrapper {
    float: left;
    width: 100%;
    height: 38px;
    background: #f0f0f0;
    margin-top: 12px;
}

.contentWrapper {
    max-width: 700px;
    overflow: hidden;
    padding-top: 20px;
}

.horseSaleWrapper .smallImages div {
    display: inline-block;
    width: 90px;
    padding: 4px;
    margin: 4px;
    text-align: center;
    border: 1px solid #eaeaea;
}

.horseSaleWrapper #div-stamtavle td {
    word-wrap: break-word;
    word-break: break-all;
    padding: 6px;
    border: 1px @BorderStyle;
}

.horseSaleWrapper .horse-headlinebar {
    font-weight: bold;
    font-size: 16px;
    margin: 14px 0 14px 0;
}

.horseSaleWrapper #div-info table {
    margin: auto;
    border: @BorderSize @BorderStyle;
}

.horseSaleWrapper #div-info table td {
    padding: 6px;
    text-align: left;
}

.horseListItem {
    min-width: 190px;
    display: inline-block;
    margin-bottom: 25px;
    vertical-align: top;
    width: 32.8%;
}

.horseview {
    text-align: center;
}

.frontPageLinksWrapper img {
    width: 100%;
}

.sitecontent .frontPageLinksWrapper h3 {
    float: none;
}

.sitecontent .frontPageLinksHeader {
    float: none;
}

.frontPageLinksWrapper h3 {
    text-align: left;
    margin-top: 8px;
}

.separator img {
    width: 100%;
    min-height: 1px;
}

img {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.menuIcon {
    padding: 10px 8px;
    background-color: @PrimaryColor;
    display: inline-block;
    border-radius: 4px;
    float: right;
}

.contentWrapper .submenu ul li:first-child {
    display: none;
}


.frontPageLinksWrapper {
    font-size: 0;
    text-align: center;
    margin-bottom: 40px;
    max-width:620px;
}

.frontPageLinksWrapper > h2 {
    float: none;
    margin-bottom: 20px;
}

.frontPageLinksWrapper .date {
    font-size: 10px;
    display: block;
    margin-bottom: 6px;
}

.frontPageLinksWrapper .itemWrapper > div {
    font-size: 13px;
    margin-top: 30px;
    text-align: left;

    @media screen and (max-width: 479px) {
        &:first-child {
            margin-top: 0;
        }
    }
}

.frontPageLinksWrapper .itemWrapper > div h2 {
    font-size: 14px;
    margin-bottom: 6px;
    float: none;
}

.frontPageLinksWrapper .itemWrapper > div img {
    width: 100%;
    margin-bottom: 8px;
}

.frontPageLinksWrapper .news-teaser {
    margin-bottom: 6px;
}

@media screen and (min-width: 480px) {

    .frontPageLinksWrapper {
        overflow: hidden;

        .itemWrapper {
            margin: -2%;

            > div {
                width: 46%;
                margin: 2%;
                display: inline-block;
                vertical-align: top;
            }
        }
    }
}

@media screen and (min-width: 960px) {
    .frontPageLinksWrapper {

        .itemWrapper > div {
            width: 100%;
        }
    }

    .grid {
    	width:220px;
    	display:inline-block;
    	padding-left:10px;
    }

    .grid h2 {
    	font-size:16px;
    }
}


.frontPageNews {
    font-size: 0;
    text-align: center;
    margin-bottom: 40px;
}

.frontPageNews > h2 {
    float: none;
    margin-bottom: 20px;
    color:#555555;
}

.frontPageNews .date {
    display:none;
}

.frontPageNews .itemWrapper > div {
    font-size: 13px;
    margin-top: 30px;
    text-align: left;

    @media screen and (max-width: 479px) {
        &:first-child {
            margin-top: 0;
        }
    }
}

.frontPageNews .itemWrapper > div h2 {
    font-size: 14px;
    margin-bottom: 6px;
    float: none;
}

.frontPageNews .itemWrapper > div img {
    width: 100%;
    margin-bottom: 8px;
 //   display:none;
}

.frontPageNews .news-teaser {
    margin-bottom: 6px;
}

@media screen and (min-width: 480px) {

    .frontPageNews {

        .itemWrapper {
            margin: -2%;
            margin-left:2%;

            > div {
               // width: 46%; //
                margin: 2%;
                display: inline-block;
                vertical-align: top;
            }
        }
    }
}

@media screen and (min-width: 960px) {
    .frontPageNews {

        .itemWrapper > div {
            width: 100%;
        }
    }
}

.countdown {
    width: 100%;
    float: left;
    background: #f0f0f0;
    margin-top: 10px;
    text-align: center;
    padding:5px;
    box-sizing:border-box;

    h2 {
        text-align: center;
    }

    p {
        font-size:14px;
    }

    #timer {
        text-align: center;

        > div {
            display: inline-block;
            text-align: center;
            margin: 5px;
            min-width: 100px;
            background: #fff;
            padding: 5px;
            border-radius: 5px;

            div {
                font-weight: bold;
                display:inline-block;
            }
        }
    }
}

.frontPageTextWrapper {
    margin: 20px 10px 40px 0;
    text-align: center;
}

.social { 
    padding:20px 0 0 0; 
    float:right;
}
.social img { 
    margin:0 20px 0 0; 
    float:right;
}

.leftFooter {
    float: left;
    width: 75%;

    .countdown {
        width: 34%;
        float: right;

        h2 {
            text-align:center;
        }

        #timer {
            text-align: center;

            > div {
                display: inline-block;
                text-align: center;
                margin: 2px 5px;
                min-width: 60px;

                div {
                    background: #fff;
                    padding: 5px;
                    border-radius: 5px;
                }
            }
        }
    }

    .contacts {
        width: 66%;
        float: left;

        ul {
            float: left;
            margin-right: 20px;
        }
    }
}

.rightFooter {
    float:right;
    width:25%;
    text-align:right;
}

.imageRotation {
    width:100%;
    padding-bottom:25%;
}

@media screen and (min-width: 960px) {

    .linkswrapper {
    	width:960px;
    	margin:0 auto;
    }

    .frontPageTextWrapper {
        text-align: left;
        display: inline;
        width: 610px;
        float: left;
    }

    .frontPageNews {
        width:290px;
    }

   .latestnews {
        display:inline-block;
        width:300px;
        padding-top:25px;

    }

    .latest-headline {
        padding-left: 11px;
    }

    #frontPageNews > div > div.news-item  {
        font-size:13px;
    }

    .headWrapper {
        padding-top: 0px;
    }

    .hiddenOver960 {
        display: none;
    }

    .contentWrapper .submenu {
        display: none;
    }

    .maxWidthWrapper {
        max-width: 920px;
        margin: auto;
        padding: 0 10px;
    }

    .submenuWrapper {
        width: 200px;
        float: left;
        margin-right: 20px;
    }

    .submenuWrapper .menuIcon {
        display: none;
    }

    .submenuWrapper .submenu {
        display: block !important;
    }

    .submenuWrapper .submenu ul li {
        display: none;
    }

    .submenuWrapper .submenu ul li.open {
        display: block;
    }

    .submenuWrapper .submenu ul li > i {
        padding: 0 !important;
    }

    .sitecontent .imageRotation {
        max-height:240px;

    }

    .sitecontent .frontPageH1 {
    }

    .logoWrapper {
    float: left;
    clear: right;
    z-index: 500;
    position: relative;
    margin-left: 20px;
    margin-top: 139px;
    }

    .frontpagelinks {
        margin-bottom:10px;

        h2 {
            line-height:20px;
        }
    }

@-moz-document url-prefix() {
    .top-news {
    position: relative;
	left: -294px;
	margin-top: 35px !important;
	}
                    }
  /*  @-moz-document {
    .top-news {
    position: relative;
	left: -294px;
	margin-top: 35px;
	} */
}

@media screen and (max-width: 959px) {

    .latest-headline {
        text-align:center;
        padding-top:20px;   
        font-weight:bold;       
    }

    .latestnews {
        float:left;
        width:100%;
    }

    .news-item {
        width:100%;
    }

    .hiddenUnder960 {
        display:none;
    }

    .submenuImage, .submenuHtml {
        display: none;
    }

    .headWrapper {
        padding-top: 15px;
    }

    .frontPageWrapper {
        text-align: center;
    }

    .frontPageText {
        text-align: center;
    }

    .maxWidthWrapper {
        max-width: 700px;
        margin: auto;
        padding: 0 15px;
    }

    .menuWrapper {
        display: none;
    }

    .submenuWrapper {
        float: none;
        clear: both;
        margin: auto;
        width: 100%;
        margin-top: 10px;
    }

    .submenuWrapper .submenu {
        margin: 0;
        display: none;
    }

    .submenuWrapper .submenu ul li {
        display: block;
    }

    .itemWrapper {
        width:100%;
        margin:0 auto;
    }

    .leftFooter {
        width: 100%;

        .countdownBottom {
            width: 100%;
            text-align: center;
        }

        .contacts {
            width: 100%;
            text-align: center;
            //margin-top: 20px;

            ul {
                display:inline-block;
                float:none;
                margin-right:0;
                margin:0 10px;
            }
        }
    }

    .rightFooter {
        width: 100%;
        text-align: center;

        .social {
            float:none;
            width:100%;
            img {
                float: none;
                margin: 0 10px;
            }
        }
    }


}

@media screen and (min-width: 481px) {

    .subcontent .calendar > table {
        width: 49%;
    }

    .subcontent .calendar ul {
        width: 49%;
        float: right;
        margin: 0;
    }
}

@media screen and (min-width: 481px) and (max-width: 959px) {

    .logoWrapper {
        clear: none;
        position:relative;
        z-index:10000;
        margin-top:2%;
    }

    .horseListItem {
        width: 49%;
    }

}

@media screen and (max-width: 480px) {

    .logoWrapper {
        clear: both;
        float: none;
        text-align: center;
    }


    .sitecontent #divPageContents > div {
        font-size: 13px;
        line-height: 140%;
    }

    .subcontent .calendar > table {
        float: none;
        width: 100%;
    }

    .subcontent .calendar ul {
        float: none;
        margin-left: 0;
        width: auto;
        margin-top: 10px;
    }

    .popupcontent .calendarview .stylebox {
        float: none;
        width: 100%;
    }

    .horseListItem {
        width: 100%;
    }

    .footer > div {
        width: 100%;
        float: none;
        margin-bottom: 25px;
        text-align: center;
    }

    .footer2 {
        width: 100%;
        float: none;
        margin-bottom: 25px;
        text-align: center;
    }

        .frontPageNews {
        padding-left: 15px;
        padding-right: 15px;
    }

    .itemwrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .sitecontent .languages {
        margin-top:10px;
        margin-bottom:0;
    }

    .submenuWrapper {
        margin-top:10px;
    }
}

@media screen and (min-width: 361px) {

    .subcontent div span.image:first-child {
        width: 48%;
        margin-right: 2%;
    }

    .subcontent div span.image + span.image {
        width: 48%;
        margin-left: 2%;
    }

    .subcontent .fourImages span {
        width: 24%;
        margin-right: 1.33%;
    }

    .subcontent .fourImages span + span + span + span {
        margin: 0;
    }

    .subcontent .gallery ul li {
        width: 22%;
        margin-right: 3.33%;
        margin-bottom: 3.33%;
    }

    .subcontent .gallery ul li + li + li + li {
        margin: 0;
    }

    .newsitem a img {
        width: 160px;
    }
}

@media screen and (min-width: 361px) and (max-width: 480px) {
}


@media screen and (max-width: 480px) {
    .imageRotation {
        display:none;
    }


    .social {
        width:100%;

        img {
            float: none;
            margin: 0 10px;
        }
    }
}

@media screen and (max-width: 360px) {

    .subcontent div span.fl, .subcontent div span.fr {
        width: 100%;
        margin: 0 0 20px 0;
    }

    .subcontent div span.image {
        width: 100%;
    }

    .subcontent div span.image:first-child {
        margin-bottom: 4px;
    }

    .subcontent .fourImages span {
        width: 48%;
        margin: 2%;
    }

    .subcontent .fourImages span:first-child {
        margin-left: 0;
    }

    .subcontent .fourImages span + span {
        margin-right: 0;
    }

    .subcontent .fourImages span + span img {
        float: right;
    }

    .subcontent .fourImages span + span + span {
        margin-right: 2%;
        margin-left: 0;
        clear: left;
    }

    .subcontent .fourImages span + span + span img {
        float: left;
    }

    .subcontent .fourImages span + span + span + span {
        margin-right: 0;
        margin-left: 2%;
        clear: none;
    }

    .subcontent .fourImages span + span + span + span img {
        float: right;
    }

    .subcontent .gallery li {
        width: 46%;
        margin: 0 4% 4% 0;
    }

    .subcontent .gallery li:first-child + li + li {
        clear: left;
    }

    .subcontent span.loggedInHeader {
        height: auto;
        min-height: 18px;
    }

    .subcontent .login input {
        margin: 0;
    }

    .subcontent .newsitem a {
        width: 100%;
        float: none;
    }

    .subcontent .newsitem a img {
        width: 100%;
    }

    .subcontent .newsitem h2 em {
        clear: both;
        float: left;
        margin-top: 4px;
    }

    .subcontent .newsview em {
        float: left;
        clear: both;
        margin-top: 6px;
    }
}

.tagcloud {
    width: 380px;
}


@media screen and (min-width: 960px) {
  .inline-news {
    display: inline;
    float: left;
    margin-right: 10px;
    max-width: 300px;

  }
  .inline-news2 {
    display: inline;
    float: left;
    max-width: 300px;
    margin-right: 10px;

  }
}

@media screen and (min-width:726px) and (max-width: 959px) {

    .inline-news { 
    display: inline;
    float: left;
    margin-right: 10%;
    width:45%;
    max-width:none;
    }

    .inline-news2 {
    display: inline;
    float: left;
    width:45%;
    max-width:none;
    margin-right:0;
    }

    .sitecontent .frontpagelinks > a {
    	margin:0 auto;
        padding-bottom: 15px;
    }

    .frontpagelinks h2 {
    	text-align:center;
    }
}

/* @media screen and (max-width: 725px) {

    .inline-news {
        width:100%;
    }

    .inline-news2 {
        width:100%;
    }

    .imageRotation {
        display:none;
    }

    .logoWrapper {
        clear: both;
        float: none;
        text-align: center;
    }

} */

@media screen and (max-width: 725px) {

.itemwrapper {
    width:100%;
    margin:0 auto;
}
.inline-news, .inline-news2 {
    padding-top:20px;
}

.inline-news  > .frontpagelinks > a {
    margin:0 auto;
    max-width:100%;
    }

.inline-news2  > .frontpagelinks > a {
    margin:0 auto;
    max-width:100%;

    }

    .itemwrapper h2 {
    	text-align:center;
    	font-size:16px;
    }


}
