@import url(https://fonts.googleapis.com/css?family=Quicksand:400,500,700);
* {
    margin: 0;
    padding: 0;
}
html {
    box-sizing: border-box;
}
body {
    width: 100%;
    height: 100%;
    font-family: Quicksand, sans-serif;
}

/* Miscellaneous definitions */

.navbar {
    padding: 1rem;
}

.navbar a {
    font-size: 1.3rem;
}

.navbar a.navbar-brand {
    font-size: 2.0rem;
}

#navbarSupportedContent a.nav-link {
    color: #FFFFFF;
}

p::first-letter {
    font-size: 1.6rem;
}

.dropdown-item,
li,
ol li,
p,
.table-fill,
footer  {
    font-size: 1.5rem;
}

.container {
    width: 100%;
    max-width: 80rem;
    padding: 3rem 2rem;
}

a {
    color: #ffffff;
    text-decoration: none !important;
}

ul {
    list-style: circle inside;
}

.l-1 li {
    color: #000000;
}

.l-2 li {
    padding: 0 1rem;
    color: #FFFFFF;
}

.l-3 li {
    color: #000000;
}

.l-4 {
    list-style: none;
    display: inline
}

ol {
    list-style-position: inside;
}

.list-group {
    font-size: 1.3rem;
    list-style: decimal inside;
}

.list-group-item {
    display: list-item;
}

.white {
    color: #FFFFFF;
}

.black {
    color: #000000;
}

.g-recaptcha {
    transform:scale(0.77);
    transform-origin:0 0;
}

/* Table Styles */

table {
    table-layout: fixed;
    /* Making the table self-contain itself on overflow */
    width: 100%;
    margin: 2rem 0;
}

.table-fill {
    /* max-width: 600px; */
    border-collapse: collapse;
    animation: float 5s infinite;
    border-radius: 3px;
    background: #FFFFFF;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
}

th {
    font-weight: 400;
    padding: 24px;
    text-align: left;
    vertical-align: middle;
    color: #d5dde5;
    border-right: 2px solid #343a45;
    border-bottom: 4px solid #9ea7af;
    background: #1b1e24;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .1);
}

th:first-child {
    border-top-left-radius: 3px;
}

th:last-child {
    border-right: none;
    border-top-right-radius: 3px;
}

tr {
    font-weight: 400;
    color: #3D404F;
    border-top: 2px solid #c1c3d1;
    text-shadow: 0 1px 1px rgba(256, 256, 256, .1);
    border-bottom: 2px solid #c1c3d1;
}

tr:hover td {
    color: #fff;
    border-top: 1px solid #22262e;
    border-bottom: 1px solid #22262e;
    background: #4e5066;
}

tr:first-child {
    border-top: none;
}

tr:last-child {
    border-bottom: none;
}

tr:nth-child(odd) td {
    background: #ebebeb;
}

tr:nth-child(odd):hover td {
    background: #4e5066;
    color: #fff;
}

tr:last-child td:first-child {
    border-bottom-left-radius: 3px;
}

tr:last-child td:last-child {
    border-bottom-right-radius: 3px;
}

td {
    font-weight: 400;
    padding: 20px;
    text-align: left;
    vertical-align: middle;
    border-right: 2px solid #c1c3d1;
    background: #fff;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, .1);
}

td:last-child {
    border-right: 0;
}

/* Colors for different sections */

#aboutme {
    width: 100%;
    background-color: #DFE2DB;
}

#contact {
    width: 100%;
    background-color: #D9D9D9;
    color: #FFFFFF;
}

#navbar {
    width: 100%;
}

#googleMap {
    width: 100%;
    height: 60vh;
}

.bg-1 {
    width: 100%;
    background-color: #002451;
    color: #FFFFFF;
}

.bg-2 {
    width: 100%;
    background-color: #DFE2DB;
    color: #000000;
}

.bg-3 {
    width: 100%;
    background-color: #002451;
    color: #FFFFFF;
}

.bg-4 {
    width: 100%;
    background-color: #DFE2DB;
}

.bg-5 {
    width: 100%;
    background-color: #002451;
    color: #FFFFFF;
}

.bg-6 {
    width: 100%;
    background-color: #DFE2DB;
    color: #000000;
}

.bg-7 {
    width: 100%;
    background-color: #eee;
    color: #FFFFFF;
}

.bg-8 {
    width: 100%;
    height: 100vh;
    background-image: url('https://www.mikakaakinen.fi/photos/a_19.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #000000;
    overflow-x: hidden;
}

.bg-9 {
    width: 100%;
    background-color: #002451;
    color: #000000;
}

/* More definitions */

footer {
    width: 100%;
    padding: 1rem 0;
    color: #FFFFFF;
    background-color: #002451;
}

footer span,
footer a {
    display: block;
    color: #FFFFFF;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.sticky-social {
    left: 0;
    position: fixed;
    top: 25%;
    font: "Open Sans", sans-serif;
}

.sticky-social a {
    display: block;
    font: 1.5rem "Open Sans", sans-serif;
}

.sticky-social a i {
    width: 50px;
    height: 50px;
    line-height: 50px;
    color: #fff;
    text-align: center;
}

.fa-facebook {
    background: #3b5998
}

.fa-linkedin {
    background: #007bb6
}

.fa-twitter {
    background: #00aced
}

.fa-google-plus {
    background: #dd4b39
}

.color-1 {
    background: #FE65B7;
    color: #000000;
}

.color-2 {
    background: #FFFF00;
    color: #000000;
}

.color-3 {
    background: #B3F64F;
    color: #000000;
}

.color-4 {
    background: #000000;
    color: #FFFFFF;
}

.color-5 {
    background: #003b84;
    color: #FFFFFF;
}

.color-6 {
    background: #00469e;
    color: #FFFFFF;
}

.color-7 {
    background: #0046C1;
    color: #FFFFFF;
}

/*Styles borrowed from bootstrap-koulu.css*/

p,
h1,
h2,
h3,
th,
td  {
    overflow: hidden;
    text-overflow: ellipsis;
}

form {
    font-size: 1.5rem;
    color: #000000;
}

form .form-control::-moz-placeholder {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.5rem;
}

form .form-control:-ms-input-placeholder {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.5rem;
}

form .form-control::-webkit-input-placeholder {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="submit"] {
    height: 4.0rem;
    font-size: 1.5rem;
}

input[type="submit"] {
    color: #000000;
}

textarea#form_message {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.5rem;
}

@media (max-width: 600px) {
    .carousel-caption {
        display: none;
        /* Hide the carousel text when the screen is less than 600 pixels wide */
    }
}

html {
    font-size: 10px;
}

@media screen and (min-width: 320px) {
    html {
        font-size: calc(10px + 6 * ((100vw - 320px) / 680));
    }
}

@media screen and (min-width: 1000px) {
    html {
        font-size: 16px;
    }
}

/*Ends here*/

blockquote {
    display: block;
    background: #fff;
    padding: 15px 20px 15px 45px;
    margin: 0 0 20px;
    position: relative;
    /*Font*/
    font-family: Georgia, serif;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #000000;
    /*Box Shadow - (Optional)*/
    -moz-box-shadow: 2px 2px 15px #ccc;
    -webkit-box-shadow: 2px 2px 15px #ccc;
    box-shadow: 2px 2px 15px #ccc !important;
    /*Borders - (Optional)*/
    border-left-style: solid;
    border-left-width: 15px;
    border-right-style: solid;
    border-right-width: 2px;
}

blockquote::before {
    content: "\201C";
    /*Unicode for Left Double Quote*/
    /*Font*/
    font-family: Georgia, serif;
    font-size: 60px;
    font-weight: bold;
    color: #999 !important;
    /*Positioning*/
    position: absolute;
    left: 10px;
    top: 5px;
}

blockquote::after {
    /*Reset to make sure*/
    content: "";
}

blockquote a {
    text-decoration: none;
    background: #eee;
    cursor: pointer;
    padding: 0 3px;
    font-size: 1.5rem;
    color: #c76c0c !important;
}

blockquote a:hover {
    color: #666;
}

blockquote.blockquote em {
    font-style: italic;
}

footer.blockquote-footer {
    font-size: 1.5rem;
    color: #ffffff;
}

.buttonfx.bouncein {
    padding: 0 20px 0 0;
}

.buttonfx {
    outline: none;
    background: transparent;
    border: none;
    border-bottom: 4px solid #eee;
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: all .5s;
}

/* //// Default effect: Slide from Top  //// */

.buttonfx:before,
.buttonfx:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: #FABE58;
    /* #259f6c onhover background color */
    z-index: -1;
    transform: translate3D(0, -100%, 0);
    /* move elements above button so they don't appear initially */
    transition: all .5s;
}

.buttonfx:before {
    background: #000000;
    /* button default background color */
    opacity: 0.5;
    z-index: -2;
    transform: translate3D(0, 0, 0);
}

.buttonfx:hover {
    color: #2B2B2B;
}

.buttonfx:hover:after {
    transform: translate3D(0, 0, 0);
    transition: all .5s;
}

/* #### Bounce classes #### */

.bouncein:hover:before,
.bouncein:hover:after {
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66) !important;
}