#toppnal .toppanelWrapper {
  overflow: auto;
}
/* Select Menu base */
#selectMenu {
  position: inherit;
  margin: 0;
  width: auto;
  padding: 0;
  display: none;
}

/* twitter base */
div.widget_rotatingtweets_widget, div.rotatingtweet, div.widget_rotatingtweets_widget div.widget-title {
  max-width: 845px;
}

a#logo img.tablet-logo {
  display: none;
}

#recaptcha_area {
  margin-left: 180px;
}

/*---------------------------------*/
/*------- 890px to 1040px ---------*/
/*---------------------------------*/
@media screen and (max-width:1040px) {

  #recaptcha_area {
    margin-left: 130px;
  }

  div.widget_rotatingtweets_widget, div.rotatingtweet, div.widget_rotatingtweets_widget div.widget-title {
    max-width: 745px;
  }
  #toppanel .toppanelWrapper {
    overflow: visible;
  }
  #dateList, #runningDateList {
    background: #000 url('../images/headPattern.gif') repeat;
  }

  #dateList li.box, #runningDateList li.box {
    width: 158px;
  }

  #dateList li.postEvent, #runningDateList li.postEvent {
    background: #fff;
  }

  #dateList li.box  a, #runningDateList li.box  a {
    width: 130px;
  }

  #dateList li.box a.peterborough-presents-badge {
    width: 27px;
  }


  #dateList li.box a.peterborough-presents-badge:hover {
    height: 72px;
    width: 72px;
    font-size: 1.6em;
  }


  #dateList .theDay, #runningDateList .theDay {
    font-size: 2.6em;
    line-height: 47px;
  }

  #dateList .theTime, #runningDateList .theTime {
    font-size: 1em;
    width: 58%;
  }

  .search-result-nav li a {
    font-size: 1.1em;
  }

  .event-snippet .details {
    width: 67%;
  }

  .post-snippet .details h2 {
    line-height: 1.4em;
  }

  #listing.idea-tv .post {
    border-bottom: 0px;
  }

  ol.flex-control-nav {
    bottom: -50px;
  }

  /* Submit Event Forms */
  .ideaForm.event, .ideaForm.post {
    width: auto;
  }

  .ideaForm input.med {
    width: 300px;
  }

  .ideaForm div.category-select {
    width: 316px;
  }

  .ideaForm input.small {
    width: 120px;
  }

  .ideaForm textarea {
    width: auto;
  }

  .ideaForm label.long {
    width: 120px;
  }

  .ideaForm .image-secondary .long, .ideaForm .image-main .long, .ideaForm .image-fence .long {
    width: 170px;
  }

  .ideaForm .submit input, .ideaForm .forgetmenot, .ideaForm .other-form-info {
    margin-left: 135px;
  }
}

/*---------------------------------*/
/*------- 740px to 890px ---------*/
/*---------------------------------*/
@media screen and (max-width:890px) {

  #recaptcha_area {
    margin-left: 0;
  }

  #topMobile, a#logo img.tablet-logo {
    display: block;
  }

  #navigation,
  #topMobile *,
  a#logo img#logon,
  a#logo h1 img#logot,
  #logob, #navigationStickyWrapper,
  #logo h1 {
    display: none;
  }

  #topMobile #selectMenuCont {
    width: 230px;
    padding: 10px;
    background: #4e9435;
    float: right;
    display: block;
    text-align: right;
    margin-top: 70px;
    margin-right: 20px;
    position: relative;
    z-index: 100;
    bottom: 0px;
  }

  #topMobile #selectMenu, #topMobile #selectMenu * {
    display: block;
  }

  #topMobile #selectMenu {
    background: #fff;
    display: block;
    width: 100%;
    border: 1px solid #777;
    padding: 3%;
    bottom: 0px;
    margin-top: 0px;
  }

  #header {
    margin: 0px;
  }

  #logoWrap {
    height: 160px;
  }

  a#logo {
    width: 50%;
    float: left;
  }

  #dropmenu li a {
    font-size: 12px;
    padding: 0 10px;
  }

  #dropmenu li ul {
    width: 96px;
  }

  #dropmenu li ul li a {
    line-height: 30px;
  }

  #tagLine {
    padding: 0 0 5px;
    font-size: 22px;
  }

  div.widget_rotatingtweets_widget, div.rotatingtweet, div.widget_rotatingtweets_widget div.widget-title {
    max-width: 590px;
  }

  #dateList, #runningDateList {
    width: 696px;
  }

  #dateList li.box, #runningDateList li.box {
    width: 172px;
  }

  #dateList li.box  a, #runningDateList li.box  a {
    width: 144px;
  }

  #dateList .theDay, #runningDateList .theDay {
    font-size: 2.6em;
    line-height: 47px;
  }

  #dateList .theTime, #runningDateList .theTime {
    font-size: 1em;
    width: 60%;
  }

  #dateList .theTitle, #runningDateList .theTitle {
    display: block;
    max-width: 132px;
    margin-top: 27px;
    line-height: 1.2em;
  }

  body.single .entry #postTitle, body.single .entry #crumbs {
    display: block;
  }

  .event-sidebar .event-details {
    font-size: 0.9em;
  }

  .event-sidebar .event-detail-wrap {
    width: 50%;
    float: left;
  }

  .event-sidebar  .event-links {
    width: 50%;
    float: right;
  }

  .event-sidebar .event-detail-comments {
    clear: both;
  }

  .search-result-nav li a {
    font-size: 1em;
    padding: 2%;
    width: 28%;
  }

  .home #slider + h2 {
    clear: left;
    padding-top: 5px;
  }

  ol.flex-control-nav {
    bottom: -87px;
    display: none;
  }

  .flex-direction-nav {
    top: 135px;
  }

  .home-page-secondary-content .article .pic {
    display: none;
  }

  .home-page-secondary-content .article .excerpt {
    width: 90%;
  }

  .idea1-footer-social-wrap ul {
    margin-left: 30px;
  }

  /* Submit Event Forms */
  .ideaForm.event, .ideaForm.post {
    width: auto;
  }

  .ideaForm.event .sbHolder {
    margin-left: 0;
  }

  .ideaForm input.med {
    width: 400px;
    margin-left: 0;
  }

  .ideaForm div.category-select {
    width: 400px;
    margin-left: 0;
  }

  .ideaForm input.small {
    width: 400px;
    margin-left: 0;
  }

  .ideaForm input.x-small {
    width: 400px;
    margin-left: 0;
  }

  .ideaForm textarea {
    width: auto;
  }

  .ideaForm label.long, .ideaForm label.x-small {
    width: 400px;
  }

  .ideaForm label.x-small.last {
    margin-top: 10px;
    margin-left: 0;
  }

  .ideaForm .image-secondary .long, .ideaForm .image-main .long, .ideaForm .image-fence .long {
    width: 400px;
  }

  .ideaForm .submit input, .ideaForm .forgetmenot, .ideaForm .other-form-info {
    margin-left: 0;
  }

  .ideaForm.event input[type="file"] {
    margin-left: 0;
  }

  form.ideaForm .sbOptions {
    left: -3px;
  }

  .ideaForm input.input, .ideaForm input[type="text"], .ideaForm input[type="email"], .ideaForm input[type="password"] {
    width: 96%;
    padding: 2%;
    margin: 5px 0;
  }

  .ideaForm div.category-select {
    width: 100%;
    margin: 5px 0;
  }

  .site-owner a.site-owner-logo.last {
    margin-top: 10px;
    float: left;
  }

}

/*---------------------------------*/
/*------- 590px to 740px ---------*/
/*---------------------------------*/
@media screen and (max-width:740px) {
  div.widget_rotatingtweets_widget, div.rotatingtweet, div.widget_rotatingtweets_widget div.widget-title {
    max-width: 490px;
  }

  h3 {
    font-size: 20px;
  }

  #dateList, #runningDateList {
    width: 548px;
  }

  #dateList li.box, #runningDateList li.box {
    width: 135px;
  }

  #dateList .theDay, #runningDateList .theDay {
    font-size: 2em;
    line-height: 38px;
  }

  #dateList .theTime, #runningDateList .theTime {
    font-size: 0.8em;
    width: 57%;
  }

  #dateList .theTitle, #runningDateList .theTitle {
    display: block;
    max-width: 110px;
    margin-top: 27px;
    line-height: 1.2em;
  }

  #filter h2 {
    float: none;
  }

  .event-snippet a.date {
    width: 22%;
  }

  .event-snippet a.date .day {
    display: block;
    font-size: 2em;
  }

  .event-snippet a.date .day-time {
    float: left;
    clear: left;
    font-size: 0.8em;
  }

  .event-snippet .details {
    width: 74% !important;
  }

  .ideaForm input.input, .ideaForm input[type="text"], .ideaForm input[type="email"], .ideaForm input[type="password"] {
    width: 96%;
    padding: 2%;
    margin: 5px 0;
  }

  .ideaForm div.category-select {
    width: 100%;
    margin: 5px 0;
  }

}

/*---------------------------------*/
/*------- 440px to 590px ---------*/
/*---------------------------------*/
@media screen and (max-width:590px) {

  a#logo {
    width: 40%;
  }

  div.widget_rotatingtweets_widget, div.rotatingtweet, div.widget_rotatingtweets_widget div.widget-title {
    max-width: 340px;
  }

  #dateList, #runningDateList {
    width: 399px;
  }

  #dateList li.box, #runningDateList li.box {
    width: 131px;
  }

  #dateList .theTitle, #runningDateList .theTitle {
    max-width: 110px;
    line-height: 1.2em;
  }

  .search-result-nav {
    padding: 10px 0px;
    margin-bottom: 10px;
  }

  .search-result-nav li a {
    background: #d8013c;
    display: block;
    width: 94%;
    text-align: center;
    padding: 3%;
    margin: 3px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
  }

  .search-result-panel-switcher.active {
    background: #222;
  }

  .ideaForm label.long {
    width: 100%;
  }

  .ideaForm.event {
    width: auto;
  }

  .ideaForm input.input, .ideaForm input[type="text"], .ideaForm input[type="email"], .ideaForm input[type="password"] {
    width: 96%;
    padding: 2%;
    margin: 5px 0;
  }

  .ideaForm div.category-select {
    width: 100%;
    margin: 5px 0;
  }

  .ideaForm .forgetmenot, .ideaForm .other-form-info, .ideaForm .submit input, .profile form.ideaForm .sbHolder, .ideaForm.event label.x-small {
    margin-left: 0;
  }

  .ideaForm .submit input {
    display: block;
  }

  .ideaForm.event .sbHolder, .ideaForm.event input.no-label-long, .ideaForm.event input[type="file"] {
    margin-left: 0;
  }

  .ideaForm.event h3 span {
    display: none;
  }

  .ideaForm.event h3, .ideaForm.post h3 {
    line-height: 30px;
  }

  .ideaForm.event .submit input {
    font-size: 1.1em;
  }

  .ideaForm.event .sbHolder .sbOptions {
    left: -3px;
  }

  #topMobile #selectMenuCont {
    width: 200px;
    margin-top: 30px;
  }

  .site-owner a.site-owner-logo {
    width: 100%;
  }

  .site-owner .logo-col, .site-owner .logo-col.first {
    float: none;
    margin-right: 0;
    width: 100%;
    margin-top: 20px;
  }
  .site-owner .logo-col.first {
    margin-top: 0;
    /* Needed to unset on here as only first has a more specific class */
  }
}

/*---------------------------------*/
/*------- Mobile up to 440px-------*/
/*---------------------------------*/
@media screen and (max-width:440px) {

  .parallax-layers {
    display:none;
  }

  .visible-phone {
    display: block;
  }

  .visible-desktop,
  .post-snippet a.date,
  #navigationStickyWrapper,
  #toppanel,
    /*#slider,*/
  .flex-control-nav,
  a#logo, #logob, /* TEMP TO HIDE THE DAMN LOGO TO ALLOW WIDTH FIX */
  #filter h3, #filter ul,
  .home-page-secondary-content .article .pic,
  #logoWrap .innerWrap
  .parallax-layers,
  .fence-nav {
    display: none;
  }

  div.widget_rotatingtweets_widget, div.rotatingtweet, div.widget_rotatingtweets_widget div.widget-title {
    max-width: 340px;
  }

  .home #content .event-snippet .details {
    margin-bottom: 30px;
    padding-top: 0px;
    padding-bottom: 20px;
    border-bottom: 1px solid #777;
  }

  .home-page-tertiary-content .col {
    border-color: #777 !important;
  }

  .home-page-secondary-content {
    border-top: 1px solid #777;
    padding-top: 20px;
    margin-top: 30px;
  }

  .home #content .latest-tv {
    margin-top: 30px;
    border-top: 1px solid #777;
    padding-top: 20px;
  }

  /*Events and Calendars*/
  .event-snippet a.date {
    width: 90%;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: content-box;
    height: auto;
  }

  .post-snippet .details h2 {
    line-height: 20px;
    font-size: 1.2em;
  }

  .post-snippet .details, .event-snippet .details {
    width: 100% !important;
    margin: 0 0 35px 0;
    height: auto;
  }

  .post-snippet a.smallDate {
    float: left;
    display: inline-block;
    margin-right: 10px;
  }

  h1 {
    font-size: 2.5em;
    /*text-align: center;*/
  }

  #toppanel {
    display: none;
  }

  #topMobile, #topMobile * {
    display: block;
  }

  #topMobile .login {
    list-style-type: none;
    width: 90%;
    float: left;
    margin: 6px 5%;
    font-size: 0.8em;

  }

  #topMobile .login li {
    float: left;
    margin: 0 2px;
  }

  #topMobile a {
    color: #222;
    text-decoration: none;
    text-transform: uppercase;
    font-family: PTSansRegular, sans-serif;
    font-weight: bold;
    display: inline-block;
  }

  #mLogo {
    width: 90%;
    margin: 10px 5% 20px;
    text-align: right;
    border: 0px solid #222;
    border-width: 0 0 4px 0;
    padding-bottom: 3px;

  }

  #topMobile #searchform {
    float: none;
    clear: left;
    background: none;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    width: 90%;
    padding: 0 5%;
    margin-bottom: 30px;
  }

  #topMobile #searchform .submit-arrow {
    height: 50px;
    width: 23px;

  }

  #topMobile #searchform .submit-arrow #searchsubmit {
    padding: 17px 4px 0 0;
  }

  #topMobile #searchform #s {
    background: none;
    color: #222;
    border: 7px solid #d8013c;
    position: inherit;
    width: 80%;
    /*width: 73%;*/
    float: left;
    margin: 0 0;
    padding: 0 2%;
    height: 36px;
    line-height: 30px;
    font-weight: normal;
    text-transform: none;
  }

  #tagLine {
    font-size: 1.3em;
    line-height: 1.3em;
    padding-bottom: 0;
    font-style: italic
  }

  .event-snippet a.date {
    padding-top: 4px;
  }

  .event-snippet a.date  p.month {
    float: left;
    margin-right: 5px;
    font-size: 1.2em;
  }

  .event-snippet a.date  .day {
    width: 10%;
    font-size: 1.2em;
  }

  .event-snippet a.date  .day-time {
    float: right;
    font-size: 1.2em;
    width: 69%;
  }

  .event-snippet a.date .see-extra-details {
    position: inherit !important;
    float: right;
  }

  #listing .post, #listing .event, #listing .opportunity {
    margin-bottom: 30px;
    padding-bottom: 0px;
    /*float: left;*/
  }

  .home-page-secondary-content .article .excerpt {
    margin-left: 0%;
    width: 100%;
  }

  #topMobile #selectMenuCont {
    float: none;
    width: 86%;
    margin: 0px auto 20px;
    text-align: inherit;
    position: inherit;
    padding: 2%;
    z-index: 100;
    background: #4e9435;
  }

  #topMobile #selectMenu {
    background: #fff;
    display: block;
    width: 100%;
    /*height: 40px;*/
    border: 1px solid #777;
    padding: 3%;
    margin-top: 0px
  }

  .footer-navigation {
    text-align: center;
  }

  .idea1-footer-social-wrap {
    clear: left;
    height: 50px !important;
  }

  .idea1-footer-social-wrap ul {
    margin: 0 auto;
    width: 240px;
    padding-left: 20px;
  }

  #slider .sliderInfo {
    bottom: 5px;
  }



  #dateList, #runningDateList {
    width: 100%;
  }

  #dateList li.fakeEvent, #runningDateList li.fakeEvent {
    display: none;
  }

  #dateList li.box, #runningDateList li.box {
    width: 100%;
    height: auto;
  }

  #dateList li.box a, #runningDateList li.box a {
    width: 100%;
    height: auto;
    min-height: 64px;
    font-size: 0.9em;
    padding: 0 0;
    float: left;
  }

  #dateList li.box a.peterborough-presents-badge {
    height: 27px;
    min-height: 0;
  }

  /*#dateList li.box a.peterborough-presents-badge:hover {*/
    /*height: 72px;*/
    /*width: 72px;*/
  /*}*/


  #dateList li.monthYear, #runningDateList li.monthYear {
    font-size: 1.4em;
  }

  #dateList li.monthYear a.dateLink span, #runningDateList li.monthYear a.dateLink span {
    margin: 0 6px;
  }

  #dateList li.monthYear a.dateLink, #runningDateList li.monthYear a.dateLink {
    height: 40px;
    min-height: 40px;
    line-height: 2em;
  }

  #dateList li.monthYear, #runningDateList li.monthYear {
    height: auto;
    line-height: 2em;
  }

  #dateList li.monthYear span, #runningDateList li.monthYear span {
    padding-top: 0;
  }

  #dateList .info, #runningDateList .info {
    float: left;
    width: 22%;
    margin: 0 2%;
  }

  #dateList .theDay, #runningDateList .theDay {
    padding-top: 3px;
    display: block;
    font-size: 2em;
    line-height: 1em;
    width: 90%;
    margin: 0 5%;
    height: 29px;
    clear: left;
  }

  #dateList .theTime, #runningDateList .theTime {
    display: block;
    font-size: 0.8em;
    width: 98%;
    margin: 0 1%;
    height: 32px;
    text-align: left;
    clear: left;
  }

  #dateList .theTime .see-extra-details, #runningDateList .theTime .see-extra-details {
    color: #222;
    background: none;
    float: left;
    text-align: left;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
  }

  #dateList a:hover .theTime .see-extra-details, #runningDateList a:hover .theTime .see-extra-details {
    color: #fff;
  }

  #dateList .theTitle, #runningDateList .theTitle {
    clear: none;
    display: block;
    width: 74%;
    max-width: 74%;
    margin-top: 4px;
    float: right;
    line-height: 1.2em;
    font-size: 1.4em;
    height: auto;
  }

  #filter h2 {
    float: none;
  }

  .home-page-secondary-content .article .pic {
    display: none !important;
  }

  .home-page-secondary-content .article .excerpt {
    width: 100% !important;
  }

  /*.home */
  .event-snippet a.date .day {
    width: 40%;
    display: inline-block !important;
    font-size: 1.2em;
    line-height: 1em;
  }

  /*.home */
  .event-snippet a.date .day-time {
    width: 100%;
    display: inline-block !important;
    font-size: 0.9em;
    color: #FFF;
    text-transform: uppercase;
    float: left !important;
  }
}

/* --------------------------- */
/* --------------------------- */
/* --------------------------- */
/* --------------------------- */
/* --------------------------- */
/* DONT TOUCH BELOW THIS!!!!!  */
/* --------------------------- */
/* --------------------------- */
/* --------------------------- */
/* --------------------------- */
/* --------------------------- */
/* --------------------------- */

/* DEFAULT WRAPPER OVERRIDES */
body.single #postDetails, #sidebar, .event-sidebar, .general-sidebar {
  width: 250px;
  float: right;
}

body.single .post, body.page .page, #listing, .event-post {
  width: 600px;
  padding: 0 !important;
  float: left;
}

/*---------------------------------*/
/*------- 890px to 1040px ---------*/
/*---------------------------------*/
@media screen and (max-width:1040px) {
  #wrapper {
    width: 789px;
    padding: 0 45px 10px; /* 135px; */
  }

  #navigation {
    width: 100% !important;
    padding-left: 0 !important;
  }

  #navigation.sticky {
    top: 10px !important;
  }

  #dropmenu li ul {
    width: 110px;
  }

  .innerWrap {
    width: 860px;
  }

  body.single #postDetails, #sidebar, .event-sidebar, .general-sidebar {
    width: 250px;
  }

  body.single .post, body.page .page, #listing, .event-post {
    width: 500px;
  }

  #commentsection.event-comments {
    width: 500px;
  }

  #wpadminbar {
    display: none;
  }

  .wrapper {
    width: 750px;
    padding: 0 45px 0;
  }

}

/*---------------------------------*/
/*------- 740px to 890px ---------*/
/*---------------------------------*/
@media screen and (max-width:890px) {
  #wrapper {
    width: 700px;
    padding: 0 20px 10px; /* 135px; */
    margin: 50px auto;
  }

  .wrapper {
    overflow: hidden;
    width: 650px;

  }

  #logoWrap {
    top: 44px;
  }

  .logged-in #logoWrap {
    top: 34px;
  }

  .innerWrap {
    width: auto;
  }

  /* Footer changes - maybe move up a size? */
  .upper-footer {
    height: auto;
  }

  .footer-navigation {
    width: 69%;
  }

  .idea1-footer-logo-wrap {
    width: 30%;
  }

  .idea1-footer-logo-wrap a {
    top: 0px;
  }

  .idea1-footer-social-wrap {
    width: 100%;
    float: none;
  }

  .idea1-footer-social-wrap ul {
    padding-top: 0;
  }

  body.single .post, body.page .page, #listing, .event-post {
    width: 430px;
    float: left !important;
  }

  #commentsection.event-comments {
    width: 430px;
  }

  .event-snippet .details {
    width: 62%;
  }

  #dropmenu li ul {
    width: auto;
  }
}

/*---------------------------------*/
/*------- 590px to 740px ---------*/
/*---------------------------------*/
@media screen and (max-width:740px) {
  #wrapper {
    width: 550px;
    padding: 0 20px 10px; /* 135px; */
  }

  .wrapper {
    width: 400px;
    padding: 0 20px 0;
  }

  #navigation {
    display: none;
  }

  .home-page-secondary-content > div {
    width: 100%;
    float: none;
    margin-left: 0;
  }

  .home-page-tertiary-content .col {
    width: 100%;
    float: none;
    margin-left: 0;
    padding-top: 20px;
    border-top: 1px solid #cdcdcd;
    margin-bottom: 40px;
  }

  /*.home-page-tertiary-content .campaigns a, .home-page-tertiary-content .fence a {*/
    /*padding-left: 0;*/
    /*background-image: none;*/
  /*}*/

  .footer-navigation {
    width: 100%;
  }

  .idea1-footer-logo-wrap {
    display: none;
  }

  body.single .post, body.page .page, #listing, .event-post {
    float: none !important;
    width: 550px;
  }

  #commentsection.event-comments {
    width: 550px;
  }

  body.single #postDetails, #sidebar, .event-sidebar, .general-sidebar {
    width: 550px;
    float: none;
    margin: 0 auto;
  }

  .sidebar-list {
    min-width: 550px;
  }

  .flex-direction-nav {
    top: 105px;
  }

  .home-page-secondary-content .article .pic {
    display: block;
  }

  .home-page-secondary-content .article .excerpt {
    width: 70%;
  }

  .home-page-secondary-content .latest-tv .cta {
    padding-top: 15px;
  }

  .footer-content-inner div {
    margin-left: 60px;
  }

  .idea1-footer-social-wrap ul {
    margin-left: 24px;
  }

  #listing .event-snippet .details {
    width: 69%;
  }
}

/*---------------------------------*/
/*------- 440px to 590px ---------*/
/*---------------------------------*/
@media screen and (max-width:590px) {
  #wrapper {
    width: 400px;
    padding: 0 20px 10px; /* 135px; */
  }

  body.single #postDetails, #sidebar, .event-sidebar, .general-sidebar {
    width: 100%;
    clear: left;
    float: none;
  }

  body.single .post, body.page .page, #listing, .event-post {
    width: 100%;
    clear: right;
    float: none;
  }

  #commentsection.event-comments {
    width: 100%;
  }

  .footer-navigation {
    width: 100%;
  }

  .idea1-footer-logo-wrap {
    width: 100%;
    display: none;
  }

  body.single #postDetails, #sidebar, .event-sidebar, .general-sidebar {
    width: 400px;
  }

  .sidebar-list {
    min-width: 400px;
  }
}

/*---------------------------------*/
/*------- UPTO 440px      ---------*/
/*---------------------------------*/
@media screen and (max-width:440px) {

  html, body { width: 100%; height: 100%; padding: 0; margin: 0;}
  #wrapper {
    width: auto;
  }

  .innerWrap {
    display: none;
  }

  body.single #postDetails, #sidebar, .event-sidebar, .general-sidebar {
    width: 100%;
    clear: left;
    float: none;
  }

  body.single .post, body.page .page, #listing, .event-post {
    width: 100%;
    clear: right;
    float: none;
  }

  #commentsection.event-comments {
    width: 100%;
  }

  .wrapper {
    overflow: hidden;
    width: auto;
    padding: 0 10px 0;
    margin: 10px auto;
  }

  #logoWrap {
    height: auto;
    top: 0;
  }

  #header {
    margin: 0;
    padding: 0;
  }

  body.single #postDetails, #sidebar, .event-sidebar, .general-sidebar {
    width: 100%;
  }

  .sidebar-list {
    min-width: 100%;
  }

  .footer-content-inner div {
    margin-left: 0px;
  }

  .idea1-footer-social-wrap ul {
    margin-left: 8%;
  }
}



