/*
Theme Name: Twenty Twenty Child
Theme URL: http://mastermedia1.com/
Description: Twenty Twenty Child Theme
Author: Christopher Wayne
Author URL: http://mastermedia1.com/
Template: twentytwenty
Version: 1.0.0
Text Domain: twentytwenty-child
*/

/* Custom CSS goes after this line */

@import url(fonts/fonts.css);

@media (min-width:1441px) {
    .section-inner {
        width: calc(100% - 27rem);
    }

    .header-inner {
        max-width: 165rem;
    }
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    font-family: sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.6;
    color: #353131;
    background-color: #fef9ee;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
    overflow-x: hidden;
    letter-spacing: 0.27px;
}

p, 
.entry-content {
	font-family: sans-serif;
}

a,
a:hover {
    text-decoration: none;
}

h2 {
	font-weight: 100;
	text-transform: uppercase;
}

h3 {
	font-family: sans-serif;
	font-weight: 200;
	text-transform: uppercase;
}

.site-logo a {
    font-size: 0;
    width: 100%;
    max-width: 205px;
}

.site-logo a img {
    display: inline-block;
    vertical-align: top;
}

.site-logo a .logtext {
    display: inline-block;
    vertical-align: top;
    font-size: 20px;
    margin: 0;
    font-weight: 300;
    background-color: #033a52;
    color: #fff;
    width: 130px;
    margin-left: 1px;
    text-align: center;
    padding: 17px 5px;
    line-height: 1.2;
}

#site-header {
    background-color: #123a52;
/*    background-image: url(images/header-overlay.png);
    background-repeat: repeat-x;
    background-size: contain;
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    padding: 32px 0;*/
}

.header-inner {
	padding: 0;
}

ul.primary-menu {
    font-family: sans-serif;
    font-weight: 500;
    color: #ffffff;
    font-size: 1.8rem;
    flex-direction: row;
    align-items: baseline;
}

ul.primary-menu > li {
    margin: 0.8rem 0 0 3rem;
}

ul.primary-menu > li > a {
	font-family: sans-serif;
	text-transform: uppercase;
    padding-top: 25px;
    padding-bottom: 25px;
}

body:not(.overlay-header) ul.primary-menu > li.menu-btn > a {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: -1.1px 7.9px 13px 0 rgba(77, 63, 53, 0.31);
    -moz-box-shadow: -1.1px 7.9px 13px 0 rgba(77, 63, 53, 0.31);
    box-shadow: -1.1px 7.9px 13px 0 rgba(77, 63, 53, 0.31);
    background-color: #e2c34d;
    padding: 14px 25px;
    color: #000000;
    /*    border-bottom: 15px solid #e2cfb7;*/
}

ul.primary-menu a:hover,
ul.primary-menu a:focus,
ul.primary-menu .current_page_ancestor {
    text-decoration: none;
}

.primary-menu ul {
	padding: 0;
    background: #cea03b;
    border-radius: 0;
    top: 85%;
}

.primary-menu li.menu-item-has-children:hover > ul {
    right: auto;
    left: 0;
}

.primary-menu ul::before,
.primary-menu ul::after {
    content: none;
}

.primary-menu ul a {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #d8b362;
}

.primary-menu ul li:last-child > a {
    border-bottom: none;
}

.primary-menu ul a:hover {
    background-color: #c69941;
}

.page.template-full-width .post-inner,
.single article.post {
    max-width: 120rem;
    margin: 0 auto;
}

#homepageslider {
    border-bottom: 15px solid #e2cfb7;
}

#homepageslider .item {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

#homepageslider .owl-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
}

#homepageslider.owl-carousel button.owl-dot {
    position: relative;
    width: 12px;
    height: 11px;
    border: 1px solid #f5f5f5;
    padding: 3px !important;
    margin: 0 10px;
}

#homepageslider.owl-carousel button.owl-dot.active > span {
    position: absolute;
    top: 1px;
    left: 1px;
    display: inline-block;
    width: 8px;
    height: 7px;
    background-color: #f5f5f5;
}

.welcome-block {
    padding: 97px 0 102px 0;
    max-width: 1150px;
    margin: 0 auto;
}

.welcome-block h2 {
    font-family: sans-serif;
    font-size: 40px;
	font-weight: 100;
    text-align: center;
	text-transform: uppercase;
    color: #033a52;
    margin: 0 0 51px 0;
    padding: 0;
}

.welcome-block .content {
    font-family: sans-serif;
    font-size: 20px;
    line-height: 2;
    text-align: center;
    color: #6d6d6d;
}
.post-inner {
    padding-top: 0;
}
.featured-project-blk {
   
    margin: auto;
        padding: 0 0 32px 0;
}
.featured-project-blk .section-inner{
    display: block;
    width: 100%;
}
.featured-project-blk h2 {
    font-family: sans-serif;
    font-size: 40px;
	font-weight: 100;
    text-align: center;
	text-transform: uppercase;
    color: #033a52;
    margin: 0 0 52px 0;
}
.featured-project-blk .featured-image{
       max-width: 800px;
    float: left;
    margin: 0 49px 51px 0;
}
.featured-project-blk .featured-image:nth-child(2n+1) {
    margin-right: 0;
}
.featured-project-blk .featured-image img {
	max-width: 100%;
    max-height: 368px;
}
footer#site-footer {
    background: #fef9ee;
    padding: 30px 0 0 0;
    font-size: 0;
        border-bottom: 13px solid #e2cfb7;
}
div#footer-block {
    width: 100%;
}
.copyright {
    font-family: sans-serif;
    font-size: 14px;
    text-align: center;
    color: #000000;
    margin-bottom: 38px!important;
}
.anglelist-icon {
    max-width: 150px;
    margin:0 auto 41px auto;
    width: 100%;
}
.social-links ul {
    list-style: none;
    margin: 0 0 98px 0;
    font-size: 0;
    text-align: center;
}
.social-links ul li{
    margin: 0 21px 0 0;
    max-width: 39px;
    display: inline-block;
}
.social-links ul li:last-child{
    margin-right: 0;
}
.fa-facebook,
.fa-instagram,
.fa-houzz {
	color: #BF9E7E;
	font-size: 40px;
}
.featured-project-blk {
	padding: 0 30px 32px 30px; 
}
.featured-project-blk .featured-image{
	max-width: 700px;
	float: left;
	margin: 0 2% 2% 0;
	width: 49%;
	max-height: 412px;
}
.contact-blk .left {
    width: 50%;
    float: left;
    padding: 60px;
}
.contact-blk .left h2{
    margin: 0 0 1em 0;
}
.contact-blk .right {
    width: 50%;
    float: right;
     padding: 60px;
}
.entry-header, .singular .entry-header {
    padding: 0;
    background-size: cover;
    background-repeat: no-repeat;
	background-position: center center;
}
.singular .featured-media-inner {
	left: auto;
}
.singular .featured-media::before{
    background: transparent;
}
.singular .featured-media{
    margin-bottom: 30px;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search .tribe-events-header__events-bar{
        padding: 10px;
}
a{
    color: #033a52;
}
.blog-item{
    background-color: #fff;
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .2);
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);
    padding: 25px;
    margin-bottom: 50px;
    min-height: 240px;
    position: relative;
    text-align: center;
}
.blog-block-wrap {
    width: 50%;
    float: left;
    padding: 0 15px;
}
.blog-post {
    position: relative;
    display: inline-block;
    padding: 50px 0;
    width: 100%;
}
.post-cat.pink {
    margin-bottom: 20px;
}
.entry-title {
	margin-top: 20px !important;
    font-size: 62px;
    font-family: sans-serif !important;
	font-weight: 100 !important;
	text-transform: uppercase;
	text-align: center;
    color: #123a52;
}
.blog-item .post-image img{
	min-height: 300px;
    object-fit: cover;
    max-height: 300px;
}
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide){
        max-width: 92rem;
    width: 100%;
}

table,
tr,
td {
	border: none;
}
td {
	vertical-align: top;
}
.career {
    max-width: 50%!important;
    width: 100%!important;
}
.tribe-theme-twentytwenty .tribe-common .tribe-common-c-btn, .tribe-events .tribe-events-c-ical__link{
	background-color: #e2c34d!important;
    color: #000000!important;
	font-family: sans-serif;
	border-color:#e2c34d!important;
}
.tribe-events .tribe-events-c-ical__link:before{
	background-image:url('./images/more.png');
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day{
	min-height:120px!important;
}
.tribe-common .tribe-common-h5, .tribe-common .tribe-common-h6{
	font-family: sans-serif;
}

.home .entry-header {
    display: none;
}
.archive article {
    padding: 0!important;
}
.archive .post-inner {
    padding-top: 0;
        max-width: 1000px;
    margin: auto;
}
.archive .entry-content {
    padding-top: 20px;
}
.archive .featured-media img{
    width: 100%;
}
.archive h2{
    font-family: sans-serif;
}
.tribe-theme-twentytwenty .tribe-events .tribe-events-calendar-month__day-cell--selected {
    background-color: #033a52;
}
.tribe-events .datepicker .day.active, .tribe-events .datepicker .day.active.focused, .tribe-events .datepicker .day.active:focus, .tribe-events .datepicker .day.active:hover, .tribe-events .datepicker .month.active, .tribe-events .datepicker .month.active.focused, .tribe-events .datepicker .month.active:focus, .tribe-events .datepicker .month.active:hover, .tribe-events .datepicker .year.active, .tribe-events .datepicker .year.active.focused, .tribe-events .datepicker .year.active:focus, .tribe-events .datepicker .year.active:hover{
      background-color: #033a52;
}
.single-tribe_events header.entry-header{
	display:block;
}
.single #tribe-events-content {
    margin-top: 40px;
	margin-bottom:10px;
}
.single-tribe_events .tribe-events-single-event-title{
	margin:0;
}
.single-tribe_events .tribe-events-schedule h2{
	margin:0;
}
.single-tribe_events .tribe-events-schedule{
	margin-bottom:0;
}
.single-tribe_events #tribe-events-footer{
	margin-bottom:0;
	padding-top:0;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container{
	padding-bottom:60px;
	min-height:auto;
}
.popupaoc-image-popup img {
	margin: 0 auto;
}

@media(max-width:1315px){
    ul.primary-menu > li {
		margin: 10px 0 0 20px;
	}
}

@media(max-width:999px){
    span.toggle-icon {
		color: white;
		text-decoration: none;
		font-size: 30px;
		display: inline-block;
		padding: 0 0 35px 0;
	}
    .nav-toggle .toggle-icon, .nav-toggle svg{
        width: auto;
        height: auto;
    }
    .header-titles{
		width: 100%;
    }
    .header-inner .toggle{
        top: -30px;
        outline: 0;
    }
    .header-titles-wrapper{
        padding: 0;
    }
    button.close-nav-toggle{
        outline: 0;
    }
    .site-logo a img{
        max-height: 9rem;
    }
    .welcome-block {
		padding: 50px 0 62px 0;
    }
    .welcome-block h2{
        font-size: 32px;
		font-weight: 100;
        margin: 0 0 21px 0;
    }
    .featured-project-blk h2{
        font-size: 32px;
		font-weight: 100;
        margin: 0 0 32px 0;
    }
    .singular .entry-header, .entry-header{
        padding: 0;
    }
    h1.entry-title{
        font-size: 42px;
		font-weight: 100;
		text-transform: uppercase;
    }
    .post-inner  {
        padding: 30px;
    }
    .tribe-theme-twentytwenty .tribe-common{
        padding-top: 50px;
    }
    .tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container{
        padding-bottom: 60px;
    }
    .tribe-events .tribe-events-l-container{
        padding: 40px 20px;
        min-height: auto;
    }
    .tribe-events .tribe-events-c-ical__link {
		padding: 4px 12px;
		width: auto;
	}
    .tribe-events .tribe-events-c-ical{
        text-align: center;
    }
    .tribe-events .tribe-events-header{
        padding-bottom: 0;
    }
    .tribe-events .tribe-events-calendar-latest-past__event-row{
        margin: 10px 0!important;
    }
    .tribe-theme-twentytwenty .tribe-common .tribe-common-c-btn, .tribe-events .tribe-events-c-ical__link{
        width: auto;
		padding: 3px 14px;
 	   margin: auto;
  	  font-size: 12px;
    }
    .tribe-events .tribe-events-c-events-bar__search-form{
        text-align: center;
    }
    .tribe-events .tribe-events-c-search__input-control--keyword .tribe-events-c-search__input{
        line-height: 1;
    }
    .archive .section-inner{
        width: 100%;
    }
}

@media(max-width:700px){
	.career{
		max-width:100%!important;
	}
    .contact-blk .left {
		width: 100%;
		float: none;
		padding: 60px 60px 0 60px;
	}
    .contact-blk .right {
		width: 100%;
		float: none;
		padding: 60px 60px 0 60px;
	}
	table tr td {
		display: inline-block;
		width: 100% !important;
	}
}

@media(max-width:480px){
	.single #tribe-events-content{
		margin-top:0!important;
	}
    .tribe-theme-twentytwenty .tribe-common{
        padding: 0px 15px;
    }
    .contact-blk .left{
        padding: 30px;
    }
    .contact-blk .right{
        padding: 0 30px 30px 30px;
    }
    .blog-block-wrap{
        width: 100%;
        float: none;
    }
    .blog-item{
        margin-bottom: 30px;
    }
    #homepageslider .item{
        background-size: cover;
        height: 45vh;
    }
    .site-logo a .logtext{
        font-size: 17px;
        padding: 10px 5px;
        max-width: 128px;
    }
    .site-logo a img {
		max-height: 60px;
	}
    .welcome-block .content{
        font-size: 18px;
		line-height: 1.8;
    }
    .featured-project-blk .featured-image{
        width: 100%;
        float: none;
        margin: 0 0 20px 0;
    }
    .social-links ul{
        margin: 0 0 48px 0;
    }
    .anglelist-icon{
        margin: 0 auto 31px auto;
    }
    .featured-project-blk{
        padding-bottom: 15px;
    }
    .header-inner{
        padding: 0;
    }
    .tribe-theme-twentytwenty .tribe-common *{
        line-height: 3;
    }
    .singular .featured-media-inner{
            width: 100%;
    left: auto;
    }
    .featured-project-blk .featured-image img{
        height: 100%;
    }    
}

@media (min-width:1000px) and (max-width:1024px){
    .site-logo img{
        max-height: 70px;
    }
    .site-logo a .logtext{
        padding: 14px 5px;
        font-size: 18px;
    }
}

@media (max-width:1100px) { /* STYLES GO HERE */
	ul.primary-menu > li {
		margin: 10px 0 0 15px;
	}
}


.footerContainer {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap onto the next line */
  	justify-content: center;
	align-items: center;
}

.footerItem {
    max-width: 150px;
    flex: 1 1 150px; /* Grow, shrink, and set a base width */
    margin: 10px; /* Add some spacing */
    padding: 20px; /* Some inner spacing */
    box-sizing: border-box; /* Ensures padding is included in width */
}

@media (max-width: 600px) {
    .footerItem {
        flex: 1 1 100%; /* Make "150px" to "100%" for items full width on small screens */
    }
}
