

#programmsWrap{
    display: flex;
    margin-bottom: 5em;
    align-items: flex-start;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
	flex-wrap: wrap;
}

#programmsWrap input, #programmsWrap textarea, #programmsWrap select, #programmsWrap button{font-family: "Circe", "Arial";font-size: 90%;}

#programmsLeft{
    width: 40%;
}

#sertWarning{color: #d60434;padding: 10px 32px;border: 1px dashed;font-size: 115%;text-align: center;margin-bottom: 23px;font-weight: 400;}

#programmsRight{
    width: 55%;
}

#programmsImageBkg{background-position: center;
    background-image: url(img/sertificat-image.jpg);
    width: 100%;
    padding-bottom: 142%;
    background-size: contain;
    background-repeat: no-repeat;}

#programmsWrap button{
    border-radius: 2px;
    background-color: #d60434;
    color: #fff;
    cursor: pointer;
    border: none;
    font-size: 80%;
    margin-right: 10px;
    padding: 6px 30px;
    transition: background-color 0.3s;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 0.12em;
    font-weight: 300;
}

#programmsWrap button:hover{
	 background-color:#555
}

#programmsWrap select{
    margin-bottom: 26px;
    font-size: 90%;
    margin-right: 10px;
    padding: 4px 12px;
}

#programmsRight p{margin-bottom: 0.5em;}


#programmsImage{
    width: 100%;
    height: auto;
}

#linksWrap{
    margin-top: 2em;
    border-top: 1px solid;
    padding-top: 2em;
    margin-bottom: 1em;
}

#linksWrap a{
    display: block;
    text-decoration: underline;
}



.remove-gift {
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 8px;
    background-image: url("img/ico-close.svg");
    width: 28px;
    height: 28px;
    background-size: auto 82%;
    background-repeat: no-repeat;
    background-color: #fff;
	display: none;
}

#giftsWrap{margin-bottom: 1em;}


.gift-row{
    padding: 28px 36px 20px 36px;
    background-color: #fff;
    position: relative;
    border: 1px solid #e1e1e1;
    margin-bottom: 8px;
}

.index{
    position: absolute;
    top: 0px;
    left: 16px;
    font-size: 80%;
    display: none;
}

.big-block{
}

.required.error{border: 2px solid #d60434;}

#countWrap, #itogWrap{
}

.gift-person{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.gift-person input{
    margin-bottom: 8px;
    box-sizing: border-box;
    width: 49%;
    padding: 4px 12px;
}
.gift-row h5{
    margin-bottom: 7px;
    font-weight: 400;
    font-size: 90%;
}

#programmsWrap h2{
    font-weight: 400;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-size: 130%;
}

#payerWrap{}

#payerWrap input{
    padding: 4px 12px;
    width: 49%;
    margin-bottom: 9px;
    box-sizing: border-box;
}

#payerWrap textarea{
    padding: 4px 12px;
    width: 100%;
    box-sizing: border-box;
	resize: vertical;
}


#payerInputs{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#resultWrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

#agreeWrap{
    margin-top: 1.8em;
}

#resultLeft{
    font-size: 130%;
    width: 40%;
}
#personalagree{
    margin-right: 12px;
    transform: scale(1.5);
    cursor: pointer;
}

#resultLeft span{
    font-weight: 500;
}

.wait-shade{background-image: url("img/ajax-loader.png");background-color: inherit;position: absolute;width: 100%;height: 100%;left: 0px;background-size: auto 24px;background-position: center;background-repeat: no-repeat;top: 0px;}


.waiting{cursor:default !important}

#agreeWrap a{
	text-decoration: underline;
}

.remove-gift .wait-shade{background-image: url("img/ajax-loader-dark.png");}

#resultRight{
    width: 50%;
}

#resultFinal{
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    padding: 30px 40px;
    box-sizing: border-box;
    box-shadow: 0px 20px 30px -10px rgba(0,0,0,0.5);
    margin-bottom: 4em;
}

#resultFinal p{
    margin-bottom: 0.5em;
}

.result-gift{
    padding: 20px 28px 12px 28px;
    background-color: #eee;
    margin-bottom: 8px;
}

#errorsWrap{
    color: #d60434;
    margin-top: 1em;
}
#errorsWrap p{
    display: none;
}
.required-mess{
    color: #888;
    margin-top: 6px;
}

#payType{
    font-size: 75%;
    margin-top: 0.9em;
    background-image: url("img/ico-credit-card.svg");
    background-size: auto 26px;
    padding-left: 26px;
    background-position: left center;
    background-repeat: no-repeat;
}