@font-face {
    font-family: 'Uni Sans';
    src: url('../webfonts/unisansdemo-heavycaps-webfont.woff2') format('woff2'),
    url('../webfonts/unisansdemo-heavycaps-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Uni Sans';
    src: url('../webfonts/unisansdemo-heavyitaliccaps-webfont.woff2') format('woff2'),
    url('../webfonts/unisansdemo-heavyitaliccaps-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}


@font-face {
    font-family: 'Uni Sans';
    src: url('../webfonts/unisansdemo-thincaps-webfont.woff2') format('woff2'),
    url('../webfonts/unisansdemo-thincaps-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Uni Sans';
    src: url('../webfonts/unisansdemo-thinitaliccaps-webfont.woff2') format('woff2'),
    url('../webfonts/unisansdemo-thinitaliccaps-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

body {
    margin: 0;
    padding: 0;
    background-color: #FFF;
    font-family: 'Open Sans', sans-serif;
}

body *::selection {
    background-color: #147066;
    color: #ffffff;
}

body *::-moz-selection {
    background-color: #147066;
    color: #ffffff;
}

.c-primary {
    color: #147066;
}

.bg-primary {
    background: #147066;
}

.c-secondary {
    color: #E8B44C;
}

.bg-secondary {
    background: #E8B44C;
}

.c-danger {
    color: #AA4C4C;
}

.bg-danger {
    background: #AA4C4C;
}

.c-dark {
    color: #2D2D2D;
}

.bg-dark {
    background: #2D2D2D;
}

.c-light {
    color: #FFFFFF;
}

.bg-light {
    background: #FFFFFF;
}

.uppercase {
    text-transform: uppercase;
}

#header {
    width: 100vw;
    background-color: #FFF;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25);
    position: fixed;
    top: 0;
    z-index: 10000;
}

.navbar {
    display: grid;
    align-content: center;
    /* grid-template-columns: 20% 70% 10%; */
    grid-template-columns: 20% 80%;
    align-items: center;
    padding: 14px 20px;
}

.navbar-logo {
    font-family: 'Uni Sans';
    color: #147066;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
}

.navbar-logo {
    width: 150px;
}

#navbar-hamburger {
    display: none;
}

#navigation {
    list-style-type: none;
    display: inline;
    text-align: right;
    padding-right: 20px;
}

#navigation li {
    display: inline;
    padding: 0 5px;
}

#navigation li a {
    text-decoration: none;
    color: #2E2E2E;
    font-size: 14px;
    font-family: 'Uni Sans';
    font-weight: bold;
}

#navigation li a.active {
    color: #147066;
}

#navigation li a:hover {
    color: #147066;
}

#navigation li a.button {
    color: #FFF;
}

#navigation .nav-underline {
    border-bottom: 3px solid #147066;
}

#tutorials iframe {
    width: 30%;
    margin: 0 10px 30px 0;
}

.language-container {
    border-left: 1px solid #C9C9C9;
    padding-left: 20px;
}

.alert {
    border-radius: 8px;
    background-color: #eeeeee;
    color: #147066;
    padding: 5px 10px;
}

.share-button {
    cursor: pointer;
}

.alert i {
    font-size: 12px;
    margin: 0 5px;
}

.alert span {
    font-size: 12px;
    line-height: 24px;
}

.divider {
    width: 60%;
    max-width: 733px;
    border: 1px solid #2D2D2D;
    text-align: center;
    margin: 0 auto;
}

.container {
    background: #FFF;
    width: 100% !important;
}

.white {
    color: #FFF;
}

.black {
    color: #2D2D2D;
}

.green {
    color: #147066;
}

.dark-green {
    color: #147066;
}

.grey {
    color: #2D2D2D;
}

.danger {
    color: #AA4C4C;
}

.small {
    font-size: 10px;
}

.button {
    background-color: #147066;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    color: #FFF;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .5s ease-in-out;
    cursor: pointer;
}

.button:hover {
    background-color: #147066;
    transition: background-color .5s ease-in-out;
}

.button-secondary {
    background-color: #FFF;
    color: #147066;
    transition: color .5s ease-in-out;
}

.button-secondary:hover {
    color: #147066;
    background-color: #FFF;
    transition: color .5s ease-in-out;
}

.button-secondary-outline {
    border: 1px solid #FFF;
    transition: color .5s ease-in-out;
}

.button-secondary-outline:hover {
    color: #147066;
    background-color: #FFF;
}

.text-link {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;
    color: #147066;
    cursor: pointer;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.text-link.small {
    font-size: 10px;
}

.small-link {
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 18px;
    color: #147066;
    text-decoration: none;
}

.small-link:hover {
    text-decoration: underline;
}


.background-secondary {
    background-color: #147066;
}

.background-tertiary {
    background: #EEEEEE;
}

h1 {
    font-family: 'Uni Sans';
    font-weight: bold;
    font-size: 48px;
}

h1.secondary,
h2.secondary {
    color: #147066;
}

h2 {
    font-family: Uni Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 36px;
    line-height: 36px;
    color: #2E2E2E;
}

h2.opensans {
    font-family: Open Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 36px;
    line-height: 34px;
    color: #2E2E2E
}

.section {
    padding: 50px 150px;
}

.section h1 {
    margin: 0 0 40px 0;
}

.center-text {
    text-align: center;
}

#footer {
    background-color: #147066;
    padding: 10px 24px;
}

.footer-links {
    list-style-type: none;
    color: #ffffff;
    padding-left: 10px;
}

.footer-links li {
    display: inline;
    margin-right: 10px;
    text-transform: uppercase;
    font-family: Open Sans;
    font-style: normal;
    font-weight: 100;
    font-size: 12px;
    line-height: 30px;
    color: #FFFFFF;
}

.footer-links li a {
    text-decoration: none;
    color: #FFFFFF;
}

.footer-links li a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

#scrollToTop {
    display: none;
    position: fixed;
    bottom: 60px;
    right: 30px;
    width: 50px;
    height: 50px;
    text-align: center;
    z-index: 99;
    border: 1px solid #aeaeae;
    background-color: #555;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    animation: fadeIn ease 1s;
    -webkit-animation: fadeIn ease 1s;
    -moz-animation: fadeIn ease 1s;
    -o-animation: fadeIn ease 1s;
    -ms-animation: fadeIn ease 1s;
    transition: background-color .2s ease-in-out;
}

#scrollToTop i {
    font-size: 2em;
}

#scrollToTop:hover {
    background-color: #aeaeae;
}

#scrollToTop:focus {
    outline: none;
}

.mb-0, .my-0 {
    margin-bottom: 0 !important;
}

.mt-0, .my-0 {
    margin-top: 0 !important;
}

.backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 10000;
    display: none;
}

@media only screen and (min-width: 2400px){
    .section {
        padding: 50px 600px;
    }
}

@media only screen and (min-width: 2200px) and (max-width: 2400px){
    .section {
        padding: 50px 450px;
    }
}

@media only screen and (min-width: 1900px) and (max-width: 2200px){
    .section {
        padding: 50px 360px;
    }
}

@media only screen and (max-width: 1200px){
    .section {
        padding: 30px 70px;
    }
}

@media only screen and (max-width: 1024px) {
    .section {
        padding: 30px 50px;
    }
}

@media only screen and (max-width: 992px) {
    .section {
        padding: 30px 50px;
    }

    h1 {
        font-size: 36px;
    }

    .text-and-image {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

    .text-and-image .image {
        grid-area: 1;
    }

    #call-to-action {
        padding: 90px;
    }

    #tutorials iframe {
        width: 80%;
        margin: 10px 40px;
    }
}

@media only screen and (max-width: 904px) {
    #navbar-hamburger {
        display: block;
        height: 40px;
        width: 40px;
        border: none;
        background: none;
        cursor: pointer;
        margin-left: 20px;
        margin-right: auto;
    }

    #navbar-hamburger:before {
        content: "\f0c9";
        color: #147066;
        font-weight: 600;
        font-size: 36px;
        font-family: "Font Awesome 5 Free";
    }

    #navbar-hamburger:focus {
        outline: none;
    }

    .navbar {
        grid-template-columns: 60% 1fr 65px;
    }

    .navbar-logo {
        grid-area: 1;
    }

    .language-container {
        grid-area: 1/2;
        text-align: right;
        border-left: none;
        border-right: 1px solid #C9C9C9;
        padding-left: 0;
        padding-right: 20px;
    }

    #navigation {
        max-height: 0;
        overflow: hidden;
        padding-left: 0;
        transition: max-height .5s ease-in-out;
        grid-area: 2/1/ span 1 /span 3;
        text-align: left;
        margin: 0;
    }

    #navigation.active {
        transition: max-height .5s ease-in-out;
        max-height: 400px;
    }


    #navigation li {
        display: block;
        padding: 20px 5px;
    }

    h2 {
        font-size: 22px;
        line-height: 22px;
    }

    h3 {
        font-size: 18px;
        line-height: 20px;
    }

    #news-carousel .glide__arrows .glide__arrow {
        display: none;
    }
}


@media only screen and (max-width: 500px) {
    h2 {
        font-size: 22px;
        line-height: 22px;
    }

    .section {
        padding: 30px 20px;
    }

    #footer {
        /* text-align: center; */
        padding: 5px 16px;
    }

    .container {
        overflow-x: hidden;
    }

    #navbar-hamburger {
        margin-left: 10px;
    }

    #navbar-hamburger:before {
        font-size: 26px;
    }

    p {
        font-size: 12px;
    }
}

@media only screen and (max-width: 320px) {
    h1 {
        font-size: 18px;
    }

    .text-link {
        font-size: 14px;
        line-height: 14px;
    }

    h2 {
        font-size: 14px;
        line-height: 14px;
    }

    h3 {
        font-size: 12px;
        line-height: 12px;
    }

    .button {
        padding: 6px 15px;
        font-size: 10px;
    }

}


#share-section {
    box-sizing: border-box;
}

#share-section *, #share-section *::before, #share-section *::after {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
}

#share-section {
    font-family: -apple-system,BlinkMacSystemFont,San Francisco,Helvetica Neue,Helvetica,Ubuntu,Roboto,Noto,Segoe UI,Arial,sans-serif;
}

#share-section .hidden {
    display: none;
}

#share-section svg {
    width: 20px;
    height: 20px;
    margin-right: 7px;
}

#share-section button, #share-section .button {
    background-color: #eee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    color: #777;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: capitalize;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 4px;
    border: 1px solid #ddd;
    cursor: pointer;
}

#share-section button:hover, #share-section .button:hover {
    border-color: #cdd;
}

#share-section .copy-link {
    padding-left: 30px;
    padding-right: 30px;
}

#share-section .share-dialog {
    width: 135px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin:auto;
}

#share-section .share-dialog {
    display: none;
    width: 95%;
    max-width: 500px;
    box-shadow: 0 8px 16px rgba(0,0,0,.15);
    z-index: -1;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 4px;
    background-color: #fff;
}

#share-section .share-dialog.is-open {
    display: block;
    z-index: 10001;
}

#share-section header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

#share-section .targets {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin-bottom: 20px;
}

#share-section .close-button {
    background-color: transparent;
    border: none;
    padding: 0;
}

#share-section .close-button svg {
    margin-right: 0;
}

#share-section .link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    background-color: #eee;
}

#share-section .pen-url {
    margin-right: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
