/**
* Violution GbR - 2023
* Kaiserstraße 64
* 44135 Dortmund
**/

.only_mobile, #hamburger, .mobile-break{ display: none; }
.no_mobile{ display: inline; }

@media only screen and (max-width: 1400px) {

    #header .inside .mod_navigation #navi-logo{
        -webkit-transform: scale(0.9);
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -o-transform: scale(0.9);
        transform: scale(0.9);
        top: 20%;
        left: 1.8%;
    }

    /* Binding */
    .mod_article .inner,
    #footer .inside,
    .mod_article{
        width: 95%;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .mod_article.row .inner {
        width: calc(95% + 2rem);
        max-width: calc(95% + 2rem);
    }

    #footer .row > [class*="col-"] {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* Beginn Hamburger Menü */
    #header .inside .mod_navigation{
        height: 80px;
    }

    #header .inside .mod_navigation .level_1{
        display: none;
    }

    #hamburger{
        display: block;
        position: fixed;
        top: 1.45rem;
        right: 35px;
        z-index: 90;
    }

    #hamburger #mobile-navigation{
        display: none;
    }

    #hamburger .trigger {
        display: block;
        position: fixed;
        top: 1.4rem;
        right: 2.6%;
        height: 1.85rem;
        width: 1.85rem;
        cursor: pointer;
        background-image: url(../../Layout/Grafiken/h_open.svg);
        background-size: cover;
        z-index: 100;
        overflow: scroll;
    }

    #hamburger .trigger:hover {
        background-image: url(../../Layout/Grafiken/h_open_a.svg);
    }

    #hamburger .trigger.open {
        background-image: url(../../Layout/Grafiken/h_close.svg);
        top: 20px;
        right: 20px;
        height: 1.1rem;
        width: 1.1rem;
    }

    #hamburger .trigger.open:hover {
        background-image: url(../../Layout/Grafiken/h_close_a.svg);
    }

    #hamburger #mobile-navigation{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 90;
        width: 100%;
        height: 120%;
        background: rgba(23,72,143,0.9);
        padding-top: 30px;
        overflow-y: scroll;
    }

    #hamburger #mobile-navigation .mod_customnav{
        overflow-y: scroll;
    }

    #hamburger #mobile-navigation ul{
        display: block;
        max-width: 100%;
        position: relative;
        overflow-y: scroll;
        margin-bottom: 100px;
        padding: 0;
    }

    #hamburger #mobile-navigation ul li{
        display: block;
        width: 100%;
        padding: 0;
    }

    #hamburger #mobile-navigation ul li a,
    #hamburger #mobile-navigation ul li strong{
        display: block;
        text-transform: none;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,.4);
        box-shadow: none !important;
        font-size: 17px;
        font-weight: 500;
        padding: 15px 25px;
        color: #ffffff;
        position: relative;
    }

    #hamburger #mobile-navigation ul li.h-level2 a,
    #hamburger #mobile-navigation ul li.h-level2 strong{
        border-bottom: 0;
        font-size: 15px;
        font-weight: 500;
        padding-left: 60px;
        border-bottom: 1px solid rgba(255,255,255,.6);
    }

    #hamburger #mobile-navigation ul li.h-level2 a:before,
    #hamburger #mobile-navigation ul li.h-level2 strong:before{
        content: "\f060";
        font-family: FontAwesome, serif;
        position: absolute;
        left: 38px;
        top: 16px;
        font-size: 15px;
        color: #ffffff;
        transform: rotate(180deg);
    }

    #hamburger #mobile-navigation ul li.h-hide{
        display: none;
    }

    #hamburger #mobile-navigation ul li a.invisible{
        display: none !important;
    }

    #hamburger #mobile-navigation ul li:last-child a,
    #hamburger #mobile-navigation ul li:last-child strong{
        border-bottom: 0;
    }

    #hamburger #mobile-navigation ul li.trail a,
    #hamburger #mobile-navigation ul li.trail strong,
    #hamburger #mobile-navigation ul li a:hover,
    #hamburger #mobile-navigation ul li a:focus,
    #hamburger #mobile-navigation ul li strong{
        color: #96aecc;
    }

    body.active_hamburger {
        overflow: hidden;
    }

    #header .inside .mod_navigation #navi-logo-sticky {
        left: 2.6%;
    }
}

@media only screen and (max-width: 1240px) {
    .picstart .ce_bgimage {
        height: 380px;
        margin-bottom: 70px;
    }

    h1, .h1, .h1 p {
        font-size: 2.4rem;
        line-height: 3.2rem;
        margin: 0 0 3rem 0;
    }

    h2, .h2, .h2 p {
        font-size: 1.6rem;
        line-height: 2.2rem;
    }

    .folge .picstart {
        margin-top: 40px;
    }

    .card[class*="icon-"]::before {
        width: 4rem;
        height: 4rem;
        left: calc(50% - 2rem);
    }

    .card[class*="icon-"] {
        padding-top: calc(4rem + 85px);
    }

    .card h2, .card h3, .card h4 {
        font-size: 1.5rem;
        line-height: 2.3rem;
        padding-right: 25px;
        padding-left: 25px;
    }

    .card p, .card ul, .card ol {
        font-size: 1.1rem;
        line-height: 2rem;
        padding-right: 25px;
        padding-left: 25px;
    }

    .mod_article.cards {
        padding-bottom: 30px;
    }

    .checklist ul li {
        font-size: 1.3rem;
        height: 28px;
    }
}

@media only screen and (max-width: 1100px) {
    .picstart .ce_bgimage {
        height: 360px;
    }

    .linkkacheln p a {
        padding: 20px 15px 22px 30px;
        font-size: 1.1rem;
    }

    .card h2, .card h3, .card h4 {
        font-size: 1.3rem;
    }

    #start_logo {
        max-height: 95px;
        margin: 2.5rem auto 2.5rem auto;
    }

    .col-8 {
        flex: 0 0 calc(100% - 2rem);
        max-width: calc(100% - 2rem);
    }

}

@media only screen and (max-width: 1052px) {
    .picstart .ce_bgimage {
        height: 340px;
        margin-bottom: 40px;
    }

    .ce_downloads ul li a {
        padding: 19px 40px 13px 70px;
        font-size: 1.2rem;
    }

}

@media only screen and (max-width: 990px) {

    /* Antragsformular umbrechen */

    #signature_21,
    canvas.jSignature{
        width: calc(100% - 1rem) !important;
    }

    #pq-antrag .form-paragraph .col-6.widget-signature {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #pq-antrag .form-paragraph .col-2,
    #pq-antrag .form-paragraph .col-8,
    #pq-antrag .form-paragraph .col-4 {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }

    #pq-antrag .form-paragraph .col-2 > .col-2,
    #pq-antrag .form-paragraph .col-8 > .col-8,
    #pq-antrag .form-paragraph .col-4 > .col-4,
    #pq-antrag .form-paragraph .col-8.hauptbetrieb{
        flex: 0 0 calc(100% - 1rem);
        max-width: calc(100% - 1rem);
    }
}

@media only screen and (max-width: 974px) {

	.ui-accordion-content table tr td:first-child{
		width: 60px !important;
	}
	
	.ui-accordion-content table tr td:last-child{
		width: auto !important;
	}

    /* Spalten umbrechen */
    .col-3,
    .col-4,
    .col-5,
    .col-7
    {
        flex: 0 0 calc(100% - 2rem);
        max-width: calc(100% - 2rem);
    }

    .ce_form{
        margin-bottom: 60px;
    }

    .picstart .ce_bgimage {
        height: 315px;
    }

    .linkkacheln p {
        width: calc(100% - 20px);
        float: none;
    }

    .linkkacheln p a {
        padding: 20px 22px 22px 40px;
        font-size: 1.2rem;
    }

    /* Footer */
    #footer .row .col-4 {
        flex: 0 0 calc(50% - 2.8rem);
        max-width: calc(50% - 2.8rem);
        margin-right: 1rem !important;
        margin-left: 1rem !important;
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    #footer .row .col-12 {
        flex: 0 0 calc(100% - 2.8rem);
        max-width: calc(100% - 2.8rem);
        margin-right: 1rem !important;
        margin-left: 1rem !important;
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    #content-dse > details summary,
    details summary {
        font-size: 1.1rem  !important;
        line-height: 1.8rem;
    }

    #content-dse > details > summary:before {
        height: 30px;
        display: block;
        float: left;
    }

    form#pq-antrag .radio_container span,
    form#pq-antrag .checkbox_container span {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }

    #pq-antrag .widget input[name="institutionskennzeichen"] {
        max-width: calc(70% - 1rem);
    }
}

@media only screen and (max-width: 900px) {

    .picstart .ce_bgimage {
        height: 290px;
    }

    body.no-picstart #main .inside {
        padding-top: 60px;
    }
}

@media only screen and (max-width: 860px) {

    .picstart .ce_bgimage {
        height: 260px;
    }

    /* Spalten umbrechen */
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11
    {
        flex: 0 0 calc(100% - 2rem);
        max-width: calc(100% - 2rem);
    }

    .card p, .card ul, .card ol {
        font-size: 1.05rem;
        line-height: 1.9rem;
        padding-right: 30px;
        padding-left: 30px;
    }

    .card h2, .card h3, .card h4 {
        font-size: 1.6rem;
        padding-right: 30px;
        padding-left: 30px;
    }

    /* Kosten-Tabelle */
    table.kosten td:first-child{
        width: 65% !important;
    }

    table.kosten td:last-child{
        width: 35% !important;
    }

    table.kosten p, table.kosten ul, table.kosten ol {
        font-size: 1.1rem;
        line-height: 1.8rem;
    }

    table.kosten td {
        padding: 30px 15px !important;
        border-bottom: 15px solid white !important;
    }

}

@media only screen and (max-width: 810px) {

    .picstart .ce_bgimage {
        height: 260px;
    }

    .ce_text table, .ce_table table {
        margin-bottom: 0;
    }

    form label {
        font-size: 0.9rem;
    }
}

@media only screen and (max-width: 768px) {

	.ui-accordion-content {
	  padding: 15px 20px 60px 35px;
	}
	
	.ui-accordion-content p, .ui-accordion-content table{
		font-size: 1.1rem;
	}

	.toggler:after {
	  width: 25px;
	  height: 25px;
	  right: 25px;
	}
	
	.toggler {
	  width: calc(100% - 25px);;
	  padding: 15px 0 15px 25px;
	  font-size: 1.25rem;
	}

    #header .inside .mod_navigation #navi-logo {
        left: 2.4%;
    }

    #header .inside .mod_navigation #navi-logo-sticky {
        left: 3.8%;
    }

    #hamburger .trigger {
        right: 3.9%;
    }

    h1, .h1, .h1 p {
        font-size: 2.1rem;
    }

    h1 br, h2 br, h3 br, h4 br{
        display: none;
    }

    a.referenzlink:before, .ce_text.referenzlink p:before{
        height: 70px;
    }

    /* Antragsformular umbrechen */
    form#pq-antrag .formbody {
        padding: 60px 30px 50px 30px;
    }

    #pq-antrag .form-paragraph .col-2,
    #pq-antrag .form-paragraph .col-6,
    #pq-antrag .form-paragraph .col-8,
    #pq-antrag .form-paragraph .col-4 {
        flex: 0 0 calc(100% - 1rem);
        max-width: calc(100% - 1rem);
    }

    #pq-antrag h3 {
        margin: 1rem 0 1.5rem 0;
        font-size: 1.2rem;
    }

    #pq-antrag .widget input[name="institutionskennzeichen"] {
        max-width: calc(100% - 1rem);
    }

    form#pq-antrag .radio_container span, form#pq-antrag .checkbox_container span {
        flex: 0 0 calc(33.3333% - 1rem);
        max-width: calc(33.3333% - 1rem);
    }

    form#pq-antrag fieldset {
        padding-top: 0;
    }

    #pq-antrag h2 {
        font-size: 1.65rem;
    }
}

@media only screen and (max-width: 730px){

    /* Footer */
    #footer .row .col-4,
    #footer .row .col-12{
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-left: 0;
        padding-right: 0;
    }

    #footer .col-4 p {
        max-width: 100%;
        font-weight: 200;
        padding: 20px 0 0 0;
        font-size: 1.1rem;
        line-height: 1.9rem;
    }

    #footer .inside.row {
        padding-top: 20px;
    }

    #footer .col-12 p {
        margin-top: 30px;
    }

    form#pq-antrag .checkbox_container.versorgungsteilbereiche span > label strong {
        flex: 0 0 calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        padding-right: 0;
        margin-bottom: 5px;
    }

    form#pq-antrag .checkbox_container.versorgungsteilbereiche span > label span.number,
    form#pq-antrag .checkbox_container.versorgungsteilbereiche span > label span.name {
        flex: 0 0 calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        padding-right: 0;
        margin-bottom: 15px;
    }

    form#pq-antrag .formbody {
        padding: 60px 15px 50px 15px;
    }

    form .formbody {
        width: calc(100% - 30px);
    }
}

@media only screen and (max-width: 680px){

    .picstart .ce_bgimage {
        height: 210px;
    }

    p, ul, ol {
        font-size: 1.1rem;
        line-height: 2rem;
        max-width: 100%;
    }

    #top_link {
        right: 15px;
        bottom: 12px;
    }

    h1, .h1, .h1 p {
        font-size: 1.8rem;
        line-height: 2.8rem;
        margin: 0 0 2.2rem 0;
    }

    #start_logo {
        max-height: 70px;
        margin: 2.5rem auto 2.5rem auto;
    }

    #main .inside {
        padding-bottom: 40px;
    }

    #pq-antrag h2 {
        font-size: 1.65rem;
    }
}

@media only screen and (max-width: 615px){

    .ce_text {
        margin-bottom: 40px;
    }

    .picstart .ce_bgimage {
        height: 190px;
    }

    h1, .h1, .h1 p {
        font-size: 1.7rem;
        line-height: 2.6rem;
        letter-spacing: 0;
    }

    h2, .h2, .h2 p {
        font-size: 1.3rem;
        line-height: 2.1rem;
    }

    button.submit[type="submit"] {
        min-width: 100%;
    }

    /* Kosten-Tabelle */
    table.kosten,
    table.kosten tr,
    table.kosten td,
    table.kosten td:first-child,
    table.kosten td:last-child{
        display: block;
        width: 100% !important;
        text-align: left !important;
        position: relative;
        height: auto !important;
    }

    table.kosten td:last-child{
        margin-bottom: 40px;
        padding: 0 !important;
    }

    table.kosten td {
        padding: 20px 0 !important;
        max-width: 100%;
    }

    table.kosten tr {
        border-top: 2px solid #dbdee8;
    }

    table.kosten h3,
    table.kosten p,
    table.kosten ul,
    table.kosten ol{
        max-width: 80vw !important;
        width: 80vw !important;
        text-align: left !important;
        border: 1px solid transparent;
        padding-left: 5px;
        padding-right: 5px;
        display: block;
        overflow: hidden;
    }

    table.kosten ul,
    table.kosten ol{
        padding-left: 20px;
        max-width: 80vw !important;
        width: 80vw !important;
    }

    table.kosten p, table.kosten ul, table.kosten ol {
        font-size: 1.05rem;
        line-height: 1.6rem;
    }

    tr:nth-child(2n+1) {
        background-color: #ffffff !important;
    }

	.ui-accordion-content tr:nth-child(2n+1) {
	  background-color: #ebf0f7 !important;
	}

    .ce_text table tr:first-child td, .ce_table table tr:first-child td, .ce_text table tr:first-child th, .ce_table table tr:first-child th {
        border-top: none;
    }

    .mod_article.cards {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .card h2, .card h3, .card h4 {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .card.left.dark h2, .card.left.dark h3, .card.left.dark h4 {
        padding-right: 15px !important;
        padding-left: 30px !important;
    }

    .card h2 {
        font-size: 1.3rem;
        line-height: 2rem;
    }

    .card.dark h2{
        font-size: 1.4rem !important;
        line-height: 2.2rem !important;
    }

    .card[class*="icon-"]:before {
        width: 3rem;
        height: 3rem;
        left: calc(50% - 1.5rem);
        top: 65px;
    }

    .card[class*="icon-"] {
        padding-top: calc(4rem + 78px);
    }

    .ce_text table td, .ce_table table td {
        font-size: 1rem;
        line-height: 1.7rem;
        padding: 0.8rem 1.5rem 0.8rem 0;
    }

}

@media only screen and (max-width: 568px) {

	.toggler {
	    width: calc(100% - 75px);
	    padding: 15px 50px 15px 20px;
	    font-size: 1.15rem;
	    line-height: 1.7rem;
	 }

    .picstart .ce_bgimage {
        height: 176px;
    }

    .ce_downloads ul li a {
        padding: 15px 15px 13px 55px;
        font-size: 1.1rem;
    }

    .ce_downloads ul li a:after {
        left: 16px;
        top: -5px;
    }
}

@media only screen and (max-width: 520px){

    .picstart .ce_bgimage {
        height: 160px;
    }

    h2, .h2, .h2 p {
        font-size: 1.55rem;
        line-height: 2.2rem;
    }

    .linkkacheln p a {
        padding: 22px 22px 20px 40px;
        font-size: 1.1rem;
    }

    #footer .col-4 p {
        font-size: 1rem;
        line-height: 1.6rem;
    }

    .no_mobile{ display: none; }

    .mobile-break{
        display: block;
        height: 1px;
    }

}

@media only screen and (max-width: 460px){

    .picstart .ce_bgimage {
        height: 150px;
    }

    form#pq-antrag .radio_container span, form#pq-antrag .checkbox_container span {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #pq-antrag h2 {
        width: 100%;
        display: block;
        margin: 0 0 2rem 0;
    }

    #header .inside .mod_navigation {
        height: 65px;
    }

    #header .inside .mod_navigation #navi-logo {
        top: 11%;
    }

    #header .inside .mod_navigation #navi-logo-sticky {
        top: 23.5%;
    }

    #hamburger .trigger {
        top: 1rem !important;
    }

    #start_logo {
        max-height: 60px;
        margin: 1.8rem auto 1.8rem auto;
    }

    h1, .h1, .h1 p {
        font-size: 1.6rem;
        line-height: 2.6rem;
        letter-spacing: 0;
    }

    h2, .h2, .h2 p {
        font-size: 1.35rem;
        line-height: 2rem;
    }
}

@media only screen and (max-width: 420px){
    .picstart .ce_bgimage {
        height: 134px;
    }

    .linkkacheln p a {
        font-size: 1rem;
    }

    #top_link {
        width: 35px;
        height: 35px;
    }

    #top_link a {
        line-height: 33px;
    }

    #start_logo {
        max-height: 72px;
        margin: 1.8rem auto 2rem auto;
    }

    h1, .h1, .h1 p {
        font-size: 1.5rem;
        line-height: 2.2rem;
        letter-spacing: 0;
    }

    .card h2, .card h3, .card h4 {
        font-size: 1.35rem;
        line-height: 2.2rem;
    }

    a.referenzlink:before, .ce_text.referenzlink p:before{
        height: 100px;
    }

}

/* Smartphone Querformat */
@media only screen and (max-height: 474px){

    .picstart .ce_bgimage {
        height: 220px !important;
    }

    #header .inside .mod_navigation {
        height: 65px;
    }

    #header .inside .mod_navigation #navi-logo {
        top: 11%;
    }

    #header .inside .mod_navigation #navi-logo-sticky {
        top: 23.5%;
    }

    #hamburger .trigger {
        top: 21px !important;
    }

    #hamburger.sticky .trigger {
        top: 18px !important;
    }
}