/* ---------------------------------------------------------------------------------------------------- */
/* --- San Antonio Website Design & Development - Backyard Studios ------------------------------------ */
/* --- www.backyardstudios.com ------------------------------------------------------------------------ */
/* ---------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------- */

/* @media(max-width: 1199px) {
ul.feat-container.col4 li {
	width: 50%;
}	  
} */
@media only screen and (max-width: 768px),
(-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi),
(max-width: 980px) and (orientation : landscape) {
form {
    padding: 30px;
}
.hideTablet {
	display:none;
}
.showTablet {
	display:block;
}
.mobileBtn {
	display:block;
}
.hideItem {
    display: block;
}	
#mainNav {
	display:none;
}	
#formArea form {
padding: 30px;
}
#calloutArea .btnsArea {
    display: block;
    text-align: center;
}
#calloutArea .btnsArea li {
    float: none;
    display: inline-block;
}
}
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {

}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {


}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {

}
@media only screen and (max-width:820px), (max-device-width:820px) and (-webkit-min-device-pixel-ratio:1) {
        .slideBox {
        top: 170px;
    }
    #cardArea ul.basicList li:first-child, #cardArea ul.basicList li:nth-child(3n) {
        padding-right: 160px;
    }
    #cardArea ul.basicList li:nth-child(2), #cardArea ul.basicList li:nth-child(4n) {
        padding-left:  160px;
    }
    ul.testList {
        display: flex;
        flex-direction: column;
    }
    ul.testList li {
        width: 98%;
    }
	ul.photoList.col4 li {
        width: 33.333%;
    }
    #calloutArea .btnMain {
    font-size: 18px;
    line-height: 18px;
}
}
@media only screen and (max-width:800px), (max-device-width:800px) and (-webkit-min-device-pixel-ratio:1) {
.hideTablet {
	display:none;
}
.showTablet {
	display:block;
}
.mobileBtn {
	display:block;
} 
#pageMenu {
    padding-left: 0px;
    padding-right: 0px;
}
#pageMenu ul.feat-container.col4 li {
    width: 49%;
}
ul.feat-container.col2 li {
    width: 100%;
}
ul.basicList.col4 li {
    width: 48%;
}
ul.basicList.col3 li {
    width: 48.5%;
}
#highlightArea ul.basicList {
    flex-direction: column;
    row-gap: 70px;
}
#highlightArea ul.basicList li .content {
    margin-top: 20px;
    padding: 15px 0 0;
}
#highlightArea ul.basicList li {
    width: 100%;
    border-left: unset;
}
h3.main-title {
    position: relative;
}
#highlightArea h3.main-title:before {
    position: absolute;
    left: 0;
    top: 50%;
}
#highlightArea h3.main-title:after {
    position: absolute;
    right: 0;
    top: 50%;
}
#calloutAreaFt .container {
    max-width: 96%;
}
#calloutArea .container-fluid > .row {
    align-items: center;
    background-color: #1f344c;
}
#formArea .content {
    margin: 0 0 0 0px;
}
ul.basicList.col1 > li {
    margin: 15px 0%;
    padding: 5px 0px;
}
#formArea .intro,
#faqArea .intro,
#imgContent .wrapper.left .main-title {
    margin-bottom: 25px;
}
#imgContent .wrapper.left .subtitle, 
#imgContent .wrapper.left .main-title {
    text-align: center;
}
.order-1 #imgContent .wrapper.right {
    padding-top: 0px;
}
#mainNav {
	display:none;
}
#logoArea.down.clone .logoImg a img {
    max-height: 76px;
}	
#formArea .bgrdColor1,
.mainContent {
    padding: 65px 0;
}	
#sliderArea .overlay .intro {
    padding-top: 30px;
}	
#sliderArea .overlay .subtitle {
    font-size: 148px;
    line-height: 143px;
}	
#featContent .intro .content {
    margin: 40px;
}	
#featContent .col-lg-3 {
    padding: 50px 3% 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
#featContent .col-lg-3.order-1 { 
	-ms-flex-order: 2;
    order: 2;}
#featContent .col-lg-6.order-2 {
    -ms-flex-order: 1;
    order: 1;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%; }
#calloutAreaFt .container {
    max-width: 600px;
}	
#calloutAreaFt .col-md-5, #calloutAreaFt .col-md-7 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
#calloutAreaFt .vertLeft {
    text-align: center;
}
#calloutAreaFt .bgrdImage {
    padding: 45px 10% 15px;
}
.home li.news3 {
    display: none;
}
.home ul.blogList.col3 li {
    width: 47%;
}	
#testimonial .content {
    font-size: 21px;
    line-height: 30px;
    padding: 0 6%;
}
#copyrightContent {
    padding-top: 0;
}
#colThird.col-lg-3 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
#colFirst.col-lg-3, #colSecond.col-lg-3 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}	
#footerArea .container {
    padding: 0 5%;
}	
#faqArea #questions {
    padding-top: 0px;
}
#imgContent h3.main-title {
    padding-bottom: 10px;
}
    ul.feat-container li a span.overContent h4 {
        font-size: 24px;
        line-height: 24px;
    }
}
@media only screen and (max-width: 768px),
screen and (max-device-width: 768px) 
  and (-webkit-min-device-pixel-ratio: 1){
     .slideBox {
        top: 270px;
        left: 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.4);
        padding: 20px;
    }  
    ul.photoList.col4 li {
        width: 50%;
    }
}
@media only screen and (max-width: 760px),
screen and (max-device-width: 760px) 
  and (-webkit-min-device-pixel-ratio: 1){
/*
      #calloutArea .col-md-3 .ltText {
          text-align: center;
      }
*/
}
@media only screen and (max-width: 700px),
screen and (max-device-width: 700px) 
  and (-webkit-min-device-pixel-ratio: 1){
       .slideBox {
        left: 100px;
    }
      ul.feat-container.col4 {
          display: flex;
          flex-direction: column;
          align-items: center;
      }
      ul.feat-container.col4 li {
          width: 80%;
      }
      ul.feat-container.col4 li a:hover {
          transform: unset;
      }
      ul.feat-container.col4 li:not(:last-child) {
          margin-bottom: 36px;
      }
}
@media only screen and (max-width: 640px),
screen and (max-device-width: 640px) 
  and (-webkit-min-device-pixel-ratio: 1){
body {
    font-size: 18px;
    line-height: 29px;
}
#calloutAreaFt {
    padding: 60px 0;
}
#imgContent .container.bgContainer .content {
    margin: 0 0% 20px;
}
#calloutArea .smallBoth {
    justify-content: center;
}
#calloutArea .offset-lg-5 {
    margin-left: 0;
}
#calloutArea .smallBoth .col-lg-7 {
    -ms-flex: 0 0 85%;
    flex: 0 0 85%;
    max-width: 85%;
}
h3.main-title {
    font-size: 26px;
    line-height: 30px;
}	
.slideBox {
    left: 80px;
}     
.btnMain {
    padding: 12px 17px 12px;
    font-size: 14px;
    line-height: 14px;
}	 
#menuList .catTitle {
    font-size: 23px;
    line-height: 23px;
}
.logoDivider span:after {
	display: none;
}
.logoDivider {
    margin-bottom: 40px;
}
.logoDivider span img {
    padding: 0;
    max-width: 320px;
}	  
#sliderArea .overlay .subtitle {
    font-size: 113px;
    line-height: 94px;
} 
#sliderArea .overlay .intro {
    padding-top: 50px;
}
#sliderArea .btnMain {
    font-size: 17px !important;
    line-height: 18px !important;
    padding: 12px 19px 9px !important;
}
ul.feat-container.col3 li {
    width: 46%;
}	  
#mainContent .intro h3.main-title:before, #featuredArea .intro h3.main-title:before,
#mainContent .intro h3.main-title:after, #featuredArea .intro h3.main-title:after {
    width: auto;
    background-size: contain;
}	
#calloutAreaFt .vertLeft,
#calloutAreaFt .vertRight {
    text-align: center;
}	
#calloutAreaFt .vertRight .inner{
    padding-top: 30px;
}	  
#menuList h3.catTitle:before {
    background-position: left center;
    height: 16px;
    width: 66px;
    left: -77px;
    top: 2px;
}	  
#menuList h3.catTitle:after {
    background-position: right center;
    height: 16px;
    width: 66px;
    right: -77px;
    top: 2px;
}
#menuList .catDesc {
    font-size: 18px;
    line-height: 22px;
}	
#menuArea article ul.col2 li {
    width: 49%;
}	
#menuArea article ul.col2 li:nth-child(even) {
    padding-left: 40px;
}
#menuArea article ul.col2 li:nth-last-child(1):nth-child(odd) {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
}	

#menuArea article ul.col3 li {
    width: 48%;
}	

#menuArea article ul.col3 li:nth-child(3n) {
    padding-left: 0;
}	  
#menuArea article ul.col3 li:first-child, #menuArea article ul.col3 li:nth-child(even) {
    padding-right: 0;
}	  
#menuArea article ul.col3 li:nth-child(odd) {
    padding-left: 20px;
}	  
#testimonial h6 {
    margin-top: 5px;
    font-size: 21px;
    line-height: 21px;
}	  
#copyrightContent {
    text-align: center;
    padding: 0 12%;
}	  
.ftCopy {
    font-size: 23px;
    line-height: 23px;
}	  
}
@media only screen and (max-width: 600px),
screen and (max-device-width: 600px) 
  and (-webkit-min-device-pixel-ratio: 1) {
#imgContent img {
    max-width: 450px;
}	
#calloutArea .introContent {
    padding: 20px;
}
#testimonial h3.main-title {
    font-size: 32px;
    line-height: 32px;
}
#menuList .itemName {
    font-size: 18px;
    line-height: 24px;
}	  
#menuList h3.catTitle:after {
    display: none;
}	  
#menuList h3.catTitle:before {
	background-image: url(/wp-content/themes/Backyard/_images/gfx-line-top.webp);	
    background-position: center;
    height: 19px;
    width: 193px;
    left: 0;
    right: 0;
    top: -10px;
}
#menuList .catTitle {
    font-size: 26px;
    line-height: 26px;
    padding-top: 40px;
}	  
.ftLogo a img,
.widget_media_image img {
    max-width: 240px!important;
}
      ul.testList li {
          padding: 24px;
      }
      #testimonial .content p {
          font-size: 21px;
          
      }
      
ul.team-container.col3 li {
  width: 66%; }

    #cardArea ul.basicList li:first-child, #cardArea ul.basicList li:nth-child(3n) {
        padding-right: 60px;
    }
    #cardArea ul.basicList li:nth-child(2), #cardArea ul.basicList li:nth-child(4n) {
        padding-left:  60px;
    }
}

@media(max-width: 991px) {
    #cityArea {
        padding: 30px 0;
    }
	#highlightArea .basicList {
		display: initial;
	}
	#imgContent .col.left {
		margin-bottom: 25px;
	}
	#imgContent .col.right,
	#imgContent .col.left {
		flex: none !important;
		max-width: 100% !important;
	}
	#highlightArea ul.basicList,
	#highlightArea:not(.legacy) ul.basicList {
		display: block;
		justify-content: initial;
	}
	#highlightArea ul.basicList li,
	#highlightArea:not(.legacy) ul.basicList li,
	#highlightArea:not(.legacy) ul.basicList.col3 li {
		flex: initial;
		max-width: initial;
		width: initial;
		display: block;
		margin-bottom: 50px;
	}
	#highlightArea:not(.legacy) ul.basicList li:last-child,
	#highlightArea ul.basicList li:last-child {
        margin-bottom: 0;
    }
	#featuredArea img {
		width: 100%;
		margin-bottom: 20px;
	}
	ul.feat-container li a span.overContent h4 {
		font-size: 22px;
		line-height: 1.2;
	}
}
