@media only screen and (min-width:768px) and (max-width:979px){
  .container{
    width: 98%;
  }
  .mobile-header-top a.navbar-close-button {
    position: fixed;
    z-index: 1000;
    right: 25%;
    top: 60px;
    margin-right: 20px;
    cursor: pointer;
  }
  .mobile-header-top #block-mainnavigation {
      position: fixed;
      top: 56px;
      left: 0;
      width: 75%;
      padding: 25px 0px 120px 0px;
      background: #fff;
      z-index: 111;
      box-shadow: 0 11px 15px 0 rgba(0,0,0,.2);
  }
  .mobile-header-top .navbar-nav {
      float: none;
      margin: 0;
      width: 100%;
      padding: 0px;
  }
  .mobile-header-top .navbar-nav > li {
      float: none;
  }
  .mobile-header-top .navbar-nav>li>a {
      padding: 15px !important;
      font-size: 20px;
      font-weight: 600;
  }
  .mobile-header-top span.caret {
      float: right;
      background: url(/themes/custom/law_lessons/images/Group.svg) no-repeat center;
      padding: 10px;
      border: 0;
      margin-top: 4px;
  }
  .mobile-header-top li.expanded.dropdown.open .caret {
      background: url(/themes/custom/law_lessons/images/Rectangle.svg) no-repeat center;
  }
  .navbar-nav .open .dropdown-menu {
      background-color: #f5f5f5;
      width: 100%;
      margin-bottom: 25px;
      position: relative;
  }
  .navbar-nav .open .dropdown-menu > li > a {
      line-height: 26px;
      font-size: 18px;
      font-weight: 300;
      color: #000000;
  }
  .mobile-header-top {
    display: block;
  }
  .header-top-logo {
    display: none;
  }
  .user-logged-in button.navbar-toggle-top {
    top: 40px;
  }
  button.navbar-toggle-top {
    position: relative;
    padding: 6px 0 6px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    display: block;
    outline: none;
  }
  span.icon-bar {
    width: 47px;
    height: 5px;
    background-color: #313131;
    display: block;
    border-radius: 3px;
  }
  .mobile-header .block.block-commerce-cart {
    display: none;
  }
  .navbar-toggle-top .icon-bar + .icon-bar {
    margin-top: 8px;
  }
  .navbar-collapse.collapse {
    display: none !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: hidden !important;
  }
  .menu-area .block-superfish,
  .mobile-header-top #block-headerandfootersociallinks-3,
  .mobile-header-top .views-exposed-form {
      display: none;
  }
  .navbar-collapse.collapse.in {
      display: block !important;
  }
  .container, .no-padding {
    padding-left: 25px;
    padding-right: 25px;
  }
  #block-headertopmenu, 
  .header-top-right .views-exposed-form {
    right: 140px;
  }
  #whole-header-top .views-exposed-form .form-control,
  .header-top-right .search-block-form .form-control {
    width: 200px;
  }
  .header-top-right .search-block-form {
    right: 150px;
  }
  .block-commerce-cart {
    padding-right: 75px;
  }
  .mobile-header {
    position: absolute;
    top: 3px;
    right: 35px;
    z-index: 999;
  }
  .header-area .logo-area{
    width: 40% !important;
  }
  .header-area .menu-area{
    width: 60% !important;
  }
  #banner-area .page-header {
    font-size: 30px;
    line-height: 35px;
  }
  .homepage-first-block {
    background: #00414D url(../images/Education.svg) no-repeat 100% 0%;
    background-size: 165px;
  }
  .ipad-content-left{
    width: 50%;
    float: left;
  }
  .ipad-content-right{
    width: 50%;
    float: right;
    flex-direction: column-reverse;
    display: flex;
  }
  .ipad-content-left .col-sm-3,
  .ipad-content-right .col-sm-3{
    width: 100%;
    float: left;
    margin-bottom: 30px;
  }
  footer .footer-column-fourth ul.menu.menu--footer-sitemap-menu.nav li {
    height: 26px;
  }
  .footer-column-first #block-headerandfootersociallinks-2 {
    position: absolute;
    bottom: -280px;
  }
  div#whole-footer-top{
    display: none;
  }
  div#whole-footer-top.ipad-footer{
    display: block;
  }
  .about_jes_left_sec.col-lg-8 {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
  }
  .about_jes_right_sec {
    display: contents;
  }
  .about_jes_image {
    text-align: center;
  }
  .about_jes_image img {
    display: inline-block;
  }
  .about-webform-section {
    padding-top: 65px;
    padding-bottom: 60px;
  }
  .about-webform-left-section {
    width: 100%;
  }
  .about-webform-section .about-webform-right-section {
    width: 100%;
    margin-top: 50px;
  }
  .about-webform-left-section section#block-aboutusaddressblock {
    margin-top: 55px;
  }
  .page-node-4 .no-padding{
    padding-left: 0px;
  }
  .border-green {
    padding: 10px 25px;
  }
  .terms-of-use h3, .privacy-policy h3, .contact-us h3 {
    padding-right: 0px;
  }
  .page-node-51 #maindiv {
    padding-bottom: 30px;
  }
  .page-node-51 #whole-content-bottom-area {
    padding: 0px 0px 25px 0px;
  }
  .page-node-6 #whole-content-top-area .field.field--name-body {
    width: 100%;
  }
  #whole-content-top-area {
    padding: 15px 0px 35px 0px !important;
  }
  .page-node-6 #maindiv {
    padding-bottom: 0px;
  }
  .page-node-1 #maindiv h1 {
    font-size: 42px;
    line-height: 52px;
  }
  .page-node-4 .main-box,
  .page-node-14 .main-box {
    border: 1px solid #6CA93D !important;
    border-radius: 15px;
    padding: 35px 25px;
    overflow: hidden;
  }
  .main-box .border-green {
    padding: 0px 100px !important;
    border: none !important;
  }
  .main-box .terms-of-use.no-padding {
    padding-left: 6px;
    padding-right: 0px;
  }
  body.sidebar-second #midcontent-area {
    width: 100%;
  }
  .views-exposed-form .form-control {
    width: 350px;
  }
  .path-search .view-search-listing {
    padding-top: 50px;
  }
  div#edit-actions--4 {
    float: right;
  }
  #sidebar-second-area {
    width: 100%;
    float: none;
  }
  aside#sidebar-second-area .block {
    display: inline-block;
    width: 46.5% !important;
    padding: 15px 8% 45px 8%;
  }
  section#block-searchbccurriculum {
    margin-left: 3.5%;
  }
  .views-exposed-form.bef-exposed-form .form-select.bef-links ul li {
    margin: 0px 23px 23px 3px;
  }
  .views-exposed-form.bef-exposed-form .form-select.bef-links ul li:first-child .curriculum-container {
    width: 195px;
  }
  .path-curriculum-listing .views-exposed-form.bef-exposed-form .form-select.bef-links ul li:first-child .curriculum-container {
    width: 175px;
  }
  .path-curriculum-listing .curriculum-header-filter-area .views-exposed-form.bef-exposed-form .form-select.bef-links ul li {
    margin: 2px 20px 15px 3px;
  }
  .views-exposed-form.bef-exposed-form .form-select.bef-links ul li:last-child {
    margin-right: 3px;
  }
  .curriculum-container {
    width: 76px;
    height: 76px;
  }  
  .curriculum-container .small-option {
    padding-bottom: 26px;
  }
  .curriculum-detail-top-box .curriculum-detail-essential-box {
    margin-left: 17px;
  }
  .curriculum-detail-legal-box.right-global-block {
    padding-left: 10px;
    padding-right: 10px;
    word-break: break-word;
  }
  .curriculum_detail_print_link {
    width: 240px;
  }
  .curriculum-detail-left-box.col-sm-9 {
    width: 100%;
  }
  .curriculum-detail-right-box.col-sm-3 {
    padding-right: 0px;
    padding-left: 0px;
    width: 100%;
  }
  .curriculum-detail-left-box {
    padding-right: 0px;
  }
  .paragraph-left_sec.col-sm-6.no-padding {
    width: 100%;
    margin-bottom: 25px;
  }
  .homepage-second-block h2 {
    width: 81% !important;
  }
  .breadcrumb-area.col-sm-9 {
    width: 63% !important;
  }
  .share-print-box.col-sm-3 {
    width: 270px !important;
  }
  .next-webinar-right-box.col-sm-7 {
    padding: 20px;
  }
  .next-webinar-date-text span.date-big-text {
    font-size: 45px;
  }
  .next-webinar-date-text span.date-month-text {
    font-size: 25px;
  }
  .upcoming-events-left-box .date-big-text {
    font-size: 50px;
    line-height: 55px;
  }
  #whole-content-bottom-area {
    padding: 15px 0px 35px 0px;
  }
  .upcoming-events-listing.half-width .upcoming-events-right-box .upcoming-events-image-right-text {
    width: 60%;
  }
  .webform-submission-teacher-training-webinar-form .form-control {
    width: 100%;
  }
  .next-webinar-date-text span.date-big-text, .teacher-training-top-box span.date-big-text, .public-legal-top-box span.date-big-text {
    font-size: 50px;
  }
  .panel-heading h4.panel-title a {
    padding: 18px 50px;
  }
  .more-less.glyphicon.glyphicon-plus,
  .more-less.glyphicon.glyphicon-minus{
    right:-20px;
  }
  .panel-default > .panel-heading + .panel-collapse > .panel-body {
    padding-left: 50px;
    padding-right: 50px;
  }
  .path-frontpage .share-print-box.col-sm-3 {
    width: 230px !important;
  } 
  #block-headermenuimage a img {
    float: right;
  }
  .tablet-banner-image .banner-section {
    height: 250px !important;
  }
  .share-print-main-box.container {
    margin-top: 140px;
    margin-bottom: 0px;
  }
  .field--name-field-paragraph-reference .paragraph-main-section{
    margin-bottom: 0px;
  }
  .view-legal-dictionary ul{
    text-align: center;
  }
  .view-legal-dictionary ul li {
    display: contents;
  }
  .paragraph-two-column-main-box .no-padding {
    padding-left: 0px;
    padding-right: 0px;
  }
  .paragraph-description.col-sm-8 {
    margin-right: 0px;
    min-height: 168px;
    width: 100%;
  }
  .view-legal-videos-carousel .owl-carousel .owl-item {
    max-width: 300px !important;
  }
}

@media only screen and (min-width:975px) and (max-width:1279px){
  .container{
    width: 95%;
  }
  #maindiv {
    padding-bottom: 50px;
  }
  h2.homepage-block-title {
    width: 50%;
  }
  .header-area .logo-area p.navbar-text, .footer-top .footer-column-first p.navbar-text {
    font-size: 11px;
    line-height: 19px;
  }
  .header-area .logo-area {
    padding-top: 27px;
}
  .menu-area .block-superfish {
    margin-top: 43px;
  }
  .menu-area ul.sf-menu a {
    padding: .5em 0.5em;
    font-size: 14px;
  }
  .menu-area  img {
    width: 100px;
    padding-top: 5px;
  }
  #banner-area .page-header {
    font-size: 35px;
    line-height: 40px;
  }
  .views-exposed-form .form-control,
  #midcontent-area .search-form .form-control {
    width: 100%;
  }
  #whole-content-bottom-area {
    padding: 30px 0px 70px 0px;
  }
  .page-node-6 .no-padding {
    padding-right: 15px;
  }
  .about-webform-left-section section#block-aboutusaddressblock {
    background: #6CA93D url(../images/map.svg) no-repeat -15% 100%;
    background-size: 250px;
  }
  .page-node-1 #maindiv h1 {
    font-size: 62px;
    line-height: 80px;
  }
  .path-search #midcontent-area .views-exposed-form .btn-primary {
    margin-top: 30px;
  }
  .views-exposed-form.bef-exposed-form .form-select.bef-links ul li:first-child .curriculum-container {
    width: 280px;
  }
  .views-exposed-form.bef-exposed-form .form-select.bef-links ul li {
    margin: 0px 40px 40px 3px;
  }
  .path-curriculum-listing .views-exposed-form.bef-exposed-form .form-select.bef-links ul li:first-child .curriculum-container {
    width: 180px;
  }
  .path-curriculum-listing .curriculum-header-filter-area .views-exposed-form.bef-exposed-form .form-select.bef-links ul li {
    margin: 2px 41px 37px 3px;
  }
  .curriculum-detail-top-box .curriculum-detail-essential-box {
    margin-left: 23px;
  }
  .curriculum_detail_print_link {
    width: 240px;
  }
  .download-learning-plan.right-global-block a {
    margin-right: 14px;
    margin-left: 14px;
  }
  /* .menu-area ul.sf-menu li a.sf-depth-1:last-child {
    padding-right: 0px;
  } */
  ul#superfish-main {
    float: none;
  }
  .menu-area .block-superfish {
    width: 83% !important;
  }
  .share-print-main-box.container .breadcrumb-area.col-sm-9{
    width: 70% !important;
  }
  .path-frontpage .share-print-box.col-sm-3 {
    width: 25% !important;
  } 
  .homepage-second-block h2.homepage-block-title {
    width: 70%;
  }
  .tablet-banner-image .banner-section {
    height: 320px !important;
  }
  .share-print-main-box.container {
    margin-top: 180px;
  }
  .share-print-box.col-sm-3 {
    width: 270px !important;
  }
  #midcontent-area .search-form .input-group {
    display: table;
  }
}

@media only screen and (min-width:768px) and (max-width:1279px){
    #maindiv {
      padding-bottom: 40px;
    }
    .share-print-box .region-social-share-buttons h2 {
      padding-left: 10px;
    }
    .social-sharing-buttons svg {
      margin-left: 4px;
    }
    section#block-newslettersignup h2 {
        font-size: 28px;
        line-height: 60px;
    }
    .share-print-box .region-social-share-buttons .block {
      padding-left: 9px;
    }
    .views-exposed-form.bef-exposed-form .form-select.bef-links ul li a:hover, .views-exposed-form.bef-exposed-form .form-select.bef-links ul li a.bef-link--selected .big-option {
      color: #ffffff !important;
    }
    .homepage-block-content p {
      font-size: 18px;
      line-height: 1;
    }
    h2.homepage-block-title {
      width: 70%;
      font-size: 24px;
      line-height: 42px;
      margin-top: 0px;
    }
    .homepage-first-block a.homepage-first-block, 
    .homepage-second-block a.homepage-second-block, 
    .homepage-third-block a.homepage-third-block, 
    .homepage-fourth-block a.homepage-fourth-block, 
    .homepage-fifth-block a.homepage-fifth-block, 
    .homepage-sixth-block a.homepage-sixth-block {
      padding: 24px !important;
    }
    .views-exposed-form.bef-exposed-form .sr-only {
      font-size: 30px;
    }
    .view-speaker-presentations .views-field.views-field-field-title {
      font-size: 20px;
      font-weight: 600;
      padding-top: 20px;
      padding-bottom: 10px;
      min-height: 98px;
    } 
    .view-speaker-presentations .views-col .views-field-field-description{
      min-height:225px;
    }
    .page-node-type-curriculum #maindiv {
      padding-bottom: 25px;
    }
    .curriculum-detail-top-left-box .topic-content span.col-sm-3 span.curriculum-grade-val-first {
      padding-bottom: 12px;
    }
    .desktop-banner-image, 
    .mobile-banner-image {
      display: none;
    }
    .tablet-banner-image{
      display: block;
    }
    .share-print-box #block-printfriendly a {
      margin-left: -4px;
    }
	  #banner-area.title-text-wrap .page-header .field--name-field-banner-title {
      margin-top: 35px;
    }
    .page-node-52 #maindiv .btn-primary {
      margin-top: 20px;
    }
    .view-legal-videos-carousel .owl-content .owl-title {
      min-height: 100px;
    } 
    #midcontent-area .search-form .input-group {
      display: table;
  }
  /* Camp Justice */
  .camp-justice-page .row {
    max-width: 100%;
    margin: auto;
    display: block;
  }
  .camp-justice-page .left-section {
      padding-right: 15px;
  }
  .camp-justice-page .who-we-are {
      margin-top: 20px;
      padding-right: 15px;
  }
}
