/*****************************************************
*   Special styles for the various page templates                      
****************************************************/

/* Styles for the "3-columns-page template" */

#pageleft {
	float: left;
	width: 265px;
	margin: 20px 20px 0px 0px;
	padding: 0 20px 0 0;
	border-right: solid 1px #999;
	text-align:justify;
	}
	
#pagemiddle {
	float: left;
	width: 265px;
	margin: 20px 20px 0px 0px;
	padding: 0px;
	text-align:justify;
	}
	
#pageright {
	float: right;
	width: 265px;
	margin: 20px 0px 0px 0px;
	padding: 0 0 0 20px;
	border-left: solid 1px #999;
	text-align:justify;
	}

#pageleft .bullets li, #pagemiddle .bullets li, #pageright .bullets li {
	list-style:square;
	margin-bottom:5px;
	margin-left:22px;
	}

/* Styles for the "featured-page template" */

#featured-top {
	width:880px;
	float:left;
	padding: 0 0 15px 0;
	margin: 0 0 25px 0;
	border-bottom: double 3px #999; 
	}

#featured-content {
	width:600px;
	float:left;
	}
	
	
#featured-sidebar {
	width: 250px;
	float:right;
	}
	
#featured-sidebar h3 {
	border-bottom:1px solid #999;
	padding:5px 0 5px 2px;
	margin:0 0 20px 0;
	}	
	
#featured-sidebar .sidebar_widget {
	margin:0 0 20px 0;
	text-align:justify;
	}
	
#featured-leftcol {
	width:600px;
	float:left;
	margin:20px 20px 0 0;
	padding: 0 25px 0 0;
	border-right: 1px solid #999;
	}

#featured-leftcol h2, #featured-rightcol h2, #featured-content h2{
	color: #840000;
	font: 1.8em Georgia, "Times New Roman", Times, serif;
	margin: 0 0 10px 0;
	border:none;
	}

#featured-leftcol img{
	float:left;
	margin:0 20px 10px 0;
	padding:1px;
	border: 1px solid #999;
	}

#featured-rightcol{
	width:230px;
	float:right;
	margin-top:20px;
	}

#featured-rightcol li {
	list-style:none
	}

#featured-rightcol .bullets li {
	list-style:square;
	margin-bottom:5px;
	margin-left:22px;
	}

.featured_post blockquote {
	color:#666;
	background:#F4F4EC;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #DDD;
	border-bottom:1px solid #DDD;
	}	

.featured_post ul li {
	list-style:square;
	margin-bottom:5px;
	
	margin-left:42px;
	}

.featured_post ol li {
	margin-bottom:5px;
	
	margin-left:48px;
}
.top-man-woman-row {
  padding:15px 0 0 0;
  margin: 0;
  text-transform: uppercase;
  font-weight:bolder;
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 14px;
  line-height: 20px;
}
.top-man-woman-row .top-man {
  float:left; width:435px; background-color: #4801FF; margin-right: 5px; text-align: center; padding: 5px 0;
}
.top-man-woman-row .top-woman {
  float:left; width:435px; background-color: #FF9EC1; margin-left: 5px; text-align: center; padding: 5px 0;
}

/* MOBILE MENU START */
.mobile-menu {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  top: 0;
  background-color: #E6E3D3;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 9999999;
}
.mobile-menu .header-search .search-form {
	padding: 0 !important;
}
.mobile-menu .header-search .query {
	padding: 0 .5rem;
  background: #fff;
  border: 1px solid #fff;
  font-size: 1.2rem;
	width: 80%;
}
.mobile-menu .header-search .button {
	display: none;
}
.mobile-menu__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 30px;
  cursor: pointer;
  transition: 0.4s;
}
.mobile-menu__icon {
  display: block;
  position: relative;
  background: white;
  width: 90%;
  height: 4px;
  transition: 0.4s;
}
.mobile-menu__icon::after, .mobile-menu__icon::before {
  content: "";
  display: block;
  position: absolute;
  background: white;
  width: 100%;
  height: 4px;
  transition: 0.4s;
}
.mobile-menu__icon::after {
  top: 8px;
}
.mobile-menu__icon::before {
  top: -8px;
}
.mobile-menu__container {
  position: fixed;
  text-align: center;
  display: flex;
	flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 0;
  opacity: 1;
  transition: 0.5s;
  transition-delay: 0.2s;
  overflow: hidden;
  background-color: #fff;
}
.mobile-menu__list {
  transition: 0.5s;
  transition-delay: 0.5s;
  list-style: none;
  padding-left: 0;
  margin-top: -50px;
}
.mobile-menu__item {
  font-size: 26px;
  padding-bottom: 15px;
}
.mobile-menu__link {
	background: #e6e3d2;
  color: #454440 !important;
  text-decoration: none !important;
	text-transform: uppercase;
  padding: .5rem 1rem;
	font-size: 1.2rem;
	display: block;
	width: 90%;
	margin: 0 auto;
	border: 1.5px solid #fff;
	box-shadow: 0 0 0px 1px #7d7d7d, inset -5.5px -5.5px 0px -4px #8c8c8c;
}
.mobile-menu__checkbox {
  display: none;
}
.mobile-menu__checkbox:checked ~ .mobile-menu__nav {
  opacity: 1;
  transition-delay: 0s;
}
.mobile-menu__checkbox:checked ~ .mobile-menu__container {
  height: 100%;
  transition-delay: 0s;
}
.mobile-menu__checkbox:checked ~ .mobile-menu__btn .mobile-menu__icon {
  background: transparent;
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 1000;
  width: 50px;
}
.mobile-menu__checkbox:checked ~ .mobile-menu__btn .mobile-menu__icon::before, .mobile-menu__checkbox:checked ~ .mobile-menu__btn .mobile-menu__icon::after {
  top: 0;
	background: #000;
}
.mobile-menu__checkbox:checked ~ .mobile-menu__btn .mobile-menu__icon::after {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.mobile-menu__checkbox:checked ~ .mobile-menu__btn .mobile-menu__icon::before {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
.mmenu-search {
	width: 100%;
  padding: 15px;
}
.mmenu-search .search-form {
	width: 100%;
	padding: 0 !important;
}
.mmenu-search .inner {
	display: flex;
}
.mmenu-search .query {
	width: 100%;
  padding: .5rem;
  background: #e6e6e6;
  border: 1px solid #969696;
  font-size: 1.2rem;
}
.mmenu-search .button {
	display: none;
}
.content-top-image {
  padding:15px 0 0 0;
  margin: 0;
}
.content-top-image .image {
  float:left;
  width:100%;
}
.ui-tabs-nav {
  display: inline-block;
}
.ui-tabs-panel {
  margin-top: -5px;
}
.home-tabs-btn {
	display: inline-block;
	margin-left: -3px;
}
.home-tabs-btn a {
  padding: 5px;
  background: #E6E3D3;
  margin: 1px 0 0 0;
  color: #333;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid #ccc;
  white-space: nowrap;
  position: relative;
  top: -8px;
}
.sidebar-ban-1, .sidebar-ban-2 {
	display: inline-block;
}
.sidebar-ban-1 {
	margin-top: 15px;
}
.sidebar-ban-2 {
	margin-top: 10px;
}
.home-mobile-ban {
	display: none;
}
#fragment-1, #fragment-2, #fragment-3, #fragment-4, #fragment-5, #fragment-6, #fragment-7, #fragment-8, #fragment-9 {
	height: auto !important;
}
@media (max-width: 991px) {
  *, *::before, *::after {
    box-sizing: border-box;
  }
  #page {
    width: 720px;
  }
  #branding {
    width: auto;
  }
  #nav {
    display: flex;
    flex-wrap: wrap;
  }
  #nav li {
    width: 33.335%;
    text-align: center;
  }
  .top-man-woman-row {
    display: flex;
  }
  #content {
    width: 414px;
  }
  #content .pagetitle {
    margin-right: 30px;
  }
  #content .post {
    padding-right: 30px;
  }
  #content .post h2 {
    margin: 0;
  }
  #content img {
    max-width: 100%;
    height: auto;
  }
  .ui-tabs-panel {
    width: 385px !important;
  }
  #container-4 {
    height: auto !important;
  }
  #fragment-1, #fragment-2, #fragment-3, #fragment-4, #fragment-5, #fragment-6, #fragment-7, #fragment-8, #fragment-9 {
    height: auto !important;
  }
  #leftcol {
    width: 400px;
    border-right: none;
  }
  #rightcol {
    width: 400px;
    padding-right: 15px;
    padding-left: 0;
  }
  .entry {
    text-align: left;
    padding-bottom: 0;
  }
  #footer {
    width: 100%;
  }
  .wp-paginate-comments {
    text-align: center;
  }
  .wp-paginate .title {
    display: none;
  }
  .cform {
    width: 100%;
  }
  .cform textarea, .cform input {
    width: 284px;
  }
  h3#respond {
    margin-right: 30px;
  }
  #commentform {
    width: 100%;
    padding-right: 30px;
  }
  h3#comments {
    margin-right: 30px;
  }
  .commentlist {
    padding-right: 30px;
  }
  .content-top-image .image {
    padding-right: 30px;
  }
}
@media (max-width: 767px) {
	#headerimg .right {
	  display: none;
    position: absolute;
    bottom: 5px;
    right: 0;
  }
  #nav {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
	.mobile-menu__list {
		display: flex;
  		flex-wrap: wrap;
		margin-top: 60px;
	}
	.mobile-menu__list .mobile-menu__item {
		width: 50%;
		padding-bottom: 5px;
	}
	.mobile-menu__checkbox:checked ~ .mobile-menu__btn .mobile-menu__icon {
		top: 5%;
  		right: 10px;
	}
  #page {
    width: 540px;
  }
  #content {
    width: 100%;
    float: none;
  }
  #content .post {
    padding-right: 0;
  }
  .ui-tabs-panel {
    width: 100% !important;
  }
  #leftcol {
    width: 100%;
    padding-right: 0;
  }
  #rightcol {
    width: 100%;
    padding-right: 0;
  }
  #sidebar {
    width: 100%;
    float: none;
  }
  h3#respond {
    margin-right: 0;
  }
  #commentform {
    padding-right: 0;
  }
  h3#comments {
    margin-right: 0;
  }
  .commentlist {
    padding-right: 0;
  }
  .content-top-image .image {
    padding-right: 0;
  }
}
@media (max-width: 575px) {
  body {
    font-size: 16px;
  }
  #page {
    width: 100%;
    padding: 10px 15px;
  }
  .blogtitle, .blogtitle a {
    font-size: 2.5rem;
    padding-left: 0;
  }
  #headerimg {
    position: relative;
  }
  #headerimg .right input {
    font-size: 16px;
  }
  #headerimg .right .button {
    padding: 0 10px;
  }
  #branding {
    width: 100%;
    text-align: center;
  }
  #rightcol {
    text-align: left;
  }
	#home .sidebar-ban-1, #home .sidebar-ban-2 {
		display: none;
	}
	.sidebar-ban-1, .sidebar-ban-2 {
		width: 100%;
	}
	.sidebar-ban-1 img, .sidebar-ban-2 img {
		width: 100%;
		height: auto;
	}
	.home-mobile-ban {
		display: block;
	}
	.home-mobile-ban img {
		width: 100%;
	}
	.mobile-menu__list .mobile-menu__item {
		width: 100%;
	}
  .postmetadata {
    font-size: 1rem;
  }
  .cform label, .cform label span {
    width: 100%;
  }
  .cform textarea, .cform input {
    width: 100%;
  }
  .content-top-image .image img {
    width: 100% !important;
  }
	.ui-tabs-panel {
		margin-top: -7px;
	}
	.ui-tabs-nav li {
		min-width: 0 !important;
	}
	.home-tabs-btn {
		margin-left: -4px;
	}
	.home-tabs-btn a {
		padding: 5px;
		top: -9px;
	}
	#back-top {
		margin-left: auto;
		right: 2rem;
	}
}