


body {
    background: url("../img/testi2.png") no-repeat center;
    /*background-size:100%;*/
    background-size: cover;
    color: #7E96B3;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 16px;


}


body {
    font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

a {
    color: #576885;
    font-size: 17px;
    text-decoration: none;
    border-bottom: 1px solid;
    border-color: #CCD6E4;
    padding-bottom: 1px;
    transition: border-color 0.2s, color 0.2s;
}
/*.Header-nav a {*/
    /*color: #536F90;*/
/*}*/

a:hover {
    border-color: #536F90;
    color: #536F90;
}

h2 {
    font-size: 36px;
    color: #536F90;
    font-weight: normal;
}



.Button {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: normal;
    border: 2px solid #7E96B3;
    border-radius: 6px;
    padding: 15px 30px;
    display: inline-block;
    line-height: 1em;
}

.Header {
    overflow: hidden;
    border-top: 4px solid #536F90;
    padding: 30px 0;
}



.Header-nav {
    float: none;
    margin-top: 8px;
}

.Header-nav a {
    border: 2px solid transparent;
    border-radius: 10%;
    padding: 3px;
    margin: 0 10px;
    margin-bottom: 5px;
    display: inline-block;
}
.Header-nav a:hover {
    border: 2px solid #536F90;
    border-radius: 10%;
}

.Header-nav a.active {
    color: #536F90;
}

@media only screen and (max-width: 700px) {
    .Header {
        padding: 15px 0;
        text-align: center;
    }

    .Header-nav {
        float: none;
    }


}

.Hero {
    border-top: 4px solid #536F90;
    border-bottom: 4px solid #536F90;
    border-radius: 10%;
    /*background: url("../img/metsa1.png") no-repeat center;*/
    background-size: cover;
    /*background-image: url("../img/clouds.jpg");*/

    /*border: dotted #fff;*/
    /*border-width: 2px 0;*/
    padding: 60px 0;
    color: #7E96B3;
}
article {
    /*border-left: 2px solid #536F90;*/
    /*border-right: 2px solid #536F90;*/
    /*border-left: 2px solid #536F90;*/
    /*padding: 30px;*/
}

.Hero h2 {
    color: #536F90;
    font-size: 35px;
    margin: 0;
}

.Hero p {
    font-size: 20px;
    margin: .5em 0 0;
}

@media only screen and (max-width: 700px) {
    .Hero {
        padding: 20px 0;
    }
}

.Footer {
    text-align: center;
    margin: 100px 0;
    line-height: 2em;
}

.Footer a {
    border: 0;
}

.Footer-nav {
    margin-bottom: 5px;
}

.Footer-nav a, .Footer-copyright span {
    margin: 0 8px;
}

@media only screen and (max-width: 700px) {
    .Footer {
        margin: 30px 0;
    }
}
img {
    border: 1px solid #ddd; /* Gray border */
    border-radius: 4px;  /* Rounded border */
    padding: 5px; /* Some padding */
    width: 150px; /* Set a small width */
}
/* Add a hover effect (blue shadow) */
img:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}
.Docs {
    padding: 30px 0;
}


.Docs-nav {
    float: left;
    width: 275px;
}

.Docs-nav h4 {
    margin: 10px 0;
}

.Docs-nav ul {
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.Docs-nav a {
    border: 0;
    font-size: 1.2em;
}

.Docs article {
    margin-left: 275px;
    color: #444;
    font-size: 18px;
}


.Docs h1 {
    color: #3C5675;
    font-size: 36px;
    font-weight: normal;
    margin: 0 0 .5em;
}

.Docs h2 {
    color: #3C5675;
    font-size: 26px;
    font-weight: normal;
    margin: 1.5em 0 .5em;
}

.Docs h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 1.5em 0 .5em;
}

.Docs h4 {
    color: #3C5675;
    font-size: 20px;
    font-weight: normal;
}

.Docs blockquote {
    background: #EFF2F6;
    color: #7E96B3;
    margin-left: 0;
    margin-right: 0;
    padding: 1px 20px;
    border-radius: 4px;
}

.Docs code {
    font-size: 90%;
}

.Docs-sectionNav {
    text-align: center;
    margin-top: 50px;
}

@media only screen and (max-width: 700px) {
    .Docs-nav {
        float: none;
        width: auto;
    }

    .Docs article {
        margin: 0;
    }
}


.Header {
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -ms-animation-duration: 0.5s;
    -o-animation-duration: 0.5s;
    animation-duration: 0.5s;
}

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

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

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

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

.fadeIn {
    -webkit-animation-name: fadeIn;
    -moz-animation-name: fadeIn;
    -o-animation-name: fadeIn;
    animation-name: fadeIn;
}

@-webkit-keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@-moz-keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@-o-keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeUp {
    -webkit-animation-name: fadeUp;
    -moz-animation-name: fadeUp;
    -o-animation-name: fadeUp;
    animation-name: fadeUp;
}

@-webkit-keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@-moz-keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@-o-keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.Header {
    -webkit-animation-name: fadeDown;
    -moz-animation-name: fadeDown;
    -o-animation-name: fadeDown;
    animation-name: fadeDown;
}
.Header {
    animation-delay: 1s;
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    -o-animation-delay: 1s;
}
@media only screen and (max-width: 700px) {
    .Docs-nav {
        float: none;
        width: auto;
    }

    .Docs article {
        margin: 0;
    }
}
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}