﻿.app-vertical-form .col-md-3.control-label {
    width: 100%;
    margin-bottom: 20px;
    margin-bottom: 10px;
}

.app-vertical-form .col-md-6.control-label {
    width: 100%;
    margin-bottom: 20px;
    margin-bottom: 10px;
}

.app-vertical-form .form-control-static {
    font-size: 19px;
}

/* For "read-only" forms */
.app-vertical-displayform .col-md-6.control-label {
    width: 100%;
    margin-bottom: 20px;
    margin-bottom: 10px;
}

.app-vertical-displayform .form-control-static {
    font-size: 19px;
}

.field-validation-error {
    display: block;
    width: 100%;
    margin-top: 2px;

    /* IW, Added height for use with app check list */
    font-size: 1.6rem;
}


.panel label {
    font-size: 18px;
}

.form-group {
    margin-bottom: 30px;
}

.panel .form-control {
    font-size: 22px;
    height: 50px;
}

.panel textarea.form-control {
    height: auto;
}

textarea.form-control {
    height: auto;
}


form h4 {
    font-size: 22px !important;
    margin: 20px 0 10px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f2f7;
}

.panel-footer {
    padding: 20px;
    background: transparent;
    border-top: 2px solid #f0f2f7;
    border-radius: 0;
}

    .panel-footer .form-group {
        margin-bottom: 0;
    }

/* - - - - - - - - - - - - - - - - - - - - - -
		Checkboxes & Radio buttons
- - - - - - - - - - - - - - - - - - - - - - */

.inputGroup {
    position: relative;
    background-color: #fff;
    display: inline-flex;
    margin: 0;
    margin-right: -1px;
    margin-bottom: -1px;
}

    .inputGroup label {
        padding: 15px 20px 15px 60px;
        font-weight: 600;
        margin: 0 !important;
        width: 100%;
        min-width: 150px;
        display: inline-flex;
        cursor: pointer;
        position: relative;
        z-index: 2;
        overflow: hidden;
        border: 1px solid #c1c0c0;
    }

        .inputGroup label:before {
            width:100%;
            height: 10px;
            content: '';
            background-color: #0556ad;
            background: #0556ad;
            position: absolute;
            left: 50%;
            top: 50%;
            opacity: 0;
            z-index: -1;
        }

        .inputGroup label:after {
            font-family: "FontAwesome";
            font-weight: 300;
            content: "\f00c";
            color: white;
            /*padding: 1px 0 0 4px;*/
            width: 28px;
            height: 28px;
            border: 1px solid #D1D7DC;
            background-color: #fff;
            border-radius: 0;
            z-index: 2;
            position: absolute;
            left: 15px;
            top: 28px;
            transform: translateY(-50%);
            cursor: pointer;
        }

    /* IW, Added - default text colour for labels */
    .inputGroup input ~ label {
        color: #1d1d1d;
    }

    /* IW, Added - default hover text & background colour for labels */
    .inputGroup input ~ label:hover {
        background: #E7EBF7;
    }

    /* IW, Added - text colour for labels with CHECKED options */
    .inputGroup input:checked ~ label {
        color: #fff;
    }

    /* IW, Added - hover text & background colour for labels with CHECKED options */
    .inputGroup input:checked ~ label:hover {
        color: #fff;
        background: #0556ad;
    }

    /* IW, Added - text colour for labels with DISABLED options  */
    .inputGroup input:disabled ~ label {
        color: #bababa;
        cursor: default;
    }

    /* IW, Added - hover text & background colour for labels with DISABLED options */
    .inputGroup input:disabled ~ label:hover {
        background: transparent;
    }

    /* IW, Added - text colour for labels with CHECKED & DISABLED options  */
    .inputGroup input:checked:disabled ~ label {
        color: #fff;
        cursor: default;
    }

    /* IW, Added - hover text & background colour for labels with CHECKED & DISABLED options */
    .inputGroup input:checked:disabled ~ label:hover {
        background: transparent;
    }

    /* IW, Added - The "tick" colour for CHECKED & DISABLED options */
    .inputGroup input:checked:disabled + label:before {
        background-color: #bababa;
    }


    .inputGroup input:checked ~ label:before {
        transform: translate(-50%, -50%) scale3d(56, 56, 1);
        opacity: 1;
    }

    .inputGroup input:checked ~ label:after {
        background-color: #ffffff;
        border-color: #ffffff;
        color: #1d1d1d;
        font-size: 24px;
    }

    /* IW, Added - disabled, with check, colour of check mark  */
    .inputGroup input:checked:disabled ~ label:after {
        background-color: #ffffff;
        border-color: #ffffff;
        color: #d6d6d6;
        font-size: 24px;
    }


    .inputGroup input {
        width: 28px;
        height: 28px;
        order: 1;
        z-index: 2;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        opacity: 0;
    }

    .inputGroup input:focus + label, .inputGroup + label:focus {
        border-color: #66afe9;
        z-index: 100;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
        box-shadow: inset 0 4px 4px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    }

    /* radio button overwrites */
    .inputGroup input[type=radio] ~ label::after {
        font-family: "FontAwesome";
        font-weight: 900;
        content: "\f111";
        border-radius: 50% !important;
        font-size: 17px;
        padding: 0.5px 0px 0px 5.5px;
    }


    /* FontAwesome overwrites */
    .inputGroup span {
        margin: 0 10px 0 0 !important;
        font-size: 26px !important;
    }



    /* radio button overwrites */
    .inputGroup label input[type=radio]::after {
        font-family: "FontAwesome";
        font-weight: 900;
        content: "\f111";
        border-radius: 50% !important;
        font-size: 15px;
        padding: 0.5px 0px 0px 6.5px;
    }

.radio.inputGroup {
    width: auto !important;  
    display: block;
    margin-top: 0;
    padding: 0;
}



    .radio.inputGroup input:checked ~ label {
        background: #0556ad;
    }


/* Select to overwrites */
.select2-selection__placeholder {
	font-size:22px !important;	
}
.select2-container--default
.select2-selection--single {
    background-color: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 0;
    height: 50px;
}


    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
        padding-top: 2px;
        font-size: 22px;
        color: #555555;
    }


    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
        height: 50px;
        position: absolute;
        top: 1px;
        right: 1px;
        width: 30px;
    }


.select2-search--dropdown {
    display: block;
    padding: 0 15px;
}


.select2-search__field {
    background-color: #fff;
    background-image: none;
    border: 1px solid #d6d6d6 !important;
    border-radius: 0;
    color: #555;
    font-size: 20px;
    line-height: 15px;
    height: auto !important;
    margin: 10px 0px;
    min-height: 40px;
    outline: none !important;
    padding: 5px 10px !important;
}


.select2-results__option {
    padding: 15px;
    font-size: 18px;
}


.select2-dropdown {
    border: 1px solid #d9d9d9;
}

.hasCareImages .radio-button-icon {
    margin-right: 10px;
}
        
.hasCareImages .radio-button-icon:hover, .inputGroup:active > .radio-button-icon {
 	/*-webkit-filter: invert(100%) !important;*/
}
        
.hasCareImages .inputGroup label:hover > .radio-button-icon {
  	/*-webkit-filter: invert(100%) !important; */
}
     
.hasCareImages .inputGroup input:checked ~ label > .radio-button-icon {
 	-webkit-filter: invert(100%) !important;
}
        
.hasCareImages .radio.inputGroup {
  	width: 100%!important;
}

@media only screen and (min-width: 991px) {
 	.hasCareImages .radio.inputGroup {
     width: 50%!important;
    } 
}
        
@media only screen and (min-width: 1200px) {
  	.hasCareImages .radio.inputGroup {
    	width: 33.3%!important;
	} 
}
        
.hasCareImages .inputGroup label {
 	padding: 15px 20px 15px 50px;
}

@media (min-width: 991px) {
    .inputGroup {
        width: 33.3%;
    }
}

@media (max-width: 991px) {
    .inputGroup {
        width: 49%;
        margin-right: -4px;
    }
}

@media (max-width: 768px) {
    .inputGroup {
        margin-right: 0px;
    }
}


@media (max-width: 576px) {
    .inputGroup {
        width: 100%;
    }
}
