


/*
ilinkstyle.css
for Legal i Link eServices Portal, Dye & Durham, September 2020

colour reference:
#e31270 = dye & durham bright pink (icons)
	#fadee3 = ilink light pink panel emphasis
#58585a = dye & durham dark grey (headers)
#e6e6e6 = dye & durham light grey highlight (nav hover, status msg)
#8d1c56 = dye & durham dark purple (buttons)
	#b2236d = ilink dark purple (button shading)
#ddd = light grey (lines)
*/

/* === BASE ======================================================================== */
* {
    margin: 0;
    padding: 0;
}
/*overrides browser defaults to ensure correct appearance of new rules*/
/* .maincontent{overflow-y:scroll;overflow-x:auto;min-width:960px;} */ /*makes a vertical scroll bar appear regardless of page size, so the centered layout never jumps*/
body {
    font-size: 14px;
    line-height: 1.5em;
    -webkit-text-size-adjust: 100%;
    background: white;
    color: black;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
/*master font declaration. size-adjust for mobile safari*/

body {
    font-size: 14px;
    line-height: 1.5em;
    -webkit-text-size-adjust: 100%;
    background: white;
    color: black;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
/*master font declaration. size-adjust for mobile safari*/

/*main sections*/
.mainheader, .maincontent, .mainfooter {
    position: absolute;
    width: 100%;
    min-width: 960px;
}

.mainheader {
    top: 0;
    left: 0;
    right: 0;
    height: 82px;
    background: url("/images/headerbg.png") repeat-x 0 0 white;
}

.maincontent {
    top: 82px;
    bottom: 15px;
    left: 0;
    right: 0;
    overflow-y: scroll;
    padding: 1em 2em;
    box-sizing: border-box;
}

.mainfooter {
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #ddd;
}

/*white fade effect on maincontent*/
.mainheader {
    z-index: 10;
    box-shadow: 0 0 10px 10px rgba(255,255,255,1);
}

.mainfooter {
    z-index: 10;
    box-shadow: 0 0 10px 10px rgba(255,255,255,1);
}

/*content layout sections*/
.statusarea {
    margin-bottom: 2em;
}

.sidebarcolumn {
    display: inline-block;
    width: 24%;
    vertical-align: top;
    margin-bottom: 3em;
}

.maincolumn {
    display: inline-block;
    width: 73%;
    margin-left: 3%;
    vertical-align: top;
    margin-bottom: 3em;
}

h1.pageheading {
    margin-bottom: 0.5em;
}

h4.pageheading {
    color: #58585a;
}

/*fonts & text*/
div, b, label, em, p, strong, h1, h2, h3, h4, h5, h6, a, .button {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
}

b, strong, h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    letter-spacing: 0.02em;
    text-decoration: none;
}

em {
    font-weight: italic;
}

p {
    margin-bottom: 0.5em;
}

h1 {
    font-size: 1.71em; /*24px*/
    margin-bottom: 0.29em;
    line-height: 1em;
    color: #58595b;
    letter-spacing: 0;
}

h2 {
    font-size: 1.28em; /*18px*/
    margin-bottom: 0.39em;
    line-height: 1em;
}

h3 {
    font-size: 1.14em; /*16px*/
    margin-bottom: 0.43em;
    line-height: 1em;
}

h4, h5, h6 {
    font-size: 1em;
    margin-bottom: 0.5em;
}
/* same as body text */
hr {
    border: none;
    height: 1px;
    margin: 0.5em 0;
    background: #ddd;
}

/*boilerplate for tables - webkit vs ff fixes*/
/*table {
    border-collapse: collapse;
    border-spacing: 0;
}

    table tr th, table tr td {
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }*/

/*inputs*/
input[type=text], input[type=password], select, textarea {
    border: 1px solid #58595b;
    border-radius: 0.35em;
    margin-bottom: 0.5em;
}
/*borders & margins*/
textarea {
    display: block;
    height: 3.5em;
    min-height: 3.5em;
    line-height: 1.4em;
    resize: vertical;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.2em 0.3em 0.3em 0.4em;
}

input[type=checkbox], input[type=radio] {
    display: inline-block;
    margin-right: 1em;
}

/*links*/
a {
    text-decoration: underline;
    color: #214490;
}

    a:hover, a:active {
        text-decoration: underline;
        opacity: 0.8;
        cursor: pointer;
        outline: 0;
    }
    /* Improve readability when focused and hovered in all browsers: h5bp.com/h */
    a img {
        border: 0;
    }

.button, submit {
    position: relative;
    display: inline-block;
    color: white;
    text-decoration: none;
    background: #8d1c56;
    padding: 0.2em 0.5em;
    border-radius: 0.35em; /* box-shadow: 0px 2px 2px rgba(0,0,0,0.3); */
}

.button, sumbit {
    background: #8d1c56;
    background: -moz-linear-gradient(top, #b2236d 50%, #8d1c56 51%);
    background: -webkit-linear-gradient(top, #b2236d 50%,#8d1c56 51%);
    background: linear-gradient(to bottom, #b2236d 50%,#8d1c56 51%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b2236d', endColorstr='#8d1c56',GradientType=0 );
}
    /*button shading via CSS gradient with fallbacks*/
    .button:hover, submit:hover {
        opacity: 1;
        text-decoration: none;
        background: #b2236d;
        background: -moz-linear-gradient(top, #8d1c56 50%, #b2236d 51%);
        background: -webkit-linear-gradient(top, #8d1c56 50%,#b2236d 51%);
        background: linear-gradient(to bottom, #8d1c56 50%,#b2236d 51%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8d1c56', endColorstr='#b2236d',GradientType=0 );
        cursor: pointer;
    }
/*flip CSS gradient*/

/* === CONTROLS ==================================================================== */

/*header*/
.mainheader .logo2 {
    position: absolute;
    top: 0;
    left: 91px;
}

    .mainheader .logo2 h1 {
        color: white;
        padding: 0.75em 0 0 0.5em;
        /*letter-spacing: 0.03em;*/
        font-size: 1.71em;
        margin-bottom: 0.29em;
        line-height: 1em;
        font-weight: bold;
        letter-spacing: 0.02em;
    }

.mainheader .logo2:before {
    content: "";
    position: absolute;
    top: 0;
    left: -59px;
    width: 59px;
    height: 59px;
    background: url("/images/ddlogo_header.png");
}

.mainheader ul li {
    list-style-type: none;
}

.mainheader ul.menu2 {
    position: absolute;
    right: 50px;
    height: 61px;
    text-align: right;
    color: white;
}

    .mainheader ul.menu2 li {
        display: inline-block;
        vertical-align: top;
        position: relative;
    }

        .mainheader ul.menu2 li a {
            display: block;
            position: relative;
            color: white;
            text-decoration: none;
            height: 61px;
            padding: 1.4em 1em 1.4em 3.5em;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            vertical-align: top;
        }

        .mainheader ul.menu2 li:hover > a {
            background: #8d1c56;
            opacity: 1;
            cursor: pointer;
        }
        /*dropdown-menus for main navigation*/
        .mainheader ul.menu2 li ul {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 2;
            border: 1px solid #8d1c56;
            background: white;
            width: 100%;
        }

            .mainheader ul.menu2 li ul li {
                position: relative;
                list-style-type: none;
                display: block;
                border: 1px solid #ddd;
                color: black;
                background: white;
            }

                .mainheader ul.menu2 li ul li a {
                    background: white;
                    color: #58595b;
                    height: auto;
                    padding: 0.5em 1em;
                }

                .mainheader ul.menu2 li ul li:hover > a {
                    background: #e6e6e6;
                    opacity: 1;
                    cursor: pointer;
                }

        .mainheader ul.menu2 li:hover > ul {
            display: block;
            cursor: pointer;
        }
        /*dropdown-sub-menus for main navigation*/
        .mainheader ul.menu2 li ul li ul {
            display: none;
            position: absolute;
            top: 0;
            left: 100%;
            z-index: 3;
            border: 1px solid #8d1c56;
            background: white;
            width: 100%;
        }

            .mainheader ul.menu2 li ul li ul li {
                list-style-type: none;
                display: block;
                border: 1px solid #ddd;
                color: black;
                background: white;
            }

                .mainheader ul.menu2 li ul li ul li a {
                    background: white;
                    color: #58595b;
                    height: auto;
                    padding: 0.5em 1em;
                }

                .mainheader ul.menu2 li ul li ul li :hover a {
                    background: #e6e6e6;
                    opacity: 1;
                    cursor: pointer;
                }

        .mainheader ul.menu2 li ul li:hover > ul {
            display: block;
            cursor: pointer;
        }

    .mainheader ul.menu2 a.submenu:after {
        content: ">";
        font-weight: bold;
        position: absolute;
        right: 0.5em;
        top: 0.5em;
        color: #58595b;
    }

    .mainheader ul.menu2 li.login {
        line-height: 1.25em;
        text-align: left;
        vertical-align: top;
    }


.mainheader ul.tools {
    position: absolute;
    top: 1.4em;
    right: 4em;
    text-align: right;
}

    .mainheader ul.tools li {
        display: inline-block;
        vertical-align: top;
    }

        .mainheader ul.tools li a {
            margin-left: 0.6em;
        }

            .mainheader ul.tools li a:hover {
                cursor: pointer;
            }
        /*variant styles for PDF merger item, because it has a text label*/
        .mainheader ul.tools li.pdfmerger {
            margin-right: 1em;
            background: none;
        }

            .mainheader ul.tools li.pdfmerger a {
                position: relative;
                display: inline-block;
                background: none;
                padding-left: 2.25em;
                color: white;
                height: auto;
                width: auto;
                text-decoration: none;
            }

/*footer*/
.mainfooter {
    border-top: 1px solid #ddd;
    background: white;
}

    .mainfooter .logo2 {
        position: absolute;
        right: 4em;
        top: 0.5em;
        background: url("/images/ddlogo.png");
        width: 38px;
        height: 38px;
    }

    .mainfooter p {
        position: absolute;
        right: 8em;
        top: 1.1em;
        text-align: right;
        color: #aaa;
    }

/* status messages - optional global status area */
.statusarea .status {
    padding: 0.6em 1em 0.5em;
    margin-bottom: 1em;
    color: #8d1c56;
    background: #e6e6e6;
    border-radius: 0.35em;
    font-weight: bold;
    letter-spacing: 0.02em;
}

    .statusarea .status.warning {
        color: white;
        background: #8d1c56;
    }

/*note area header box*/
.notearea {
    padding: 0.6em 1em 0.5em;
    margin-bottom: 2em;
    color: white;
    background: #8d1c56;
    border-radius: 0.35em;
    font-weight: bold;
    letter-spacing: 0.02em;
}

/*tables*/
/*table{width:100%;border:1px solid #58585a;}
table thead tr{background:#e31270;}
table thead tr th{font-weight:bold;vertical-align:top;}
table thead tr th, table tbody tr td{padding:0.5em;text-align:left;}*/ /*spacing for all table cells*/
/*table tbody tr{background:white;}
table tbody tr:nth-child(even){background:#eee;}*/ /*alternate striping*/
/*table tbody tr td{border-left:1px solid #ddd;vertical-align:top;}
table tbody tr td:first-child{border-left:none;}
table .status{text-align:center;}*/

/*content panels with dark headers*/
/*.panel{display:block;width:100%;margin-bottom:2em;}
.panel h2{color:white;background:#58585a;padding:0.65em 0.85em;margin-bottom:-1px;border-top-left-radius:0.28em;border-top-right-radius:0.28em;}
.panel .panelcontent{border:1px solid #58585a;border-bottom-right-radius:0.35em;border-bottom-left-radius:0.35em;padding:1em 0;}
.panel .shade{padding:1em 1.1em;margin-bottom:0.5em;background:#fadee3;}
.panel .panelcontent .shade:first-child{margin-top:-1em;}*/ /*if a shaded area comes first, snap it to top of panel*/
/*.panel .panelcontent table{margin:0 0 0.5em;width:100%;border-left:0;border-right:0;}
.panel .panelcontent > p{padding:0 1em;}
.panel .panelcontent ul{}
.panel .panelcontent ul li{margin:0 1em 0.5em 1.75em;}*/

/*sidebar thanks box must manually create the bullets so that they can be coloured via CSS without bloating markup*/
/*.panel .panelcontent ul.thanks{font-size:0.9em;list-style:none;}
.panel .panelcontent ul.thanks li{margin:0 1em 0.5em 2em;text-indent:-1.1em;}
.panel .panelcontent ul.thanks li:before{content:"•";color:#e31270;padding-right:0.5em;}*/

/*sidebar nav panel*/
/*ul.nav{display:block;width:100%;box-sizing:border-box;margin-bottom:2em;border:1px solid #58585a;border-radius:0.35em;border-top:0;border-top-left-radius:0;border-top-right-radius:0;}
ul.nav li{list-style-type:none;}
ul.nav li{display:block;border-top:1px solid #ddd;padding:0.6em 0.75em;list-style-type:none;color:black;text-decoration:none;position:relative;}
ul.nav li.expandable:after{content:">";position:absolute;right:0.5em;}
ul.nav li:first-child{border-top:0;border-top-left-radius:0;border-top-right-radius:0;}
ul.nav li:nth-last-child(1){border-bottom-left-radius:0.35em;border-bottom-right-radius:0.35em;}
ul.nav li:hover, ul.nav li .expanded{background:*/ /* #fadee3 */ /*#e31270;color:white; }*/
/*all sub level pullout menus*/
/*ul.nav li ul{display:none;position:absolute;z-index:2;top:0;left:100%;min-width:17em;background:white;border:1px solid #58585a;}
ul.nav li:hover > ul{display:block;}
ul.nav li ul li{display:block;border-top:1px solid #ddd;padding:0.6em 0.75em;list-style-type:none;color:black;text-decoration:none;}
ul.nav li ul li:first-child{border-top:0;}*/

/*tiles*/
/*.tile{display:inline-block;position:relative;box-sizing:border-box;vertical-align:top;background:white;border:1px solid #a3a0a1;border-radius:0.35em;width:48%;height:5em;margin-bottom:2em;padding:1.85em 3.5em 1.85em 5em;text-align-right;}
.tile:hover{background:#fadee3;}
.tile.emphasis{background:#fadee3;border-color:#e31270;}
.tile.emphasis:hover{background:#f7b7d4;}*/
/*tile grid spacing*/
/*.maincolumn .tilegrid .tile:nth-child(odd){margin-right:3%;}
.tile h2{display:inline-block;}
.tile a.info{position:absolute;top:1.5em;right:1.25em;background:#8d1c56;width:1.25em;height:1.25em;border-radius:1.25em;font-size:1.1em;text-decoration:none;}
.tile a.info:before{content:"i";color:white;position:absolute;top:0.05em;left:0.5em;font-weight:bold;}
.tile a.info div{display:none;position:absolute;top:0;left:0;right:0;min-height:100%;background:#8d1c56;color:white;text-decoration:none;font-size:0.9em;padding:1em;box-sizing:border-box;}
.tile a.info:hover{position:static;opacity:1;}
.tile a.info:hover div{display:block;}*/

/* === Icon Font ===================================================================== */
/*to be made into a font that uses the hooks below*/
/*i tag is only used as a hook to insert CSS content*/
@font-face {
    /*file paths will need to be changed to suit*/
    font-family: 'dyedurhamiconsregular';
    src: url('/font/dd_iconfont-webfont.eot');
    src: url('/font/dd_iconfont-webfont.eot?#iefix') format('embedded-opentype'), url('/font/dd_iconfont-webfont.woff') format('woff'), url('/font/dd_iconfont-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

i:before {
    display: inline-block;
    font-family: 'dyedurhamiconsregular';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*icons in the main header*/
.mainheader i:before {
    position: absolute;
    font-size: 4em;
    top: 0.1em;
    left: 0.2em;
}

/*icons in tiles*/
.tile i:before{position:absolute;font-size:4em;top:0.1em;left:0.4em;color:#e31270;}
.tile:hover i:before {
    color: white;
    cursor: pointer;
} 

/*list of icons by name - not all used in this mockup*/
i.i-home:before{content:"h";}
i.i-corporate:before{content:"c";}
i.i-banking:before{content:"b";}
i.i-duediligence:before{content:"d";}
i.i-realestate:before{content:"r";}
i.i-litigation:before{content:"l";}
i.i-page:before{content:"p";}
i.i-search:before{content:"q";}
i.i-mail:before{content:"m";}
i.i-folder:before{content:"f";}
i.i-filecopy:before{content:"g";}
i.i-generalinquiry:before{content:"i";}
i.i-info:before{content:"j";}
i.i-pickup:before{content:"k";}
i.i-telephone:before{content:"t";margin-right:-0.05em optical correction for icon shape ;}
i.i-user:before{content:"u";}
i.i-settings:before{content:"s";}
i.i-help:before{content:"?";}

.hidden {
    display: none !important;
}

input[type=button] {
    /*padding: 15px 40px !important;*/
    color: #fff !important;
    background: #e31270;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    margin-left: 15px;
    margin-right: 15px;
    bottom: 0;
    margin-bottom: 10px;
    /*background: url(../images/neutral.jpg);*/
    height: 24px;
    display: inline-block;
    /*  border-radius: 3px;
    color: #000000;*/
    text-decoration: none;
    padding: 0 8px;
    font-size: 12px;
    border: 0px;
    cursor: pointer;
}


