/*
Theme Name:     OAWilliams Consulting
Template:       doctype
Version: 		2.0.3
*/

@import url('../doctype/style.css');
:focus { outline: none; }
.site-branding img { padding: 0; }
.site-branding img { max-width:200px; }
.home .site-branding img { max-width:250px; }
.page-template-template-home-php .site-content, .page-template-template-widgetized-php .site-content { max-width: 1170px; }
.widgetized-sections { margin-top: 4rem; }
.portfolio-cta, .section-call-to-action, .portfolio-items figcaption, .partner-items figcaption { background: #4197CB; }
.uagb-cta__outer-wrap { padding:5%; background: #4197CB; color:#FFF; }
.footer-widget-area { background: #6BC4E8; color:#FFF; }
.footer-widget-area .widget-title::before, .page-header--portfolio span:before, .related-projects span:before { background: #1A428A; }
.footer-widget-area .widget-title span { background: #6BC4E8; color:#1A428A; }
.page-header--portfolio span, .related-projects span, .site-content h2, .site-content h3, .site-content h4, .site-content h1, .site-content h5, .site-content h6 { color:#1A428A; }
.site-content .portfolio-items figcaption h4, .site-content .partner-items figcaption h4, .portfolio-cta, .portfolio-cta h3 { color: #FFF; }
.site-footer { background: #1A428A; color: #FFFFFF; }
.site-pre-header { padding: 10px 0; font-size: 14px; text-transform: uppercase; background: #6BC4E8; color:#FFF; }
.site-pre-header a { color:#1A428A; }
.single-partner h1.blog-title, .page-template-template-partners figcaption h4 { text-transform: none; }
body.scroll .site-pre-header { display: none; }
.site-header { background: #cdced0 url("images/header-background.png") no-repeat center center; background-size: cover; padding:25px 0; }
.site-footer a { color: #4197CB; }
.site-footer a:hover, .site-pre-header a:hover { color: #FFFFFF; }
.grid-6.portfolio { margin-bottom:3%; }
.portfolio-items figure figcaption { opacity: 1; -moz-transform: translateY(0px); -ms-transform: translateY(0px); -webkit-transform: translateY(0px); transform: translateY(0px); transition: background 0.1s 0.3s; }
.partner-items figure figcaption { padding: 17px 20px; text-align: center; }    
.portfolio-items figure:hover figcaption, .partner-items figure:hover figcaption { background: #1A428A; }
.portfolio-items figure:hover figcaption .button, .partner-items figure:hover figcaption .button { background: #4197CB; }
.portfolio-items img { margin-bottom: 115px; }
.portfolio-items figure:hover img { -moz-transform: scale(1.5); -ms-transform: scale(1.5); -webkit-transform: scale(1.5); transform: scale(1.5); }
.site-pre-header .grid-6:nth-child(2), .site-pre-header .grid-4:nth-child(2) { text-align: right; }
.stag-social-icons.normal a { width: auto; height: auto; font-size: 30px; color: #1A428A; }
.entry-content, .comment-content, .page-header { max-width: 100%; }
.page-header span { max-width: 80%; }
.site-combined-header { position: fixed; z-index: 100; width:100%; border-bottom:2px #4197CB solid;}
.site-content {padding-top:225px; }
.wp-block-button__link { border-radius: 3px; }
div.wpforms-container-full .wpforms-form input[type=submit], div.wpforms-container-full .wpforms-form button[type=submit], div.wpforms-container-full .wpforms-form .wpforms-page-button { background-color: #1A428A; border: 1px solid #1A428A; color: #FFF; font-size: 1em; padding: 10px 15px; border-radius: 3px; font-weight: 400; text-transform: uppercase; }
input[type='submit'], button, .button { font-weight: 400; }
.wp-block-image figcaption { margin-top: 0; margin-bottom: 1em; padding:1em; color: #FFFFFF; background-color: #1A428A; font-size:16px; text-transform: uppercase; }
.wp-block-cover-image .wp-block-cover-image-text, .wp-block-cover-image .wp-block-cover-text, .wp-block-cover-image h2, .wp-block-cover .wp-block-cover-image-text, .wp-block-cover .wp-block-cover-text, .wp-block-cover h2 { font-size: 2em; max-width: 100%; text-shadow: 0px 0px 5px rgba(0,0,0,0.9); }
.wp-block-cover .wp-block-cover-text strong { font-size:1.5em; }
sup.reg { font-size: 60%; }
.entry-content ul.normal {list-style: disc; padding-left: 35px; }
.entry-content-wrapper .project-meta { text-transform: none; }
.mail-link .fa-envelope, .mail-link .fa { color:#4197CB; font-size:17px; margin:5px 15px 0 0; width:30px; }
.footer-widget-area .mail-link .fa-envelope, .footer-widget-area .mail-link .fa { display:none; }
.home .skill-our-banking-practices { display:none; }

@media screen and (max-width: 1200px) {
body { padding: 0; }
.inside, .site-content, .site-footer .site-info { max-width: 95%; }
.navbar li { margin-left: 0; }
.navbar a { padding: 10px; }
.navbar { font-size: 13px; }
}

@media screen and (max-width: 900px) {
	.site-branding img, .home .site-branding img { max-width:160px; margin-top: -50px; }
	.site-content {padding-top:180px; }
}

@media screen and (max-width: 767px) {
.site-pre-header .grid-6:nth-child(2), .site-footer .grid-6:nth-child(2), .site-pre-header .grid-4:nth-child(2) { text-align: left; }
.page-header span { max-width: 100%; }
	.site-content {padding-top:200px; }
}

/* 
Dark Blue: #1A428A
Mid Blue: #4197CB
Light Blue: #6BC4E8
*/
.postid-10702  .tribe-events-single-event-title { display:none; }
.tribe-event-featured .tribe-event-schedule-details { font-size:200%; font-weight:bold; }
.tribe-event-featured .tribe-events-read-more { padding:10px; background:#1a428a; display:inline-block; }
.post-type-archive-tribe_events .hentry::before, .post-type-archive-tribe_events .hentry::after, .post-type-archive-trive_events .page-header { display:none; }
.post-type-archive-tribe_events .hentry { margin-top:0; }
.wp-block-media-text .wp-block-media-text__content { padding: 0 8% 0 0; }
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background-color: #1A428A; }
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {    background-color: rgba(26, 66, 138,0.85); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #6BC4E8; }
.woocommerce-message { border-top-color: #1A428A; }
.woocommerce-message::before { color: #1A428A; }

.gallery:after {content:"";display:table;clear:both;}

img.aligncenter, div.aligncenter, figure.aligncenter, img.wp-post-image {display:block; margin:1em auto;}
img.alignright, div.alignright, figure.alignright {float:right; margin:1em 0 1em 2em;}
img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {float:left; margin:1em 1em 2em 0;}
figure {max-width: 100%; height: auto; margin:1em 0;}
p img.alignright, p img.alignleft {margin-top:0;}


.gallery figure img {max-width:100%; height:auto; margin:0 auto; display:block;}


.gallery figure {float:left; margin:0 2% 1em 0;}


.gallery.gallery-columns-1 figure {width:100%; margin:0 0 1em 0; float:none;}

.gallery.gallery-columns-2 figure {width:49.5%; float:none;}
.gallery.gallery-columns-2 figure:nth-of-type(2n+2) {margin-right:0;}
.gallery.gallery-columns-2 figure:nth-of-type(2n+3) {clear:left;}

.gallery.gallery-columns-3 figure {width:32%;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+3) {margin-right:0;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+4) {clear:left;}


.gallery.gallery-columns-2 figure {width:49%;}
.gallery.gallery-columns-2 figure:nth-of-type(even) {margin-right:0;}
.gallery.gallery-columns-2 figure:nth-of-type(odd) {clear:left;}


.gallery.gallery-columns-4 figure {width:23.25%;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+4) {margin-right:0;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+5) {clear:left;}


.gallery.gallery-columns-5 figure {width:18%;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+5) {margin-right:0;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+6) {clear:left;}


.gallery.gallery-columns-6 figure {width:14.2%;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+6) {margin-right:0;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+7) {clear:left;}


.gallery.gallery-columns-7 figure {width:12%;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+7) {margin-right:0;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+8) {clear:left;}


.gallery.gallery-columns-8 figure {width:10.2%;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+8) {margin-right:0;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+9) {clear:left;}


.gallery.gallery-columns-9 figure {width:8.85%;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+9) {margin-right:0;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+10) {clear:left;}

.calloutblock { background: #0ea0d7; color:#FFF;
  margin-bottom: 2rem;
    padding: 1rem 1.5rem; font-size:150%; }
.calloutblock li {
	display:inline-block; width:49.5%; text-align:center; padding:10px 0; margin:0;
}
.calloutblock li:nth-child(3n) {
	width:100%;
}
@media (max-width:767px) {
	img.alignright, div.alignright, figure.alignright, img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {display:block; margin:1em auto; float:none;}
.gallery figure { display:none; }
.gallery figure:first-child {width:100%; margin:0 0 1em 0; float:none; display:block; }
}