.service-img-post{
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.service-img-post a{

}
.service-img-post img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.infograf{
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(147px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.infograf__item{
	display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.infograf__item img{
	width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}


.inp-file{
	display: flex;
    align-items: center;
    justify-content: center;
}
/*.custom-file-input input{
	width: 200px;
}
.custom-file-input input::-webkit-file-upload-button {
  	visibility: hidden;
}
.custom-file-input input::before {
  	content: 'Выбрать файл';
	display: inline-block;
	white-space: nowrap;
	cursor: pointer;
	font-weight: 700;
	font-size: 10pt;
	width: 100%;
	text-align: center;
	padding: 15px 0;
	background: #e8e8e8;
	color: #ff6600;
}
.custom-file-input input:hover::before {
  	border-color: black;
}
.custom-file-input input:active::before {
  	background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}*/

.custom-file-input p {
	padding: 0;
}
.custom-file-input .form-group{
	padding:1em;
	margin:1em
}
.custom-file-input input[type=file]{
	outline:0;
	opacity:0;
	pointer-events:none;
	user-select:none
}
.custom-file-input .label{
	width: 214px;
    border: 2px dashed #a7a7a7;
    border-radius: 5px;
    display: block;
    padding: 0 20px;
    transition: border 300ms ease;
    cursor: pointer;
    text-align: center;
}
.custom-file-input .label i{
	display:block;
	font-size:42px;
	padding-bottom:16px
}
.custom-file-input .label i,
.custom-file-input .label .title{
	color: #a7a7a7;
    transition: 200ms color;
    font-size: 17px;
    line-height: unset;
    width: 100%;
    text-align: center;
    display: block;
}
.custom-file-input .label:hover{
	border:2px solid #000
}
.custom-file-input .label:hover i,
.custom-file-input .label:hover .title{
	color:#000
}
.material-icons{
	background-image: url(../svg/paperclip.svg);
    width: 50px;
    height: 39px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    margin: 0 auto;
}

.link-active{
    color: #f60 !important;
}
.link-active:hover{
    color: #fff !important;
}

.gallery-2n{
	display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
}
.slider-clubcard{
	padding: 25px 0;
}
.slider-clubcard a{
	outline: none;
	display: flex !important;
    align-items: center;
    justify-content: center;
}
.slider-clubcard img{
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0 15px;
}
.slider-clubcard .slick-next:before, 
.slider-clubcard .slick-prev:before{
	color: #000;
}
.lineimg{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px
}
.linefour{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.linefour__item{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.linefour__item p{
    height: 100%;
    display: flex;
    align-items: center;
}
.linefour__item img{
    /*height: 100px;*/
    object-fit: contain;
}
.lineimg__item a > img{
    display: block !important;
}
.recap{
    width: 304px;
    margin: 0 auto;
    margin-bottom: 30px;
}
.inp-file-value{
    width: 100%;
    text-align: center;
    display: block;
    color: #ff6600;
}
.file-add .title{
    display: none !important;
}

span.ajax-loader {
    background-image: url(/wp-content/themes/carddesign/img/ajax-loader.gif) !important;
    width: 100% !important; 
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 83px 83px !important;
    height: 83px !important;
    width: 100% !important;
    margin: 0 auto !important;
}
.ajax-loader.is-active{
    visibility: visible !important;
    display: inline-block !important;
}
.wpcf7-response-output{
    width: fit-content;
    margin: 25px auto;
}

table{
    border-spacing: 0px;
    margin-bottom: 30px;
}
td {
    padding: 20px 15px;
    border-left: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}
table tr:first-child td {
    border-top: 1px solid #eaeaea;
}
td:last-child {
    border-right: 1px solid #eaeaea;
}

.price-table {
    font-weight: 700;
}
.table-num {
    text-align: center;
}
.wp-block-gallery .blocks-gallery-grid{
    display: flex;
    flex-wrap: wrap;
}
.wp-block-gallery{
    padding: 30px 0;
}
.wp-block-gallery .blocks-gallery-grid li::before{
    display: none;
}
.wp-block-gallery .blocks-gallery-grid li{
    width: 50%;
    padding: 0;
    margin: 0;
}
.slick-track{
    display: flex !important;
    align-items: center;
}
.block-img-prev{
	display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}















@media screen and (max-width: 991px){
    .lineimg{
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .linefour{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
@media screen and (max-width: 767px){
    .custom-file-input{
        width: 100%;
        display: flex !important;
        justify-content: center;
    }
    .recap input[type="submit"]{
        margin: 0 auto;
    }
    .price-table{
        font-size: 12px;
        font-weight: 500;
    }
    .price-table td{
        padding: 10px 3px;
    }
    .wp-block-gallery .blocks-gallery-grid li{
        width: 100% !important;
    }
}

.form__input-info {
    cursor: pointer;
    background-image: url(../img/information-button.svg);
    background-size: cover;
    display: inline-block;
    width: 14px;
    height: 14px;
    position: relative;
    top: 2px;
}

.wpcf7-list-item-info {
    cursor: pointer;
    background-image: url(../img/information-button.svg);
    background-size: cover;
    display: inline-block;
    width: 14px;
    height: 14px;
    position: relative;
    top: 2px;
    margin-left: 5px;
}

.card-calculator__summary {
    background-color: #3e3e3e;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    padding: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.card-calculator__summary .summary__num {
    font-size: 2rem;
}

.card-calculator__summary .summary__circulation-price .summary__num {
    font-weight: bold;
}

.card-calculator__clarifying_info {
    margin-bottom: 20px;
}

form#card-calculator .anr_captcha_field {
    margin-top: 20px;
    margin-bottom: 20px;
}

.card-calculator__submit-result {
    margin-top: 20px;
    color: #00a0d2;
    display: none;
}

.card-calculator__submit-result.error {
    color: #dc3232;
}