
/* ------------------- Basic Layout Styles ---------------- */

html,
body,
#page  {
  height: 100%;
}
#page-wrapper {
  min-height: 100%;
}
#header div.section,
#featured div.section,
#messages div.section,
#main,
#triptych,
#footer-columns,
#footer {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
#header div.section {
  position: relative;
}
.region-header {
  float: right; /* LTR */
  margin: 1em 5px 1.5em;
  border: 1px solid #ccc;
}
#secondary-menu {
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}
#main-wrapper {
  min-height: 300px;
}
#content .section,
.sidebar .section {
  padding: 0 15px;
}
#breadcrumb {
  margin: 0 15px;
}
#footer-wrapper {
  padding: 35px 0 30px;
}
#footer-wrapper .section {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 15px;
}
.region-triptych-first,
.region-triptych-middle,
.region-triptych-last {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 20px 0;
}
.region-footer-firstcolumn,
.region-footer-secondcolumn,
.region-footer-thirdcolumn,
.region-footer-fourthcolumn {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 10px;
}

@media all and (min-width: 560px) and (max-width: 850px) {

  #sidebar-first,
  .region-triptych-first,
  .region-triptych-middle,
  .region-triptych-last,
  .region-footer-firstcolumn,
  .region-footer-secondcolumn,
  .region-footer-thirdcolumn,
  .region-footer-fourthcolumn {
    display: inline;
    float: left; /* LTR */
    position: relative;
  }
  #sidebar-first,
  #sidebar-second {
    width: 50%;
  }
  #sidebar-second {
    margin-left: 50%; /* LTR */
  }
  .one-sidebar #sidebar-first,
  .one-sidebar #sidebar-second {
    width: 100%;
  }
  .one-sidebar #sidebar-second {
    margin-left: 0; /* LTR */
  }
  .region-triptych-first,
  .region-triptych-middle,
  .region-triptych-last {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px 0;
    width: 33%;
  }
  .region-footer-firstcolumn,
  .region-footer-secondcolumn {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
    width: 50%;
  }
  .region-footer-thirdcolumn,
  .region-footer-fourthcolumn {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
    width: 50%;
  }
  .region-footer-thirdcolumn {
    clear: both;
  }
}

@media all and (min-width: 851px) {

  #header div.section,
  #featured div.section,
  #messages div.section,
  #main,
  #triptych,
  #footer-columns,
  #footer {
    max-width: 1290px;
  }
  #content,
  #sidebar-first,
  #sidebar-second,
  .region-triptych-first,
  .region-triptych-middle,
  .region-triptych-last,
  .region-footer-firstcolumn,
  .region-footer-secondcolumn,
  .region-footer-thirdcolumn,
  .region-footer-fourthcolumn {
    display: inline;
    float: left; /* LTR */
    position: relative;
  }
  .two-sidebars #content {
    margin-left: 25%;
    margin-right: 25%;
    width: 50%;
  }
  .one-sidebar #content {
    width: 75%;
  }
  .no-sidebars #content {
    width: 100%;
  }
  .sidebar-first #content {
    margin-left: 25%; /* LTR */
    margin-right: 0; /* LTR */
  }
  .sidebar-second #content {
    margin-right: 25%; /* LTR */
    margin-left: 0; /* LTR */
  }
  #sidebar-first {
    width: 25%;
    margin-left: -100%; /* LTR */
  }
  #sidebar-second {
    width: 25%;
    margin-left: -25%; /* LTR */
    clear: none;
  }
  .region-triptych-first,
  .region-triptych-middle,
  .region-triptych-last {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 33%;
  }
  .region-footer-firstcolumn,
  .region-footer-secondcolumn,
  .region-footer-thirdcolumn,
  .region-footer-fourthcolumn {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
    width: 25%;
  }
}


.field-group-accordion  > .field-type-text-with-summary{height:auto !important;}
.sliderforbody .article-slideshow-text .slideshow-label{display:block !important;}

.views-slideshow-cycle-main-frame.views_slideshow_cycle_teaser_section > .views-slideshow-cycle-main-frame-row{position:absolute !important;  left:0;}
.views-slideshow-cycle-main-frame.views_slideshow_cycle_teaser_section {position:relative !important; height:0; }

/* div.asset-wrapper.asset-image div.content{padding-bottom:10px;} */

@media only screen and (min-width : 959px) {
.tb-megamenu .mega.open > .mega-dropdown-menu > .mega-dropdown-menu li, .tb-megamenu .mega.dropdown-submenu.delay:hover > .mega-dropdown-menu > .mega-dropdown-menu li, .tb-megamenu .mega.open > .mega-dropdown-menu > .mega-dropdown-menu, .tb-megamenu .mega.dropdown-submenu.delay:hover > .mega-dropdown-menu > .mega-dropdown-menu {
    display: none !important;
}

.tb-megamenu .nav li.level-1.menu-portal .dropdown-menu li.delay:hover div.tb-megamenu-submenu {
display: none !important;
}

ul.level-2.lv_2{
padding:0 !important; margin:5px 0 5px 0 !important; 
max-height:435px;
}
ul.level-2.lv_2 li, ul.level-2.lv_2 li ul{padding:0; margin:0;display:block;}

.tb-megamenu .nav li.level-1.menu-portal .tb-megamenu-item.level-2 .tb-megamenu-submenu.dropdown-menu.mega-dropdown-menu .tb-megamenu-column.span6.mega-col-nav, .tb-megamenu .nav li.level-1.menu-portal .tb-megamenu-item.level-2 .tb-megamenu-submenu.dropdown-menu.mega-dropdown-menu .menu-main-blocks-thirdwidth.span4, .tb-megamenu .nav li.level-1.menu-portal .tb-megamenu-item.level-2 .tb-megamenu-submenu.dropdown-menu.mega-dropdown-menu .menu-main-blocks-thirdwidth {overflow-x:hidden !important; overflow-y: auto !important; margin-top:8px !important;}

ul.level-2.lv_2 li, ul.level-2.lv_2 a, ul.level-2.lv_2 li.level-3 > a:hover{width:195px !important; padding:0 !important; margin:0 !important; height:auto !important; line-height:20px !important; min-height:25px; display:inline-block !important; white-space:normal !important; }
ul.level-2.lv_2 li{margin-bottom:5px !important; } /*************changed from 4 to 5 by hargur*************/
ul.level-2.lv_2  a, ul.level-2.lv_2 a:hover, .level-3 li a, .level-3 li a:hover, .tb-megamenu-item.level-3 li.level-4 a, .tb-megamenu-item.level-3 li.level-4 a:hover { 
background: url("/profiles/stk_nrw/themes/custom/nrw_base/images/grayish-blue/navigation-main/menu-arrow-right.png") no-repeat scroll left 7px transparent !important;
background-position: 0 7px !important; background-position-y: 7px !important; margin:0 !important;  }
ul.level-2.lv_2 :after, ul.level-2.lv_2 :before{top:0 !important; bottom:0 !important; height:0 !important; display:none !important;}
.tb-megamenu .nav li.level-1.menu-portal .tb-megamenu-column.mega-col-nav.menu-main-blocks-onethirdwidth{padding-top:10px !important;}
ul.level-2.lv_2 li.level-3{margin-bottom:10px!important;}   /*************changed from 15 to 10 by hargur*************/
ul.level-2.lv_2 li.level-3 ul.level-3{margin-left:21px!important; margin-top:5px !important;}/*************top margin by hargur*************/

ul.level-2.lv_2 li.level-3 > a:hover, ul.level-2.lv_2 li.level-3  > a{padding:0 0 0 20px !important;}/*************padding bottom reduced by hargur*************/
ul.level-2 li.lv1{width:33% !important;}
li.lv1 .tb-megamenu-item.level-3 li a{padding:0 0 0 15px !important;} /*************padding bottom reduced by hargur*************/
li.lv1 .tb-megamenu-item.level-3 li.level-4{ margin-bottom:0 !important; } /*************added by hargur*************/
}

 