/**
 * SalesGull
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magento.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magento.com for more information.
 *
 * @category    SalesGull
 * @package     SalesGull_CheckoutPremium
 * @copyright   Copyright (c) 2016 SalesGull, Lda (http://salesgull.pt)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

/* General */
.page { position: relative; }
.required { color: #f00; }

/* Header */
#header { overflow: hidden; position: relative; border-bottom: 0 !important; margin: 30px 10px 20px; }
#header .logo { float: left; width: 49%; }
#header .header-static-info { float: right; overflow: hidden; width: 49%; text-align:left; }
#header .logo img, #header .header-static-info img { max-width: 100%; }

/* Content */
#cp-content { }
#cp-content .checkout-steps { margin-bottom: 30px; }
#cp-content .col { width: 80%; margin: 0 auto; padding: 25px; border-radius: 3px; box-shadow: 0 0 3px rgba(0,0,0,0.3); }
#cp-content .cp-form {}
#cp-content .cp-form > div:first-child { margin-bottom: 20px; }
#cp-content .cp-form .validation-advice { padding: 10px 5px; }
#cp-content .cp-form #validation-login,
#cp-content .cp-form #validation-register { display: none; }
#cp-content .cp-form .validation-advice ~ br { display: none; }
#cp-content .cp-form input[type=text],
#cp-content .cp-form input[type=email],
#cp-content .cp-form input[type=password] { width: 80%; background-color: #f5f5f5; box-shadow: inset 1px 1px 0px rgba(34,34,34,0.1); border: 0; }
#cp-content .cp-form input[type=submit] {
    background-color: #ffa500;
    color: #fff;
    padding: 5px 20px;
    border-radius: 15px;
    border: 0;
    margin: 10px 0 10px;
    cursor: pointer;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
#cp-content .required-fields-msg { color: #f00; margin-top: 20px; }

/* Footer */
.sg-checkout-premium .footer-container { background:none; }
.sg-checkout-premium .footer { border:0 !important; }

/* Page Loader */
#loading-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999;
}
.loader {
    position: relative;
    top: 40%;
    font-size: 10px;
    margin: 50px auto;
    text-indent: -9999em;
    width: 8em;
    height: 8em;
    border-radius: 50%;
    background: #ffffff;
    background: -moz-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    background: -webkit-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    position: relative;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}
.loader:before {
    width: 50%;
    height: 50%;
    background: #999;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}
.loader:after {
    background: rgba(255,255,255,0.8);
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
@-webkit-keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Cart */
.cart { margin:10px 15px; }

/* Success Page */
.success-page {margin:10px 20px 0; }
.order-summary { width:90%; margin:0 auto; border:1px solid #e5e5e5; padding:20px; }
.order-summary .box-payment .box-content table{ width:100%; table-layout:fixed; word-break:break-word; }
.print-link{ display:table;margin:10px auto;text-align:center; color:#333333;}
.print-link:hover{ color:#999999;}
.print-link span{ background:url(../../images/img_print.png) 0 center no-repeat; width:32px; height:32px; display:block; margin:0 auto; }

/* width < 650px */
@media only screen and (max-width: 649px) {
	.order-summary .col2-set .col-1, .order-summary .col2-set .col-2 { width:100% }
	.order-summary .col2-set .col-1 { border-right:none; margin-bottom:20px; }
	.order-summary .col2-set .col-1 .box { padding-right:0; }
}