/*************************************
	FORMS - NORMAL
*************************************/

.form__system {
	display: flex;
	flex-direction: column;
	background-color: #F5F5F5;
	width: 100%;
	height: auto;
	overflow: auto;
	border-radius: 5px;
	padding: 2% 0%;
}

.form__row {
    width: 100%;
    height: auto;
    padding: 1% 2% 3%;
    margin-bottom: 2%;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    justify-content: space-between;
    align-items: center;
}

.form__row--error {
    background: #F0C7C8 !important;
}

.form__label--error {
    color: #AF0205 !important;
}

.form__label {
    color: #888;
    font-size: calc(16px + (22 - 16) * ((100vw - 300px) / (1600 - 300)));
	font-weight: 600;
	letter-spacing: -1px;
    width: 100%;
	text-align: left;
    margin-bottom: 8px;
}

.form__label--active {
    color: #000;
}

.form__input {
    width: 100%;
    position: relative;
}

.form_heading {
    font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1600 - 300)));
	line-height: 1em;
	font-weight: 800;
    margin-bottom: 10px; 	
}

.form__input input[type="checkbox"] {
     border: thin solid #aaa;
	 border-radius: 5px;
	 background: #fff;
     width: 25px;
     height: 25px;
}

.form__input  .checkbox__label {
    font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1600 - 300)));
    margin-left: 10px;
}

.form__line_centeralign {
    display: flex;
    align-items: center;
}

.form__input input {
     font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1600 - 300)));
     border: thin solid #aaa;
	 border-radius: 5px;
	 background: #fff;
     padding: 5px 2%;
     width: 100%;
}

.form__input textarea {
     font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1600 - 300)));
     border: thin solid #aaa;
	 border-radius: 5px;
	 background: #fff;
     padding: 5px 2%;
     width: 100%;
}

.form__input select {
     font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1600 - 300)));
     border: thin solid #aaa;
	 border-radius: 5px;
	 background: #fff;
     padding: 4px 2%;
     width: 100%;
}

.form__input input.active, .form__input select.active, .form__input textarea.active {
    background: #eaf1f8;
}

.form__input-status {
    position: absolute;
    display: flex;
    align-items: center;
    top: 2px;
    right: 5px;
    width: auto;
    height: 2em;
    z-index: 500;
    font-size: calc(17px + (19 - 17) * ((100vw - 300px) / (1600 - 300)));
}

.form__input-status--good {
    font-size: 1em;
    text-align: center;
    color: #327B16;
    
    animation:good-response 0.5s 1;
    -webkit-animation:good-response 0.5s 1;
    animation-fill-mode: forwards;

    animation-delay:2s;
    -webkit-animation-delay:1s; /* Safari and Chrome */
    -webkit-animation-fill-mode: forwards;
}

.form__input-status--fail {
    font-size: 1.5em;
    text-align: right;
    color: #E90505;
}

.form__input-status--bad {
    font-size: 0.75em;
    line-height: 1em;
    font-weight: 600;
    text-align: right;
    color: #E90505;
}

@keyframes good-response {
    from {opacity :1;}
    to {opacity :0;}
}

@-webkit-keyframes good-response {
    from {opacity :1;}
    to {opacity :0;}
}

.form__row--btns {
    width: 100%;
    padding: 8px 2% 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form__formbtn {
	width: 65%;
    text-align: center;
    font-size: 1.8em;
    font-weight: 600;
    color: #000;
    line-height: 1em;
    height: 76px;
    cursor: pointer;
    padding: 0;
    border: none;
	background-color: #CFCFCF;
	border-radius: 5px;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.form__formbtn:hover {
		color: #fff;
		background: #000;
}

.form__formworking {
	display: none;
	width: 65%;
    text-align: center;
    font-size: 1.8em;
    font-weight: 600;
	color: #fff;
	background: #000;
    line-height: 76px;
    height: 76px;
    padding: 0;
	border-radius: 5px;
}

.form__input input.invalid, .form__input select.invalid, .form__input textarea.invalid {
    background: #FFD4D5;
}

.form__comment {
	width: 100%;
	height: 70px;
}


.form__pay_form {
	flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form__section {
    width: 44%;
	height: auto;
	overflow: auto;
	display: flex;
	flex-direction: column;
	padding-bottom: 20px;
}

.form__section--bottompadding {
    margin-bottom: 40px;
}


/* //////////////////////////////////////////////////////// */

.message__background {
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 50000;
}
    
.message__block {
    width: 100%;
    height: auto;
    overflow: auto;
    padding: 0px 0px 20px;
    background-color: #fff;
    min-height: 30%;
    border-radius: 5px;
    -webkit-box-shadow: -1px 4px 13px 6px rgba(0,0,0,0.75);
    -moz-box-shadow: -1px 4px 13px 6px rgba(0,0,0,0.75);
    box-shadow: -1px 4px 13px 6px rgba(0,0,0,0.75);
}
        
.message__title_wrap {
    width: 100%;
    height: auto;
    overflow: auto;
    display: flex;
    padding: 2%;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.message__title_wrap--good {
    background-color: #296B01;    
}

.message__title_wrap--bad {
    background-color: #9E1111;
}

.message__icon {
    width: 9%;
    font-size: calc(30px + (45 - 30) * ((100vw - 300px) / (1600 - 300)));
}

.message__title {
    width: 80%;
    font-size: calc(20px + (30 - 20) * ((100vw - 300px) / (1600 - 300)));
    font-weight: 600;
    letter-spacing: -1px;
}

.message__message {
    width: 100%;
    padding: 5%;
    font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1600 - 300)));
    letter-spacing: -1px;
    height: auto;
    overflow: auto;
}

.message__btn_wrap {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message__btn {
    width: auto;
    font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1600 - 300)));
    padding: 14px 20px;
    background-color: #aaa;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.message__btn:hover {
    background-color: #000;
    color: #fff;
}



/************************************************************************************
	small tablet
*************************************************************************************/
@media screen and (min-width: 576px) {

.message__block {
    width: 85%;
}
    
}

/************************************************************************************
	tablet
*************************************************************************************/
@media screen and (min-width: 768px) {

.form__row {
    flex-direction: row;
    margin: 0;
}

.form__label {
    width: 25%;
    text-align: right;
    margin: 0;
}

.form__input {
    width: 72%;
}
    
.form__row--btns {
    justify-content: flex-end; 
}
    
    
    
}

/************************************************************************************
	laptop
*************************************************************************************/
@media screen and (min-width: 992px) {

.message__block {
    width: 60%;
}    
    
}


/************************************************************************************
	desktop
*************************************************************************************/
@media screen and (min-width: 1200px) {
	
.page_content__contactwrap {
    flex-direction: row;
    justify-content: space-between;
}    
    
.page_content__formside {
    width: 50%;
}    
    
.page_content__contentside {
    width: 46%;
}    
    
}

