/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   VICTOR: modifications
   ========================================================================== */

.inboxrow .fa-envelope{
	color:red;
}
   
.form-control{
     margin-bottom: 15px;
 }
 
.greyBG {
    background-color: gray;
    border: 1px solid #ccc;
}


.iconText{
    display: inline-block;
    font-family: Arial;
    font-size: 12px;
	
	
}

.wishlistIcon{
	background: url(../images/wishlist.gif) no-repeat;
}
.wishlist{
    display: inline-block;
	border: 1px solid #CCC;
}

.shoppingcartIcon{
	background: url(../images/basket_shopping.png) no-repeat;
}
.shoppingcart{
    display: inline-block;
	border: 1px solid #CCC;	
}
	
/*
#favouritesNotif{
	display:inline-block;
	min-width:18px;
	height:14px;
	padding:1px;
	color:white;
	background-color:black;
	text-align:center;
	border-radius:5px;
}
*/
#mailNotif, #favouritesNotif{
    font-size: 12px;
    position: fixed;
	margin-top: -5px;
	display:inline-block;
	min-width:20px;
	height:21px;
	padding:1px;
	text-align:center;
	border-radius:5px;
	
	color:transparent;
	background-color:transparent;
	
	/*
	color:white;
	background-color:black;
	*/
}

.mailNotifContent{
	color: white !important;
	background-color:red !important;
}
	
	
	
#searchResultTable{
or: #000000;
	font-size:1em;
}

.searchResultBox.withcarousel{
    height: 430px;
	background-color: #000000;
	overflow:hidden;
}

.searchResultBox.noncarousel{
    border: 15px #000 solid;
    background-color: #000;
}

.searchResultBox.noimage{
    border: 15px #000 solid;
}

.searchResultBox .carousel-inner{
    height: auto;
	max-height:400px;
	margin-top:-30px;
}	
	
.searchResultBox img{
	/*
    max-width:100% !important;
    max-height:100% !important;
	*/
    width:100% !important;
    height:auto !important;
	
}




.searchResultBox .carousel-indicators {
   position: relative !important;
   bottom: -380px !important;  /* searchResultBox height is 430px, in main.css */
   text-align: center;
}



 
 .thumbnailCell{
	display:inline-block;
	width: 50px;
    height: 50px;
    border: 1px #ddd solid;
    overflow: hidden;
    margin: 9px 5px 0 0;
	background-color:#000000;
	/*
    background: url(/images/loading_3.gif) no-repeat center center;
	*/
}

#replytable{
	width:100%;
	display:none;
	position:fixed;
	z-index:20; /*Must be greater than stuff like carousel-indicators, which are 15 */
	
    border: 3px solid green;
    padding: 10px;
	
	left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
 


#searchStartOverlay{
	width:100%;
	display:none;
	position:fixed;
	z-index:20; /*Must be greater than stuff like carousel-indicators, which are 15 */
	padding: 10px;
	left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}


 
 .imageblock .thumbnailRow{
	display:table-row;
}

.imageblock .thumbnailCell{
	display:table-cell;
	width: 50px;
    height: 50px;
    float: left;
    border: 1px #ddd solid;
    overflow: hidden;
    margin: 9px 5px 0 0;
	/*
    background: url(/images/loading_3.gif) no-repeat center center;
	*/
}


.mainPageThumbNail{
    height: 250px;
	
    border: 1px #ddd solid;
    overflow: hidden;
    margin: auto;	
	
	padding: 3px 3px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.mainPageThumbNail img{
    height: 100%;
	width: auto;
}


.imageblock .thumbnailCellEmpty{
	display:table-cell;
	width: 50px;
    height: 50px;
    float: left;
    border: 1px #ddd solid;
    overflow: hidden;
    margin: 9px 5px 0 0;	
}

.imageblock .thumbnailCell:hover{
	border: 1px solid #000;
}

.imageblock .thumbnailCell:active{
	border: 1px solid #000;
}
*/
 
/***** Login Page ******/

#loginForm, #registrationForm, #pwResendForm, #changePwForm{
	display:table-cell; 
	padding:15px 5px 5px 10px; 
	height:400px; 
	margin: auto; 
	display: block; 
	margin:auto;
} 



#loginForm .emailrow{
	display:table-row;
}
#loginForm .emailrow .emailcell{
	display:table-cell;
	padding-bottom:10px;
}


#loginForm .passwordrow{
	display:table-row;
}
#loginForm .passwordrow .passwordcell{
	display:table-cell;
	padding-bottom:10px;
}


#loginForm input,  #registrationForm input, #pwResendForm input{
	display:table-row;
	
    margin: 0 0 3px;
    border-radius: 3px;
    color: #333;
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: 0 1px 0 rgba(255,255,255,.8),inset 0 1px 2px rgba(0,0,0,.06);

    width: 96.75%;
    height: 32px;
    font-size: 16px;
    color: #333;
    padding: 4px;
    line-height: 35px\9;
    display: block;
    border: 1px solid #ccc;
    border-radius: 3px;
    vertical-align: middle;
}


#loginForm input.submitbtn,  #registrationForm input.submitbtn, #pwResendForm input.submitbtn{
	color:white;
	height: 40px;
    padding-top: 7px;
    text-align: center;
    font-size: 15px;
    font-family: Arial;
    border-radius: 6px;
    background: #333;
    background-repeat: repeat-x;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(gray), to(#000000));
    background: -webkit-linear-gradient(top, gray, #000000);
    background: -moz-linear-gradient(top, gray, #000000);
    background: -ms-linear-gradient(top, gray, #000000);
    background: -o-linear-gradient(top, gray, #000000);
	}

	
	
#loginForm .passwordrow input{
	display:table-row;
}



.inboxrow:hover{
	background-color:lightgray;
}
 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}









/*
     * Modal Images:
     * https://www.w3schools.com/howto/howto_css_modal_images.asp
*/

/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}