<!-- Alfa specific CSS changes -->
/*
FONTS
******************************/

@font-face {
    font-family: 'dinotcondmedium';
    src: url('../../fonts/alfa/dinot/dinot-condmedium-webfont.eot');
    src: url('../../fonts/alfa/dinot/dinot-condmedium-webfont.eot?#iefix') format('embedded-opentype'), url('../../fonts/alfa/dinot/dinot-condmedium-webfont.woff') format('woff'), url('../../fonts/alfa/dinot/dinot-condmedium-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

    .hasPlaceholder {
        color: #777;
    }
    /*
    GLOBAL
    ******************************/

    h1, h2, h3, h4, h5, h6 {
        font-family: 'dinotcondmedium';
        margin: 0;
        padding: 0 0 10px 0;
    }
    h5, .h5 {
        font-size: 16px;
    }
    h6, .h6 {
        font-size: 14px;
    }

    .h1, h1 {
        font-size: 36px;
        color: #4d9cbc;
    }

    * {
        padding: 0;
        margin: 0;
    }
    html {
        background-color: #fff;
    }
    body {
        margin-top: 0;
        font: 16px/160% Arial, Helvetica, sans-serif;
        color: #5f574f;
    }
    p {
        padding-bottom: 10px;
    }
    a, a:link, a:active, a:visited {
        color: #c30717;
    }
    a:hover {
        color: #333333;
        text-decoration: none;
    }

    /*
    BOXES
    ******************************/

    h3.section-title {
        background-color: #ffffff;
        color: #585858;
        font-family: 'dinotcondmedium';
        font-weight: unset;
        -webkit-border-radius: 8px 8px 0px 0px;
        -moz-border-radius: 8px 8px 0px 0px;
        -ms-border-radius: 8px 8px 0px 0px;
        -o-border-radius: 8px 8px 0px 0px;
        border-radius: 8px 8px 0px 0px;
        font-size: 27px!important;
        line-height: 64px;
        height: auto;
        padding: 0;
        margin: 0;
        border: 1px solid #d9d9d9;
        border-bottom: none;
    }

    .card.card-v2 {
        border: 1px solid #d9d9d9;
        border-top: none;
    }

    .flex-footer {
        border-top: none;
    }

    .card.card-minimal h5 {
        border-bottom: 1px solid #D7E9F4;
        background-color: #D7E9F4;
    }

    .modal-header {
        background: transparent;
        min-height: 16.42857143px;
        padding: 15px;
        border-bottom: 1px solid #e5e5e5;
    }

    .modal-footer {
        margin-top: 15px;
        border-top: 1px solid #e5e5e5;
    }

    .modal-dialog .modal-header {
        background: #FFF!important;
    }

    .modal-dialog.modal-notify .modal-header {
	    border: 0;
	    border-bottom: 1px solid #e5e5e5;
	    box-shadow: none;
	}

    /* TEXT
    ******************************/
    .md-form .form-control.is-invalid ~ label {
        color: #585858!important;
    }

    .card.card-minimal h5.card-title {
        font-size: 20px;
    }

    .mb-0, .my-0 {
        font-size: 14px;
    }

    .md-form label.active {
        font-size: 16px;
        font-weight: bold;
        color: #5f574f;
    }

    .modal-title {
        color: #4d9cbc;
        margin: 0;
        font-family: 'dinotcondmedium';
        font-size: 24px!important;
        margin: 0;
        padding: 0 0 10px 0;
    }

    /*
    BUTTONS
    ******************************/

    .btn-primary {
        background-image: none!important;
        background-color: #c30717!important;
        border: none!important;
    }
    .btn-primary:hover, .btn-primary:focus {
        background-color: #5f574f!important;
    }
    .btn-primary:active, .btn-primary.active {
        background-color: #c30717!important;
    }
    div.btn a, div.btn a:link, div.btn a:active, div.btn a:visited {
        color: #fff;
    }

    .material-icons {
        color: #4d9cbc;
    }

    .fa {
        color: #4d9cbc;
        font-size: 14px;
    }

    .close:hover, .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
        filter: alpha(opacity=50);
        opacity: .5;
    }

    .close .material-icons {
        font-size: 21px;
        font-weight: bold;
        line-height: 1;
        color: #000;
        text-shadow: 0 1px 0 #fff;
        filter: alpha(opacity=20);
        opacity: .2;
    }

    .close .material-icons:hover, .close .material-icons:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
        filter: alpha(opacity=50);
        opacity: .5;
    }

    .btn .material-icons {
        color: #c30717;
    }

    .btn .material-icons:hover, .btn .material-icons:focus {
        color: #5f574f;
    }

    .btn .material-icons:active, .btn .material-icons.active {
        color: #c30717;
    }
	
	.btn-primary:not([disabled]):not(.disabled).active, 
	.btn-primary:not([disabled]):not(.disabled):active, 
	.show>.btn-primary.dropdown-toggle {
		background-color: #5f574f!important;
	}


	.btn-add-account i.material-icons {
		display: none;
	}
	
	.modal .btn.btn-danger {
		background-color: #c30717!important;
		border: none!important;
	}

	.modal .btn.btn-danger:hover {
		background-color: #5f574f!important;
	}
	
	
	/* INPUT
    ******************************/
	input[name="paymentMethod.accountNumber"][value=""] ~ .pm-accepted-cards.pm-icon {
		opacity: 1!important;
		right: 0.5rem;
		top: -25px;
	}
	
	select.browser-default {
		font-family: Arial, Helvetica, sans-serif;
	}

    /* HEADER
    ******************************/
    .headerOverlay {
        background-color: unset;
        border-bottom: none;
        background-image: url(../../../www/images/alfa/bkgd-navbar.png);
    }


    .headerOverlay, .headerContainer, .title-vertical {
        height: 120px;
    }

    .headersplit {
        width: 1px;
        margin-top: 25px;
        height: 69px;
        background: #CCCCCC;
    }

    .logoContainer img {
        max-height: 120px;
    }

    .logoContainer {
        margin: 0px 10px 0px 0px;
    }


    /*
    Responsive - Min-Width 320 - Max Width 767px
    ******************************/

    @media (min-width: 320px) and (max-width: 767px) {
        h1 {
            font-size: 26px;
        }

        h3.section-title {
            font-size: 20px !important;
        }
    }
	
	@media screen and (min-width: 577px) and (max-width: 768px) {
		table.table.table-component tr.payment-amount-option-row {
			line-height: 45px;
		}
	}
	
	@media screen and (max-width: 576px) {
		table.table.table-component tr.payment-amount-option-row {
			line-height: 26px;
			margin-bottom: 25px;
		}
		
		table.table.table-component tr.payment-amount-option-row .input-group.md-form.input-group-minimal {
			margin-top: 12px!important;
			margin-left: 35px!important;
		}
		
		table.table-receipt tr td.text-right.detailItemsReceipt {
            border-right: 1px solid #e0e0e0;
        }
	}
	
	@media screen and (max-width: 414px) {
		h3.section-title {
			font-size: 18px !important;
			padding-left: 20px;
			padding-top: 5px;
			line-height: 30px;
		}
		
		h3.section-title .section-icon {
			margin-left: -5px;
			margin-right: 2px;
		}
		
		h3.section-title .section-icon img {
			max-height: 40px;
		}
	}
	

	@media screen and (min-width: 376px) and (max-width: 414px) {
		.form-control,
		select.browser-default,
		[type=radio]+label, [type=checkbox]+label,
		:not(.selectize) label.browser-default-label,
		.md-form label.active {
			font-size: 14px;
		}
	}

	@media screen and (max-width: 375px) {
		.form-control,
		select.browser-default,
		[type=radio]+label, [type=checkbox]+label,
		:not(.selectize) label.browser-default-label,
		.md-form label.active {
			font-size: 12px;
		}
	}


    /* set the payment information table layout to fixed so that width calc works */
    table.table-payment {
        table-layout: fixed;
    }

    /* payment information table, set the th/td column with the checkbox to 68px) */
    th.account-sel-col,
    td.account-sel-col {
        width: 68px;
    }

    /* payment information table, set the width of other columns factoring in the 68px */
    th.account-num-col,
    th.payment-type-col,
    th.amount-due-col,
    th.payment-amount-col,
    td.account-num-col,
    td.payment-type-col,
    td.amount-due-col,
    td.payment-amount-col {
        max-width: calc(25% - 17px);
        width: 100%;
    }

    /* remove background hover on table component header */
    table.table-component.table-hover tbody tr:hover {
        background-color: transparent;
    }

    /* review payment table */
    th.review-item-code-col,
    th.review-payment-type-col,
    th.review-payment-amount-col,
    td.review-item-code-col,
    td.review-payment-type-col,
    td.review-payment-amount-col {
        width: 25%;
    }

    :not(.selectize) label.browser-default-label {
        font-size: 16px;
        font-weight: bold;
        color: #5f574f;
    }

    .cc-dc-title {
        font-size: 16px;
        font-weight: bold;
        color: #5f574f;
    }

    .display-label {
        font-size: 16px;
        font-weight: bold;
        color: #5f574f;
    }
    
    .section-logo img {
        max-height: 45px;
        float: right;
        display: none;
    }
    
    @media print {
        .section-logo img {
            max-height: 100px !important;
            float: initial !important;
            display: block !important;
            margin-left: 15px !important;
        }
        .section-icon img {
            display: none !important;
        }
        .section-text {
            font-size: 45px!important;
            font-family: 'Arial, Helvetica', sans-serif !important;
            color: black !important;
        }
        table.table-receipt tr td {
            font-size: 27px!important;
            font-family: 'Arial, Helvetica', sans-serif !important;
        }
        .mdb-container p {
            font-size: 27px!important;
            font-family: 'Arial, Helvetica', sans-serif !important;
        }
        .card .card-body h3.payment-component-title {
            font-size: 45px!important;
            font-family: 'Arial, Helvetica', sans-serif !important;
        }
        .headerOverlay {
            display: none !important;
        }
        @page { 
            margin: 0 !important; 
        }
        #confirmationOverlay {
            display: none !important;
        }
        .ropp-footer {
            display: none !important;
        }
    }
    
    table.table-receipt tr td.detailItemsReceipt {
        white-space: normal;
        border-top: none;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
