/* X-Large devices (large desktops, 2000px and below) */
@media only screen and (max-width: 10000px) {
    /*Header*/
    #search-modal {
        padding: 50px !important;
    }

    .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
        margin-right: -15px;
        margin-left: -15px;
    }


    .touch-button {
        display: none;
    }


    /* Modal */

    div[id^='scfc-modal-'] {
        padding-right: 0 !important;
    }

        div[id^='scfc-modal-'] > .modal-dialog {
            width: 95%;
            height: 95%;
            bottom: auto;
            padding: 0;
        }

            div[id^='scfc-modal-'] > .modal-dialog > .modal-content {
                height: 100%;
                min-height: 100%;
                height: auto;
                border-radius: 0;
            }

    /* Promoted Links */
    .pl-desc, .pd-desc {
        display: none;
    }

    img .mask a.txtbutton.detail .pl-desc {
        display: inline !important;
    }

    #sec-promoted-applications a {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Large devices (desktops, 1200px and below) */
@media only screen and (max-width: 1200px) {
    .jp-container {
        height: 280px;
    }

    #footer-i-want-to {
        padding-left: 100px;
    }

    .news-accessory-cc-logo {
        border-right: none;
    }

    #document-central .promoted-docs {
        width: 20% !important;
    }
}

/* Medium devices (desktops, 992px and below) */
@media only screen and (max-width: 992px) {
    /*Homepage - Recent Posts*/
    .thumbnail-column {
        border: none;
    }

    .news-accessory-cc-logo {
        border-right: none;
    }

    .traffic-text-area {
        display: none !important;
        visibility: hidden !important;
    }

    .nav > li > a {
        padding: 15px 10px 15px 10px;
    }

    .nav {
        font-size: 20px;
    }

    .subnavbar-default {
        font-size: 12px;
    }

    #icon-nav-row .tp-content .content-header {
        text-transform: capitalize;
        font-size: 14px;
    }

    #top-services-row .ts-container {
        width: 33.333333%;
    }

    .ezine-right {
        padding: 22px 0 0 0;
    }

    .ezine-left .text h1 {
        font-size: 20px;
    }

    #news-accessory h1 {
        font-size: 24px;
    }

    .jp-container {
        height: 213px;
    }

    #footer-i-want-to {
        padding-left: 0;
    }

    #icon-nav-content .tp-content {
        width: 25%;
    }
    /*Controls the affix*/
    #right-column-affix-wrapper.affix {
        position: inherit !important;
        width: 100%;
    }

    #right-column-affix-wrapper.affix-bottom {
        position: inherit !important;
        width: 100%;
    }

    #right-column .page-categories {
        display: none !important;
    }

    .subnav-county-center > li > a {
        font-size: 16px;
    }

    .i-want-to-dropdown {
        left: -290px;
    }

    .county-services-dropdown {
        left: -408px;
    }

    .transparency-dropdown {
        left: -566px;
    }

    #right-column, .right-column {
        padding-left: 0;
    }

    .jp-container {
        height: auto !important;
    }



    div[id^='scfc-modal-'] > .modal-dialog {
        width: 100%;
        height: 100%;
        margin: 0;
    }

        div[id^='scfc-modal-'] > .modal-dialog > .modal-content {
            height: 100%;
            min-height: 100%;
            height: auto;
        }


    #rod-about-section {
        border-bottom: 1px solid #efefef;
        background-image: none;
    }

    #document-central .promoted-docs {
        width: 25% !important;
    }
}

/* Extra Small Devices: Phone <768px */
@media only screen and (max-width: 768px) {
    .flexnav li {
        font-size: 16px;
    }

    #calendar-filter-nav {
        display: none;
    }

    .ml-wrap .ml-lang-btn {
        padding: 14px 19px;
    }


    #Image1 {
        display: none;
    }

    #site-name .title {
        margin: 8px 0 -10px 0;
    }


    .spa-statement {
        font-size: 20px;
    }

    /* Homepage - Rotator */
    #top-services-row {
        padding: 10px 0;
    }

        #top-services-row .ts-container {
            width: 50%;
            padding: 15px 0;
        }

            #top-services-row .ts-container .ts-content .icon {
                margin: 0 auto;
                float: none;
            }

            #top-services-row .ts-container .ts-content .title {
                text-align: center;
            }

    #cc-featured-row {
        padding-top: 0px;
    }

    #accessories-row {
        background-image: none;
    }

    .nav {
        padding-left: 0;
    }

    /*Tabs*/
    main#spa-main-content section ul.nav-tabs > li {
        float: none;
    }

    .col-divide {
        border-right: none;
    }

    .col-divide-left {
        border-left: 1px dotted #ccc;
    }

    /*Flex Nav*/
    .menu-button .touch-button {
        display: block;
    }

    .flexnav {
        max-height: 0;
    }

    .navbar-nav {
        float: none;
        text-align: center;
        width: 100%;
        margin: 0 0 7.5px 0;
    }

        .navbar-nav .open .dropdown-menu {
            position: static;
            float: none;
            width: auto;
            margin-top: 0;
            margin-bottom: 10px;
            background-color: #fff;
            border: 0;
            -webkit-box-shadow: none;
            box-shadow: none;
            text-align: center;
            box-shadow: none;
            overflow-x: auto;
            overflow-y: auto;
        }

    .navbar-toggle {
        position: absolute;
        right: 35px;
        top: 0px;
        float: none;
        background-color: #fff;
    }

    .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
        margin-right: -15px;
        margin-left: -15px;
    }

    .navbar-default .navbar-nav .dropdown-menu > li > a {
        color: #777;
    }

        .navbar-default .navbar-nav .dropdown-menu > li > a:hover,
        .navbar-default .navbar-nav .dropdown-menu > li > a:focus {
            color: #333;
            background-color: transparent;
        }

    .navbar-default .navbar-nav .dropdown-menu > .active > a,
    .navbar-default .navbar-nav .dropdown-menu > .active > a:hover,
    .navbar-default .navbar-nav .dropdown-menu > .active > a:focus {
        color: #555;
        background-color: #e7e7e7;
    }

    .navbar-default .navbar-nav .dropdown-menu > .disabled > a,
    .navbar-default .navbar-nav .dropdown-menu > .disabled > a:hover,
    .navbar-default .navbar-nav .dropdown-menu > .disabled > a:focus {
        color: #ccc;
        background-color: transparent;
    }


    #navigation {
        height: 42px;
        width: 100%;
        position: absolute;
    }

    .nav-menu {
        display: none;
    }

    .mobile-drop {
        display: block;
    }

    .dropdown-menu {
        position: relative;
        width: 100%;
        background-color: transparent;
        border: none;
    }

    .subnav-social > li:first-child {
        border-left: none;
        padding-right: 0;
    }

    input.navbar-search-text-modal {
        font-size: 25px;
    }

    .search-modal__headline {
        font-size: 20px;
        position: relative;
        top: 10px;
    }

    .search-modal__close {
        top: -55px;
        right: 20px;
        height: 15px;
        width: 15px;
        z-index: 99999;
        color: #fff;
    }



    .accordion {
        float: none;
        width: 75%;
        margin: 0 auto;
        text-align: center;
    }

        .accordion .panel {
            border-bottom: none;
        }

    #center-column-container-nest {
        padding-top: 0;
    }

    .left a.left-icon {
        display: none;
    }

    .news-accessory-header {
        margin: 0 -15px;
    }

    .jp-container {
        height: auto !important;
        margin: 0 -15px;
    }

    #right-column h3, .right-column h3 {
        /* margin-top: 0px; */
        padding-top: 20px;
    }

    .breadcrumb, .county-center-breadcrumb, .center-column-title, .center-column-title-content, #center-column, #right-column, .right-column {
        padding-left: 15px;
        padding-right: 15px;
    }

    .ezine-signup-bg {
        display: none;
    }

    #icon-nav-content .tp-content {
        width: 33%;
    }
    /*Controls the affix*/
    #right-column-affix-wrapper.affix {
        position: inherit !important;
        width: 100%;
    }

    #right-column-affix-wrapper.affix-bottom {
        position: inherit !important;
        width: 100%;
    }

    #right-column .page-categories {
        display: none !important;
    }


    /*Social Fix*/
    #share-this {
        background-color: transparent;
    }

        #share-this ul {
            position: absolute;
            top: 5px;
            right: 5px;
            padding: 0;
            min-height: 25px;
        }

    .recent-posts-feed {
        padding: 0;
    }

    /*article .thumbnail a.thumbnail-link {
        display: none;
    }*/

    /*.thumbnail .caption {
        padding-left: 20px;
    }*/

    article h2.title {
        margin-top: 0px;
    }

    /*Facility Maps*/
    #facility-map-container {
        display: none;
    }

    #spa-election-dates {
        padding-top: 0 !important;
    }

    .promoted-apps, .promoted-links, .promoted-docs, #document-central .promoted-docs {
        width: 100% !important;
    }

    #spa-promoted-applications, #sec-promoted-applications {
        height: inherit;
    }

        #sec-promoted-applications a {
            padding-left: 0;
            padding-right: 0;
        }



    .promoted-apps-container, .promoted-apps-container.container {
        padding: 0 15px;
    }

    /* Deprecated - Used on moment.js buttons for elections. */
    .btn-sm-block {
        display: block;
    }
    /* New for Notification bars */
    .widget-header-notice .btn {
        display: block;
        margin-bottom: 10px;
    }


    /* Promoted Links */
    .pl-btn-txt, .pd-btn-txt, .promoted-docs .pd-inner:before {
        display: none;
    }

    .pl-desc, .pd-desc {
        display: block;
        background-color: aliceblue;
    }



    /*Modal*/
    #scfc-project-modal h1 {
        font-size: 25px;
    }

    #scfc-project-modal h2 {
        font-size: 20px;
    }

    #scfc-project-modal h3 {
        font-size: 16px;
    }

    #scfc-project-modal h4 {
        font-size: 14px;
    }

    /**! 8. Paddings & Margins **/
    .mb-xs-0 {
        margin-bottom: 0;
    }

    .mb-xs-8 {
        margin-bottom: 8px;
    }

    .mb-xs-16 {
        margin-bottom: 16px;
    }

    .mb-xs-24 {
        margin-bottom: 24px;
    }

    .mb-xs-32 {
        margin-bottom: 32px;
    }

    .mb-xs-40 {
        margin-bottom: 40px;
    }

    .mb-xs-48 {
        margin-bottom: 48px;
    }

    .mb-xs-64 {
        margin-bottom: 64px;
    }

    .mb-xs-72 {
        margin-bottom: 72px;
    }

    .mb-xs-80 {
        margin-bottom: 80px;
    }

    .mb-xs-88 {
        margin-bottom: 88px;
    }

    .mb-xs-96 {
        margin-bottom: 96px;
    }

    .mb-xs-104 {
        margin-bottom: 104px;
    }

    .mb-xs-112 {
        margin-bottom: 112px;
    }

    .mb-xs-120 {
        margin-bottom: 120px;
    }

    .mt-xs-0 {
        margin-top: 0 !important;
    }

    .mt-xs-8 {
        margin-top: 8px;
    }

    .mt-xs-16 {
        margin-top: 16px;
    }

    .mt-xs-24 {
        margin-top: 24px;
    }

    .mt-xs-32 {
        margin-top: 32px;
    }

    .mt-xs-40 {
        margin-top: 40px;
    }

    .mt-xs-48 {
        margin-top: 48px;
    }

    .mt-xs-56 {
        margin-top: 56px;
    }

    .mt-xs-64 {
        margin-top: 64px;
    }

    .mt-xs-72 {
        margin-top: 72px;
    }

    .mt-xs-80 {
        margin-top: 80px;
    }

    .mt-xs-88 {
        margin-top: 88px;
    }

    .mt-xs-96 {
        margin-top: 96px;
    }

    .mt-xs-104 {
        margin-top: 104px;
    }

    .mt-xs-112 {
        margin-top: 112px;
    }

    .mt-xs-120 {
        margin-top: 120px;
    }

    .p-xs-0 {
        padding: 0;
    }

    .pt-xs-0 {
        padding-top: 0;
    }

    .pt-xs-8 {
        padding-top: 8px;
    }

    .pt-xs-16 {
        padding-top: 16px;
    }

    .pt-xs-24 {
        padding-top: 24px;
    }

    .pt-xs-32 {
        padding-top: 32px;
    }

    .pt-xs-40 {
        padding-top: 40px;
    }

    .pt-xs-48 {
        padding-top: 48px;
    }

    .pt-xs-64 {
        padding-top: 64px;
    }

    .pt-xs-72 {
        padding-top: 72px;
    }

    .pt-xs-80 {
        padding-top: 80px;
    }

    .pt-xs-88 {
        padding-top: 88px;
    }

    .pt-xs-96 {
        padding-top: 96px;
    }

    .pt-xs-104 {
        padding-top: 104px;
    }

    .pt-xs-112 {
        padding-top: 112px;
    }

    .pt-xs-120 {
        padding-top: 120px;
    }

    .pt-xs-160 {
        padding-top: 160px;
    }

    .pt-xs-180 {
        padding-top: 180px;
    }

    .pt-xs-240 {
        padding-top: 240px !important;
    }

    .pb-xs-0 {
        padding-bottom: 0;
    }

    .pb-xs-8 {
        padding-bottom: 8px;
    }

    .pb-xs-16 {
        padding-bottom: 16px;
    }

    .pb-xs-24 {
        padding-bottom: 24px;
    }

    .pb-xs-32 {
        padding-bottom: 32px;
    }

    .pb-xs-40 {
        padding-bottom: 40px;
    }

    .pb-xs-48 {
        padding-bottom: 48px;
    }

    .pb-xs-64 {
        padding-bottom: 64px;
    }

    .pb-xs-72 {
        padding-bottom: 72px;
    }

    .pb-xs-80 {
        padding-bottom: 80px;
    }

    .pb-xs-88 {
        padding-bottom: 88px;
    }

    .pb-xs-96 {
        padding-bottom: 96px;
    }

    .pb-xs-104 {
        padding-bottom: 104px;
    }

    .pb-xs-112 {
        padding-bottom: 112px;
    }

    .pb-xs-120 {
        padding-bottom: 120px;
    }

    .pb-xs-180 {
        padding-bottom: 180px;
    }

    .pb-xs-240 {
        padding-bottom: 240px;
    }

    .list-col-2 {
        column-count: 1;
        column-gap: 0;
    }

    .list-col-3 {
        column-count: 1;
        column-gap: 0;
    }

    .list-col-4 {
        column-count: 1;
        column-gap: 0;
    }

    .list-col-6 {
        column-count: 1;
        column-gap: 0;
    }

    .col-bdr-dbl-bottom {
        border-bottom: none;
    }

    .col-bdr-dbl-top {
        border-top: none;
    }

    .col-bdr-dbl-left {
        border-left: none;
    }

    .col-bdr-dbl-right {
        border-right: none;
    }
}





@media only screen and (min-width: 640px) and (max-width: 768px) {
    #page-content {
        padding: 0;
    }

    footer {
        margin-top: 30px;
        position: relative;
    }

    div[id^='scfc-modal-'] > .modal-dialog > .modal-content > .modal-footer {
        margin-bottom: 45px;
    }
}

@media only screen and (max-width: 640px) {




    #Image1 {
        display: none;
    }

    #site-name .title {
        margin: 8px 0 -10px 0;
    }


    div[id^='scfc-modal-'] > .modal-dialog > .modal-content > .modal-footer {
        margin-bottom: 45px;
    }

    .carousel-caption {
        top: 0;
    }

    /*img.img-thumbnail-news {
        display: none;
    }*/
    /*#accessories-row {background-image: none; max-height:425px;}*/

    #news-accessory h1 {
        font-size: 24px;
    }

    #right-column h1, #right-column h2, #right-column h3, #right-column h4, #right-column h5, #right-column h6 {
        margin-left: 0;
    }

    /*.navbar-collapse {height: 170px;}*/
    /*.navbar-nav {margin: 10px;}*/

    /*.navbar-default .navbar-nav > li > a {padding: 0 15px}*/

    /*.center-column-title h1, .h1 {
        font-size: 24px;
        margin-top: 0;
    }

    #center-column h1, .h1 {
        font-size: 30px;
        margin-top: 0;
    }

    #center-column h2, .h2 {
        font-size: 22px;
    }

    #center-column h3, .h3 {
        font-size: 20px;
    }*/

    #page-content {
        padding-top: 0;
        border-bottom: none;
        padding: 0 0 50px 0;
    }

    #page-content-row {
        margin-bottom: -18px;
    }

    input.navbar-search-text:focus {
        width: auto;
        z-index: 1;
        cursor: text;
        padding: 0 0 0 30px;
        background-color: #fff;
    }

    /*#left-column {display: block !important;}*/

    .shifter-enabled .shifter-navigation {
        position: fixed;
        opacity: 1;
        height: 300px;
        padding: 0 0 0 20px;
    }

    .ezine-signup-bg {
        display: none;
    }

    footer {
        position: relative;
        margin-top: 30px;
    }

    #icon-nav-content .tp-content {
        width: 50% !important;
        min-height: 0;
        padding: 20px 0;
    }

    .lead {
        font-weight: normal;
    }

    #top-services-row .ts-container {
        width: 50%;
    }

    #top-services-row {
        position: relative;
    }

    .promoted-links > .pl-label {
        display: none;
    }
}

/*Internet Explorer 9+10 Navbar-Search Hack - Resource: http://keithclark.co.uk/articles/moving-ie-specific-css-into-media-blocks/media-tests/ */

@media screen and (min-width:0\0) {
    /* IE - Search Fix: Does not support HTML 5 */
    input.navbar-search-text {
        height: 40px;
        font-size: 20px;
        font-weight: 100;
        border: 1px dotted #ccc;
        outline: none;
        color: #555;
        padding: 3px 175px 5px 10px;
        top: 5px;
        background: #fff;
        transition: none;
        cursor: pointer;
    }

        input.navbar-search-text:focus {
            width: 175px;
            z-index: 1;
            cursor: text;
            padding: 0 0 0 10px;
        }

    input.navbar-search-submit {
        display: none;
    }

    .carousel {
        margin-left: 0px;
    }

    .carousel-wrapper .nav {
        margin-right: 0px;
    }
}

/* @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { }*/
/*IE10+ CSS styles go here*/

/* Start: Pretty Photo Fix 
@media all and (max-width:600px) {
div.pp_pic_holder{width:80%!important; left:10%!important;}
}

@media all and (max-width:3000px) {
div.pp_pic_holder{width:50%!important; left:25%!important;}
.pp_content{ width:100%!important;}
iframe {width: 100%!important;}
div.pp_default .pp_content_container .pp_details {width: 100% !important;}
a.pp_close { right: 8px;}
}*/
/* End: Pretty Photo*/
