* {
	padding:0px;
	margin:0px;
	box-sizing:border-box;
}

body, html {
	height:100%;
	font-family: Open Sans;
}

body {
	background: red;
    text-align: center;
    background: url("../images/bg.png");
}

.content-wrapper {
    width: 100%;
    max-width: 1000px;
    padding: 20px 0px;

    display: inline-block;
    min-height: 100%;
}

#main-content {
    min-height: 100%;
    height: 100%;
    min-width: 100%;
    padding: 20px;
    min-height: 500px;
    display: inline-block;
    background: rgb(255, 255, 255);
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.31);
}


header {
    vertical-align: middle;
    display: inline-block;
    width: 100%;
}
header h1 {
	width:auto;
	display: inline-block;
}




.header-text-wrapper {
    display: inline-block;
    width: 100%;
    text-align: right;
    float: left;
    position: relative;
    height: 100%;
    text-align: center;
    padding: 10px;
}



.reviews-text  {
    background: green;
    font-style: italic;
    color: white;
    display: inline-block;
    vertical-align: middle;
    padding-right: 6px;
    right: 0px;
    white-space: nowrap;
    font-size: 1.8em;
}

.header-phone {
    background: green;
    font-style: italic;
    color: white;
    display: inline-block;
    vertical-align: middle;
    padding-right: 6px;
    left: 0px;
    font-size: 2em;
    font-weight: bolder;

    white-space: nowrap;

}
.logo {
    text-align:center;
    width:100%;
    display: inline-block;
    float:left;

}


@media (min-width: 400px) {
    .reviews-text  {
        font-size: 2em;
    }
}


@media (min-width: 800px) {
    .header-text-wrapper {
        width: 33.33333%;
        padding: : 0px;
    }
    .logo {
        width: 33.33333%;
    }
    .header-phone, .reviews-text {
        position: absolute;
        top: calc(50% - 10px);
    }
    .header-phone {
        float: right;
    }
    .reviews-text  {
        float: right;
    }
    header {
        max-height: 128px;
        height: 128px;
    }
}


/*MAIN CONTENT*/
.filters {
    min-height: 100px;
    background: #eaeaea;
}


/* REVIEWS */
.review {
    text-align: left;
    padding: 10px;
    margin-top: 25px;
    margin-bottom: 41px;
    background: #f3f3f3;
    border-radius: 10px;
    box-shadow: 0px 1px 1px #8e8e8e;
}
.left-part {
    font-weight: 600;
    color: #484848;
}
.review-header {
    border-bottom: 2px solid #71b371;
    padding-bottom: 10px;
    margin-bottom: 10px;
    display: inline-block;
    width:100%;
}

.stars-container {
    background-image: url(../images/stars_empty.png);
    width: 112px;
    display: flex;
    height: 20px;
    float: left;
    margin-right: 15px;
}
.stars-container .stars {
    background-image: url(../images/stars_filled.png);
    height: 100%;
}

/* REVIEW_FORM */
.review-form-wrapper {
    width:100%;
}

.review-form-wrapper h5 {
    text-align: left;
    background: #7fad0d;
    margin-top: 25px;
    color: #ffffff;
    margin-bottom: 10px;
    padding: 5px;
    padding-left: 15px;
    font-size: 20px;
}

#make-review {
    display: inline-block;
    max-width: 410px;
    border: 1px solid #7fad0d;
    padding: 15px;
    float:left;
    max-width: 100%;
}
#make-review input {
    display: inline-block;
    width:100%;
    padding: 5px;
}

#make-review textarea {
    width:100%;
    min-height:100px;
}

#make-review select {
    width:100%;
    padding:10px;
}

.input-segment {
    text-align: left;
    margin-bottom:5px;
}
.input-segment label {
    width:100%;
    display: inline-block;
}

/* RADIO */
.radio {
    margin-top:10px;
    margin-bottom:10px;
}
.radio-row {
    width: 100%;
    display: inline-block;
}
.radio-row input {
    float:left;
    width:auto !important;
    margin-right:10px;
}
.radio-row label {
    float: left;
    width: auto !important;
    line-height: 12px;
}

.submit-area button {
    width: 100%;
    border: 0px;
    background: #7fad0d;
    padding: 10px;
    color: white;
    font-size: 18px;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0px 1px 1px #505050;
    font-weight: bolder;
}


.review-notice {
    max-width: 100%;
    float: left;
    text-align: left;
    padding: 10px 30px;
    font-size: 14px;
}

@media (min-width: 800px) {
    .review-notice {
        max-width: 50%;
    }
    #make-review {
        max-width: 50%;
    }
}