.row {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}
.wp-caption, .wp-caption-text, .sticky, .gallery-caption, .bypostauthor {}

/*Button and Input Styles*/
button.small, .button.small {font-size:1rem;padding: 0.5rem 1rem;}
input[type='submit'] {-moz-appearance: none;background-color: #008cba;border-color: #007095;border-radius: 0;border-style: solid;border-width: 0;color: #fff;cursor: pointer;display: inline-block;font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-size: 1rem;font-weight: normal;line-height: normal;margin: 0 0 1.25rem;padding: 0.5rem 1rem;position: relative;text-align: center;text-decoration: none;transition: background-color 300ms ease-out 0s;-moz-transition: background-color 300ms ease-out 0s;-webkit-transition: background-color 300ms ease-out 0s;}
input[type='submit']:hover {background:#007095;}
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea {background:none repeat scroll 0 0 #f2f2f1;}

/* Setup Base Styles */
p {line-height:1.5;}

ul, ol {list-style:none;margin-left:0;}

figure {margin:0;display:table;position:relative;}
figure img {max-width: 100%;}
figure.columns img {width: 100%;}
figcaption {caption-side: bottom;display: table-caption;line-height:1.25;position:absolute;bottom:0;left:0;background:rgba(255,255,255,0.8);text-align:center;}
figure.alignleft figcaption {padding:0 0.7rem 0 0;}
figure.alignright figcaption {padding:0 0 0 0.7rem;}
.alignright {float:right;padding: 0.7rem 0rem 0.7rem 0.7rem;}
.alignleft {float:left;padding: 0.7rem 0.7rem 0.7rem 0rem;}
.aligncenter {margin:15px auto;}
figure.gallery-item {float: left;margin: 10px;}



/* Setup Base Styles for Menu */
.contain-to-grid .top-bar {max-width:100%;}
.top-bar-section ul li, .top-bar-section li:not(.has-form) a:not(.button) {background:none;}
.top-bar {background:#ccc;}
.top-bar-section ul li > a {color:#000;font-size:16px;}
.top-bar-section .dropdown {top:39px;}

/* Setup Base Styles for Blog */
article.loop-wrap {padding:0;margin-bottom:25px;}
.postinfo > p {margin: 10px 0;}
.np {clear: both;}
.previouspl, .nextpl {margin:1rem 0 0;}
.medium-8.columns.loop-wrap, .medium-12.columns.loop-wrap, .medium-8.columns.loop-wrap article.article .medium-12.columns, .medium-8.columns.loop-wrap article.article .medium-8.columns, .medium-12.columns.loop-wrap article.article .medium-12.columns, .medium-12.columns.loop-wrap article.article .medium-8.columns {padding-left: 0;}

/* Base Styles for Footer Menu */
#footer-bottom-right, #footer-bottom-left {text-align: center;}
footer .menu ul {margin: 0 auto;}
footer .menu ul li {display: inline-block;}
footer .menu ul li a {padding: 0 5px 0 0;}
footer .menu ul li a:after {content:"|";padding-left:5px;position:relative;}

/* Base Styles for Footer Menu */
#footer-bottom-right, #footer-bottom-left {text-align: center;}
footer .menu-footer ul {margin: 0 auto;}
footer .menu-footer ul li {display: inline-block;}
footer .menu-footer ul li a {padding: 0 5px 0 0;}
footer .menu-footer ul li a:after {content:"|";padding-left:5px;position:relative;}

/*Some styles for widgets*/
.address-wrap p.address {display: inline-block;margin:0;}

/*Style for pagination*/
.custom-pagination {
  clear: both;
  display: block;
  padding-left:0.9375rem;
}
.custom-pagination span,
.custom-pagination a {
  display: inline-block;
  padding: 2px 10px;
}
.custom-pagination a {
  background-color: #315D9E;
  color: #fff;
}
.custom-pagination a:hover {
  background-color: #943980;
  color: #fff;
}
.custom-pagination span.page-num {
  margin-right: 10px;
  padding: 0;
}
.custom-pagination span.dots {
  padding: 0;
  color: #36015D;
}
.custom-pagination span.current {
  background-color: #943980;
  color: #fff;
}

@media only screen and (max-width: 767px) { 
/*Slide out menu styles */
.off-canvas-wrap.move-right .left-off-canvas-menu {overflow-y:inherit;min-height:400px;}
.top-bar.show-for-medium-up.clearfix {display: none !important;}
.tab-bar.show-for-small-only {display: block !important;}
#header-menu {bottom: auto;padding: 0;position: relative;right: auto;width: 100%;}

#wrapper .menu-header li.right {float: none;position: absolute;right: auto;top: -37px;width: 100%;}

nav.tab-bar, .left-off-canvas-menu, .off-canvas-wrap.move-right, .off-canvas-wrap.move-left {background:#93397f;}
ul.off-canvas-list li a {color:#fff;}
.tab-bar, .tab-bar .menu-icon {height:40px;line-height:40px;text-indent:30px;}
.tab-bar .menu-icon span {top:12px;left:15px;}
 a.left-off-canvas-toggle.menu-icon {color:#fff;font-size:20px;width:auto;padding-left:10px;}
nav.tab-bar:hover {background:#315d9e;}
ul.off-canvas-list {width:100% !important;text-indent:10px;}
ul.off-canvas-list li a:hover {background:#315d9e;color:#fff;}
.move-right > .inner-wrap{-webkit-transform:translate3d(200px, 0, 0);-moz-transform:translate3d(200px, 0, 0);-ms-transform:translate3d(200px, 0, 0);-o-transform:translate3d(200px, 0, 0);transform:translate3d(200px, 0, 0);background:#fff;}
.left-off-canvas-menu {width:200px;}
.left-off-canvas-menu * {list-style: none;}
.tab-bar section.right {padding-right: 15px;}
.tab-bar section.right a {color: #fff;font-size: 20px;}
.left-off-canvas-menu {overflow-x:visible;}
.left-off-canvas-menu li.right {float: none;width: 100%;}
#branding {text-align:center;}
}

@media only screen and (max-width:650px) {
#footer-top-wrapper .widget-container {text-align: center !important;}
ul#contact span {position:relative !important;}
ul#contact i {float:none !important;padding:0 !important;}
}

@media only screen and (max-width:640px) {
article.loop-wrap {padding: 0 0.9375rem;}
}