﻿* {
    box-sizing: border-box;
}
html, body {
    color: black;
    font-family: Tahoma, sans-serif;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: navy;
}
a:hover {
    text-decoration: underline;
    color: navy;
}

.phoneonly{ display:none;}

      /* Phone */
@media screen and (max-device-width: 481px) {
    body {
        background-color: white;
        font-size: 16pt;
        text-align: center;
        display: flex;
        flex-direction: column;
                    background: linear-gradient(to bottom,  rgba(255,255,255,0.8) 0%,rgba(190,212,229,0.8) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
                    background-attachment: fixed;
    }
    .phoneonly{ display:initial;}
    img{
        padding: 10px;
    }
    .email {
        font-size:smaller;
    }
            #footer {
            font-size: 8pt;
        }
    #serviceslist {
        list-style: none;
        padding:0;
    }
    #serviceslist li{
        padding-bottom: 0.5em;
    }
}
      /* Tabet and Wider */
@media screen and (min-device-width: 481px) {
    html {
        background: url(phone.jpg) no-repeat center center fixed;
        background-size: cover;
    }

    body {
        display: flex;
        flex-direction: column;
        /*justify-content: center;*/
    }

        body > div {
            margin: auto;
            margin-top: 20px;
            margin-bottom: 20px;
            background: rgba(190,212,229,0.8); /* Old browsers */
            background: linear-gradient(to bottom,  rgba(255,255,255,0.8) 0%,rgba(190,212,229,0.8) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

            max-width: 1000px;
            font-size: 18pt;
            padding: 30px 30px;
            border-radius: 2px;
            box-shadow: rgba(0,0,0,0.5) 10px 10px 10px;
        }
        body > div > h1 {
            text-align: center;
        }
        body > #header {
            text-align: center;
            font-size: 20pt;
        }
        #footer {
            margin: auto;
            margin-top: 0;
            margin-bottom: 20px;
            padding: 0 30px;
            background-color: rgba(255, 255, 255, 0.8);
            max-width: 1000px;
            font-size: 8pt;
            border-radius: 2px;
            box-shadow: rgba(0,0,0,0.5) 10px 10px 10px;
        }

        #contacts1{
             float:left;
             text-align:left;
        }
        #contacts2{
             float:right;
             text-align:right;
        }
}