/* MAIN CONTENT WIDTHS */
@media(min-width:768px) {
   #banner-image-container, #banner-image-text-wrapper, #post-container .postarea, #icons-container .col-sm-12, .normal-slider-wrap .container { max-width: 900px; }
}

@media(min-width:992px) {
   #banner-image-container, #banner-image-text-wrapper, #post-container .postarea, #icons-container .col-sm-12, .normal-slider-wrap .container { max-width: 1040px; }
}

@media(min-width:1200px) {
   #banner-image-container, #banner-image-text-wrapper, #post-container .postarea, #icons-container .col-sm-12, .normal-slider-wrap .container { max-width: 1140px; }
}

/* Responsive Search */
@media (min-width: 0px) {
    .module-search .form-group { width: 70% !important; margin: 0; }
    .module-search .btn { width: 30%; }
}


/* Collapse archives on small screens */
@media (max-width: 768px) {

.module,
p.module-more { clear: left; }
.module { margin-bottom: 40px; }

.module-archives ul li,
.module-categories ul li,
.module-feed ul li,
.module-recent-comments ul li,
.module-elsewhere .typelist-plain ul li {
	display: inline;
	padding-right: 5px;
	}

.module-archives ul li:after,
.module-feed ul li:after,
.module-recent-comments ul li:after,
.module-elsewhere .typelist-plain ul li:after {
	content: '  \2022';
	}

.module-archives ul li:last-child:after,
.module-categories ul li:last-child:after,
.module-feed ul li:last-child:after,
.module-recent-comments ul li:last-child:after,
.module-elsewhere .typelist-plain ul li:last-child:after {
	content: "";
	padding: 0;
	}
}

/* THREE COLUMN */
   .three-column .container {
      max-width: 1240px;
   }

   .three-column #icons-container .col-sm-12 {
      width: 100%;
   }

@media(min-width:0) {
   #icons-container .col-sm-12 {
     margin-left: 12px;
     margin-right: 12px;
   }
   .three-column #icons-container .col-sm-12 {
     margin: 0;
     padding-right: 12px;
     padding-left: 12px;
   }
}

@media(min-width:768px) {
   .three-column #banner-image-container { max-width: 960px; }
   #icons-container .col-sm-12 {
     margin-left: auto !important;
     margin-right: auto !important;
   }
}

@media(min-width:992px) {
   .three-column #banner-image-container { max-width: 1140px; }
}

@media(min-width:1200px) {
   .three-column #banner-image-container { max-width: 1240px; }
   .three-column #icons-container .col-sm-12 {
     width: 1200px;
     padding-right: 0;
     padding-left: 0;
   }
}


/* Social Icons */
@media(max-width:420px) {
      #icons-container ul { max-width: 300px; }
}
@media(max-width:390px) {
      #icons-container { min-width: 260px; }
      #icons-container ul { max-width: 260px; }
}
@media(max-width:350px) {
      #icons-container { min-width: 240px; }
      #icons-container ul { max-width: 240px; }
}

/* Misc */
.table thead > tr > th, .table tbody > tr > th, .table tfoot > tr > th, .table thead > tr > td, .table tbody > tr > td, .table tfoot > tr > td {
padding: 0;
}

@media(min-width:0) {
  .three-column #imageslider .bx-wrapper { max-width: 1210px !important; }
  #previous_story, #next_story { font-size: 32px; }
  .module-calendar th,
  .module-calendar td { font-size: .85em !important; }
  .table thead > tr > th, .table tbody > tr > th, .table tfoot > tr > th, .table thead > tr > td, .table tbody > tr > td, .table tfoot > tr > td {
  padding: 4px 0;
  }
  .table-responsive { border: 0; overflow: hidden; }
}

@media(min-width:768px) {
  #previous_story, #next_story { font-size: 40px; }
  .module-calendar th,
  .module-calendar td { font-size: .85em !important; }
  .table thead > tr > th, .table tbody > tr > th, .table tfoot > tr > th, .table thead > tr > td, .table tbody > tr > td, .table tfoot > tr > td {
  padding: 4px 0;
  }
}

@media(min-width:992px) {
  #previous_story, #next_story { font-size: 44px; }
  .table thead > tr > th, .table tbody > tr > th, .table tfoot > tr > th, .table thead > tr > td, .table tbody > tr > td, .table tfoot > tr > td {
  padding: 4px;
  }
}

@media(min-width:1200px) {
  #previous_story, #next_story { font-size: 48px; }
  .table thead > tr > th, .table tbody > tr > th, .table tfoot > tr > th, .table thead > tr > td, .table tbody > tr > td, .table tfoot > tr > td {
  padding: 4px;
  }
}

/* MASONRY */

// checksize
#mysize { float: none; }

@media(min-width:0) {
  .widgets { margin-top: 25px; padding: 0 10px; }
}
@media(min-width:768px) {
  #mysize { float: right; }
  .widgets { margin-top: 0; padding: 0 20px; }
}
@media(min-width:992px) {
   .widgets { padding: 0 25px; }
}
@media(min-width:1200px) {
   .widgets { padding: 0 30px; }
}

.bottomwidgets {
  width: 100% !important;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.bottomwidgets .module {
  margin: 6px 0;
  padding: 5px 1%;
  float: left;
  font-size: 11px;
  line-height: 1.4em;
  border-radius: 2px;
}

.bottomwidgets .module:not(:first-of-type),
.bottomwidgets .module { 
   padding-top: 0 !important; 
   padding-top: 20px !important;
   padding-bottom: 20px !important;
}

@media screen and (min-width: 0) {
   .bottomwidgets .module { width: 100% !important; }
   .bottomwidgets { padding-left: 0 !important; }
}

@media screen and (min-width: 520px) {
   .bottomwidgets .module { width: 46% !important; }
   .bottomwidgets { margin-left: 15px !important; }
}

@media screen and (min-width: 992px) {
   .bottomwidgets .module { width: 31% !important; }
   .bottomwidgets { margin-left: 12px !important; }
}

/* Slider Nav for Text Nav on small screens */
@media(min-width:0) {
   .type-text { display: inline-block !important; }
   .nav-link { display: none; }
}

@media(min-width:768px) {
   .type-text { display: none !important; }
   .nav-link { display: inline-block; }
}

/* Featured Bottom */
@media(min-width:0) {
   .bottom-featured .square-thumb img { width: 125px; height: 125px; }
   .bottom-featured .item-square { width: 100% !important; }
   .bottom-featured .square-thumb, .bottom-featured .square-text { float: left; width: 145px; }
}
@media(min-width:410px) {
   .bottom-featured .square-thumb, .bottom-featured .square-text { float: none; width: auto; }
   .bottom-featured .item-square { width: 125px !important; }
}
@media(min-width:540px) {
   .bottom-featured .item-square:nth-child(3n+1){ clear: left; }
}
@media(min-width:690px) {
   .bottom-featured .item-square:nth-child(3n+1){ clear: none; }
   .bottom-featured .item-square:nth-child(4n+1){ clear: left; }
}
@media(min-width:768px) {
   .bottom-featured .square-thumb img { width: 85px; height: 85px; }
   .bottom-featured .item-square { width: 85px !important; }
}
@media(min-width:890px) {
   .bottom-featured .square-thumb img { width: 105px; height: 105px; }
   .bottom-featured .item-square { width: 105px !important; }
}
@media(min-width:992px) {
   .bottom-featured .square-thumb img { width: 120px; height: 120px; }
   .bottom-featured .item-square { width: 120px !important; }
}

@media(min-width:1200px) {
   .bottom-featured .square-thumb img { width: 145px; height: 145px; }
   .bottom-featured .item-square { width: 145px !important; }
}

@media(max-width: 680px) {
.bottom-featured { width: 100%; }

/* 150wi thumbs */
.bottom-featured li.item-square { float: left; clear: none !important; }

/* 75wi thumbs*/
.bottom-featured li.item-75w { width: 33% !important; float: left !important; clear: none !important; }

/* All thumbs */
.bottom-featured li { float: left !important; clear: none; }
.bottom-featured li:nth-child(2n+1) { clear: left; }
}

/* Bottom Featured - Spotlight Posts with excerpts */
@media screen and (max-width: 950px) {
.two-column-right .bottom-featured .feat-excerpt { display: none; }
.two-column-left .bottom-featured .feat-excerpt { display: none; }
}


.bottom-featured .item-square {
margin: 0 20px 20px 0;
float: left;
}

.bottom-featured .feat-text a {
width: 100%;
display: block;
font-size: 15px;
line-height: 19px;
}

.bottom-featured .feat-text {
text-align: left;
font-size: 14px;
}

.bottom-featured .feat-thumb {
padding-bottom: 0 !important;
}

/* Three Col */
@media (max-width: 992px) {
   .pagebody .col-sm-4:nth-of-type(3) { margin-top: 20px !important; }
}
