

.csu{
    background-color:#007DBD
}
.cdu_csu,.merkel{
    background-color:#000
}

.cdu{
    background-color:#000
}

.spd,.steinbrueck{
    background-color:#de121d
}

.gruene{
    background-color:#159a2f
}

.fdp{
    background-color:#ffb618
}

.linke{
    background-color:#c400b7
}

.piraten{
    background-color:#fb7712
}

.fw{
    background-color:#00a7e7
}

.afd {
    background-color:#1081AD;
}




body,h2,h3 {
    font-family: "SZSansRegular";/*, sans-serif;*/
}

body {
    font-size: 15px;
    line-height: 1.2em;
}

h2 {
    font-size: 18px;
    font-family: "SZSansBold";
    font-weight: normal;
}
h3 {
    font-size: 17px;
    font-family: "SZSansBold";
    font-weight: normal;
}
b {
    font-weight: normal;
}

.party {
    /*background-color: #eee;*/
    height: 100px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}
.ptag {
    width: 100px;
    height:100px;
    text-align: center;
    display: block;
    vertical-align: middle;
    float: left;
    color: #fff;
    font-family: "SZSansBold";
    position: relative;
    z-index: 2001;
}
.ptag div {
    display: table;
    height: 100px;
    width:90%;
    padding-left: 5%;
    padding-right: 5%;
}
.ptag div div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.ptag span {
    display: block;
    position: absolute;
    left: 100px;
    top:0;
    bottom: 0;
    width: 70px;
    background:
        linear-gradient(89deg, rgba(0, 0, 0, 0.6) 0,rgba(0, 0, 0, 0) 19px);
    /*,        linear-gradient(89deg, rgba(238, 238, 238, 1) 0,rgba(238, 238, 238, 0) 100%);*/
    z-index: 2002;
}


.pcontent {
    position: absolute;
    padding-left: 25px;
    left: 30px;
    top:0;
    right: 0;
    background: linear-gradient(89deg, rgba(0,0,0,0.2   ) 0%,rgba(255,255,255,0) 2%),
        linear-gradient(89deg, rgba(255,255,255,0) 98%,rgba(0,0,0,0.2   ) 101%);
}




div.tooltip {   
  position: absolute;           
  text-align: center;           
  width: 60px;                  
  height: 28px;                 
  padding: 2px;             
  font: 12px sans-serif;        
  background: lightsteelblue;   
  border: 0px;      
  border-radius: 8px;           
  pointer-events: none;         
}

#grcont {
    position: relative;
    max-width: 900px;
}

#gr {
    margin-right: 280px;
}


.fixedcontainer {
    position: absolute;
    right:0;
    top:0;
    width: 280px;
    height: 100%;
}


#text,#introtext {
    position: absolute;
    top:0;
    right:0;
    width: 280px;
    border: 1px solid #eee;
    background: #fff;
    display: none;
    z-index: 1000;
}


/* Textbox */


#introtext {
    height: 100%;
    display: block;
}

#introtext h2 {

    padding: 0 10px;    
    margin-top:9px;
}

#text h2 {
    padding: 7px 15px;
    color: #fff;
    position: relative;    
    margin-top: 0;
    margin: 0;
}

#text h2 span {
    color:#ddd;
    position: absolute;
    right: 15px;
    top: 8px;
    font-size: 14px;
}

.circle {
    font-family: "SZSansBold";
    font-size: 16px;
    color: #fff;
    border-radius: 50%;
    float: left;
    margin-right: 5px;
    margin-left: 5px;
    margin-top: 2px;
    width: 58px;
    height: 38px;
    text-align: center;
    padding-top: 20px;
    background: #eee;
}

.t .circle {
    background-color: #00abed;
}

.f .circle {
    /*background: #7fa0bf;*/
    background: #3b5a97;
}

.ft .circle {
    /*background: #57758e;*/
    background: #93aad3;
    /*color:#444;
    border: 2px solid #57758e;*/
}

.g .circle {
    background: #df4940;
    color:#fff;
}


.numbers h3 {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding-bottom: 7px;
    padding-top: 8px;
    padding-left: 46px;
    background: no-repeat 10px 4px none;
    clear: both;
    margin-bottom: 7px;
    font-family: "SZSansRegular";
}

.numbers h3 span {
    display: none;
    color: #999;
    font-weight: normal;
    font-size: 15px;
}

.numbers p {
    color: #999;
    overflow: hidden;
    font-size: 15px;
    line-height: 18px;
    margin-top: 10px;
    font-size: 14px;
}
.numbers b,i  {
    font-weight: normal;
    font-style: normal;
}

.numbers.f h3 {
    background-image:  url("../images/social/f3.png");
}
.numbers.t h3 {
    background-image:  url("../images/social/t3.png");
}
.numbers.ft h3 {
    background-image:  url("../images/social/ft3.png");
    
}
.numbers.g h3 {
    background-image:  url("../images/social/g3.png");
    
}

#text p,#introtext p {
    padding: 0 10px;
    line-height: auto;
}



/* x ************************************************/

#rows {
    overflow-y: auto;
    position: absolute;
    left:0;
    top:0;
}

/* dates ************************************************/
.dates {
    background: rgb(255,255,255);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%);
    margin-bottom: 10px;    
    position: relative;
    height: 20px;
    position: absolute;
    left:0;
    right:0;
    top:0;
    z-index: 10000;
}
.dates.bottom {
    position: absolute;
    left:0;
    bottom: 0;
    top: auto;
    margin-bottom: 0;    
}


.onedate{
    display: block;
    position: absolute;
    top: 0;
    width: 60px;
    padding: 2px 5px;
    color:#000;
}

.onedate.event{
    color:#fff;
    background: rgb(174,188,191);
    background: linear-gradient(to bottom, rgba(174,188,191,1) 0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%);       
    cursor: default;
}

/* options*/

#opts label {
    display: block;
}

/* pfeile ************************************************/

.pfeil {
    width:39px;
    height: 39px;
    cursor: pointer;
    position: absolute;
    left: 90px;
    top: 328px;
    background: url(../images/social/pfeil.png) 100% 100%;
    z-index: 2400;
    opacity: 0.7;
}

.pfeil.right {
    left: auto;
    right:275px;
    transform:scaleX(-1);
    -webkit-transform:scaleX(-1);
}

.pfeil:hover {
    opacity: 1;
}

/* Event poptp ************************************************/

#dpopup {
    z-index: 5000;
    position: absolute;
    width: 300px;
    margin-left: -150px;
    border: 1px solid #444;
    background: #333;
    color: #eee;
    padding: 2px 10px;
    padding-bottom: 5px;
    display: none;
    opacity:0;
    box-shadow: 0 0 3px 3px rgba(0,0,0,0.1);
}

#dpopup div {
    margin-top: 5px;
}
#dpopup p {
    margin-top: 0;
    margin-bottom: 5px;
    color: #999;
    display: inline;
}

#dpopup h3 {
    margin-top: 0;
    margin-bottom: 5px;
    margin-right: 5px;
    display: inline;
    transition: ease-in 0.2s;
}

.axis {
    position: absolute;
    color: #999;
    position: absolute;
    left: 5px;
    top: 41px;
    font-size: 11px;
}


/* party poptp ************************************************/

#ppopup {
    z-index: 5000;
    position: absolute;
    width: 250px;
    border: 1px solid #444;
    background: #333;
    color: #eee;
    padding: 2px 10px;
    padding-bottom: 5px;
    display: none;
    box-shadow: 0 0 3px 3px rgba(0,0,0,0.1);
    left: 110px;
}


#ppopup p{
    display: block;
    background: no-repeat 0 0 none;
    background-size: 18px 18px;
    padding-left: 24px;
    margin: 2px;

    margin-left: 5px;    
}

#ppopup p.facebook {
    background-image:  url("../images/social/f3.png");
}
#ppopup p.twitter {
    background-image:  url("../images/social/t3.png");
}
#ppopup p.gplus {
    background-image:  url("../images/social/g3.png");
}    

#ppopup div {
    margin: 2px;
}

#ppopup .nase {
    position: absolute;
    left: -17px;
}














/*//////////////////////////////////////////////////////////////////////////////////*/

#rows{
    width: 120px;
    padding-top:30px;
}

.dataoverflow {
    margin-left: 100px;
    overflow-x: auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.dataoverflow svg {
    /*position: absolute;
    right:0;
    top: 0;*/
    position: relative;
    z-index: 2000;  
}





/******************************** MODULE **************************************/
#module {
    height: 240px;
    width: 560px;
    margin: 0;
    
    overflow: hidden;
    position: relative;
}



#module h2 {
    margin: 0;
    padding: 0;
    margin-top: 2px;
    position: relative;
    font-weight: normal;
}

#module a.right {
    position: absolute;
    right: 10px;
    bottom: 2px;
    color: #333;
    font-size: 15px;
    text-decoration: underline;
}

#pies {
    width: 1400px;
}
.modparty {
    width: 79px;
    float: left;
    color: #fff;
    margin-right: 1px; 
}
.modparty:nth-child(7) {
    width: 84px;
}
.modparty .modptag {
    font-family: "SZSansBold";
    text-align: center;
    padding: 4px 3px;
    font-size: 15px;  
}

.modpcontent {
    background: #ecebe6;
}

.modpcontent svg {
    display: block;
}

#modtext {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 552px;
    height: 100px;
    background: #fff;
    display: none;
    border-top: 1px solid #999;
    padding: 3px;
    z-index: 15;
}



.modnumbers {
    display: block;
    float: left;
    padding-right: 2px;
    width: 134px;
    border-right: 1px solid #eee;
    padding-top: 4px;
}
.modnumbers:last-of-type {
    padding-right: 0;
    border: none;
}

.modnumbers .icon {
    display: block;
    float: left;
    background: no-repeat 0 0 none;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    padding-right: 4px;
    vertical-align: middle;
}

.modnumbers p {
    color: #999;
    overflow: hidden;
    line-height: 19px;
    margin: 0px;
    font-size: 14px;
    padding: 0 4px;
}
.modnumbers b,i  {
    font-weight: normal;
    font-style: normal;
}

.modnumbers.f .icon {
    background-image:  url("../images/social/f3.png");
}
.modnumbers.t .icon {
    background-image:  url("../images/social/t3.png");
}
.modnumbers.ft .icon {
    background-image:  url("../images/social/ft3.png"); 
}
.modnumbers.g .icon {
    background-image:  url("../images/social/g3.png");
}    


#nase {
    position: absolute;
    top:114px;
    overflow: hidden;
    height: 20px;
    z-index: 25;
    left:-100px;
}

.pfeil {
    display: none;
}

/*************************************layout **************************/
html,body,#grcont {
    margin:0;
    padding: 0;
   
}
/************************************** Telefone *************************
iPhone 5 in portrait & landscape
*/

.mobtext {
    display: none;
    -webkit-transition: height 0.3s;
}

#mobile {
    display: none;
}



@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
    #grcont {display: none;}
}
html.mobile,.mobile body,#mobile,.mobile .swipe,.mobile .swipe-wrap {
    height: 100%;
    overflow:hidden;
}
    

.mobile    .swipe {
        overflow: hidden;
        visibility: hidden;
        position: relative;
    }
.mobile    .swipe-wrap {
        overflow: hidden;
        position: relative;
    }
.mobile    .swipe-wrap > div {
        float:left;
        width:100%;
        position: relative;
    }

.mobile    #mobile {
        max-width:480px;
        max-width:320px;
        margin:0 auto;
        position: relative;
    }


.mobile    .modptag {
        text-align: center;
        display: block;
        color: #fff;
        font-family: "SZSansBold";
        position: relative;
        z-index: 2001;
        padding: 2px 5px;
    }

.mobile    .day {
        position: relative;
        height: 100%;
    }

.mobile    #mobile .content {
        position: absolute;
        right:0;
        left:0;
        top:32px;
        bottom: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }


.mobile    .titlebar {
        text-align: center;
        font-family: "SZSansBold";
        color:#666;
        padding: 8px;
        height: 14px;
        font-size: 17px;
        /*background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%);*/
        border: 1px solid #888;
    }

.mobile   #mobile .pfeil {
        top:1px;
        left:0;
        background: url(../images/social/pfeil-mobile.png) -5px -3px;
        opacity: 1;
        border-left: 1px solid #888;
        border-right: 1px solid #888;
        background-repeat: repeat-x;
        width: 34px;
        height: 30px;
    }
.mobile    #mobile .pfeil.right {
        right:0;
        left: auto;
    }

.mobile    #mobile .events h3:first-child {
        padding-top: 10px;
    }
.mobile    #mobile .events h3 {
        margin:0;
        font-size: 15px;
        padding: 0 10px;
    }
.mobile    #mobile .events p {
        margin:0;
        font-size: 15px;
        padding: 0 10px;
    }
.mobile    #mobile .events {
        padding-bottom: 15px;
        position: relative;
    }

.mobile    #mobile .events img {
        position: absolute;
        right: 10px;
        top: 10px;
    }

.mobile    #mobile .events:empty {
        padding-bottom: 0px;
    }
.mobile    .mobtext {
        padding-bottom: 3px;
    }

    .mobnumbers p {
        display: block;
        margin: 9px 10px;
        padding-left: 28px;

        background: no-repeat 0 0 none;
        background-size: 18px 18px;
    }

    .mobnumbers b,i  {
        font-weight: normal;
        font-style: normal;
    }

    .mobnumbers.f p {
        background-image:  url("../images/social/f3.png");
    }
    .mobnumbers.t p {
        background-image:  url("../images/social/t3.png");
    }
    .mobnumbers.ft p {
        background-image:  url("../images/social/ft3.png"); 
    }
    .mobnumbers.g p {
        background-image:  url("../images/social/g3.png");
    }    

    .mopcontent {
        position: relative;
        background: #ecebe6;
    }

    .mopcontent img {
        position: absolute;
        right: 10px;
        bottom: 5px;
    }    




/************************************** ipad **************************/


@media all and (device-width: 768px) and (device-height: 1024px) {
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#grcont {
    max-width: 100%;
}
/*
    html,body,#grcont,#gr {
        max-width: 100%;
        height: 100%;
        overflow: hidden;
    }
    body #gr {
        overflow-y: auto;
        overflow-x:hidden;
        -webkit-overflow-scrolling: touch;
    }
*/
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
    
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {

}
/*


*/


.fixedcontainer {
    position: fixed;
    top:0;
    right:0;
}


#themeSwitch_social{
    height: 28px;
}

/******************* Fail ***********************/
.update {
    text-align: center;
    margin: 0em 2em !important;
    padding: 1em;
}
