﻿body {
 margin: 0;
 padding: 0;
 font-family: Arial,Verdana;
 font-size: 14px;
 font-weight: 400;
 line-height: 1.8 !important;
 color: #2F4F4F;
 background-color: #FAFAFA;
 box-sizing: border-box;
}

div#container {
/********************************************************
 surrounds all content, sized for monitor size of 1024px
*********************************************************/
 width: 985px;
 margin: 10px auto;
 padding: 0;
 border: 0px solid silver;
}

.nav {
 width: 298px;
}

main {
    width: 100%;
    background-color: #f9f6f633;
}

div#leftcolumn {
 float: left;
 width: 210px;
 margin: 0;
 padding: 45px 0 0 0;
 border: 0px solid cyan;
}

div#content {
/* maximum width which fits in rhs of container */
 width: 770px;
/* possibly match height of TreeView */
/* height: 700px;*/
 min-height: 675px;
 margin: 0 0 0 210px;
 padding: 0;
 border: 0px solid green;
}

.inline {
 display: inline;
}

div#uploader {
/* this gives height to the uploader so that after 
   an upload the alt tag doesn't jump downwards */
 height: 78px;
}

div.pagebuttons {
    /* container for page buttons which typically appear
 at the bottom of a page for adding new, updating etc.

 IE put button to left, other browsers aligned it with
 right hand edge of labels. None would centre buttons.
 So have put them in a div with left margin to 144px
*/
    /*
This positions buttons top right but gets messy when there are multiple buttons on product page
 position: absolute;
 right: 0;
 top: 0;
    */
    /*14-Jul-2019 added following three styles to tidy up delete/save buttons on product page*/
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin: 20px 0 0 0;
    text-align: right;
    max-width: 72vw;
}

.flex {
    display: flex;
}
.space-evenly {
    justify-content: space-evenly !important;
}


    div.pagebuttons input, div.pagebuttons a.p2wbutton, .p2n-button, .p2wbutton {
        padding: 0.8% 3.8% 0.8% 3.8%;
        /*background: #00adef;
        background-image: linear-gradient(to bottom, #00adef, #0084b5);*/
        background: #202685;
        background-image: linear-gradient(to bottom, #5d81c7, #2d4e83);
        border-radius: 8px;
        border-style: none;
        color: #ffffff;
        font-size: 1.2em;
        text-decoration: none;
        cursor: pointer;
    }

    div.pagebuttons input:hover, div.pagebuttons a.p2wbutton:hover, .p2n-button:hover {
        cursor: pointer;
        background-image: linear-gradient(to bottom, #5d81c7, #3363af);
    }

.pagebuttons1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 12px 0;
}
.pagebuttons1 input.p2wbutton {
    padding: 8px 22px;
}

#btnProduct::after {
    position: relative;
    display: inline-block;
    content: '';
    width: 22px;
    height: 22px;
    margin: 0 0 0 4px;
    padding: 0 0 0 0;
    background-image: url('/imgs/save.png');
    background-repeat: no-repeat;
    background-position: 0px 0px;
    background-size: 22px;
    vertical-align: bottom;
}

.changed-items-list {
    max-height: 480px;
    height: 100vh;
    vertical-align: middle;
}

div#footer {
    margin: 0 0 0 0;
    padding: 0;
}

div#footer p {
 margin: 0 0 8px 0;
 padding: 0;
 text-align: center;
}

@media screen and (max-width: 900px) {

    #PanelNavigation {
        width: 180px;
        font-size: 12px;
    }

    main {
/*        width: 76%;*/
    }

    .nav {
/*        width: 210px;*/
    }
    .accordion {
/*        zoom: 0.8;
        -moz-transform: scale(0.8);
        margin-top: -135px;
        margin-left: -20px;*/
    }
    iframe {
/*	    width: 200%;
	    -moz-transform: scale(0.5);
	    margin-top: -165px;
	    margin-left: -50%;*/
    }
}
