:root {
    --primary-color: #1071b2;
    --secondary-color: #ee6280;
    --primary-text-color: #223A4A;
    --background-color: #e8ebed;
    --box-border-color: #5454522a;
}

/* roboto-300 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('/webfonts/roboto-v30-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/webfonts/roboto-v30-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/webfonts/roboto-v30-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('/webfonts/roboto-v30-latin-300.woff') format('woff'), /* Modern Browsers */
         url('/webfonts/roboto-v30-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/webfonts/roboto-v30-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  
  /* roboto-regular - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('/webfonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/webfonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/webfonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('/webfonts/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('/webfonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/webfonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  
  /* roboto-500 - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('/webfonts/roboto-v30-latin-500.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/webfonts/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/webfonts/roboto-v30-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
         url('/webfonts/roboto-v30-latin-500.woff') format('woff'), /* Modern Browsers */
         url('/webfonts/roboto-v30-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/webfonts/roboto-v30-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  
  /* roboto-700 - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('/webfonts/roboto-v30-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/webfonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/webfonts/roboto-v30-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('/webfonts/roboto-v30-latin-700.woff') format('woff'), /* Modern Browsers */
         url('/webfonts/roboto-v30-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/webfonts/roboto-v30-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  
  
a {
    color: var(--primary-color);
}

p {
    font-weight: 400;
    max-width: 650px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 2rem;
    margin-bottom: .5rem;
    text-align: center;
    color: #223A4A;
}

h1 {
 font-size: 2.2rem;
}

.row {
    /*margin-right: -70px;
    margin-left: -70px;*/
    padding-left: 15px;
    padding-right: 15px;
}

body {
    background-color: var(--background-color);
    color: var(--primary-text-color);
    font-family: roboto;
    text-align: center;
}

.no-bullet{
    list-style-type: none;
}

.txt-align {
    text-align: left;
}

.box {
    border-radius: 17px;
    background-color: white;
    padding: 30px 60px;
    margin: 30px 0 15px;
    border: 1px solid var(--box-border-color);
}

.with-gradient-border { 
    background-image:  radial-gradient(circle at 100% 100%, transparent 11px, #ee7f00 11px, #ee7f00 16px, transparent 16px), linear-gradient(to right, #ee7f00, #ee7f00), 
        radial-gradient(circle at 0% 100%, transparent 11px, #ee7f00 11px, #ee7f00 16px, transparent 16px), linear-gradient(to bottom, #ee7f00, #207ab6), 
        radial-gradient(circle at 0% 0%, transparent 11px, #207ab6 11px, #207ab6 16px, transparent 16px), linear-gradient(to left, #207ab6, #207ab6), 
        radial-gradient(circle at 100% 0%, transparent 11px, #207ab6 11px, #207ab6 16px, transparent 16px), linear-gradient(to top, #207ab6, #ee7f00) ;
    background-size:  16px 16px, calc(100% - 32px) 5px, 16px 16px, 5px calc(100% - 32px);
    background-position: top left,top center,top right,center right, bottom right,bottom center,bottom left,center left;
    background-repeat: no-repeat;
} 

.header {
    margin-bottom: 45px;
    margin-top: 30px;
}

.bordered-box-news {
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 3px;
    background-color: #0000;
}

.header-image {
    width: 80%;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    
}

.bordered-box {
    padding: 15px;
    border: 3px solid #343432;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 2px;
}

.bordered-box p {
    margin: 0;
}


figcaption {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.img-align-center {
    display: flex;
    margin: auto;
}

.portrait {
    border: 2px solid #EE7F009E;
    display: flex;
    margin: auto;
}

.separator {
    display: flex;
}

.separator::before {
    content: " ";
    background-image: linear-gradient(transparent, transparent 49%, #207ab6 49%, #207ab6 51%, transparent 51%, transparent 100%);
    margin-right: 1rem;
    flex: 1 1 1px;
}

.separator::after {
    content: " ";
    background-image: linear-gradient(transparent, transparent 49%, #207ab6 49%, #207ab6 51%, transparent 51%, transparent 100%);
    margin-left: 1rem;
    flex: 1 1 1px;
}

.flexbox{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

}

.justify-content-center{
    display: flex;
    justify-content: center;
}

.fuerzahnaerzte {
    color: rgb(124, 124, 124);
    width: calc(50% - 10px);
  

}

.fuerpatienten {
    color: rgb(124, 124, 124);
    width: calc(50% - 10px);


}


.div-height {

    max-width: 350px;
    margin: auto;
    margin-bottom: 15px;
}


.services-h-color {
    color: #ee7f00;
    font-weight: 300;
}

.footnote {
    margin-top: 15px;
    margin-bottom: 30px;
    font-size: 1rem;
}

footer {
    padding: 15px 0;
    
}

footer .imprint {
    text-align: right;
}

footer .copyright {
    text-align: left;
}



@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }

    .header-image {
        width: unset;
    }

    .fuerzahnaerzte, .fuerpatienten {
        width: 100%;
    }
}


@media (max-width: 576px) {
    h1 {
        font-size: 1.95rem;
    }

    .header-image {
        max-width: 100%;
        display: block;
        margin: auto;
    }

    .box {
        max-width: 90%;
    }

    footer {
        padding: 15px 0;
        
    }
    
    footer .imprint {
        text-align: center;
    }
    
    footer .copyright {
        text-align: center;
    }
}

@media (max-width: 457px) {
    h1 {
        font-size: 1.75rem;
    }

    .iconsize {
        width: 15%;
        height: 15%;
    }


    p {
        font-weight: 400;
        font-size: 0.85rem;
    }

    .header-image {
        max-width: 100%;
        display: block;
        margin: auto;
    }

    .box {
        padding-right: 20px;
        padding-left: 20px;
    }

    .portrait {
        border: 2px solid #EE7F009E;
        display: inline;
        margin: auto;
        width: 70%;
        height: 70%;
    }

    .fuerzahnaerzte, .fuerpatienten {
        width: 70%;
    }

    .footnote {
        margin-top: 15px;
        margin-bottom: 30px;
        font-size: 1rem;
        font-weight: 400;
    }

    footer {
        /*padding-left: 15px;
        padding-right: 15px;
        margin-left: 15px;
        margin-right: 15px;*/
        display: flex;
        align-content: center;
    }
    
    footer .imprint {
        text-align: center;
        /*margin-right: 15px;*/
    }
    
    footer .copyright {
        text-align: center;
    }

}