/*
 Theme Name:     Glamorgan Student Lettings
 Theme URI:      http://glamorganstudentletting.com
 Description:    GSL Properties Theme
 Author:         Martin Favager
 Author URI:     https://www.theroiagency.co.uk
 Template:       Divi
 Version:        1.0.0
*/

@import url("../Divi/style.css");

/* =Theme customization starts here
------------------------------------------------------- */

:root {
	--sl-dgreen: #167767;
	--sl-dblue: #272350;
	--sl-green: #6AAA9E;
}

a {
color: var(--sl-green) !important;
}

ul#top-menu a {
    color: var(--sl-dgreen) !important;
}

#main-header .nav li ul a {
    color: #ffffff !important;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Source Sans Pro';
}
/* #main-header {
	top:  48px!important;
} */

.pride-park li {
	color:  #fff!important;
	font-size: 20px!important;
	font-family: 'Roboto';
	padding-bottom: 20px!important;
}

.nf-form-fields-required, .nf-after-field {
	display: none;
}

.phone-wrap {
	margin-top: 1.5em;
}

.appstores {
	padding-top: 2em!important;
}

.available-date:before {
    content: 'Available ';
}

.gsl-results-page .available-date {
	display: none;
}

#nf-form-4-cont {
	padding: 2em;
	background-color: var(--sl-dgreen);
}

#nf-form-4-cont input, #nf-form-4-cont textarea {
	margin-bottom: 1em;
	padding:  1em;
	font-size: 16px;
}

#nf-form-4-cont .submit-wrap input {
    background: none;
    border: 2px solid #fff;
    width: 100%!important;
    font-family: 'Roboto';
    padding: 1em;
    text-transform: uppercase;
    color: #fff;
    font-size: 1.2em;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
 }

#nf-form-4-cont .submit-wrap input:hover {
	background-color: #fff;
	color:  var(--sl-dgreen);
	cursor: pointer;
}

#nf-form-4-cont .nf-error-msg, #nf-form-4-cont .nf-response-msg{
	color: #fff;
}

#main-header {
	padding: 1em 0.3em;
}

#footer-bottom {
	display: none;
}

#main-footer {
	background: #16222a; /* fallback for old browsers */ /* Chrome 10-25, Safari 5.1-6 */
  background: -webkit-gradient(linear, left top, right top, from(#16222a), to(#3a6073));
  background: -webkit-linear-gradient(left, #16222a, #3a6073);
  background: -o-linear-gradient(left, #16222a, #3a6073);
  background: linear-gradient(to right, #16222a, #3a6073); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

#footer-widgets .footer-widget li {
    padding-left: 0;
    padding-top: 10px;
}

#text-2{
	margin-bottom: 10px;
}

.custom-html-widget {
	padding-top: 10px;
}

#et_search_icon:hover, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a, .bottom-nav li.current-menu-item>a, .comment-reply-link, .entry-summary p.price ins, .et-social-icon a:hover, .et_password_protected_form .et_submit_button, .footer-widget h4, .form-submit .et_pb_button, .mobile_menu_bar:after, .mobile_menu_bar:before, .nav-single a, .posted_in a, .woocommerce #content div.product p.price, .woocommerce #content div.product span.price, .woocommerce #content input.button, .woocommerce #content input.button.alt, .woocommerce #content input.button.alt:hover, .woocommerce #content input.button:hover, .woocommerce #respond input#submit, .woocommerce #respond input#submit.alt, .woocommerce #respond input#submit.alt:hover, .woocommerce #respond input#submit:hover, .woocommerce .star-rating span:before, .woocommerce a.button, .woocommerce a.button.alt, .woocommerce a.button.alt:hover, .woocommerce a.button:hover, .woocommerce button.button, .woocommerce button.button.alt, .woocommerce button.button.alt:hover, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce input.button, .woocommerce input.button.alt, .woocommerce input.button.alt:hover, .woocommerce input.button:hover, .woocommerce-page #content div.product p.price, .woocommerce-page #content div.product span.price, .woocommerce-page #content input.button, .woocommerce-page #content input.button.alt, .woocommerce-page #content input.button.alt:hover, .woocommerce-page #respond input#submit, .woocommerce-page #respond input#submit.alt, .woocommerce-page #respond input#submit.alt:hover, .woocommerce-page #respond input#submit:hover, .woocommerce-page .star-rating span:before, .woocommerce-page a.button, .woocommerce-page a.button.alt, .woocommerce-page a.button.alt:hover, .woocommerce-page a.button:hover, .woocommerce-page button.button, .woocommerce-page button.button.alt, .woocommerce-page button.button.alt:hover, .woocommerce-page button.button:hover, .woocommerce-page div.product p.price, .woocommerce-page div.product span.price, .woocommerce-page input.button, .woocommerce-page input.button.alt, .woocommerce-page input.button.alt:hover, .woocommerce-page input.button:hover, .wp-pagenavi a:hover, .wp-pagenavi span.current {
    color: var(--sl-dgreen);
}

textarea,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
.input-checkbox {
	-webkit-appearance: none;
	border-radius: 0;
	}

/* Small adjustments to various elements */


.et_pb_column_1_2 .et_pb_map, .et_pb_column_3_8 .et_pb_map {
    height: 100%!important;
}

.et_pb_best_value {
	padding-top: 1em;
	line-height: 140%;
}

.control-available_date_from {
	margin-bottom: 2em;
}

/*--------------Fullwith Specialty Section----------------------*/

.ds-fullwidth-specialty {
	padding: 0;
}

.et_pb_column_single {
	padding: 0;
}

.ds-fullwidth-specialty> .et_pb_row {
	min-width: 100%!important;
	max-width: 100%!important;

}

.ds-fullwidth-specialty> .et_pb_row> .et_pb_column {
	margin-right: 0;
	margin-left: 0;
	padding: 0;
	width: 50%;
}

.property_area_box {
	display: none;
}

/* Property Search Form Front Page*/

.header-content-container {
	background: rgba(235, 0, 131, 0.3);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	        box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	margin-bottom: 8em;
}

select, input {
	width: 100%;
	display: block;
	font-size: 1.2em;
}

input, textarea {
	padding: 0.3em;
	font-size: 1.2em;
}

textarea {
	margin-bottom: 2em;
}

.property-search-form label{
	padding-right: 0.3em;
}

/* Form Styling*/

.nf-form-layout {
	padding-top: 1em;
}

input.text, input.title, input[type=email], input[type=password], input[type=date], input[type=tel], input[type=text], select, textarea {
	padding: 0.5em;
}

.nf-form-cont input, .nf-form-cont select {
	padding: 1em;
}

input[type=submit] {
	text-transform: uppercase;
}

.nf-form-cont .submit-wrap input {
    background: #fff;
    border: 2px solid transparent;
    width: 100%!important;
    font-family: 'Roboto';
    text-transform: uppercase;
    color: var(--sl-green);
    font-size: 1.2em;
    transition: ease-in-out 0.3s all;
}

.nf-form-cont .submit-wrap input:hover {
	background: var(--sl-green);
	color: #fff;
	cursor: pointer;
}
.nf-form-cont .listselect-container, .nf-form-cont .email-container  {
	margin-bottom: 0;
}

@media (min-width: 981px) {
	.et_pb_column_2_3 .et_pb_row_inner {
    	padding: 0 0 4.2415% 0;
	}
}

.tricky-row .et_pb_text_inner h3 {
	color: #fff;
	margin-top: 1em;
	text-decoration: none;
	padding: 5px;
	border: 2px solid var(--sl-dgreen);
	background: var(--sl-dgreen);
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.tricky-row .et_pb_text_inner h3:hover {
	color: var(--sl-dgreen);
	margin-top: 1em;
	background: transparent;
}

/* Footer */

#footer-widgets .footer-widget .zoom-social-icons-widget li:before {
    display: none;
}

/* Single Property Display */

li.type-property {
    background: white !important;
}

.gsl-results-page .search-form-inner, .gsl-results-page h1, .type-property {
background-color:white !important
}

.property-body {
	padding-left: 4em;
	padding-right: 4em;
	padding-bottom: 4em;
	display: -ms-grid;
	display: grid;
  	-ms-grid-columns: 50% 1% 49%;
  	    grid-template-columns: 50% 1% 49%;
}

.property-features h1, h2.property_title.entry-title  {
    background-color: var(--sl-green);
    padding: 10px;
    font-size: 1.5em;
    color: #fff;
    text-align: center;
}

.property-features .price {
	font-size: 1.5em;
	margin-bottom: 0.5em;
	background-color: var(--sl-green);
    padding: 0 10px 15px;
    color: #fff;
    text-align: center;
}

.property-features .property_meta {
	font-size: 1em;
    line-height: 1.5;
}

.description h4  {
	margin-top: 1em;
	margin-bottom: 0.5em;
    background-color: var(--sl-green);
    padding: 10px;
    font-size: 1.5em;
    color: #fff;
}

.action-make-enquiry {
	text-align: center;
	margin-top: 2em;
	margin-bottom: 1em;
}

.action-make-enquiry a{

    text-transform: uppercase;
    padding: 0.5em;
    border: 2px solid var(--sl-green);
    font-size: 24px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.action-make-enquiry a:hover {
	background-color: var(--sl-green);
	color: white !important;
}

.action-epc, .property_meta .type {
	display: none;
}

.header-image h1{
	position: absolute;
	z-index: 200;
	margin-top:  4em;
	background-color: rgba(235,0,131, 0.5);
	text-transform: uppercase;
	padding: 1em 2em 1em 1em;
	color: #fff;
	-webkit-box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
	        box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);

}

.header-image {
	width: 100%;
	opacity: 1;

}

.image-slideshow {
	margin-top: 2em;
	max-width: 100%;
	-ms-grid-column: 1;
	    grid-column-start: 1;
	grid-column-end: 1;

}

.property-features {
	-ms-grid-column: 3;
	    grid-column-start: 3;
	grid-column-end: 3;
	margin: 2em;
    background: #fff;
    -o-box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    -webkit-box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
            box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    border-radius: 10;
}

.summary {
	padding: 2em;
}

.flexslider {
    margin: 0 0 30px;
    height: 100%;
    background: #fff;
    border: none;
    position: relative;
    border-radius: 0;
    -o-box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    -webkit-box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
            box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    zoom: 1;

    }

.thumbnails .slides > li {
	border: 1px solid #fff;
}

/* Pop Up Enquiry Form*/

.fancybox-content {
	padding: 1em;
    background: var(--sl-green);
}

.fancybox-content h2,
.fancybox-content p,
.fancybox-content label {
	color: #fff;
}

.fancybox-content .control textarea {
	width: 100%;
}





/* Property Results page */



.gsl-results-page .price {
	font-size: 2em;
}

.bedrooms-search {
	text-align: center;
    font-size: 1.5em;
    padding: 10px;
    color: #000;
}

 .gsl-results-page h1 {
 	position: absolute;
	right: 0px;
 	z-index: 200;
 	margin-top: 5em;
    padding: 1em;
    background: rgba(235,0,131, 1);
    color: #fff;
    -o-box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    -webkit-box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
            box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
 }

  .gsl-results-page h1 span {
    font-weight: 700;
  }

.gsl-results-page .property-search-form {

	background-image: url("https://mystudentliving.com/wp-content/uploads/2022/11/2-1.png");
	background-repeat: no-repeat;
	background-size: cover;
	/*display: -ms-grid;*/
	display: flex;
  	/*-ms-grid-columns: 60% 30% 10%;
  	    grid-template-columns: 60% 30% 10%;*/
  	padding-top: 5em;
	padding-left: 5em;
	padding-bottom: 5em;
}

.gsl-results-page .search-form-inner {
	-ms-grid-column: 2;
	    grid-column-start: 2;
	grid-column-end: 2;
	min-width: 400px;
	max-width: 450px;
	float: right;
	margin-right: 2em;
	padding: 2em;
	margin-bottom: 2em;
	background: -webkit-linear-gradient(131deg,#ee654a 0%,#eb0083 100%);
	background: -o-linear-gradient(131deg,#ee654a 0%,#eb0083 100%);
	background: linear-gradient(319deg,#ee654a 0%,#eb0083 100%);
	border-radius: 10px 10px 10px 10px;
    overflow: hidden;
    -webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
            box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
    -webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */ /* Firefox < 16 */ /* Internet Explorer */ /* Opera < 12.1 */
            animation: fadein 3s;
}

.gsl-results-page .search-form-inner label {
	color: #fff;
}

.gsl-results-page .search-form-inner .control {
	text-align: center;
}

.propertyhive-result-count {
	float: left;
	margin: 1.5em 5em 1em;
	font-size: 1.2em;
}

.propertyhive-ordering {
	float: right;
    margin: 1.5em 5em 1em;
}

.propertyhive-ordering select {
	background-color: transparent;
	font-size: 1em;
	border: 1px solid var(--sl-green);
}

.propertyhive ul.properties {
display: flex;
    list-style-type: none;
    padding: 0;
    clear: both;
	gap: 1rem;
    width: 100%;
    margin: auto;
	flex-direction: row;
}

.propertyhive ul.properties li .thumbnail img {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
}

.available-date {
    text-align: center;
}

.propertyhive ul.properties li .details h3 {
    padding: 0;
    margin: 0 0 0.3rem;
    height: 20rem;
}



.propertyhive ul.properties li .details {
    float: none;
    width: 100%;
}

.propertyhive ul.properties li {
	padding-top: 0;
	margin-bottom: 2em;
	min-height: 400px;
    -webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
            box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
    -webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */ /* Firefox < 16 */ /* Internet Explorer */ /* Opera < 12.1 */
            animation: fadein 3s;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
	width: 25%;
}

.propertyhive ul.properties li:hover {
	-webkit-box-shadow: 0px 8px 28px 0px rgba(235,0,131, 0.5);
	        box-shadow: 0px 8px 28px 0px rgba(235,0,131, 0.5);
}

.propertyhive ul.properties li .summary {
	display: none;
}


.propertyhive ul.properties li .thumbnail {
	padding: 1em;
    float: left;
    width: 100%;
	min-width: 100%;
}

.propertyhive ul.properties li h3 {
	text-align: center;
}

.propertyhive ul.properties li .price {
	margin-bottom: 2em;
	color: #000;
	text-align: center;
}

.propertyhive ul.properties li .actions {
	text-align: center;
	height:40px;
}

.button {
    border: 1px solid var(--dgreen) !important;
    border-radius: 30px;
    text-transform: uppercase;
}

.propertyhive ul.properties li .actions a {
	padding: 0.5em 1em;
	border: 1px solid #fff;
	color: #fff;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.propertyhive ul.properties li .actions a:hover {
	-webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
	        box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);

}

.propertyhive-pagination {
	text-align: center;
    margin: 2em;
}

.propertyhive-pagination li a,
.propertyhive-pagination li .current {
	font-size: 1em;
	padding: 0.5em 1em;
	border: 1px solid var(--sl-green);
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.propertyhive-pagination li .current,
.propertyhive-pagination li a:hover {
	background-color: var(--sl-green);
	color: #fff;

}


/*pretty photo lose white border */

div.pp_default .pp_content_container .pp_details {
    margin-top: -10px;
}

.nav li ul, .et_mobile_menu {
    border-color: var(--sl-dgreen);
}





/* MEDIA QUERIES */

@media only screen and (max-width : 480px) {

	#page-container .et_pb_row {
    	width: 100% !important;
	}

	.tricky-row {
		width: 100%!important;
	}

/*	.et_pb_column {
		padding-left: 1em;
		padding-right: 1em;
	}*/

	div.pp_default .pp_content_container .pp_details {
	    margin-top: -10px;
	}

	.pp-next, .pp-previous {
		display: none;
	}

	#logo {
		max-height: 100%;
	}
}




@media only screen and (max-width : 768px) {

	/* Home Page*/

	.two-columns .et_pb_module {
	    width: 100%!important;
	    float: left;
	}


	.header-image h1{
		position: relative;
		z-index: 0;
		margin-top:  0;
		font-size: 1.3em;

	}

	.property-body {
		padding-left: 2em;
		padding-right: 2em;
		padding-bottom: 2em;
		display: -ms-grid;
		display: grid;
	  	-ms-grid-columns: 100%;
	  	    grid-template-columns: 100%;

	}
	.image-slideshow {
		margin-top: 1em;
		max-width: 100%;
		-ms-grid-column: 1;
		    grid-column-start: 1;
		grid-column-end: 1;

	}

	.property-features {
		padding: 0;
		-ms-grid-column: 1;
		    grid-column-start: 1;
		grid-column-end: 1;
		margin: 0;

	}

	/*property listings page*/

	.propertyhive-ordering {
	    float: none;
	    margin: 1.5em 5em 1em;
	}

	.gsl-results-page .property-search-form {
		background-image: url("https://mystudentliving.com/wp-content/uploads/2019/09/pride-park-header.jpg");
		background-repeat: no-repeat;
		/*display: -ms-grid;*/
		display: flex;
	  	/*-ms-grid-columns: 100%;
	  	    grid-template-columns: 100%;*/
	  	padding-top: 5em;
		padding-left: 0.7em;
	}

	.gsl-results-page .search-form-inner {
	    -ms-grid-column: 1;
	        grid-column-start: 1;
	    grid-column-end: 1;
	    padding: 2em;
	    margin-top: 2em;
	    margin-bottom: 2em;

	}

	.gsl-results-page h1 {
	    position: relative;
	    text-align: center;
	    z-index: 200;
	    margin-top: 0em;
	}

	/* Background Image minimum sizing for Info Pages */

	.image-mobile-height {
		height: 500px;
	}
	
	.home .et_pb_row_inner_0.et_pb_row_inner {
		width: 100%;
		max-width: 100%;
	}
	
	.propertyhive ul.properties {
	display: flex;
    list-style-type: none;
    padding: 0;
    clear: both;
	gap: 1rem;
    width: 90%;
    margin: auto;
	flex-direction: column;
	}


}

textarea,
select,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
.input-checkbox {
-webkit-appearance: none;
border-radius: 0;
}


input[type="submit"] {
    text-transform: uppercase;
    border: 0px;
    border-radius: 30px !important;
    width: 35%;
    background-color: white;
    font-weight: 600;
    color: var(--sl-green);
	float: right;
}

input[type="submit"]:hover {
	color: var(--sl-dgreen);
}

a.lowerpanel {
	background-color: var(--sl-green);
	width: 200px;
	border-radius: 30px;
	padding: 5px 20px;
}

/* Transitions */

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */

/* Opera < 12.1 */


.property_availability {
    text-align: center;
    color: white;
    background-color: #192730;
    margin: 8px;
}



.pa-blog-equal-height .et_pb_salvattore_content {
    display: flex;
    gap: 2rem;
}

.pa-blog-equal-height .column.size-1of3 {
    width: 100% !important;
    margin-right: 0px !important;
}

.pa-blog-equal-height .et_pb_post {
    display: flex;
    flex-direction: column;
}

.pa-blog-equal-height .et_pb_image_container {
    margin: -20px -20px 0px;
}

.pa-blog-equal-height .et_pb_blog_grid h2 {
    font-size: 18px;
    height: 3.5rem;
}

.rd-footer-col-2, .rd-footer-col-4 {
    display: flex;
    flex-direction: column;
}