@font-face {
    font-family: harabara;
    src: url("Harabara.eot");
}

@font-face {
    font-family: harabara;
    src: url("Harabara.ttf");
}

@font-face {
    font-family: air;
    src: url("ThrowMyHandsUpintheAir.eot");
}

@font-face {
    font-family: air;
    src: url("ThrowMyHandsUpintheAir.ttf");
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font: 12px Arial, sans-serif;
    background: #f4f4f4;
    -webkit-text-size-adjust: none;
}

* {
    box-sizing: border-box;
}

#wrap {
    width: 1080px;
    margin: 20px auto 20px auto;
    background: #ffffff;
    color: #303030;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2), 0 4px 15px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    padding: 15px 5px 0px 15px;
}

#header-left {
    float: left;
    width: 70%;
    margin: 0 0 15px 0;
    padding: 0;
    min-height: 38px;
    height: 38px;
    /*line-height: 45px;*/
    white-space: nowrap;
    vertical-align: middle;
    display: flex;
    align-items: center; /* vertical centre */
    /*height: 45.385px;*/
}

#header-left img {
    height: 38px;
    display: block;
}

#header-right {
    float: right;
    width: 30%;
    margin: 0 0 15px 0;
    padding: 0 10px 0 0;
    min-height: 38px;
    line-height: 38px;
    text-align: right;
    white-space: nowrap;
    height: 38px;
}

.head1 {
    /*font-family: harabara, Verdana, Arial, sans-serif;
    letter-spacing: 1.5px;
    font-size: 3em;
    color: #ad2024;
    font-weight: normal;
    line-height: 1;*/
    vertical-align: middle;
    max-width: 550px;
}

.head2 {
    font-family: air, Verdana, Arial, sans-serif;
    font-size: 3em;
    font-weight: normal;
    line-height: 1;
    vertical-align: middle;
}

.header-clear {
    clear: both;
}

/*body {
    margin: 0 auto;
    padding: 0;
    font: 12px Arial, sans-serif;
    background: #f4f4f4 url(/images/bg.png) top center repeat-y;
    -webkit-text-size-adjust: none;
}

#wrap {
    background: #ffffff;
    color: #303030;
    margin: 0 auto;
    width: 1080px;
    border-right: 1px solid #000;
    border-left: 1px solid #000;
}



#header-left {
    margin: 5px 0;
    padding: 0;
    height: 45px;
    width: 540px;
    float: left;
    vertical-align: middle;
}

#header-right {
    margin: 5px 0;
    padding: 0;
    height: 45px;
    width: 540px;
    float: right;
    vertical-align: middle;
    text-align: right;
}

.head1 {
    font-family: harabara, Verdana, Arial, sans-serif;
    letter-spacing: 1.5px;
    font-size: 3em;
    color: #6e0000;
    font-weight: normal;
}

.head2 {
    font-family: air, Verdana, Arial, sans-serif;
    font-size: 3em;
    font-weight: normal;
}*/



#frontphoto {
    margin: 0 0 10px -15px;
    border: 0;
}

/*#avmenu {
    clear: left;
    float: left;
    width: 200px;
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 11px;
}

#avmenu ul {
    list-style: none;
    width: 200px;
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 1.1em;
}

#avmenu ul li {
    margin-bottom: 0;
    cursor: pointer;
}

#avmenu ul li a {
    font-weight: bold;
    height: 20px;
    text-decoration: none;
    color: #505050;
    display: block;
    padding: 6px 0 0 10px;
    background: #f4f4f4;
    border-left: 4px solid #cccccc;
}

#avmenu ul li a:hover {
    background: #eaeaea;
    color: #6e0000;
    border-left: 4px solid #6e0000;
}

a.active {
    background: #999898 !important;
    border-left: 4px solid #999898 !important;
    color: #fff !important;
}

#avmenu ul li.admin a {
    font-weight: bold;
    height: 20px;
    text-decoration: none;
    color: #505050;
    display: block;
    padding: 6px 0 0 10px;
    background: #f3dcdc;
    border-left: 4px solid #cccccc;
}

#avmenu ul li.admin a:hover {
    background: #e7c5c5;
    color: #6e0000;
    border-left: 4px solid #6e0000;
}

#avmenu1-1 {
    display: none;
}

#avmenu1 ul {
    list-style: none;
    width: 200px;
    margin: 0;
    padding: 0;
}

#avmenu1 ul li {
    margin-bottom: 0;
}

#avmenu1 ul li a {
    font-weight: normal !important;
    font-size: 0.85em !important;
    text-decoration: none;
    color: #eaeaea;
    display: block;
    padding: 4px 0 4px 13px !important;
    background: #9c9c9c;
    border-left: 4px solid #999898;
}

#avmenu1 ul li a:hover {
    background: #bbb;
    color: #6e0000;
    border-left: 4px solid #6e0000;
}*/

/*-------------------
MENU
--------------------*/

#avmenu {
    width: 200px;
    margin: 0;
    padding: 0;
    font-size: 11px;
    float: left;
    clear: left;
}

#avmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#avmenu li {
    margin: 0;
    padding: 0;
}

#avmenu > ul > li > a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    color: #505050;
    font-weight: bold;
    background: #f4f4f4;
    border-left: 4px solid #cccccc;
}

#avmenu > ul > li > a:hover {
    background: #eaeaea;
    color: #6e0000;
    border-left-color: #6e0000;
}

#avmenu > ul > li > a.active {
    background: #dcdcdc !important;
    color: #6e0000 !important;
    border-left-color: #6e0000 !important;
}

#avmenu .menu-heading {
    margin: 0;
    padding: 0;
    width: 200px;
    background: #cccccc;
}

#avmenu .menu-heading a {
    display: block;
    padding: 6px 8px;
    text-decoration: none;
    font-weight: bold;
    color: #444;
    text-transform: uppercase;
    background: #cccccc;
}

#avmenu .submenu-toggle {
    display: none;
}

#avmenu .submenu-label {
    display: block;
    position: relative;
    padding: 8px 24px 8px 10px;
    cursor: pointer;
    color: #505050;
    font-weight: bold;
    background: #f4f4f4;
    border-left: 4px solid #cccccc;
}

#avmenu .submenu-label:hover {
    background: #eaeaea;
    color: #6e0000;
    border-left-color: #6e0000;
}

#avmenu .submenu-label::after {
    content: ">";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: bold;
    color: #666;
}

#avmenu .submenu-toggle:checked + .submenu-label {
    background: #e9e9e9;
    color: #6e0000;
    border-left-color: #6e0000;
}

#avmenu .submenu-toggle:checked + .submenu-label::after {
    content: "v";
}

#avmenu .submenu {
    display: none;
    margin: 0;
    padding: 0;
    background: #f0f0f0;
    border-top: 1px solid #d8d8d8;
}

#avmenu .submenu-toggle:checked + .submenu-label + .submenu {
    display: block;
}

.submenua {
    display: block;
    padding: 6px 10px 6px 18px;
    margin: 0;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    color: #4d4d4d !important;
    background: #f0f0f0 !important;
    border-left: 3px solid transparent;
}

.submenua:hover {
    background: #dddddd !important;
    color: #6e0000 !important;
    border-left-color: #6e0000 !important;
}

.submenua.active {
    background: #d6d6d6 !important;
    color: #6e0000 !important;
    border-left-color: #6e0000 !important;
}

/*-----------------
END MENU
-----------------*/

.announce {
    margin: 5px 0;
    padding: 10px;
    width: 180px;
    color: #505050;
    background-color: #f4f4f4;
    line-height: 1.3em;
}

#extras {
    float: right;
    width: 100px;
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 0.9em;
    line-height: 1.5em;
}

#extras p {
    margin: 0 0 1.5em 0;
}

#content1 {
    margin: 0 0 20px 0;
    border-left: 0 solid #f0f0f0;
    border-right: 0 solid #f0f0f0;
    padding: 0 10px;
    line-height: 1.6em;
    text-align: justify;
}

#content2 {
    margin: 0 2px 20px 210px;
    /* border-left: 1px solid #f0f0f0; */
    border-right: 0 solid #f0f0f0;
    padding: 0 10px;
    line-height: 1.6em;
    text-align: justify;
    min-height: calc(100vh - 350px);
}

#content2 h2 {
    font-size: 1.5em;
    margin: 0 0 0.5em 0;
}

h3 {
    text-decoration: underline;
    font-size: 1.3em;
    margin: 0 0 10px 0;
}

h4 {
    font-size: 1em;
    font-weight: lighter;
    width: 196px;
    /*background-color: #cccccc;*/
    padding: 2px 0 2px 4px;
    margin: 0;
}

h5 {
    text-decoration: none;
    font-size: 1.2em;
    margin: 0 0 10px 0;
}

h6 {
    font-size: 0.9em;
    font-weight: lighter;
    background-color: #cccccc;
    padding: 2px 4px;
    margin: 0 5px 10px 0;
}

img.content {
    padding: 1px;
    display: inline;
    background: #cccccc;
    border: 4px solid #f0f0f0;
}

a {
    text-decoration: none;
    color: #286ea0;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
    color: #03375c;
}

a img {
    border: 0;
}

/*#footer {
    margin: 0 auto;
    padding: 10px 0 20px 0;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    text-align: center;
    color: #808080;
    font-size: 0.9em;
    bottom: 0;
}*/

#footer {
    margin: 0 auto;
    padding: 10px 15px 10px 15px; /* 👈 adds 15px left & right inset */
    border-top: 1px solid #f0f0f0;
    width: 100%;
    text-align: center;
    color: #808080;
    font-size: 0.9em;
    bottom: 0;
    box-sizing: border-box;
}

#footer a {
    color: #808080;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

.left {
    margin: 10px 10px 5px 0;
    float: left;
}

.right {
    margin: 10px 0 5px 10px;
    float: right;
}

.textright {
    text-align: right;
}

.center {
    text-align: center;
}

.small {
    font-size: 0.8em;
}

.bold {
    font-weight: bold;
}

.hide {
    display: none;
}

.show {
    display: block;
}

.login {
    background-color: #cccccc;
}

#news-feed {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border: 0 solid #ccc;
    background: #f4f4f4;
    margin-bottom: 20px;
}

#news-feed ul {
    position: absolute;
    top: 0;
    left: 0;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#news-feed ul li {
    height: 180px;
    margin: 0;
    padding: 10px;
}

hr {
    border: 0;
    color: #f0f0f0;
    background-color: #f0f0f0;
    height: 0px; /* use to be 1px */
    width: 100px;
}

div.inner-article {
    width: 100%;
    margin-bottom: 10px;
}

div.inner-article table .frame {
    border: 1px solid #494949;
    width: 100%;
}

div.inner-article table p {
    line-height: 110%;
    font-size: 11px;
    color: #565656;
    padding-right: 20px;
    margin: 2px 0;
}

div.inner-article-header {
    width: 100%;
    height: 20px;
    color: rgb(255, 255, 255);
    background-color: #3a0000;
}

div.inner-article-header h2 {
    font-size: 12px !important;
}

table.pirep {
    width: 95%;
    margin-left: 2.5%;
    margin-right: 2.5%;
}

.phperror {
    font-size: 14px;
    color: red;
    font-weight: bold;
    background-color: #f6cece;
    padding: 10px;
}

.phpgood {
    font-size: 14px;
    color: green;
    font-weight: bold;
    background-color: #cef6ce;
    padding: 10px;
}

ul label {
    font-weight: bold;
}

label.remember input[type=checkbox] {
    position: relative;
    vertical-align: middle;
    bottom: 1px;
    -webkit-appearance: checkbox;
}

.button-success,
.button-error,
.button-warning,
.button-secondary {
    color: white !important;
    border-radius: 4px !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) !important;
}

.button-success {
    background: rgb(28, 184, 65) !important;
}

.button-error {
    background: rgb(202, 60, 60) !important;
}

.button-warning {
    background: rgb(223, 117, 20) !important;
}

.button-secondary {
    background: rgb(66, 184, 221) !important;
}

.alert {
    border-radius: 5px !important;
    background: #ffde96 !important;
    padding: 5px 10px !important;
    z-index: 0;
}

.success {
    border-radius: 5px !important;
    background: #9dff96 !important;
    padding: 5px 10px !important;
    z-index: 0;
}

.danger {
    border-radius: 5px !important;
    background: #ff9696 !important;
    padding: 5px 10px !important;
    z-index: 0;
}

.notice {
    border-radius: 5px !important;
    background: #96c5ff !important;
    padding: 5px 10px !important;
    z-index: 0;
}

.zui-table {
    border: solid 1px #ddeeee;
    border-collapse: collapse;
    border-spacing: 0;
    font: normal 13px Arial, sans-serif;
}

.zui-table thead th {
    background-color: #ddefef;
    border: solid 1px #ddeeee;
    color: #336b6b;
    padding: 10px;
    text-align: left;
}

.zui-table tbody td {
    border: solid 1px #ddeeee;
    color: #333;
    padding: 10px;
}

.leaflet-bottom {
    display:none !important;
}

@media (max-width: 1080px) {
    html,
    body {
        width: 100%;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden;
        background: #fff !important;
    }

    #wrap {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 20px 20px !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    
    #frontphoto {
            width: calc(100% + 40px) !important;
            max-width: none !important;
            margin-left: -20px !important;
            margin-right: -20px !important;
            display: block;
    }
}

.aav-public-join {
    margin-bottom: 66px !important;
}
}