@import url("https://fonts.googleapis.com/css?family=Hind+Guntur:400|Merriweather:300,700&display=swap");

h1 {
    font-size: 41.6px !important;
}

h2 {
    font-size: 35.36px !important;
}

h3 {
    font-size: 30.056px !important;
}

h4 {
    font-size: 25.5476px !important;
}

h5 {
    font-size: 21.71546px !important;
}

h6 {
    font-size: 18.458141px !important;
}

.button, input[type="submit"] {
    background: #00a950;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: hind_gunturlight,Arial,Helvetica,sans-serif;
    font-size: 13px;
    overflow: hidden;
    padding: 11px 19px 9px 19px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-transform: translate(0);
    -moz-transform: translate(0);
    -ms-transform: translate(0);
    -o-transform: translate(0);
    transform: translate(0);
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
    vertical-align: middle;
}

.button:before, input[type="submit"]:before {
    background: #005daa;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: transform .3s ease-out;
    -moz-transition: transform .3s ease-out;
    -o-transition: transform .3s ease-out;
    transition: transform .3s ease-out;
    z-index: -1;
}

.button:after, input[type="submit"]:after {
    color: #00a950;
    content: '';
    font-family: icomoon;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 12px;
    margin-top: -7px;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all 0.3s ease;
}

.button:hover, input[type="submit"]:hover {
    background: #00a950;
    color: #fff;
    padding-left: 13px;
    padding-right: 19px;
}

.button:hover:before, input[type="submit"]:hover:before {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

.button:hover:after, input[type="submit"]:hover:after {
    color: #fff;
    right: 9px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Merriweather", serif;
    color: #004279 !important;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, p, blockquote, th, td, label, .datafield span, .datafield div {
    font-size: 16px;
    line-height: 146%;
}

@media only screen and (min-width: 1156px) {
    body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, p, blockquote, th, td, label, .datafield span, .datafield div {
        font-size: 16px;
    }
}

body {
    font-size: 16px !important;
    font-family: "Merriweather", serif;
    background: white;
    color: #004279;
}

@media only screen and (min-width: 1156px) {
    body {
        font-size: 16px !important;
    }
}

a {
    color: #00a950;
}

a:hover {
    color: #005daa;
}

.button:not(.buttonloading), .button.button-edit:not(.buttonloading) {
    background: #00a950 !important;
    border: 0 !important;
    font-family: "Hind Guntur", sans-serif !important;
    font-weight: 700;
    text-transform: uppercase;
    color: white !important;
    border-radius: 0;
    text-align: center !important;
    padding: 11px 19px 9px 19px !important;
    line-height: 99%;
}

.button:hover, .button.button-edit:hover {
    background: #005daa !important;
}

.button.alert {
    background: #cc0000 !important;
}
.button.alert:hover {
    background: #990000 !important;
}
.button.alert:before {
    background: #990000;
}

body.termsandconditions a {
    margin-left: 5px;
}

@media only screen and (max-width: 767px) {
    a.button {
         width:100%;
     }
    body.termsandconditions a {
        margin-left: 0;
    }
}

header.header_wrapper {
    background: white;
    height: auto !important;
}

header.header_wrapper .logoimage {
    background: url("../images/council13-afscme-logo.png") center center no-repeat !important;
    background-size: contain !important;
    width: 126px;
    height: 63px;
    display: inline-block;
    margin-top: 5px;
    text-align: center;
}

@media (min-width: 640px) {
    header.header_wrapper .logoimage {
        width: 220px;
        height: 110px;
        margin-top: 20px;
    }
}

@media (min-width: 1156px) {
    header.header_wrapper .logoimage {
        width: 250px;
        height: 125px;
    }
}

header.header_wrapper .nav-utility {
    margin-top: 0px !important;
}

#content_nav {
    font-family: "Hind Guntur", sans-serif;
}

#content_nav nav {
    background: #00a950;
    min-height: 70px;
}

@media (min-width: 640px) {
    #content_nav nav {
        background: #005daa;
    }
}

.login #content_nav nav {
    border-top: 0;
}

#content_nav nav > ul {
    max-width: 1200px;
}

@media (min-width: 640px) {
    #content_nav nav > ul {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

#content_nav nav > ul ul {
    background: #00a950;
}


@media (min-width: 640px) {
    #content_nav nav > ul {
        -webkit-box-flex: auto;
        -moz-box-flex: auto;
        -webkit-flex: auto;
        -ms-flex: auto;
        flex: auto;
        -js-display: flex;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        flex-direction: row;
        justify-content: space-around;
    }
}

#content_nav nav > ul > li {
    position: relative;
    transition: all .2s;
    flex-grow: 1;
}

@media (min-width: 640px) {
    #content_nav nav > ul > li:before {
        content: '';
        width: 100%;
        height: 6px;
        position: absolute;
        bottom: 100%;
        left: 0;
        transition: all .2s;
    }

    #content_nav nav > ul > li:hover:before {
        background: #00a950;
    }
}

#content_nav nav > ul > li.haschildren {
    position: relative;
}

@media (min-width: 640px) {
    #content_nav nav > ul > li.haschildren > a:after {
        content: '';
        position: relative;
        display: inline-block;
        right: 5px;
        border: 4px solid rgba(0, 0, 0, 0);
        border-top: 5px solid #4c8dc3;
        padding-left: 3px;
        margin-left: 9px;
    }
}

#content_nav nav > ul > li.haschildren:hover > a:after {
    border-top-color: white;
}

#content_nav nav > ul > li.haschildren ul {
    min-width: 320px;
}

@media (max-width: 639px) {
    #content_nav nav > ul > li.haschildren ul {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

#content_nav nav > ul > li.haschildren ul li {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

    #content_nav nav > ul > li.haschildren ul li a {
        position: relative;
        text-decoration: none;
        width: 100%;
        display: block;
    }

@media (min-width: 640px) {
    #content_nav nav > ul > li.haschildren ul li a {
        padding: 15px 45px 15px 45px !important;
    }
}

#content_nav nav > ul > li.haschildren ul li a:before {
    content: '';
    border: 4px solid rgba(0, 0, 0, 0);
    border-left: 4px solid white;
    display: inline;
    position: absolute;
    left: 14px;
    top: 23px;
    transition: all .2s;
}

@media (min-width: 640px) {
    #content_nav nav > ul > li.haschildren ul li a:before {
        left: 35px;
    }
}

#content_nav nav > ul > li.haschildren ul li a:hover {
    background: #029949;
}

    #content_nav nav > ul > li.haschildren ul li a:hover:before {
        left: 16px;
    }

@media (min-width: 640px) {
    #content_nav nav > ul > li.haschildren ul li a:hover:before {
        left: 37px;
    }
}


#content_nav nav > ul > li > a {
    text-transform: uppercase;
    line-height: 70px;
}

@media (min-width: 640px) {
    #content_nav nav > ul > li > a {
        min-height: 70px;
    }
}

@media (max-width: 639px) {
    #content_nav nav > ul > li > a {
        padding-left: 14px;
    }
}

#content_nav nav li {
    border: none;
    box-shadow: none;
}

@media only screen and (max-width: 639px) {
    nav > ul > li:not(.mobile_menu) {
        background-color: #00a950;
    }

    nav > ul > li.haschildren {
        background: url(../../../images/icons/downwhite.png) top 22px left 10px no-repeat;
    }

    nav ul li,
    #content_nav nav > ul > li.haschildren ul {
        background: none;
    }

    #content_nav nav > ul > li.haschildren ul li a {
        padding-left: 25px;
    }
    #content_nav nav > ul > li.haschildren ul li a:hover {
        background: #006c33;
    }
}

@media only screen and (min-width: 640px) {
    nav > ul > li.haschildren {
        background: none;
    }
}

#content_nav nav li a {
    color: white;
    padding-left: 9px;
    font-size: 18px;
}

#content_nav nav li a:hover {
    color: white;
}

#content_nav nav li a.current {
    color: "";
}

.yourinfo {
    word-wrap: break-word;
    /* old name */
    overflow-wrap: break-word;
}

#content_wrapper {
    background: white;
}

#content_wrapper .shadedpanel {
    background: white !important;
    border-radius: 0px !important;
    border: 0px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

#content_wrapper .panel h4.head-icon-yourinfo, #content_wrapper .panel h4.head-icon-quickcontacts {
    padding-left: 0;
    background: none;
}

#content_wrapper .postcontent {
    margin-bottom: 25.888px;
}

#content_wrapper .postcontent img[align='left'] {
    display: block;
    float: left;
    margin: 0 .85em .85em 0;
}

#content_wrapper .postcontent img[align='center'] {
    display: block;
    margin: 0 auto .85em;
}

#content_wrapper .postcontent img[align='right'] {
    display: block;
    margin: 0 0 .85em .85em;
}

#content_wrapper .datafield span, #content_wrapper .datafield div {
    padding-left: .5em;
}

#content_wrapper .relateddocuments {
    margin-left: 0 !important;
}

#content_wrapper .relateddocuments ul {
    margin-left: 0 !important;
    margin-top: .5em;
}

.row {
    width: 1200px;
}

.treetype {
    font-size: 1.5em !important;
}

.treesubtype {
    font-size: 1.3em !important;
}

table.dataTable {
    border-bottom: 1px solid #ddd !important;
}

table.dataTable th {
    border-bottom: 1px solid #ddd !important;
}

input {
    border-radius: 0 !important;
}

.alwayslabel {
    background: none;
    color: #004279;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    padding-left: 5px;
    border-radius: 0;
}

.alwayslabel + input, .alwayslabel + select {
    width: 100%;
    border: 2px solid #cfd5d9;
    background: #f4f4f4;
    height: 40px;
    font-family: "Merriweather", serif;
    color: #005daa;
    font-size: 16px;
}
/* The above CSS was overwriting the background colour for disabled combos.  We need this below that so that this takes priority. */
select[disabled] {
    background-color: #ddd;
}

.alwayslabel + input:focus {
    border: 2px solid #707070;
    background: white;
}

@media (min-width: 640px) {
    .emaillink {
        margin-top: 43px;
        display: inline-block;
    }
}

label {
    margin-bottom: 18px;
}

footer {
    background: #005daa !important;
    font-family: "Hind Guntur", sans-serif;
    color: #e2f2ff;
}

footer #footer {
    border: 0;
}

footer #footer div {
    font-size: 16px;
}

footer #footer .copyright {
    color: white;
}

footer #footer .copyright a {
    color: white;
}

footer #footer .copyright a:hover {
    color: #00a950;
}

.eventcalendar .day {
    padding: 3px 5px;
}

.eventcalendar .day .eventcalendarlink:not([title='']) {
    color: "";
    background: "";
    padding: 8px 0;
    margin: 5px 0;
    display: block;
    border-radius: 4px;
    text-align: center;
    font-size: 90%;
}

.eventcalendar .day .eventcalendarlink:not([title='']):hover {
    text-decoration: none;
    opacity: .8;
}

.eventcalendar .eventcalendardetails {
    background: none;
}

.eventcalendar .eventcalendardetails .availableevent {
    border-radius: 0;
    background: none;
}

.eventcalendar .eventcalendardetails .availableevent .headline {
    color: "";
}

.eventdetails .overflow.bar {
    background: none;
    border: 0;
}

.eventdetails .overflow.bar .wizardbutton {
    margin-left: 14px;
}

.eventdetails .topbar {
    border: 0;
}

.eventpage {
    border: 0;
}

.eventcalendardaydetails .lastmonth, .eventcalendardaydetails .nextmonth, .eventcalendardaydetails .headline, .eventcalendardaydetails #ctl00_Body_EventCalendarDayDetails {
    font-family: "Hind Guntur", sans-serif;
}

.eventprogressbar .progressbardetail {
    font-family: "Hind Guntur", sans-serif;
}

.eventprogressbar input[type="submit"] {
    margin-left: 1em !important;
}

.row .mobile-two.wizardbutton {
    line-height: 100% !important;
}

.login #content_wrapper {
    background-size: cover;
}

.login #content_nav {
    display: none;
}

.login .smallfont {
    margin-top: 1em;
}

.login .loginimage {
    display: none !important;
}

.login h3 {
    font-size: 23px !important;
}

.login #ctl00_Body___101__lblSignupTitle__1 {
    margin-top: 0;
}

.login #ctl00_Body___101__divLoginPanelB__1 {
    font-family: "Hind Guntur", sans-serif;
}

@media (min-width: 640px) {
    .login #ctl00_Body___101__lnkForgotUsername__1 {
        margin-top: 95px;
    }
}

@media (min-width: 640px) {
    .login #ctl00_Body___101__lnkForgotPassword__1 {
        margin-top: 65px;
    }
}

.login #ctl00_Body___101__chkRememberMe__1 {
    white-space: nowrap;
    margin-top: 6px;
    font-family: "Hind Guntur", sans-serif;
}

@media (min-width: 640px) {
    .login #ctl00_Body___101__divSubmitLeft__1 {
        padding-left: 0;
    }
}

@media only screen and (min-width: 640px) {
    header .logoimage {
        display: block;
        width: 330px;
        float: left;
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

@media only screen and (min-width: 1156px) {
    header .logoimage {
        margin-top: 45px;
        margin-bottom: 15px;
    }
}


/* COUNCIL13-19-0061 - Fixes for menu transitions */
@media only screen and (min-width: 640px) {
    #content_nav nav li a {
        font-size: 16px;
    }

    #content_nav nav li:hover {
        background: #00a950 !important;
    }

    /* Transitions to hide child menu */
    html nav ul li > ul {
        display: block;
        height: auto;
        max-height: 0;
        transition: max-height 0.6s ease-out;
        /* Should match transition on visibility in the css below */
    }

    #content_nav nav ul > li.haschildren ul li {
        visibility: hidden;
        transition: visibility 0.1s ease-out;
        /* Should match transition on max-height in the css above */
    }

    #content_nav nav > ul > li.haschildren ul li a:before {
        visibility: hidden;
    }
    /* Transitions to show child menu */
    html nav ul li:hover > ul {
        max-height: 1000px;
        transition: max-height 1.8s ease-out;
    }

    #content_nav nav ul > li.haschildren:hover ul li {
        visibility: visible;
    }

    #content_nav nav > ul > li.haschildren:hover ul li a:before {
        visibility: visible;
    }
}

/* COUNCIL13-19-0061 - Fixes for mobile menu. */
@media only screen and (max-width: 639px) {
    #content_nav nav li.mobile_menu {
        background: url(../../../images/icons/mobilelogo.png) no-repeat 5px 12px;
    }

    #content_nav nav > ul > li {
        border-bottom: 1px solid #007638 !important;
    }

    #content_nav nav li:hover {
        background-color: #007638;
    }

    #content_nav nav > ul > li.haschildren ul li a:before {
        top: 10px;
    }

}

a.logoutlink {
    display: inline-block;
}


.panel h4.head-icon-quicklinks {
    background-image: url(../images/council13_icon_arrow.png)
}

/*COUNCIL13-20-0054 - Due to line-height and font-size changes we need a litle more space for the password meter in MS browsers otherwise we get a weird scroll bar. */
.passwordmeter {
    margin-bottom: 12px;
}

body.termsandconditions div.popup ul {
    padding-left: 40px;
}

/* COUNCIL13-20-0112 */
div#COUNCIL13UpdateAddressPopup .popup-header {
    margin-top: 20px;
}
div#COUNCIL13UpdateAddressPopup .row {
    min-width: 0;
    width: 100%;
}
@media only screen and (max-width: 639px) {
    div#COUNCIL13UpdateAddressPopup .popup-fieldset {
        max-height: none !important;
    }
}