/* GENERAL */
body {
    background: #222222;
    font-family: Georgia, serif;
}
p {
    text-align: justify;
}

h1, h2, h3 {
    font-family: Georgia, serif;
}

a, a:hover, a:visited, a:active {
    color: inherit;
    text-decoration: none;
}
a:hover, a:visited, a:active {
    text-decoration: underline;
}

.container {
    background: white;
    border: 15px solid #0066aa;
    border-left: none;
    border-right: none;
    max-width: 768px;
    padding: 0;
    margin: 60px auto 60px;
}

/* HEADER */
header.row {
    background: #f8f8f8;
    border-bottom: 1px solid #dfdfdf;
    padding: 40px;  
    margin: 0;  
}

header img {
    background: #ffffff;
    padding: 10px;
    border: 1px solid #dfdfdf;
    float: left;
}

header h1 {
    margin: 20px 5px 0 0;
    padding: 0;
    font-size: 40px;
    font-family: inherit;
}
header h2 {
    margin: 5px 0 0 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 20px;
    font-family: inherit;
}

/* CV data */
.cv-box {
    border-bottom: 1px solid #dfdfdf;
    margin: 0;
    padding: 15px 0 50px;
}

.cv-box h1.section {
    font-size: 24px;
    font-family: inherit;
    font-style: italic;
    text-align: right;
}

.cv-box .details {
    position: relative;
    padding: 0 40px 0 15px;
}

.cv-box .details .data {
    margin-top: 20px;
    text-align: justify;
}
.cv-box .details .data a {
    text-decoration: underline;
}

.cv-box .details h1 {
    color: #0066aa;
    font-size: 26px;
    margin-bottom: 5px;

}

.cv-box .details h2 {
    font-size: 16px;
    font-weight: normal;
    font-style: italic;
    margin-top: 0;

}

.cv-box .details h3 {
    font-size: 14px;
    background: #f8f8f8;
    padding: 5px 10px;
}

/* text-align cv header on small devices */
@media (max-width: 768px) {
    .cv-box h1.section {
        text-align: center;
    }
}

/* contact form style */
.alert {
    margin-bottom: 0;
}
