
/* --------------------------------
    Top Basket Bar styles
-------------------------------- */

#tpx-basket-bar
{
	/*font-family: Arial, Helvetica, sans-serif;*/
	/*padding: 10px 0;*/
	/*background: #F8F8F8;*/
	border-bottom: solid 1px #dedede;
	font-size: 16px;
    position: relative;
    z-index: 900;
    line-height: 1.5;
}

.tpx-bar-container
{
	width: 940px;
	margin: auto;
    position: relative;
}

#tpx-basket-bar ul li
{
	display: inline-block;
	position: relative;
}

#tpx-basket-bar a,
.tpx-projectlist a
{
	text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

#tpx-basket-bar a:hover,
.tpx-projectlist a:hover
{
	text-decoration: underline;
}

.tpx-clearfix:after {
	content: "";
	display: table;
	clear: both;
}

/* --------------------------------
    Buttons
-------------------------------- */

a.tpx-button
{
    color: #fff;
    /*background: #0386A2;*/
    background: #940500;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: inset 0 -3px 0 0 rgba(0,0,0,0.15);
}

#tpx-basket-bar a.tpx-button:hover
{
	background: #ea322c;
    text-decoration: none;
    color: #fff;
}

.tpx-basketButton
{
    display: inline-block;
    font-size: 15px;
    text-transform: uppercase;
	vertical-align: middle;
    font-weight: bold;
}

.tpx-basketCount
{
    background: url(tpxBasketIcon.svg) no-repeat center 5px;
    font-size: 12px;
    font-weight: normal;
    display: block;
	float: left;
    color: #03738c;
    padding: 17px 0 0;
    width: 45px;
    height: 42px;
    text-align: center;
}

.tpx-basketLabel
{
    display: block;
    float: left;
    padding: 10px 15px 10px 3px;
}

.tpx-checkout-button
{
	padding: 12px;
	font-size: 16px;
    margin-top: 25px;
}

#tpx-basket-bar a.tpx-checkout-button
{
	display: block;
}

.tpx-emptycartbutton
{
    float: right;
    padding: 5px 10px;
    display: block;
    font-size: 12px;
    background-color: fff;
}


/* --------------------------------
    Account Links
-------------------------------- */

.tpx-accountLinks
{
	float: right;
}

li.tpx-accountLinkItem
{
	font-size: 14px;
    margin-right: 20px;
}

 .tpx-accountLinkItem a
{
	color: #777;
}

.tpx-accountLinkItem a:hover
{
    color: #000;
}

/* --------------------------------
    Pop out panel
    (used for Basket and My Projects)
-------------------------------- */

.tpx-shopping-cart,
.tpx-projectlist
{
	background: #fff;
	width: 320px!important;
	border-radius: 3px;
	padding: 20px;
	box-shadow: 0 5px 5px 0 rgba(0,0,0,0.3);
    border: 1px solid #ccc;
	display: none;
	position: absolute;
	z-index: 50;
	/*right: 0;*/
    /*top: 58px;*/
    top: 100px; 

}

.tpx-projectlist:after,
.tpx-shopping-cart:after {
	bottom: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-bottom-color: #ccc;
	border-width: 8px;
	margin-left: -8px;
    right: 15px;
}

#tpx-empty-cart
{
    margin-top: 1em;
    text-align: center;
    /*position: absolute;
    top: 20px;
    width: 100%;
	color: #a6a6a6;*/
}

#tpx-empty-state
{
    visibility: hidden;
}

#tpx-empty-cart p/*,
#tpx-empty-stateX p*/
{
    font-size: 14px;
}

/* Count of items in Basket */
.tpx-badge {
    border-radius: 10px;
    color: #fff;
    background: url(tpxBasketIconSummary.svg) top left no-repeat;
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    padding: 14px 0 0;
    text-align: center;
    height: 28px;
    min-width: 28px;
}

.tpx-shopping-cart-header
{
	border-bottom: 1px solid #E8E8E8;
	padding-bottom: 15px;
}

.tpx-shopping-cart-items-container,
.tpx-projectlist-items-container
{
	overflow: auto;
    position: relative;
}

/*.tpx-shopping-cart-items-container
{
	height: 280px;
}*/

.tpx-projectlist-items-container
{
	height: 404px;
}

.tpx-loadingspinnercontainer {
	background: url(loading-spinner.svg) center center no-repeat;
    background-size: 30px 30px;
    height: 30px;
    width: 30px;
    /*position: absolute;*/
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* --------------------------------
    Project list
    (shown in Basket and My Projects)
-------------------------------- */

#tpx-basket-bar ul.tpx-shopping-cart-items li
{
	background: #fff;
	position: relative;
    margin: 0;
    border-bottom: 1px solid #E8E8E8;
	padding: 15px 0;
    display: block;
}

#tpx-basket-bar .tpx-projectlist-items-container ul.tpx-shopping-cart-items li:first-child
{
    padding-top: 0;
}

/* TRADE added */
#tpx-projectsItemList li {
    margin-top: 1em;
    padding: 0.5em;
    border:#333;
    border-style:dotted;
    border-width: 1px;
}

.tpx-item-projectname
{
    color: #000;
	display: block;
	font-size: 16px;
    padding-right: 25px;
    line-height: 1.4;
    margin-bottom: 5px;
    word-wrap: break-word;
}

.tpx-item-layoutname,
.tpx-item-purge
{
	color: #a6a6a6;
	margin: 0 8px 5px 0;
	display: block;
    font-size: 12px;
}

.tpx-item-purge
{
    color: #F00;
}

.tpx-item-purge a
{
    color: #333;
}

a.tpx-projectaction
{
    color: #0e0e0f;
    font-size: 13px;
    margin-right: 10px;
}

a.tpx-projectaction:hover
{
    color: #0e0e0f;
}

.tpx-projectinfocontainer {
	position: relative;
}

.tpx-info-container
{
    display: flex;
}

/* Wrap around the thumbnail image, 50px width with img centred inside it */
.tpx-project-preview 
{
    width: 50px;
    margin-right: 10px;
    margin-top: 3px;
    text-align: center;
}

/* The thumbnail image */
.tpx-project-preview-thumbnail 
{
    max-height: 60px;
    max-width: 50px;
    box-shadow: 0 1px 3px 1px rgba(0,0,0,0.2);
    border: 1px solid #acacac;
}

/* Wrap around project name and layout name and allows for longer/shorter text */
.tpx-project-info-wrap 
{
    width: 200px;
}

/* Slightly wider version for the cart */
.tpx-shopping-cart-items-container .tpx-project-info-wrap 
{
    width: 220px;
}

.tpx-removefrombasket
{
	position: absolute;
	top: 0;
	right: 10px;
	float: none;
	cursor: pointer;
    height: 12px;
    width: 12px;
    background: url(remove.svg);
    opacity: 0.7;
}

.tpx-removefrombasket:hover
{
    opacity: 1;
}

.tip-popout
{
    visibility: hidden;
    position: absolute;
    left: 0;
    right: 0;
    width: auto;
    margin: 0 auto;
    top: 15px;
    text-align: center;
}

@keyframes popoutFade {
    0%
    {
        visibility: visible;
        opacity: 0;
    }
    5%
    {
        opacity: 1;
    }
    80%
    {
        opacity: 1;
    }
    100%
    {
        opacity: 0;
        visibility: hidden;
    }
}

.tip-popout-visible
{
    animation: popoutFade 4s;
}

.basicModal .tip-popout p
{
    background: rgba(0,0,0,0.7);
    padding: 10px 13px;
    color: #fff;
    border-radius: 3px;
    display: inline-block;
    width: auto;
}

input.share-url
{
    background: #ececec;
    font-size: 12px;
}

input.share-url.basicModal__text:hover
{
    background: #ececec;
}

input.share-url.basicModal__text:focus
{
    background: #ececec;
    box-shadow: 0 1px 0 #c8c8c8;
}


/* --------------------------------
    Responsive Styles
-------------------------------- */

@media only screen and (max-width: 960px) {

	#tpx-basket-bar .tpx-bar-container {
        width: 90%;
    }
}

@media only screen and (max-width: 780px) {

    .tpx-basketLabel
    {
        display: none;
    }

    .tpx-shopping-cart:after
    {
        left: auto;
        right: 13px
    }

    .tpx-shopping-cart,
    .tpx-projectlist
    {
        width: 100%;
        right: auto;
    }

    .tpx-projectlist:after
    {
    	right:84px;
    }
}

@media only screen and (max-width: 400px) {
    li.tpx-accountLinkItem
    {
        font-size: 12px;
        margin-right: 10px;
    }
}


