/*
Theme Name: NEMA TEMA
Theme URI: https://krea.fo
Author: KREA - Beinir
Author URI: https://krea.fo
Description: Eitt tema til NEMA heimasíðuna
Version: 1.0
Text Domain: nematema
*/

/*========== HTML SETTINGS ==========*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    /*background: #333333;*/
}

/*========== THE BODY ==========*/
body {
    font-family: "Source Sans Pro", sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #fff;
    position: relative;
    overflow-x: hidden;
}
.body-no-scroll {
    overflow: hidden;
}
/*========== CONTAINERS ==========*/
.container {
    width: calc(100vw - 2em);
    margin: 0 auto;
}
.main-container {
    max-width: 1824px;
}
.main-container_1511 {
    max-width: 1511px;
}
.header-container {
    max-width: 1744px;
    width: calc(100vw - 160px);
    margin: 0 auto;
}
.footer-container {
    max-width: 1120px;
    width: calc(100vw - 95px);
    margin: 0 auto;
}
/*========== SOME DEFAULT STYLINGS ==========*/
a {
    color: #268cc8;
    text-decoration: none;
}
.show-mobile {
    display: none;
}
/*========== MAIN GENERAL STYLING ==========*/
main h1,
main h2,
main h3,
main h4,
main h5,
main h6,
main p {
    color: #333333;
}
main h1 {
    font-size: 70px;
}
main h2 {
    font-size: 40px;
}
main h3 {
    font-size: 32px;
}
main h4 {
    font-size: 28px;
}
main h5 {
    font-size: 25px;
}
main h6 {
    font-size: 20px;
}
main p {
    font-size: 18px;
    margin-bottom: 16px;
}
main figcaption {
    font-size: 18px;
    font-style: italic;
    color: #777777;
}
main ul,
main ol {
    padding-left: 16px;
    margin-bottom: 16px;
}
main ul li,
main ol li {
    margin: 0px 0px 5px 16px;
    color: #333333;
    font-size: 18px;
}


/*========== HEADER ==========*/
section#header {
    position: absolute;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    z-index: 900;
    background: linear-gradient(180deg, #333, transparent);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lang-item {
    list-style: none;
}
.navbar .link,
.lang-item a {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid rgba(255,255,255,0.25);
}
.navbar .main-menu {
    position: fixed;
    left: 88px;
}
.navbar .main-menu img {
    height: 74px;
}
.navbar .search-icon {
    padding-left: 40px;
    border-left: 2px solid rgba(255,255,255,0.25);
    margin-left: 110px;
}
.navbar .search-icon img {
    height: 31px;
}
.navbar .navbar-icons {
    display: flex;
}
.navbar-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 40px;
    margin-right: 40px;
    border-right: 2px solid rgba(255,255,255,0.25);
}
.navbar-icon:last-child {
    border: none;
    padding: 0;
    margin: 0;
}
.navbar-icon img {
    height: 35px;
    margin-bottom: 8px;
}
.navbar-icon p {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
.navbar .navbar-brand img {
    height: 45px;
}


/*========== MENU ==========*/
section#menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333333;
    z-index: 800;
}
.menu-container {
    min-height: 100vh;
}
.navbar-nav {
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-right: 5%;
}
.navbar-nav .menu-item-has-children {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style: none;
}
.navbar-nav .menu-item-has-children a {
    margin-bottom: 20px;
}
/* DOTS */
.navbar-nav .red>a::before {
    content: '';
    position: absolute;
    top: -200%;
    left: 50%;
    width: 25px;
    height: 25px;
    background-color: #F00062;
    border-radius: 50%;
    transform: translateX(-50%);
}
.navbar-nav .purple>a::before {
    content: '';
    position: absolute;
    top: -200%;
    left: 50%;
    width: 25px;
    height: 25px;
    background-color: #A01BE6;
    border-radius: 50%;
    transform: translateX(-50%);
}
.navbar-nav .green>a::before {
    content: '';
    position: absolute;
    top: -200%;
    left: 50%;
    width: 25px;
    height: 25px;
    background-color: #54AF9B;
    border-radius: 50%;
    transform: translateX(-50%);
}
.navbar-nav .yellow>a::before {
    content: '';
    position: absolute;
    top: -200%;
    left: 50%;
    width: 25px;
    height: 25px;
    background-color: #CEC35F;
    border-radius: 50%;
    transform: translateX(-50%);
}
.navbar-nav .red:hover a::before,
.navbar-nav .purple:hover a::before,
.navbar-nav .green:hover a::before,
.navbar-nav .yellow:hover a::before {
    background-color: transparent;
}
/* MENU BACKGROUNDS */
.navbar-nav .red::before,
.navbar-nav .purple::before,
.navbar-nav .green::before,
.navbar-nav .yellow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 150% 150% 0/0 100% 100% 0;
    transform: scaleY(1.5);
    border-right: 2px solid rgba(255,255,255,0.25);
    z-index: -2;
}
.navbar-nav .red:hover::before {
    background-color: #F00062;
}
.navbar-nav .purple:hover::before {
    background-color: #A01BE6;
}
.navbar-nav .green:hover::before {
    background-color: #54AF9B;
}
.navbar-nav .yellow:hover::before {
    background-color: #CEC35F;
}
.navbar-nav .purple:hover > .green {
    background-color: gray;
}
/* BACKGROUND IMAGES */
.navbar-nav .red:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../nematema/assets/img/Fjarskifti_mynd.png');
    background-position: right;
    background-repeat: no-repeat;
    background-size: 365px 567px;
    border-radius: 0 150% 150% 0/0 100% 100% 0;
    transform: scaleY(1.5);
    border-right: 2px solid rgba(255,255,255,0.25);
    z-index: -2;
}
.navbar-nav .purple:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../nematema/assets/img/KT_mynd.png');
    background-position: right;
    background-repeat: no-repeat;
    background-size: 365px 567px;
    border-radius: 0 150% 150% 0/0 100% 100% 0;
    transform: scaleY(1.5);
    border-right: 2px solid rgba(255,255,255,0.25);
    z-index: -2;
}
.navbar-nav .green:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../nematema/assets/img/Skrivstovulutir_mynd.png');
    background-position: right;
    background-repeat: no-repeat;
    background-size: 365px 567px;
    border-radius: 0 150% 150% 0/0 100% 100% 0;
    transform: scaleY(1.5);
    border-right: 2px solid rgba(255,255,255,0.25);
    z-index: -2;
}
.navbar-nav .yellow:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../nematema/assets/img/Innbugv_mynd.png');
    background-position: right;
    background-repeat: no-repeat;
    background-size: 365px 567px;
    border-radius: 0 150% 150% 0/0 100% 100% 0;
    transform: scaleY(1.5);
    border-right: 2px solid rgba(255,255,255,0.25);
    z-index: -2;
}
/*Color classes*/
.purple-color {
    background-color: #A01BE6;
}
.green-color {
    background-color: #54AF9B;
}
.yellow-color {
    background-color: #CEC35F;
}
/* After class */
.after-class > * {
    z-index: 1;
}
.after-class::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 150% 150% 0/0 100% 100% 0;
    transform: scaleY(1.5);
    border-right: 2px solid rgba(255,255,255,0.25);
    z-index: 0;
    background-color: #333;
}
.navbar-nav .menu-item-has-children>a {
    font-size: 25px;
    color: #fff;
    font-weight: 700;
    position: absolute;
    top: 50%;
    left: 25%;
}
/* SUB MENU */
.navbar-nav li .sub-menu {
    position: absolute;
    top: 55%;
    left: 25%;
}
.navbar-nav li .sub-menu li {
    font-size: 20px;
    font-weight: 400;
    padding: 0;
    margin-left: -50px;
    line-height: 1.2;
    list-style: none;
    transition: all 0.2s ease-in-out;
    opacity: 0;
}
.navbar-nav li .sub-menu li a {
    color: #fff;
}
.slide-in {
    margin-left: 0!important;
    opacity: 1!important;
    transition: all 0.3s ease-in-out!important;
}


/*========== SEARCH ==========*/
section#search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    min-height: 100vh;
    background-color: #333333;
    z-index: 800;
    overflow-y: scroll;
}
section#search-overlay .top-section {
    display: flex;
    align-items: flex-end;
    height: 50vh;
    justify-content: center;
}
section#search-overlay .input-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
section#search-overlay #search-term {
    flex: 1;
    height: 140px;
    border-radius: 90px 90px 90px 90px;
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
    padding: 20px 50px;
    font-size: 50px;
    font-weight: 300;
    font-family: "Source Sans Pro", sans-serif;
}
section#search-overlay #search-term:focus {
    outline: none;
}
section#search-overlay #search-close {
    margin-left: 100px;
}
section#search-overlay #search-close img {
    height: 80px;
}

section#search-overlay .result-section {
    margin-top: 100px;
    padding-bottom: 100px;
}
#search-results {
    display: block;
    width: 95%;
    margin: 0 auto;
}
.results-container {
    max-width: 1744px;
}
.results-container .title {
    color: #fff;
    font-weight: 400;
    margin-bottom: 20px;
}
.results-container .the-results {
    padding: 0px 0px 30px 0px;
}
.results-container .the-results a {
    color: #fff;
    padding: 7px;
    display: block;
    transition: all 200ms ease-out;
    font-size: 18px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.results-container .the-results a:hover {
    background-color: #444;
}
.results-container .the-results a img {
    height: 75px;
    margin-right: 20px;
}
.results-container .the-results .post-title-search {
    font-weight: 400;
    margin-bottom: 3px;
}
.results-container .the-results .post-content-search {
    font-weight: 300;
    font-size: 18px;
    color: #aaa;
}
.results-container p {
    color: #fff;
}
.results-container .nothing {
    padding-bottom: 30px;
}


/*========== UNDERMENU ==========*/
section#undermenu {
    position: fixed;
    top: 100vh;
    left: 0;
    transform: translateY(-100%);
    padding: 22px 0px 36px 87px;
    background-color: #fff;
    z-index: 700;
}
section#undermenu a {
    color: #333333;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    margin-right: 87px;
}
section#undermenu a::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    height: 3px;
    width: 22px;
    background-color: rgba(51, 51, 51, 0.25);
}


/*========== HELP ==========*/
section#help {
    position: fixed;
    top: 90vh;
    left: 97%;
    transform: translate(-100%, -100%);
    z-index: 990;
}
section#help .help-icon {
    cursor: pointer;
}
section#help .help-icon img {
    height: 54px;
}
.help-form {
    background: #9A9A9A;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.25);
    padding: 40px;
    position: fixed;
    top: 50vh;
    transform: translate(-112%, -50%);
    left: 1000%;
    width: 375px;
    display: block;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    z-index: 990;
}
.help-form-show {
    left: 100%;
    opacity: 1;
}
.help-form .close-icon {
    cursor: pointer;
    display: block;
    text-align: right;
    position: absolute;
    top: 2%;
    left: 97%;
    transform: translateX(-100%);
    z-index: 999;

}
.help-form .close-icon img {
    height: 30px;
    width: 30px;
}
.help-form .phone {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3F1B56;
    border-radius: 23px;
    padding: 7px 30px;
    margin-bottom: 22px;
}
.help-form .phone p {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.help-form .phone img {
    height: 30px;
    width: auto;
}
.the-form .nf-form-title {
    display: none;
}
.the-form .nf-before-form-content {
    display: none;
}
.the-form .nf-field-container {
    margin-bottom: 8px;
}
.the-form .nf-form-content .listselect-wrap .nf-field-element div, 
.the-form .nf-form-content .ninja-forms-field {
    font-family: "Source Sans Pro";
}
.the-form .nf-form-content label {
    color: #ffffff;
}
.the-form .nf-form-content button, 
.the-form .nf-form-content input[type=button], 
.the-form .nf-form-content input[type=submit] {
    background-color: #3F1B56;
    border-radius: 23px;
    padding: 7px 30px;
    margin-bottom: 22px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}


/*========== NEWS ==========*/
section#news {
    display: none;
    position: absolute;
    top: 12vh;
    left: 0;
    background: #ED1164;
    padding: 50px 0;
    z-index: 100;
    width: 100vw;
}
section#news .news-container {
    width: 70%;
    margin: 0 auto;
}
section#news .news-flexer {
    display: flex;
    justify-content: space-between;
}
section#news .news {
    flex: 70%;
    max-width: 70%;
}
section#news .news .title {
    font-size: 27px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
section#news .news p {
    font-size: 16px;
    color: #fff;
}
section#news .buttons {
    flex: 20%;
    max-width: 20%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
section#news .buttons .news-button {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 25px;
    border: 2px solid #fff;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
}
section#news .buttons #close-news {
    cursor: pointer;
    color: #ED1164;
    background: #fff;
}


/*========================================
========== BEGIN: CUSTOM BLOCKS ==========
========================================*/

/*========================================
=========== END: CUSTOM BLOCKS ===========
========================================*/


/*========== PAGE STYLING ==========*/
.page-title-thumb {
    position: relative;
}
.page-thumb img {
    height: 60vh;
    width: 100%;
    object-fit: cover;
}
.page-title-container {
    position: absolute;
    top: 103%;
    left: 0;
    width: 80%;
    transform: translateY(-100%);
    padding: 25px 0;
}
.page-title {
    color: #fff;
    width: fit-content;
    margin-right: auto;
    padding-left: 350px;
}
main .page-content {
    margin: 0 auto;
    display: block;
    width: 100%;
}
main .page-content .default {
    margin: 0 auto 16px auto;
    max-width: 1200px;
	width: calc(100vw - 40px);
}


/*========== SINGLE STYLING ==========*/
.blog-post-meta {
    margin: 80px 0px 50px 0px;
}
.blog-post-meta span {
    margin-right: 10px;
}
.blog-post-date,
.blog-post-categories {
    font-size: 16px;
    font-weight: 300;
    color: #777777;
    margin-bottom: 10px;
}


/*========== DEFAULT WP BLOCKS ==========*/
.wp-block-table {
    padding: 50px 0;
    display: block;
    position: relative;
}
.wp-block-table table,
.wp-block-table figcaption {
    max-width: 1200px;
    width: calc(100vw - 40px);
    margin: 0 auto;
}
.wp-block-table figcaption {
    font-style: italic;
    margin-top: 20px;
    color: #777;
    padding-left: 10px;
}
.wp-block-table table thead tr {
    background: #777;
}
.wp-block-table table thead th {
    color: #fff;
}
.wp-block-table tbody tr:nth-child(odd) {
    background-color: #e8e8e8;
}
.wp-block-table td, .wp-block-table th {
    padding: 15px;
    color: #333;
}
.wp-block-separator {
    width: 40%;
    margin: 50px auto;
    border-top: 2px solid #eee;
}
.wp-block-image {
    width: 60%;
    padding: 25px 0;
    max-width: 1440px;
    margin: 0 auto!important;
}
.wp-block-image img {
    width: 100%;
    max-height: 100vh;
    object-fit: contain;
}
.wp-block-image figcaption {
    color: #777;
    font-style: italic;
    text-align: center;
    display: block!important;
}
.wp-block-quote {
    width: 60%;
    max-width: 1200px;
    margin: 30px auto;
    border-left: 4px solid #888;
    border-bottom: 2px solid #eee;
    padding: 15px 20px;
}
.wp-block-quote p {
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}
.wp-block-quote cite {
    color: #333;
    font-weight: 600;
    font-style: normal;
}
.wp-block-latest-posts {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}
.wp-block-latest-posts li {
    flex: 25%;
    max-width: 25%;
    margin: 0px 32px;
}
.wp-block-latest-posts__featured-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


/*========== FooGallery ==========*/
.foogallery {
    width: 60%!important;
    margin: 10px auto;
}


/*========== HALD STYLING ==========*/
.hald-container {
    width: 100%;
    margin: 0px auto;
}
.hald-content {
    box-shadow: 0 0 20px rgba(92, 92, 92, 0.25);
}
.hald-container .top {
    padding: 30px 30px 0px 30px;
    background-color: #ED1164;
    color: #fff;
    text-align: center;
    font-size: 18px;
    position: relative;
}
.hald-container .top p {
    color: #fff;
    margin-bottom: 0px;
}
.hald-container .hald-svg {
    width: 100%;
    position: relative;
    margin-top: -1px;
}
.hald-container .top .hald-switcher {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hald-container .top .hald-switcher #gigabyte {
    font-size: 45px;
}
.hald-container .top .hald-btn {
    cursor: pointer;
    user-select: none;
    height: 62px;
}
.hald-container .top .hald-btn-right {
    transform: rotate(180deg);
}
.hald-container .hald-settings {
    color: #707070;
    font-size: 16px;
}
.hald-container .hald-settings .hald-switch {
    position: relative;
    width: 75px;
    height: 40px;
}
.hald-container .hald-settings .hald-switch input {
    display: none;
}
.hald-container .hald-settings .hald-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #dedede;
    transition: .5s;
    box-shadow: 0px 0px 20px rgba(51, 51, 51, 0.25);
}
.hald-container .hald-settings .hald-slider:before {
    position: absolute;
    content: "";
    top: 5px;
    left: 5px;
    background-color: #ffffff;
    transition: .5s;
}
.hald-container .hald-settings .hald-abroad input:checked + .hald-slider {
    background-color: #ED1164;
}
.hald-container .hald-settings .hald-abroad input:checked + .hald-slider::before {
    transform: translateX(35px);
}
.hald-container .hald-settings .hald-round {
    border-radius: 35px;
}
.hald-container .hald-settings .hald-round::before {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.hald-container .hald-settings .hald-abroad {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px 30px;
    border-bottom: 2px solid #F5F5F5;
}
.hald-container .hald-settings .hald-subs {
    padding: 16px 30px 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.hald-container .hald-settings .hald-subs .the-number {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.hald-container .hald-settings .hald-subs #num-of-subs {
    color: #ED1164;
    font-size: 35px;
    font-weight: 700;
    margin-right: 10px;
}
.hald-container .hald-settings .hald-subs-arrows {
    display: flex;
    flex-direction: column;
}
.hald-container .hald-settings #up-arrow {
    margin-bottom: 8px;
    width: 40px;
    cursor: pointer;
}
.hald-container .hald-settings #down-arrow {
    transform: rotate(180deg);
    margin-top: 8px;
    width: 40px;
    cursor: pointer;
}
.hald-container .hald-price {
    padding: 20px 30px 20px 30px;
    background-color: #3F1B56;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hald-container .hald-price p {
    color: #ffffff;
    margin-bottom: 0px;
}
.hald-container .hald-price #calc-price {
    font-size: 35px;
    font-weight: 700;
}
.hald-container .hald-price img {
    height: 55px;
    width: 55px;
}


/*========== MOBILE ICONS ==========*/
section#mobile {
    position: fixed;
    top: 98vh;
    transform: translateY(-100%);
    display: none;
    justify-content: space-between;
    align-items: flex-start;
    width: 70vw;
    padding: 0 20px;
    z-index: 800;
}
.mobile-undirmenu-active {
    display: flex!important;
}
section#mobile .mobile-column .link {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 2px solid rgba(255,255,255,0.25);
    margin-bottom: 20px;
    display: block;
}
section#mobile .mobile-navbar-icons {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}
section#mobile .mobile-navbar-icons .mobile-navbar-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 50%;
    max-width: 50%;
    margin-bottom: 20px;
}
section#mobile .mobile-navbar-icons .mobile-navbar-icon img {
    height: 28px;
}
.mobile-undirmenu-btn-container {
    display: none;
    position: fixed;
    top: unset;
    bottom: 10px;
    left: 20px;
    z-index: 800;
}
.mobile-undirmenu-btn-container .mobile-undirmenu-btn {
    height: 30px;
    width: auto;
}


/*========== FOOTER ==========*/
footer {
    background-color: #333333;
    padding: 56px 0px 96px 0;
}
footer p {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}
footer .footer-flex-1 {
    flex: 1;
}
footer .footer-flex-2 {
    flex: 2;
}
footer .footer-flex-3 {
    flex: 3;
}
.footer-links {
    display: flex;
}
.footer-column {
    margin-right: 30px;
    border-right: 1px solid rgba(255,255,255,0.3);
    padding-right: 30px;
}
.footer-links .footer-column:last-child {
    border: none;
}
.footer-column .footer-spacer {
    padding-bottom: 70px;
}
.footer-logo {
    height: 27px;
}
.footer-column h1 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}
.footer-column .footer-bold {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
}
.footer-column .social-media {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0 54px 0px;
}
.footer-column .social-media .social-media-link {
    position: relative;
    margin: 0px 26px 25px 0px;
}
.footer-column .social-media .social-media-link img {
    height: 47px;
}
.footer-column .nema-links {
    padding-bottom: 20px;
}
.footer-column .nema-link {
    margin-bottom: 7px;
}
.footer-column .nema-link a {
    font-size: 16px;
    font-weight: 400;
    color: #a5a5a5;
    text-decoration: underline;
}
.footer-column .menu {
    list-style: none;
}
.footer-column .menu .menu-item a {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}
.footer-copyright {
    padding-top: 80px;
}


/****************************************
*****************************************
************* MEDIA QUERIES *************
*****************************************
****************************************/

/********** Less than 1450px **********/
@media screen and (max-width: 1450px) {

    /*========== MAIN GENERAL STYLING ==========*/
    main h1 {
        font-size: 60px;
    }


    /*========== HEADER ==========*/
    .navbar .main-menu img {
        height: 65px;
    }
    .navbar .search-icon {
        padding-left: 20px;
        margin-left: 90px;
    }
    .navbar .link,
    .lang-item a {
        font-size: 15px;
    }
    .navbar-icon {
        padding-right: 20px;
        margin-right: 20px;
    }
    .navbar-icon img {
        height: 28px;
        margin-bottom: 4px;
    }
    .navbar-icon p {
        font-size: 14px;
    }
    .navbar .navbar-brand img {
        height: 26px;
    }


    /*========== SEARCH ==========*/
    section#search-overlay #search-term {
        font-size: 50px;
        height: 110px;
    }
    section#search-overlay #search-close {
        margin-left: 50px;
    }
    section#search-overlay #search-close img {
        height: 70px;
    }


    /*========================================
    ========== BEGIN: CUSTOM BLOCKS ==========
    ========================================*/

    /*========================================
    =========== END: CUSTOM BLOCKS ===========
    ========================================*/


    /*========== PAGE STYLING ==========*/
    .page-title {
        padding-left: 100px;
    }
    main .page-content .default {
        max-width: 1140px;
    }


    /*========== FOOTER ==========*/
    .footer-column .social-media .social-media-link {
        margin: 0px 16px 16px 0px;
    }
}


@media screen and (max-width: 1250px) {

	/*===== GENERAL BLOCK STYLING =====*/
    main .page-content .default {
        max-width: 1000px;
    }
}


/********** Less than 1024px **********/
@media screen and (max-width: 1024px) {

    /*========== MAIN GENERAL STYLING ==========*/
    main h1 {
        font-size: 42px;
    }
    main h2 {
        font-size: 35px;
    }
    main figcaption {
        font-size: 16px;
    }


    /*========== General mobile stylings ==========*/
    .hide-mobile {
        display: none!important;
    }
    .show-mobile {
        display: block;
    }

    /*========== HEADER ==========*/
    .header-container {
        width: calc(100vw - 36px);
    }
    .navbar .main-menu {
        left: 18px;
    }
    .navbar .main-menu img {
        height: 56px;
    }
    .navbar .search-icon {
        padding: 8px 16px;
        margin: 0px 14px 0px 80px;
        border-right: 2px solid rgba(255,255,255,0.25);
    }
    .navbar .search-icon img {
        height: 24px;
    }
    .navbar-icon {
        padding-right: 20px;
        margin-right: 20px;
    }
    .navbar-icon img {
        height: 28px;
        margin-bottom: 4px;
    }
    .navbar-icon p {
        display: none;
    }


    /*========== MENU ==========*/
    .navbar-nav {
        flex-direction: column;
        margin-right: 0;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 120px;
    }
    .navbar-nav .menu-item-has-children {
        flex: none;
        width: 100%;
        height: auto;
        align-items: flex-start;
    }
    .navbar-nav .red::before, 
    .navbar-nav .purple::before, 
    .navbar-nav .green::before, 
    .navbar-nav .yellow::before {
        content: none;
    }
    .navbar-nav .red:hover::after,
    .navbar-nav .purple:hover::after,
    .navbar-nav .green:hover::after,
    .navbar-nav .yellow:hover::after {
        content: none;
    }
    /* DOTS */
    .navbar-nav .red>a::before,
    .navbar-nav .purple>a::before,
    .navbar-nav .green>a::before,
    .navbar-nav .yellow>a::before {
        left: 90%;
        top: 7px;
        transform: none;
        width: 15px;
        height: 15px;
    }
    .navbar-nav .menu-item-has-children>a {
        position: unset;
        margin-left: 20px;
        margin-bottom: 50px;
        display: block; /* May fail */
    }
    .navbar-nav li .sub-menu {
        display: none;
        position: relative;
        left: 0;
        top: 0;
        margin-top: -30px;
        margin-left: 20px;
    }
    .sub-menu-active {
        font-size: 20px!important;
        font-weight: 300!important;
        color: #eaeaea!important;
    }


    /*========== SEARCH ==========*/
    section#search-overlay #search-term {
        font-size: 35px;
        height: 100px;
    }
    section#search-overlay #search-close {
        margin-left: 40px;
    }
    section#search-overlay #search-close img {
        height: 50px;
    }
    .results-container .the-results a img {
        height: 40px;
    }
    .results-container .the-results a {
        padding: 12px;
    }
    section#search-overlay .result-section {
        margin-top: 0px;
    }


    /*========== PAGE STYLING ==========*/
    .page-title {
        padding-left: 80px;
    }
    main .page-content .default {
        max-width: 900px;
    }


    /*========== FooGallery ==========*/
    .foogallery {
        width: 75%!important;
    }


    /*========== UNDERMENU ==========*/
    section#undermenu {
        display: none;
        padding: 12px 20px 100px 20px;
        width: 100vw;
        z-index: 750;
        top: unset;
        bottom: 0px;
        transform: none;
    }
    .undermenu-active {
        display: flex!important;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        transition: .5s;
    }
    section#undermenu a {
        font-size: 15px;
        margin: 15px;
        flex: 35%;
        max-width: 35%;
    }


    /*========== MOBILE ==========*/
    .mobile-undirmenu-btn-container {
        display: block;
    }


    /*========== FOOTER ==========*/
    footer {
        padding: 56px 0px 34px 0;
    }
    .footer p {
        font-size: 15px;
    }
    .footer-column .footer-bold {
        font-size: 15px;
    }
    .footer-links {
        flex-direction: column;
    }
    .footer-logo {
        align-self: flex-end;
        margin-bottom: 35px;
    }
    .footer-column {
        margin: 0px 0px 15px 0px;
        border-bottom: 1px solid rgba(255,255,255,0.3);
        border-right: none;
        padding: 0px 0px 20px 0px;
    }
    .footer-column .footer-spacer {
        padding-bottom: 25px;
    }
    .footer-column .social-media {
        padding: 20px 0 29px 0px;
    }
    .footer-copyright {
        padding: 0px;
    }
}


/********** Less than 768px **********/
@media screen and (max-width: 768px) {

    /*========== MAIN GENERAL STYLING ==========*/
    main h1 {
        font-size: 40px;
    }
    main h2 {
        font-size: 27px;
    }
    main h3 {
        font-size: 24px;
    }
    main h4 {
        font-size: 22px;
    }
    main h5 {
        font-size: 20px;
    }
    main h6 {
        font-size: 18px;
    }


    /*========== HEADER ==========*/
    section#header {
        padding-top: 20px;
        padding-bottom: 20px;
    }


    /*========== SEARCH ==========*/
    section#search-overlay .top-section {
        align-items: center;
    }
    section#search-overlay #search-term {
        font-size: 27px;
        height: 60px;
        padding: 25px 20px;
    }
    section#search-overlay #search-close {
        margin-left: 10px;
    }
    section#search-overlay #search-close img {
        height: 30px;
    }


    /*========== NEWS ==========*/
    section#news {
        top: 2vh;
    }
    section#news .news-container {
        width: 80%;
    }
    section#news .news-flexer {
        flex-direction: column;
    }
    section#news .news {
        flex: 100%;
        max-width: 100%;
        margin-bottom: 25px;
    }
    section#news .buttons {
        flex-direction: row;
        justify-content: space-between;
        flex: 90%;
        max-width: 90%;
    }


    /*========== HELP ==========*/
    section#help {
        top: unset; /*Fyrr onki*/
        bottom: 12px;
    }
    section#help .help-icon {
        /*position: fixed;
        top: 85vh;
        left: 100%;
        transform: translateX(-115%);
        z-index: 991;*/
    }
    section#help .help-icon img {
        height: 40px
    }
    .help-form {
        width: 100vw;
        height: 100%;
        top: 0;
        transform: translateX(-100%);
        overflow-y: scroll;
    }
    .help-form .phone {
        width: 210px;
    }
    .help-form .close-icon {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }


    /*========== PAGE STYLING ==========*/
    .page-title-container {
        width: 90%;
    }
    .page-title {
        padding-left: 20px;
    }


    /*========== SINGLE STYLING ==========*/
    .blog-post-meta {
        margin: 50px 0px 50px 0px;
    }


    /*========== DEFAULT WP BLOCKS ==========*/
    .wp-block-quote,
    .wp-block-image,
    .wp-block-table table, 
    .wp-block-table figcaption {
        width: 80%;
    }
    .wp-block-table figcaption {
        padding-left: 0px;
    }
    .wp-block-table table {
        width: max-content!important;
        overflow: scroll;
    }


    /*========== FooGallery ==========*/
    .foogallery {
        width: 90%!important;
    }


    /*========== MOBILE ICONS ==========*/
    section#mobile {
        top: unset; /*Fyrr onki*/
        bottom: 0px;
        transform: none;
    }
}


/********** Less than 568px **********/
@media screen and (max-width: 568px) {}


