/*
Overwrite standard html tag styles
*/
body {
    margin: 0;
}
img{
    border: none;
    text-decoration:none;
}
hr {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
}
select {
    padding: 4px;
}

.redirectIframe {
    width:100%;
    height:85%;
    border:0;
    position: absolute;
    top: 75px;
    left: 0;
    background-color: #fff;
}

button:hover {
    box-shadow: inset 1px 1px 1px #a8a8a8, 1px 1px 1px #575757;
}

/*
overwrite bootstrap vars
*/
select.form-control {
    padding-right: 0 !important;
}

.control-label {
    text-align: right;
}

.modal {
    color: #222;
}

/*
Set printing display
*/
@media print {
    .print{
        display:inline;
    }
    .no-print{
        display:none;
    }
}

/*
Misc styles
*/
.Top {
    margin-top: 5px;
    margin-bottom: 10px;
}
#Main {
    min-width: 390px;
}

#paymethods {
    margin: 0 auto;
    max-width: 520px;
}
.Bottom {
    margin-top: 10px;
    margin-bottom: 5px;
}
.initialHide {
    display: none;
}
.ui-icon {
    display: inline-block;
}
.no-style{
    border:none;
    text-decoration:none;
}
#ptype .Button {
    width:210px;
}

#errorBox{
    -moz-border-radius: 6px;
    background-color: #fff;
    -webkit-border-radius: 6px;
    border: 1px solid #666666;
    -webkit-box-shadow: rgba(0,0,0,.6) 0px 2px 12px;
    -moz-box-shadow:  rgba(0,0,0,.6) 0px 2px 12px;
    padding: 6px 6px;
    max-width: 500px;
    display:none;
}
.scriptError{
    color: #ffffff;
    font-weight: bold;
    background-color: #870000;
    background: -webkit-gradient(linear, left top, left bottom, from(#C70000), to(#870000));
    background: -moz-linear-gradient(top,  #C70000,  #870000);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#C70000', endColorstr='#870000');
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    padding: 2px;
}
.warning {
    top: 0;
    left: 0;
    width:100%;
    font-size: 12px;
    font-weight: bold;
    vertical-align: middle;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #242424;
    line-height: 20px;
    text-align: center;
    border: 1px solid #CCCCCC;
    background: #f9f9f9;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y5ZjlmOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlM2UzZTMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #f9f9f9 0%, #e3e3e3 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#e3e3e3));
    background: -webkit-linear-gradient(top,  #f9f9f9 0%,#e3e3e3 100%);
    background: -o-linear-gradient(top,  #f9f9f9 0%,#e3e3e3 100%);
    background: -ms-linear-gradient(top,  #f9f9f9 0%,#e3e3e3 100%);
    background: linear-gradient(to bottom,  #f9f9f9 0%,#e3e3e3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#f9f9f9", endColorstr="#e3e3e3",GradientType=0 );
}
.detail{
    font-weight: bold;
    text-align: right;
    padding-right: 3px;
}
.value{
    text-align:left;
}

.red-tooltip {
    white-space: nowrap;
}

.tooltip.top .tooltip-inner {
    background-color: #c12e2a;
}
.tooltip.top .tooltip-arrow {
    border-top-color: #c12e2a;
}

.tooltip.right .tooltip-inner {
    background-color: #c12e2a;
}
.tooltip.right .tooltip-arrow {
    border-right-color: #c12e2a;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.iframeWarning {
    color: #222;
    min-width: 415px;
    margin: 0 auto;
}
/*
Custom Buttons
*/
.pay-btn {
    width: 228px !important;
    border: none !important;
    text-indent:-9999px !important;
    cursor: pointer !important;
}

* html .pay-btn {
    font-size:0 !important;
    display:block !important;
    line-height:0 !important;
}

*+html .pay-btn {
    font-size:0 !important;
    display:block !important;
    line-height:0 !important;
}

/* Paypal */
.paypal-btn {
    background: url(../images/paypal_button.png) no-repeat 50% 50% !important;
    height: 44px !important;
}

/* Masterpass */
.masterpass-btn {
    background: url(../images/masterpass_button.png) no-repeat 50% 50% !important;
    height: 53px !important;
}

@media (max-width: 767px) {
    .control-label {
        text-align: left;
    }

    .iframeWarning {
        font-size: 10px;
    }
}

.dummy {
    padding-top: 100%; /* forces 1:1 aspect ratio */
}

.img-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    text-align:center; /* Align center inline elements */
    font: 0/0 a;
}

.img-container:before {
    content: ' ';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.img-container img {
    vertical-align: middle;
    display: inline-block;
}

.img-responsive {
    display: inline;
    max-width:100%;
    height: auto;
}