﻿//@font-face {
//    font-family: "ipamjm";
//    src: url("ipamjm.woff2") format('woff2'), url("ipamjm.woff") format('woff');
//}

html, body {
    padding: 0;
    margin: 0;
    font-family: "ipamjm", sans-serif;
}


h1, h2, h3, h4, img {
    margin: 0;
    padding: 0;
}

#sit-logo {
    float: right;
    text-align: right;
    width: 40%;
}

#sic-logo {
    display: inline;
    width: 60%;
}

#red {
    color: #f00;
    font-weight: 700;
}

div.page {
    font-size: 1.2em;
    font-weight: 300;
    background-color: #fff;
    border: none;
}

div.form {
    margin: 8px;
    padding: 8px;
    border: 1px solid #888;
    background-color: white;
}


h3.title {
   margin: 4% 5% 4% 5%;
    padding: 4% 4% 4% 4%;
    border: 1px solid #000000;
    border-radius: 10px;
    background-color: #eee;
    text-align: center;
    font-size: 1.6em;
    font-weight: 700;
}

h3.section {
    margin: 0% 0% 2% 0%;
    padding: 1% 2% 1% 0%;
    border-bottom: 1px solid #000;
    background-color: #eee;
}

div.center_body {
    padding: 1% 4% 1% 4%;
}

div.max20 {
    max-width: 20em;
}

#mainmenu {
    overflow-x: visible;
}

.menu {
    max-width: 50%;
}

div.width17 {
    max-width: 17%;
}

div.width66 {
   min-width: 66%;
}

p.menu-btn {
    font-size: 1.2em;
}

.btn.testdb-indicator,
.btn.testdb-indicator:hover,
.btn.testdb-indicator:focus,
.btn.testdb-indicator:active,
.btn.testdb-indicator.disabled {
    background-color: rgb(255, 204, 51) !important;
    border-color: rgb(255, 204, 51) !important;
    color: #000 !important;
    font-weight: 700;
    opacity: 1;
}

#person-popup .btn-primary,
#person-popup .btn-primary:hover,
#person-popup .btn-primary:focus,
#person-popup .btn-primary:active {
    background-color: #f0f0f0;
    border-color: #e0e0e0;
    color: #000;
}

#person-popup .btn-primary h4 {
    font-size: 1.1em;
    white-space: nowrap;
}

#signin_btn,
#signin_btn:hover,
#signin_btn:focus,
#signin_btn:active {
    background-color: #fcfcfc;
    border-color: #e0e0e0;
    color: #000;
    padding: 1em 1em;
}

#help_btn,
#help_btn:hover,
#help_btn:focus,
#help_btn:active {
    background-color: #ffd380;
    border-color: #ffeeba;
    color: #000;
    padding: 1em;
    font-weight: 500;
    font-size: 1.2em;
}

#header_title {
    font-size: 1.0em;
    font-weight: 900;
    font-family: sans-serif;
}

.active {
    background-color: rgba(128,128,255,0.5);
}


@media screen and (max-width: 650px) {
    html, body {
        max-width: 640px;
    }

    #sic-logo img {
        max-width: 30%;
    }

    h3.title {
        margin: 3% 16% 3% 16%;
        font-size: 1.4em;
    }

    p.menu-btn {
        font-size: 1.0em;
    }
}

@media screen and (max-width: 490px) {
    html, body {
        max-width: 480px;
    }

    #sic-logo img {
        max-width: 30%;
    }

    h3.title {
        margin: 1% 10% 1% 10%;
        font-size: 1.0em;
    }

    p.menu-btn {
        font-size: 1.0em;
    }
}


@media screen and (max-width: 330px) {
    html, body {
        max-width: 320px;
    }

    #sic-logo img {
        max-width: 100px;
    }

    h3.title {
        margin: 1% 10% 1% 10%;
        font-size: 0.7em;
    }

    p.menu-btn {
        font-size: 0.8em;
    }
}
