.xoo-cp-opac { z-index: 99998; background-color: black; opacity: 0.6; position: fixed; display: none; } .xoo-cp-opac,.xoo-cp-modal , .xoo-cp-cont-opac{ top: 0; bottom: 0; left: 0; right: 0; } .xoo-cp-modal { position: fixed; text-align: center; z-index: 99998; overflow: auto; opacity: 0; visibility: hidden; transform: scale(0.7); } .xoo-cp-active{ transition: visibility 0.4s ease-out, opacity 0.4s ease-out, transform 0.4s ease-out; visibility: visible; opacity: 1; transform: scale(1); } .xoo-cp-cont-opac{ z-index: 1; background-color: white; opacity: 0.5; position: absolute; } .xoo-cp-modal:before { content: ''; display: inline-block; height: 100%; vertical-align: middle; margin-right: -0.25em; } .xoo-cp-container { display: inline-block; max-width: 650px; border: #a0a0a0 solid 1px; background: #fff; position: relative; vertical-align: middle; width: 90%; text-align: left; box-shadow: 0 0 10px rgba(0,0,0,.4); border-radius: 5px; overflow: auto; padding: 15px; } i.xoo-cp-close { font-size: 20px!important; color: red; cursor: pointer; position: absolute; top: 2px; right: 2px; } .xoo-cp-success, .xoo-cp-error { padding: 10px; border: 1px solid transparent; border-radius: 4px; display: block; text-align: left; } .xoo-cp-error { color: #a94442; background-color: #f2dede; border-color: #ebccd1; margin-top: 10px; } .xoo-cp-success { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; } .xoo-cp-atcn{ margin: 15px 0; overflow: auto; } .xoo-cp-btns{ margin: 0 auto; clear: both; text-align: center; } a.xcp-btn{ width: 30%; text-transform: uppercase; text-align: center; cursor: pointer; padding: 8px 12px; display: inline-block; } @keyframes xoo-cp-spin { 100%{ transform: rotate(360deg); transform: rotate(360deg); } } .xoo-cp-spinner{ animation: xoo-cp-spin 575ms infinite linear; } .xoo-cp-atc-icon .fa{ margin-left: 4px; } input.xoo-cp-qty{ max-width: 55px; text-align: center; margin: 0 4px; display: inline; } .xoo-cp-qtybox{ vertical-align: middle; font-size: 20px; cursor: pointer; min-width: 123px; width: 20%; } .xoo-cp-qtybox .fa{ display: inline; } td.xoo-cp-ptitle a{ font-weight: 600; font-size: 18px; } td.xoo-cp-pimg{ width: 20%; } .xoo-cp-pdetails{ margin-top: 20px; width: 100%; display: block; overflow: auto; } td.xoo-cp-pprice{ font-size: 20px; margin: 15px 0; width: 15%; } .xoo-cp-pdetails td.xoo-cp-remove{ width: 5%; font-size: 20px; } .xoo-cp-pdetails td{ vertical-align: middle; text-align: center; } .xoo-cp-pdetails td.xoo-cp-ptitle{ text-align: left; } .xoo-cp-ptotal{ display: table; float: right; margin-right: 25px; font-size: 18px; padding: 10px 0; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; } .xcp-ptotal{ font-size: 23px; } td.xoo-cp-remove .fa{ font-size: 20px; color: #ea0a0a; cursor: pointer; } td.xoo-cp-ptitle{ width: 45%; padding-left: 5px; } .xcp-outspin{ position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; } .xcp-outspin .fa{ animation: xoo-cp-spin 575ms infinite linear; font-size: 45px; } .xoo-cp-outer{ display: none; } .xoo-cp-variations{ font-size: 13px; } .xoo-cp-variations .variation { overflow: auto; margin-top: 5px; } .xoo-cp-variations .variation dt{ margin-right: 5px; float: left; } .xoo-cp-variations .variation dd{ margin-right: 10px; float: left; } /* When screen size is less than 500px */ @media only screen and (max-width: 500px) { a.xcp-btn{ width: 80%; margin: 5px 0; } td.xoo-cp-pprice , span.xcp-ptotal , .xoo-cp-ptotal{ font-size: 15px; } td.xoo-cp-pimg{ display: none; } }