/*
Theme Name: realview
Template: generatepress
*/

/************************************************
**  
**  GeneratePress Tweaks Section
**
************************************************/

.main-title {text-shadow: 2px 2px 2px #fff;}

.site-description {text-shadow: 2px 2px 2px #000;}

/************************************************
**  
**  Custom Styles Section
**
************************************************/

h1.entry-title {
	font-size: 30px;
	font-weight: 500;
	text-align: center;
	margin: 10px 0px 0px 0px;
	padding: 0px;
}
h1 {
	font-size: 30px;
	font-weight: 500;
	text-align: center;
	margin: 10px 0px 30px 0px;
	padding: 0px;
}
h2 {
	font-size: 24px;
	font-weight: 500;
	text-align: left;
	margin: 30px 0px 10px 0px;
	padding: 0px;
	
}
.halfbox {
	float: left;
	width: 45%;
	padding: 1%;
	background-color: none;
	margin: 1% 2% 2% 0%;
}
.halfboxphoto {
	float: left;
	width: 48%;
	margin: 1% 1% 2% 1%;
}

img.threewide {
	float: left;
	width: 32.33%;
	padding: 0.5%;
}

img.fourwide {
	float: left;
	width: 24%;
	padding: 0.5%;
}
.rightside {
	float: right;
	margin: 10px 0px 10px 10px;
}



/* =Contact Form 7 Styles
-------------------------------------------------------------- */
.wpcf7-form {
    background: none;
    width : 98%;
    margin: 1%;
}
.wpcf7-form-control-wrap {
	margin: 0px;
	padding: 0px;
}
.wpcf7-form h2 {
    font-size : 16px;
    text-align: center;
}
.wpcf7-form input.wpcf7-form textarea {
    border-color: #808080;
    border-style: solid;
    border-width: 1px;
    padding: 4px;
    line-height: 1.5;
    font-size: 16px;
    float: none;
    margin: 0px 0px 0px 0px;
}
.wpcf7-form input {
    line-height: 1.5;
    font-size: 16px;
}
.wpcf7-form textarea {
    line-height: 1;
	background-color: #f9f9f9;
	margin: 0px;
    font-size: 15px;
    height: 200px;
	width: 100%;
}
.wpcf7-form p {
    font-size : 16px;
    margin: 0px 0px 15px 0px;
    padding: 4px;
    color: #000;
}
.wpcf7-form-control.wpcf7-text { width: 100%; padding: 0px; margin: 0px;}
span.wpcf7-list-item {
	font-family: Arial, Helvetica, sans-serif;
}
span.wpcf7-list-item-label { vertical-align: top; padding: 0px 30px 0px 0px;}
span.wpcf7-form-control.wpcf7-radio { vertical-align: bottom;}
.wpcf7-form-control.wpcf7-submit {
 	margin-left: 0px;
	color: #000;
	background-color: #e6e6e6;
	border: 1px solid #000;
	width: 75px;
	height: 30px;
	padding: 0px 0px 0px 0px;
}
.wpcf7-form-control.wpcf7-submit:hover {
	color: #fff;
	background-color: #297d92;
}


/************************************************
**  
**  Media Queries / Responsive Styles Section
**
************************************************/

/* When the screen width is less than 470px */
@media only screen and (max-width: 470px) {
	.rightside {float: left; width: 86%; margin: 1% 7% 2% 7%;}
}

/* When the screen width is between 470px and 770px */
@media only screen and (min-width: 470px) and (max-width: 770px){
	
}

/* When the screen width is less than 600px */
@media only screen and (max-width: 600px) {
	.halfbox {width: 98%; margin: 2% 0% 2% 0%;}
		
	.mid {display: none;}
}

/* When the screen width is between 600px and 770px */
@media only screen and (min-width: 600px) and (max-width: 770px){
	.halfbox {width: 98%; margin: 2% 0% 2% 0%;}
	.thirdbox {width: 45.5%; height: 280px; margin: 1% 1% 2% 1%;}
	.fourthbox {width: 45.5%; height: 280px; margin: 1% 1% 2% 1%;}

	.mobile {display: none;}
}

/* When the screen width is less than 770px */
@media only screen and (max-width: 770px) {
	img.threewide {width: 49%;}
	img.fourwide {width: 49%;}
}

/* When the screen width is between 770px and 1150px */
@media only screen and (min-width: 770px) and (max-width: 1150px){
	.halfbox {width: 45.5%; margin: 1% 1% 2% 1%;}
		
	.mobilemid {display: none;}
	.mobile {display: none;}
	.mid {display: none;}
}

/* When the screen width is greater than 1150px */
@media only screen and (min-width: 1150px) {
	.mobile {display: none;}
	.mobilemid {display: none;}
	.mid {display: none;}
}
