﻿@font-face
{
    font-family:'Effra Regular';
    font-weight:bold;
    font-display:fallback;
    src:url('../../../Fonts/Effra_W_Bd.eot');
    src:url('../../../Fonts/Effra_W_Bd.eot?#iefix') format('embedded-opentype'),
        url('../../../Fonts/Effra_W_Bd.woff2') format('woff2'),
        url('../../../Fonts/Effra_W_Bd.woff') format('woff')
}
@font-face
{
    font-family:'Effra Regular';
    font-style:italic;
    font-display:fallback;
    src:url('../../../Fonts/Effra_W_It.eot');
    src:url('../../../Fonts/Effra_W_It.eot?#iefix') format('embedded-opentype'),
        url('../../../Fonts/Effra_W_It.woff2') format('woff2'),
        url('../../../Fonts/Effra_W_It.woff') format('woff')
}
@font-face
{
    font-family:'Effra Regular';
    font-weight:500;
    font-display:fallback;
    src:url('../../../Fonts/Effra_W_Md.eot');
    src:url('../../../Fonts/Effra_W_Md.eot?#iefix') format('embedded-opentype'),
        url('../../../Fonts/Effra_W_Md.woff2') format('woff2'),
        url('../../../Fonts/Effra_W_Md.woff') format('woff')
}
@font-face
{
    font-family:'Effra Regular';
    font-weight:normal;
    font-display:fallback;
    src:url('../../../Fonts/Effra_W_Rg.eot');
    src:url('../../../Fonts/Effra_W_Rg.eot?#iefix') format('embedded-opentype'),
        url('../../../Fonts/Effra_W_Rg.woff2') format('woff2'),
        url('../../../Fonts/Effra_W_Rg.woff') format('woff')
}

*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body
{
    width:100%;
    height:100%;
}

body 
{
    padding: 0;
	margin: 0;
	background-color: #fff;
	color: #51534a;
    font-size:16px;
    font-family: 'Effra Regular',arial,sans-serif;;
    min-width:320px;
    line-height: 1.4375;
    overflow-x: hidden;
}


a, a:visited
{
    color: #00866c;
    text-decoration:none;
}
a:hover, a:active
{
    color: #005343;
    text-decoration:underline;
}



/* Css Button */
.cssbutton
{
    background-color: #00866c;
    border: 1px solid #006d57;
    display:inline-block;
    margin: 0 10px 5px 0;
    padding: 3px 5px 4px;
    border-radius:3px;
    transition: background-color 0.2s ease;
    font-size:19px;
}
.cssbutton:hover
{
    background-color: #005343;
    border-color: #002f26;
}
.cssbutton a
{
    display:block;
    padding: 4px 8px;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
}



:focus
{
    outline:none;
}
::-moz-focus-inner
{
    border: 0;
}



h1, h2, h3, h4, h5
{
    font-family: 'Effra Regular',arial,sans-serif;
    font-weight: 500;
    line-height: 1;
    color: #4c2f48;
}
h1
{
    font-size:42px;
}
h2
{
    font-size: 29px;
    line-height: 32px;
    margin: 21px 0 10px;
}
h3
{
    font-size: 23px;
    line-height: 26px;
    color: #9e6296;
    margin-bottom: 3px;
}
h4
{
    font-size: 20px;
    line-height: 23px;
    margin-bottom: 0;
    margin-top:4px;
}
h5
{
    font-size: 16px;
}



.maxwidth 
{
    width:100%;
    max-width:1170px;
}

.clearboth
{
    clear:both;
}

#wrapper
{
    margin:0 auto;
    padding-top:126px;
    z-index:0;
}

/* Popup help */
#bodypopup #wrapper
{
    padding:10px;
}
#bodypopup #headerpopupleft
{
    font-size:24px;
}
#bodypopup #popupmenuright
{
    float:right;
}


/* Header */
#header
{
    background-color: #4c2f48;
    padding-top:23px;
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:300;
    transition: .3s ease all;
}
#header .headerinner
{
    margin:0 auto;
}

/* Header logo/menus */
#header #headermain
{
    padding-bottom:23px;
}
#header #headermain .maxwidth
{
    display:table;
}
#header #headermain .maxwidth > div
{
    display:table-cell;
}
#header #headermain #headermainlogo
{
    width:1%;
}
#header #headermain #headermainlogo a
{
    width:230px;
    padding:15px;
    margin-left:-15px;
    font-size: 20px;
    line-height: 23px;
    display:block;
}
#header #headermain #headermainlogo a img
{
    margin-top:3px;
    display:block;
    width:100%;
    transition:all .3s ease-out 0s;
}

#header #headermainmobiletrigger,
#mobilemenu
{
    display:none;
}

#header #headermainmenu
{
    vertical-align:top;
    text-align:right;
}
#header #headermainmenu ul
{
    color:#fff;
    margin:0;
    padding:0;
    list-style-type:none;
}
#header #headermainmenu ul li
{
    display:inline-block;
    margin:22px 0 0;
}
#header.scroll #headermainmenu ul li
{
    margin:9px 0 0;
}
#header #headermainmenu ul a
{
    padding:8px 18px;
    color:#fff;
    transition:all .3s ease-out 0s;
    font-size:19px;
    text-decoration:none;
    line-height:23px;
    display:block;
}
#header #headermainmenu ul a:hover
{
    color:#ffd26e;
}
#header #headermainmenu ul .headertophome a::before
{
    content: "\f015";
    font-family: "FontAwesomePro";    
}
#header #headermainmenu ul .headertophome span
{
    display:none;
}


/* Header banner message */
#header #headerbanner
{
    color:#000;
    text-align:center;
    background-color:#fa8072;
}
#header #headerbanner .headerinner
{
    padding:5px 0;
    display:table;
}
#header #headerbanner p
{
    margin:0px;
}
#header #headerbanner #headerbannertext
{
    display:table-cell;
    vertical-align:top;
}
#header #headerbanner #headerbannerhide
{
    display:table-cell;
    width:150px;
    vertical-align:middle;
}

/* Header cookie consent */
#header #headercookie
{
    background-color:#323232;
    position:fixed;
    bottom:0;
    right:0;
    left:0;
    z-index:200;
}
#header #headercookie .headerinner
{
    padding:0 10px;
}
#header #headercookie #headercookietext
{
    float:left;
    width:80%;
    margin:10px 0;
    color:#e0e0e0;
}
#header #headercookie #headercookietext a
{
    color:#e0e0e0;
}
#header #headercookie #headercookieclose
{
    float:left;
    width:20%;
    margin:10px 0;
    text-align:right;
}




#main
{
    margin:0 auto;
    position:relative;
    z-index:200;
    transition: .3s ease all;
}
#main::after
{
    display:table;
    content:" ";
    clear:both;
}


#maincontent
{
    width:66.66666667%;
    margin-top:40px;
    padding:0 15px;
    float:left;
}
#maincontent p
{
    margin:0 0 25px;
    line-height:23px;
}
#maincontent a
{
    text-decoration:underline;
}
#maincontent a:hover
{
    text-decoration:none;
}


#mainwidgets
{
    width:33.33333333%;
    margin-top:40px;
    padding:0 15px;
    float:left;
}
#mainwidgets .mainwidget
{
    margin-bottom:30px;
}
#mainwidgets .mainwidgetheader
{
    font-size: 29px;
    line-height: 32px;
    background: #4c2f48;
    text-shadow: none;
    padding: 12px 17px;
    color:#fff;
}
#mainwidgets .mainwidgetcontent
{
    background-color:#e8e9e6;
    padding:15px;
}


#wrapper.homepage #maincontent,
#wrapper.homepage #mainwidgets
{
    margin-top:-56px;
}




#footer
{
    margin-top:60px;
    border-top:2px solid #4c2f48;
    position:relative;
}
#footer #footerinner
{
    margin:0 auto;
    width:100%;
    overflow:hidden;
}
#footer #footerupperrow
{
}
#footer .footerrow
{
    margin-left:-15px;
    margin-right:-15px;
}
#footer #footerupper
{
    padding:40px 15px 20px;
    border-bottom:2px solid #51534a;
    margin-bottom:22px;
}
#footer #footerupper::after
{
    display:table;
    content:" ";
    clear:both;
}
#footer #footermenu
{
    float:left;
    width:66%;
    padding:0 15px;
}
#footer #footermenu a
{
    margin: 5px 20px 5px 0;
}
#footer #footeroperated
{
    float:right;
    text-align:right;
    width:33%;
    padding:0 15px;
}
#footer #footeroperated img
{
    vertical-align:middle;
}
#footer #footerlower
{
    padding:0 30px 35px;
}
#footer #footerlower::after
{
    display:table;
    content:" ";
    clear:both;
}

#footer #footercopy
{
    float:left;
    width:50%;
    vertical-align:top;
}
#footer #footersocial
{
    float:right;
    width:50%;
    text-align:right;
}
#footer #footersocial a
{
    font-size:36px;
    margin-left:20px;
    transition: color .3s ease-out 0s;
}
#footer #footersocial a.fa-facebook-square
{
    color:#3b5998;
}
#footer #footersocial a.fa-facebook-square:hover
{
    color:#207be3;
    text-decoration:none;
}
#footer #footersocial a.fa-twitter-square
{
    color:#55acee;
}
#footer #footersocial a.fa-twitter-square:hover
{
    color:#207be3;
    text-decoration:none;
}
#footer #footersocial span
{
    display:none;
}

#footer .back-to-top
{
    position:absolute;
    left:0;
    right: auto;
    top: -36px;
    width: 250px;
    height: 70px;
    background-color: transparent;
    background-image: url(../../../images/EMR-graphic_plum_RGB.svg);
    background-size: 210% 100%;
    background-position: right;
    background-repeat: no-repeat;
    border: none;
    text-align: left;
    padding-left: 30px;
    -webkit-transition: background-size .35s ease-out 0s;
    -o-transition: background-size .35s ease-out 0s;
    transition: background-size .35s ease-out 0s;
    margin:0;
}
#footer .back-to-top a
{
    font-size: 20px;
    line-height: 70px;
    color: #fff;
    transition: margin-top .3s ease-out 0s;
}
#footer .back-to-top a:hover
{
    text-decoration:none;
}
#footer .back-to-top a span
{
    padding-left: 8px;
    display: inline;
    font-family: 'Effra Regular',arial,sans-serif;
    font-weight: 400;
}


@media screen and (max-width:1500px)
{
    #footer .back-to-top
    {
        background-size: 210% 75%;
    }
}


@media screen and (max-width:1199px)
{
    .maxwidth
    {
        max-width:970px;
    }

    #header #headermain #headermainlogo a img
    {
        margin-top:6px;
    }
    #header #headermainmenu ul a
    {
        font-size:17px;
    }
}

@media screen and (min-width:992px)
{
    #header.scroll #headermain #headermainlogo a img
    {
        margin-top:-3px;
        width:80%;
    }
}
@media screen and (max-width:991px)
{
    body.menuopen #header,
    body.menuopen #main,
    body.menuopen #footer
    {
        -webkit-transform: translate(280px,0);
        -ms-transform: translate(280px,0);
        -o-transform: translate(280px,0);
        transform: translate(280px,0);
    }
    body.menuopen #headermainmobiletrigger
    {
        display:none !important;
    }
    body.menuopen #mobilemenu
    {
        display:block;
    }
    body.menuopen #mobilemenu
    {
        -webkit-transform: translateX(0);
        transform: translateX(0) translateY(0) scale(1);
        opacity: 1;
        z-index: 1000;
    }
    body::after
    {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        background: rgba(4,14,23,.85);
        z-index: -1;
        -webkit-transition: all .4s ease-out 0s;
        -o-transition: all .4s ease-out 0s;
        transition: all .4s ease-out 0s;
        opacity: 0;
    }
    body.menuopen::after
    {
        transform: translate(280px,0);
        z-index:500;
        opacity:1;
    }

    .maxwidth
    {
        max-width:750px;
    }

    #wrapper
    {
        padding-top:96px;
    }

    #header
    {
        height:108px;
    }
    #header #headermain
    {
        min-height:85px;
    }
    #header #headermainmobiletrigger
    {
        display:block;
        margin-right: 15px;
        background-color: transparent;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
        margin-top: 4px;
        margin-bottom: 21px;
        height: 37px;
        padding: 4px;
        position: absolute;
        -webkit-transition: all .4s ease-out .1s;
        -o-transition: all .4s ease-out .1s;
        transition: all .4s ease-out .1s;
        -webkit-appearance: button;
        cursor: pointer;
    }
    #header #headermainmobiletrigger .icon-bar
    {
        display: block;
        border-radius:1px;
        background: #fff;
        width: 26px;
        height: 4px;
        -webkit-transition: all .4s ease-out 0s;
        -o-transition: all .4s ease-out 0s;
        transition: all .4s ease-out 0s;
    }
    #header #headermainmobiletrigger .icon-bar + .icon-bar
    {
        margin-top: 4px;
    }
    #header #headermain #headermainlogo a
    {
        position: absolute;
        left: 50%;
        top: 9px;
        width: 180px;
        margin-left: -84px !important;
    }
    #header #headermain #headermainmenu
    {
        display:none !important;
    }

    #header #headerbanner .headerinner
    {
        display:block;
    }
    #header #headerbanner #headerbannertext
    {
        display:block;
    }
    #header #headerbanner #headerbannerhide
    {
        display:block;
        text-align:right;
        padding-top:5px;
        width:auto;
    }

    #header #headercookie #headercookietext,
    #header #headercookie #headercookieclose
    {
        float:none;
        width:100%;
        text-align:left;
    }

    #mobilemenu
    {
        display:block;
        width: 280px;
        margin-top: 0;
        position: absolute;
        top: 0;
        z-index: -2;
        padding: 0 20px 0 0;
        opacity: 0;
        -webkit-transform: translate(-280px,-170px);
        -ms-transform: translate(-280px,-170px);
        -o-transform: translate(-280px,-170px);
        transform: translate(-280px,-170px);
        -webkit-transform: scale(.8);
        -moz-transform: scale(.8);
        -o-transform: scale(.8);
        -ms-transform: scale(.8);
        transform: scale(.8);
        -webkit-transition: transform .4s ease-out 0s,opacity .55s ease-in .1s;
        -o-transition: transform .4s ease-out 0s,opacity .55s ease-in .1s;
        transition: transform .4s ease-out 0s,opacity .55s ease-in .1s;
    }
    #mobilemenutop button
    {
        float: right;
        margin-right: 15px;
        background-color: transparent;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
        cursor: pointer;
        margin-top: 6px;
        margin-bottom: 21px;
        height: 37px;
        padding: 4px;
        position: absolute;
        left: 0;
        -webkit-transition: all .4s ease-out .1s;
        -o-transition: all .4s ease-out .1s;
        transition: all .4s ease-out .1s;
        font-size: 42px;
        left: auto;
        right: 0;
        color:#51534a;
        outline:0;
    }
    #mobilemenutop h2
    {
        padding: 31px 51px 41px 47px;
        background: #fff;
        color: #4c2f48;
        font-size: 43px;
        line-height: 42px;
        text-align: center;
        margin:0;
        font-weight:500;
        font-family: 'Effra Regular',arial,sans-serif;
    }
    #mobilemenucontainer ul
    {
        padding:0;
        margin:0;
        list-style-type:none;
    }
    #mobilemenucontainer ul li
    {
        display:block;
        border-bottom: 1px solid #fff;
    }
    #mobilemenucontainer ul li a
    {
        background: #e8e9e6;
        color: #51534a;
        text-shadow: 1px 1px 0 #fff;
        display:block;
        font-size: 19px;
        font-family: 'Effra Regular',arial,sans-serif;
        padding: 6px 13px 8px;
        left: 0;
        -webkit-transition: all .15s ease-out 0s;
        -o-transition: all .15s ease-out 0s;
        transition: all .15s ease-out 0s;
        text-decoration:none;
        position:relative;
    }
    #mobilemenucontainer ul li.selected a,
    #mobilemenucontainer ul li a:hover
    {
        background: #4c2f48;
        color: #fff;
        text-shadow: none;
    }


    #maincontent,
    #mainwidgets
    {
        float:none;
        width:100%;
    }

    #wrapper.homepage #mainwidgets
    {
        margin-top:40px;
    }

    #mainwidgets::after
    {
        display:table;
        content:" ";
        clear:both;
    }
    #mainwidgets #mainwidgetmenu
    {
        display:none;
    }
    #mainwidgets #mainwidgetscontainer .mainwidget
    {
        width:calc(50% - 15px);
        float:left;
    }
    #mainwidgets #mainwidgetscontainer .mainwidget:nth-child(odd)
    {
        margin-right:15px;
    }
    #mainwidgets #mainwidgetscontainer .mainwidget:nth-child(event)
    {
        margin-left:15px;
    }

    #footer #footerupper,
    #footer #footermenu,
    #footer #footeroperated
    {
        display:block;
        width:100%;
        text-align:left;
    }
    #footer #footeroperated
    {
        margin-top: 20px;
    }
}

@media screen and (max-width:767px)
{
    #header #headermain #headermainmobiletrigger
    {
        margin-left: 21px;
    }

    #maincontent
    {
        padding:0 30px;
    }
}


@media screen and (max-width:620px)
{
    #mainwidgets #mainwidgetscontainer .mainwidget
    {
        float:none;
        width:100%;
        margin-left:0 !important;
        margin-right:0 !important;
    }
}




#accesslinks, .skiplink
{
	display:none;
}

#doNotUseMessage
{
	width:100%;
	color:red;
	font-size:1.0em;
	font-weight:bold;
	text-align:center;
	float:left;
}
#doNotUseMessage p
{
	margin:0px;
}


/* Grid table */
.gridtable
{
    width:100%;
    margin-bottom:25px;
}
.gridtable thead tr
{
    font-weight:bold;
}
.gridtable tbody tr:nth-child(odd),
.gridtabledark tbody tr:nth-child(odd)
{
    background-color:#e8e9e6;
}


.picklistctrl
{
	margin: 0px 0px 0px 0px;
	overflow: auto;
	padding: 0px 0px 0px 0px;
	height: 100px;
	border: 1px solid black;
	background-color: white;
}
.picklistctrl .row
{
	padding: 2px 2px 2px 2px;
}
.picklistctrl .checkbox
{
	float:left;
	width:20px;
}
.picklistctrl input
{
	border:0px;
	background-color: white;
}
.picklistctrl .descr
{
	float:left;
	padding-top:3px;
}
.picklistctrl .value
{
	float:right;
}
.picklistctrl .valuectrl
{
	border:solid 1px black;
	width:60px;
}

.redHilite
{
	color: #c00;
}

.ErrorText
{
	color: red;
}

.hoverover
{
	border-bottom: blue 1px dotted;
}

.autoSaveDiv
{
	color: red;
}

input, textarea, select {
	font-family:verdana,sans-serif;
	font-size:14px;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:normal;
}

textarea {
    resize: vertical;
}



.listwithproperwrap input {
    float:left;
    margin-top:3px;
}
.listwithproperwrap label {
    margin:0 0 6px 25px;
    display:block;
}
.listwithproperwrap > label:last-child,
.listwithproperwrap span:last-child label {
    margin-bottom:0;
}
.listwithproperwrap br {
    display:none;
}

  
/* Allow for accessibility on radiobuttonlist/checkboxlist */
fieldset.radiobuttonlist, fieldset.checkboxlist
{
    border:0;
    padding:0;
    margin:0;
}
fieldset.radiobuttonlist legend, fieldset.checkboxlist legend
{
    width:100%;
    margin:0;
    padding:0;
    *margin-left: -7px;
}


.editContentContainer
{
    position:relative;
    min-height:25px;
}
.editContentContainerHighlight
{
    background-color:rgba(255,0,0,0.3);
}
.editContentEdit
{
    position:absolute;
    top:0;
    right:0;
    border:1px dotted #c0c0c0;
    margin-bottom:2px;
}
.editContentEdit img
{
    margin:3px 0 3px 3px;
    display:block;
}



/* General container for main content area controls */
.formattedcontrols
{
    position:relative;
}
.formattedcontrols p,
.formattedcontrols .radiobuttonlist,
.formattedcontrols .checkboxlist
{
    margin:15px 0 !important;
}
/* Limited width so it doesn't go full width on large screens */
.formattedcontrols .limitedwidth
{
    max-width:300px;
    width:100%;
}
.formattedcontrols .fullwidth
{
    width:100%;
}
.formattedcontrols textarea.fullwidth
{
    resize:vertical;
}
.formattedcontrols .blockspan
{
    display:inline-block;
    margin-right:10px;
}


/* Info label */
.infolabelerror p
{
    padding-left:30px;
    min-height: 25px;
    background: url("../../../../images/shared/error2.png") no-repeat;
    color:#a40000;
}
.infolabelinfo p
{
    padding-left:30px;
    min-height:25px;
    background: url("../../../../images/shared/info2.png") no-repeat top left;
    color:#204a87;
}


/* jquery dialog header */
.ui-widget-header
{
    background-color:#4c2f48 !important;
}

/*Skip to main content link*/
.skipToContent
{
    left:40px;
    top:-70px;
    position:fixed;
    border:2px solid black;
    background:white;
    text-align:center;
    text-decoration:none;
    z-index:1000;
}
.skipToContent:focus
{
    top:40px;
    opacity:1;
    outline:1px solid grey;
}
.skipToContent div
{
    padding:10px;
}