DIV.ce-textpic.ce-intext.ce-left DIV.ce-gallery,
DIV.ce-textpic.ce-left.ce-intext.ce-nowrap DIV.ce-gallery {
    margin-right: 10px !important;
}

/* Mobile Navigation */
#mobile-nav {
  margin-top: 14px;
}
#mobile-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#mobile-nav > ul > li {
  position: relative;
  z-index: 100;
}
#mobile-nav > ul > li > a {
  display: block;
  padding: 15px 0;
  font-size: 18px;
  line-height: 1;
  color: #404041;
  text-transform: uppercase;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  -webkit-transition: color 150ms linear;
  -moz-transition: color 150ms linear;
  -o-transition: color 150ms linear;
  -ms-transition: color 150ms linear;
  transition: color 150ms linear;
}
#mobile-nav > ul > li > a:before {
  content: "☰";
  padding-right: 5px;
}
#mobile-nav > ul > li > ul {
  display: none;
  position: absolute;
  width: 250px;
  padding: 20px;
  white-space: nowrap;
  background: #ffffff;
}
#mobile-nav > ul > li > ul > li {
  margin-top: 10px;
}
#mobile-nav > ul > li > ul > li > a {
  font-size: 16px;
  color: #404041;
}
#mobile-nav > ul > li > ul > li > a.active,
#mobile-nav > ul > li > ul > li > a.selected {
  color: rgb(64,128,128);
}
#mobile-nav > ul > li > ul > li > ul {
  display: none;
}
#mobile-nav > ul > li > ul > li > ul > li {
  margin-top: 5px;
}
#mobile-nav > ul > li > ul > li > ul > li > a {
  color: #404041;
}
#mobile-nav > ul > li > ul > li > ul > li > a.active,
#mobile-nav > ul > li > ul > li > ul > li > a.selected {
  color: rgb(64,128,128);
}
#mobile-nav > ul > li > ul > li:first-child {
  margin-top: 0;
}


.table-wrap::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#mobile-siwtch {
	display: none;
	text-align: center;
	padding: 10px;
}

#mobile-siwtch a {
	color: #5e5e60;
  background-color: #fff;
  padding: 5px 10px;
}

#login div {float: right;margin-top: 0 !important;margin-left: 10px;}

@media only screen and (max-width: 1040px) {

	#mobile-siwtch {display: block;}
  #login {padding: 0 0 10px 0}

    .mobile {
        display: block;
    }

	#subListContent .category-block-first .ce-textpic img {height: 180px !important}
    #catSite h1#siteTitle, #siteTitle{color:#606c65;}
    #bodyWrap, .gu16 .row, #footerWrap, #footer {width: 740px !important;}
    body {background:rgb(64,128,128);height: auto !important;}
    /*#bodyWrap {background: #fff;}*/

    DIV.ce-textpic DIV.ce-gallery DL.image{
        float: none;
    }

    #sidebar {
        width: 710px;
        /*float: none;*/
        padding: 0;
    }

    #header {
        width: 710px !important;
    }

    #footer {
        float: none;
        height: auto;
    }

    #footerWrap {
        height: auto;
    }

    #fontSizer {display: none;}

    img {
        max-width: 100%;
        height: auto !important;
    }

    #footer .col {
        float: none;
    }

    #footerleft, #footerRight {
        float: none;
    }

    #footerleft .metaentry {
        float: none;
        padding:2px 0;
    }

    #footerleft .metaspan {
        display: none;
    }

    #sidebar {
        position: absolute;
    }

    #news,
    #content-10,
    #content-11,
    #content-12,
    #subRight {
        display: none !important;
    }

}

@media only screen and (max-width: 767px) {
    #mobile-nav {display: block;}
	.dce table {
		width: 100%;
	}

  #login div a {font-size: 17px;}

	#page-510 .table-wrap {
		width: 260px !important;
	}

	#page-1 #wrapper {
		margin: 0px;
	}

	#page-1 .ce-textpic {background: none !important;}

	#page-1 #content-0 .frame.frame-default {height: auto !important}

	#page-1 .row {
		margin-left: 4px;
	}

	#page-1 #second_row_startpage {
		width: 275px !important;
		padding: 0 0 0 5px;
	}

	#page-1 #second_row_startpage .col {width: auto !important;}
	#page-1 #second_row_startpage .gu5 .row {width: 270px !important;background: #fff;padding: 10px 0;}

    .ce-gallery {width:100% !important;}
    .ttnews-list-item .morelinks {position: static;}
    #bodyWrap, .gu16 .row, #footerWrap {width: 300px !important;}
    body {background:rgb(64,128,128);height: auto !important;}
    /*#left {margin-top: -10px;}*/

    .col {float: none;padding: 0;width: 280px !important;}

    #sidebar {
        width: 270px;
        float: none;
        padding: 0;
    }

    #header {
        width: 270px !important;
        height: 150px;
    }

    #footer {
        float: none;
        height: auto;
        width: 280px !important;
    }

    #footerWrap {
        height: auto;
        margin: 0 auto;
    }

    #fontSize, #mainnav, #breadcrumb, #subnav, #productWrap {display: none;}

    #header .gu14 {width: 200px;}

    #wrapper {width: 250px;}
    #body_bg {margin: 0;height: 100%;}
    #bodyWrap {margin: 0 auto;}

    #slider {
        display:none !important;
    }

    #footerleft, #footerRight {float: none;clear: both;}

    #subLeft,
    #news,
    #content-10,
    #content-11,
    #content-12,
    #subRight {
        display: none !important;
    }

    .ce-textpic div:nth-child(2) {
        margin-left: 0 !important;
        float: left;
    }

    div#subContentRight {float: none;}

  .fc-content, .fc-header {display: none;}
  .event-title {width: 250px !important}
  .calendar-more-link ul {padding: 0 !important;}
  .table-wrap {
      overflow-x: auto;
      white-space:nowrap;
    }

    .buttonBar {border:none;}
    #subListContent .frame.frame-default div.ce-gallery {margin: 10px;}
    #subListContent .category-block-first .ce-textpic .ce-bodytext {right: auto;border:none;width: 240px;}
    #subListContent .category-block-first h1 {right: -49px;}

    /*#subListContent .frame.frame-default, #subListContent .category-block-first {width: 260px;}*/
    #page-130 #subListContent .frame.frame-default , #page-130 #subListContent .category-block-first {width: 280px;}
    #page-384 #subListContent .category-block-first h1 {right: -87px;}

    #sidebar {
        top: 0;
    }

}
