/**
* 2007-2022 PrestaShop
*
* 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.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@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2022 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/

/**
 * Don't forget to prefix your containers with your own identifier
 * to avoid any conflicts with others containers.
 */

 #kridipay-container #kridipay_payment_button a {
	padding: 10px;
	background-color: #FBFBFB;
}

#kridipay-container #kridipay_payment_button a:hover {
	background-color: #f6f6f6;
}

#kridipay-container #kridipay_payment_button a:after {
	display: block;
	content: "\f054";
	position: absolute;
	right: 15px;
	margin-top: -11px;
	top: 50%;
	font-family: "FontAwesome";
	font-size: 25px;
	height: 22px;
	width: 14px;
	color: #777777;
}

/* The Modal (background) */
.kridipay-modal.modal,
#kridipay-modal.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: hidden; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	z-index: 9999;
  }
  .kridipay-modal.modal.fade,
  #kridipay-modal.modal.fade {
	opacity: 1;
  }
  /* Modal Content/Box */
  .kridipay-modal .modal-content,
  #kridipay-modal .modal-content {
	background-color: #fefefe;
	margin: 15% auto; /* 15% from the top and centered */
	padding: 20px;
	border: 1px solid #888;
	width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .kridipay-modal .close,
  #kridipay-modal .close {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: bold;
    text-shadow: none;
    opacity: 1;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 999;
}

.kridipay-modal .close:hover,
.kridipay-modal .close:focus,
  #kridipay-modal .close:hover,
  #kridipay-modal .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
  }

  body .kridipay-modal .modal-content ,
  body#checkout #kridipay-modal .modal-content {
    padding: 0;
    background-color: transparent;
	border: none;
}

.kridipay-modal .modal-content ,
  #kridipay-modal .modal-content {
	margin: 26vh auto;
	padding: 0;
  }
  
  .kridipay-modal .modal-header,
  #kridipay-modal .modal-header {
    border-bottom: none;
    background: transparent;
    padding: 0px 8px;
	}
	.kridipay-modal iframe,
#kridipay-modal iframe{
	height: 100%;
    border: 0px;
    padding: 0;
    margin: 0;
    border-radius: 51px 0px 51px 0px;
	
	}

	.kridipay-modal .modal-body,
#kridipay-modal .modal-body {
	position: relative;
	padding: 0;
	min-height: 660px;
	height: 75vh;
}
/* Change styles for cancel button and delete button on extra small screens */

/*.products article .btn-simulator {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    min-width: 2.5rem;
    padding-top: 0.1875rem;
    background-color: #ffffff;
    box-shadow: 0.125rem -0.125rem 0.25rem 0 rgb(0 0 0 / 20%);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s ease-out;
    border: none;
	outline: none !important;
}

.products article .btn-simulator {
    position: absolute;
	top: 3.635rem;
    left: 0.635rem;
    z-index: 10;
	background-image: url("../img/logo-icone.png");
	background-size: cover;
	background-repeat: no-repeat;
}

.products article .btn-simulator span{
	visibility: hidden;
  	opacity: 0;
	color: #666;
	transition: visibility 0s, opacity 0.8s linear;
}

.products article .btn-simulator:hover span {
	-webkit-transition: 0.7s ease-in-out;
    -moz-transition: 0.7s ease-in-out;
    -o-transition: 0.7s ease-in-out;
    transition: 0.7s ease-in-out;
	visibility: visible;
  	opacity: 1;
}

.products article .btn-simulator:hover {
	width: 90%;
    border-radius: 10px;
    background-size: contain;
    padding-left: 45px;
	-webkit-transition: width 0.5s ease-in-out;
    -moz-transition: width 0.5s ease-in-out;
    -o-transition: width 0.5s ease-in-out;
    transition: width 0.5s ease-in-out;
}
*/

button.btn-simulator{
    height: 2.5rem;
    width: 100%;
    max-width: min-content;
    /* padding-top: 0.1875rem; */
    /* margin-left: 10px; */
    padding-left: 39px;
    box-shadow: 0.125rem -0.125rem 0.25rem 0 rgb(0 0 0 / 20%);
    cursor: pointer;
    transition: 0.2s ease-out;
    border: none;
    color: #666 !important;
    background-color: #fff !important;
    position: relative;
    z-index: 10;
    background-image: url(../img/logo-icone.png);
    background-size: cover;
    background-repeat: no-repeat;
    outline: none !important;
    /* position: absolute; */
    /* top: 32px; */
    left: 0;
    border-radius: 10px;
    /* background-size: contain; */
    background-size: 25px 25px;
    background-position: 10px;
}
.thumbnail-container button.btn-simulator,
.products article button.btn-simulator{
	margin-top: 8px;
    margin-left: 0px;
    width: calc(100% - 10px);
    padding-left: 30px;
	border-radius: 10px;
	position: absolute;
    bottom: -28px;
    left: 0;
	padding-left: 39px;
}
.product-description .highlighted-informations {
    min-height: 56px;
    position: relative;
}
button.btn-simulator span{
	/*visibility: hidden;
  	opacity: 0;*/
	color: #666;
	transition: visibility 0s, opacity 0.8s linear;
}
button.btn-simulator:hover{
	color: #666 !important;
	background-color: #fff !important;
	/*width: 250px;*/
    /*border-radius: 10px;*/
    /*background-size: contain;*/
    /*padding-left: 45px;*/
	-webkit-transition: width 0.5s ease-in-out;
    -moz-transition: width 0.5s ease-in-out;
    -o-transition: width 0.5s ease-in-out;
    transition: width 0.5s ease-in-out;
}

/*button.btn-simulator:hover span {
	-webkit-transition: 0.7s ease-in-out;
    -moz-transition: 0.7s ease-in-out;
    -o-transition: 0.7s ease-in-out;
    transition: 0.7s ease-in-out;
	visibility: visible;
  	opacity: 1;
}*/

.kridibtn-container{
	display: contents;
	width: auto;
	position: relative;
	height: 3rem;
}

.cv-spinner {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;  
}
.spinner {
	width: 40px;
	height: 40px;
	border: 4px #ddd solid;
	border-top: 4px #2e93e6 solid;
	border-radius: 50%;
	animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
	100% { 
		transform: rotate(360deg); 
	}
}
.is-hide{
	display:none;
}

@media screen and (max-width: 461px) {
	.kridipay-modal iframe,
	#kridipay-modal iframe {
		height: 88%;
	}
	.bottom-prices {
		min-height: 218px;
		width: 75%;
	}
}

@media screen and (min-height: 837px) {
	.kridipay-modal .modal-body,
	#kridipay-modal .modal-body {
		height: 75vh;
	}
}

@media screen and (max-height: 836px) {
	#kridipay-modal .modal-body,
	#kridipay-modal .modal-body {
		height: 86vh;
	}
}

@media screen and (max-height: 721px) {
	#kridipay-modal .modal-body {
		height: 100vh;
	}
}

@media screen and (max-width: 600px) {
	.kridipay-container .cancelbtn, .kridipay-container .deletebtn,
	#kridipay-container .cancelbtn, #kridipay-container .deletebtn {
	width: 100%;
  }
  .kridipay-modal .modal-content,
  #kridipay-modal .modal-content {
	background-color: #fefefe;
	margin: 20px auto;
	padding: 0px;
	border: 1px solid #888;
	width: 100%;
	}

	.kridipay-modal .modal-content,
	#kridipay-modal .modal-content {
		margin: 26vh auto;
		padding: 0;
		width: 100%;
	}

	body#checkout .kridipay-modal .modal-content,
	body#checkout #kridipay-modal .modal-content {
		padding: 0;
		background-color: transparent;
	}

	.kridipay-modal .modal-body,
	#kridipay-modal .modal-body {
		height: 100vh;
	}
}