body {
    background-color: black;
    color: #dfeeff;
    font-family: Arial;
}

#maindiv {
    width: 1024px;
    height: 600px;
    margin: 0 auto;
}

#leftdiv {
    background: #000 url('images/l-u-corner.gif') no-repeat;
    width: 117px;
    height: 100%;
    float: left;
    padding-top: 30px;
}

#centerdiv {
    left: 117px;
    float: left;
    width: 830px;
    height: 100%
}

#rightdiv {
    float: right;
    width: 53px;
    height: 100%;
}

#topdivleft {
    /*background: #000 url('images/u-corner.gif') no-repeat;*/
    height: 118px;
    width: 15px;
    float: left;
}

#topdivcenter {
    background: #000 url('images/bgtopdivcenter.gif') repeat-x;
    left: 140px;
    width: 758px;
    height: 98px;
    float: left;
    padding-top: 20px;
    padding-left: 10px;
}

#topdivright {
    background: #000 url('images/bgtopdivright.gif') no-repeat;
    width: 47px;
    height: 118px;
    float: right;
}

.impact,
.impactsmall {
    font-family: Impact;
    font-weight: bold;
    font-size: 48px;
    color: white;
}

.impactsmall {
    font-size: 30px;
}

#menu {
    #padding-left: 20px;
}

#menu a,
#menu a:visited {
    font-family: Impact;
    font-size: 20px;
    text-decoration: none;
}

#center {
    clear: both;
}

#footer {
    clear: both;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    padding: 20px 0;
}

#menu a,
#menu a:visited,
.colored {
    color: #a9bbd8;
}

#menu a:hover {
    color: white;
}

#main {
    padding: 5px 10px 0 10px;
    text-align: center;
}

#main img,
img {
    border: none;
}

.tdframe {
    width: 103px;
    height: 100px;
    background: #000 url('images/tdframe.gif') no-repeat;
}

.tdframevertical {
    width: 117px;
    height: 69px;
    background: #000 url('images/tdframevertical.gif') no-repeat;
    text-align: center;
}

#framediv {
    padding: 10px 0;
    width: 650px;
    height: 400px;
    margin: 0 auto;
}

#line {
    height: 4px;
    background: #000 url('images/line.gif') repeat-x;
}

#content {
    text-align: left;
    padding: 15px 15px;
    font-size: 13px;
    font-weight: bold;
}

#contentother {
    text-align: left;
    padding: 15px 15px;
    font-size: 15px;
    font-weight: bold;
    height: auto;
}

.phone {
    font-family: Arial;
    font-size: 17px;
    text-decoration: none;
}

#contentothercontact {
    text-align: center;
    font-size: 20px;
    height: 519px;
}

#contentothercontact a {
    text-decoration: none;
    color: #DFEEFF;
}

.years {
    display: block;
    font-size: 22px;
    text-align: center;
}

.listingtab {
    text-align: left;
}

.listingtab a {
    text-decoration: none;
    color: #DFEEFF;
}

.icon-menu {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url(img/menu-button.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.icon-close {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url(img/close-button.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.mobile-menu-btn {
    display: none;
}

.mobile-menu-btn a {
    text-decoration: none;
}

#topdivcenter .mobile-menu-btn {
    position: absolute;
    top: 16px;
    right: 10px;
}

.mobile-menu-btn a .icon-close {
    display: none;
}

.mobile-menu-btn a.active .icon-close {
    display: block;
}

.mobile-menu-btn a.active .icon-menu {
    display: none;
}

@media screen and (max-width: 991px) {
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        float: none !important;
    }

    img,
    iframe {
        max-width: 100%;
        height: auto;
    }

    #maindiv {
        padding: 8px;
    }

    #leftdiv {
        flex: 0 0 50px;
        width: 50px;
        padding-top: 0;
    }

    .tdframevertical {
        width: 50px;
        background-size: 100% auto;
        height: auto;
        padding-left: 5px;
        padding-right: 5px;
    }

    .tdframevertical img {
        max-width: 100%;
        height: auto;
    }

    #topdivcenter {
        padding-left: 0;
        padding-top: 0;
        background-image: none;
        height: 75px;
        position: relative;
        left: 0;
        margin-left: 10px;
        width: auto;
    }

    #topdivcenter:after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -12px;
        background-image: url('images/bgtopdivcenter.gif');
        background-repeat: repeat-x;
        height: 100px;
    }

    #topdivcenter>* {
        position: relative;
        z-index: 1;
    }

    #topdivcenter>span {
        display: block;
        line-height: 1em;
    }

    .impact {
        font-size: 30px;
    }

    .impactsmall {
        font-size: 18px;
        margin-top: -10px;
    }

    #menu {
        display: none;
    }

    #menu.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #000;
        z-index: 1200;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }

    #contentother {
        padding-left: 0;
        padding-right: 0;
    }

    #center #center {
        border: 0;
        margin-left: 0;
        width: 100%;
    }

    #center #center>p {
        margin-left: 10px;
        margin-right: 10px;
    }

    #topdivleft,
    #topdivright {
        display: none;
    }


    #center table,
    #center table tbody,
    #center table tr,
    #center table td {
        display: block;
    }

    #center table {
        width: 100%;
    }

    #maindiv {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        width: 100%;
        -ms-align-items: flex-start;
        align-items: flex-start;
        /*overflow: hidden;*/
    }

    #centerdiv {
        margin-right: 10px;
        flex: 1;
        max-width: calc(100vw - 16px - 50px);
    }

    #framediv {
        width: 100%;
        height: auto;
    }

    #framediv iframe {
        max-width: 100%;
        height: auto;
    }

    #center td {
        background-image: none !important;
    }

    #center .main-row-line table tr {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        overflow-x: auto;
    }

    #center table tr .tdframe {
        flex: 0 0 100px;
    }

    #center {
        margin-left: 10px;
        border-radius: 10px;
        border: 2px solid #92a1b9;
        overflow: hidden;
        width: calc(100% - 10px);
        height: auto;
        position: relative;
    }

    #content {
        padding-left: 0;
        padding-right: 0;
    }

    #footer {
        padding-left: 10px;
        text-align: left;
        font-size: 14px;
    }

    .mobile-menu-btn {
        display: inline-block;
    }

    #contentothercontact {
        height: auto;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 15px;
    }

    #center .listingtab tr {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        -o-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .listingtab tr:nth-child(even) {
        margin-bottom: 15px;
    }

    .listingtab tr td:first-child {
        padding-left: 30px;
        text-align: left;
    }

    .listingtab tr td[rowspan="2"]:first-child {
        flex: 0 0 30px;
        padding-left: 0;
        text-align: center;
    }

    .listingtab tr td[rowspan="2"]:nth-child(2) {
        flex: 0 0 calc(100% - 30px);
        margin-bottom: 10px;
    }

    .listingtab tr td:nth-child(3) {
        padding-left: 30px;
    }

    body>div>#framediv {
        max-width: calc(100% - 30px);
        z-index: 1300;
        margin: 0 !important;
        left: 15px !important;
        top: 15px !important;
        right: 15px;
        bottom: 15px;
        height: auto !important;
        padding-left: 10px !important;
        padding-right: 10px;
        padding-bottom: 10px;
        padding-top: 10px;
        box-shadow: 0 0 15px rgba(255, 255, 255, .7);
    }
}