/****************
    min 2560
****************/

@media only screen and (min-width: 2560px) {
    .banner-thin .banner-overlay h1 {
        max-width: 320px!important;
        color: #fff;
        font-weight: 600;
        font-size: 40px;
        line-height: 1.2em;
        width: calc(100% - 5px);
        float: right;
        text-align: left;
    }
}


/****************
    min 1200
****************/

@media only screen and (min-width: 1200px) {
    /* move positioning */
    .header-navigation-area {
        top: 34px!important;
        position: relative;
    }
    /* margin */
    .header-navigation-area ul li {
        display: inline-block;
    }
    /* navigation hover */
    .header-navigation-area .navbar-left li a:hover {
        text-decoration: none;
        border-bottom: 10px solid #03827f;
        padding-bottom: 12px!important;
        margin-bottom: -18px;
    }
    /* navigation active */
    .header-navigation-area .navbar-left li.active a,
    .dropdown.open>a {
        text-decoration: none;
        border-bottom: 10px solid #03827f;
        padding-bottom: 12px!important;
        margin-bottom: -6.5px!important;
    }
    .audiojs {
        width: 100%;
        max-width: 460px;
        margin: 10px auto;
    }
    .audiojs .scrubber {
        width: 60%;
    }
    .header-background {
        height: 125px!important;
    }
    .featured-forum-single-info {
    display: inline-block;
    vertical-align: top;
    max-width: 610px;
    }
}


/****************
    min 1024 max 1200
****************/

@media screen and (min-width: 1024px) and (max-width: 1199px) {
    .banner-thin .banner-overlay h1 {
        max-width: 400px!important;
        color: #fff;
        font-weight: 600;
        font-size: 40px;
        line-height: 1.2em;
        width: calc(100% - 5px);
        float: right;
        text-align: left;
    }
}


/****************
    min 992 max 1200
****************/

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .featured-forum-single-info {
        display: inline-block;
        vertical-align: top;
        max-width: 475px;
    }
    .forum-single div {
        display: inline-block;
        vertical-align: top;
        max-width: 410px!important;
    }
    .audiojs {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
    .audiojs .scrubber {
        width: 52%;
    }
}


/****************
    min 1024
****************/

@media only screen and (min-width: 1024px) {
    .banner-thin .banner-overlay h1 {
        max-width: 500px;
        color: #fff;
        font-weight: 600;
        font-size: 40px;
        line-height: 1.2em;
        width: calc(100% - 5px);
        float: right;
        text-align: left;
    }
}


/****************
    min 992
****************/

@media only screen and (min-width: 992px) {
    /* positioning */
    .header-navigation-area {
        top: 21px;
        position: relative;
    }
    /* margin */
    .header-navigation-area ul li {
        display: inline-block;
    }
    /* navigation hover */
    .header-navigation-area .navbar-left li a:hover,
    .dropdown.open>a {
        text-decoration: none;
        border-bottom: 10px solid #03827f;
        padding-bottom: 12px!important;
        margin-bottom: -18px;
    }
    /* navigation active */
    .header-navigation-area .navbar-left li.active a {
        text-decoration: none;
        border-bottom: 10px solid #03827f;
        padding-bottom: 12px!important;
        margin-bottom: -16px;
    }
    .header-background {
        height: 112px;
    }
}


/****************
    max 992
****************/

@media only screen and (max-width: 992px) {
    /* add mobile margin */
    .header-search-area {
        margin: 0 0 40px 0;
    }
    /* margin decrease */
    .header-navigation-area ul li {
        display: inline-block;
        margin: 0 5px;
    }
    /* navigation active */
    .header-navigation-area .navbar-left li.active a {
        text-decoration: none;
        border-bottom: 10px solid #03827f;
        padding-bottom: 12px!important;
        margin-bottom: -20px;
    }
    .hero-boxes [class*="col-"] {
        margin-bottom: 30px;
    }
    .banner-full .banner-overlay h1 {
        width: 80%!important;
        max-width: 80%!important;
        padding: 0 50px!important;
        margin: 0 auto;
    }
    .row.user-rating {
        margin: 0;
    }
    .case-sidebar-section {
        margin: 20px 0;
    }
    .sidebar {
        margin-top: 50px;
    }
    /* homepage bottom margin */
    .fancy-header {
    margin-bottom: 40px!important;
    }
}


/****************
    min 768 max 992
****************/

@media screen and (min-width: 768px) and (max-width: 992px) {
    /* tablet hover nav */
    .header-navigation-area .navbar-left li a:hover,
    .dropdown.open>a {
        text-decoration: none;
        border-bottom: 10px solid #03827f;
        padding-bottom: 12px!important;
        margin-bottom: -20px;
    }
    .audiojs {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
    .audiojs .scrubber {
        width: 64%;
    }
    .featured-forum-single-info {
    display: inline-block;
    vertical-align: top;
    max-width: 555px;
    }
    .forum-image {
        width: 15%;
    }
    .forum-topic-content {
        width: 82%;
    }
}


/****************
    min 768
****************/

@media only screen and (min-width: 768px) {
    /* li a */
    .header-navigation-area ul.dropdown-menu li a {
        color: #000!important;
        font-size: 16px;
        line-height: 16px;
        font-weight: 400;
    }
}


/****************
    max 768
****************/

@media only screen and (max-width: 767px) {
    /* float back left */
    .footer-logo {
        float: left!important;
        margin-top: 20px;
    }
    .navbar-toggle {
        position: relative;
        padding: 9px 10px;
        margin-top: 8px;
        margin-bottom: 8px;
        background-color: transparent;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        width: 40px;
        display: block;
        float: none;
    }
    /* stack navigation */
    .header-navigation-area ul li {
        display: block;
    }
    /* adjusting nav text position */
    .navbar-nav>li>a {
        padding-top: 10px!important;
        padding-bottom: 10px!important;
        line-height: 20px!important;
        padding-left: 20px!important;
    }
    /* active state mobile */
    .header-navigation-area .navbar-left li.active a {
        text-decoration: none;
        border-bottom: 10px solid #03827f;
        padding-bottom: 12px!important;
        margin-bottom: 5px;
    }
    /* hide social icons in dropdown for mobile screens */
    .header-navigation-area .navbar-right {
        display: none;
    }
    /* border bottom and top */
    .navbar-default .navbar-collapse,
    .navbar-default .navbar-form {
        border-color: #03827f;
        border-width: 2px;
    }
    /* border bottom */
    .navbar-collapse {
        border-bottom: 1px solid transparent;
    }
    /* display new line */
    .header-search-area ul,
    .header-search-area form {
        display: block!important;
    }
    .header-search-area ul {
        margin-right: 0!important;
        padding-left: 0;
        margin-bottom: 10px!important;
    }
    /* mobile full width*/
    .header-search-area {
        width: 100%;
    }
    /* add mobile margin */
    .header-search-area {
        margin: 20px 0 0 0;
    }
    .navbar-toggle {
        padding: 5px 15px;
    }
    .navbar {
        margin-bottom: 0!important;
    }
    /* mobile nav fill color */
    .navbar-header {
        background-color: #03827f;
        margin-top: 10px;
    }
    /* search bar full width mobile */
    .header-search-area input[id="search"] {
        width: 100%!important;
    }
    .user-rating div:first-child {
        margin-bottom: 20px;
    }
    .single-case-header div:nth-child(2) {
        margin: 20px 0;
    }
    div.forum-image,
    .featured-forum-single-image {
        display: none!important;
    }
    .forum .intro-section h2 {
        margin-top: 20px!important;
    }
    .audiojs {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
    .audiojs .scrubber {
        width: 58%;
    }
    .header-search-area .input-group {
        position: initial;
        display: table!important;
        border-collapse: separate;
        width: 100%!important;
    }
    .header-navigation-area ul.dropdown-menu li a {
        color: #fff!important;
        font-size: 18px;
        line-height: 18px;
        font-weight: 400;
    }
    .navbar-nav .open .dropdown-menu>li>a,
    .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 3px 20px;
    }
    .col-md-1.col-sm-2.col-xs-3.intro-icon img {
        margin-bottom: 10px;
    }
    .g-recaptcha {
    transform: scale(0.77);
    -webkit-transform: scale(0.77);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    }
    .login-page-section {
    border: none!important;
    padding: 0!important;
    margin: 20px 0;
    }
}

@media only screen and (max-width: 760px) {
    .container-fluid {
        padding-right: 0px;
        padding-left: 0px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media only screen and (max-width: 600px) {
    .audiojs {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
    .audiojs .scrubber {
        width: 50%;
    }
}

@media only screen and (max-width: 650px) {
    .single-case-page ul.nav-tabs li {
        float: none;
        display: block!important;
        margin-right: -2px;
    }
}

@media only screen and (max-width: 520px) {
    .audiojs .time {
        display: none;
    }
    .audiojs .scrubber {
        width: 77%;
    }
    .single-case-page ul.nav-tabs {
        text-align: left!important;
    }
    .ruling .fancy-header h3 {
        border: 5px solid #b5b3b3;
        background-image: url(/images/public/icons/grey/arrow-down.png);
        background-position: right;
        padding-left: 10px!important;
        font-size: 16px;
        width: 100%;
        max-width: 400px;
        margin: 20px 0;
    }
    .banner-full .banner-overlay h1 {
        font-size: 32px!important;
    }
}

@media only screen and (max-width: 420px) {
    .user-rating p {
        float: left!important;
    }
    .user-rating p {
        display: block!important;
    }
    .user-rating p img {
        float: none!important;
        display: block!important;
        margin-left: 0!important;
        margin-top: 5px;
        width: 100%!important;
    }
}

@media only screen and (max-width: 400px) {
    .audiojs .time {
        display: none;
    }
    .audiojs .scrubber {
        width: 64%;
    }
}

@media only screen and (max-width: 570px) {
    .container {
    padding-right: 15px!important;
    padding-left: 15px!important;
    margin-right: auto;
    margin-left: auto;
    }
    .no-left-pad {
    padding-left: 15px!important;
    }
    .intro-section .col-md-1.col-sm-2.col-xs-3 {
    padding-left: 15px!important;
    padding-right: 0px;
    }
}

@media (min-width: 1000px) {
    #lightboxModal div.modal-dialog {
    min-width: 1000px;
    margin: 5px auto;
    }
}