/*
Theme Name:     Tom Spina Designs
Theme URI:
Description:    Velocity Child theme
Author:         damojo
Author URI:
Template:       velocity
Version:        1
*/


 .woocommerce .related ul.products li.product {
    width: 22% !important;
}

.fancybox-overlay {
    z-index: 10000001;
    
}

.fancybox-opened {
    z-index: 10000002;
}

.tsd-bold a {

	font-weight:700!important;
	text-transform: uppercase;
	line-height:13px!important;
}

.tsd-content {
    padding-top: 20px !important;
    padding-right: 50px !important;
    padding-bottom: 20px !important;
    padding-left: 50px !important;
    background-color: #f5f5f5 !important;
}

.tsd-gallery-item-2-5 {
    position: relative;
    width: 250px; 
    height:250px; 
    overflow: hidden;
}

.tsd-gallery-item-2-5:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.blogpost h2 {
    padding-left: 0px!important;
}

.blogpost .postinfo {
    padding-left: 0px!important;
}

h2 {
    font-size: 14px;
    line-height: 19px;
    font-weight: 600;
}

.tsd-category-gallery-container {
    margin:5px;
}

.tsd-category-gallery {
    width:133px;
}

.tsd-category-gallery-well {
    width:300px;
    margin:auto;
}

.tsd-category-gallery-featured {
    width:133px;
}

.tsd-category-gallery-well-featured {
    width:300px;
    margin:auto;
}

.full-width-background {
    margin-left: -20px;
    margin-right: -20px;
}

.tsd-category-select-ul {
    margin: 0px;
}

.tsd-category-select-ul li {
    line-height: 40px;
}


.stay-visible {
    display: block!important;
}

@media only screen and (min-width : 320px) and (max-width : 478px) {
    
.tsd-featured-item {
    display: inline-block!important;
    width: 50%!important;
}    

.gallery-test img {
        width: 115px;
    }
    
    .tsd-gallery-item-2-5 {
    position: relative;
    width: 115px; 
    height:115px; 
    overflow: hidden;
}
    
     .headertopwrap {
        display: none;
    }
    
    .tsd-gallery-item-2-5 img {
        width: 120px;
    }
    
    .text-center {
    text-align: center!important;
}
    
}

@media only screen and (min-width : 480px) and (max-width : 667px) {

.tsd-featured-item {
    width: 33%!important;
    display: inline-block!important;
}      

.tsd-gallery-item-2-5 {
    position: relative;
    width: 115px; 
    height:115px; 
    overflow: hidden;
}
    .text-center {
    text-align: center!important;
}
    
    .gallery-test img {
        width: 115px;
    }
    
    .tsd-gallery-item-2-5 img {
        width: 120px;
    }
    
    .headertopwrap {
        display: none;
    }
    
    .tsd-category-gallery {
    width:136px;
    }

    .tsd-category-gallery-well {
        width:440px;
        margin:auto;
    }
    
    .tsd-category-gallery-well-featured {
    width:430px;
    margin:auto;
}
    
    
}

@media only screen and (min-width : 668px) and (max-width : 991px) {
    
.tsd-featured-item {
    width: 33%!important;
    display: inline-block!important;
}     
    
.stay-visible {
        margin: 5px!important;
    }
    
    .tsd-category-gallery-featured {
        width:150px;
    }
    
    .tsd-category-gallery-well-featured {
        width: 480px;
        margin: auto;
    }
    
    .tsd-category-gallery {
    width:145px;
    }

    .tsd-category-gallery-well {
        width:630px;
        margin:auto;
    }
    
    .tsd-category-select-ul li {
        line-height: 40px;
        font-size: 12px;
}
}

@media only screen and (min-width : 992px) and (max-width : 1199px) {
    .tsd-category-gallery {
    width:175px;
    }

    .tsd-category-gallery-well {
        width:930px;
        margin:auto;
    }
    
    .tsd-category-gallery-featured {
        width:145px;
    }
    
    .tsd-category-gallery-well-featured {
        width: 930px;
        margin: auto;
    }
    
    .tsd-category-select-ul li {
        line-height: 40px;
        font-size: 12px;
}
}

@media only screen and (min-width : 1200px) {
    .tsd-category-gallery {
    width:175px;
    }

    .tsd-category-gallery-well {
        width:975px;
        margin:auto;
    }
    
    
    .tsd-category-gallery-featured {
        width:160px;
    }
    
    .tsd-category-gallery-well-featured {
        width: 1020px;
        margin: auto;
    }
    
    .tsd-category-select-ul li {
        line-height: 40px;
        font-size: 12px;
}
    
    .tsd-category-gallery-container {
    margin:10px;
}
    
}

@media only screen and (max-width: 767px) and (min-width: 0px) {
    .tsd-featured-item {
    width: 33%;
    display: inline-block!important;
}    

    .headertopwrap {
        display: none;
    }
    
     .woocommerce .related ul.products li.product {
    width: 46% !important;
}
    
    .featured-item-content {
        visibility: hidden;
    }
    
}

.text-center {
    text-align: center;
}

.margin-40 {
    margin-bottom: 40px;
}

.word p {
    text-align:left!important;
}

.content-block { 
    border:1px solid #eee; 
    padding:3px;
    background:#ccc;
    max-width:250px;
    float:right; 
    text-align:center;
}
.content-block:after { 
    clear:both;
} 
.blue-button { 
	background-color:#4cadc9;
	display:inline-block;
	cursor:pointer;
	color:#ffffff!important;
	padding:6px 24px;
	text-decoration:none;
}

.blue-button a {
    color:#ffffff!important;
}

.red-button {
	background-color:#bc3315;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #942911;
	display:inline-block;
	cursor:pointer;
	color:#ffffff!important;
	padding:6px 24px;
	text-decoration:none;
}

.red-button a {
    color:#ffffff!important;
}

.social li a {
    width:47px!important;
}

.social .s_icon {
    width: 47px!important;
}

input[type="number"] {
    padding: 4px 6px!important;
}