/*

	Email page styles
	
	Author:		Jay Dobson <jdobson@esolutionsgroup.ca>
	Date:		October 14, 2008	
	
*/

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    padding: 0px;
    margin: 0px;
    font: 12px/15px "Helvetica Neue", Arial, Helvetica, sans-serif;
}

a, a:active, a:visited {
    color: #00539b;
    text-decoration: none;
}

    a:hover, a:focus {
        color: #d89738;
        text-decoration: none;
    }

#header {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-repeat: repeat-x;
    position: relative;
    padding-right: 130px;
}

    #header #logo {
        padding: 20px 0;
        margin-left: 20px;
        overflow: hidden;
        /*background: transparent url(/en/images/structure/logo_small.png) no-repeat 0 10px !important; */
    }

        #header #logo img {
            width: 100%;
            max-width: 200px;
            vertical-align: bottom;
        }

.closeButton {
    display: inline-block;
    text-align: center;
    padding: 3px 5px;
    width: 100px;
    border: solid 1px #ccc;
    border-radius: 3px;
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: .9em;
}

    .closeButton:hover,
    .closeButton:active,
    .closeButton:focus {
        color: #00539b;
        background: #f1f1f1;
    }

#title {
    height: auto;
    background-color: #98002e;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 12px;
    padding: 10px 20px 10px 20px;
}

.formArea {
    padding: 20px;
}

.textbox {
    font-size: 11px;
    padding: 2px;
    background: #FFFFFF;
    width: 95%;
}

.textboxfocus {
    font-size: 11px;
    padding: 2px;
    background: #f0f4fb;
    width: 95%;
}

span.required {
    color: #990000;
    padding: 0px 0px 0px 5px;
}

div.datarow {
    clear: both;
    width: 100%;
    max-width: 600px;
    position: relative;
    padding-left: 140px;
    margin-bottom: 10px;
}

div.datalabel {
    position: absolute;
    width: 130px;
    left: 0;
    top: 2px;
    line-height: 16px;
}

div.datavalue {
    width: 100%;
}

.datavalue input[type="text"] {
    height: 34px;
    padding: 3px 5px;
    width: 100%;
    font-size: 16px;
}

.datavalue textarea {
    height: 80px;
    padding: 3px 5px;
    width: 100%;
    max-width: 100%;
    font-size: 16px;
}


#errorlabel {
    color: #990000 !important;
    font-size: 13px;
    line-height: 15px;
    margin-top: 10px;
}

@media only screen and (max-width : 480px) {

    div.datarow {
        clear: both;
        width: 100%;
        max-width: 600px;
        position: relative;
        padding-left: 0;
        margin-bottom: 10px;
    }

    div.datalabel {
        position: relative;
        width: 100%;
        left: auto;
        top: auto;
        line-height: 16px;
    }

    div.datavalue {
        width: 100%;
    }
}
