/* reset all */

html {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    font: 16px;
}



*,
*:before,
*:after {
    box-sizing: inherit;
}

a,
img {
    outline: none;
    border: none;
}

img {
    display: inline-block;
    width: 100%;
}



/* main style */

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

u {
    text-decoration: underline;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}

p {
    margin: 0 0 .625rem;
}

h1 {
    display: block;
    font-size: 1.625rem;
    font-weight: bold;
    line-height: 1;
    margin: 0 0 .625rem;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: 1.125rem;
    line-height: 1;
    width: 77%;
    color: #054D95;
    padding: .312rem 3.125rem 0;
    margin: 0 -3.125rem .625rem;
}

section:first-of-type h2 {
    text-align: center;
    width: auto;
    margin: 0 auto .625rem;
}

/*
section:nth-of-type(2) h2 {
    margin-bottom: 0;
}*/

h3 {
    color: #0256A0;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
}

h3 span {
    font-weight: 100;
}

ul {
    padding: 0;
    margin: 0 0 .625rem 0;
    list-style: none;
}

ul li,
ol li {
    padding-left: 20px;
    margin-bottom: .437rem;

}

ul li:before,
ol li:before {
    content: "\2022";
    float: left;
    margin-left: -20px;
    font-size: .75rem;
    line-height: 1.4
}

ol {
    padding: 0;
    margin: 0 0 .625rem 0;
    list-style: none;
    float: right;
    width: 85%;
}


#wrapper > article > section:nth-child(4) > ul > li:nth-child(3) {
    letter-spacing: -0.3px;
}

/* body set-up */

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: .875rem;
    line-height: 1.4;
    color: #000;
    background: #fff;
    font-weight: normal;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 56.25rem;
    margin: 0.75em auto;
    padding: 1.562rem 1.562rem .937rem;
    border: thin solid #9C9EA1;
    background: url(../images/bg.JPG) no-repeat top left;
    background-size: cover
}



/* content */

header {
    margin: 0 0 .937rem;
    padding: 1.562rem 1.562rem .312rem;
    background: rgba(255, 255, 255, 0.92);
}

header img {
    display: block;
}


header section:nth-of-type(1) a:first-of-type {
    float: left;
    display: block;
    max-width: 7.5rem;
    margin: 1.375rem 0 0;
}

/*header section:nth-of-type(1) a:last-of-type {
    float: right;
    display: block;
    max-width: 5.687rem;
    margin: 0 0 0;
}*/

header section:nth-of-type(1) element {
    float: left;
    width: 80%;
    padding-left: 2.187rem
}

header section:nth-of-type(1) element p {
    color: #054D95;
    font-weight: bold;
    font-size: 1rem;
    margin: 0 0 .312rem;
}

header section:nth-of-type(2) p {
    width: 25%;
    float: left;
    color: #054D95;
    font-weight: bold;
    display: inline-block;
    margin: 0;
    line-height: 0.8
}

header section:nth-of-type(2) p span span {
    float: left;
    width: 80%;
    margin: -8px auto 0;
}

header section:nth-of-type(2) p span {
    float: right;
    width: 80%;
    margin-top: .312rem;
}

header section:nth-of-type(2) p:last-of-type {
    width: 20%;
    color: #054D95;
    font-weight: bold;
    float: right;

}

header section:nth-of-type(2) p img {
    display: inline-block;
    max-width: 1.937rem;
    position: relative;
    top: 20px;
    margin-right: .625rem;
}

/*
header section:nth-of-type(2) p:first-of-type img {
    max-width: 60px;
}*/

#wrapper > header > section:nth-child(2) > p:nth-child(1) > img {
    /*    background: #034B96;*/
    width: 3.125rem;
    height: 2.062rem;
    border-radius: .5rem;
    padding: 1px;
}

header section:nth-of-type(2) p small {
    width: 1.875rem;
    height: 1.875rem;
    background: #0256A0;
    margin-top: 1.062rem;
    display: inline-block;
    position: relative;
    top: -1.062rem;
    float: left;
    left: -.312rem;
    border-radius: .312rem;
}

#wrapper > aside {
    display: block;
    margin: 0 0 .937rem;
}

#wrapper > aside img {
    display: block;
}

article section {
    padding: .625rem 1.25rem .312rem 1.562rem;
    background: #fff;
    margin: 0 0 .625rem;
}

article section:nth-of-type(2) aside {
    float: left;
    width: 15%;
}

article section:nth-of-type(2) aside img {
    display: block;
    max-width: 6.562rem;
    margin: 0rem 0 0;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

/*----------------- footer --------------------*/

footer {
    padding: .625rem 1.25rem .312rem 1.562rem;
    background: #fff;
    margin: 0 0;
}

footer address {
    width: 15%;
    float: left;
    ;
}

footer section {
    float: right;
    width: 83%;
    position: relative;
}

footer p {
    letter-spacing: -0.1px;
    margin: 0 0 .5rem;
}

footer section p:last-of-type {
    float: none;
}

footer section img {
    display: block;
    max-width: 18.75rem;
    float: none;
    margin: 1.25rem 0 0;
    background: red;
    position: absolute;
    bottom: 15px;
    right: 0;
}

footer p:nth-of-type(5) a {
    color: #054D95;
    text-decoration: none;
    font-weight: bold;
}

footer p:nth-of-type(3) a {
    text-decoration: underline;
}

footer p span {
    color: #054D95;
    font-weight: bold;
}



.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 1rem;
    margin-top: -1.375rem;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    transition: 0.6s ease;
    border-radius: 0 .187rem .187rem 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: .187rem 0 0 .187rem;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
}



/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: .937rem;
    width: .937rem;
    margin: 0 .125rem;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* Caption text */
.text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    font-size: 1.125rem;
    width: 30%;
}


.mySlides .text1 {
    color: #ffff;
    bottom: 40%;
    left: 5%;

}

.mySlides .text2 {
    color: #ffff;
    bottom: 44%;
    right: 6%;
}

.mySlides .text3 {
    color: #ffff;
    bottom: 39%;
    right: 6%;
}

.mySlides .text4 {
    color: #ffff;
    bottom: 39%;
    right: 6%;
}

.mySlides .text5 {
    color: #ffff;
    bottom: 39%;
    left: 6%;
}

.mySlides .text6 {
    color: #ffff;
    bottom: 39%;
    left: 6%;
}

.mySlides .text7 {
    color: #ffff;
    bottom: 39%;
    left: 6%;
}


.dot {
    display: none;
}

.slider {
    overflow: hidden;
    margin: 0 -1.25rem -.312rem -1.562rem;
    display: block;
}


footer a {
    color: #0356A1;
}

@media only screen and (max-width:56.187rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }


    header {
        margin: 0 0 .937rem;
        padding: .625rem;
        background: #fff;
    }

    header section:nth-of-type(1) a {
        float: none;
        display: block;
        max-width: 7.5rem;
        margin: 0 auto .625rem;
    }

    header section:nth-of-type(1) a:first-of-type {
        float: none;
        display: block;
        max-width: 7.5rem;
        margin: 0 auto 0;
    }

    header section:nth-of-type(1) a:last-of-type {
        float: none;
        display: block;
        max-width: 5.687rem;
        margin: 0 auto 0;
    }

    header section:nth-of-type(1) element {
        float: none;
        width: 100%;
    }

    header section:nth-of-type(1) element p {
        color: #054D95;
        font-weight: bold;
        font-size: 1rem;
    }


    header section:nth-of-type(2) p {
        width: auto;
        float: none;
        color: #054D95;
        font-weight: bold;
        margin: 0 0 .312rem;
    }

    header section:nth-of-type(2) p {
        width: 25%;
        float: left;
        color: #054D95;
        font-weight: bold;
        display: inline-block;
        margin: 20px 0 5px;
        line-height: 1.1;
    }

    header section:nth-of-type(2) p span span {
        float: left;
        width: 100%;
        margin: 0 0 -10px;
    }


    header section:nth-of-type(2) p:last-of-type {
        width: auto;
        float: none;
        color: #054D95;
        font-weight: bold;
        text-align: 
    }

    header section:nth-of-type(2) p img {
        display: inline-block;
        max-width: 1.937rem;
        position: relative;
        top: .625rem;
        margin-right: .625rem;
    }


    article section {
        padding: .625rem;
        background: #fff;
        margin: 0 0 .625rem;
    }

    article section:nth-of-type(2) aside {
        float: none;
        width: auto;
    }

    article section:nth-of-type(2) aside a {
        display: block;
        margin: 0 auto .625rem;
        max-width: 6.562rem;
        display: block;
    }

    article section:nth-of-type(2) aside img {
        display: block;
        margin: 0;
    }

    .slider {
        margin: 0 -.625rem -.625rem;
        padding: 0;
    }

    footer {
        padding: .625rem;
        background: #fff;
        margin: 0 0;
    }

    footer address {
        width: auto;
        float: none;
    }

    footer address img {
        max-width: 6.75rem;
        float: none;
    }

    footer section {
        float: none;
        width: auto;
    }

    footer p {
        letter-spacing: -0.1px;
        margin: 0 0 .5rem;
    }

    footer p a {
        color: #054D95;
        text-decoration: underline;
        font-weight: bold;
    }

    footer p span {
        color: #054D95;
        font-weight: bold;
    }

    footer section p:last-of-type {
        float: none;
        width: auto;
    }

    footer section img {
        display: block;
        max-width: 18.75rem;
        float: none;
        margin: 1.25rem 0;
        position: static;
    }

    ol {
        width: auto;
        float: none;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: .875rem;
        margin: 0 -1.25rem;
        padding: .312rem 1.25rem;
    }

    a {
        font-weight: bold;
    }

    ul li,
    ol li {
        padding-left: .937rem;
    }

    ul li:before,
    ol li:before {
        margin-left: -.937rem;
    }

    header section:nth-of-type(2) p span {
        float: none;
        width: auto;
        margin-top: 0px;
        display: inline-block;
    }

    header section:nth-of-type(2) p {
        width: auto;
        float: none;
        color: #054D95;
        font-weight: bold;
        display: block;
        margin: 10px 0 5px;
        line-height: 1.1;
    }

    header section:nth-of-type(2) p br {
        display: none;
    }

    header section:nth-of-type(2) p small {
        float: none;
        display: inline-block;
        top: .625rem;
        margin: 0;
    }
}


/*Second slide*/

@keyframes slidy {
    0% {
        left: 0%;
    }

    30% {
        left: 0%;
    }

    33% {
        left: -100%;
    }

    64% {
        left: -100%;
    }

    67% {
        left: -200%;
    }

    97% {
        left: -200%;
    }

    100% {
        left: -300%;
    }
}



.slider figure {
    position: relative;
    width: 400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 18s slidy infinite;
}

figure img {
    width: 25%;
    float: left;
}

/*End second slide*/

@media only screen and (max-width:37.5rem) {
    .text {
        position: absolute;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        width: 30%;
    }


    .mySlides .text1 {
        color: #ffff;
        bottom: 26%;
        right: 6%;

    }

    .mySlides .text2 {
        color: #ffff;
        bottom: 35%;
        right: 6%;
    }

    .mySlides .text3 {
        color: #ffff;
        bottom: 30%;
        right: 6%;
    }

    .mySlides .text4 {
        color: #ffff;
        bottom: 30%;
        left: 6%;
    }

    .mySlides .text5 {
        color: #ffff;
        bottom: 35%;
        left: 6%;
    }

    .mySlides .text6 {
        color: #ffff;
        bottom: 35%;
        left: 6%;
    }

    .mySlides .text7 {
        color: #ffff;
        bottom: 30%;
        left: 6%;
    }

}

@media only screen and (max-width:29.937rem) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }

    header section:nth-of-type(2) p:nth-of-type(3) span {
        margin-left: 0px
    }



}
