/* Created by The Ninja Web Design */

.responsive body
{
   min-width: 240px;
}
  
.responsive img 
{
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}  
  
.responsive .tpn-content-layout img,
.responsive .tpn-content-layout video
{
   max-width: 100%;
   height: auto !important;
}

.responsive.responsive-phone .tpn-content-layout img 
{
   margin: 1%;
}

.responsive.responsive-phone .tpn-collage,
.responsive.responsive-tablet .tpn-collage {
   margin: 0 !important;
}

.responsive .tpn-content-layout .tpn-sidebar0, 
.responsive .tpn-content-layout .tpn-sidebar1, 
.responsive .tpn-content-layout .tpn-sidebar2 
{
   width: auto !important;
}
    
.responsive .tpn-content-layout, 
.responsive .tpn-content-layout-row, 
.responsive .tpn-layout-cell 
{
   display: block;
}

.responsive .tpn-content-layout, 
.responsive .tpn-content-layout-row
{
   padding: 0;
}
    
.responsive .image-caption-wrapper 
{
   width: auto;
}

.responsive.responsive-tablet .tpn-vmenublock,
.responsive.responsive-tablet .tpn-block
{
   margin-left: 1%;
   margin-right: 1%;
/*   width: 48%;
   float: left; */
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.responsive .tpn-responsive-embed 
{
   height: 0;
   padding-bottom: 56.25%;
   /* 16:9 */
    position: relative;
}

.responsive .tpn-responsive-embed iframe,
.responsive .tpn-responsive-embed object,
.responsive .tpn-responsive-embed embed
{
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

.responsive .tpn-header 
{
   width: auto !important;
   max-width: none !important;
   min-height: 100px !important;
   min-width: 0 !important;
   text-align: center;
}

.default-responsive .tpn-header 
{
   height: auto;
}

.default-responsive .tpn-header *
{
   position: relative;
   text-align: center;
   -webkit-transform: none !important;
   -moz-transform: none !important;
   -o-transform: none !important;
   -ms-transform: none !important;
   transform: none !important;
}

.default-responsive .tpn-header .tpn-headline, 
.default-responsive .tpn-header .tpn-slogan 
{
   display: block !important;
   top: 0 !important;
   left: 0 !important;
   margin: 2% !important;
   text-align: center !important;
}
    
.default-responsive .tpn-header .tpn-headline a, 
.default-responsive .tpn-header .tpn-slogan 
{
   white-space: normal !important;
}

.default-responsive .tpn-header .tpn-logo
{
   display: inline-block;
   margin: auto !important;
   left: auto;
   top: auto !important;
   width: auto;
   height: auto;
}

.responsive .tpn-header .tpn-slidenavigator 
{
   position: absolute;
}

.default-responsive .tpn-header .tpn-positioncontrol 
{
   display: block !important;
   position: relative !important;
   top: auto !important;
   right: auto !important;
   bottom: auto !important;
   left: auto !important;
   margin: 2% auto !important;
   width: auto !important;
   height: auto !important;
}

.responsive .tpn-header #tpn-flash-area
{
   display: none;
}

/* Search and other elements in header element directly */
.default-responsive .tpn-header>.tpn-textblock
{
   position: relative !important;
   display: block !important;
   margin: 1% auto !important;
   width: 75% !important;
   top: auto !important;
   right: auto !important;
   bottom: auto !important;
   left: auto !important;
}

.default-responsive .tpn-header .tpn-textblock 
{
   position: relative !important;
   display: block !important;
   margin: auto !important;
   left: 0 !important;
   right: 0 !important;
   top: auto !important;
   height: auto !important;
   width: auto;
   background-image: none;
}

/* '.tpn-header *' used noram align, but for '.tpn-textblock *' we must force align because of preview */
.responsive .tpn-header .tpn-textblock *
{
   text-align: center !important;
}

.default-responsive .tpn-header .tpn-shapes > .tpn-textblock,
.default-responsive .tpn-header .tpn-slide-item > .tpn-textblock
{
   display: none !important;
}

.default-responsive .tpn-header .tpn-shapes > .tpn-textblock *
{
   text-align: center !important;
   width: auto !important;
   height: auto !important;
   display: block;
}

.default-responsive .tpn-header .tpn-slider .tpn-textblock *
{
   text-align: center !important;
   width: auto !important;
   height: auto !important;
   display: block;
}

/* For icons like facebook, rss, etc. */
.responsive .tpn-header>.tpn-textblock>div 
{
   width: 100%;
}
/* dynamic width nav */
.responsive nav.tpn-nav,
.responsive .tpn-nav-inner
{
   width: auto !important;
   position: relative !important;
   top: auto !important;
   left: auto !important;
   right: auto !important;
   bottom: auto !important;
   margin-top: 0;
   margin-bottom: 0;
   min-width: 0;
   text-align: left !important;
}

.responsive nav.tpn-nav
{
   min-width: 1%;
}

.responsive .tpn-nav 
{
   padding-left: 0;
   padding-right: 0;
   margin-top: 20px;
}

/* full width hmenu, instead of inline-block */
.responsive .tpn-nav ul.tpn-hmenu 
{
   float: none;
   text-align: center;
   display: none;
}

/* elements on different lines */
.responsive .tpn-nav ul.tpn-hmenu li,
.responsive .tpn-hmenu-extra1,
.responsive .tpn-hmenu-extra2
{
   float: none;
}
  
/* horizontal margins */
.responsive .tpn-nav ul.tpn-hmenu>li:first-child, 
.responsive .tpn-nav ul.tpn-hmenu>li:last-child, 
.responsive .tpn-nav ul.tpn-hmenu>li
{
   margin-left: 0;
   margin-right: 0;
}
 
/* separator */ 
.responsive .tpn-nav ul.tpn-hmenu>li:before
{
   display: none;
}

/* vertical distance between items */
.responsive .tpn-nav ul.tpn-hmenu a
{
   margin-top: 1px !important;
   margin-bottom: 1px !important;
   height: auto;
   white-space: normal;
}

.responsive .tpn-nav ul.tpn-hmenu>li:first-child>a
{
   margin-top: 0 !important;
}

.responsive .tpn-nav ul.tpn-hmenu>li:last-child>a
{
   margin-bottom: 0 !important;
}

/* fixes for extended menu */
.responsive .tpn-nav .ext, 
.responsive .tpn-nav ul.tpn-hmenu>li>ul, 
.responsive .tpn-nav ul.tpn-hmenu>li>ul>li,
.responsive .tpn-nav ul.tpn-hmenu>li>ul>li a
{
   width: auto !important;
}

/* submenu position on hover */
.responsive .tpn-nav ul.tpn-hmenu ul
{
   left: auto !important;
   right: auto !important;
   top: auto !important;
   bottom: auto !important;
   display: none !important;
   position: relative !important;
   visibility: visible !important;
}

.responsive .tpn-nav ul.tpn-hmenu li.active>ul
{
   display: block !important;
}
.responsive .tpn-nav ul.tpn-hmenu ul li.active>a
{
   font-weight: bold;
}

.tpn-nav .tpn-menu-btn 
{
   border: 1px solid #404040;
   border-radius: 3px;
   box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
   display: none;
   -svg-background: linear-gradient(to bottom, #707070 0, #000 100%);
   background: -ms-linear-gradient(top, #707070 0, #000 100%);
   background: -moz-linear-gradient(top, #707070 0, #000 100%);
   background: -o-linear-gradient(top, #707070 0, #000 100%);
   background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #707070), color-stop(1, #000));
   background: -webkit-linear-gradient(top, #707070 0, #000 100%);
   background: linear-gradient(to bottom, #707070 0, #000 100%);
   margin: 3px;
   outline: none;
   padding: 5px;
   position: relative;
   vertical-align: bottom;
   width: 60px;
   text-decoration:none;
}

.menu-text{text-decoration:none;color:#FFFFFF;font-size:18px;}

.tpn-nav .tpn-menu-btn span 
{
   background: #E0E0E0;
   border-radius: 2px;
   display: block;
   height: 3px;
   margin: 3px 1px;
   position: relative;
   -moz-transition: background .2s;
   -o-transition: background .2s;
   -webkit-transition: background .2s;
   transition: background .2s;
}

.tpn-nav .tpn-menu-btn:hover span
{
   background: #f3f3f3;
}

.responsive .tpn-nav .tpn-menu-btn 
{
   display: inline-block;
}

.responsive .tpn-nav .tpn-hmenu.visible 
{
   display: block;
}

.responsive .tpn-nav ul.tpn-hmenu>li>ul>li:first-child:after 
{
   display: none;
}
.responsive .tpn-nav ul.tpn-hmenu ul a
{
   padding-left: 4% !important;
}
.responsive .tpn-nav ul.tpn-hmenu ul ul a
{
   padding-left: 6% !important;
}
.responsive .tpn-nav ul.tpn-hmenu ul ul ul a
{
   padding-left: 8% !important;
}
.responsive .tpn-nav ul.tpn-hmenu ul ul ul ul a
{
   padding-left: 10% !important;
}
.responsive .tpn-nav ul.tpn-hmenu ul ul ul ul ul a
{
   padding-left: 12% !important;
}
  
.responsive .tpn-nav ul.tpn-hmenu>li>ul
{
   padding: 5px;
}
  
.responsive .tpn-nav ul.tpn-hmenu>li>ul:before
{
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
}

.responsive .tpn-sheet
{
   width: auto !important;
   min-width: 240px !important;
   max-width: none !important;
   margin-right: 1% !important;
   margin-left: 1% !important;
   margin-top: 1% !important;
}

#tpn-resp {
   display: none;
}

@media all and (max-width: 768px)
{
    #tpn-resp, #tpn-resp-t { display: block; }
    #tpn-resp-m { display: none; }
	.top-logo, .top-links{display:block;width:100%;text-align:center;}
	#meteor-slideshow{margin-top:0px;}
	.socials, .search-bar{float:none;margin:0 auto;}
	form.tpn-search{margin:0 auto;max-width:350px;}
       table.resp td{width:100%;display:block;}
.home.page-template-default .top-links {
color: #000 !important;
}
.home.page-template-default .top-links a {
  color: #000 !important;
}		
}

@media all and (max-width: 480px)
{
    #tpn-resp, #tpn-resp-m { display: block; }
    #tpn-resp-t { display: none; }
	body.home h1.entry-title{background:none;}
     .top-links{font-size:13px;}
     .socials, .search-bar{margin:6px auto;}
}

@media (min-width: 480px) and (max-width:811px)
{
	body.home h1.entry-title{background:url(images/line-boat-categories2.png);
	background-position:center right;
background-repeat:no-repeat;}
}

#tpn-resp-desktop {
   display: none;
}
#tpn-resp-tablet-landscape {
   display: none;
}
#tpn-resp-tablet-portrait {
   display: none;
}
#tpn-resp-phone-landscape {
   display: none;
}
#tpn-resp-phone-portrait {
   display: none;
}

@media (min-width: 1200px)
{
    #tpn-resp-desktop { display: block; }
}

@media (min-width: 980px) and (max-width: 1199px)
{
    #tpn-resp-tablet-landscape { display: block; }
}

@media (min-width: 768px) and (max-width: 979px)
{
    #tpn-resp-tablet-portrait { display: block; }
}

@media (min-width: 480px) and (max-width: 767px)
{
    #tpn-resp-phone-landscape { display: block; }
}

@media (max-width: 479px)
{
    #tpn-resp-phone-portrait { display: block; }
}
.responsive .tpn-content-layout, 
.responsive .tpn-content-layout-row, 
.responsive .tpn-layout-cell 
{
   display: block;
}

.responsive .tpn-layout-cell 
{
   width: auto !important;
   height: auto !important;
}

.responsive .tpn-content-layout:after, 
.responsive .tpn-content-layout-row:after, 
.responsive .tpn-layout-cell:after 
{
   content: ".";
   display: block;
   height: 0;
   clear: both;
   visibility: hidden;
}

.responsive .responsive-tablet-layout-cell,
.responsive.responsive-tablet .tpn-footer .tpn-content-layout .tpn-layout-cell 
{
   margin: 1%;
   width: 98% !important;
   float: left;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.responsive .responsive-layout-row-2 .responsive-tablet-layout-cell,
.responsive.responsive-tablet .tpn-footer .tpn-content-layout .responsive-layout-row-2 .tpn-layout-cell
{
   width: 48% !important;
}

.responsive .responsive-layout-row-3 .responsive-tablet-layout-cell,
.responsive.responsive-tablet .tpn-footer .tpn-content-layout .responsive-layout-row-3 .tpn-layout-cell
{
   width: 31% !important;
}
.responsive .tpn-post
{
   border-radius: 0;
}

.responsive .tpn-footer-inner
{
   width: auto;
   padding: 2% !important;
   min-width: 0;
}

/* search resuts page table styles */

@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table#Skin_dgrdResults, table#Skin_dgrdResults thead,table#Skin_dgrdResults tbody, table#Skin_dgrdResults th, table#Skin_dgrdResults td, table#Skin_dgrdResults tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr.itemwith { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr.itemwith { border: 1px solid #108898; }
	
	tr.itemwith td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 55%; 
                min-height:20px;
                height:auto;
	}
	
	tr.itemwith td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 0px;
                bottom:0px;
		left: 0px;
		width: 35%; 
		padding: 10px; 
		white-space: nowrap;
                background: #07636f;
                color:#FFFFFF;
	}
	
	/*
	Label the data
	*/ 
        table.search-table tr.itemwith td:nth-of-type(1):before { content: ""; }
	table.search-table tr.itemwith td:nth-of-type(2):before { content: ""; }
	table.search-table tr.itemwith td:nth-of-type(3):before { content: "Luff"; }
	table.search-table tr.itemwith td:nth-of-type(4):before { content: "Leech"; }
	table.search-table tr.itemwith td:nth-of-type(5):before { content: "Foot"; }
	table.search-table tr.itemwith td:nth-of-type(6):before { content: "LP"; }
	table.search-table tr.itemwith td:nth-of-type(7):before { content: "SMW"; }
	table.search-table tr.itemwith td:nth-of-type(8):before { content: "Condition"; }
	table.search-table tr.itemwith td:nth-of-type(9):before { content: "Cloth Wt"; }
	table.search-table tr.itemwith td:nth-of-type(10):before { content: "Luff Style"; }
	table.search-table tr.itemwith td:nth-of-type(11):before { content: "Foot Style"; }
        table.search-table tr.itemwith td:nth-of-type(12):before { content: "Sailmaker"; }
        table.search-table tr.itemwith td:nth-of-type(13):before { content: "Boat"; }
        table.search-table tr.itemwith td:nth-of-type(14):before { content: "Stock #"; }
        table.search-table tr.itemwith td:nth-of-type(15):before { content: "Price"; }
        table.search-table tr.itemwith td:nth-of-type(16):before { content: "Notes:";background:#FFFFFF;color:#07636f;font-weight:bold; }
        
        tr.header{display:none !important;}

        
        table.prod-table tr.itemwith td:nth-of-type(1):before { content: "Luff"; }
	table.prod-table tr.itemwith td:nth-of-type(2):before { content: "Leech"; }
	table.prod-table tr.itemwith td:nth-of-type(3):before { content: "Foot"; }
	table.prod-table tr.itemwith td:nth-of-type(4):before { content: "LP"; }
	table.prod-table tr.itemwith td:nth-of-type(5):before { content: "SMW"; }
	table.prod-table tr.itemwith td:nth-of-type(6):before { content: "Condition"; }
	table.prod-table tr.itemwith td:nth-of-type(7):before { content: "Cloth Wt"; }
	table.prod-table tr.itemwith td:nth-of-type(8):before { content: "Luff Style"; }
	table.prod-table tr.itemwith td:nth-of-type(9):before { content: "Foot Style"; }
        table.prod-table tr.itemwith td:nth-of-type(10):before { content: "Sailmaker"; }
        table.prod-table tr.itemwith td:nth-of-type(11):before { content: "Boat"; }

        table.resp-sails tr.itemwith td:nth-of-type(1):before { content: "SAIL RATING"; }
	table.resp-sails tr.itemwith td:nth-of-type(2):before { content: "Approx. Sail Life Expectany"; }
	table.resp-sails tr.itemwith td:nth-of-type(3):before { content: "Notes"; }

        table.resp-sails tr.itemwith td:before { padding:17px;}
        table.resp-sails tr.itemwith td { min-height:30px;height:auto;}
}

/*end search results styles */

.responsive ul.tpn-vmenu>li>ul
{
   padding: 0;
   display: none;
}

.responsive ul.tpn-vmenu>li>ul:before
{
   display: block;
   position: absolute;
   content: ' ';
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
}

.responsive ul.tpn-vmenu>li>ul.vmenu-resp-popup-visible 
{
   display: block;
}

.responsive ul.tpn-vmenu ul {
   position: relative;
   left: auto;
   top: auto;
   visibility: visible;
}

.responsive ul.tpn-vmenu ul ul a 
{
   padding-left: 54px;
}

.responsive ul.tpn-vmenu ul ul ul a 
{
   padding-left: 81px;
}

.responsive ul.tpn-vmenu ul ul ul ul a 
{
   padding-left: 108px;
}

.responsive ul.tpn-vmenu ul ul ul ul ul a 
{
   padding-left: 135px;
}