@media (max-width: 940px) {
    #brandboxModule {
        min-width: 100%;
    }
}

@media (min-width: 1200px) {
    nav {
        position: absolute;
        top: 46px;
        right: -9px;
    }

    nav li {
        float: left;
        margin-left: 5px;
    }

    nav a {
        padding: 3px 9px 2px 8px;
        font: 18px/18px 'BrandonBold', Arial, Helvetica, sans-serif;
        color: #a3a3a3;
        text-transform: uppercase;
    }

    nav a:hover, nav a.active {
        color: #fff;
        background: #688001;
        text-decoration: none;
    }

    #slider .container .line {
        font: 36px/34px 'BrandonBold', Arial, Helvetica, sans-serif;
    }

    #brandboxModule .slide .container {
        left: 50%;
        margin-left: -585px;
    }

    #brandboxModule .slide a {
        position: relative;
    }

    #brandboxModule .bx-controls {
        width: 1170px;
        height: 15px;
        position: absolute;
        bottom: 0;
        z-index: 99999;
        left: 50%;
        margin-left: -585px;
    }

    #brandboxModule .bx-prev {
        background: url('/images/layout/slider-arrow-left.png') no-repeat;
        left: 0px;
    }

    #brandboxModule .bx-next {
        background: url('/images/layout/slider-arrow-right.png') no-repeat;
        right: 0px;
    }

    .twitterItem p {
        min-height: 100px;
        margin-bottom: 0;
    }

    .twitterDate p {
        min-height: 14px;
    }

    .newsItemSummary p {
        height: 110px;
        overflow: hidden;
    }
}

@media (min-width: 1320px) {
    #brandboxModule .bx-prev {
        background: url('/images/layout/slider-arrow-left.png') no-repeat;
        left: -70px;
    }

    #brandboxModule .bx-next {
        background: url('/images/layout/slider-arrow-right.png') no-repeat;
        right: -70px;
    }
}

@media (max-width: 979px) {
    nav {
        top: 41px;
    }

    nav li {
        margin-left: 5px;
    }

    nav a {
        font-size: 13px;
        padding: 0px 7px 0px 6px;
    }

    #slider .container .line {
        font: 24px/22px 'BrandonBold', Arial, Helvetica, sans-serif;
    }

    #slider .container .readMore {
        width: 150px;
        height: 35px;
        margin-left: -75px;
        bottom: -60px;
    }

    #brandboxModule .bx-controls {
    }

    .span3 {
        width: 228px;
    }

    .row .span3:nth-child(4) {
        display: none;
    }

    .blogItemsOverview .span3 {
        width: 166px;
    }

    .sidebarLeft ul li a {
        font-size: 16px; 
    }

    .twitterItem p {
        min-height: 150px;
        margin-bottom: 0;
    }

    .twitterDate p {
        min-height: 14px;
    }

    .contactContainer {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }
}

@media (max-width: 979px) and (min-width: 768px) {
    #webcamPlaceholderIOS {
    display: block;
}

#webcamPlaceholder {
    display: none;
}
    .row .span6 {
        width: 476px;
    }

    .sidebarRight {
        width: 476px !important;
        padding-top: 0;
        padding-left: 248px;
    }

    #brandboxModule .slide .container {
        left: 50%;
        margin-left: -362px;
    }

    a.readMoreModule {
        display: block;
        margin-bottom: 10px;
    }

    .blogItemReadMore { padding-left: 20px; }
}

@media (max-width: 767px) {
    #webcamPlaceholderIOS {
    display: block;
}

#webcamPlaceholder {
    display: none;
}
    [class*="span"], .uneditable-input[class*="span"], .row-fluid [class*="span"] {
        width: 100%;
    }

    #navButton {
        display: block;
        width: 25px;
        height: 18px;
        background: url('/images/layout/show-nav.jpg') no-repeat;
        position: absolute;
        top: 43px;
        right: 10px;
        cursor: pointer;
    }

    nav {
        position: absolute;
        top: 100px;
        left: -10px;
        width: 100%;
        padding: 0 10px;
        background: #949494;
        z-index: 99999999;
        display: none;
    }

    nav li {
        width: 100%;
        min-height: 40px;
        border-bottom: 1px dotted #fff;
        margin: 0;
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav li a {
        display: block;
        width: 100%;
        height: 40px;
        color: #fff;
        background: none;
        padding: 0 0 0 5px;
        line-height: 40px;
    }

    nav li a:hover, nav li a.active {
        color: #fff;
        background: none;
        padding: 0 0 0 5px;
    }

    nav ul ul {
        display: block;
    }

    nav ul ul li {
        border-bottom: none;
        border-top: 1px dotted #fff;
        text-indent: 20px;
    }

    nav ul ul li a {
        font: 16px/40px 'BrandonLight', Arial, Helvetica, sans-serif;
        text-transform: none;
    }

    #brandboxModule .slide .container {
        left: 50%;
        margin-left: -362px;
    }

    #brandboxModule, #slider .container, #slider, #slider .slide {
        padding: 0;
    }

    #brandboxModule .slide .container {
        width: 100%;
        left: 0;
        margin-left: 0;
        text-align: center;
    }

    #slider .container .alignBottom {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 2px 5px 2px 5px;
        margin-right: 0;
        background: url('/images/layout/bg-black-transparent.png');
    }

    #slider .container .line {
        font: 14px/14px 'BrandonBold', Arial, Helvetica, sans-serif;
        padding: 0;
        margin-bottom: 0;
        background: none;
    }

    #slider .container .secondLine {
        margin-bottom: 0;
    }

    #brandboxModule .bx-controls {
        bottom: 0px;
    }

    .sidebarRight {
        padding-top: 0;
    }

    .container {
        -webkit-box-sizing: border-box; 
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .slide .container {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    #slider .container .readMore {
        bottom: -46px;
    }

    .sidebarLeft h1 { margin-bottom: 15px; }
    .sidebarLeft ul { display: none; }
    .contentContainer .container h1 { font-size: 20px; }
    .contentContainer .container p { font-size: 15px; line-height: 22px; }

    .row .span3:nth-child(4) {
        display: block;
    }

    .newsItemSummary p {
        height: auto;
    }

    .newsContainer h2, .twitterContainer h2 {
        margin-bottom: 5px;
    }

    a.readMoreModule {
        display: block;
        margin-bottom: 10px;
    }

    .blogItemReadMore { padding-left: 0; }

    .twitterItem p {
        min-height: 10px;
        margin-bottom: 10px;
    }

    label {
        width: 100%;
        height: 20px;
        line-height: 20px;
    }

    input {
        width: 100%;
    }

    #blogItemYoutubeVideos .youtubeVideo {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    footer .container {
        padding: 80px 0 40px;
    }

    footer .footerLogo {
        bottom:60px;
        right:5px;
    }

    footer .socialMedia {
        bottom: 20px;
        right: 5px;
    }

    footer .aside {
        bottom: 0;
        left: 10px;
    }
}

#map_canvas img {
    min-width: 0 !important;
}

@media (max-width: 480px) {

    #webcamPlaceholderIOS {
        display: block;
    }

    #webcamPlaceholder {
        display: none;
    }
    .newsContainer span.title {
        float: none;
        margin-bottom: 10px !important;
    }

    a.readMoreModule {
        margin-top: 0 !important;
        float: none;
    }

    .twitterContainer span.title {
        float: none;
        margin-bottom: 10px !important;
    }

    footer .container {
        min-height:600px;
    }

    footer .footerLogo {
        top:10px;
        left:10px;
    }

    footer .container p {
        width: 90%;
        position:absolute;
        top:250px;
        left:10px;
    }

    footer .socialMedia {
        top: 500px;
        left: 10px;
    }

    footer p.aside {
        top: 550px !important;
        left: 10px !important;
    }

}

