/* The Modal (background) */
.ModalIcon {
	display: none; 			/* Hidden by default */
	position: fixed; 		/* Stay in place */
	z-index: 1; 				/* Sit on top */
	left: 0;
	top: 0;
	width: 40px; 				/* Full width */
	height: 40px; 			/* Full height */
	padding-left: 3px;
}

.ccModal {
	display: none; 			/* Hidden by default */
	position: fixed; 		/* Stay in place */
	z-index: 99; 				/* Sit on top */
	left: 0;
	top: 10%;
	width: 100%; 				/* Full width */
	height: 100%; 			/* Full height */
	overflow: auto; 		/* Enable scroll if needed */
}

/* Modal Content */
.modalWindow {
	display: none; 				/* Hidden by default */
	position: relative;
	background-color: darkorange;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 40%;
	border-radius: 8px;

	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s
}

.modalBody {
	padding: 2px 16px;
}

.modalButton {
  display: block;
  width: 50px;
  margin: auto; 
  height: 35px; 
  font-size: 14px; 
  border-radius: 8px;
}

/* Modal Content */
.modalContentWindow {
    display: none; /* Hidden by default */
    position: relative;
    background-color: white;
    margin: auto;
    padding: 0;
    padding-left: 1em;
    padding-bottom: 1em;
    border: 1px solid #888;
    width: 550px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modalReportsWindow {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    background-color: white;
    border: 1px solid #888;
    left: 1em;
    top: 1em;
    right: 1em;
    bottom: 3em;
    overflow: auto; /* Enable scroll if needed */
}

.modalDashboardWindow {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    background-color: white;
    color: black;
    border: 1px solid #888;
    left: 1em;
    top: 1em;
    right: 1em;
    bottom: 3em;
    overflow: auto; /* Enable scroll if needed */
    border-radius: 6px;
}

.modalSignatureWindow {
    display: none; /* Hidden by default */
    position: relative; 
    width: 650px;
    background-color: white;
    border: 1px solid #888;
    /*left: 1em;
    top: 1em;
    right: 1em;
    bottom: 3em;*/
    margin: auto;
    margin-top: 2em;
    overflow: auto; /* Enable scroll if needed */
}

.modalFullWindow {
    position: fixed; /* Stay in place */
    background-color: white;
    border: 1px solid #888;
    left: 1em;
    top: 1em;
    right: 1em;
    bottom: 3em;
}

.modalContentHeader {
    padding: 2px 16px;
}

    .modalContentHeader .closebtn {
        text-decoration: none;
        color: black;
        position: absolute;
        top: 0;
        right: 5px;
        font-size: 36px;
        margin-left: 50px;
        cursor: pointer;
    }

.modalContentFullBody {
    padding: 2px 16px;
    overflow: auto;
    width: 100%;
    height: 80%;
}

.modalContentFooter {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.modalContentBody {
    padding: 2px 16px 1em;
    overflow: auto;
}

    .modalContentBody .closebtn {
        text-decoration: none;
        color: black;
        position: absolute;
        top: 0;
        right: 5px;
        font-size: 36px;
        margin-left: 50px;
    }


.modalMaintenance {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 98; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0px;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    font-family: sans-serif;
    background-color: rgba(0,0,0,0.6);
}

.modalReports {
    padding-top: 0px; /* Location of the box */
}

.modalDashboard {
    padding-top: 0px; /* Location of the box */
}

.modalSignature {
    padding-top: 0px; /* Location of the box */
}

/* Modal Content */
.modalCreditCardWindow {
    display: none; /* Hidden by default */
    position: relative;
    background-color: white;
    margin: auto;
    margin-top: 1.5em;
    padding: 0;
    border: 1px solid #888;
    width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modalCreditCardStatus {
    width: 25em;
}

.modalCreditCardBody {
    padding-top: 15px;
}

    .modalCreditCardBody .closebtn {
        text-decoration: none;
        color: black;
        position: absolute;
        top: 0;
        right: 5px;
        font-size: 36px;
        margin-left: 50px;
    }

#modalCreditCardProgressWindow {
    display: none; /* Hidden by default */
    position: relative;
    background-color: white;
    margin: auto;
    margin-top: .25em;
    padding: 0;
    padding-top: 1em;
    padding-bottom: 2em;
    border: 1px solid #888;
    width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.progressContainer {
    width: 50em;
    padding-bottom: 2em;
}

.progressbar {
    counter-reset: step;
    font-weight: bold;
}

    .progressbar li {
        list-style-type: none;
        width: 33%;
        float: left;
        font-size: 12px;
        position: relative;
        text-align: center;
        text-transform: uppercase;
        color: #7d7d7d;
    }

        .progressbar li:before {
            width: 30px;
            height: 30px;
            content: counter(step);
            counter-increment: step;
            line-height: 30px;
            border: 2px solid #7d7d7d;
            display: block;
            text-align: center;
            margin: 0 auto 10px auto;
            border-radius: 50%;
            background-color: white;
        }

        .progressbar li:after {
            width: 100%;
            height: 2px;
            content: '';
            position: absolute;
            background-color: #7d7d7d;
            top: 15px;
            left: -50%;
            z-index: -1;
        }

        .progressbar li:first-child:after {
            content: none;
        }

        .progressbar li.complete {
            color: green;
        }

            .progressbar li.complete:before {
                border-color: green;
                background-color: green;
                color: white;
                font-weight: normal;
                font-family: FontAwesome;
                content: "\f00c";
            }

            .progressbar li.complete + li:after {
                background-color: green;
            }

        .progressbar li.active {
            color: darkorange;
        }

            .progressbar li.active:before {
                border-color: darkorange;
                background-color: darkorange;
                color: white;
            }

            .progressbar li.active + li:after {
                background-color: darkorange;
            }

        .progressbar li.error {
            color: darkred;
        }

            .progressbar li.error:before {
                border-color: darkred;
                background-color: darkred;
                color: white;
                font-weight: normal;
                font-family: FontAwesome;
                content: "\f12a";
            }

            .progressbar li.error + li:after {
                background-color: darkred;
            }

/* modal prefix is ccm */
/* background */
.ccm-bg {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 98; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0px;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    font-family: sans-serif;
    background-color: rgba(0,0,0,0.6);
}

/* content window */
.ccm-cw {
    display: none; /* Hidden by default */
    position: relative;
    background-color: white;
    margin: auto;
    padding: 0;
    padding-left: 1em;
    padding-bottom: 1em;
    border: 1px solid #888;
    width: 550px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* display */
.ccm-display{
    display: block;
}

/* content header */
.ccm-ch {
    padding: 2px 16px;
}

    /* window title */
    .ccm-ch .ccm-wt{
        color: black;
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 1em;
    }

        /* title icon */
        .ccm-ch .ccm-wt .ccm-ti {
            padding-right: .5em;
            margin-bottom: 1em;
        }

    /* close button */
    .ccm-ch .ccm-close {
        text-decoration: none;
        color: black;
        position: absolute;
        top: 0;
        right: 5px;
        font-size: 36px;
        margin-left: 50px;
        cursor: pointer;
        content: "\d7";
    }

    /* close button */
    .ccm-ch .ccm-close:after {
        content: "\d7";
    }
/* content body */
.ccm-cb {
    padding: 2px 16px 1em;
    overflow: auto;
}
