/* ---------------------------------------------------------------------------- *
 *                           Styles der Basisversion                            *
 * ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- *
 * Änderung des default-Box-Modells aller Elemente auf "border-box"
 * http://www.paulirish.com/2012/box-sizing-border-box-ftw/
 * << apply a natural box layout model to all elements >>
 * ---------------------------------------------------------------------------- */
*, *:before, *:after {
    -webkit-box-sizing: border-box; /* Safari/Chrome, andere WebKit-Browser */
    -moz-box-sizing: border-box; /* Firefox, andere Gecko-Browser */
    box-sizing: border-box; /* Opera/IE 8+ */
}

/* ---------------------------------------------------------------------------- */
.page-wrapper {
    margin: 0;
    background-color: #fff;
}

header {
    padding: 0.5em 0px 2.5em 0px;
}

footer {
    padding: 1.15em 10px 6em 20px;
}

.copy1 {
    position: relative;
    width: 100%;
    line-height: 1.5em;
    text-align: center
}

.copy2 {
    position: relative;
    width: 100%;    
    line-height: 1.5em;
    text-align: center
}

.copy3 {
    position: relative;
    width: 100%;
    line-height: 1.5em;
    text-align: center
}

section {
    padding: 0;
    margin: 0.5em;
    text-align: left;
}

.urlaub {
    padding: 0.5em 1em 0.5em 1em;
    margin: 1.5em 0.5em 1.5em 0.5em;
    text-align: left;
    background-color: #F5F5F5;
    border-style: solid;
    border-color: #EF7D08;
    border-width: 1px;
}

.mainContent {
    width: 100%;
    padding: 0.7em 0px 0.2em 0px;
    text-align: left;
}

li {
    list-style-type:square;
    color: #EF7D08;
}

li span {
    color: #000;
}

.slides {
    margin: 5px 5px 0px 5px;
    line-height: 0;
}

.widerruf {
    padding: 1.1em 0em 1.1em 0em;
    margin: 1.5em 0em 1.5em 0em;
    text-align: center;
    background-color: #C9C9C2;
}

.links7 {
    position: relative;
    text-decoration: none;
    font-size: 1.2em;
    cursor: pointer;
    padding: 1.1em;
    color: #000;
    background: #EF7D08;
    border: 1px solid #EF7D08;
}

/* ---------------------------------------------------------------------------- *
 *                             Textauszeichnungen                               *
 * ---------------------------------------------------------------------------- */
h2 {
    margin: 0.6em 0px;
}

h3  {
    color: #4F4F44;
    font-size: 1em;
    line-height: 1.5em;
    padding-top: 1em;
}

ul, ol {
    padding: 0;
    margin: 0 0 0.625em 20px;
}





/* ---------------------------------------------------------------------------- *
 *                                 Hinweisfenster Krankenkasse                  *
 * ---------------------------------------------------------------------------- */

	.HinweisDialog {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0,0,0,0.5);
		z-index: 99999;
		opacity:0;
		-webkit-transition: opacity 400ms ease-in;
		-moz-transition: opacity 400ms ease-in;
		transition: opacity 400ms ease-in;
		pointer-events: none;
	}

	.HinweisDialog:target {
		opacity:1;
		pointer-events: auto;
	}

	.HinweisDialog > div {
		width: 300px;
        height: auto;
		position: fixed;
        top: 50% !important;
        left: 50% !important;
        margin-left: -150px;
        margin-top: -165px;
		padding: 0px 5px 5px 5px;
		border-radius: 0px;
		background: #fff;
        font-size: 0.87em;
        line-height: 1.4em;
	}

	.close {
		background: #EF7D08;
		color: #FFFFFF;
		line-height: 25px;
		position: absolute;
		right: -12px;
		text-align: center;
		top: -10px;
		width: 24px;
		text-decoration: none;
		font-weight: bold;
		-webkit-border-radius: 12px;
		-moz-border-radius: 12px;
		border-radius: 12px;
		-moz-box-shadow: 1px 1px 3px #000;
		-webkit-box-shadow: 1px 1px 3px #000;
		box-shadow: 1px 1px 3px #000;
	}

	.close:hover { background: #73797B; }








/* ---------------------------------------------------------------------------- *
 *                                  Navigation                                  *
 * ---------------------------------------------------------------------------- */
nav ul {
    margin: 0;
    margin-top: 0em;
    border-top: 1px solid #FFF;
}

nav ul > li {
    margin-left: 0;
}

nav ul > li > a, nav ul > li > strong {
    padding: 0.6em 10px;
    display: block;
    border-bottom: 1px solid #FFF;
}

nav ul a:link {
    text-decoration: none;
}

nav2 ul {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    margin-bottom: 20px;
    border-top: 1px solid #E4E4E0;
}

nav2 ul > li {
    list-style-type: none;
}

nav2 ul > li > a, nav2 ul > li > strong {
    padding: 0.5em 10px;
    display: block;
    border-bottom: 1px solid #E4E4E0;
}

nav2 ul a:link {
    text-decoration: none;
}

.links3 {
    text-decoration: none;
    color: #73797B;
}
.links3:visited {
    text-decoration: none;
    color: #73797B;
}
.links3:focus {
    text-decoration: none;
    color: #73797B;
}
.links3:active {
    text-decoration: none;
    color: #73797B;
}

.links4 {
    position: relative;
    margin-left: 0%;
    text-decoration: none;
    -webkit-border-radius: 0em;
    -moz-border-radius: 0em;
    border-radius: 0em;
    cursor: pointer;
    padding: 0.357em;
    color: #000;
    background: #EF7D08;
    border: 1px solid #EF7D08;
}

.first {
    background-color: #EF7D08;
    color: #000;
    min-width: 6.7em;    
}

.first2 {
    background-color: #FFF;
    color: #EF7D08;    
}


/* ---------------------------------------------------------------------------- *
 *                           Styles der Tabletversion                           *
 *                          410px / 16px/em = 25.625em                          *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 25.625em) {
    body {
        font-size: 0.938em;
    }

/* clearing für die floatenden gleichlangen Spalten (.mainContent und .aside) */
    .main {
        overflow: hidden;
    }

    .mainContent {
        width: 100%;
        float: left;
        padding: 0em 0px 0em 0px;
        text-align: left;
    }
    
    footer {
        width: 100%;
        padding: 2em 20px 6em 20px;
    }

.copy1 {
    line-height: 1.5em;
    text-align: center
}

.copy2 {
    text-align: center
}

.copy3 {
    text-align: center
}

section {
    padding: 0;
    margin: 2em;
}


.links4 {
    margin-left: 30%;
}

	.HinweisDialog > div {
		width: 390px;
        height: auto;
		position: fixed;
        top: 50% !important;
        left: 50% !important;
        margin-left: -195px;
        margin-top: -130px;
		padding: 0px 5px 5px 5px;
		border-radius: 0px;
		background: #fff;

	}



/* ---------------------------------------------------------------------------- *
 *                             Textauszeichnungen                               *
 * ---------------------------------------------------------------------------- */
    h2 {
        font-size: 1.188em;
        line-height: 1.2em;
        margin: 0.3em 0 0;
    }

    p.teasertext {
        margin: 0.8em 0;
    }
}


/* ---------------------------------------------------------------------------- *
 *                          Styles der Desktopversion                           *
 *                           860px / 16px/em = 53.75em                          *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 53.75em) {

    .page-wrapper {
        margin: 0 auto;
        max-width: 66em;
    }  
    
    body {
        font-size: 0.938em;

    }
        .mainContent {
        width: 80%;
        float: left;
        padding: 0em 0px 0em 0px;
        text-align: left;
        margin-left: 10%;
        margin-right: 10%;
    }

.links3:hover {
    color: #EF7D08;
}

.links4:hover {
    border: 1px solid #4F4F44;
    background-color: #4F4F44;
    color: #FFF;
}    

.slides {
    margin: 0px 0px 0px 0px;
}


.HinweisDialog > div {
	width: 390px;
    height: auto;
	position: fixed;
    top: 50% !important;
    left: 50% !important;
    margin-left: -195px;
    margin-top: -125px;
	padding: 0px 5px 5px 5px;
	border-radius: 0px;
	background: #fff;
}
/* ---------------------------------------------------------------------------- *
 *                                  Navigation                                  *
 * ---------------------------------------------------------------------------- */
    nav {
        /* clearing für die floatenden LIs */
        overflow: hidden;
        font-size: 1.0em;
        background-color: #C9C9C2;
    }

    nav ul {
        margin: 0 0px;
    }

    nav ul li {
        float: left;
        border-right: 1px solid #fff;
        min-width: 6.7em;
        text-align: center;
    }

    nav ul > li > a {
        padding: 1em 10px 1em 10px;
        display: inline-block;
        border-bottom: 0px;
    }

    nav2 ul {
        margin-left: 5px;
        margin-right: 5px;
        margin-top: 20px;
        margin-bottom: 20px;
        border-top: 1px solid #E4E4E0;
    }

    nav2 ul > li {
        list-style-type: none;
    }

    nav2 ul > li > a, nav2 ul > li > strong {
        padding: 0.5em 10px;
        display: block;
        border-bottom: 1px solid #E4E4E0;
    }

    nav2 ul a:link {
        text-decoration: none;
    }
}


/* ---------------------------------------------------------------------------- *
 *                          Styles für kleine Desktops                          *
 *                           1024px / 16px/em = 64em                            *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 64em) {
/* Navigation wird links neben dem Inhalt angeordnet */
    nav2 {
        width: 20%;
        float: left;
        box-shadow: none;
    }

    nav2 ul {
        width: 90%;
        margin: 2em 0 0 0;
    }

    nav2 ul > li {
        width: 100%;
        float: none;
    }

    nav2 ul > li > a {
        padding: 0.8em 25px;
        display: block;
    }

    /* .main macht Platz für .nav */
    .main {
        width: 80%;
        float: left;
    }

    /* Größenanpassungen */
    .mainContent {
        width: 100%;
        padding: 0.8em 20px 2em 0px;
        margin-left: 0%;
        margin-right: 0%;

    }
    
    section {
    padding: 0;
    margin: 0px;
}
  
    footer {
        clear: left;
    }
}


/* ---------------------------------------------------------------------------- *
 *                          Styles der Desktopversion                           *
 *                           860px / 16px/em = 53.75em                          *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 53.75em) {
    .page-wrapper {
        margin: 0 auto;
        max-width: 66em;
    }  
        
    body {
        font-size: 0.938em;
        background-color: #EFEFED;
    }
}


/* ---------------------------------------------------------------------------- *
 *                 Beispiel Off-Canvas-Navigation im Basis-Layout               *
 *                          (Cloudfour OffCanvasMenu)                           *
 * ---------------------------------------------------------------------------- */
header {
    position: relative;
}

/* Eigene Anpassungen für den Menü-Trigger-Button */
a.toggle-nav {
    display: block;
    position: absolute;
    right: 5px;
    top: 4.75em;
    text-decoration: none;
    -webkit-border-radius: 0em;
    -moz-border-radius: 0em;
    border-radius: 0em;
    cursor: pointer;
    padding: 0.357em;
    color: #000;
    background-color: #EF7D08;
    border: 1px solid #EF7D08;
}

/* Hintergrundfarbe des .off-canvas-menu anpassen */
body.off-canvas-menu #menu {
    background-color: #C9C9C2;
}

.no-js a.toggle-nav {
    display: none;
}


/* ---------------------------------------------------------------------------- *
 *              Beispiel Off-Canvas-Navigation im Desktop-Layout                *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 53.75em) {
    
    a.toggle-nav {
        display: none;
    }

}


/* ---------------------------------------------------------------------------- *
 *                       Kapitel: Anpassungsfähige Bilder                       *
 *                          860px / 16px/em = 53.75em                           *
 * ---------------------------------------------------------------------------- */
/* Bilder flexibel machen:
 * hier mit max-width: 100%; damit sie nicht größer werden als das Original
 * width: 100%; würde die Bilder immer einpassen, aber u.U. auch aufblähen
 **/
img {
    max-width: 100%;
    height: auto;
}


/* ---------------------------------------------------------------------------- * 
 *                          Styles für Formulare                                *
 * ---------------------------------------------------------------------------- */
fieldset {
    border: 1px solid #EF7D08;
    margin: 0.5em;
}

legend {
    color: #EF7D08;
    font-size: 1.25em;
    padding: 0 0.5em;
}

.formset {
    margin: 0.5em 0;
}

.formset label, .formset input, .formset textarea {
    display: inline-block;
}

.formset label {
    width: 100%;
    padding-right: 2%;
    font-size: 0.9em;
}

.formset input, .formset textarea {
    width: 100%;
    border: 1px solid #F5F5F5;
    background-color: #F5F5F5;
    padding: 0.2em;
    line-height: 1.7em;
}

.formset1 {
    margin: 0.5em 0;
}

.formset1 {
    width: 100%;
    padding: 0.2em;
    line-height: 1.7em;
    background-color: #F5F5F5;
}

.formset1 input {
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.formset2 label {
    display: inline-block;
}

.formset2 label {
    width: 100%;
    padding-right: 2%;
    font-size: 0.9em;
}

.formset2 input {
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.formset3 {
    margin: 1em 0em 1em 0em;
}

.formset3 {
    width: 100%;
    padding: 0.2em;
    line-height: 1.7em;
}

.formset3 input {
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.submit-btn {
    float: right;
    border: 1px solid #EF7D08;
    padding: 0.4em;
    color: #000;
    background: #EF7D08;
    margin-right: 0%;
}

.hinweis1 {
    margin-top: 1.5em;
}

.hinweis2 {
    font-size: 0.9em;
}

input:required, textarea:required {
    padding-right: 3%;
}

input[type='number']:out-of-range {
    border-color: #EF7D08;
}

/* Positionierung der Required * in em */
em{

    left: 98%;
}


/* ---------------------------------------------------------------------------- *
 *                              410px / 16px/em = 25.625em                      *
 * ---------------------------------------------------------------------------- */
@media only screen and (min-width: 25.625em) {
    .formset label {
        width: 30%;
        text-align: right;
    }
  
    .formset input, .formset textarea {
        width: 66%;
    }
   
 .formset1 {
    margin: 0.5em 0em 0em 30%;
    width: 66%;
}

.formset2 {
    margin: 0.5em 0em 0em 0em;
}  
    
.formset2 label {
    width: 30%;
    text-align: right;
}

 .formset3 {
    margin: 1em 0em 1em 30%;
    width: 66%;
}

    .hinweis1 {
    padding-left: 30%;
}

    .hinweis2 {
    font-size: 0.9em;
    padding-left: 30%;
}
    
    .submit-btn {
    margin-right: 3.8%;
}
    
    em{
        left: 32.5%;
    }
}

