@media only screen and (max-width: 1024px) {
	#wrapcontent{
		width:1048px;		/* iPad */
	}
}
@media only screen and (max-width: 665px) {
    /*#featured, */ #featured .slide:not(#buildACompany), #featured_nav, a#next, a#prev, .leftSlideGradient, .rightSlideGradient{
        display: none !important;
    }
	
	.banner {
		height: 169px !important;
	}
	.logo {
		top: 15px !important;
	}
	#loginContainer {
		top: -169px !important;
	}
    
    #featured .slide#buildACompany {
        display:block !important;
        text-align: left !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
    }
    
    .slide-content {
        margin-left: auto !important;
        margin-right: auto !important;
        position: relative !important;
        float: none !important;
    }
    
    .slide-content.top {
        width: 287px !important;
    }
    
    .latest {
        display: none !important;
    }
    
    #featured {
        width: auto !important;
        float: none !important;
    }
    
    .sliderCircles, .buildProcess, .buildProcessHover {
        display: none !important;
    }
    
    #build-a-doc-responsive-text {
        display: block !important;
        margin-top: 10px;
    }
	
	/* Join now page */
	#membershipMatrixTable .matrix {
		text-indent: 0em !important;
		padding: 0.5em 0 !important;
		background: none !important;
		height: auto !important;
	}
	#membershipMatrixTable .matrix sup {
		display: none !important;
	}
	#membershipMatrixTable .bottomLinks a span {
		display: none;
	}
	#membershipMatrixTable a {
		width: auto !important;
	}
}

@media only screen and (max-width: 665px) {
    .new-to-law {
        float: none !important;
        margin: 0 auto !important;
        text-align: left !important;
		margin-top: 30px !important;
        margin-bottom: 30px !important;
		display: none; /* Homepage v2 */
    }
	.homepage-wrap {
		display: block !important;
		padding: 40px 0px !important;
	}
	.h-doc-s, .h-bb-s, .h-acc-s, .h-log-s, .h-reg-s , .h-pri-s{

		display:inline-block;
		width:200px;
		height:200px;
		background:url(../art/homepage-icons.png) no-repeat;

		text-indent:-999em;
	}
	.h-doc-s {
		background:url(../art/homepage-icons.png) 0 0px;
	}
	.h-bb-s {
		background:url(../art/homepage-icons.png) -200px 0px;
	}
	.h-acc-s {
		background:url(../art/homepage-icons.png) -400px 0px;
	}
	.h-log-s {
		background:url(../art/homepage-icons.png) 0px -200px;
	}
	.h-reg-s{
		background:url(../art/homepage-icons.png) -200px -200px;
	}
	.h-pri-s{
		background:url(../art/homepage-icons.png) -400px -200px;
	}
	.h-doc-s:hover {
		background-position: 0px -400px;
	}
	.h-bb-s:hover {
		background-position: -200px -400px;
	}
	.h-acc-s:hover {
		background-position: -400px -400px;
	}
	.h-log-s:hover {
		background-position: 0px -600px;
	}
	.h-reg-s:hover {
		background-position: -200px -600px;
	}
	.h-pri-s:hover {
		background-position: -400px -600px;
	}
    .middle {
        height: 100% !important;
        width: 100% !important;
    }
    #container.sub p.latest-title {
        margin-top: 0px !important;
        padding-top: 0px !important;
    }
    .latestDISABLED { /* Homepage v2 DISBLED TODO */
        width: 100% !important;
        background: rgb(232,85,33) !important; /* Old browsers */
        background: -moz-linear-gradient(top,  rgba(232,85,33,1) 0%, rgba(248,154,60,1) 100%) !important; /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(232,85,33,1)), color-stop(100%,rgba(248,154,60,1))) !important; /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(232,85,33,1) 0%,rgba(248,154,60,1) 100%) !important; /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(232,85,33,1) 0%,rgba(248,154,60,1) 100%) !important; /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(232,85,33,1) 0%,rgba(248,154,60,1) 100%) !important; /* IE10+ */
        background: linear-gradient(to bottom,  rgba(232,85,33,1) 0%,rgba(248,154,60,1) 100%) !important; /* W3C */
        /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e85521', endColorstr='#f89a3c',GradientType=0 ) !important;*/ /* IE6-9 */
        text-align: center !important;
        text-align: left !important;
        margin: 0px auto 30px auto !important;
        float: none !important;
    }
    .latest #latest-inner {
        margin: 0px auto !important;
        padding: 18px 0 !important;
        width: 335px !important;
        height: auto !important;
        display:block !important;        
    }
    .home {
        overflow: hidden !important;
        text-align: center !important;

        background: rgb(253,253,253) !important; /* Old browsers */
        background: -moz-linear-gradient(top,  rgba(253,253,253,1) 21%, rgba(221,221,222,1) 100%) !important; /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(21%,rgba(253,253,253,1)), color-stop(100%,rgba(221,221,222,1))) !important; /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(253,253,253,1) 21%,rgba(221,221,222,1) 100%) !important; /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(253,253,253,1) 21%,rgba(221,221,222,1) 100%) !important; /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(253,253,253,1) 21%,rgba(221,221,222,1) 100%) !important; /* IE10+ */
        background: linear-gradient(to bottom,  rgba(253,253,253,1) 21%,rgba(221,221,222,1) 100%) !important; /* W3C */
        /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#ddddde',GradientType=0 ) !important;*/ /* IE6-9 */
		background: none !important; /* Homepage v2 DISBLED TODO */
    }
	#featured {
		display: none !important;
	}
}
@media only screen and (min-width: 665px) and (max-width: 1000px) {    
    .home {
        /*background: url(../art/homepage-responsive-background.png) !important;
        background-repeat: repeat-x !important;*/
		background: rgb(239,239,239) !important; /* Old browsers */
		background: -moz-linear-gradient(top,  rgba(239,239,239,1) 50%, rgba(250,250,250,1) 100%) !important; /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,rgba(239,239,239,1)), color-stop(100%,rgba(250,250,250,1))) !important; /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  rgba(239,239,239,1) 50%,rgba(250,250,250,1) 100%) !important; /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  rgba(239,239,239,1) 50%,rgba(250,250,250,1) 100%) !important; /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  rgba(239,239,239,1) 50%,rgba(250,250,250,1) 100%) !important; /* IE10+ */
		background: linear-gradient(to bottom,  rgba(239,239,239,1) 50%,rgba(250,250,250,1) 100%) !important; /* W3C */
		/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#fafafa',GradientType=0 ) !important;*/ /* IE6-9 */
		overflow-x: hidden !important;
    }
	.leftSlideGradient {
		display: block !important;
	}
	.rightSlideGradient {
		display: block !important;
	}
}
@media only screen and (min-width: 890px) and (max-width: 1000px) {
    .middle .new-to-law {
        /*margin: 6px 10px 6px 10px !important; Vertical align */
        margin: 12px 10px 0px 10px !important;
    }
}

@media only screen and (min-width: 665px) and (max-width: 890px) {
    .middle .new-to-law {
        /*margin: 6px 10px 6px 10px !important; Vertical align */
        margin-top: 12px;
    }
    .middle .new-to-law:last-child {
        display:none !important;
    }
}
/* End homepage and footer */
@media only screen and (min-width: 665px) and (max-width: 1000px) {
    .new-to-law {
        text-align: left !important;
        position: relative !important;
        height: 298px !important;
        display: inline-block !important;
        float: none !important;
    }
    .tagline {
        padding-top: 52px !important;
    }
    .middle {
        width: auto !important;
        text-align:center !important;
        height: auto !important;
        /*float:left;
        display: inline-block !important;*/
        position: relative !important;
    }
}



/* Document Info page */
@media only screen and (max-width: 450px) {
    .build-content  {
        text-align: center !important;
    }
    .build-content .text {
        margin: 0 auto !important;
        text-align: left !important;
        float: none !important;
    }
    .build-content p:nth-child(3) { /* Hide the paragraph break */
        display: none !important;
    }
    .build-button {
        position: static !important;
        margin: 20px auto !important;
        display: block !important;
        float: none !important;
    }
    .loginBanner #loginBannerName {
        display: none;
    }
}


@media only screen and (max-width: 890px) {
    /*.new-to-law {
        float: none !important;
        margin: 0 auto !important;
        text-align: left !important;
        margin-top: 30px !important;
    }*/
	/* Hide Membership image in "Membership" My Account tab */
	.membership-indicator {
		background: none !important;
	}
    .membership-indicator *:not(.compare) {
        display: none !important;
    }
	.membership-indicator .compare {
		text-indent: 0em !important;
		left: 2em !important;
		top: 0.5em !important;
		font-size: 1.2em !important;
		background: none !important;
	}
    
    #myaccount-mini-upgrade {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        margin: 20px 0 !important;
    }
    #myaccount-mini-upgrade  .upgrade {
        text-align: left !important;
        margin: 0 auto !important;
    }
}     

/*********** If we're not at the default size ************/
@media only screen and (max-width: 890px) {
    .services-wrap {
        width: 100% !important;
    }
}

@media only screen and (max-width: 630px)  {
	#siteLocationChanger {
		display: none !important;
	}
    #search {
		background: none !important;
		height: auto !important;
    }
	#searchform {
		display: none !important;
	}
	.search-top-links {
		width: 80% !important;
		text-align: center !important;
		white-space: normal !important;
		top: 40px !important;
	}
	.search-top-links a {
		white-space: nowrap !important;
	}
	.strength-indicator {
		display: none !important;
	}
}

@media only screen and (min-width: 200px) and (max-width: 650px)  {
    .build-img {
        display: none;
    }
    .build-button {
        position: absolute;
        right: 20px;
    }
    .action {
        position: fixed;
    }
    .right-col {
        display: none;
    }
    #footer {
        width:100%;
        overflow: hidden;
        height: 339px;
    }
    #content-account {
        height: 100% !important; 
        position: relative !important; /* Need this to dynamically adjust width */
        display: inline-block !important;
    }
    #content-carousel {
        width: 100% !important;
    }
    #content {
        overflow-x: hidden !important;
    }
    #content ul li {
        padding-bottom: 2px !important;
    }
    #content-nav ul li.active a {
        
    }
    /*#content-nav ul li a {
		border-radius: 6px !important; Disables tabs moving to a new line
    }*/
    #container.sub .child .left-col {
        box-sizing:border-box; /* Make the browser include the padding as part of the width of the element. Note: Old IE not supported */
        -moz-box-sizing:border-box;
        -webkit-box-sizing:border-box;
    }
    .build-content .text {
        margin-left: 20px !important;
    }
}

@media only screen and (max-width: 1000px)  {
    body {
        overflow-x: hidden;
    }
    #content {
        width: 100% !important;
    }
    .logo {
        padding-left: 15px;
    }
	.loginBanner.Right {
		display: none !important;
	}
    .right-col, #search, #loginContainer *, .button-orange, .logo {
        -webkit-transition: all 0.35s ease;
        -moz-transition: all 0.35s ease;
        -o-transition: all 0.35s ease;
        transition: all 0.35s ease;
    }
    .pagination {
        margin: auto;
    }
    .pagination li {
        margin:auto;
        text-align: center;
    }
    .action {
        position:absolute !important;
        width: 267px !important;
        right: 0 !important;
    }
    .left-col {
        width: 100%;
        margin-left:auto;
        margin-right:auto;
    }
    .right-col {
       /*opacity: 0; Works for CSS transitions */
       display: none;
    }
    #search {
        position: absolute !important;
        right: 10px; 
    }
    #nav {
        width: 100%;
        /*margin-left:auto;*/ /* CENTER NAV */
        /*margin-right:auto;*/ /* CENTER NAV */
        text-align: left;
        /*text-align: center;*/
        float:left;
        background: url("../art/navBar.png") repeat-x;
    }
    #container{
        width: 100% !important;
    }
    .inner-container {
        width:100% !important;
    }
    #container.sub .child .left-col {
        margin: 0 auto !important;
        padding: 30px 10px !important;
        float: none !important;
        width: 100% !important;
    }
	#container.sub .recommendedDocs {
		background:url(../art/recommendedDocs.png) no-repeat !important;
	}
	.recommendedDocs a.recommendedDocs, #content .recommendedDocs a.release {
		background:url(../art/recommendedDocs-bg.png) no-repeat !important;
		color: #333 !important;
	}
	.recommendedDocs a.release span {
		color: #2985C0 !important;
	}
    .banner-inner {
        width: 100% !important;
    }
    .latest {
        position: relative !important;
        z-index: 999 !important;
    }
    #featured {
		overflow: visible !important;
        margin: 0 auto !important;
        float: none !important;
    }
    #wrapcontent {
        width: 100% !important;
    }
    /*#featured,  #featured_nav, a#next, a#prev,*/ .middle .steps, .home .clear {
        display: none !important;
    }
    #container {
        background: none !important;
    }
    .loginBanner.Content {
        position: absolute !important;
        right: 0;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        overflow: hidden !important;
    }
    .loginBanner.Left {
        visibility: hidden;
    }
    .inner-container {
        min-height: 0 !important;
    }
    
    /* Mega menu start */
    .megamenu {
	    background-color: transparent !important;
        list-style: none;
        /*float:right !important;*/ /* CENTER NAV */
        /*position: relative;*/ /* CENTER NAV */
        float: left !important; /* CENTER NAV */
        display: block; /* CENTER NAV */
        /*left: 50%;*/ /* CENTER NAV */
        padding-left: 18px !important;
        height: inherit !important;
        overflow: hidden !important;
	}
    .megamenu li {
        /*position: relative; float: left; display: block; right: 50%;*/ /* CENTER NAV */
    }
    #nav .doclinks {
        display: none;
    }
    .drop-con {
        width: 100% !important;
    }
    .dc-a, .dc-b, .dc-c, .dc-d, .dc-e, .dc-f, .dc-g, .dc-h, .dc-i, .dc-j {
        display: none !important;
    }
    ul.megamenu div.mm-item-content {
        left: 0  !important;
        top: 48px !important;
    }
    .mm-content-base {
        border-radius: 0 !important;
    }
    .mm-js-shadow {
		top: 0 !important; /* Show the megamenu shadow but do not show a top shadow */
		padding: 10px 0 !important;
    }
    /* Mega menu end */
    
	.content-pad {
		overflow-x: hidden;
	}
	
    /* Footer start */
    #footer {
        background: none !important;
        height: 100% !important;
    }
    .inner-footer {
        background: rgb(54,54,54); /* Old browsers */
        background: -moz-linear-gradient(top,  rgba(54,54,54,1) 0%, rgba(84,84,84,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(54,54,54,1)), color-stop(100%,rgba(84,84,84,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(54,54,54,1) 0%,rgba(84,84,84,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(54,54,54,1) 0%,rgba(84,84,84,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(54,54,54,1) 0%,rgba(84,84,84,1) 100%); /* IE10+ */
        background: linear-gradient(to bottom,  rgba(54,54,54,1) 0%,rgba(84,84,84,1) 100%); /* W3C */
        /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#363636', endColorstr='#545454',GradientType=0 );*/ /* IE6-9 */
        height: 100% !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    p.lower-footer {
        position: relative !important;
        bottom: 0 !important;
        padding: 10px 10px 40px 10px !important; /* 50px for feedback icon */
        left: 0 !important;
    }
    #footer {
        width:100% !important;
        overflow: hidden;
        height: 339px;
    }
    .inner-footer {
        width:100% !important;
    }
    /* Footer end */
}

@media only screen and (min-width: 1000px) {
    .right-col, .action, #search , #loginContainer *, .button-orange {
        -webkit-transition: all 0.35s ease;
        -moz-transition: all 0.35s ease;
        -o-transition: all 0.35s ease;
        transition: all 0.35s ease;
    }/*
    .right-col *, #nav  *{
        -webkit-animation: slideIn;
        -webkit-animation-duration: 1s;
        -moz-animation: slideIn;
        -moz-animation-duration: 1s;
        animation: slideIn;
        animation-duration: 1s;
    }
    */
    .action {
        position:absolute;
    }
    .left-col {
        width:430px;
    }
    .right-col {
        display: block;
    }
    #search {
        position: relative;
    }
    #nav {
        width: 1000px;
    }
    #container.sub .inner-container {
        width: 1000px;
    }
    #container {
        width: 1024px;
    }
    #content {
        width:1000px;
    }
    #content.child{
        background: url("../art/sub-main-bg.gif") repeat-y scroll 0 24px transparent;
    }
    .banner-inner {
        width:1000px;
    }
    .inner-container {
        width:1000px;
    }
    #footer {
        width:1024px;
    }
    .inner-footer {
        width:1000px;
    }
}
@media only screen and (max-width: 1000px) {
	#nav {
		width: 100% !important;
	}
    .megamenu li:nth-child(1) {
        display: none !important;
    }
}

/*
@media only screen and (max-width: 464px) {
    .megamenu li:nth-child(5) {
        display: none !important;
    }
}
@media only screen and (max-width: 620px) {
    .megamenu li:nth-child(5) {
        display: none !important;
    }
}
@media only screen and (max-width: 682px) {
    .megamenu li:nth-child(4) {
        display: none !important;
    }
}
@media only screen and (max-width: 835px) {
    .megamenu li:nth-child(3) {
        display: none !important;
    }
}
@media only screen and (max-width: 920px) {
    .megamenu li:nth-child(2) {
        display: none !important;
    }
}
@media only screen and (max-width: 1000px) {
    .megamenu li:nth-child(1) {
        display: none !important;
    }
}
*/

/*
@keyframes fadeIn {
    0%{opacity:0}
    
    100%{opacity:1}
}

@-webkit-keyframes slideIn {
    0%{left:3%;opacity:0}
    
    100%{left:0;opacity:1}
}

@-moz-keyframes slideIn {
    0%{left:3%;opacity:0}
    
    100%{left:0;opacity:1}
}

@-o-keyframes slideIn {
    0%{left:3%;opacity:0}
    
    100%{left:0;opacity:1}
}

@keyframes slideIn {
    0%{left:3%;opacity:0}
    
    100%{left:0;opacity:1}
}
*/


/* //////////////--------------- Start selectors for My Account Documents Table ---------------////////////// */

@media only screen and (max-width: 520px) {
	#pendingDocsTable tr th:nth-child(1), #pendingDocsTable tr td:nth-child(1) {
		display: none;
	}
}

@media only screen and (max-width: 440px) {
	#pendingDocsTable tr th:nth-child(3), #pendingDocsTable tr td:nth-child(3) {
		display: none;
	}
}


@media only screen and (max-width: 640px) {
	#subscriptionTable tr th:nth-child(2), #subscriptionTable tr td:nth-child(2) {
		display: none;
	}
}

@media only screen and (max-width: 475px) {
	#subscriptionTable tr th:nth-child(4), #subscriptionTable tr td:nth-child(4) {
		display: none;
	}
}



@media only screen and (max-width: 600px) {
	#purchasedDocsTable tr th:nth-child(1), #purchasedDocsTable  tr td:nth-child(1) {
		display: none;
	}
}

@media only screen and (max-width: 540px) {
	#purchasedDocsTable tr th:nth-child(3), #purchasedDocsTable tr td:nth-child(3) {
		display: none;
	}
}

@media only screen and (max-width: 440px) {
	#purchasedDocsTable tr th:nth-child(4), #purchasedDocsTable tr td:nth-child(4) {
		display: none;
	}
}

@media only screen and (max-width: 440px) {
	#mailOrderDocsTable tr th:nth-child(1), #mailOrderDocsTable tr td:nth-child(1) {
		display: none;
	}
}

/* //////////////--------------- End selectors for My Account Documents Table ---------------////////////// */

@media only screen and (max-width: 1000px) {
	#newMobileSiteFeedback {
		opacity: 1 !important;
		bottom: -6px !important;
	}
}
@media only screen and (max-width: 650px) {
	#siteAlert {
		display: none !important;
	}
}

.leftSlideGradient, .rightSlideGradient {
	height: 310px;
	width: 5px;
	position: absolute;
	left: 50%;
}

.leftSlideGradient {
	margin-left: -333px;
	
	background: -moz-linear-gradient(left,  rgba(239,239,239,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(239,239,239,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  rgba(239,239,239,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  rgba(239,239,239,1) 0%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  rgba(239,239,239,1) 0%,rgba(255,255,255,0) 100%); /* IE10+ */
	background: linear-gradient(to right,  rgba(239,239,239,1) 0%,rgba(255,255,255,0) 100%); /* W3C */
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#00ffffff',GradientType=1 );*/ /* IE6-9 */
}

.rightSlideGradient {
	margin-left: 328px;
	
	background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(239,239,239,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(239,239,239,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(239,239,239,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(239,239,239,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(239,239,239,1) 100%); /* IE10+ */
	background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(239,239,239,1) 100%); /* W3C */
	/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#efefef',GradientType=1 );*/ /* IE6-9 */
}