/* Regio Online Only - Modern Template */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    background-color: none;
    margin: 0;
    font-family: Arial;
    font-size: 11px;
    word-wrap: break-word;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#modern_template {
    border: 1px solid #007ec6;
    width: 100%;
    background-color: #ffffff;
}

#modern_template p { line-height: 16px; }

    #modern_template a {
        text-decoration: none;
        font-weight: bold;
    }

#modern_template a:hover { color: #666666; }

#modern_template ul {
    padding-left: 15px;
    margin: 0;
    list-style: square;
}

#modern_template ol { padding-left: 18px; }

/* temporary fix for list indentation */

#modern_template ul p { margin-left: -16px; }

#modern_template ul li { margin-bottom: 2px; }

#modern_template .button-container { margin-top: 30px; }

#modern_template .apply-button {
    background-color: #007ec6;
    border-radius: 8px;
    border: none;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
}

/* - - - - - H E A D E R - - - - - */

#modern_template_header {
    display: flex;
    flex-direction: column;
    padding: 24px 25px 0 25px;
}

#modern_template_header .first-row {
    display: flex;
    flex-direction: row;
    padding-bottom: 25px;
    flex-wrap: wrap;
}

#modern_template_header .first-row div {
    width: 25%;
    padding: 0 15px 5px 0;
}

#modern_template_header h1 {
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    margin: 5px 0;
}

#modern_template_header p {
    color: #000000;
    font-size: 12px;
    margin: 2px 0 0 0;
}

#modern_template_logo img {
    display: table-cell;
    max-width: 100%;
    height: auto;
    max-height: 200px;
    word-wrap: break-word;
}


/* - - - - - C O N T E N T - - - - - */

#modern_template_content {
    position: relative;
    padding: 21px 25px 25px 25px;
}

#modern_template_content .info-element { margin-top: 25px; }


/* - - - - - M O B I L E - - - - - */

@media (max-width: 599px) {
    /* save space on mobile (content padding) */
    #modern_template_header {
        padding: 20px;
    }

    #modern_template_content {
        padding: 20px;
    }
    /* keep header element distance  */
    #modern_template_header .first-row div { flex-basis: 50%; }
}