*, 
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}   


//color-variables 
$primary-color-dark: #173e43;
$primary-color: #3fb0ac;

$grey-color-light: #dddfd4;
$font-color: #2b2b2b; 


$body-background: #f3f3f3 !default;
$body-font-family: 'Roboto Slab', serif !default;
$global-weight-normal: 400 !default;
$global-lineheight: 1.5 !default;
$body-font-color: #000000 !default;
$base-font-size: 100% !default;
$global-width: 1200 !default;

$header-font-style: normal !default;
$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace !default;
$font-family-serif: 'serif' !default;
$header-color: inherit !default;
$header-lineheight: 1.4 !default;
$header-margin-bottom: 0.5rem !default;
$small-font-size: 80% !default;

$header-small-font-color: #2b2b2b !default;
$paragraph-lineheight: 1.5 !default;
$paragraph-margin-bottom: 1rem !default;

$header-styles: (
    small: (
        'h1': ('font-size': 24),
        'h2': ('font-size': 20),
        'h3': ('font-size': 19),
        'h4': ('font-size': 18),
        'h5': ('font-size': 17),
        'h6': ('font-size': 16),
    ),
    medium: (
        'h1': ('font-size': 48),
        'h2': ('font-size': 40),
        'h3': ('font-size': 31),
        'h4': ('font-size': 25),
        'h5': ('font-size': 20),
        'h6': ('font-size': 16),
    ),
) !default;

$breakpoints: (
    small: 0,
    medium: 640px,
    large: 1024px,
    xlarge: 1200px,
);

html {
    box-sizing: border-box;
    font-size: $base-font-size;
    scroll-behavior: smooth;
}



img{
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    -ms-interpolation-mode: bicubic;
}

figure figcaption {
    text-align: center;
    background-color: lighten($primary-color, 40%);
    padding: 0.2rem;
    border-bottom: 2px solid $primary-color-dark;
}

:focus {
    outline: 2px solid $primary-color;
}
::selection {
    background: $primary-color;
    color: #ffffff;
}
::-moz-selection {
    background: $primary-color;
    color: #ffffff;
}

$header-font-family: $body-font-family !default;
$header-font-weight: $global-weight-normal !default;


div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}
p {
    margin-bottom: $paragraph-margin-bottom;
    font-size: 18px;
    line-height: $paragraph-lineheight;
    -moz-osx-font-smoothing: grayscale;
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; 
}



hr {
    clear: both;
    height: 0;
    margin: rem-calc(20) auto;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid grey;
    border-left: 0;
}

strong, b  {   
    font-weight: bold;  
}
em, i {   
    font-style: italic; 
}
small {
    font-size: $small-font-size;
    line-height: inherit;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-style: $header-font-style;
    font-weight: $header-font-weight;
    line-height: $header-lineheight;
    margin-bottom: $header-margin-bottom;
    text-rendering: optimizeLegibility;
    word-break: break-word;
    small {
        line-height: 0;
        color: $header-small-font-color;
    }
}

a {
    color: $primary-color;
    text-decoration: none;
    &:hover {
        color: $primary-color-dark;
        transition: 0.3s all ease-in-out;
    }
}

blockquote {
    font-style: italic; 
    padding: 1rem;
    margin: 0 1rem;
    background-color: lighten($primary-color, 40%);
    border-left: 4px solid $primary-color;
    font-weight: 600;
    &, p {
        line-height: $paragraph-lineheight;
    }
}
cite {
    &:before {
        content: '—';
    }
}
  // Lists



ul, ol, dl {
    margin-bottom: $paragraph-margin-bottom;
    list-style-position: outside;
    line-height: $paragraph-lineheight;
    font-size: 18px;
}

li {
    font-size: 18px;
    margin-bottom: 0.5rem;
}

ul {
    margin-left: 1.25rem;
    list-style-type: disc;
    
}

ol {
    margin-left: 1.25rem;
}

ul, ol {
    & {
        margin: 1rem 0 1rem 1.5rem;
    }
}

dl {
    margin-bottom:  1rem;
    dt {
      margin-bottom: 0.2rem;
      font-weight: 600;
    }
    dd {
        margin-bottom: 0.8rem;
    }
}

abbr, abbr[title] {
    border-bottom: 1px dashed RED;
    cursor: help;
    text-decoration: none;
}

figure {
    margin: 0;
}

pre {
    font-family: $font-family-monospace;
    margin-bottom: 2.5rem;
    font-size: 1rem; 
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;
    > code {
        display: block;
        padding: 1rem 1.5rem;
        white-space: pre;
    }
}
code {
    
    border: none;
    background: $grey-color-light;
    // border: 1px solid darken($grey-color-light, 25%);
    border-radius: 4px;
    font-family: $font-family-monospace;
    font-size: 1rem; 
    overflow: auto;
}

table {
    border-collapse: collapse;
    margin-bottom: $paragraph-margin-bottom;
    width: 100%;
    border: 2px solid $primary-color-dark;
    
}

thead {
    background-color: $primary-color-dark;
    color: white;
    font-weight: 600;
    border: 1px solid $font-color;
    tr th {
        padding: .5rem;
        text-align: center;
    }
}
tr, td {
    border: 1px solid $font-color;
    
}
th, td {
    text-align: left;
    padding: 0.5rem;
    
}


body {
   margin: 0;
   padding: 0;
   font-family: 'Lato', sans-serif;
   color: $font-color;
   font-weight: 400;
}

.fa-home {
    font-size: 135%;
}

.notice {
    background-color: green;
}
@import "components/header";
@import "components/headertwo";
@import "components/search-form";
@import "components/homeDefault";
@import "components/home-2";
@import "components/home-3";
@import "components/home-4";
@import "components/single-default";
@import "components/author";
@import "components/post-nav";  
@import "components/comments";
@import "components/mob-home";
@import "components/mob-header";
@import "components/widgets";
@import "components/footer";

@import "objects/wp";
@import "objects/util";

.errorheading {
    border-bottom: 3px solid $primary-color-dark;
    h2 {
        padding: 2rem;
        text-align: center;
        font-size: 50px;

        @media only screen and (max-device-width: 999px) {
            font-size: 200%;
            padding: 1rem;
        } 
    }
}
.errorpage {
    background-image: linear-gradient(to right bottom, $primary-color-dark, $primary-color);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    @media only screen and (max-device-width: 999px) {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-gap: 0;
        // background-color: darkmagenta;
    }

    & > * {
        text-align: center;
        margin: auto 0;
        @media only screen and (max-device-width: 999px) {
            margin: 0;
        }
    }
}


.fournotfour {
    padding: 4rem 2rem;
    // text-align: center;
    // margin: auto 0;
    color: white;
    text-shadow: 0 2px 2px $primary-color-dark;

    
    h2{
        font-size: 60px;
        line-height: 150%;
        @media only screen and (max-device-width: 999px) {
            font-size: 13vw;        
        }
    }
    p {
        font-size: 25px;
        font-weight: 600;
        line-height: 150%;
        @media only screen and (max-device-width: 999px) {
            font-size: 200%;
            line-height: 150%;
        }
    }

}
.homebox {
    padding: 2rem; 
    
    p {
        background-image: linear-gradient(to right bottom, $primary-color, $primary-color-dark);
        padding: 1rem;
        border-radius: 10px;
        font-size: 25px;
        text-shadow: 0 2px 2px $primary-color-dark;
        transition: 1s all ease-in-out;
        margin-bottom: 1rem;
        @media only screen and (max-device-width: 999px) {
            margin-bottom: 2rem;
        }
        &:hover {
            background-image: linear-gradient(to right bottom, $primary-color-dark, $primary-color);
            transition: 1s all ease-in-out;
        }
        a {
            color: white;
            font-weight: 600;
        }
    }
}

.u-screen-reader-text {
    position:absolute; 
    left:-10000px; 
    top:auto; 
    width:1px; 
    height:1px; 
    overflow:hidden;
}

.u-skip-link {
    position:absolute; 
    left:-10000px; 
    top:auto; 
    width:1px; 
    height:1px; 
    overflow:hidden;
    &:focus {
        position:absolute; 
        left: 20px;
        top: 20px;
        background: #ffffff;
        padding: 10px 15px;
        width:auto; 
        height:auto; 
    }
}

.u-responsive-video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
    iframe {
        position: absolute;
        top:0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}