/* 
    Brand color: #0078BB
    Paragraph color: #757575
    Title color: #0078BB
*/

/* Start standard elements */

/* .webpage:not(#sj-editpage) #page { */
.webpage #page {
    background-color: #ffffff;
    margin-top: 60px;
}

.webpage * {
    font-family: 'Roboto', sans-serif;
    color: #757575;
    font-weight: 300;
}

.webpage a:link, .webpage a:visited {
    color: #0078BB;
}

.webpage .normalwidth, .webpage .article p, .webpage .article blockquote {
    width: calc(1032px + 8px * 2);
    padding-left: 8px;
    padding-right: 8px;
    max-width: calc(100% - 16px);
    display: block;
    margin: auto;
}

.webpage section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.webpage h1, .webpage h2 {
    color: #0078BB;
    margin: 0px;
}
.webpage .nicebtn {
    display: inline-block;
    background-color: #0078BB;
    color: white !important;
    padding: 8px;
    margin-top: 8px; 
    text-decoration: none;
    font-weight: 400;
    border-radius: 5px;
    min-width: 75px;
    text-align: center;
    border: none;
}

.webpage .nicebtn.white {
    background-color: white;
    color: #0078BB !important;
}

.webpage .paragraph {
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 1.4em;
     white-space: pre-line;
}

.webpage .white {
    color: #ffffff !important;
}

/* End standard elements */


/* Header start */

.webpage #header {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 60px;
    width: 100%;
    background-color: #ffffff;
    color: #0078BB;
    z-index: 999999;
    box-shadow: 0px 0px 18px #eaeaea;    
}
.webpage #header .logocontainer {
    display: inline-block;
    vertical-align: top;
    text-decoration: none;
}

.webpage #header .logocontainer .logo {
    height: 50px;
    margin: 5px;
}


.webpage #header .logocontainer .websitetitle {
    display: inline-block;
    margin-left: 10px;
    color: #0078BB;;
    font-size: 18px;
    line-height: 60px;
    vertical-align: top;
}

.webpage #header .pc-menu {
    display: inline-block;
    float: right;
    height: 60px;
}

.webpage #header .mob-menu-btn {
    display: none;
    float: right;
    padding: calc(60px / 2 - 24px / 2) !important;
    padding-right: 0px !important;
    padding-left: 0px !important;
    cursor: pointer;
    position: relative;
}

.webpage #header .pc-menu .menubtnbox {
    position: relative;
    display: inline-block;
}

.webpage #header .pc-menu .menubtnbox .menubtn {
    height: 60px;
    display: inline-block;
    line-height: 60px;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 10px;
    color: #0078BB;
    transition: 200ms ease;
    cursor: pointer;
}
.webpage #header .pc-menu .menubtnbox .menubtn:hover, .webpage #header .pc-menu .menubtnbox.current .menubtn {
    background-color: #0078BB;
    color: #ffffff;
}

.webpage #header .pc-menu .menubtnbox .dropdown {
    position: absolute;
    top: 60px;
    left: 0px;
    display: none;
    width: 100%;
    min-width: 150px;
}

.webpage:not(#sj-editpage) #header .pc-menu .menubtnbox:hover .dropdown {
    display: block;
    transform-origin: top center;
    animation: dropdownroll 200ms ease;
}

@keyframes dropdownroll {
    0% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(1);
    }
}

.webpage #header .pc-menu .menubtnbox .dropdown .dropdownbtn {
    display: block;
    padding: 12px;
    background-color: white;
    color: #0078BB;
    text-align: center;
    border-top: 2px solid #0078BB;
    text-decoration: none;
}

.webpage #header .pc-menu .menubtnbox .dropdown .dropdownbtn:first-child {
    border-top: none;
}

.webpage #header .pc-menu .menubtnbox .dropdown .dropdownbtn:hover, .webpage #header .pc-menu .menubtnbox .dropdown .dropdownbtn.current {
    background-color: #0078BB;
    color: white;
}


/* Mobile menu */

.webpage #mobilemenu {
    position: fixed;
    top: 0px;
    left: 100%;
    height: calc(100% - 60px);
    margin-top: 60px;
    overflow: auto;
    width: 100%;
    background-color: white;
    transition: 500ms ease-out;
    z-index: 99999;
}

.webpage #mobilemenu.active {
    left: 0px;
}

.webpage #mobilemenu .menubtnbox {
    /*display: block;
    height: 40px;
    width: calc(100% - 16px);
    padding-left: 8px;
    padding-right: 8px;
    line-height: 40px;*/
    display: block;
    width: 100%;
    position: relative;
    cursor: pointer;
    transition: 200ms ease;
}

.webpage #mobilemenu .menubtnbox.dropdownicon::after {
    position: absolute;
    top: 0px;
    right: 8px;
    content: '';
    display: inline-block;
    height: 50px;
    width: 50px;
    vertical-align: top;
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('/site/img/arrow.png');
    transform-origin: center center;
    transform: rotate(-90deg);
    transition: 200ms ease-out;
}
.webpage #mobilemenu .menubtnbox.dropdown-active.dropdownicon::after {
    transform: rotate(0deg);
}

.webpage #mobilemenu .menubtnbox.dropdown-active {
    box-shadow: 0px 0px 18px #eaeaea;    
}
.webpage #mobilemenu .menubtnbox.current:not(.dropdown-active) {
    background-color: #eaeaea;    
}

.webpage #mobilemenu .menubtnbox .menubtn {
    text-decoration: none;
    line-height: 50px;
    height: 50px;
    padding-left: 8px;
    padding-right: 8px;
    display: block;
    color: #0078BB;
}

.webpage #mobilemenu .menubtnbox .dropdown {
    overflow: hidden;
    max-height: 0px;
    transition: max-height 0.5s ease-out;
}

.webpage #mobilemenu .menubtnbox.dropdown-active .dropdown {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.webpage #mobilemenu .menubtnbox .dropdown .dropdownbtn {
    text-decoration: none;
    display: block;
    line-height: 50px;
    height: 50px;
    padding-left: 24px;
    padding-right: 8px;
}

.webpage #mobilemenu .menubtnbox .dropdown .dropdownbtn.current {
    background-color: #eaeaea;    
}


/* Home page */

.webpage .bigheader {
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.webpage .header {
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.webpage .bigheader .headercontent h1, .webpage .header .headercontent h1 {
    color: white;
    font-family: 300;
}

.webpage .bigheader .headercontent .paragraph, .webpage .header .headercontent .paragraph {
    width: 400px;
    max-width: 100%;
    color: white !important;
}

/* Split background */

.webpage .splitbackground-container {
    display: block;
    height: 300px;
    width: 100%;
    position: relative;
}

.webpage .splitbackground-background {
    position: absolute;
    left: 0px;
    top: 0px;

    height: 100%;
    width: 60%;
    
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.webpage .splitbackground-content {
    position: absolute;
    right: 0px;
    top: 0px;

    background-color: #0078BB;
    width: 40%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.webpage .splitbackground-content::after {
    content: '';
    display: block;
    position: absolute;
    left: calc((400px / 4) * -3);
    top: 0px;
    width: calc((400px / 4) * 3);
    height: 400px;
    background-image: url('/site/img/split.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.webpage .imageside .paragraph {
    width: calc(100% - 250px - 20px - 4px);
    margin-right: 20px;
    display: inline-block;
    vertical-align: top;
}

.webpage .imageside .portretimage {
    display: inline-block;
    width: 250px;
    border-radius: 50%;
    vertical-align: top;
}

.webpage .imageside .portretimage.noradius {
    border-radius: 0%;
}

/* Search bar */
.webpage .searchbar {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #f6f6f6;
    text-align: right;
}

.webpage .searchcontainer {
    border-radius: 8px;
    border: 2px solid #0078BB;
    /* float: right; */
    display: inline-block;
}

.webpage .searchcontainer input {
    padding: 8px;
    outline: none;
    color: #0078BB;
    display: inline-block;
    vertical-align: top;
    width: 250px;
    background-color: transparent;
    border: none;
    border-radius: 8px;
}

.webpage .searchcontainer .searchBtn {
    width: 35px;
    height: 35px;
    display: inline-block;
    vertical-align: top;
    background-size: 20px; 
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('/site/img/searchicon.png');
}

/* Blog posts */

.webpage .post {
    width: calc(100%/2 - 50px/2 - 15px*2);
    display: inline-block;
    vertical-align: top;
    padding: 15px;
    background-color: white;
    box-shadow: 0px 0px 18px #eaeaea;
    border-radius: 5px;
    margin-bottom: 50px;
}

.webpage .post:nth-child(odd) {
    margin-right: 50px;
}

.webpage .post .line:not(:last-child) {
    margin-bottom: 15px;
}

.webpage .post h2 {
    display: inline-block;
}
.webpage .post .timestamp {
    display: inline-block;
    vertical-align: middle;
    float: right;
}

.webpage .post .snippet {
    line-height: 1.4em;
    height: 66px;
    overflow: hidden;
}

/* Blog */

/* Part of .article p start of file */
.webpage .article .line {
    margin-bottom: 15px;
}

.webpage .article p, .webpage .article blockquote {
    font-size: 18px;
    line-height: 1.5em;
    margin-top: calc(15px / 2);
    margin-bottom: calc(15px / 2);
}

.webpage .article .head h1, .webpage .article .head .timestamp {
    display: inline-block;
    vertical-align: top;
}

.webpage .article .head .timestamp {
    float: right;
    vertical-align: middle;
}

.webpage .article blockquote {
    padding-left: 15px;
    /*margin-left: 15px;*/
    border-left: 3px solid #0078BB;
    width: calc(1032px + 8px * 2 - 15px - 3px - 15px * 2);
    max-width: calc(100% - 16px - 10px - 15px);
    /*font-style: italic;
    color: inherit;
    font-weight: inherit;*/
}

.webpage .article .sj-blogimagecontainer {
    display: block;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}

.webpage .article .sj-blogimagecontainer img {
    max-width: 100%;
}

.webpage .article .postimg {
    margin-bottom: 15px;
    width: 100%;
    display: block;
}

.webpage .article .postimg.inline {
    display: inline-block;
    vertical-align: top;
    width: calc(100%/2 - 15px/2);
}

.webpage .article .postimg.inline:nth-child(odd) {
    margin-right: 15px;
}

.webpage .sharebtn {
    height: 50px;
    width: 50px;
    border-radius: 5px;
    display: inline-block;
    margin-right: 5px;
    background-color: gray;
    background-size: 25px;
    background-position: center;
    background-repeat: no-repeat;
}

.webpage .sharebtn.whatsapp {
    background-color: #25d366;
    background-image: url('/site/img/social/whatsapp.png')
}
.webpage .sharebtn.facebook {
    background-color: #3b5998;
    background-image: url('/site/img/social/facebook.png')
}
.webpage .sharebtn.twitter {
    background-color: #1da1f2;
    background-image: url('/site/img/social/twitter.png')
}
.webpage .sharebtn.linkedin {
    background-color: #0077b5;
    background-image: url('/site/img/social/linkedin.png')
}
.webpage .sharebtn.googleplus {
    background-color: #dd4b39;
    background-image: url('/site/img/social/googleplus.png')
} 

/*Styled form*/

.webpage .styledform {
    margin-top: 15px;
    padding: 15px;
    width: calc(100% - 30px);
    position: relative;
    display: block;
    background-color: white;
    box-shadow: 0px 0px 18px #eaeaea;
    border-radius: 5px;
}

.webpage .styledform h2 {
    margin-bottom: 15px;
}

.webpage .styledform .form {
    display: block;
}

.webpage .styledform .form.hide {
    opacity: .3;
    pointer-events: none;
}

.webpage .styledform .overlay {
    display: none;
    opacity: 0;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    text-align: center;
}

.webpage .styledform .overlay.show {
    display: block;
    animation: formoverlayin 500ms ease;
    animation-fill-mode: forwards;
}

@keyframes formoverlayin {
    0% {
        opacity: 0;
        transform: scale(.6);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.webpage .styledform .overlay .animation {
    display: block;
    width: 60px;
    height: 60px;
    margin: auto;
    margin-top: 60px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.webpage .styledform .overlay.loading .animation {
    background-image: url('/site/img/loading.gif');
}
.webpage .styledform .overlay.success .animation {
    background-image: url('/site/img/success.png');
}
.webpage .styledform .overlay.error .animation {
    background-image: url('/site/img/error.png');
}

.webpage .styledform .overlay .message {
    display: inline-block;
    color: #0078BB;
    font-size: 20px;
    margin-top: 30px;
}

.webpage .niceinput {
    display: block;
    padding: 13px;
    border: none;
    background-color: #F6F6F6;
    color: black;
    border-radius: 5px;
    margin-bottom: 8px;
    width: calc(100% - 26px);
    outline: none;
}

.webpage .niceinput.textarea {
    min-height: 120px;
}

.webpage .formsubmit {
    display: block;
    background-color: #0078BB;
    padding: 13px;
    border-radius: 5px;
    border: none;
    width: 100%;
    color: white;
    cursor: pointer;
    outline: none;
}

/*Reactions*/
.webpage .reaction {
    padding: 15px;
    background-color: white;
    box-shadow: 0px 0px 18px #eaeaea;
    display: block;
    border-radius: 5px;
    margin-top: 15px;
}

.webpage .reaction .head {
    display: block;
    width: 100%;
}

.webpage .reaction .head h2 {
    display: inline-block;
    margin: 0px;
    color: #0078BB;
}

.webpage .reaction .head .timestamp {
    display: inline-block;
    vertical-align: top;
    font-size: italic;
    float: right;
}

.webpage .reaction .content {
    margin-top: 8px;
}

.webpage .split div.half {
    width: calc(100%/2 - 16px);
    display: inline-block;
    vertical-align: top;
}

.webpage .split div.half:first-child {
    margin-right: 16px;
}

.webpage iframe {
    border: none;
    width: 100%;
    height: 300px;
}

/* Footer */

.webpage #footer {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #F6F6F6;
    display: block;
}

/*Max 4 footer elements*/
/*Optim width: calc(100% / 4 - (15px * 3) / 4)*/
.webpage #footer .footerelement {
    display: inline-block;
    vertical-align: top;
    margin-right: 15px;
}
.webpage #footer .footerelement:last-child {
    margin-right: 0px;
}

.webpage #footer .footerelement:nth-child(1) {
    width: calc(50% * 0.2 - (15px * 3) / 4 - 3px);
}
.webpage #footer .footerelement:nth-child(2) {
    width: calc(50% * 0.8 - (15px * 3) / 4 - 3px);
}
.webpage #footer .footerelement:nth-child(3) {
    width: calc(50% * 0.5 - (15px * 3) / 4 - 3px);
}
.webpage #footer .footerelement:nth-child(4) {
    width: calc(50% * 0.5 - (15px * 3) / 4 - 3px);
}

.webpage #footer .footerlogo {
    height: 60px;
}

.webpage #footer .copyrightline {
    padding-top: 15px;
}

.webpage #footer .copyrightline .copyrightnotice {
    display: inline-block;
    vertical-align: middle;
    line-height: 40px;
}

.webpage #footer .copyrightline .socialicon {
    float: right;
    display: inline-block;
    height: 40px;
    width: 40px;
    margin-right: 10px;
    vertical-align: middle;
    /*background: black;*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.webpage #footer .copyrightline .socialicon.facebook {
    background-image: url('/site/img/social/facebook_colored.png');
}
.webpage #footer .copyrightline .socialicon.linkedin {
    background-image: url('/site/img/social/linkedin_colored.png');
}

.webpage #footer .copyrightline .socialicon:nth-last-child() {
    margin-right: 0px;
}