/* CSS Styled Content die alte Hu?$ */

DIV.csc-textpic-intext-left .csc-textpic-imagewrap,
DIV.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap {
    margin-right: 25px;
}

.csc-textpic-intext-left-nowrap-260 .csc-textpic-text {
    margin-left: 280px;
}

.emotion DIV.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {
    margin-bottom: 0px;
}


ul.csc-uploads span.csc-uploads-fileName {
    text-decoration: none;
}

/*
.flexslider {
    opacity: 0;
    -webkit-transition:     opacity 1s ease-in;
    -moz-transition:        opacity 1s ease-in;
    -o-transition:          opacity 1s ease-in;
    -ms-transition:         opacity 1s ease-in;
    transition:             opacity 1s ease-in;
}

.flexslider.load {
    opacity: 1;
}
*/

div.csc-textpic .csc-textpic-center-outer,
div.csc-textpic-center .csc-textpic-center-inner {
    float: none !important;
}

.fancybox-skin {
    padding: 0 !important;
}

.news p {
    margin: 0;
}

.csc-uploads a {
    text-decoration: none;
}

#c127 caption {
    font-size: 12px;
}

#c142 img {
    border: 2px solid #ffffff;
}

#c142 img:hover {
    border: 2px solid #06A7E2;
}

@media only screen and (max-width: 767px) {

    .newsletter input[type="text"],
    .newsletter input[type="email"] {
        width: 96%;
        padding: 2%;
    }

    .newsletter input[type="submit"] {
        position: relative;
        right: 0;
        top: 0;
        font-family: serif;
        background: #BCA55E;
        border-radius: 2px;
        border: 0;
        width: 100%;
        text-align: center;
        height: 40px;
        color: #ffffff;
        font-size: 18px;
    }

    .instagram .csc-textpic-imagerow {
        width: calc(100%/2);
    }

}



/*----- .gallery Polaroid Start -----*/

.gallery {
    padding: 50px 15px 0;
}

.gallery * {
    margin: 0;
    padding: 0;
}


.gallery [class*="csc"] {
    margin: 10px 0;
}

.gallery .csc-textpic-imagerow {
    margin: 0;
    float: left;
    width: 24%;
}

.gallery .csc-textpic-imagewrap {
    margin: 0;
    padding: 10px
}

.gallery  div.csc-textpic, div.csc-textpic div.csc-textpic-imagerow,
.gallery ul.csc-uploads li {
    overflow: visible;
}

.gallery .csc-textpic-imagerow {
    display: inline;
}

.gallery .csc-textpic-above,
.gallery .csc-textpic-imagewrap {
    width: 100%;
    left: 0;
}

.gallery .csc-textpic-imagerow {
}

.gallery .lightbox {
    display: block;
}

.gallery img {
    display: block !important;
    height: auto !important;
    float: none !important;
}

.gallery .csc-textpic-imagecolumn,
.gallery .csc-textpic-image,
.gallery DIV.csc-textpic DIV.csc-textpic-imagecolumn  {
    float: none !important;
}

.gallery a {
    font-family: 'Pacifico', cursive;
    border-radius: 2px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.5);
    background: none repeat scroll 0 0 #FFFFFF;
    color: #202020;
    display: inline;
    font-size: 18px;
    margin: 0 0 27px 30px;
    padding: 10px 10px 15px;
    text-align: center;
    text-decoration: none;
    transform:  rotate(-2deg);
    transition:         all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition:    all 0.2s;
    width: auto;
}

.gallery a:hover {
    color: #202020;
    box-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.gallery img {
    display: block;
    margin-bottom: 12px;
    width: 100%;
}

/*
.gallery a:after {
    content: attr(title);
    display: block;
}
*/

.gallery .csc-textpic-imagerow:nth-child(2n) a {
    transform: rotate(2deg);
}

.gallery .csc-textpic-imagerow:nth-child(3n) a {
    position: relative;
    top: -5px;
    transform: none;
}

.gallery .csc-textpic-imagerow:nth-child(5n) a {
    position: relative;
    right: 5px;
    transform: rotate(5deg);
}

.gallery .csc-textpic-imagerow:nth-child(8n) a {
    position: relative;
    right: 5px;
    top: 8px;
}

.gallery .csc-textpic-imagerow:nth-child(11n) a {
    left: -5px;
    position: relative;
    top: 3px;
}

.gallery .csc-textpic-imagerow.messy a {
    margin-left: 160px;
    margin-top: -375px;
    transform: rotate(-5deg);
}

.gallery .csc-textpic-imagerow a:hover {
    position: relative;
    transform: scale(1.15);
    z-index: 5;
}

.Tx-Formhandler label,
.Tx-Formhandler input[type=text],
.Tx-Formhandler textarea {
    width: 100% !important;
    margin-bottom: 10px;
}

.Tx-Formhandler .type-check label {
    width: auto !important;
    margin-right: 15px;
    margin-left: 2px;
}

.Tx-Formhandler .button {
    margin: 25px 0;
}


/* ----- Media Queries ----- */

/* Large desktop */
@media only screen and (min-width: 1200px) {

}
 
/* Portrait tablet to landscape and desktop */
@media only screen and (min-width: 768px) and (max-width: 979px) {

}

/* Landscape phone to portrait tablet */
@media only screen and (max-width: 767px) {

    .container-fluid {
        padding: 0px;
    }

    .footer-main .container-fluid {
        padding: 0px 10px;
    }

    .main,
    .aside-main {
        padding: 20px;
        margin-bottom: 25px;
        border-radius: 0;
    }

    .emotion .flexslider,
    .emotion .csc-default {
        margin-bottom: 00px;
    }

    h2 {
        font-size: 30px;
    }

    .csc-textpic-text {
        margin: 0 !important;
    }

    .csc-textpic-image img {
        width: 100%;
        height: auto;
    }

    .width-50 {
        width: 100%;
        float: none;
    }

    .teaser-item a {
        font-size: 18px;
        max-width: 200px;
        width: 100%;
        padding: 10px 0;
    }

    .news .news-list-view .article .span8 {
        padding: 10px 25px;
    }

    .csc-textpic-imagecolumn,
    .csc-textpic-imagecolumn img {
        width: 100%;
        height: auto;
    }

    div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {
        margin: 0px;
    }


    div.csc-textpic-intext-left .csc-textpic-imagewrap,
    div.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap {
        width: 100%;
        margin-right: 0px;
    }

    div.csc-textpic-intext-right .csc-textpic-imagewrap,
    div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
        width: 100%;
        margin-left: 0px;
    }

    .Tx-Formhandler {
        border: 0 none;
        padding: 5px;
    }

    .Tx-Formhandler .type-text {
        width: 100%;
        float: none;
    }
    
    .Tx-Formhandler input[type="text"] {
        max-width: 98%;
        width: 98%;
    }

    .Tx-Formhandler input[type="submit"] {
        width: 100%;
        height: 40px;
    }

    .gallery .csc-textpic-imagerow {
        float: none;
        width: 100%;
    }

    .gallery .csc-textpic-imagewrap {
        width: 92%;
        margin: 0;
        padding: 0 4% 0 0;
    }

    .gallery a {
        margin-bottom: 50px;
        transform: rotate(0deg) !important;
    }

}

/* Landscape phones and down */
@media only screen and (max-width: 480px) {

}


/*----- .gallery Polaroid Ende -----*/