/*@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@200;300;400;500;600;700;800;900&display=swap');*/

body {
    font-family: 'Alexandria', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    font-weight: 300;
}

label {
    font-weight: 400;
}

input[type=text], input[type=password], select, textarea {
    font-family: 'Alexandria', sans-serif;
    padding: 5px 5px;
    border: 1px solid #ccc;
    line-height: 1.4;
    color: #100403;
    font-weight: 300;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

input[type=text], input[type=password], select {
    height: 32px;
}

input[type=text], input[type=password], textarea {
    width: 100%;
}

input[type=checkbox] {
    margin-right: 5px;
}

input[type=file] {
    font-family: 'Alexandria', sans-serif;
    font-weight: 300;
}

a:hover, a:active, a:focus {
    color: #AE1917;
    transition: all 0.5s ease;
}

a.primary-button {
    color: #fff;
    line-height: 1.4;
    text-decoration: none;
    padding: 6px 20px 6px 20px;
    display: inline-block;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background: linear-gradient(to left, #AE1917 50%, #C91C1C 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.5s ease;
}

    a.primary-button:hover, a.primary-button:active, a.primary-button:focus {
        color: #fff;
        background-position: left bottom;
    }

a.secondary-button {
    border: 1px solid #AE1917;
    color: #AE1917;
    line-height: 1.4;
    text-decoration: none;
    padding: 5px 20px 5px 20px;
    display: inline-block;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background: linear-gradient(to left, transparent 50%, #F2F2F2 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.5s ease;
}

    a.secondary-button:hover, a.secondary-button:active, a.secondary-button:focus {
        color: #AE1917;
        background-position: left bottom;
    }

a.teritary-button {
    border: 1px solid #000;
    color: #000;
    line-height: 1.4;
    text-decoration: none;
    padding: 5px 20px 5px 20px;
    display: inline-block;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

    a.teritary-button:hover, a.teritary-button:active, a.teritary-button:focus {
        color: #AE1917;
        border-color: #AE1917;
    }

a.back-button {
    background-color: #AE1917;
    color: #fff;
    line-height: 1.4;
    text-decoration: none;
    padding: 6px 20px 6px 20px;
    display: inline-block;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    transition: all 0.5s ease;
}

    a.back-button span {
        position: relative;
    }

    a.back-button span {
        position: relative;
        padding-left: 21px;
    }

        a.back-button span:before {
            position: absolute;
            content: '';
            background: url('../images/icon-arrow-left-2.svg');
            background-repeat: no-repeat;
            background-size: 24px 12px;
            background-position: left center;
            left: 0px;
            top: 4px;
            width: 15px;
            height: 12px;
            transition: all 0.2s linear;
        }

    a.back-button:hover, a.back-button:active, a.back-button:focus {
        background-color: #C91C1C;
        color: #fff;
    }

        a.back-button:hover span:before, a.back-button:active span:before, a.back-button:focus span:before {
            left: -5px;
            width: 20px;
        }

a.next-button {
    background-color: #AE1917;
    color: #fff;
    line-height: 1.4;
    text-decoration: none;
    padding: 6px 20px 6px 20px;
    display: inline-block;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    transition: all 0.5s ease;
}

    a.next-button span {
        position: relative;
        padding-right: 21px;
    }

        a.next-button span:before {
            position: absolute;
            content: '';
            background: url(../images/icon-arrow-right-2.svg);
            background-repeat: no-repeat;
            background-size: 24px 12px;
            background-position: right center;
            right: 0px;
            top: 4px;
            width: 15px;
            height: 12px;
            transition: all 0.2s linear;
        }

    a.next-button:hover, a.next-button:active, a.next-button:focus {
        background-color: #C91C1C;
        color: #fff;
    }

        a.next-button:hover span:before, a.next-button:active span:before, a.next-button:focus span:before {
            right: -5px;
            width: 20px;
        }

a.add-button {
    background-color: #AE1917;
    color: #fff;
    line-height: 1.4;
    text-decoration: none;
    padding: 6px 20px 6px 20px;
    display: inline-block;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    transition: all 0.5s ease;
}

    a.add-button span {
        position: relative;
    }

        a.add-button span:after {
            display: inline-block;
            position: relative;
            content: '';
            background: url('../images/icon-arrow-right-2.svg');
            background-repeat: no-repeat;
            background-size: 24px 12px;
            background-position: right center;
            left: 0px;
            top: 2px;
            width: 0px;
            height: 12px;
            transition: all 0.2s linear;
        }

    a.add-button:hover, a.add-button:active, a.add-button:focus {
        background-color: #C91C1C;
        color: #fff;
    }

        a.add-button:hover span:after, a.add-button:active span:after, a.add-button:focus span:after {
            margin-left: 7px;
            width: 18px;
        }

a.delete-button {
    border: 1px solid #AE1917;
    color: #AE1917;
    font-size: 0.9em;
    line-height: 1.4;
    text-decoration: none;
    padding: 3px 12px 3px 12px;
    display: inline-block;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background: linear-gradient(to left, transparent 50%, #F2F2F2 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.5s ease;
}

    a.delete-button:hover, a.delete-button:active, a.delete-button:focus {
        color: #AE1917;
        background-position: left bottom;
    }

h1, .h1 {
    font-size: 2em;
    color: #AE1917;
    line-height: 1.1;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 0;
}

h2 {
    font-size: 1.6em;
    color: #AE1917;
    line-height: 1.1;
    font-weight: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-weight: 400;
}

h3 {
    font-size: 1.3em;
    line-height: 1.2;
    font-weight: 400;
}

h4 {
    font-size: 1em;
    line-height: 1.2;
    font-weight: 400;
}

ul {
    padding-left: 20px;
}

.primary-color {
    color: #AE1917;
}

.validator {
    color: #C91C1C !important;
}


@media (min-width: 1200px) {

    h1, .h1 {
        font-size: 2.5em;
    }
}

/************ HEADER **********/
header #navbar {
    background-color: #AE1917;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

    header #navbar .logo img {
        height: 40px;
        width: auto;
    }

        header #navbar .logo img.small {
            display: none;
        }

    header #navbar .btn-nav-open {
        color: white;
        cursor: pointer;
        padding: 5px;
    }

    header #navbar .btn-nav-close {
        display: none;
        color: white;
        cursor: pointer;
        padding: 5px;
    }

    header #navbar .nav {
        width: 100%;
        text-align: center;
        display: none;
    }

        header #navbar .nav ul {
            padding-left: 0;
            margin: 0;
            list-style: none;
        }

        header #navbar .nav > ul > li > a {
            display: inline-block;
            text-transform: uppercase;
            color: white;
            text-decoration: none;
            margin-top: 15px;
            padding: 4px;
        }

        header #navbar .nav > ul > li > div > ul > li > a {
            display: inline-block;
            text-transform: lowercase;
            color: white;
            text-decoration: none;
            padding: 4px;
            font-size: 0.9em;
        }

        header #navbar .nav > ul > li.social-media > a > img {
            height: 20px;
        }

header #headerimg {
    position: relative;
}

    header #headerimg .image > div {
        /*background-image: url('../images/header1.jpg');*/
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        height: 220px;
    }

    header #headerimg .wrapper {
        position: absolute;
        bottom: -7px;
        width: 100%;
    }

    header #headerimg .title {
        color: white;
        text-transform: uppercase;
        font-size: 45px;
        font-weight: 500;
        line-height: 1;
        padding-left: 5px;
    }

        header #headerimg .title.animated {
            animation: 2s ease-out 0s 1 slideInLeft;
        }

@keyframes slideInLeft {
    0% {
        transform: translateX(-60%);
    }

    100% {
        transform: translateX(0);
    }
}

@media (min-width: 768px) {

    header #headerimg .image > div {
        height: 300px;
    }

    header #headerimg .wrapper {
        bottom: -10px;
    }

    header #headerimg .title {
        font-size: 72px;
    }
}

@media (min-width: 992px) {

    header #headerimg .wrapper {
        bottom: -15px;
    }

    header #headerimg .title {
        padding-left: 15px;
        font-size: 108px;
    }

    header #navbar {
        padding: 15px 25px;
    }

        header #navbar .logo img.small {
            display: inline-block;
        }

        header #navbar .logo img.full {
            display: none;
        }

        header #navbar .btn-nav-open, header #navbar .btn-nav-close {
            display: none;
        }

        header #navbar .nav {
            display: block;
            width: auto;
            margin-top: 0;
        }

            header #navbar .nav > ul {
                display: flex;
            }

                header #navbar .nav > ul > li {
                    border-left: 1px solid #100403;
                }

                    header #navbar .nav > ul > li.has-subnav {
                        position: relative;
                    }

                        header #navbar .nav > ul > li.has-subnav > a:after {
                            content: '';
                            background-image: url('../images/nav-arrow-down.png');
                            background-repeat: no-repeat;
                            background-position: right;
                            display: inline-block;
                            width: 11px;
                            height: 8px;
                            padding-left: 20px;
                        }

                    header #navbar .nav > ul > li > a {
                        margin-top: 0;
                        padding: 5px 15px;
                    }

                    header #navbar .nav > ul > li.social-media > a {
                        padding-top: 4px;
                        padding-bottom: 4px;
                    }

                    header #navbar .nav > ul > li > div {
                        display: none;
                    }

                    header #navbar .nav > ul > li.has-subnav > div {
                        position: absolute;
                        top: 100%;
                        left: 0;
                        z-index: 10;
                        float: left;
                        min-width: 100%;
                    }

                    header #navbar .nav > ul > li.has-subnav:hover > div {
                        display: block;
                    }

                    header #navbar .nav > ul > li.has-subnav > div > ul {
                        background-color: white;
                        margin: 0;
                        margin-top: 19px;
                        padding: 0;
                        list-style: none;
                        -webkit-border-bottom-left-radius: 10px;
                        -webkit-border-bottom-right-radius: 10px;
                        -moz-border-radius-bottomleft: 10px;
                        -moz-border-radius-bottomright: 10px;
                        border-bottom-left-radius: 10px;
                        border-bottom-right-radius: 10px;
                        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.3);
                    }

                    header #navbar .nav > ul > li:last-child > div {
                        left: unset;
                        right: 0;
                    }

                    header #navbar .nav > ul > li.has-subnav > div > ul > li > a {
                        text-align: left;
                    }

                    header #navbar .nav > ul > li:last-child > div > ul > li:last-child > a {
                        text-align: right;
                    }

                    header #navbar .nav > ul > li.has-subnav > div > ul > li > a {
                        display: block;
                        color: #120303;
                        /*text-transform: uppercase;
        font-size: 0.85em;*/
                        font-size: 1em;
                        white-space: nowrap;
                        margin: 0 15px;
                        border-bottom: 1px solid #AE1917;
                        padding: 8px 0 10px 0;
                    }

                    header #navbar .nav > ul > li.has-subnav > div > ul > li:last-child > a {
                        border-bottom: none;
                    }

    header #headerimg .image > div {
        height: 400px;
    }
}

@media (min-width: 1200px) {

    header #navbar .logo img.small {
        display: none;
    }

    header #navbar .logo img.full {
        display: inline-block;
    }

    header #headerimg .wrapper {
        bottom: -18px;
    }

    header #headerimg .title {
        font-size: 120px;
    }
}

@media (min-width: 1400px) {

    header #navbar .logo img {
        height: 50px;
    }

    header #navbar .nav > ul > li > a {
        padding: 5px 20px;
    }

    header #navbar .nav > ul > li.has-subnav > div > ul {
        margin-top: 24px;
    }

        header #navbar .nav > ul > li.has-subnav > div > ul > li > a {
            margin: 5px 20px;
        }
}

/************ HEADER IMAGE ANIMATION **********/

header #headerimg.animated {
    overflow: hidden;
}

    header #headerimg.animated .image, header #headerimg.animated .image > div {
        overflow: hidden;
    }
    /*header #headerimg.animated .image {
    margin-left:-10vw;
    -webkit-animation: move 25s ease-out forwards;
    animation: move 25s ease-out forwards;
    animation-iteration-count: 1;
}
header #headerimg.animated .image > div {
    -webkit-animation: zoom 15s ease-in-out forwards;
    animation: zoom 15s ease-in-out forwards;
    animation-iteration-count: 1;
    animation-delay: 8s;
    transform: scale(1.2);
}     

@keyframes zoom {
    100% {
        transform: scale(1);
    }
}

@keyframes move {
    100% {
        transform: translateX(10vw);
    }
}*/

    /*header #headerimg.animated .image {
    margin-left:-3vw;
    -webkit-animation: move 8s ease-out forwards;
    animation: move 8s ease-out forwards;
    animation-iteration-count: 1;
}
header #headerimg.animated .image > div {
    -webkit-animation: zoom 5s ease-in-out forwards;
    animation: zoom 5s ease-in-out forwards;
    animation-iteration-count: 1;
    animation-delay: 3s;
    transform: scale(1.1);
}  

@keyframes zoom {
    100% {
        transform: scale(1);
    }
}

@keyframes move {
    100% {
        transform: translateX(3vw);
    }
}*/

    header #headerimg.animated .image {
        margin-left: -2vw;
        -webkit-animation: move 6s ease-out forwards;
        animation: move 6s ease-out forwards;
        animation-iteration-count: 1;
    }

        header #headerimg.animated .image > div {
            -webkit-animation: zoom 5s ease-in-out forwards;
            animation: zoom 5s ease-in-out forwards;
            animation-iteration-count: 1;
            animation-delay: 0s;
            transform: scale(1.05);
        }

@keyframes zoom {
    100% {
        transform: scale(1);
    }
}

@keyframes move {
    100% {
        transform: translateX(2vw);
    }
}

/************ MOBILE MENU **********/
.mobile-nav-open header #navbar .btn-nav-open {
    display: none;
}

@media (max-width: 991px) {

    .mobile-nav-open {
        background-color: #AE1917;
    }

        .mobile-nav-open header #navbar {
            position: relative;
            -webkit-box-shadow: none;
            -moz-box-shadow: none;
            box-shadow: none;
        }

            .mobile-nav-open header #navbar .btn-nav-close {
                display: inline-block;
            }

            .mobile-nav-open header #navbar .nav {
                display: block;
                margin-top: 20px;
                margin-bottom: 30px;
                font-size: 1.1em;
            }

        .mobile-nav-open main,
        .mobile-nav-open footer,
        .mobile-nav-open #headerimg {
            display: none;
        }
}



/************ GENERAL **********/
main {
    padding-top: 30px;
}

.no-underline {
    display: inline-block;
    position: relative;
    text-decoration: none;
}

    .no-underline::after {
        content: '';
        position: absolute;
        width: 0%;
        height: 1px;
        bottom: 0;
        left: 0;
        background-color: #AE1917;
        transform-origin: bottom left;
        transition: all 0.25s ease-out;
    }

    .no-underline:hover {
        color: inherit;
    }

        .no-underline:hover::after {
            width: 100%;
        }

.red-underline {
    display: inline-block;
    position: relative;
    text-decoration: none;
    transition: all 0.25s ease-out;
}

    .red-underline::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 1px;
        bottom: 0;
        left: 0;
        background-color: #AE1917;
    }

    .red-underline:hover {
        color: #AE1917;
    }

#crumbpath {
    font-size: 0.8em;
    opacity: 0.8;
    padding-bottom: 25px;
}

    #crumbpath a {
        text-decoration: none;
    }

#share {
    margin-top: 15px;
}

    #share > span {
        text-transform: uppercase;
        font-size: 0.9em;
        font-weight: 400;
        margin-right: 8px;
        display: none;
        position: relative;
        top: 1px;
    }

    #share a {
        display: inline-block;
        margin-right: 4px;
    }

        #share a:last-child {
            margin-right: 0;
        }

        #share a img {
            height: 25px;
        }

        #share a:hover img, #share a:focus img, #share a:active img {
            opacity: 0.85;
        }

div.popup {
    position: relative;
    background: #FFF;
    padding: 25px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}

    div.popup h3 {
        color: #AE1917;
    }

    div.popup .form > div {
        margin-top: 25px;
    }

        div.popup .form > div label {
            display: block;
            margin-bottom: 5px;
        }

        div.popup .form > div input[type="text"], div.popup .form > div input[type="password"] {
        }

        div.popup .form > div.buttons a {
            margin-right: 12px;
        }

            div.popup .form > div.buttons a:last-child {
                margin-right: 0;
            }

        div.popup .form > div.error {
            color: #AE1917 !important;
            font-weight: 400;
            margin-top: 15px;
        }

#title {
    padding-bottom: 20px;
    border-bottom: 2px dotted #969393;
    margin-bottom: 30px;
}

    #title.no-line {
        padding-bottom: 0;
        border-bottom: 0;
    }

    #title h1 > span, #title .h1 > span {
        font-weight: normal;
        font-size: 0.75em;
        color: black;
    }

.rclm1 {
    margin-top: 50px;
    padding-top: 50px;
    padding-bottom: 20px;
    border-top: 2px dotted #AE1917;
}

    /*.rclm1.in-between {
    border-bottom: 2px dotted #AE1917;
    margin-bottom: 50px;
}*/

    .rclm1 .wrapper {
        align-items: center;
        justify-content: space-around;
        margin-left: -10px;
        margin-right: -10px;
    }

        .rclm1 .wrapper div {
            padding: 0 10px;
            margin-bottom: 30px;
        }

            .rclm1 .wrapper div img {
                width: 160px;
            }

                .rclm1 .wrapper div img:hover {
                    opacity: 0.9;
                }

.rclm2 {
    padding-top: 50px;
    padding-bottom: 40px;
    border-top: 2px dotted #AE1917;
    width: 100%;
    display: none;
}

    .rclm2.in-between {
        padding-bottom: 20px;
        border-bottom: 2px dotted #AE1917;
    }

    .rclm2 .wrapper {
        align-items: center;
        justify-content: center;
        margin-left: -19px;
        margin-right: -19px;
    }

        .rclm2 .wrapper div {
            padding: 0 10px;
            margin-bottom: 30px;
        }

            .rclm2 .wrapper div img {
                width: 160px;
            }

                .rclm2 .wrapper div img:hover {
                    opacity: 0.9;
                }

    .rclm2 .info {
        text-align: center;
        font-size: 0.8em;
        /*color: #AE1917;*/
        font-weight: 400;
    }

    .rclm2.in-between .info {
        display: none;
    }

.rclm2slider {
    padding-top: 50px;
    padding-bottom: 30px;
    border-top: 2px dotted #AE1917;
    width: 100%;
}

    .rclm2slider div img {
        width: 160px;
    }

        .rclm2slider div img:hover {
            opacity: 0.9;
        }

    .rclm2slider.in-between {
        padding-bottom: 50px;
        border-bottom: 2px dotted #AE1917;
        margin-bottom: 50px;
    }

.video .wrapper {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
}

    .video .wrapper iframe {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
    }

@media (min-width: 576px) {

    .rclm1 .wrapper div {
        padding: 0 25px;
    }

        .rclm1 .wrapper div img {
            width: 200px;
        }

    .rclm2 .wrapper div {
        padding: 0 19px;
    }

        .rclm2 .wrapper div img {
            width: 200px;
        }

    .rclm2slider div img {
        width: 200px;
    }

    .rclm2slider .slick-slide a {
        margin-right: 50px;
    }


}

@media (min-width: 768px) {
}

@media (min-width: 992px) {

    #title {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

        #title h1 {
            flex: 1 1 0;
        }

        #title #share {
            text-align: right;
            flex: 0 0 220px;
            margin-top: 5px;
        }

            #title #share > span {
                display: inline;
            }

    #share a {
        margin-right: 2px;
    }
}

@media (min-width: 1200px) {

    #title #share {
        margin-top: 10px;
    }

    main {
        display: flex;
        flex-wrap: wrap;
    }

    .maincontent {
        flex: 1 1 0;
        margin-right: 50px;
    }

    .rclm1 {
        flex: 0 0 231px;
        margin-top: 5px;
        padding-top: 0;
        padding-bottom: 0;
        border-top: none;
        border-left: 1px solid #ccc;
    }

        .rclm1.in-between {
            margin-top: 5px;
            /*border-bottom: none;
        margin-bottom: 0;*/
        }

        .rclm1 .wrapper {
            padding: 0 0 0 25px;
            position: -webkit-sticky;
            position: sticky;
            top: 103px;
            justify-content: center;
            margin-left: 0;
            margin-right: 0;
        }

            .rclm1 .wrapper div {
                padding: 0;
                margin-bottom: 35px;
            }

                .rclm1 .wrapper div:last-child {
                    margin-bottom: 0;
                }

    .rclm2 {
        margin-top: 65px;
        display: block;
    }

    #home .rclm2 {
        margin-top: 50px;
    }

    .rclm2.in-between {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .rclm2slider.slick-slider {
        display: none;
    }
}

@media (min-width: 1400px) {

    .rclm1 .wrapper {
        top: 113px;
    }
}

@media (min-width: 1600px) {

    header #navbar {
        padding-left: 35px;
        padding-right: 35px;
    }

    header #headerimg .title {
        padding-left: 25px;
    }
}

/************ OVERVIEW **********/

.overview-intro {
    margin-bottom: 40px;
}

    .overview-intro .buttons {
        margin-top: 15px;
    }

#filter {
    /*display: inline-block;*/
    margin-bottom: 30px;
}

    #filter .title {
        background-color: #AE1917;
        color: white;
        font-size: 1.1em;
        text-transform: uppercase;
        line-height: 1;
        padding: 12px 20px 10px 20px;
        -webkit-border-top-right-radius: 15px;
        -moz-border-radius-topright: 15px;
        border-top-right-radius: 15px;
    }

        #filter .title img {
            height: 16px;
            margin-right: 10px;
            position: relative;
            top: -2px;
        }

    #filter .content {
        /*background-color: #F8F8F8;*/
        background-color: #F2F2F2;
        padding: 20px 20px 25px 20px;
    }

        #filter .content .fields > div {
            padding-right: 40px;
            padding-bottom: 20px;
        }

            #filter .content .fields > div:last-child {
                padding-right: 0;
            }

            #filter .content .fields > div label {
                font-size: 0.9em;
                color: #100403;
                font-weight: 300;
                text-transform: uppercase;
                display: block;
                margin-bottom: 3px;
            }

            #filter .content .fields > div input[type="text"], #filter .content .fields > div input[type="password"], #filter .content .fields > div select, #filter .content .fields > div.more {
                width: 170px;
            }

            #filter .content .fields > div input[type="text"], #filter .content .fields > div input[type="password"], #filter .content .fields > div select {
                padding: 2px 0;
                border-radius: 0;
                border: none;
                border-bottom: 1px solid #100403;
                font-weight: 400;
                background-color: #F2F2F2;
            }

                #filter .content .fields > div input[type="text"].long, #filter .content .fields > div select.long {
                    width: 240px;
                }

                #filter .content .fields > div input[type="text"].small, #filter .content .fields > div select.small {
                    width: 80px;
                }

            #filter .content .fields > div .small {
                margin-right: 10px;
            }

                #filter .content .fields > div .small:last-child {
                    margin-right: 0;
                }

        #filter .content .fields div.from-to > input, #filter .content .fields div.from-to > select {
            width: 70px;
        }

        #filter .content .fields div.from-to > span {
            width: 30px;
            text-align: center;
            font-weight: 400;
            position: relative;
            top: 3px;
        }

        #filter .content .fields div.checkbox label {
            margin-top: 5px;
            margin-bottom: 0;
        }

            #filter .content .fields div.checkbox label input {
                position: relative;
                top: 1px;
            }

        #filter .content .fields .more {
            align-self: flex-end;
        }

            #filter .content .fields .more > span {
                cursor: pointer;
                color: #AE1917;
                font-weight: 400;
            }

        /*#filter .content .fields .more > span:after {
    content: url(../images/arrow-down-red.png);
    padding-left: 3px;
}*/

        #filter .content .buttons a.search-button {
            text-transform: uppercase;
            font-size: 0.9em;
        }

            #filter .content .buttons a.search-button span {
                position: relative;
            }

                #filter .content .buttons a.search-button span:after {
                    position: relative;
                    content: '';
                    display: inline-block;
                    background: url('../images/icon-search.svg');
                    background-repeat: no-repeat;
                    background-size: 14px 14px;
                    background-position: center center;
                    left: 0px;
                    top: 2px;
                    width: 14px;
                    height: 14px;
                    margin-left: 7px;
                }

        #filter .content .buttons a.reset-button {
            text-transform: uppercase;
            font-size: 0.9em;
        }

        #filter .content .buttons a.reset-button {
            background: linear-gradient(to left, transparent 50%, #EAEAEA 50%);
            background-size: 200% 100%;
            background-position: right bottom;
        }

            #filter .content .buttons a.reset-button span {
                position: relative;
            }

                #filter .content .buttons a.reset-button span:after {
                    position: relative;
                    content: '';
                    display: inline-block;
                    background: url('../images/icon-search-reset.svg');
                    background-repeat: no-repeat;
                    background-size: 12px 12px;
                    background-position: center center;
                    left: 0px;
                    top: 2px;
                    width: 12px;
                    height: 12px;
                    margin-left: 7px;
                }

            #filter .content .buttons a.reset-button:hover, #filter .content .buttons a.reset-button:active, #filter .content .buttons a.reset-button:focus {
                color: #AE1917;
                background-position: left bottom;
            }

            #filter .content .buttons a.reset-button img {
                height: 12px;
                margin-left: 5px;
                position: relative;
                top: -1px;
            }

        #filter .content .buttons a span {
            line-height: 1;
        }

#results {
    margin-bottom: 30px;
}

    #results .count {
        color: #AE1917;
        font-weight: 400;
        margin-bottom: 20px;
        font-size: 1em;
        line-height: 1.5;
    }

    #results .sort > span {
        text-transform: uppercase;
        font-size: 0.9em;
        font-weight: 400;
        margin-right: 10px;
    }

    #results .sort > select {
        width: 150px;
        font-size: 0.9em;
        height: 29px;
        border: 0;
        border-bottom: 1px solid black;
        border-radius: 0;
        padding: 5px 0;
        position: relative;
        top: -1px;
    }

.pagination {
    margin-top: 50px;
    text-align: center;
}

    .pagination a {
        display: inline-block;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        border-radius: 20px;
        border: 1px solid #AE1917;
        text-decoration: none;
        width: 30px;
        height: 30px;
        line-height: 27px;
        text-align: center;
        font-weight: 400;
        transition: all 0.2s ease;
        margin: 6px 2px;
    }

        .pagination a.active, .pagination a:hover, .pagination a:active, .pagination a:focus {
            background-color: #AE1917;
            color: white;
        }

    .pagination span {
        border-top: 1px solid #000;
        width: 15px;
        display: inline-block;
        top: 2px;
        position: relative;
        margin: 6px 6px;
    }

section.teaser {
    position: relative;
}

    section.teaser > div:first-child {
        -webkit-border-bottom-left-radius: 20px;
        -moz-border-radius-bottomleft: 20px;
        border-bottom-left-radius: 20px;
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topright: 20px;
        border-top-right-radius: 20px;
    }

    section.teaser > div:nth-child(2) {
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topright: 20px;
        border-top-right-radius: 20px;
    }

    section.teaser .text {
        background-color: #AE1917;
        color: white;
        padding: 40px 30px;
    }

        section.teaser .text .wrapper {
            padding-left: 32px;
            position: relative;
        }

            section.teaser .text .wrapper:before {
                content: url('../images/icon-teaser.svg');
                position: absolute;
                top: 1px;
                left: 0;
            }

        section.teaser .text .title {
            font-size: 1.1em;
        }

        section.teaser .text ul {
            margin-top: 0;
            padding-left: 20px;
            list-style-type: circle;
        }

    section.teaser .image {
        display: none;
    }

    section.teaser img.logo {
        display: none;
    }


@media (min-width: 576px) {

    /*#filter {
        display:block;
    }*/

    #filter .content .fields {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .pagination a {
        margin: 6px 3px;
    }

    /*#filter.compact .content {
        display:flex;
        align-items: flex-end;
    }

    #filter.compact .content .fields > div {
        padding-bottom: 0;
    }

    #filter.compact .content .buttons {
        margin-left: 25px;
        margin-right: 5px;
    }*/
}

@media (min-width: 768px) {

    .overview-intro {
        margin-bottom: 30px;
    }
}


@media (min-width: 992px) {

    .overview-intro {
        justify-content: space-between;
    }

        .overview-intro .buttons {
            margin-top: 0;
            text-align: right;
        }

    #filter {
        display: flex;
    }

        #filter .title {
            font-size: 1.2em;
            flex: 0 0 160px;
            padding: 25px 30px;
            -webkit-border-top-right-radius: 0;
            -webkit-border-bottom-left-radius: 20px;
            -moz-border-radius-topright: 0;
            -moz-border-radius-bottomleft: 20px;
            border-top-right-radius: 0;
            border-bottom-left-radius: 20px;
        }

            #filter .title img {
                height: 20px;
            }

        #filter .content {
            flex: 1 1 0;
            padding: 25px 0 30px 50px;
            -webkit-border-top-right-radius: 20px;
            -moz-border-radius-topright: 20px;
            border-top-right-radius: 20px;
        }

    section.teaser {
        display: flex;
    }

        section.teaser > div:first-child {
            -webkit-border-top-right-radius: 0;
            -moz-border-radius-topright: 0;
            border-top-right-radius: 0;
        }

        section.teaser .text {
            width: 50%;
            padding-right: 100px;
        }

        section.teaser .image {
            display: block;
            background-position: center center;
            background-size: cover;
            width: 50%;
        }

        section.teaser img.logo {
            display: block;
            position: absolute;
            top: 50%;
            right: 50%;
            transform: translate(50%,-50%);
            height: 100px;
            width: auto;
        }

    #results {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

        #results .count {
            flex: 1 1 0;
            margin-top: 5px;
            margin-bottom: 0;
        }

        #results .sort {
            text-align: right;
            flex: 0 0 300px;
            margin-top: 5px;
        }
}

@media (max-width: 1199px) {

    #filter .content .fields > div.extra {
        display: none;
    }

        #filter .content .fields > div.extra.visible {
            display: block;
        }
}

@media (min-width: 1200px) {

    #filter .title {
        padding: 30px 30px;
    }

    #filter .content {
        padding: 30px 0 35px 50px;
    }

        #filter .content .buttons {
            margin-top: 10px;
        }

        #filter .content .fields > div.more {
            display: none;
        }
}


/************ FOOTER **********/

#footer1 {
    background-color: #AE1917;
    color: white;
    font-size: 0.95em;
    padding-top: 50px;
    padding-bottom: 50px;
}

    #footer1 a {
        text-decoration: none;
        color: inherit;
        transition: all 0.2s ease;
    }

        #footer1 a:hover, #footer1 a:focus, #footer1 a:active {
            opacity: 0.8;
        }

    #footer1 strong {
        font-weight: 500;
        font-size: 1.2em;
    }

    #footer1 .links {
        margin-top: 50px;
        text-align: center;
    }

        #footer1 .links ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }

            #footer1 .links ul li {
                margin-bottom: 2px;
            }

                #footer1 .links ul li:last-child {
                    margin-bottom: 0;
                }

        #footer1 .links .facebook {
            margin-top: 15px;
            font-weight: 400;
        }

            #footer1 .links .facebook img {
                height: 20px;
                position: relative;
                top: -1px;
                margin-right: 5px;
            }

    #footer1 .links2 {
        margin-top: 50px;
        text-align: center;
    }

        #footer1 .links2 ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }

            #footer1 .links2 ul li {
                margin-bottom: 2px;
            }

                #footer1 .links2 ul li:last-child {
                    margin-bottom: 0;
                }

        #footer1 .links2 .facebook {
            margin-top: 15px;
            font-weight: 400;
        }

            #footer1 .links2 .facebook img {
                height: 20px;
                position: relative;
                top: -1px;
                margin-right: 5px;
            }


    #footer1 .logo {
        text-align: center;
    }

        #footer1 .logo img {
            height: 100px;
        }

    #footer1 .newsletter {
        margin-top: 50px;
        text-align: center;
    }

        #footer1 .newsletter .form {
            display: flex;
            justify-content: center;
        }

        #footer1 .newsletter input {
            height: 32px;
            border: 1px solid white;
            padding: 0px 5px;
            -webkit-border-top-right-radius: 0;
            -webkit-border-bottom-right-radius: 0;
            -moz-border-radius-topright: 0;
            -moz-border-radius-bottomright: 0;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            -webkit-border-top-left-radius: 10px;
            -webkit-border-bottom-left-radius: 10px;
            -moz-border-radius-topleft: 10px;
            -moz-border-radius-bottomleft: 10px;
            border-top-left-radius: 10px;
            border-bottom-left-radius: 10px;
            color: white;
            font-weight: 300;
            font-size: 0.95em;
            width: 180px;
            text-align: center;
            background-color: #AE1917;
        }

            #footer1 .newsletter input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
                color: white;
                opacity: 1; /* Firefox */
            }

            #footer1 .newsletter input:-ms-input-placeholder { /* Internet Explorer 10-11 */
                color: white;
            }

            #footer1 .newsletter input::-ms-input-placeholder { /* Microsoft Edge */
                color: white;
            }

        #footer1 .newsletter a.button {
            height: 32px;
            line-height: 32px;
            border: none;
            background-color: white;
            color: #AE1917;
            font-weight: 400;
            padding: 0px 10px;
            -webkit-border-top-right-radius: 10px;
            -webkit-border-bottom-right-radius: 10px;
            -moz-border-radius-topright: 10px;
            -moz-border-radius-bottomright: 10px;
            border-top-right-radius: 10px;
            border-bottom-right-radius: 10px;
            cursor: pointer;
        }

        #footer1 .newsletter .response {
            display: none;
            margin-top: 10px;
            font-size: 0.95em;
            font-style: italic;
        }

#footer2 {
    background-color: #120303;
    color: white;
    font-size: 0.9em;
    padding-top: 25px;
    padding-bottom: 25px;
}

    #footer2 ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

        #footer2 ul li {
            text-align: center;
            margin-bottom: 3px;
        }

            #footer2 ul li:last-child {
                margin-bottom: 0;
            }

    #footer2 a {
        text-decoration: none;
        color: inherit;
        transition: all 0.2s ease;
    }

        #footer2 a:hover, #footer1 a:focus, #footer1 a:active {
            opacity: 0.8;
        }

@media (min-width: 576px) {
}

@media (min-width: 768px) {

    #footer2 {
        padding-top: 15px;
        padding-bottom: 15px;
    }

        #footer2 ul {
            display: flex;
            justify-content: center;
        }

            #footer2 ul li::after {
                content: '-';
                display: inline-block;
                margin-left: 10px;
                margin-right: 10px;
            }

            #footer2 ul li:last-child::after {
                display: none;
            }
}


@media (min-width: 992px) {

    #footer1 .wrapper {
        display: flex;
        align-items: flex-start;
    }

    #footer1 .links {
        order: 1;
        margin-top: 0;
        text-align: left;
        width: 35%;
    }

    #footer1 .logo {
        order: 2;
        width: 30%;
    }

        #footer1 .logo img {
            height: 110px;
        }

    #footer1 .links2 {
        order: 3;
        margin-top: 0;
        text-align: right;
        width: 35%;
    }

    #footer1 .newsletter {
        order: 3;
        margin-top: 0;
        text-align: right;
        width: 35%;
    }

        #footer1 .newsletter .form {
            justify-content: flex-end;
        }

        #footer1 .newsletter a.button {
            -webkit-border-top-right-radius: 0;
            -webkit-border-bottom-right-radius: 0;
            -moz-border-radius-topright: 0;
            -moz-border-radius-bottomright: 0;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }
}

@media (min-width: 1200px) {

    #footer1 {
        padding-top: 60px;
        padding-bottom: 60px;
    }

        #footer1 .newsletter input {
            width: 210px;
        }

    #footer2 {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (min-width: 1400px) {
}

@media (min-width: 1600px) {
}


/************ HOME **********/

#home #title {
    padding-bottom: 20px;
    border-bottom: none;
    margin-bottom: 10px;
}

#home .intro {
    /*padding-left: 32px;
    position:relative;*/
    padding-left: 26px;
}

    /*#home .intro:before {
    content: url(../images/icon-intro.svg);
    position: absolute;
    top: 1px;
    left: 0;
}*/

    #home .intro strong {
        color: #AE1917;
    }

#home .subtitle h2 {
    align-items: center
}

#home .subtitle h2 {
    text-transform: uppercase;
    margin-bottom: 0;
    padding-left: 35px;
    position: relative;
}

    #home .subtitle h2:before {
        content: url(../images/icon-home-subtitle.svg);
        position: absolute;
        top: 0;
        left: 0;
    }

    #home .subtitle h2 a {
        text-decoration: none;
    }

        #home .subtitle h2 a:hover, #home .subtitle h2 a:active, #home .subtitle h2 a:focus {
            color: #AE1917;
        }

/*#home .subtitle a.no-underline  {
    position:relative;
    margin-right: 25px;
    margin-top: 20px;
}

#home .subtitle a.no-underline:before {
    position: absolute;
    content: url(../images/icon-more.svg);
    right: -25px;
    top: 2px;
    background: url(../images/icon-more-red.svg);
    background-size: 0px;
}*/

#home .subtitle a.no-underline:hover:before, #home .subtitle a.no-underline:focus:before, #home .subtitle a.no-underline:active:before {
    content: url(../images/icon-more-red.svg);
}

#home .buttons a {
    margin-top: 15px;
}

    #home .buttons a.add span:after {
        display: inline-block;
        position: relative;
        content: '';
        background: url(../images/icon-arrow-right-2-red.svg);
        background-repeat: no-repeat;
        background-size: 24px 12px;
        background-position: right center;
        left: 0px;
        top: 2px;
        width: 0px;
        height: 12px;
        transition: all 0.2s linear;
    }

#home .news {
    padding-top: 30px;
    border-top: 2px dotted #969393;
    margin-top: 30px;
    margin-bottom: 40px;
}

    /*#home .news .subtitle h2 {
    position:relative;   
    padding-left: 40px;
}

#home .news .subtitle h2:before {
    content: url(../images/icon-home-news.svg);
    position: absolute;
    top: -3px;
    left: 0;
}*/

    #home .news .items {
        /*max-width: 360px;*/
        margin-top: 25px;
        margin-bottom: 15px;
    }

        #home .news .items .item {
            margin-top: 25px;
        }

            #home .news .items .item:first-child {
                margin-top: 0;
            }

            #home .news .items .item.poster {
                -webkit-border-top-right-radius: 20px;
                -moz-border-radius-topright: 20px;
                border-top-right-radius: 20px;
                overflow: hidden;
                display: inline-block;
            }

            #home .news .items .item.article > div {
                -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
                -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
                box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
                -webkit-border-top-right-radius: 20px;
                -moz-border-radius-topright: 20px;
                border-top-right-radius: 20px;
                overflow: hidden;
                position: relative;
                cursor: pointer;
            }

            #home .news .items .item .image {
                position: relative;
                /*padding-bottom: 140%;*/
                padding-bottom: 80%;
                background-position: center center;
                background-size: cover;
                /*transform: scale(1);*/
                opacity: 1;
                transition: all 0.3s ease-in-out;
            }

            #home .news .items .item:hover .image {
                /*transform: scale(1.02);*/
                opacity: 0.9;
            }

            #home .news .items .item .title {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: flex-end;
                flex-direction: column;
            }

                #home .news .items .item .title a {
                    /*background-color: white;*/
                    text-align: center;
                    padding: 15px 25px;
                    text-decoration: none;
                    font-weight: 400;
                    background: rgba(0,0,0,0.7);
                    color: white;
                    line-height: 1.3;
                }

#home .events {
    padding-top: 30px;
    border-top: 2px dotted #969393;
    margin-top: 30px;
    margin-bottom: 40px;
    position: relative;
}

    #home .events .block > div:first-child {
        -webkit-border-bottom-left-radius: 20px;
        -moz-border-radius-bottomleft: 20px;
        border-bottom-left-radius: 20px;
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topright: 20px;
        border-top-right-radius: 20px;
    }

    #home .events .block > div:nth-child(2) {
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topright: 20px;
        border-top-right-radius: 20px;
    }

    #home .events .subtitle {
        margin-bottom: 25px;
    }

    /*#home .events .subtitle h2 {
    position:relative;   
    padding-left: 40px;
}

#home .events .subtitle h2:before {
    content:url('../images/icon-home-events.svg');
    position: absolute;
    top: -3px;
    left: 0;
}*/

    #home .events .block {
        position: relative;
    }


        #home .events .block .text {
            background-color: #AE1917;
            color: white;
            padding: 40px 60px 40px 40px;
        }

            #home .events .block .text .title {
                font-size: 1.1em;
            }

    /*#home .events .block .text .wrapper {
    padding-left: 32px;
    position:relative;
}

#home .events .block .text .wrapper:before {
    content: url(../images/icon-teaser.svg);
    position: absolute;
    top: 1px;
    left: 0;
}*/

    #home .events .text a {
        color: white;
    }

        #home .events .text a.no-underline::after {
            background-color: white;
        }

        #home .events .text a.primary-button {
            margin-top: 15px;
            border: 1px solid white;
        }

            #home .events .text a.primary-button span {
                position: relative;
                padding-right: 21px;
            }

                #home .events .text a.primary-button span:after {
                    position: absolute;
                    content: '';
                    background: url(../images/icon-arrow-right-2.svg);
                    background-repeat: no-repeat;
                    background-size: 24px 12px;
                    background-position: right center;
                    right: 0px;
                    top: 4px;
                    width: 15px;
                    height: 12px;
                    transition: all 0.2s linear;
                }

            #home .events .text a.primary-button:hover span:after, #home .events .text a.primary-button:active span:after, #home .events .text a.primary-button:focus span:after {
                right: -5px;
                width: 20px;
            }

    #home .events .image {
        display: none;
    }

    #home .events img.logo {
        display: none;
    }

#home .photoalbums {
    padding-top: 30px;
    border-top: 2px dotted #969393;
    margin-top: 30px;
    margin-bottom: 40px;
}

    /*#home .photoalbums .subtitle h2 {
    position:relative;   
    padding-left: 42px;
}

#home .photoalbums .subtitle h2:before {
    content: url(../images/icon-home-photos.svg);
    position: absolute;
    top: -5px;
    left: 0;
}*/

    #home .photoalbums .items {
        margin-top: 25px;
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        -ms-grid-rows: auto;
        grid-column-gap: 30px;
        grid-row-gap: 30px;
        justify-items: stretch;
        align-items: stretch;
        margin-bottom: 15px;
    }

        #home .photoalbums .items .item {
            -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            -webkit-border-top-right-radius: 20px;
            -moz-border-radius-topright: 20px;
            border-top-right-radius: 20px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease-in-out;
        }

            #home .photoalbums .items .item:hover {
                background-color: #F7F7F7;
            }

            #home .photoalbums .items .item .image {
                height: 230px;
                position: relative;
                overflow: hidden;
                border-bottom: 4px solid #AE1917;
            }

                #home .photoalbums .items .item .image > div {
                    width: 100%;
                    height: 100%;
                    background-position: center center;
                    background-size: cover;
                }

                #home .photoalbums .items .item .image .count {
                    position: absolute;
                    left: 0;
                    top: 0;
                    padding: 3px 10px 5px 10px;
                    background: rgba(0,0,0,0.7);
                    color: white;
                    font-size: 0.9em;
                    font-weight: 400;
                    -webkit-border-bottom-right-radius: 12px;
                    -moz-border-radius-bottomright: 12px;
                    border-bottom-right-radius: 12px;
                }

            #home .photoalbums .items .item .text {
                padding: 15px 20px;
            }

            #home .photoalbums .items .item .title a {
                text-decoration: none;
                font-weight: 400;
                font-size: 1.2em;
                line-height: 1.2;
                color: inherit;
            }

            #home .photoalbums .items .item .date {
                padding-top: 10px;
                font-weight: 400;
                font-size: 0.95em;
            }

            #home .photoalbums .items .item .photographer {
                padding-top: 10px;
                font-size: 0.9em;
                color: #333;
            }

#home .articles {
    padding-top: 30px;
    border-top: 2px dotted #969393;
    margin-top: 30px;
}

    #home .articles.no-line-top {
        padding-top: 0;
        border-top: none;
        margin-top: 0;
    }

    /*#home .articles .subtitle h2 {
    position:relative;   
    padding-left: 40px;
}

#home .articles .subtitle h2:before {
    content: url(../images/icon-home-articles.svg);
    position: absolute;
    top: -3px;
    left: 0;
}*/

    #home .articles .items {
        margin-top: 25px;
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        -ms-grid-rows: auto;
        grid-column-gap: 30px;
        grid-row-gap: 30px;
        justify-items: stretch;
        align-items: stretch;
        margin-bottom: 15px;
    }

        #home .articles .items .item {
            /*-webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);*/
            background-color: #F2F2F2;
            -webkit-border-top-right-radius: 20px;
            -moz-border-radius-topright: 20px;
            border-top-right-radius: 20px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease-in-out;
        }

            #home .articles .items .item:hover {
                background-color: #EAEAEA;
            }

            #home .articles .items .item .image {
                height: 230px;
                position: relative;
                overflow: hidden;
                border-bottom: 4px solid #AE1917;
            }

                #home .articles .items .item .image > div {
                    width: 100%;
                    height: 100%;
                    background-position: center center;
                    background-size: cover;
                }

                #home .articles .items .item .image .count {
                    position: absolute;
                    left: 0;
                    top: 0;
                    padding: 3px 10px 5px 10px;
                    background: rgba(0,0,0,0.7);
                    color: white;
                    font-size: 0.9em;
                    font-weight: 400;
                    -webkit-border-bottom-right-radius: 12px;
                    -moz-border-radius-bottomright: 12px;
                    border-bottom-right-radius: 12px;
                }

            #home .articles .items .item .text {
                padding: 15px 20px;
            }

            #home .articles .items .item .title a {
                text-decoration: none;
                font-weight: 400;
                font-size: 1.2em;
                line-height: 1.2;
                color: inherit;
            }

            #home .articles .items .item .teaser {
                padding-top: 10px;
            }

            #home .articles .items .item .author {
                padding-top: 15px;
                font-size: 0.9em;
                color: #333;
            }

#home .itemsforsale {
    padding-top: 30px;
    border-top: 2px dotted #969393;
    margin-top: 30px;
}

    /*#home .itemsforsale .subtitle h2 {
    position:relative;   
    padding-left: 36px;
}

#home .itemsforsale .subtitle h2:before {
    content: url(../images/icon-home-sale.svg);
    position: absolute;
    top: -3px;
    left: 0;
}*/

    #home .itemsforsale .items {
        margin-top: 25px;
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        -ms-grid-rows: auto;
        grid-column-gap: 30px;
        grid-row-gap: 30px;
        justify-items: stretch;
        align-items: stretch;
        margin-bottom: 15px;
    }

        #home .itemsforsale .items .item {
            -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            -webkit-border-top-right-radius: 20px;
            -moz-border-radius-topright: 20px;
            border-top-right-radius: 20px;
            cursor: pointer;
        }

            #home .itemsforsale .items .item .image {
                overflow: hidden;
                position: relative;
                border-bottom: 4px solid #AE1917;
                -webkit-border-top-right-radius: 20px;
                -moz-border-radius-topright: 20px;
                border-top-right-radius: 20px;
            }

                #home .itemsforsale .items .item .image > div {
                    padding-bottom: 70%;
                    background-position: center center;
                    background-size: cover;
                    /*transform: scale(1);*/
                    opacity: 1;
                    transition: all 0.3s ease-in-out;
                }

            #home .itemsforsale .items .item:hover .image > div {
                /*transform: scale(1.02);*/
                opacity: 0.9;
            }

            #home .itemsforsale .items .item .image .price {
                position: absolute;
                left: 0;
                top: 0;
                padding: 5px 10px 7px 10px;
                background: rgba(0,0,0,0.7);
                color: white;
                font-weight: 400;
                -webkit-border-bottom-right-radius: 12px;
                -moz-border-radius-bottomright: 12px;
                border-bottom-right-radius: 12px;
            }

            #home .itemsforsale .items .item .title a {
                display: block;
                text-decoration: none;
                font-weight: 400;
                padding: 12px 25px 0 25px;
                text-align: center;
                color: inherit;
            }

            #home .itemsforsale .items .item .seller {
                display: block;
                padding: 2px 25px 16px 25px;
                text-align: center;
                font-size: 0.9em;
                color: #333;
            }

                #home .itemsforsale .items .item .seller span:before {
                    position: relative;
                    content: url('../images/icon-person.svg');
                    left: -5px;
                    top: 4px;
                }

#home .itemsforrent {
    padding-top: 30px;
    border-top: 2px dotted #969393;
    margin-top: 30px;
}

    /*#home .itemsforrent .subtitle h2 {
    position:relative;   
    padding-left: 36px;
}

#home .itemsforrent .subtitle h2:before {
    content: url(../images/icon-home-rental.svg);
    position: absolute;
    top: -3px;
    left: 0;
}*/

    #home .itemsforrent .items {
        margin-top: 25px;
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        -ms-grid-rows: auto;
        grid-column-gap: 30px;
        grid-row-gap: 30px;
        justify-items: stretch;
        align-items: stretch;
        margin-bottom: 15px;
    }

        #home .itemsforrent .items .item {
            -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            -webkit-border-top-right-radius: 20px;
            -moz-border-radius-topright: 20px;
            border-top-right-radius: 20px;
            cursor: pointer;
        }

            #home .itemsforrent .items .item .image {
                overflow: hidden;
                position: relative;
                border-bottom: 4px solid #AE1917;
                -webkit-border-top-right-radius: 20px;
                -moz-border-radius-topright: 20px;
                border-top-right-radius: 20px;
            }

                #home .itemsforrent .items .item .image > div {
                    padding-bottom: 70%;
                    background-position: center center;
                    background-size: cover;
                    /*transform: scale(1);*/
                    opacity: 1;
                    transition: all 0.3s ease-in-out;
                }

            #home .itemsforrent .items .item:hover .image > div {
                /*transform: scale(1.02);*/
                opacity: 0.9;
            }

            #home .itemsforrent .items .item .image .price {
                position: absolute;
                left: 0;
                top: 0;
                padding: 5px 10px 7px 10px;
                background: rgba(0,0,0,0.7);
                color: white;
                font-weight: 400;
                -webkit-border-bottom-right-radius: 12px;
                -moz-border-radius-bottomright: 12px;
                border-bottom-right-radius: 12px;
            }

            #home .itemsforrent .items .item .title a {
                display: block;
                text-decoration: none;
                font-weight: 400;
                padding: 12px 25px 0 25px;
                text-align: center;
                color: inherit;
            }

            #home .itemsforrent .items .item .owner {
                display: block;
                padding: 2px 25px 16px 25px;
                text-align: center;
                font-size: 0.9em;
                color: #333;
            }

                #home .itemsforrent .items .item .owner span:before {
                    position: relative;
                    content: url('../images/icon-person.svg');
                    left: -5px;
                    top: 4px;
                }

#home .specialists {
    margin-bottom: 40px;
}

    /*#home .specialists .subtitle h2 {
    position:relative;   
    padding-left: 40px;
}

#home .specialists .subtitle h2:before {
    content: url(../images/icon-home-info.svg);
    position: absolute;
    top: -3px;
    left: 0;
}*/

    #home .specialists .items {
        margin-top: 25px;
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        -ms-grid-rows: auto;
        grid-column-gap: 30px;
        grid-row-gap: 30px;
        justify-items: stretch;
        align-items: stretch;
        margin-bottom: 15px;
    }

        #home .specialists .items .item {
            -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            -webkit-border-top-right-radius: 20px;
            -moz-border-radius-topright: 20px;
            border-top-right-radius: 20px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease-in-out;
        }

            #home .specialists .items .item:hover {
                background-color: #F7F7F7;
            }

            #home .specialists .items .item .image {
                height: 230px;
                position: relative;
                overflow: hidden;
                border-bottom: 4px solid #AE1917;
            }

                #home .specialists .items .item .image > div {
                    width: 100%;
                    height: 100%;
                    background-position: center center;
                    background-size: cover;
                }

            #home .specialists .items .item .text {
                padding: 15px 20px;
            }

            #home .specialists .items .item .name a {
                text-decoration: none;
                font-weight: 400;
                font-size: 1.2em;
                line-height: 1.2;
                color: inherit;
            }

            #home .specialists .items .item .location {
                padding-top: 2px;
                font-weight: 400;
                font-size: 1em;
            }

            #home .specialists .items .item .activities {
                padding-top: 10px;
            }

                #home .specialists .items .item .activities a {
                    text-decoration: none;
                }

@media (min-width: 481px) {

    #home .buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #home .photoalbums .items .item .image {
        height: 300px;
    }

    #home .articles .items .item .image {
        height: 300px;
    }

    #home .specialists .items .item .image {
        height: 300px;
    }
}

@media (min-width: 576px) {

    #home .news .items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
        -ms-grid-rows: auto;
        grid-column-gap: 30px;
        grid-row-gap: 30px;
        justify-items: stretch;
        align-items: stretch;
        max-width: none;
    }

        #home .news .items .item {
            margin-top: 0;
        }

            #home .news .items .item .image {
                padding-bottom: 140%;
            }

            #home .news .items .item.poster img {
                width: 100%;
            }

    #home .photoalbums .items .item {
        display: flex;
        min-height: 150px;
    }

        #home .photoalbums .items .item .image {
            width: 40%;
            height: 100%;
            border-bottom: 0;
            /*border-right: 4px solid #AE1917;*/
        }

        #home .photoalbums .items .item .text {
            width: 60%;
        }

    #home .articles .items .item {
        display: flex;
        min-height: 200px;
    }

        #home .articles .items .item .image {
            width: 40%;
            height: 100%;
            border-bottom: 0;
            /*border-right: 4px solid #AE1917;*/
        }

        #home .articles .items .item .text {
            width: 60%;
        }

    #home .itemsforsale .items {
        grid-template-columns: 1fr 1fr;
    }

    #home .itemsforrent .items {
        grid-template-columns: 1fr 1fr;
    }

    #home .specialists .items .item {
        display: flex;
        min-height: 150px;
    }

        #home .specialists .items .item .image {
            width: 40%;
            height: 100%;
            border-bottom: 0;
            /*border-right: 4px solid #AE1917;*/
        }

        #home .specialists .items .item .text {
            width: 60%;
        }
}

@media (min-width: 768px) {

    #home .subtitle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        #home .subtitle a.no-underline {
            margin-top: 0;
        }

    #home .news .items {
        grid-template-columns: 1fr 1fr 1fr;
    }

    #home .photoalbums .items .item {
        min-height: 200px;
    }

    #home .articles .items .item {
        min-height: 200px;
    }

    #home .specialists .items .item {
        min-height: 200px;
    }
}

@media (min-width: 992px) {

    #home #title {
        margin-bottom: 3px;
    }

    #home .events .block {
        display: flex;
    }

        #home .events .block > div:first-child {
            -webkit-border-top-right-radius: 0;
            -moz-border-radius-topright: 0;
            border-top-right-radius: 0;
        }

        #home .events .block .text {
            width: 50%;
            padding-right: 100px;
        }

        #home .events .block .image {
            display: block;
            background-position: center center;
            background-size: cover;
            width: 50%;
        }

        #home .events .block img.logo {
            display: block;
            position: absolute;
            top: 50%;
            right: 50%;
            transform: translate(50%,-50%);
            height: 100px;
            width: auto;
        }

    #home .photoalbums .items {
        grid-template-columns: 1fr 1fr;
    }

        #home .photoalbums .items .item {
            min-height: 145px;
        }

            #home .photoalbums .items .item .image .count {
                font-size: 0.85em;
            }

    #home .articles .items .item {
        min-height: 250px;
    }

        #home .articles .items .item .text {
            padding: 25px 30px;
        }

    #home .itemsforsale .items {
        grid-template-columns: 1fr 1fr 1fr;
    }

    #home .itemsforrent .items {
        grid-template-columns: 1fr 1fr 1fr;
    }

    #home .specialists .items {
        grid-template-columns: 1fr 1fr;
    }

        #home .specialists .items .item {
            min-height: 145px;
        }
}

@media (min-width: 1200px) {

    #home .news .items .item .title a {
        font-size: 1.1em;
    }

    #home .photoalbums .items .item .text {
        padding: 15px 25px;
    }

    #home .itemsforsale .items .item .title a {
        font-size: 1.1em;
    }

    #home .itemsforrent .items .item .title a {
        font-size: 1.1em;
    }

    #home .specialists .items .item .text {
        padding: 15px 25px;
    }
}



/************ EVENTS *********/
#events {
    margin-top: 40px;
}

    #events .head {
        display: flex;
        background-color: #AE1917;
        color: white;
        text-transform: uppercase;
        font-size: 0.9em;
        -webkit-border-top-left-radius: 10px;
        -webkit-border-top-right-radius: 10px;
        -moz-border-radius-topleft: 10px;
        -moz-border-radius-topright: 10px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    #events .item {
        display: flex;
        border-bottom: 1px solid #AE1917;
    }

        #events .head > div, #events .item > div:last-child {
            padding-right: 0;
        }

            #events .head > div:nth-child(1),
            #events .item > div:nth-child(1) {
                flex: 0 0 125px;
            }

        #events .item > div:nth-child(1) {
            color: #AE1917;
            font-weight: 400;
        }

        #events .head > div:nth-child(2),
        #events .item > div:nth-child(2) {
            flex: 1 1 0;
        }

        #events .head > div:nth-child(3),
        #events .item > div:nth-child(3) {
            flex: 0 0 200px;
            display: none;
        }

        #events .item > div:nth-child(3) {
            font-weight: 400;
        }

        #events .item > div:nth-child(3) {
            font-weight: 400;
        }

        #events .head > div:nth-child(4),
        #events .item > div:nth-child(4) {
            display: none;
            flex: 0 0 225px;
            align-items: flex-end;
        }

            #events .item > div:nth-child(4) img {
                margin-right: 7px;
            }

                #events .item > div:nth-child(4) img.car {
                    height: 18px;
                }

                #events .item > div:nth-child(4) img.moped {
                    height: 18px;
                }

                #events .item > div:nth-child(4) img.motorcycle {
                    height: 17px;
                }

                #events .item > div:nth-child(4) img.truck {
                    height: 19px;
                }

                #events .item > div:nth-child(4) img.tractor {
                    height: 21px;
                }

                #events .item > div:nth-child(4) img:last-child {
                    margin-right: 0;
                }

    #events .head > div {
        padding: 10px 15px 10px 15px;
    }

    #events .item > div {
        margin: 5px 0;
        padding: 5px 15px;
        cursor: pointer;
    }

        #events .item > div:nth-child(1) {
            border-right: 1px dotted #CBC8C8;
        }

    #events .item:hover > div {
        background-color: rgba(174, 25, 23, 0.1);
    }

    #events .item > div > a {
        text-decoration: none;
        color: inherit;
    }

    #events .item.new > div:nth-child(2) > span {
        display: none;
    }

    #events .item > div:nth-child(2) > a > span {
        display: block;
        font-weight: 400;
        font-size: 0.9em;
        margin-top: 5px;
    }

@media (min-width: 768px) {

    #events .item > div:nth-child(2) > a > span {
        display: none;
    }

    #events .head > div:nth-child(3),
    #events .item > div:nth-child(3) {
        display: block;
    }

    #events .item > div:nth-child(2) {
        border-right: 1px dotted #CBC8C8;
    }
}

@media (min-width: 992px) {

    #events .head > div:nth-child(1),
    #events .item > div:nth-child(1) {
        flex: 0 0 145px;
    }

    #events .item.new > div:nth-child(2) {
        position: relative;
    }

        #events .item.new > div:nth-child(2) > a {
            display: block;
            padding-right: 75px;
        }

        #events .item.new > div:nth-child(2) > span {
            position: absolute;
            top: 5px;
            right: 15px;
            display: inline-block;
            color: #AE1917;
            font-size: 0.8em;
            font-weight: 400;
            padding: 2px 10px;
            background-color: rgba(174, 25, 23, 0.1);
        }

    #events .item.new:hover > div:nth-child(2) > span {
        background: none;
    }
}

@media (min-width: 1200px) {
}

@media (min-width: 1400px) {

    #events .head > div:nth-child(4),
    #events .item > div:nth-child(4) {
        display: block;
    }

    #events .item > div:nth-child(3) {
        border-right: 1px dotted #CBC8C8;
    }
}

/************ EVENT **********/
#event {
    /*margin-top: 40px;*/
}

    #event div {
        margin-bottom: 30px;
        word-break: break-word;
    }

        #event div h2 {
            text-transform: uppercase;
            font-size: 1em;
        }

    #event > div.info > div.date br {
        display: none;
    }

    /*#event > div.info a.button {
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
    line-height: 1.4;
    text-decoration: none;
    padding: 3px 12px 3px 12px;
    display: inline-block;
    -webkit-border-top-right-radius: 15px;
    -webkit-border-bottom-right-radius: 15px;
    -moz-border-radius-topright: 15px;
    -moz-border-radius-bottomright: 15px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;  
}

#event > div.info a.button:hover, #event > div.info a.button:active, #event > div.info a.button:focus {
    border: 1px solid #AE1917;
    color: #AE1917;
}*/

    #event div.date a {
        margin-left: 25px;
        position: relative;
    }

        #event div.date a:before {
            position: absolute;
            content: url('../images/icon-calendar.svg');
            left: -25px;
            top: 2px;
            background: url('../images/icon-calendar-red.svg'); /*preload*/
            background-size: 0px;
        }

        #event div.date a:hover:before, #event div.date a:focus:before, #event div.date a:active:before {
            content: url('../images/icon-calendar-red.svg');
        }

    #event div.location a {
        margin-left: 20px;
        position: relative;
    }

        #event div.location a:before {
            position: absolute;
            content: url('../images/icon-route.svg');
            left: -20px;
            top: 2px;
            background: url('../images/icon-route-red.svg'); /*preload*/
            background-size: 0px;
        }

        #event div.location a:hover:before, #event div.location a:focus:before, #event div.location a:active:before {
            content: url('../images/icon-route-red.svg');
        }

    #event div.organisation a {
        overflow-wrap: break-word;
        word-break: break-all;
    }

    #event > div.info > div.organisation {
        display: none;
    }

    #event div.main .categories span:after {
        content: ', ';
    }

    #event div.main .categories span:last-child:after {
        display: none;
    }

    #event div.main .website a {
        margin-left: 25px;
        position: relative;
    }

        #event div.main .website a:before {
            position: absolute;
            content: url('../images/icon-website.svg');
            left: -25px;
            top: 2px;
            background: url('../images/icon-website-red.svg'); /*preload*/
            background-size: 0px;
        }

        #event div.main .website a:hover:before, #event div.main .website a:focus:before, #event div.main .website a:active:before {
            content: url('../images/icon-website-red.svg');
        }

    #event div.main .register a.online {
        margin-left: 26px;
        position: relative;
    }

        #event div.main .register a.online:before {
            position: absolute;
            content: url('../images/icon-website.svg');
            left: -26px;
            top: 0px;
            background: url('../images/icon-website-red.svg'); /*preload*/
            background-size: 0px;
        }

        #event div.main .register a.online:hover:before, #event div.main .register a.online:focus:before, #event div.main .register a.online:active:before {
            content: url('../images/icon-website-red.svg');
        }

    #event div.main .register a.form {
        margin-left: 27px;
        position: relative;
    }

        #event div.main .register a.form:before {
            position: absolute;
            content: url('../images/icon-form.svg');
            left: -27px;
            top: 1px;
            background: url('../images/icon-form-red.svg'); /*preload*/
            background-size: 0px;
        }

        #event div.main .register a.form:hover:before, #event div.main .register a.form:focus:before, #event div.main .register a.form:active:before {
            content: url('../images/icon-form-red.svg');
        }

    #event div.main .image a {
        cursor: zoom-in;
    }

    #event div.main .image img {
        max-width: 200px;
    }

    #event div.main > .image {
        display: none;
    }

    #event + .back {
        margin-top: 40px;
        border-top: 2px dotted #969393;
        padding-top: 30px;
    }

        #event + .back a.teritary-button {
            display: none;
        }

            #event + .back a.teritary-button span {
                position: relative;
            }

                #event + .back a.teritary-button span:after {
                    display: inline-block;
                    position: relative;
                    content: '';
                    background: url('../images/icon-arrow-right-2-red.svg');
                    background-repeat: no-repeat;
                    background-size: 24px 12px;
                    background-position: right center;
                    left: 0px;
                    top: 2px;
                    width: 0px;
                    height: 12px;
                    transition: all 0.2s linear;
                }

            #event + .back a.teritary-button:hover span:after, #event + .back a.teritary-button:active span:after, #event + .back a.teritary-button:focus span:after {
                margin-left: 7px;
                width: 18px;
            }


#addToCalendar {
    max-width: 350px;
}

    #addToCalendar > div {
        margin-top: 20px;
        margin-bottom: 5px;
        display: flex;
        align-items: center;
    }

        #addToCalendar > div span {
            width: 30px;
            text-align: center;
        }

        #addToCalendar > div img {
            height: 25px;
        }

        #addToCalendar > div a {
            margin-left: 10px;
        }

@media (min-width: 600px) {

    #event + .back {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        #event + .back a.teritary-button {
            display: inline-block;
        }
}

@media (min-width: 992px) {

    #event {
        display: flex;
        margin-top: 40px;
    }

        #event div.info {
            flex: 0 0 275px;
            padding-top: 10px;
            padding-right: 50px;
            margin-bottom: 0;
        }

        #event > div.info > div.organisation {
            display: block;
        }

        #event > div.info > div.date br {
            display: inline;
        }

        #event div.info > div:last-child {
            margin-bottom: 0;
        }

        #event div.main {
            flex: 1 1 0;
            border-left: 1px solid #AE1917;
            padding-top: 10px;
            padding-left: 60px;
            padding-bottom: 15px;
            margin-bottom: 0;
        }

            #event div.main > div:first-child {
                margin-bottom: 0;
            }

                #event div.main > div:first-child > div.register {
                    margin-bottom: 0;
                }

        #event > div.organisation {
            display: none;
        }
}

@media (min-width: 1200px) {
}

@media (min-width: 1400px) {

    #event div.main.with-image {
        display: flex;
        flex-wrap: wrap;
    }

        #event div.main.with-image > div:first-child {
            flex: 1 1 0;
            padding-right: 60px;
            margin-bottom: 0;
        }

            #event div.main.with-image > div:first-child > div.image {
                display: none;
            }

        #event div.main.with-image > div.image {
            flex: 0 0 200px;
            margin-top: 33px;
            display: block;
        }



    /*#event div.main > div > div:last-child {
        margin-bottom: 0;
    }*/
}


/************ FOR SALE: INDEX **********/

#forsalecategories {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    justify-items: stretch;
    align-items: stretch;
    padding-bottom: 40px;
    border-bottom: 2px dotted #969393;
    margin-bottom: 40px;
}

    #forsalecategories .item {
        -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topright: 20px;
        border-top-right-radius: 20px;
        cursor: pointer;
        overflow: hidden;
        position: relative;
        background: #222;
    }

        #forsalecategories .item .image {
            padding-bottom: 70%;
            background-position: center center;
            background-size: cover;
            transform: scale(1);
            transition: all 0.3s ease-in-out;
            opacity: 0.4;
        }

        #forsalecategories .item:hover .image {
            transform: scale(1.02);
        }

        #forsalecategories .item .title {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            /*background-color: rgba(0,0,0,0.35);*/
            padding: 25px;
            font-size: 2em;
        }

            #forsalecategories .item .title a {
                display: block;
                text-align: center;
                text-decoration: none;
                font-weight: 400;
                color: white;
                text-transform: uppercase;
                padding: 7px 15px;
                border-top: 2px solid #fff;
                border-bottom: 2px solid #fff;
            }

        #forsalecategories .item.all .title a {
            font-weight: 600;
        }

.banner {
    /*margin-top: 40px;
    border-top: 2px dotted #969393;
    padding-top: 20px;*/
    padding-bottom: 20px;
    border-bottom: 2px dotted #969393;
    margin-bottom: 40px;
}

#brands {
    margin-top: 40px;
    border-top: 2px dotted #969393;
    padding-top: 40px;
}

    #brands h2 {
        position: relative;
        padding-left: 37px;
        margin-bottom: 20px;
    }

        #brands h2:before {
            content: url(../images/icon-brands.svg);
            position: absolute;
            top: 0;
            left: 0;
        }

    #brands ul {
        padding-left: 38px;
        margin: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
    }

        #brands ul li {
            width: 50%;
            margin-top: 2px;
        }

            #brands ul li a {
                font-size: 0.95em;
            }

@media (min-width: 576px) {

    #forsalecategories {
        grid-template-columns: 1fr 1fr;
        font-size: 0.8em;
    }

        #forsalecategories .item .title {
            font-size: 1.5em;
        }

    #brands {
        padding-left: 25px;
    }
}

@media (min-width: 768px) {

    #forsalecategories .item .title {
        font-size: 2em;
    }

    #brands ul li {
        width: 33%;
    }
}

@media (min-width: 992px) {

    #forsalecategories {
        grid-template-columns: 1fr 1fr 1fr;
    }

    #brands ul li {
        width: 25%;
    }
}

@media (min-width: 1200px) {

    #brands h2:before {
        top: 0px;
    }
}

@media (min-width: 1400px) {

    #brands ul li {
        width: 20%;
    }
}



/************ FOR SALE: OVERVIEW **********/
#itemsforsale {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    justify-items: stretch;
    align-items: stretch;
}

    #itemsforsale .item {
        -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topright: 20px;
        border-top-right-radius: 20px;
        cursor: pointer;
    }

        #itemsforsale .item .image {
            overflow: hidden;
            position: relative;
            border-bottom: 4px solid #AE1917;
            -webkit-border-top-right-radius: 20px;
            -moz-border-radius-topright: 20px;
            border-top-right-radius: 20px;
        }

            #itemsforsale .item .image > div {
                padding-bottom: 70%;
                position: relative;
            }

                #itemsforsale .item .image > div > img {
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    opacity: 1;
                    transition: all 0.3s ease-in-out;
                }

        #itemsforsale .item:hover .image > div > img {
            opacity: 0.9;
        }

        #itemsforsale .item .image .price {
            position: absolute;
            left: 0;
            top: 0;
            padding: 5px 10px 7px 10px;
            background: rgba(0,0,0,0.7);
            color: white;
            font-weight: 400;
            -webkit-border-bottom-right-radius: 12px;
            -moz-border-radius-bottomright: 12px;
            border-bottom-right-radius: 12px;
        }

        /*#itemsforsale .item .title {
    position: relative;
}

#itemsforsale .item .title:after {
    content: '';
    position: relative;
    left: 10%;
    right: 10%;
    width: 80%;
    display: inline-block;
    height: 1px;
    border-bottom: 1px solid #AE1917;
}*/

        #itemsforsale .item h3 {
            font-size: 1em;
            line-height: 1.5;
            margin-bottom: 0;
        }

        #itemsforsale .item .title a {
            display: block;
            text-decoration: none;
            font-weight: 400;
            padding: 12px 25px 0 25px;
            text-align: center;
            color: inherit;
        }

        #itemsforsale .item .seller {
            display: block;
            padding: 2px 25px 16px 25px;
            text-align: center;
            font-size: 0.9em;
            color: #333;
        }

            #itemsforsale .item .seller span:before {
                position: relative;
                content: url('../images/icon-person.svg');
                left: -5px;
                top: 4px;
            }

@media (min-width: 576px) {

    #itemsforsale {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {

    #itemsforsale {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 1200px) {

    #itemsforsale .item .title a {
        font-size: 1.1em;
    }
}

/************ FOR SALE: DETAL **********/
#itemforsale h2 {
    text-transform: uppercase;
    font-size: 1em;
    border-bottom: 1px dotted #969393;
    padding-bottom: 7px;
}

#itemforsale .general {
    margin-bottom: 30px;
}

    #itemforsale .general > div {
        display: flex;
        margin-bottom: 5px;
    }

        #itemforsale .general > div:last-child {
            margin-bottom: 0;
        }

        #itemforsale .general > div > div:first-child {
            flex: 0 0 150px;
        }

#itemforsale .right .general > div > div:first-child {
    flex: 0 0 140px;
}

#itemforsale .general > div > div:last-child {
    flex: 1 1 0;
}

#itemforsale .details > div {
    display: flex;
    margin-bottom: 5px;
}

    #itemforsale .details > div:last-child {
        margin-bottom: 0;
    }

    #itemforsale .details > div > div:first-child {
        flex: 0 0 150px;
    }

#itemforsale .right .details > div > div:first-child {
    flex: 0 0 140px;
}

#itemforsale .details > div > div:last-child {
    flex: 1 1 0;
}

#itemforsale .seller {
    margin-top: 30px;
    margin-bottom: 40px;
}

    #itemforsale .seller > div {
        display: flex;
        margin-bottom: 12px;
    }

        #itemforsale .seller > div:last-child {
            margin-bottom: 0;
        }

        #itemforsale .seller > div > div:first-child {
            flex: 0 0 150px;
        }

#itemforsale .right .seller > div > div:first-child {
    flex: 0 0 140px;
}

#itemforsale .seller > div > div:last-child {
    flex: 1 1 0;
}

#itemforsale .seller > div.address {
    padding-bottom: 5px;
}

    #itemforsale .seller > div.address p {
        margin-bottom: 5px;
    }

    #itemforsale .seller > div.address a {
        margin-left: 20px;
        position: relative;
    }

        #itemforsale .seller > div.address a:before {
            position: absolute;
            content: url('../images/icon-route.svg');
            left: -20px;
            top: 2px;
            background: url('../images/icon-route-red.svg'); /*preload*/
            background-size: 0px;
        }

        #itemforsale .seller > div.address a:hover:before, #itemforsale .seller > div.address a:active:before, #itemforsale .seller > div.address a:focus:before {
            content: url('../images/icon-route-red.svg');
        }

#itemforsale .seller > div.mail a {
    margin-left: 28px;
    position: relative;
}

    #itemforsale .seller > div.mail a:before {
        position: absolute;
        content: url('../images/icon-mail.svg');
        left: -28px;
        top: 2px;
        background: url('../images/icon-mail-red.svg'); /*preload*/
        background-size: 0px;
    }

    #itemforsale .seller > div.mail a:hover:before, #itemforsale .seller > div.mail a:active:before, #itemforsale .seller > div.mail a:focus:before {
        content: url('../images/icon-mail-red.svg');
    }

#itemforsale .seller > div.more {
    margin-top: 25px;
}

    #itemforsale .seller > div.more a {
        margin-left: 25px;
        position: relative;
    }

        #itemforsale .seller > div.more a:before {
            position: absolute;
            content: url('../images/icon-more.svg');
            left: -25px;
            top: 2px;
            background: url('../images/icon-more-red.svg'); /*preload*/
            background-size: 0px;
        }

        #itemforsale .seller > div.more a:hover:before, #itemforsale .seller > div.more a:active:before, #itemforsale .seller > div.more a:focus:before {
            content: url('../images/icon-more-red.svg');
        }

#itemforsale .left > div {
    margin-bottom: 30px;
}

#itemforsale .right .general {
    display: none;
}

#itemforsale .right .details {
    display: none;
}

#itemforsale .left .images a {
    cursor: zoom-in;
}

#itemforsale .left .images .large div {
    overflow: hidden;
    -webkit-border-top-right-radius: 20px;
    -moz-border-radius-topright: 20px;
    border-top-right-radius: 20px;
}

    #itemforsale .left .images .large div a {
        display: block;
        padding-bottom: 70%;
        /*transform: scale(1);
    transition: all 0.5s ease-in-out;*/
        position: relative;
    }

#itemforsale .left .images .large:hover div a {
    /*transform: scale(1.02);*/
}

#itemforsale .left .images .large div a img.large-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#itemforsale .left .images .large div a img.zoom {
    position: absolute;
    right: 25px;
    top: 25px;
    transform: scale(1);
    transition: all 0.5s ease-in-out;
}

#itemforsale .left .images .large:hover div a img.zoom {
    transform: scale(1.2);
}

#itemforsale .left .images .small {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    justify-items: stretch;
    align-items: stretch;
}

    #itemforsale .left .images .small div {
        overflow: hidden;
    }

        #itemforsale .left .images .small div a {
            display: block;
            padding-bottom: 70%;
            position: relative;
        }

            #itemforsale .left .images .small div a.inline-video:before {
                position: absolute;
                content: '';
                left: 0;
                top: 0;
                height: 100%;
                width: 100%;
                background-color: #333;
                opacity: 0.2;
                z-index: 1;
            }

            #itemforsale .left .images .small div a.inline-video:after {
                position: absolute;
                content: '';
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                -ms-transform: translate(-50%, -50%);
                width: 50%;
                height: 50%;
                background-image: url(../images/play.png);
                background-repeat: no-repeat;
                background-position: center;
                background-size: contain;
                z-index: 2;
            }

            #itemforsale .left .images .small div a img {
                position: absolute;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

/*#itemforsale .left .images .small div:hover a {
    transform: scale(1.04);
}*/

/*#itemforsale .left .images .more {
    display:none;
}

#itemforsale .left .images .small .icon {
    border: 1px solid #AE1917;
}

#itemforsale .left .images .small .icon a {
    background-image: url('../images/icon-more-images.svg');
    background-size: 100px auto;
    background-repeat: no-repeat;
}

#itemforsale .left .images .small .icon:hover a {
    transform: none;
}*/

#itemforsale .left .description p.website {
    margin-top: 20px;
}

    #itemforsale .left .description p.website a {
        margin-left: 25px;
        position: relative;
    }

        #itemforsale .left .description p.website a:before {
            position: absolute;
            content: url('../images/icon-website.svg');
            left: -25px;
            top: 2px;
            background: url('../images/icon-website-red.svg'); /*preload*/
            background-size: 0px;
        }

        #itemforsale .left .description p.website a:hover:before, #itemforsale .left .description p.website a:focus:before, #itemforsale .left .description p.website a:active:before {
            content: url('../images/icon-website-red.svg');
        }

#itemforsale + .back {
    margin-top: 10px;
    border-top: 2px dotted #969393;
    padding-top: 30px;
}

    #itemforsale + .back a.teritary-button {
        display: none;
    }

        #itemforsale + .back a.teritary-button span {
            position: relative;
        }

            #itemforsale + .back a.teritary-button span:after {
                display: inline-block;
                position: relative;
                content: '';
                background: url('../images/icon-arrow-right-2-red.svg');
                background-repeat: no-repeat;
                background-size: 24px 12px;
                background-position: right center;
                left: 0px;
                top: 2px;
                width: 0px;
                height: 12px;
                transition: all 0.2s linear;
            }

        #itemforsale + .back a.teritary-button:hover span:after, #itemforsale + .back a.teritary-button:active span:after, #itemforsale + .back a.teritary-button:focus span:after {
            margin-left: 7px;
            width: 18px;
        }

@media (min-width: 600px) {

    #itemforsale + .back {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        #itemforsale + .back a.teritary-button {
            display: inline-block;
        }
}

@media (min-width: 768px) {

    #itemforsale .left .images .small {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
}


@media (min-width: 992px) {

    #itemforsale {
        display: flex;
    }

        #itemforsale .left {
            flex: 1 1 0;
        }

            #itemforsale .left .general {
                display: none;
            }

            #itemforsale .left .details {
                display: none;
            }

        #itemforsale .right {
            flex: 0 0 400px;
            padding-left: 50px;
        }

            #itemforsale .right .general {
                display: block;
            }

            #itemforsale .right .details {
                display: block;
            }
}


/************ PHOTOALBUMS (overview) **********/
#photoalbums {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    justify-items: stretch;
    align-items: stretch;
}

    #photoalbums .item {
        -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topright: 20px;
        border-top-right-radius: 20px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
    }

        #photoalbums .item:hover {
            background-color: #F7F7F7;
        }

        #photoalbums .item .image {
            height: 230px;
            position: relative;
            overflow: hidden;
            border-bottom: 4px solid #AE1917;
        }

            #photoalbums .item .image > div {
                width: 100%;
                height: 100%;
                background-position: center center;
                background-size: cover;
            }

            #photoalbums .item .image .count {
                position: absolute;
                left: 0;
                top: 0;
                padding: 3px 10px 5px 10px;
                background: rgba(0,0,0,0.7);
                color: white;
                font-size: 0.9em;
                font-weight: 400;
                -webkit-border-bottom-right-radius: 12px;
                -moz-border-radius-bottomright: 12px;
                border-bottom-right-radius: 12px;
            }

        #photoalbums .item .text {
            padding: 15px 20px;
        }

        #photoalbums .item .title a {
            text-decoration: none;
            font-weight: 400;
            font-size: 1.2em;
            line-height: 1.2;
            color: inherit;
        }

        #photoalbums .item .date {
            padding-top: 10px;
            font-weight: 400;
            font-size: 0.95em;
        }

        #photoalbums .item .photographer {
            padding-top: 10px;
            font-size: 0.9em;
            color: #333;
        }

@media (min-width: 481px) {

    #photoalbums .item .image {
        height: 300px;
    }
}

@media (min-width: 576px) {

    #photoalbums .item {
        display: flex;
        /*align-items: center;*/
        min-height: 150px;
    }

        #photoalbums .item .image {
            width: 40%;
            height: 100%;
            border-bottom: 0;
            /*border-right: 4px solid #AE1917;*/
        }

        #photoalbums .item .text {
            width: 60%;
        }
}

@media (min-width: 768px) {

    #photoalbums .item {
        min-height: 200px;
    }
}

@media (min-width: 992px) {

    #photoalbums {
        grid-template-columns: 1fr 1fr;
    }

        #photoalbums .item {
            min-height: 145px;
        }

            #photoalbums .item .image .count {
                font-size: 0.85em;
            }
}

@media (min-width: 1200px) {

    #photoalbums .item .text {
        padding: 15px 25px;
    }
}

/************ PHOTOALBUM (detail) **********/

#photoalbum .intro {
    margin-bottom: 25px;
}

#photoalbum .links {
    margin-bottom: 25px;
}

    #photoalbum .links a {
        margin-left: 25px;
        position: relative;
        overflow-wrap: break-word;
        word-break: break-all;
    }

        #photoalbum .links a:before {
            position: absolute;
            content: url(../images/icon-website.svg);
            left: -25px;
            top: 2px;
            background: url(../images/icon-website-red.svg);
            background-size: 0px;
        }

        #photoalbum .links a:hover:before, #photoalbum .links a:focus:before, #photoalbum .links a:active:before {
            content: url(../images/icon-website-red.svg);
        }

#photoalbum .photographer {
    margin-top: 25px;
    margin-bottom: 25px;
    font-weight: 400;
}

#photoalbum .gallery {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

    #photoalbum .gallery a {
        display: inline-block;
        margin: 0 8px 8px 0;
        cursor: zoom-in;
    }

        #photoalbum .gallery a img {
            width: 104px;
            object-fit: cover;
            height: 78px;
            -webkit-border-top-right-radius: 10px;
            -moz-border-radius-topright: 10px;
            border-top-right-radius: 10px;
            /*-webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-left-radius: 10px;*/
        }

#photoalbum .views {
    margin-bottom: 20px;
}

#photoalbum + .back {
    margin-top: 10px;
    border-top: 2px dotted #969393;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    #photoalbum + .back > div:first-child {
        flex: 0 0 210px;
    }

    #photoalbum + .back span {
        text-align: right;
        flex: 1 1 0;
    }

@media (min-width: 576px) {

    /*#photoalbum + .back {
        display:flex;
        justify-content: space-between;
    }*/

    #photoalbum + .back a.teritary-button {
        display: inline-block;
    }
}

@media (min-width: 768px) {

    #photoalbum .gallery a {
        margin: 0 12px 12px 0;
    }

        #photoalbum .gallery a img {
            width: 128px;
            height: 96px;
        }
}

@media (min-width: 992px) {

    #photoalbum .gallery a img {
        width: 140px;
        height: 105px;
    }
}


@media (min-width: 1600px) {

    #photoalbum .gallery a img {
        width: 144px;
        height: 108px;
    }
}



/************ FOR RENT: OVERVIEW **********/
#itemsforrent {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    justify-items: stretch;
    align-items: stretch;
}

    #itemsforrent .item {
        -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topright: 20px;
        border-top-right-radius: 20px;
        cursor: pointer;
    }

        #itemsforrent .item .image {
            overflow: hidden;
            position: relative;
            border-bottom: 4px solid #AE1917;
            -webkit-border-top-right-radius: 20px;
            -moz-border-radius-topright: 20px;
            border-top-right-radius: 20px;
        }

            #itemsforrent .item .image > div {
                padding-bottom: 70%;
                background-position: center center;
                background-size: cover;
                /*transform: scale(1);*/
                opacity: 1;
                transition: all 0.3s ease-in-out;
            }

        #itemsforrent .item:hover .image > div {
            /*transform: scale(1.02);*/
            opacity: 0.9;
        }

        #itemsforrent .item .image .places {
            position: absolute;
            left: 0;
            top: 0;
            padding: 5px 10px 7px 10px;
            background: rgba(0,0,0,0.7);
            color: white;
            font-weight: 400;
            -webkit-border-bottom-right-radius: 12px;
            -moz-border-radius-bottomright: 12px;
            border-bottom-right-radius: 12px;
        }

        #itemsforrent .item .title a {
            display: block;
            text-decoration: none;
            font-weight: 400;
            padding: 12px 25px 0 25px;
            text-align: center;
            color: inherit;
        }

        #itemsforrent .item .owner {
            display: block;
            padding: 2px 25px 16px 25px;
            text-align: center;
            font-size: 0.9em;
            color: #333;
        }

            #itemsforrent .item .owner span:before {
                position: relative;
                content: url('../images/icon-person.svg');
                left: -5px;
                top: 4px;
            }

@media (min-width: 576px) {

    #itemsforrent {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {

    #itemsforrent {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 1200px) {

    #itemsforrent .item .title a {
        font-size: 1.1em;
    }
}



/************ FOR RENT: DETAL **********/
#itemforrent h2 {
    text-transform: uppercase;
    font-size: 1em;
    border-bottom: 1px dotted #969393;
    padding-bottom: 7px;
}

#itemforrent .details > div {
    display: flex;
    margin-bottom: 5px;
}

    #itemforrent .details > div:last-child {
        margin-bottom: 0;
    }

    #itemforrent .details > div > div:first-child {
        flex: 0 0 150px;
    }

#itemforrent .right .details > div > div:first-child {
    flex: 0 0 140px;
}

#itemforrent .details > div > div:last-child {
    flex: 1 1 0;
}

#itemforrent .rental > div {
    display: flex;
    margin-bottom: 5px;
}

    #itemforrent .rental > div:last-child {
        margin-bottom: 0;
    }

    #itemforrent .rental > div > div:first-child {
        flex: 0 0 150px;
    }

#itemforrent .right .rental > div > div:first-child {
    flex: 0 0 140px;
}

#itemforrent .rental > div > div:last-child {
    flex: 1 1 0;
}

#itemforrent .owner {
    margin-top: 30px;
    margin-bottom: 40px;
}

    #itemforrent .owner > div {
        display: flex;
        margin-bottom: 12px;
    }

        #itemforrent .owner > div:last-child {
            margin-bottom: 0;
        }

        #itemforrent .owner > div > div:first-child {
            flex: 0 0 150px;
        }

#itemforrent .right .owner > div > div:first-child {
    flex: 0 0 140px;
}

#itemforrent .owner > div > div:last-child {
    flex: 1 1 0;
}

#itemforrent .owner > div.address {
    padding-bottom: 5px;
}

    #itemforrent .owner > div.address p {
        margin-bottom: 5px;
    }

    #itemforrent .owner > div.address a {
        margin-left: 20px;
        position: relative;
    }

        #itemforrent .owner > div.address a:before {
            position: absolute;
            content: url('../images/icon-route.svg');
            left: -20px;
            top: 2px;
            background: url('../images/icon-route-red.svg'); /*preload*/
            background-size: 0px;
        }

        #itemforrent .owner > div.address a:hover:before, #itemforrent .owner > div.address a:focus:before, #itemforrent .owner > div.address a:active:before {
            content: url('../images/icon-route-red.svg');
        }

#itemforrent .owner > div.mail a {
    margin-left: 28px;
    position: relative;
}

    #itemforrent .owner > div.mail a:before {
        position: absolute;
        content: url('../images/icon-mail.svg');
        left: -28px;
        top: 2px;
        background: url('../images/icon-mail-red.svg'); /*preload*/
        background-size: 0px;
    }

    #itemforrent .owner > div.mail a:hover:before, #itemforrent .owner > div.mail a:focus:before, #itemforrent .owner > div.mail a:active:before {
        content: url('../images/icon-mail-red.svg');
    }

#itemforrent .owner > div.more {
    margin-top: 25px;
}

    #itemforrent .owner > div.more a {
        margin-left: 25px;
        position: relative;
    }

        #itemforrent .owner > div.more a:before {
            position: absolute;
            content: url('../images/icon-more.svg');
            left: -25px;
            top: 2px;
            background: url('../images/icon-more-red.svg'); /*preload*/
            background-size: 0px;
        }

        #itemforrent .owner > div.more a:hover:before, #itemforrent .owner > div.more a:focus:before, #itemforrent .owner > div.more a:active:before {
            content: url('../images/icon-more-red.svg');
        }

#itemforrent .left > div {
    margin-bottom: 30px;
}

#itemforrent .right .details {
    display: none;
}

#itemforrent .right .rental {
    display: none;
    margin-top: 30px;
}

#itemforrent .left .images a {
    cursor: zoom-in;
}

#itemforrent .left .images .large div {
    overflow: hidden;
    -webkit-border-top-right-radius: 20px;
    -moz-border-radius-topright: 20px;
    border-top-right-radius: 20px;
}

    #itemforrent .left .images .large div a {
        display: block;
        padding-bottom: 70%;
        background-position: center center;
        background-size: cover;
        /*transform: scale(1);
    transition: all 0.5s ease-in-out;*/
        position: relative;
    }

        /*#itemforrent .left .images .large:hover div a {
    transform: scale(1.02);
}*/

        #itemforrent .left .images .large div a img.zoom {
            position: absolute;
            right: 25px;
            top: 25px;
            transform: scale(1);
            transition: all 0.5s ease-in-out;
        }

#itemforrent .left .images .large:hover div a img.zoom {
    transform: scale(1.2);
}

#itemforrent .left .images .small {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    justify-items: stretch;
    align-items: stretch;
}

    #itemforrent .left .images .small div {
        overflow: hidden;
    }

        #itemforrent .left .images .small div a {
            display: block;
            padding-bottom: 70%;
            background-position: center center;
            background-size: cover;
            transform: scale(1);
            transition: all 0.3s ease-in-out;
        }

/*#itemforrent .left .images .small div:hover a {
    transform: scale(1.04);
}*/

/*#itemforrent .left .images .more {
    display:none;
}

#itemforrent .left .images .small .icon {
    border: 1px solid #AE1917;
}

#itemforrent .left .images .small .icon a {
    background-image: url('../images/icon-more-images.svg');
    background-size: 100px auto;
    background-repeat: no-repeat;
}

#itemforrent .left .images .small .icon:hover a {
    transform: none;
}*/

#itemforrent .left .description p.website {
    margin-top: 20px;
}

    #itemforrent .left .description p.website a {
        margin-left: 25px;
        position: relative;
    }

        #itemforrent .left .description p.website a:before {
            position: absolute;
            content: url('../images/icon-website.svg');
            left: -25px;
            top: 2px;
            background: url('../images/icon-website-red.svg'); /*preload*/
            background-size: 0px;
        }

        #itemforrent .left .description p.website a:hover:before, #itemforrent .left .description p.website a:focus:before, #itemforrent .left .description p.website a:active:before {
            content: url('../images/icon-website-red.svg');
        }

#itemforrent + .back {
    margin-top: 10px;
    border-top: 2px dotted #969393;
    padding-top: 30px;
}

    #itemforrent + .back a.teritary-button {
        display: none;
    }

        #itemforrent + .back a.teritary-button span {
            position: relative;
        }

            #itemforrent + .back a.teritary-button span:after {
                display: inline-block;
                position: relative;
                content: '';
                background: url('../images/icon-arrow-right-2-red.svg');
                background-repeat: no-repeat;
                background-size: 24px 12px;
                background-position: right center;
                left: 0px;
                top: 2px;
                width: 0px;
                height: 12px;
                transition: all 0.2s linear;
            }

        #itemforrent + .back a.teritary-button:hover span:after, #itemforrent + .back a.teritary-button:active span:after, #itemforrent + .back a.teritary-button:focus span:after {
            margin-left: 7px;
            width: 18px;
        }

@media (min-width: 600px) {

    #itemforrent + .back {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        #itemforrent + .back a.teritary-button {
            display: inline-block;
        }
}

@media (min-width: 768px) {

    /*#itemforrent .left .images .small {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }*/
}


@media (min-width: 992px) {

    #itemforrent {
        display: flex;
    }

        #itemforrent .left {
            flex: 1 1 0;
        }

            #itemforrent .left .details {
                display: none;
            }

            #itemforrent .left .rental {
                display: none;
            }

        #itemforrent .right {
            flex: 0 0 400px;
            padding-left: 50px;
        }

            #itemforrent .right .details {
                display: block;
            }

            #itemforrent .right .rental {
                display: block;
            }
}


/************ SPECIALISTS (overview) **********/
#specialists {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    justify-items: stretch;
    align-items: stretch;
}

    #specialists .item {
        -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topright: 20px;
        border-top-right-radius: 20px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
    }

        #specialists .item:hover {
            background-color: #F7F7F7;
        }

        #specialists .item .image {
            height: 230px;
            position: relative;
            overflow: hidden;
            border-bottom: 4px solid #AE1917;
        }

            #specialists .item .image > div {
                width: 100%;
                height: 100%;
                background-position: center center;
                background-size: cover;
            }

        #specialists .item .text {
            padding: 15px 20px;
        }

        #specialists .item .name a {
            text-decoration: none;
            font-weight: 400;
            font-size: 1.2em;
            line-height: 1.2;
            color: inherit;
        }

        #specialists .item .location {
            padding-top: 2px;
            font-weight: 400;
            font-size: 1em;
        }

        #specialists .item .activities {
            padding-top: 10px;
        }

            #specialists .item .activities a {
                text-decoration: none;
            }

@media (min-width: 481px) {

    #specialists .item .image {
        height: 300px;
    }
}

@media (min-width: 576px) {

    #specialists .item {
        display: flex;
        /*align-items: center;*/
        min-height: 150px;
    }

        #specialists .item .image {
            width: 40%;
            height: 100%;
            border-bottom: 0;
            /*border-right: 4px solid #AE1917;*/
        }

        #specialists .item .text {
            width: 60%;
        }
}

@media (min-width: 768px) {

    #specialists .item {
        min-height: 200px;
    }
}

@media (min-width: 992px) {

    #specialists {
        grid-template-columns: 1fr 1fr;
    }

        #specialists .item {
            min-height: 145px;
        }
}

@media (min-width: 1200px) {

    #specialists .item .text {
        padding: 15px 25px;
    }
}



/************ SPECIALIST **********/

#specialist div h2 {
    text-transform: uppercase;
    font-size: 1em;
}

#specialist .info > div {
    margin-bottom: 30px;
}

#specialist .info .address a {
    margin-left: 20px;
    position: relative;
}

    #specialist .info .address a:before {
        position: absolute;
        content: url('../images/icon-route.svg');
        left: -20px;
        top: 2px;
        background: url('../images/icon-route-red.svg'); /*preload*/
        background-size: 0px;
    }

    #specialist .info .address a:hover:before, #specialist .info address a:focus:before, #specialist .info .address a:active:before {
        content: url('../images/icon-route-red.svg');
    }

#specialist .info .email a {
    overflow-wrap: break-word;
    word-break: break-all;
}

#specialist .main > div {
    margin-bottom: 30px;
}

#specialist .main .website a {
    margin-left: 25px;
    position: relative;
}

    #specialist .main .website a:before {
        position: absolute;
        content: url('../images/icon-website.svg');
        left: -25px;
        top: 2px;
        background: url('../images/icon-website-red.svg'); /*preload*/
        background-size: 0px;
    }

    #specialist .main .website a:hover:before, #specialist .main .website a:focus:before, #specialist .main .website a:active:before {
        content: url('../images/icon-website-red.svg');
    }

#specialist .main .images {
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    justify-items: stretch;
    align-items: stretch;
}

    #specialist .main .images div {
        overflow: hidden;
    }

        #specialist .main .images div a {
            display: block;
            cursor: zoom-in;
            padding-bottom: 70%;
            background-position: center center;
            background-size: cover;
            transition: all 0.3s ease-in-out;
            -webkit-border-top-right-radius: 15px;
            -moz-border-radius-topright: 15px;
            border-top-right-radius: 15px;
        }

#specialist + .back {
    margin-top: 40px;
    border-top: 2px dotted #969393;
    padding-top: 30px;
}

@media (min-width: 576px) {

    #specialist div.main .images {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media (min-width: 992px) {

    #specialist {
        display: flex;
        margin-top: 40px;
    }

        #specialist div.info {
            flex: 0 0 275px;
            padding-top: 10px;
            padding-right: 50px;
            margin-bottom: 0;
        }

            #specialist div.info > div:last-child {
                margin-bottom: 0;
            }

        #specialist div.main {
            flex: 1 1 0;
            border-left: 1px solid #AE1917;
            padding-top: 10px;
            padding-left: 60px;
            padding-bottom: 15px;
            margin-bottom: 0;
        }

            #specialist div.main > div:last-child {
                margin-bottom: 0;
            }
}


/************ MUSEUMS (overview) **********/
#museums {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    justify-items: stretch;
    align-items: stretch;
}

    #museums .item {
        -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topright: 20px;
        border-top-right-radius: 20px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
    }

        #museums .item:hover {
            background-color: #F7F7F7;
        }

        #museums .item .image {
            height: 230px;
            position: relative;
            overflow: hidden;
            border-bottom: 4px solid #AE1917;
        }

            #museums .item .image > div {
                width: 100%;
                height: 100%;
                background-position: center center;
                background-size: cover;
            }

        #museums .item .text {
            padding: 15px 20px;
        }

        #museums .item .name a {
            text-decoration: none;
            font-weight: 400;
            font-size: 1.2em;
            line-height: 1.2;
            color: inherit;
        }

        #museums .item .location {
            padding-top: 2px;
            font-weight: 400;
            font-size: 1em;
        }

        #museums .item .categories {
            padding-top: 10px;
        }

            #museums .item .categories a {
                text-decoration: none;
            }

@media (min-width: 481px) {

    #museums .item .image {
        height: 300px;
    }
}

@media (min-width: 576px) {

    #museums .item {
        display: flex;
        /*align-items: center;*/
        min-height: 150px;
    }

        #museums .item .image {
            width: 40%;
            height: 100%;
            border-bottom: 0;
            /*border-right: 4px solid #AE1917;*/
        }

        #museums .item .text {
            width: 60%;
        }
}

@media (min-width: 768px) {

    #museums .item {
        min-height: 200px;
    }
}

@media (min-width: 992px) {

    #museums {
        grid-template-columns: 1fr 1fr;
    }

        #museums .item {
            min-height: 145px;
        }
}

@media (min-width: 1200px) {

    #museums .item .text {
        padding: 15px 25px;
    }
}



/************ MUSEUM **********/

#museum div h2 {
    text-transform: uppercase;
    font-size: 1em;
}

#museum .info > div {
    margin-bottom: 30px;
}

#museum .info .address a {
    margin-left: 20px;
    position: relative;
}

    #museum .info .address a:before {
        position: absolute;
        content: url('../images/icon-route.svg');
        left: -20px;
        top: 2px;
        background: url('../images/icon-route-red.svg'); /*preload*/
        background-size: 0px;
    }

    #museum .info .address a:hover:before, #museum .info address a:focus:before, #museum .info .address a:active:before {
        content: url('../images/icon-route-red.svg');
    }

#museum .info .email a {
    overflow-wrap: break-word;
    word-break: break-all;
}

#museum .main > div {
    margin-bottom: 30px;
}

#museum .main .website a {
    margin-left: 25px;
    position: relative;
}

    #museum .main .website a:before {
        position: absolute;
        content: url('../images/icon-website.svg');
        left: -25px;
        top: 2px;
        background: url('../images/icon-website-red.svg'); /*preload*/
        background-size: 0px;
    }

    #museum .main .website a:hover:before, #museum .main .website a:focus:before, #museum .main .website a:active:before {
        content: url('../images/icon-website-red.svg');
    }

#museum .main .images {
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    justify-items: stretch;
    align-items: stretch;
}

    #museum .main .images div {
        overflow: hidden;
    }

        #museum .main .images div a {
            display: block;
            cursor: zoom-in;
            padding-bottom: 70%;
            background-position: center center;
            background-size: cover;
            transition: all 0.3s ease-in-out;
            -webkit-border-top-right-radius: 15px;
            -moz-border-radius-topright: 15px;
            border-top-right-radius: 15px;
        }

#museum + .back {
    margin-top: 40px;
    border-top: 2px dotted #969393;
    padding-top: 30px;
}

@media (min-width: 576px) {

    #museum div.main .images {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media (min-width: 992px) {

    #museum {
        display: flex;
        margin-top: 40px;
    }

        #museum div.info {
            flex: 0 0 275px;
            padding-top: 10px;
            padding-right: 50px;
            margin-bottom: 0;
        }

            #museum div.info > div:last-child {
                margin-bottom: 0;
            }

        #museum div.main {
            flex: 1 1 0;
            border-left: 1px solid #AE1917;
            padding-top: 10px;
            padding-left: 60px;
            padding-bottom: 15px;
            margin-bottom: 0;
        }

            #museum div.main > div:last-child {
                margin-bottom: 0;
            }
}


/************ CLUBS *********/
#clubs {
    margin-top: 40px;
}

    #clubs .head {
        display: flex;
        background-color: #AE1917;
        color: white;
        text-transform: uppercase;
        font-size: 0.9em;
        -webkit-border-top-left-radius: 10px;
        -webkit-border-top-right-radius: 10px;
        -moz-border-radius-topleft: 10px;
        -moz-border-radius-topright: 10px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    #clubs .item {
        display: flex;
        border-bottom: 1px solid #AE1917;
    }

        #clubs .head > div, #clubs .item > div:last-child {
            padding-right: 0;
        }

            #clubs .head > div:nth-child(1),
            #clubs .item > div:nth-child(1) {
                flex: 1 1 0;
            }

                #clubs .item > div:nth-child(1) > a {
                    font-weight: 400;
                    color: inherit;
                }

                    #clubs .item > div:nth-child(1) > a > span {
                        display: block;
                        font-weight: 300;
                        font-size: 0.9em;
                        margin-top: 5px;
                    }

            #clubs .head > div:nth-child(2),
            #clubs .item > div:nth-child(2) {
                flex: 0 0 225px;
                display: none;
            }

        #clubs .item > div:nth-child(2) {
            color: #AE1917;
            font-weight: 400;
        }

        #clubs .head > div:nth-child(3),
        #clubs .item > div:nth-child(3) {
            flex: 0 0 225px;
            display: none;
        }

    #clubs .head > div {
        padding: 10px 15px 10px 15px;
    }

    #clubs .item > div {
        margin: 5px 0;
        padding: 5px 15px;
        cursor: pointer;
    }

        #clubs .item > div:nth-child(1) {
            border-right: 1px dotted #CBC8C8;
        }

    #clubs .item:hover > div {
        background-color: rgba(174, 25, 23, 0.1);
    }

    #clubs .item > div > a {
        text-decoration: none;
    }

    #clubs .item > div:nth-child(2) > a > span {
        display: block;
        font-weight: 400;
        font-size: 0.9em;
        margin-top: 5px;
    }

@media (min-width: 768px) {

    #clubs .item > div:nth-child(1) {
        border-right: 1px dotted #CBC8C8;
    }

    #clubs .head > div:nth-child(3),
    #clubs .item > div:nth-child(3) {
        display: block;
    }
}

@media (min-width: 992px) {

    #clubs .item > div:nth-child(1) > a > span {
        display: none;
    }

    #clubs .head > div:nth-child(2),
    #clubs .item > div:nth-child(2) {
        display: block;
    }

    #clubs .item > div:nth-child(2) {
        border-right: 1px dotted #CBC8C8;
    }
}


/************ ARTICLES **********/
#articles {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    justify-items: stretch;
    align-items: stretch;
}

    #articles .item {
        -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topright: 20px;
        border-top-right-radius: 20px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
    }

        #articles .item:hover {
            background-color: #F7F7F7;
        }

        #articles .item .image {
            height: 230px;
            position: relative;
            overflow: hidden;
            border-bottom: 4px solid #AE1917;
        }

            #articles .item .image > div {
                width: 100%;
                height: 100%;
                background-position: center center;
                background-size: cover;
            }

        #articles .item .text {
            padding: 15px 20px;
        }

        #articles .item .title a {
            text-decoration: none;
            font-weight: 400;
            font-size: 1.2em;
            line-height: 1.2;
            color: inherit;
        }

        #articles .item .teaser {
            padding-top: 10px;
            font-size: 0.9em;
        }

        #articles .item .author {
            padding-top: 15px;
            font-size: 0.9em;
            color: #555;
        }

@media (min-width: 481px) {

    #articles .item .image {
        height: 300px;
    }
}

@media (min-width: 576px) {

    #articles .item {
        display: flex;
        /*align-items: center;*/
        min-height: 200px;
    }

        #articles .item .image {
            width: 40%;
            height: 100%;
            border-bottom: 0;
            /*border-right: 4px solid #AE1917;*/
        }

        #articles .item .text {
            width: 60%;
        }
}

@media (min-width: 768px) {

    #articles .item {
        min-height: 200px;
    }
}

@media (min-width: 992px) {

    #articles .item {
        min-height: 250px;
    }

        #articles .item .text {
            padding: 25px 30px;
        }
}


/************ ARTICLE (detail) **********/

#article .author {
    margin-top: 25px;
    font-weight: 400;
}

#article + .back {
    margin-top: 30px;
    border-top: 2px dotted #969393;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    #article + .back > div:first-child {
        flex: 0 0 210px;
    }

    #article + .back span {
        text-align: right;
        flex: 1 1 0;
    }

#article .teaser {
    background-color: #F2F2F2;
    -webkit-border-top-right-radius: 20px;
    -moz-border-radius-topright: 20px;
    border-top-right-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -moz-border-radius-bottomleft: 20px;
    border-bottom-left-radius: 20px;
    padding: 25px;
    margin-top: 25px;
    text-align: center;
}

@media (min-width: 576px) {

    #article + .back a.teritary-button {
        display: inline-block;
    }
}


/************ NEWS (overview) **********/
#news {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    -ms-grid-rows: auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    justify-items: stretch;
    align-items: stretch;
}

    #news .item {
        -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topright: 20px;
        border-top-right-radius: 20px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
    }

        #news .item:hover {
            background-color: #F7F7F7;
        }

        #news .item .image {
            height: 230px;
            position: relative;
            overflow: hidden;
            border-bottom: 4px solid #AE1917;
        }

            #news .item .image > div {
                width: 100%;
                height: 100%;
                background-position: center center;
                background-size: cover;
            }

        #news .item .text {
            padding: 15px 20px;
        }

        #news .item .title a {
            text-decoration: none;
            font-weight: 400;
            font-size: 1.2em;
            line-height: 1.2;
            color: inherit;
        }

        #news .item .teaser {
            padding-top: 10px;
            font-size: 0.9em;
        }

        #news .item .author {
            padding-top: 15px;
            font-size: 0.9em;
            color: #555;
        }

@media (min-width: 481px) {

    #news .item .image {
        height: 300px;
    }
}

@media (min-width: 576px) {

    #news .item {
        display: flex;
        /*align-items: center;*/
        min-height: 200px;
    }

        #news .item .image {
            width: 40%;
            height: 100%;
            border-bottom: 0;
            /*border-right: 4px solid #AE1917;*/
        }

        #news .item .text {
            width: 60%;
        }
}

@media (min-width: 768px) {

    #news .item {
        min-height: 200px;
    }
}

@media (min-width: 992px) {

    #news .item {
        min-height: 250px;
    }

        #news .item .text {
            padding: 25px 30px;
        }
}


/************ NEWS (detail) **********/

#newsdetail .author {
    margin-top: 25px;
    font-weight: 400;
}

#newsdetail + .back {
    margin-top: 30px;
    border-top: 2px dotted #969393;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    #newsdetail + .back > div:first-child {
        flex: 0 0 210px;
    }

    #newsdetail + .back span {
        text-align: right;
        flex: 1 1 0;
    }

@media (min-width: 576px) {

    #newsdetail + .back a.teritary-button {
        display: inline-block;
    }
}


/************ FORMS **********/
.ui-widget.ui-datepicker {
    font-size: 1em;
}

section.tabs {
    display: flex;
}

    section.tabs > div {
        border-left: 1px solid #AE1917;
        border-top: 1px solid #AE1917;
        padding: 10px 25px;
        color: #AE1917;
        font-weight: 400;
        text-transform: uppercase;
    }

        section.tabs > div:last-child {
            border-right: 1px solid #AE1917;
            -webkit-border-top-right-radius: 10px;
            -moz-border-radius-topright: 10px;
            border-top-right-radius: 10px;
        }

        section.tabs > div.active {
            background-color: #AE1917;
            color: white;
        }

section.form {
    border: 1px solid #AE1917;
    padding: 25px 25px;
    -webkit-border-top-right-radius: 20px;
    -moz-border-radius-topright: 20px;
    border-top-right-radius: 20px;
}

    section.form .formrow {
        margin-bottom: 20px;
    }

        section.form .formrow:last-child {
            margin-bottom: 0;
        }

        section.form .formrow.hidden {
            display: none;
        }

        section.form .formrow > label {
            display: inline-block;
            margin-bottom: 5px;
            font-weight: 600;
        }

        section.form .formrow > div label {
            font-weight: 300;
        }

            section.form .formrow > div label.d-flex {
                align-items: flex-start;
            }

                section.form .formrow > div label.d-flex input {
                    margin-top: 3px;
                }

        section.form .formrow.inline-checkboxes > label {
            margin-top: 0;
            margin-bottom: 0;
        }

        section.form .formrow.inline-checkboxes > div {
            display: flex;
            flex-wrap: wrap;
        }

            section.form .formrow.inline-checkboxes > div > label {
                display: inline-block;
                margin-top: 5px;
                margin-right: 25px;
                display: flex;
                align-items: center;
            }

                section.form .formrow.inline-checkboxes > div > label:last-child {
                    margin-right: 0;
                }

        section.form .formrow > div input[type="text"], section.form .formrow > div input[type="password"], section.form .formrow > div textarea, section.form .formrow > div input[type="file"], section.form .formrow > div select {
            max-width: 450px;
            width: 100%;
        }

        section.form .formrow > div textarea {
            display: block;
        }

            section.form .formrow > div textarea.large {
                max-width: 720px;
            }

        section.form .formrow > div input.datepicker, section.form .formrow > div input.small, section.form .formrow > div select.small {
            width: 120px;
        }

        /*section.form .formrow > div a.secondary-button {
    padding: 3px 15px 3px 15px;
}*/

        section.form .formrow > div span.small {
            font-size: 0.8em;
            display: block;
            margin-top: 3px;
        }

@media (min-width: 576px) {

    section.form .formrow {
        display: flex;
    }

        section.form .formrow > label {
            flex: 0 0 175px;
            margin-top: 6px;
            margin-bottom: 0;
        }

        section.form .formrow.inline-checkboxes > label {
            margin-top: 6px;
        }

        section.form .formrow > div {
            flex: 1 1 0;
        }

        section.form .formrow.without-label > div {
            margin-left: 175px;
        }

        section.form .formrow > div.button {
            margin-left: 175px;
        }

        section.form .formrow > div span.small {
            display: inline-block;
            margin-top: 0;
            margin-left: 10px;
        }
}

@media (min-width: 992px) {

    section.form {
        padding: 30px 30px;
    }
}

/************ LOGIN **********/
#login h2 {
    position: relative;
    padding-left: 36px;
    margin-bottom: 15px;
}

    #login h2:before {
        content: url(../images/icon-home-subtitle.svg);
        position: absolute;
        top: 0px;
        left: 0;
    }

#login section.form {
    max-width: 700px;
}

/************ ACCOUNT **********/
#account h2 {
    position: relative;
    padding-left: 36px;
    margin-bottom: 15px;
}

    #account h2:before {
        content: url(../images/icon-home-subtitle.svg);
        position: absolute;
        top: 0px;
        left: 0;
    }

#account .my-ads-forsale {
    margin-top: 20px;
}

    #account .my-ads-forsale .head {
        display: flex;
        background-color: #AE1917;
        color: white;
        text-transform: uppercase;
        font-size: 0.9em;
        -webkit-border-top-left-radius: 10px;
        -webkit-border-top-right-radius: 10px;
        -moz-border-radius-topleft: 10px;
        -moz-border-radius-topright: 10px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    #account .my-ads-forsale .item {
        display: flex;
        align-items: center;
        border-bottom: 1px solid #AE1917;
    }

        #account .my-ads-forsale .head > div, #account .my-ads-forsale .item > div:last-child {
            /*padding-right: 0;*/
        }

            #account .my-ads-forsale .head > div:nth-child(1),
            #account .my-ads-forsale .item > div:nth-child(1) {
                flex: 0 0 125px;
                display: none;
            }

        #account .my-ads-forsale .item > div:nth-child(1) {
            color: #AE1917;
            font-weight: 400;
        }

        #account .my-ads-forsale .head > div:nth-child(2),
        #account .my-ads-forsale .item > div:nth-child(2) {
            flex: 1 1 0;
        }

            #account .my-ads-forsale .item > div:nth-child(2) > a {
                font-weight: 400;
            }

            #account .my-ads-forsale .item > div:nth-child(2) > span {
                display: flex;
                margin-top: 10px;
            }

                #account .my-ads-forsale .item > div:nth-child(2) > span a {
                    padding: 5px 15px 5px 15px;
                    margin-right: 10px;
                    margin-bottom: 5px;
                }

                    #account .my-ads-forsale .item > div:nth-child(2) > span a:last-child {
                        margin-right: 0;
                    }

        #account .my-ads-forsale .head > div:nth-child(3),
        #account .my-ads-forsale .item > div:nth-child(3) {
            flex: 0 0 160px;
            display: none;
        }

        #account .my-ads-forsale .head > div:nth-child(4),
        #account .my-ads-forsale .item > div:nth-child(4) {
            display: none;
            flex: 0 0 350px;
            text-align: right;
        }

            #account .my-ads-forsale .item > div:nth-child(4) a {
                padding: 5px 15px 5px 15px;
                margin-right: 5px;
            }

                #account .my-ads-forsale .item > div:nth-child(4) a:last-child {
                    margin-right: 0;
                }

    #account .my-ads-forsale .head > div {
        padding: 10px 15px 10px 15px;
    }

    #account .my-ads-forsale .item > div {
        margin: 5px 0;
        padding: 5px 15px;
    }

        #account .my-ads-forsale .item > div > a {
            text-decoration: none;
        }

#account .my-ads-forrent {
    margin-top: 20px;
}

    #account .my-ads-forrent .head {
        display: flex;
        background-color: #AE1917;
        color: white;
        text-transform: uppercase;
        font-size: 0.9em;
        -webkit-border-top-left-radius: 10px;
        -webkit-border-top-right-radius: 10px;
        -moz-border-radius-topleft: 10px;
        -moz-border-radius-topright: 10px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    #account .my-ads-forrent .item {
        display: flex;
        align-items: center;
        border-bottom: 1px solid #AE1917;
    }

        #account .my-ads-forrent .head > div, #account .my-ads-forrent .item > div:last-child {
            /*padding-right: 0;*/
        }

            #account .my-ads-forrent .head > div:nth-child(1),
            #account .my-ads-forrent .item > div:nth-child(1) {
                flex: 1 1 0;
            }

                #account .my-ads-forrent .item > div:nth-child(1) > a {
                    font-weight: 400;
                }

                #account .my-ads-forrent .item > div:nth-child(1) > span {
                    display: flex;
                    margin-top: 10px;
                }

                    #account .my-ads-forrent .item > div:nth-child(1) > span a {
                        padding: 5px 15px 5px 15px;
                        margin-right: 10px;
                        margin-bottom: 5px;
                    }

                        #account .my-ads-forrent .item > div:nth-child(1) > span a:last-child {
                            margin-right: 0;
                        }

            #account .my-ads-forrent .head > div:nth-child(2),
            #account .my-ads-forrent .item > div:nth-child(2) {
                display: none;
                flex: 0 0 245px;
                text-align: right;
            }

                #account .my-ads-forrent .item > div:nth-child(2) a {
                    padding: 5px 15px 5px 15px;
                    margin-right: 5px;
                }

                    #account .my-ads-forrent .item > div:nth-child(2) a:last-child {
                        margin-right: 0;
                    }

    #account .my-ads-forrent .head > div {
        padding: 10px 15px 10px 15px;
    }

    #account .my-ads-forrent .item > div {
        margin: 5px 0;
        padding: 5px 15px;
    }

        #account .my-ads-forrent .item > div > a {
            text-decoration: none;
        }

#account .alert {
    margin-top: 25px;
    background-color: #AE1917;
    color: white;
    padding: 40px 30px;
    -webkit-border-bottom-left-radius: 20px;
    -moz-border-radius-bottomleft: 20px;
    border-bottom-left-radius: 20px;
    -webkit-border-top-right-radius: 20px;
    -moz-border-radius-topright: 20px;
    border-top-right-radius: 20px;
}

    #account .alert .wrapper {
        padding-left: 32px;
        position: relative;
    }

        #account .alert .wrapper:before {
            content: url(../images/icon-teaser.svg);
            position: absolute;
            top: 1px;
            left: 0;
        }

    #account .alert .title {
        font-size: 1.1em;
    }

@media (min-width: 768px) {

    #account .my-ads-forsale .item > div:nth-child(2) {
        border-right: 1px dotted #CBC8C8;
    }

        #account .my-ads-forsale .item > div:nth-child(2) > span {
            display: none;
        }

    #account .my-ads-forsale .head > div:nth-child(4),
    #account .my-ads-forsale .item > div:nth-child(4) {
        display: block;
    }

    #account .my-ads-forrent .item > div:nth-child(1) {
        border-right: 1px dotted #CBC8C8;
    }

        #account .my-ads-forrent .item > div:nth-child(1) > span {
            display: none;
        }

    #account .my-ads-forrent .head > div:nth-child(2),
    #account .my-ads-forrent .item > div:nth-child(2) {
        display: block;
    }
}

@media (min-width: 992px) {

    #account .my-ads-forsale .item > div:nth-child(1) {
        border-right: 1px dotted #CBC8C8;
    }

    #account .my-ads-forsale .head > div:nth-child(3),
    #account .my-ads-forsale .item > div:nth-child(3) {
        display: block;
    }

    #account .my-ads-forsale .item > div:nth-child(3) {
        border-right: 1px dotted #CBC8C8;
    }
}

@media (min-width: 1200px) {
}

@media (min-width: 1400px) {

    #account .my-ads-forsale .head > div:nth-child(1),
    #account .my-ads-forsale .item > div:nth-child(1) {
        display: block;
    }

    #account .my-ads-forsale .item > div:nth-child(1) {
        border-right: 1px dotted #CBC8C8;
    }
}

/************ FANCYBOX **********/
.fancybox__caption {
    text-align: center;
}

.fancybox__infobar {
    font-size: 14px !important;
}
