/* Serial Number PC10080119 */

/*
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Main Overrides
   ========================================================================== */
#videooverlay {width: 100%; height: 100%; position: absolute; z-index: 999;}
div {word-break: break-word !important;}


@media only screen and (min-width: 300px) and (max-width:900px) {
body > div.ui.left.vertical.menu.sidebar.uncover.visible > div.ui.icon.input > form > div > div.four.wide.column > button > i {position: relative; top: 12px;}
iframe {width:100% !important; height:350px !important;}
#menumini {columns:2;}
.ui.floating.label {position: relative; z-index: 100; top: -1em; left: 0; margin: 0em 0em 0em -1.5em !important;}
#mob {display:inherit;}
body > div.ui.container > div.ui.text.menu.stackable > a {position: relative; font-size: 23px; word-break: keep-all !important; padding: .5rem;  position: relative; background: #FFF;  margin: 1rem 0; padding: 1em;}
        body > div.ui.container > div.ui.text.menu.stackable > div#showmobile > a {position: relative; font-size: 23px; word-break: keep-all !important; padding: .5rem;  position: relative; background: #FFF; box-shadow: 0 1px 2px 0 rgba(34,36,38,.15); margin: 1rem 0; padding: 1em; border-radius: .28571429rem; border: 1px solid rgba(34,36,38,.15); }
body > div.ui.container > div.ui.text.menu.stackable {position: relative; display: block;  height: 700px;}
body > div.ui.left.vertical.menu.sidebar.uncover.visible > a:nth-child(19) > div {float: left; text-align: center; position: relative; top: -20px; left: 21px;}
body > div.ui.left.vertical.menu.sidebar.uncover.visible > a:nth-child(19) > i {width: 0; float: left; margin: 0; position: relative; top: -16px; left: 37px;}
.secondmobilemenu {display:block;}
.mobile_menu {display: none; font-size: 1.7em; padding: .5em; margin-top: 20px;}
#menumini {display:none;}
#admininfo {display:none !important;}
#showmobile {display:none; }
#showonmobile2 {display:none; position: relative;left: 11px;}
#showonmobile {display:none;}
#showonmobilesearch {display:none;}
#showondesktop {display:none;}
#backtotopmobile {display:block;}

#middlewrapper > div > div.ui.middle.aligned.divided.list > div > img {margin-top:10px;}
#middlewrapper > div > div.ui.middle.aligned.divided.list > div > div.right.floated.content {margin-bottom:10px;     margin-top: 10px;}
#middlewrapper > div > div.ui.secondary.stackable.menu > div.right.menu > a {margin-left: auto !important; margin-right: auto  !important;}
#menumini > a:nth-child(13) > div {position: absolute;
    z-index: 100;
    top: 26px;
    left: 70px;
    margin: 0em 0em 0em -.5em !important;}
#menumini > a:nth-child(19) > div {position:relative !important; left: 0 !important;}
    body > div.ui.container > div.ui.text.menu.stackable > div.ui.stackable.right.dropdown.item.upward.active.visible > div {z-index:999999999;}
    body > div.ui.container > div.ui.text.menu.stackable > div.ui.stackable.right.dropdown.item {padding:10px;}
   
    body > div.ui.container > div.ui.text.menu.stackable > div {margin-bottom: .3em; padding: 3px;}
    body > div.ui.container > div.ui.text.menu.stackable > a.browse.item {margin-bottom:1em;}

    #showmobile {font-size: 1.4em !important;
    position: absolute;
    left: 182px;
    top: 42px;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.stackable.menu > a:nth-child(1) {font-size: 0.7em;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.stackable.menu > a:nth-child(2) {font-size: 0.7em;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.stackable.menu > a:nth-child(3) {font-size: 0.7em;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.stackable.menu > a:nth-child(4) {font-size: 0.7em;}
    #middlewrapper > div > div:nth-child(6) > a:nth-child(1) > div {margin-bottom:1em;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.menu {margin-left: auto !important; text-align: center; margin-right: auto  !important; padding: 1em;}
    #adminmobiletrigger {display:block; margin-bottom:1em;}
    #adminmenumobile {display:none;}
    #myactions > a {margin-bottom:5px;}
    .mobilecenter {margin-left:auto; margin-right:auto; text-align:center;}
body > div.ui.container > div.ui.flowing.basic.stackable.admission.popup.top.left.transition.visible > div > div:nth-child(1) > div > a {padding-top:.5em; padding-bottom:.5em;}
body > div.ui.container > div.ui.flowing.basic.stackable.admission.popup.top.left.transition.visible > div > div:nth-child(2) > div > a {padding-top:.5em; padding-bottom:.5em;}
body > div.ui.container > div.ui.flowing.basic.stackable.admission.popup.top.left.transition.visible > div > div:nth-child(3) > div > a {padding-top:.5em; padding-bottom:.5em;}

    #middlewrapper > div > div.ui.small.images {margin-left: auto; margin-right: auto; width: 85%;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.stackable.menu {margin-left: auto !important; margin-right: auto; padding: 1em;}
    #middlewrapper > div > div.ui.secondary.stackable.menu {text-align: center;}
        .ui.modal {margin-top: -256px !important;}
        .ui.primary.button {margin:3px !important;}
        #middlewrapper {width:94%; margin:0 auto;}
        .ui.cards > .card, .ui.card {width:100% !important;}

        .ui.grid > .row > [class*="two wide"].column, .ui.grid > .column.row > [class*="two wide"].column, .ui.grid > [class*="two wide"].column, .ui.column.grid > [class*="two wide"].column {
            width:30.5% !important;
        }

       #header {    min-height: auto !important; max-height: auto; overflow: hidden !important;}

       body > div.ui.container > div.ui.text.menu.stackable {display:none;}

}

@media only screen and (min-width:901px) and (max-width:1198px) {
#backtotopmobile {display:block;}
#middlewrapper > div > div.ui.link.cards > div {width:48% !important;}
#middlewrapper > div > div > div > div.ui.cards.center.aligned.padded.grid > div {width:48% !important;}
iframe {width:100% !important; height:500px !important;}
#menumini {columns:2;}
.ui.floating.label {position: relative; z-index: 100; top: -1em; left: 0; margin: 0em 0em 0em -1.5em !important;}
#mob {display:inherit;}
#showonmobile2 {display:block; position: relative;
    left: 11px;}
    body > div.ui.container > div.ui.text.menu.stackable > a {position: relative; font-size: 23px; word-break: keep-all !important; padding: .5rem;  position: relative; background: #FFF;  margin: 1rem 0; padding: 1em;}
    body > div.ui.container > div.ui.text.menu.stackable > div#showmobile > a {position: relative; font-size: 23px; word-break: keep-all !important; padding: .5rem;  position: relative; background: #FFF; box-shadow: 0 1px 2px 0 rgba(34,36,38,.15); margin: 1rem 0; padding: 1em; border-radius: .28571429rem; border: 1px solid rgba(34,36,38,.15); }
    body > div.ui.container > div.ui.text.menu.stackable {position: relative; display: block;  height: 700px;}
    #showmobile {display:list-item; }
    #showonmobile {display:block;}
    #showonmobilesearch {display:none;}
    #showondesktop {display:none;}
    #middlewrapper > div > div.ui.middle.aligned.divided.list > div > img {margin-top:10px;}
    #middlewrapper > div > div.ui.middle.aligned.divided.list > div > div.right.floated.content {margin-bottom:10px;     margin-top: 10px;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.menu > a {margin-left: auto !important; margin-right: auto  !important;}
    #menumini > a:nth-child(13) > div {position: absolute;
    z-index: 100;
    top: 26px;
    left: 70px;
    margin: 0em 0em 0em -.5em !important;}
#menumini > a:nth-child(19) > div {position:relative !important; left: 0 !important;}
    body > div.ui.container > div.ui.text.menu.stackable > div.ui.stackable.right.dropdown.item.upward.active.visible > div {z-index:999999999;}
    body > div.ui.container > div.ui.text.menu.stackable > div.ui.stackable.right.dropdown.item {padding:10px;}
    body > div.ui.container > div.ui.text.menu.stackable > div {margin-bottom: .3em; padding: 3px;}
    body > div.ui.container > div.ui.text.menu.stackable > a.browse.item {margin-bottom:1em;}
    #showmobile {font-size: 1.4em !important;
    position: absolute;
    left: 182px;
    top: 42px;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.stackable.menu > a:nth-child(1) {font-size: 0.7em;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.stackable.menu > a:nth-child(2) {font-size: 0.7em;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.stackable.menu > a:nth-child(3) {font-size: 0.7em;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.stackable.menu > a:nth-child(4) {font-size: 0.7em;}
    #middlewrapper > div > div:nth-child(6) > a:nth-child(1) > div {margin-bottom:1em;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.menu {margin-left: auto !important; text-align: center; margin-right: auto  !important; padding: 1em;}
    #adminmobiletrigger {display:block; margin-bottom:1em;}
    #adminmenumobile {display:none;}
    #myactions > a {margin-bottom:5px;}
    .mobilecenter {margin-left:auto; margin-right:auto; text-align:center;}
body > div.ui.container > div.ui.flowing.basic.stackable.admission.popup.top.left.transition.visible > div > div:nth-child(1) > div > a {padding-top:.5em; padding-bottom:.5em;}
body > div.ui.container > div.ui.flowing.basic.stackable.admission.popup.top.left.transition.visible > div > div:nth-child(2) > div > a {padding-top:.5em; padding-bottom:.5em;}
body > div.ui.container > div.ui.flowing.basic.stackable.admission.popup.top.left.transition.visible > div > div:nth-child(3) > div > a {padding-top:.5em; padding-bottom:.5em;}

    #middlewrapper > div > div.ui.small.images {margin-left: auto; margin-right: auto; width: 85%;}
    #middlewrapper > div > div.ui.secondary.stackable.menu > div.right.stackable.menu {margin-left: auto !important; margin-right: auto; padding: 1em;}
    #middlewrapper > div > div.ui.secondary.stackable.menu {text-align: center;}
        .ui.modal {margin-top: -256px !important;}
        .ui.primary.button {margin:3px !important;}
        #middlewrapper {width:94%; margin:0 auto;}
        .ui.cards > .card, .ui.card {width:100% !important;}

        .ui.grid > .row > [class*="two wide"].column, .ui.grid > .column.row > [class*="two wide"].column, .ui.grid > [class*="two wide"].column, .ui.column.grid > [class*="two wide"].column {
            width:30.5% !important;
        }

       #header {    min-height: auto !important; max-height: auto; overflow: hidden !important;}

       body > div.ui.container > div.ui.text.menu.stackable {display:none;}
       .mobile_menu {display: block; font-size: 1.7em; padding: .5em; margin-top: 20px;}

}

@media only screen and (min-width: 1199px) {

#googlemapsid {width: 100%; height:400px !important;}
#backtotopmobile {display:block;}
.secondmobilemenu {display:none;}
    #mob {display:none;}
    #showonmobilesearch {display:none;}
    #showonmobile2 {display:none;}
    #showmobile {display:none;}
    #showondesktop {display:block;}
    #showonmobile {display:none;}
    #adminmobiletrigger {display:none;}
    #adminmenumobile {display:block;}
    #middlewrapper {width:59%; margin:0 auto;}
    #header {    min-height: auto !important; max-height: auto; overflow: hidden !important;}
    .mobile_menu {display:none;}
}


#midfooter {width:100%; background-color: #164147;}
#footer {width:100%; background-color: transparent;}
#belowfooter {width:100%; background-color: #0c272a;}

.videocontainer {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#postit img {width:100%;}
#myactions {height:100px; overflow-y:auto;}

h2.ui.header .sub.header {
    font-size: 0.5em !important; font-weight: normal !important;
}


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
