header {margin-top:170px}

.headlinewrapper {position:absolute;top:-70px;left:-100px;transform:rotateZ(-20deg);width:160px;height:160px;background:url('../img/headlinestar.svg') 0 0 no-repeat;background-size:100%;background-position:center 4px;display:table}
.headline {display:table-cell;text-align:center;vertical-align:middle;padding:0 12px;font-size:1.1em}
.sidewrapper {position:absolute;top:0;right:-80px;width:80px}
.side {
width:100%;
border-top-right-radius:20px;
border-bottom-right-radius:20px;
text-align:center;
padding:50% 0;
line-height:0;
position:relative;
background:rgba(183,28,28,1);
margin:20px 0;
font-size:1.1em
}

.hello {background-color:rgba(0,71,169,.9)}
.news {background-color:rgba(51,122,220,.9)}
.events {background-color:rgba(102,173,255,.9)}
#eventpane {padding:0}
.gcf-item-title-block {padding-top:8px}
.gcf-item-block {padding:8px 0;font-size:1.2em;line-height:1.1em}
.gcf-item-block a {color:#ffff8d}

.contacts {background-color:rgba(127,198,255,.9)}
.tabbox {margin-top:40px;padding:0}

#tabset {width:100%}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover {background-color:transparent;color:#fff}
.nav>li>a:focus,.nav>li>a:hover {background-color:transparent}
.nav-tabs {border-bottom:1px solid transparent;list-style:none!important}
.nav-tabs ul {width:100%}
.nav-tabs li {width:25%;border-top-left-radius:20px;border-top-right-radius:20px;text-align:center;font-size:2em}
.nav-tabs li a {border-radius:0;border:0!important;text-decoration:none}
.nav-tabs li.active a,.nav-tabs li.active a:hover,.nav-tabs li.active a:focus {border:0}
.tab-content {margin:0;padding:0}

.tab-pane {margin:0;min-height:400px;border-bottom-left-radius:20px;border-bottom-right-radius:20px;z-index:100}
.tab-pane-content {padding:20px 40px}
.tab-pane-content h3 {font-size:3.2em;margin-bottom:20px}
.tab-pane-content p,.tab-pane-content li {font-size:1.2em}
.tab-pane-content ul {padding-left:0}
.tab-pane-content li {padding-top:10px;list-style:none}

.toomanytabs li {font-size:1em}
.responsive-tabs-container .tab-pane {margin-bottom:15px}
.responsive-tabs-container .accordion-link {display:none;margin-bottom:10px;padding:10px 15px;color:#fff}

.alert-danger li {font-size:1em;margin:0}
.alert-danger li a {color:#a94442}
label {width:100%}

@media only screen and (max-width:1200px) {
.nav-tabs li {font-size:1.6em}
.tab-pane-content {padding:20px 40px}
.tab-pane-content h3 {font-size:3em}
.tab-pane-content p {font-size:1.4em}
.headlinewrapper {top:-70px;left:-70px;width:120px;height:120px}
.headline {font-size:.95em}
}
@media only screen and (max-width:991px) {
.nav-tabs li {font-size:1.4em}
header {margin-top:140px}
.headlinewrapper {top:10px;left:10px;width:120px;height:120px}
}

@media only screen and (max-width:767px) {
header {margin-top:50px}
.headerbox img {width:30%;height:auto}
.headerbox h1 {font-size:2em}
.headlinewrapper {width:120px;height:120px}
.headline,.side {font-size:.9em}
.sidewrapper {width:60px}
.side {border-radius:30px}
.tabbox {margin-top:0}
.nav-tabs li {font-size:1em}
.headerbox,.nav-tabs li,.tab-pane {border-radius:0}
.tab-pane-content h3 {font-size:2.4em;margin-top:0}
.tab-pane-content p {font-size:1.2em}
.responsive-tabs-container.accordion-xs .nav-tabs {display:none}
.responsive-tabs-container.accordion-xs .accordion-link {display:block;margin-bottom:0}
.responsive-tabs-container .tab-pane {margin-bottom:0}
.responsive-tabs-container .accordion-link:nth-of-type(1) {background-color:#0047a9}
.responsive-tabs-container .accordion-link:nth-of-type(2) {background-color:#337ADC}
.responsive-tabs-container .accordion-link:nth-of-type(3) {background-color:#66ADFF}
.responsive-tabs-container .accordion-link:nth-of-type(4) {background-color:#7FC6FF}

}
@media only screen and (max-width:480px) {
.headerbox img {width:40%;height:auto}
.headlinewrapper {width:100px;height:100px}
.headline,.side {font-size:.8em}
.nav-tabs li {font-size:.7em}
.tab-pane-content {padding:10px 20px 20px 20px}
}