@font-face {
    font-family: 'Trajan Pro Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Trajan Pro Regular'), url('fonts/TrajanPro-Regular.woff') format('woff');
}
    

@font-face {
    font-family: 'Trajan Pro Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Trajan Pro Bold'), url('fonts/TrajanPro-Bold.woff') format('woff');
}

body {
     
    background: url('https://firebasestorage.googleapis.com/v0/b/tuusulanmittausjarakennus.appspot.com/o/nosturit.JPG?alt=media&token=5b036d9a-5818-41f0-b66d-d78153f434dd') no-repeat center fixed !important; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


.splashtext{
    font-family: "Trajan Pro Bold";
    font-size: 30px
    
}


.navbar.navbar-expand-md {
    margin-bottom: 50px;
    height: 60px !important;
    background-color: #dcf7ff !important;
}

.offcanvas{
    background-color: #dcf7ff !important;
}

h2{
    font: "Trajan";
}

.navbar-brand{
    font-weight: bold;
}

.navbar-item{
    line-height: 40px;
    font-size: large;
    height: 60px !important;
    width: auto;
    text-align: center ;
    justify-content: center;
    font-weight: bold;
}
@media (min-width: 767px){

    .navbar-item{
        width: 120px !important;
        text-align: center !important;
    }
}



.navbar-item:hover{
    background-color: #c0d2e4;
}

.nav-link:hover{
    color: #5695bd !important;
    text-decoration: underline;
}

.footer-custom{
    background-color: #5695bd;
    border-top: 1px solid black !important;
    

}

.b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  }

.indexbackground{
    background-color: #5695bd;
    background-image: url('https://mdbootstrap.com/img/Photos/Others/images/76.jpg');
             height: 100vh;
}

.footertext{
    font-size: small; color: white
}
.footertext a{
    color: white;
}

.table {
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: top;
    border-color: #dee2e6
}

.tcustom{
    border: solid #5695bd;
}
.trcustom{
    border-bottom: dotted 1px;
    border-color: #5695bd;
}
.tdcustom{
    padding-top: 2%;
}
.tdcustom p {
    padding-left: 10px;
    padding-right: 10px;
}

.indexcard{
    width: 40vw;
}


@media(max-width: 500px) {

    iframe{
        width: 80vw;
        min-width: 250px;
        max-width: 400px;
    }
    .contactform{
        min-width: 300px;
        width: 90vw;
    }
}

@media(min-width: 501px) {
    .contactform{
        max-width: 30vw;
        min-width: 400px;
        width: 30vw;
    }

    iframe{
        width: 30rem;
    }
}









  

