

.row {
  margin: 0 auto;
  max-width: 1388px;
  width: 100%;
}
.wp-caption, .wp-caption-text, .sticky, .gallery-caption, .bypostauthor {}
 h1, h2, h3, h4, h5, h6 {display:block;width:100%;}
 
 /* Prevent flash of content on menu load */
 nav.top-bar, header {opacity:0;transition:all 0.5s ease 0.5s;}
nav.top-bar.loaded, header.loaded {opacity:1;}
nav.top-bar ul.sub-menu {height:0;visibility:hidden;}
nav.top-bar.loaded ul.sub-menu {height:auto;visibility:visible;}



/* Custom Login Page Styles */
.custom-login {padding:50px 0;}
.login-msg {margin: 0;}
.alert-box .close {color:#fff;}
.custom-login input[type="submit"] {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: 2px solid #e93108;
  color: #e93108;
  display: inline;
  font-family: "Roboto",sans-serif;
  font-size: 20px;
  font-weight: 700;
  height: auto;
  margin: 0;
  padding: 5px;
  transition: all 0.8s ease 0s;
}
.custom-login input[type="submit"]:hover {
  background: rgba(233, 49, 8, 0.7) none repeat scroll 0 0;
  color: #fff;
}

/*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 */
.top-bar-section ul li, .top-bar-section li:not(.has-form) a:not(.button) {background:none;}
.top-bar-section ul li > a, .menu li a {color:#000;font-size:16px;padding:0.7rem 1rem;}
.menu li li a {display:block;font-size:14px;}
.menu li a:hover {background:#000;color:#fff;}
.top-bar-section .dropdown {top:39px;}
.top-bar {background:none;}
.is-dropdown-submenu {border:0px none;margin:0;}
.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after {border-color:#000 transparent transparent;}
.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a:hover::after {border-color:#fff transparent transparent;}

/* Setup Base Styles for Blog */
article.loop-wrap {padding:0;margin-bottom:25px;}
.postinfo > p {margin: 10px 0;}
.np {clear: both;display: flex;justify-content: space-around;}
.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: 1024px) { 
/*Slide out menu styles */
.top-bar.show-for-large-up.clearfix {display: none !important;}
.off-canvas-wrapper.show-for-small-only {display: block !important;}
.title-bar, .off-canvas {background:#93397f;}
.title-bar:hover {background:#315D9E;}
.title-bar button.menu-button {color:#fff;cursor:pointer;}
ul.off-canvas-list li a {color:#fff;padding:15px;display:block;}
ul.off-canvas-list li a:hover {background:#315d9e;color:#fff;}
.menu-header {padding-top:25%;}
.off-canvas .close-button {color:#fff;}
.is-accordion-submenu-parent > a::after {border-color:#fff transparent transparent;}
/*.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%;}

.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%;}
*/
}

@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;}
.is-dropdown-submenu {position:relative;left:0;}
}