/* media queries */

@media (min-width: 980px) {
    .sidebar {
        left: 0;
        margin-left: 0;
        position: fixed;
        top: 40px;
    }
    .navbar-fixed-top .nav-collapse {
        height: 40px !important;
    }
    .navbar .nav > li > a {
        padding-top: 10px;
    }
    .gebo-fixed {
        margin: 0 auto;
        max-width: 940px;
    }
    .gebo-fixed header .container-fluid {
        margin: 0 auto;
        max-width: 940px;
    }
    .gebo-fixed #maincontainer {
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }
    .gebo-fixed .sidebar {
        left: 50%;
        margin-left: -469px;
    }
    .gebo-fixed .sidebar_switch {
        left: 50%;
        margin-left: -250px;
    }
    .gebo-fixed.sidebar_hidden .sidebar_switch {
        left: 50%;
        margin-left: -465px;
    }
    .gebo-fixed .search_page .box_view .search_item {
        height: 210px;
        margin: 0 0 2% 2%;
        width: 48%;
    }
    .gebo-fixed .activeMediaTable th.optional,.gebo-fixed .activeMediaTable td.optional {
        display: none;
    }
    .gebo-fixed .brand {
        width: 120px;
    }
    .sidebar_right #maincontainer {
        background-image: url(../img/main_bg_right.gif);
        background-position: right 0;
    }
    .sidebar_right .sidebar {
        left: auto;
        right: -1px;
    }
    .sidebar_right .sidebar_switch {
        left: auto;
        right: 6px;
    }
    .sidebar_right .main_content {
        border-left: none;
        margin-left: 0;
        margin-right: 240px;
    }
    .sidebar_right.sidebar_hidden #maincontainer {
        background: #fff;
    }
    .sidebar_right.sidebar_hidden .main_content {
        margin: 0;
    }
    .gebo-fixed.sidebar_right .sidebar {
        left: auto;
        margin-left: 0;
        margin-right: -470px;
        right: 50%;
    }
    .gebo-fixed.sidebar_right .sidebar_switch {
        left: auto;
        margin-left: 0;
        margin-right: -465px;
        right: 50%;
    }
    .gebo-fixed.sidebar_hidden.sidebar_right .sidebar_switch {
        left: auto;
        margin-left: 0;
        margin-right: -465px;
        right: 50%;
    }
}

@media (max-width: 1279px) {
    .search_page .box_view .search_item {
        width: 49%;
    }
}

@media (max-width: 979px) {
    #maincontainer {
        background: #fff;
    }
    .row > [class*="span"],.navbar-fixed-top {
        margin: 0 !important;
    }
    .navbar-fixed-top .container-fluid {
        padding: 0 !important;
    }
    .navbar .brand {
        line-height: 18px;
        margin: 3px 0 6px 34px;
        width: auto;
    }
    .navbar .user_menu {
        padding-top: 5px;
    }
    .navbar .user_menu .dropdown-menu {
        margin: 8px 10px 0 0;
    }
    .navbar .user_menu > li > a {
        padding: 0 10px 0 0;
    }
    .navbar-inner {
        min-height: 28px;
        position: relative;
        z-index: 990;
    }
    .nav-collapse a {
        color: #fff !important;
    }
    .nav-collapse .dropdown-menu li {
        padding: 0;
    }
    .nav-collapse .dropdown-menu li a {
        font-weight: 400;
    }
    .nav-collapse .sub-menu {
        display: block;
        left: 0;
        position: relative;
        right: auto;
        visibility: visible;
    }
    .nav-collapse .caret-right {
        display: none;
    }
    .btn-navbar {
        margin-top: 2px !important;
        padding: 2px 8px !important;
    }
    .user_menu .dropdown {
        margin-left: 10px;
    }
    .main_content {
        border: none !important;
        margin: 0 !important;
        padding: 28px 14px 20px;
    }
    .main_content .row-fluid + .row-fluid {
        margin-top: 20px;
    }
    .sidebar {
        background: #f1f1f1;
        border-color: #ccc;
        border-radius: 0px 5px 5px 0px;
        border-style: solid;
        border-width: 0 1px;
        box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
        height: 400px;
        left: 0;
        margin: 0;
        moz-box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
        position: absolute;
        top: 39px;
        webkit-border-radius: 0px 5px 5px 0px;
        webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    .sidebar:after {
        border-bottom: 6px solid #fff;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        content: "";
        display: inline-block;
        left: 15px;
        position: absolute;
        top: -6px;
    }
    .sidebar_hidden .sidebar {
        border: none;
    }
    .sidebar_switch {
        left: 5px !important;
        padding: 0 10px;
        position: absolute;
        top: 14px;
        z-index: 1000;
    }
    .off_switch {
        background-position: center 1px;
    }
    .on_switch {
        background-position: center -17px;
    }
    .sidebar_inner {
        padding-bottom: 0 !important;
    }
    div.sticky-queue {
        top: 0;
        z-index: 10000;
    }
    .ms-container {
        background-position: 160px 83px;
    }
    .ms-container ul.ms-list {
        width: 152px;
    }
    #multi_search {
        width: 136px;
    }
    .btn_menu {
        border-top: 1px solid rgba(255,255,255,.2);
        box-shadow: 0 -1px 0 rgba(0,0,0,.2);
        clear: both;
        cursor: pointer;
        display: block;
        padding: 8px 0 6px;
        position: relative;
        text-align: center;
        top: 4px;
    }
    .btn_menu span {
        opacity: .8;
    }
    .ssw_trigger {
        display: none;
    }
}

@media (max-width: 767px) {
    .row-fluid > [class*="span"] + [class*="span"] {
        margin-top: 20px;
    }
    .row-fluid input[class*="span"],.row-fluid textarea[class*="span"],.row-fluid select[class*="span"] {
        width: 80%;
    }
    .input-prepend, .input-append {
        margin-bottom: 10px;
    }
    form .row-fluid > [class*="span"] + [class*="span"] {
        margin-top: 0;
    }
    .login_page .content_b {
        margin: 0 20px;
    }
    .search_page .box_view .search_item {
        margin-bottom: 3%;
        width: 99%;
    }
    .error_page .error_box {
        background: none;
        width: 100%;
    }
    .error_page .error_box h1 {
        padding: 40px 20px 0;
    }
    .error_page .error_box p {
        margin: 0 20px 10px;
    }
    .error_page .error_box .back_link {
        margin: 0 20px;
    }
    .style_switcher {
        display: none;
    }
    .dshb_icoNav {
        text-align: center;
    }
    .dshb_icoNav li {
        display: inline-block;
        float: none;
    }
    #cboxContent .video-js {
        height: 100% !important;
        width: 100% !important;
    }
    .vcard > .thumbnail {
        display: none;
    }
    .vcard > ul {
        margin: 0;
    }
    .item-list .thumbnail {
        display: inline-block;
        float: none;
        margin: 0 10px 10px 0;
    }
}

@media (max-width: 479px) {
    .login_page .login_box {
        width: 100%;
    }
    .login_page .cnt_b {
        margin: 0 auto;
        padding: 20px 0;
        width: 68%;
    }
    .-list-container {
        height: 300px;
    }
}

@media (min-width: 1681px) {
    body {
        margin: 0 auto;
        max-width: 1680px;
    }
    header .container-fluid {
        margin: 0 auto;
        max-width: 1640px;
    }
    #maincontainer {
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }
    .main_content {
        border-left: none;
    }
    .sidebar {
        left: 50%;
        margin-left: -839px;
    }
    .sidebar_switch {
        left: 50%;
        margin-left: -620px;
    }
    .sidebar_hidden .sidebar_switch {
        left: 50%;
        margin-left: -832px;
    }
    .sidebar_right .sidebar {
        margin-left: 0;
        margin-right: -840px;
        right: 50%;
    }
    .sidebar_right .sidebar_switch {
        left: auto;
        margin-left: 0;
        margin-right: -836px;
        right: 50%;
    }
}