@font-face {
	font-family: "Open Sans";
	src: url("webfonts/OpenSans-Regular-webfont.woff") format ('woff');
}

@font-face {
	font-family: "Open Sans";
	src: url("webfonts/OpenSans-Bold-webfont.woff") format ('woff');
	font-weight: bold;
}

@font-face {
	font-family: "Open Sans";
	src: url("webfonts/OpenSans-BoldItalic-webfont.woff") format ('woff');
	font-weight: bold;
	font-style: italic;
}

@font-face {
	font-family: "Open Sans";
	src: url("webfonts/OpenSans-Italic-webfont.woff") format ('woff');
	font-style: italic;
}

html
{
    -webkit-text-size-adjust: 100%;
}

/* Mínar núllstillingar */
ul, ol, li {
    line-height: 1.5;
}

div, header, main, footer {
    display:block;
    box-sizing:border-box;
    margin:0;
    padding:0;
}

a:link,
a:active,
a:visited {
    text-decoration:none;
    color:inherit;
}

a:hover {
    color:#006ba8;
}

a.link-in-text:link,
a.link-in-text:active,
a.link-in-text:visited {
    color: #006ba8;
    text-decoration: underline;
    text-decoration-color: #000;
    text-decoration-thickness: 0.1em;
    text-decoration-style: solid;
    text-underline-offset: 1.5px;
}

a.link-in-text:hover {
    color: #000;
    text-decoration-color: #006ba8;
}

body {
    font-family: "Open Sans", sans-serif;
    font-size:16px;
    margin:0;
    margin-top:64px;
    padding:0;
    position:relative;
}

h1 {
    color:#006ba8;
    text-transform:uppercase;
    font-size:24px;
    letter-spacing:0.1em;
    padding-top:3rem;
    font-weight:normal;
}

main h1:first-child {
    padding-top: 1.5rem;
}

.toc-target {
    position: relative;
}
.toc-target span {
    position: absolute;
    left: 0;
    top: -70px;
}

h2 {
    color:#006ba8;
    text-transform:uppercase;
    font-size:21px;
    letter-spacing:0.1em;
    font-weight:normal;
    margin-top:2rem;
}

h3 {
    color:#006ba8;
    text-transform:uppercase;
    font-size:18px;
    letter-spacing:0.1em;
    font-weight:normal;
    margin-top:2rem;
}

p {
    line-height: 1.6;
}

.letter {
    border:1px solid #a2a5a6;
    box-sizing:border-box;
    padding:10%;
    box-shadow:4px 4px 6px #828586;
    line-height:2;
    font-size: 18px;
    max-width:850px;
    margin: 0 auto;
}

.web-title {
    width: 100%;
    height:64px;
    position:fixed;
    background-color:#fff;
    box-sizing:border-box;
    margin:0 auto;
    top:0;
    padding-left:24px;
    font-size:26px;
    line-height:64px;
    text-transform:uppercase;
    letter-spacing:0.2rem;
    color:#525556;
    z-index:1;
    -moz-user-select:none;
    -webkit-user-select:none;
    user-select:none;
}

.menu-open-button {
    display:block;
    width:40px;
    height:40px;
    font-size:1.4em;
    text-align:center;
    line-height:40px;
    position:fixed;
    right:12px;
    top:12px;
    z-index:2;
    cursor:default;
    -moz-user-select:none;
    -webkit-user-select:none;
    user-select:none;
}

.menu-open-button__hamburger {
    position:relative;
    width:40px;
    height:40px;
}

.menu-open-button__hamburger span {
    display:block;
    position:absolute;
    height:4px;
    width:26px;
    left:7px;
    border-radius:2px;
    background-color:#525556;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.menu-open-button__hamburger span:nth-child(1) {
    top:10px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.menu-open-button__hamburger span:nth-child(2) {
    top:18px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.menu-open-button__hamburger span:nth-child(3) {
    top:26px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.menu-open-button__hamburger.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top:8px;
    left:10px;
}

.menu-open-button__hamburger.open span:nth-child(2) {
    width:0;
    opacity:0;
}

.menu-open-button__hamburger.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top:26px;
    left:10px;
}

.search-button {
    display:block;
    width:40px;
    height:40px;
    font-size:24px;
    color:#525556;
    text-align:center;
    line-height:40px;
    position:fixed;
    right:56px;
    top:12px;
    z-index:1;
    cursor:default;
    -moz-user-select:none;
    -webkit-user-select:none;
    user-select:none;
}

.randomizer-button {
    display:block;
    width:40px;
    height:40px;
    font-size:24px;
    color:#525556;
    text-align:center;
    line-height:40px;
    position:fixed;
    right:100px;
    top:12px;
    z-index:1;
    cursor:default;
    -moz-user-select:none;
    -webkit-user-select:none;
    user-select:none;
}

main {
    display:block;
    width:96%;
    max-width:1000px;
    margin:0 auto;
}

.name {
    cursor:pointer;
}

.name:hover {
    color:#006ba8;
}

.focalpoint {
    display:flex;
    width:100%;
    position:relative;
    box-sizing:border-box;
    margin:0;
    padding:00;
    overflow:hidden;
}

.focalpoint__left {
    flex:0 0 7rem;
}

.focalpoint__right {
    flex:1 0 0;
}

.focalpoint__avatar--scion {
    display:block;
    width:7rem;
    height:7rem;
    box-sizing:border-box;
    float:left;
    margin:1rem 1rem 0 1rem;
    font-size:7em;
    color:#006ba8;
    text-align:center;
    line-height:7rem;
}

.focalpoint__avatar--not-scion {
    display:block;
    width:7rem;
    height:7rem;
    box-sizing:border-box;
    float:left;
    margin:1rem 1rem 0 1rem;
    font-size:7em;
    color:#efefef;
    text-align:center;
    line-height:7rem;
}

.focalpoint__avatar--photo {
    display:block;
    width:7rem;
    height:7rem;
    box-sizing:border-box;
    border:2px solid #c2c5c6;
    float:left;
    margin:1rem 1rem 0 1rem;
    font-size:7em;
    color:#efefef;
    text-align:center;
    line-height:7rem;
    border-radius:50%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
/*     filter: grayscale(100%) contrast(150%); */
}

.focalpoint__avatar__img {
    width:7rem;
    height:7rem;
    border-radius:50%;
}

.focalpoint__name {
    font-size:1.4em;
    margin-bottom:0.5rem;
    margin-top:2rem;
}

.focalpoint__birth-death,
.focalpoint__age,
.focalpoint__descendants {
    font-size:0.95em;
    padding:0.3em 0;
    color:#535556;
}

.focalpoint__add-info-button,
.focalpoint__update-button,
.focalpoint__photos-button,
.focalpoint__select-avatar-button {
    display:inline-block;
    font-size:0.94em;
    padding:0.4rem 0.6rem;
    margin:0.4rem 0;
    background-color:#f0f6fa;
    color:#626566;
    border-radius:4px;
    cursor:default;
    -webkit-user-select: none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
    box-shadow:none;
    border:none;
}

.focalpoint__add-info-button:hover,
.focalpoint__update-button:hover,
.focalpoint__photos-button:hover,
.focalpoint__select-avatar-button:hover {
    background-color:#eaeff3;
    color:#006ba8;
    box-shadow:2px 2px 4px #b2b5b6;
}

.focalpoint__lineage {
    display:flex;
    width:100%;
    box-sizing:border-box;
    margin:1em auto;
    padding:0;
    border:1px solid #eaeff3;
    box-shadow:2px 2px 4px #b2b5b6;
}

.focalpoint__lineage__icon {
    display:block;
    flex:0 0 2rem;
    padding:10px;
    font-size:20px;
    color:#006ba8;
    -webkit-user-select: none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

.focalpoint__lineage__content {
    flex:1;
    padding:13px 1rem 13px 0;
    font-size:14px;
    color:#626566;
}

.mobilesize__focalgroup {
    display:block;
    width:96%;
    box-sizing:border-box;
    margin:1em auto;
    padding:0;
    border:1px solid #eaeff3;
}

.mobilesize__focalgroup__title {
    cursor:default;
    margin:0;
    padding:0.7em;
    background-color:#eaeff3;
    color:#006ba8;
    text-transform:uppercase;
    font-size:0.9em;
    letter-spacing:0.1em;
    -webkit-user-select: none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

.mobilesize__focalgroup__title__arrow {
    width:1.3em;
    float:left;
    color:#959ace;
}

.mobilesize__focalgroup__content {
    display:block;
    padding:0.2em 1em 1.5em 1em;
}

.fullsize-info-container {
    display:none;
}

.fullsize-options {
    display: none;
}

.mobilesize-options {
    text-align: center;
}

.fullsize-info {
    display:none;
    width:100%;
    box-sizing:border-box;
    margin:1em auto;
    padding:0;
    border:1px solid #eaeff3;
    box-shadow:2px 2px 4px #929596;
}

.fullsize-info__title {
    cursor:default;
    margin:0;
    padding:0.7em;
    background-color:#eaeff3;
    color:#006ba8;
    text-transform:uppercase;
    font-size:0.9em;
    letter-spacing:0.1em;
    -webkit-user-select: none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

.fullsize-info__title__arrow {
    width:1.3em;
    float:left;
    color:#959ace;
}

.fullsize-info__content {
    display:block;
    padding:0.2em 1em 1em 1em;
    display:none;
}

.fullsize-info__content ul {
    padding-left:2rem;
}

.fullsize-info__content ul li {
    list-style:circle;
}

.fullsize {
    display:none;
    width:95%;
    max-width:1200px;
    box-sizing:border-box;
    margin:1rem;
}

.fullsize__left {
    display:block;
    box-sizing:border-box;
    border-width: 0 1px 0 0;
    border-style: solid;
    border-image:
    linear-gradient(
        to bottom, 
        rgba(206, 218, 227, 0) 0%,
        rgba(206, 218, 227, 1) 5%,
        rgba(206, 218, 227, 1) 95%,
        rgba(206, 218, 227, 0) 100%
    ) 1 100%;
    width:60%;
    float:left;
    margin:0;
    padding:0;
}

.fullsize__left.no-siblings {
    border:0;
}

.fullsize__right {
    display:block;
    box-sizing:border-box;
    width:40%;
    float:right;
}

.fullsize__relation-type {
    color:#006ba8;
    font-size:1.2em;
    margin:0;
    padding-bottom:0.2rem;
}

.fullsize__parents {
    display:block;
    box-sizing:border-box;
    width:100%;
    padding:1rem 1rem 2rem 0;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-image:
    linear-gradient(
        to right,
        rgba(206, 218, 227, 0) 0%,
        rgba(206, 218, 227, 1) 5%
    ) 100% 1;
    overflow:hidden;
}

.fullsize__parents.no-siblings {
    border-image:
    linear-gradient(
        to right,
        rgba(206, 218, 227, 0) 0%,
        rgba(206, 218, 227, 1) 5%,
        rgba(206, 218, 227, 1) 95%,
        rgba(206, 218, 227, 0) 100%
    ) 100% 1;
}

.noscions {
    border:0;
}

.fullsize__siblings {
    display:block;
    box-sizing:border-box;
    padding:1rem 0 1rem 1rem;
}

.fullsize__spouses-children {
    display:block;
    box-sizing:border-box;
    width:100%;
    padding:1rem 1rem 1rem 0;
    overflow:hidden;
}

.fullsize__spouse {
    display:block;
    box-sizing:border-box;
    width:50%;
    float:left;
    clear:left;
    padding:0 0 1rem 0;
}

.fullsize__children {
    display:block;
    box-sizing:border-box;
    width:50%;
    float:left;
    margin:0;
    padding:0 0 1rem 0;
}

.fullsize__parents .relation {
    width:50%;
    float:left;
}

.relation-type {
    font-style:italic;
    text-transform:uppercase;
    letter-spacing:0.15em;
    font-size:0.8em;
    margin:0;
    padding-top:1rem;
}

.relation-type-separator {
    width:60%;
    clear:left;
    height:1px;
    margin:1rem auto;
    background-image:
        linear-gradient(
        to right, 
        rgba(206, 218, 227, 0) 0%,
        rgba(206, 218, 227, 1) 25%,
        rgba(206, 218, 227, 1) 75%,
        rgba(206, 218, 227, 0) 100%
    );
}

.relation {
    padding-left:1rem;
    padding-right:1rem;
}

.fullwidth-padded {
    padding-left:1rem;
}

.relation__name {
    margin-bottom:0;
    padding-bottom:0;
}

.relation__birth-death,
.generation__birth-death,
.search-results__birth-death {
    font-size:0.8em;
    margin-top:0;
    padding-top:0;
    color:#525556;
}

.generation__lineage,
.search-results__lineage {
    font-size:0.8em;
    margin-top:0;
    padding-top:0;
    color:#525556;
}

.main-menu {
    box-sizing:border-box;
    background-color:#fff;
    color:#525556;
    position:fixed;
    overflow:auto;
    top:0;
    right:-16rem;
    width:16rem;
    border-left:4px solid #cedae3;
    height:100%;
    margin:0;
    padding:3.5rem 0 5rem 2rem;
    opacity:0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    z-index:1;
}

.main-menu.open {
    right:0;
    opacity:1;
}

.main-menu__link:link,
.main-menu__link:active,
.main-menu__link:visited {
    display:block;
    margin:1rem 0 1rem 0;
    font-size:1.4rem;
    text-decoration:none;
    color:inherit;
}

.main-menu__link:hover {
    color:#006ba8;
}

.main-menu__link span {
    width:2rem;
}

.main-menu__link:hover span {
    width:2.3rem;
}

.main-menu__heading {
    margin-top: 2rem;
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 1.2rem;
}

footer {
    clear:both;
    width:100%;
    padding-top:5rem;
    text-align:center;
    font-size:0.8rem;
    text-transform:uppercase;
    letter-spacing:0.2em;
}

/* Stílar fyrir modal glugga */

.modal {
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:auto;
    background-color:#fff;
    background-color:rgba(0, 0, 0, 0.9);
    z-index:3;
}

.modal__content {
    position:relative;
    margin: 1rem auto;
    width: 98%;
    max-width:1000px;
    padding:1rem 1rem;
    animation-name:animatetop;
    animation-duration:0.4s
}

.modal__heading {
    color:#009edb;
    font-size:1.2em;
    text-transform:uppercase;
    letter-spacing:0.2em;
    margin:0;
    padding-bottom:1rem;
}

.modal__paragraph {
    color:#efefef;
}

.modal__close {
    color:#009edb;
    display:block;
    position:absolute;
    right:0;
    top:0;
    width:40px;
    height:40px;
    text-align:center;
    line-height:40px;
    font-size:32px;
    cursor:default;
}

.modal__alert-container {
    display:block;
    width:90%;
    max-width:30rem;
    margin:1rem auto;
    box-sizing: border-box;
    padding:1.5rem;
    background:#fff;
    border-radius:5px;
}

.modal__alert-button-container {
    text-align: right;
}

.search-box {
    color:#efefef;
}

.search {
    display:block;
    width:96%;
    box-sizing:border-box;
    font-size:1.2rem;
    padding:0.8rem 0.8rem 0.8rem 2.6rem;
    margin:0 auto;
    border-radius:0.5rem;
    position:relative;
    border:1px solid #006ba8;
    background-color:#efefef;
    background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMAUExURQAAAKWlpQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFcW5CUAAAEAdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBT9wclAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGHRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4xLjFjKpxLAAAFcUlEQVR4Xu2T20IkKRAFd///o90ejbGA4pI3JNuteFE5yUlievqfj1/CI5KNRyQbj0g2okX+Bf78OaJEeP8N4v0EiPDkMcztxSvCW5cwvg+XCI8UwqVNOER4nwIubsEqwtO0cHsDNhGeZYGGcEwivMkIJcEYRHiPA4pCUYvwFieUBaIV4SFuqItDJ8IrQqAyCpUITwiC0iA0IjwgDGpjkIuwPRKaQxCLsHsGk3/hdAqjAUhFWDyCqRvEY5jzIxRhbR9mRjA1gCE3MhGW9mBiCqN9mPEiEmFlBwbWMN+DCScSERbeIZfBnQ4M+BCIsO4GsRiudWDAxVqEZS2kKrh6g9iFVYRQC7dbSD0sRVhVQ2aAghZSBysRFtWQmaCihdTOQoQ1NWRWaGkgNGMQIbJDTw2ZmbkISyqIPNBUQ2ZlKsKKCiIfdNWQGdGKkHihrYLIyEyEBSUkfuirILIxEaG+hCQACiuIbKhECEKgsoLIxFiE8gKCICgtITFxTiTYZChCdQFBGNSWkFiQi3AeCMUlJAZOioR+6iMRii84D4XqEhI9R0UiP5KBCLUXnAdDeQmJmrMigR+JUITjcKgvIFDTF6H0gvN46C8g0CIT4XgDLCgg0PK7Rai84HwHbLjgXItIhOMtsKKAQMkjEgY7LjhX0hOh8BuON8GSC86VJBSx7XtE4mDLBec6/k8inG6DNRec63hE4mDNBec6OiLUfcPxNlhzwbmOjCKmjY9IHKwpIFDxiMTBmgICFY9IHKwpIFDxiMTBmgvOdXRE2mZOt8GaC851CER2m7DlgnMdj0gYLCkg0PGIhMGSAgIdEpG9JuwoINBxXIQVBQRKeiK3co63wIoCAiUikZ0mbCggUHJahAUlJEp+t8gPmtBfQKDlsAj1JSRahCK7TGgvIdHSF/mpj4TyEhI1UpE9JnSXkKg5KkJ1BZGagcjPmNBcQqLnpAjFFUR65CLhJtRWEBkYifyACa0VRAbOiVBaQ2ZgKLLbhMoaMgsqkUATChsILYxF9prQV0NmQikSZUJbDZmNichGE7oaCG3MRLaZ0NRAaEQv4jehp4XUyFRkjwktLaRW5iIbTKi4QWzGJOLYSsEdcjMLkeh/QG7fIbezEgk14WoHBhyYRQzLudeBAQ9Lkcl63X7udGHEw1ok5gXM92HGhUDE/whGRzDlQyKyeAhDQxgbwpgTkcjyLePHkE9g7POHA5mI4D33p3C84Hv08xc7QhHhq/QU7V+/WpGKbDKpur/+MCIW2WJSN3/9ZUQuEm9y6+XAhEIkWqVTypEFlUioSbfx69CCTiROZVDHsQGtSJDJsIxAj1okQoWibhORGoOI22ReQ6rFIuJToWLYQazFJmJX4frsPhNKrCImFW6u7jKkwy7ygsVCuPSCgyGMqXCJvGD1Esb/wMkEBlV4RV6wfQKDn3A0h1kNASJ/4AEdGPiG4wUMKwgS+QvveMHBHfIFDMsJFpHAU+cwKyeriNrkgMgekxMiW0yOiOz4miQW0ZmcEdlgckgk3uSUSPjXJLeIwuSYSLTJOZFgk4MisV+T9CJSk5MioSZHRSJNzooEfk3eQURkclgkzuS0SJjJcZGor8mbiKxNzosEmSQQiTHJIBLyNXkfkYVJCpEIkxwiASZJRPxfk7cSmZlkEXGbpBHxmuQRcX5N3k1kaJJIxGeSScT1nyuViMiE0Zb3ExmY5BJxfCTJRCQmTDZkExGYMNjwiGyD545hriGfyNKEsYZHZCM8eARTDRlF5ibMtKQUmZow0vJ2IkzcyCkyMWHgRlKRoQnxnawiAxPCDmlFuiZEPfKKdEwIuiQWaU04HZBZ5AUOLzgYklxEziOSjUckG49ILj4+/gMKmun4A8bCYgAAAABJRU5ErkJggg==");
    background-repeat: no-repeat;
    background-position: left 0.6rem top 50%;
    background-size:1.4rem auto;
}

.search::placeholder {
    box-sizing: border-box;
    font-size: 1.2rem;
    line-height: 1.4;
}

.search:focus {
    outline:none;
    box-shadow:0 0 6px #ddd;
}

.search-results-container {
    display:block;
    box-sizing:border-box;
    width:100%;
}

.search-results {
    display:block;
    box-sizing:border-box;
    width:96%;
    font-size:1rem;
    padding:0.8rem;
    margin:0 auto;
}

.add-info__focalpoint,
.add-info__form {
    display:block;
    box-sizing:border-box;
    width:96%;
    margin:1rem auto;
    padding:1px 1.6rem;
    background-color:#efefef;
    border-radius:4px;
}

.add-info__focalpoint {
    padding-bottom:2rem;
}



.add-info__logged--suggestions {
    display:block;
    box-sizing:border-box;
    padding:0.3rem 1rem;
    margin:0.8rem 0;
    background-color:#fff;
    border-radius:4px;
    box-shadow:2px 2px 4px #828586;
}

.add-info__logged--suggested-by {
    text-align:right;
    font-style:italic;
}

.add-info__form input,
.add-info__form textarea {
    display:block;
    width:100%;
    box-sizing:border-box;
    font-size:1rem;
    padding:0.8rem;
    margin:0 auto;
    border-radius:0.5rem;
    position:relative;
    border:1px solid #006ba8;
    background-color:#fff;
}

.add-info__form input:focus,
.add-info__form textarea:focus {
    outline:none;
    box-shadow:0 0 6px #ddd;
}

.input-heading {
    color:#006ba8;
    font-size:0.94em;
    text-transform:uppercase;
    letter-spacing:0.2em;
    margin:2.5rem 0 0.3rem 0;
}

.input-descriptor {
    color:#323536;
    margin:0.3rem 0;
}

.form-submit {
    text-align:right;
}

.add-info__form-submit {
    display:inline-block;
    padding:0.5rem 0.7rem;
    margin:2rem 0;
    background-color:#fff;
    color:#323536;
    border-radius:4px;
    border: 2px solid #929596;
    cursor:default;
    -webkit-user-select: none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

.add-info__form-submit:hover {
    color:#006ba8;
    border-color:#006ba8;
    box-shadow:2px 2px 4px #b2b5b6;
}

.photo-modal__photo
{
    display:block;
    margin:20px auto;
    border:2px solid #fff;
    box-shadow: 2px 2px 3px #323536;
    width: auto;
    max-width:95%;
}

.photo-modal__button-container {
    display: block;
    width:95%;
    max-width:500px;
    margin:1rem auto;
    text-align: center;
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

.about-container {
    display:block;
    width:96%;
    max-width:1000px;
    margin:0 auto;
    box-sizing:border-box;
    padding:1rem 2.5rem;
}

.focalpoint__name.not-scion,
.focalpoint__birth-death.not-scion {
    color:#626566;
}

.mobilesize__focalgroup.not-scion,
.fullsize-info.not-scion {
    border-color:#efefef;
}

.mobilesize__focalgroup__title.not-scion,
.fullsize-info__title.not-scion {
    background-color:#efefef;
    color:#606060;
}

.mobilesize__focalgroup__title__arrow.not-scion,
.fullsize-info__title__arrow.not-scion {
    color:#808080;
}

.fullsize__relation-type.not-scion {
    color:#626566;
}

.relation__name.not-scion,
.relation__birth-death.not-scion {
    color:#626566;
}

.no-parents {
    color:#626566;
}

/* 
.js-root {
    color:#000;
}

 */
.overview-table
{
    max-width:30rem;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.generation,
.search-results {
    list-style:none;
    margin:0 auto;
    padding:0;
}

.generation li,
.search-results li {
    padding:0.75em 1em;
}

.search-results li {
    margin:0.5rem 0;
    background-color:#fff;
    border-radius:3px;
}

.generation li:nth-child(2n),
.search-results li:nth-child(2n) {
    background-color:#e2e5e6;
}

.table-container {
    overflow-x: auto;
    margin-bottom:3rem;
}


/* Stílar fyrir töflur í booktabs stíl */
.proper {
    border-spacing:0;
    border-collapse:collapse;
    margin:1em auto;
}

.proper td,
.proper th {
    padding:0.5em;
    margin:0;
}

.proper tbody tr:nth-child(2n) {
    background-color: #f0f3f4;
}

.proper th {
    text-align:left;
}

.proper th.align-center {
    text-align:center;
}

.figure-container .caption,
.proper .caption,
.proper caption {
    font-size: 0.9em;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    text-align: center;
}

.figure-container .caption span,
.proper .caption span,
.proper caption span {
    font-weight:bold;
}

.proper td.farleft,
.proper th.farleft {
    padding-left:1em;
}

.proper td.farright,
.proper th.farright {
    padding-right:1em;
}

.proper td.number {
    text-align:right;
}

.toprule {
    border-top:2px solid #525556;
}

.midrule-top {
    border-top:1px solid #525556;
}

.midrule-bot {
    border-bottom:1px solid #525556;
}

.bottomrule {
    border-bottom:2px solid #525556;
}

/* Datepicker */
.datepicker {
    display:block;
    width:100%;
    max-width:15.4em;
    margin:1em;
    overflow:hidden;
}

.month {
    display:block;
    position:relative;
    width:100%;
    height:2em;
    box-sizing:border-box;
    background-color:#dfdfdf;
    text-align:center;
    font-size:1.1em;
    letter-spacing:0.1em;
    line-height:2em;
    margin:0.2em 0;
    border-radius:0.2em;
    font-weight:bold;
}

.pmonth,.nmonth {
    display:block;
    height:2em;
    width:2em;
    text-align:center;
    line-height:2em;
    margin:0;
    position:absolute;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor:pointer;
}

.pmonth {
    left:0;
    top:0;
}

.nmonth {
    right:0;
    top:0;
}

.days div {
    display:block;
    box-sizing:border-box;
    width:2rem;
    height:2rem;
    line-height:2rem;
    text-align:center;
    float:left;
    margin:0.1em;
/*     border:1px solid #323536; */
    border-radius:0.15em;
    box-shadow:1px 1px 2px #323536;
    font-weight:bold;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor:pointer;
}

.result-descriptor {
    text-transform:uppercase;
    margin:1.5rem 0 0 0;
    font-size:0.9rem;
    color:#006ba8;
}

@media (min-width: 800px) {
    .mobilesize-options {
        display: none;
    }
    
    .fullsize-options {
        display: block;
    }

    .mobilesize {
        display:none;
    }
    
    .fullsize-info-container {
        display:block;
    }
    
    .fullsize {
        display:flex;
    }
    
    .fullsize-info {
        display:block;
    }
}


@media (max-width: 500px) {
    .focalpoint__name {
        font-size:1.2em;
    }

    .web-title {
        font-size: 22px;
        padding-left: 20px;
    }

    @media (max-width: 400px) {
        .focalpoint__name {
            font-size:1.1em;
        }
    
        .datepicker {
            margin:1rem auto;
        }
    
        .web-title {
            font-size: 20px;
            padding-left: 16px;
        }

        @media (max-width: 350px) {
            .web-title {
                padding-left: 14px;
                font-size: 16px;
                letter-spacing: 2px;
            }
        }
    }
}

@media (max-width:800px) {
}

caption {
    caption-side: top;
}


.figure-container {
    width:95%;
    max-width:48rem;
    margin:1.5rem auto 5rem auto;
}

.left-padded {
    padding-left:1.5rem;
}

textarea {
    min-height:7rem;
}

input:focus,
textarea:focus {
    outline:none;
    box-shadow:0 0 4px #323536;
}

.icon-button {
    display:inline-block;
    padding:0.5rem 0.7rem;
    margin:1rem 0.6rem;
    background-color:#fff;
    color:#323536;
    border-radius:4px;
    border: 2px solid #929596;
    cursor:default;
    -webkit-user-select: none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

.icon-button:hover,
.icon-button.active {
    color:#006ba8;
    border-color:#006ba8;
    box-shadow:2px 2px 4px #b2b5b6;
}

.eq-width-button {
    min-width:168px;
}

.processing {
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:auto;
    background-color:#fff;
    background-color:rgba(0, 0, 0, 0.5);
    z-index:3;
}

.processing__content {
    display:block;
    position: fixed;
    text-align:center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width:95%;
    max-width:40rem;
}

.processing__message {
    text-transform: uppercase;
    font-size:1.2rem;
    color:#fff;
    letter-spacing:0.1rem;
}

.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #fff;
}
.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}
@keyframes lds-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.album {
    display:inline-block;
    width:auto;
    max-width:10rem;
    margin: 1rem;
}

.avatar-cropper-container {
    display:block;
    width:550px;
    overflow-x: auto;
    margin: 1rem auto;
    padding:1.5rem 1.5rem 0.9rem 1.5rem;
    background:#efefef;
    border-radius:4px;
}

.avatar-cropper {
    display:block;
    box-sizing:border-box;
    padding:0;
    margin:0;
    height:500px;
    width:500px;
}

.avatar-cropper__controls {
    display:block;
}

a[data-fancybox] {
    outline: none;
}

.photo-gallery__date {
    color: #3a4046;
    font-weight: bold;
    letter-spacing: 1px;
}

.photo-gallery__description {
    letter-spacing: 1px;
    line-height: 1.7;
    color: #5d656c;
    padding:0 1.5rem;
    margin:0 auto;
}

.photo-gallery__photo-container {
    width: 100%;
}

.photo-gallery__thumbnail {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    width: 17.9999%;
    margin: 1%;
    border: 4px solid #fff;
    box-shadow: 2px 2px 5px #626566;
}

.photo-gallery__thumbnail:hover {
    box-shadow: 3px 3px 5px #323536;
}

@media (max-width: 750px) {
    .photo-gallery__thumbnail {
        width: 22.9999%;
    }
}

@media (max-width: 500px) {
    .photo-gallery__thumbnail {
        width: 30.9999%;
    }
}

.albums-container {
    display: flex;
    flex-wrap: wrap;
}
.album__container {
    display: flex; 
    padding: 1.5em 0.5em;
    margin: 2%;
    width: 98%;
    box-shadow: 1px 2px 6px #828586;
    border: 1px solid #fff;
    box-sizing: border-box;
    transition: all 0.5s ease;
    cursor: pointer;
}
@media all and (min-width: 40em) {
    .album__container {
        width: 48%;
        margin: 1%;
    }
}
@media all and (min-width: 60em) {
    .album__container {
        width: 31.33%;
        margin: 1%;
    }
}
.album__content__container {
    display: flex;
    flex-direction: column;
    padding: 1em;
    width: 100%;
}

.album__text__container {
    flex: 1 0 auto;
}

/* 
.albums-container {
    width: 100%;
    display: flex;
    padding-top: 50px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
    align-content: space-around;
}

.album__container {
    flex-grow: 0;
    flex-basis: 31%;
    box-sizing: border-box;
    min-width: 14rem;
    background:yellow;
}

 */
.album__thumb {
    width: 90%;
    padding-top: 90%;
    background-size: cover;
    background-position: center;
    margin: 0 auto;
    margin-bottom: 10px;
    border: 4px solid #fff;
    box-shadow: 2px 2px 6px #626566;
    box-sizing: border-box;
    transition: all 0.5s ease;
}

.album__container:hover {
    border: 1px solid #a9a9a9;
    box-shadow:5px 5px 10px #626566;
}

.album__container:hover .album__thumb {
    border-radius: 10%;
}

.album__title {
    margin-top: 0.5rem;
    letter-spacing: 2px;
    font-size: 24px;
    text-align: center;
    color:#006ba8;
    margin-bottom: 0.5rem;
}

.album__date {
    margin-top: 0;
    text-align: center;
    font-family: sans-serif;
    color: #3a4046;
    font-weight: bold;
    letter-spacing: 1px;
}

.album__description {
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.4;
    color: #5d656c;
    padding:0 1.5rem;
    margin:0 auto;
}

.album__description p:last-child {
    margin-bottom: 0;
}

a.photobank-nav,
span.photobank-nav {
    display: inline-block;
    width:36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    margin: 5px;
    border: 1px solid #929596;
    border-radius: 4px;
    box-shadow: 2px 2px 5px #626566;
}

span.photobank-nav {
    background-color: #323536;
    color: #fff;
}

a.photobank-nav {
    font-weight: bold;
}

a.photobank-nav:hover {
    border-color: #006ba8;
}

.js-album-list-filter {
    display:inline-block;
    box-sizing:border-box;
    font-size:1rem;
    padding:0.8rem;
    margin:0 auto;
    border-radius:0.5rem;
    position:relative;
    border:1px solid #006ba8;
    background-color:#fff;
}

#gototop {
    display: none;
    position: fixed;
    right: 1em;
    bottom: 1em;
}