/*****************************************************
* Alerts
* Cactusoft Ltd - www.cactusoft.com
* Copyright © 1998 - 2012. All rights reserved.
* Build date: 18 June 2012 | Dean Carslake
*****************************************************/

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea {
    background-color: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin-bottom: .5rem;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
textarea:focus {
    background-color: #f7f7f7;
}

input[type="text"][disabled],
input[type="password"][disabled],
input[type="date"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="month"][disabled],
input[type="week"][disabled],
input[type="email"][disabled],
input[type="number"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="time"][disabled],
input[type="url"][disabled],
textarea[disabled],
input[readonly], input[readonly]:focus {
    background-color: #f7f7f7;
    box-shadow: none;
    color: #999;
}

label {
    margin: 0.5rem 0 0.35rem;
}

textarea.input {
    min-height: 5em;
}

select, select:hover {
    width: 100%;
    margin-bottom: 0.5rem;
    background-color: #fff;
}

h1 {
    font-family: "Open Sans", sans-serif;
    font-size: 1.375em;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 1rem;
}


.list.Field {
    list-style: disc;
    margin: 0;
}

.list li {
    line-height: 1.5em;
    margin: 10px 0;
}

.list li input {
    width: auto;
}


/*----- General classes -----*/
.block {
    display: block !important;
}

.inline {
    display: inline !important;
}

.none {
    display: none !important;
}

.spacer {
    clear: both;
    height: 1px;
    overflow: hidden;
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

.clearRight {
    clear: right;
}

.clearLeft {
    clear: left;
}

.clear {
    clear: both;
}

.extradetail_newline {
    clear: both;
    font-size: 1em;
    color: #999;
    margin: 3px 0 6px 0;
    width: 500px;
}

.normal {
    font-weight: normal;
}

.bold {
    font-weight: bold;
}

.required {
    color: #F26122;
}

.white {
    color: #FFF;
}

.textLeft {
    text-align: left;
}

.textCenter {
    text-align: center;
}

.textRight {
    text-align: right;
}

.vAlign {
    vertical-align: middle;
    margin-bottom: 3px;
}

.uline {
    text-decoration: underline;
}

.extradetail {
    font-size: 0.7em;
    margin: 0.4rem 0 0.6rem;
}

label .extradetail {
    font-size: 0.85em;
}

.mgn-top {
    margin-top: 1rem;
}

.mgn-btm {
    margin-bottom: 1rem;
}

/* used to wrap a div. */
.wrap {
    display: block;
}

.wrap:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}


/*----- Page structure -----*/
#fancybox-content,
html, body {
    min-height: 150px;
    background-color: #FFF;
}

body {
    color: #58585a;
}

/***
Form styling, elements etc.
****/
.FieldWrap {
    clear: both;
}

.FieldWrap::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}


label.indent {
    margin-left: 160px;
}

.Field .extradetail {
    margin-bottom: 1em;
    display: inline-block;
}

.FieldWrapWide {
    margin-bottom: 0.5em;
}

.FieldWrapWide > label {
    display: inline;
    float: none;
}

.checkbox-field {
    padding-top: 0.45em;
}

.required-label {
    margin-top: 0.7rem !important;
    margin-right: 2%;
    font-size: 0.8rem;
}

form [class*="input-"] {
    display: inline-block;
}

form [class*="input-"]:last-child {
    margin-right: 0;
}

form .input-15 {
    width: 15% !important;
    min-width: 25px !important;
}

form .input-20 {
    width: 20% !important;
    min-width: 30px !important;
}

form .input-25 {
    width: 24% !important;
    min-width: 40px !important;
}

form .input-30 {
    width: 30% !important;
    min-width: 50px !important;
}

form .input-35 {
    width: 35% !important;
    min-width: 60px !important;
}

form .input-40 {
    width: 40% !important;
    min-width: 100px !important;
}

form .input-45 {
    width: 45% !important;
    min-width: 105px !important;
}

form .input-50 {
    width: 50% !important;
    min-width: 110px !important;
}

form .input-55 {
    width: 55% !important;
    min-width: 120px !important;
}

form .input-60 {
    width: 60% !important;
    min-width: 130px !important;
}

form .input-80 {
    width: 80% !important;
    min-width: 150px !important;
}

/* inline fields */
.inline-fields {
    margin: 0.5rem 0 1rem;
}

.inline-fields > label {
    float: none;
    width: auto;
    margin: 0;
}

.inline-fields > input {
    float: none;
    width: auto;
    margin-bottom: 0;
    vertical-align: middle;
}

.inline-fields input:first-child {
}
/* two inline fields i.e. price/salary */
.FieldWrap .two-inline {
    position: relative;
    width: 48%;
    float: left;
    min-width: initial;
}

.FieldWrap .two-inline:last-child {
    float: right;
}

/* List contained within the right hand .Field element */
.FieldWrap .list ul {
    margin: 0;
}

.FieldWrap .list input {
    width: auto;
    float: none;
}


/* buttons with icons */
.button[class*="large-"] {
    margin-right: 10px;
}

.button[class*="large-"]:last-child {
    margin-right: 0;
}

.button.submit-button {
    border-radius: 3px;
    -webkit-border-radius: 3px;
    background-color: #4A90E2;
    border: none;
    color: #fff;
    margin: 1.5rem 0;
}

.button.submit-button:hover {
    background-color: #327bd0;
}

/* 
Warning/Caution/Info boxes 

warning - red
caution - yellow with caution icon
hintBox - yellow without icon
info - yellow
applied - green
*/

#formErrors {
    padding: 10px 0;
}


.cautionBox, .success-message {
    display: block;
    font-weight: bold;
    border: solid 1px #ff982a;
    margin-bottom: 10px;
    padding: 10px 10px 0px 40px;
    min-height: 50px;
}

.cautionBox {
    background: #fff1d9 url(/images/icon_caution.png) no-repeat 5px 5px;
}

div.cautionBox p {
    margin: 0 2px 8px 2px !important;
    padding: 0;
    font-size: 1em;
}

div.cautionBox h4 {
    margin-top: 0;
}

.success-message {
    background: #f4ffe8 url(/images/icon_success.png) no-repeat 5px center;
    border-color: #81cc29;
    padding: 10px 10px 0 50px;
    margin: 0;
    line-height: normal;
    color: #555;
}

.questionBox {
    background-image: url(/images/icon_caution.png);
}

.questionBox .submit-button {
    margin: 10px 10px;
    border: none;
    background-color: #b4db10;
    }


.loadingPanel {
    background: #FFF url(../templateimages/Loading.gif) no-repeat center center;
    width: 100%;
    height: 100px;
    display: none;
}

/*-----------------------------------------------------------------------------------------------*/
/*                                            TOOLTIP                                            */
/*-----------------------------------------------------------------------------------------------*/
.relative {
    position: relative;
}

.toolTip {
    cursor: help;
    margin: 8px 0 0 5px;
    float: left;
}

.infoBoxToolTip {
    position: absolute;
    left: 385px;
    top: 10px;
    z-index: 1000;
    width: 250px;
    display: none;
    filter: alpha(opacity=95);
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=95);
    opacity: 0.95;
    font-size: 0.9em;
    border: solid 1px #ffdba2;
    background: #fffee8;
    padding: 10px;
}

.appMethod {
    top: 10px !important;
}

div.infoBoxToolTip span.main {
    margin: 8px 0 !important;
}

.infoBoxToolTip h3 {
    margin: 0;
}

.infoBoxToolTip .right {
    float: right;
    margin: 8px 8px 0 0;
}

.ToolTipWide {
    position: relative;
}

.ToolTipWide .infoBoxToolTip {
    left: 315px !important;
}

.absoluteBox {
    position: absolute;
    left: 405px;
    top: 0px;
    z-index: 1000;
    width: 260px;
    font-size: 0.9em;
}

/* Advanced fields panel */
.expand {
    margin: 0 0 1rem;
    background: #FFF;
    padding: 7px 10px;
    border: solid 1px #FFF;
    outline: none;
    text-align: center;
}

.expand:hover, .expandActive {
    border-color: #CCC;
    outline: none;
}


/* Checkboxes list */
.field-list {
    padding: 0;
    margin: 20px 0 0;
    height: 100%;
    line-height: 1;
}

.field-list li {
    margin: 0.3rem 0;
    padding: 0;
    list-style: none;
}

.field-list li label {
    float: none;
    width: auto;
    line-height: 1;
}

.field-list li input {
    vertical-align: middle;
    float: none;
    width: auto;
    margin-bottom: 0;
}

.Field.field-list {
    margin: 0 0 1rem;
}

/* Alerts footer message */
.message {
    font-size: 0.75rem;
}

/* Other sections checkboxes */
.other-sections {
    margin: 1.5rem 0 0;
}

.other-sections p {
    font-size: 0.75rem;
}

.other-sections label {
    font-size: 1rem;
}


/* Events date layout */
.inlineDetails {
    clear: left;
    float: left;
    width: 71%;
}

.inlineDetails label {
    width: 43.5%;
}

.inlineDetails input {
    float: left;
    margin-left: 2%;
}

.date-notice {
    float: right;
    width: 29%;
    font-size: 0.7rem;
    line-height: 1.3;
}


/**********************************************
MEDIA QUERIES
***********************************************/
/** large screens **/
@media only screen and (min-width: 930px) {
}
/** tablet and mobile **/
@media only screen and (max-width: 930px) {
}
/** mobile **/
@media only screen and (max-width: 370px) {
    .FieldWrap label {
        width: 100%;
        float: none;
    }

    .FieldWrap.inline-fields label {
        width: auto;
        float: none;
    }

    .FieldWrap input,
    .FieldWrap select {
        width: 100%;
    }

    .FieldWrap.inline-fields input,
    .FieldWrap.inline-fields select {
        width: auto;
    }

    .inline-fields input:first-child {
        margin-left: 0;
    }

    .FieldWrap .Field,
    .FieldWrap input,
    .FieldWrap select,
    .FieldWrap textarea {
        width: 100%;
        float: none;
    }

    .date-notice {
        float: none;
        width: 100%;
    }

    .inlineDetails {
        float: none;
        width: 100%;
    }

    .inlineDetails label {
        width: 100%;
    }

    .inlineDetails .input-35 {
        float: left;
        margin-left: 0;
        width: 160px !important;
    }

    .other-sections .cb-label {
        display: block;
        padding: 3px 0;
    }

    .dd-planning {
        margin-top: 1.25rem;
    }
}

@media only screen and (min-width: 370px) {
    .cb-planning {
        float: left;
        width: 32%;
        padding: 3px 0;
        margin-top: 16px;
    }

    .dd-planning {
        margin-top: 16px;
        float: left;
        width: 66%;
    }

    .firstoptions {
        width: 100%;
        float: left;
    }

    #postcode {
        width: 90px;
    }
}

.cb-toggle label {
    float: left;
    font-size: 13px;
    width: 186px;
}

#allParish  {
    margin-top: 10px;
    float: left;
}


