@media (min-width: 1200px) {
	#navigation .container {
		width: 1235px;
		float: right;
   		margin-top: 55px;
	}
}

@media (max-width: 1198px) {
	#navigation .container {
    width: 1100px !important;
	}
}

@media (max-width: 1260px) {
	div#navigation .container {
    	margin-top: 0 !important;
	}
}

@media (max-width: 991px){
	.index-bg-first h1 {
		font-size:5.5vw !important;
	}
	.index-bg-two h1 {
		font-size:5.5vw !important;
	}
	.bg-text p {
    font-size: 2.5vw !important;
	}

	.bg-text  {
    font-size: 2.5vw !important;
	}
	h1, .h1 {
	font-size: 8vw !important
	}
	.white-block img {
		float:none;
		margin: auto;
	}
	
	.title-image {
		display: none;
	}
	
	div#header-wrapper #header #header-inner .navbar .navbar-inner .info {
		float: none;
		text-align: center;
	}
	
	a.btn.btn-primary.book-app {
	text-align: center;
    float: none;
	}
	
	div#header-wrapper #header #header-inner .navbar .navbar-inner .info {
    max-width: 260px;
    float: none;
    margin: auto !important;
	}
	
	div#header-wrapper #header #header-inner .navbar .navbar-inner .logo {
    margin: auto;
	}
}
	

@media (max-width: 768px) {


	div.site-email {
		float: left !important;
		margin: 0 20px;
	}

	div.site-phone {
		float: left !important;	
	}

	#header-wrapper #header #header-inner .navbar .navbar-inner .info {
		margin-left: 0px !important;
	}

	div.loginWidget {
		float: left;
		padding: 10px 0px 30px !important;
	}
	
	.index-bg-first h1 {
		font-size: 8vw !important;
	}
	.index-bg-two h1 {
		font-size: 8vw !important;
	}
	.bg-text p {
    font-size: 3.2vw !important;
	}

	.bg-text  {
    font-size: 3.2vw !important;
	}
	h1, .h1 {
	font-size: 8vw Important;
	}
	
	.inner-text {
		font-size: 16px !important;
	}
	.top-sep p {
	font-size: 20px;
	}

}

@media (max-width: 500px) {
	div.loginWidget {
		float: none;
		text-align: center;
	}
	.bg-text p {
    font-size: 16px !important;
	}

	.bg-text  {
    font-size: 16px !important;
	}
	.top-sep p {
	font-size:17px;
	}
	.index-bg-first h1 {
	 line-height: 40px !important;
	}
	.index-bg-two h1 {
	 line-height: 40px !important;
	}
	a.book-app {
		float: left;
	}

}

a#btn-nav {
    z-index: 500;
    position: absolute;
}


/* -- Fix for mobile repsonsive issue with display: table; -- */

body #wrapper-outer #wrapper {
    display: block !important;
}

body #wrapper-outer #wrapper #wrapper-inner {
    display: inline !important;
}

body #wrapper-outer #wrapper #footer-wrapper {
    display: block !important;
    height: auto !important;
	float: left;
}

/* -- Template CSS -- */

#navigation .logo-wrapper {
    max-width: 250px;
    float: left;
    margin: 0 0 0 10px;
}



/* ---- Login Button ---- */

.loginWidget {
	float: right;
	padding: 0 20px 20px;
}



/* ---- Contact Information Overrides ----- */

.site-phone a {
	text-decoration: none;
	color: #707070;
}
.site-phone a:hover {
	color: #707070;
}
.broker-info ul {
	list-style: none;
	padding: 0;
}


/* ----- Social Icon Overrides ------ */

.span6.share {
	float: right;
}
.social-icons {
	list-style: none;
	padding:0;
	width: 320px;
}
.social-icons li {
	float: right;
	margin-right:5px;
	border:1px solid rgba(255, 255, 255, 0.62);
	-webkit-border-radius:100px;
	-moz-border-radius:100px;
	-ms-border-radius:100px;
	-o-border-radius:100px;
	border-radius:100px;
	padding:5px;
	width:32px;
	height:32px;
	line-height:26px;
	text-align:center;
	transition:all 300ms ease-in-out;
	-o-transition:all 300ms ease-in-out;
	-moz-transition:all 300ms ease-in-out;
	-webkit-transition:all 300ms ease-in-out;
}
.social-icons li a {
	font-size: 15px!important;
	text-align: center;
	text-decoration: none !important;
	color: #f3f3f3;
}
.social-icons li:hover {
	background-color:#757575;
}

/* ----- Footer Overrides ------ */

#footer-wrapper #footer #footer-inner p {
	margin: 0px;
	color: #fff !important;
}
#footer-wrapper #footer {
	border: 0px;
	margin-top: 0px;
	padding: 10px 0px !important;
}
.span6.copyright {
	float: left;
}


#footer-wrapper #footer-top table.contact th.cabre {
	background-image: url("https://s3.amazonaws.com/static.organiclead.com/074ee81027def72f3c5348c9feeab305/cabre.png");
	background-size: 16px 16px;
	background-position: 6px 2px;
}



/*-- Details Page --*/

ul.slide-item-features.item-features {
	list-style: none
}

.slide-item-features li {
	padding: 10px;
	border: 1px solid #c4c4c4;
	margin: 5px;
	display: inline-block
}

span.fa {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transform: translate(0, 0);
	padding: 0 10px 0 0
}

/*--- Modal Overrides -----*/

.modal-footer button {
	position: absolute;
	top: 0;
	right: 0;
}

.blueimp-gallery .modal-footer .btn {
	position: inherit;
}

.modal-body form.cmsForm {
  display: inline-block;
}


/*------ Font Awsome ----- */


.fa-envelope:before {
	content: "\f0e0";
	float: left;
	margin: 0 20px 0 0;
}

.fa-home:before {
	content: "\f015";
	float: left;
	margin: 0 20px 0 0;
}

/* -- Back Button -- */

.btn.btn-primary.arrow-left {
    background-image: url("../images/arrow-left-white.png");
    background-position: 10px center;
    background-repeat: no-repeat;
    background-size: 8px 11px;
    padding-left: 15px;
	background-color: #FEC200;
}

input.btn.btn-primary.arrow-left.back-button {
    margin: 0 0 -50px;
    float: right;
    position: relative;
    right: 30px;
    width: 10px;
    z-index: 100;
    border-radius: 50px;
    height: 30px;
}

.float-images {
	float: left;
	padding: 10px 15px;
}

.home-container {
	width: 100%;
	margin: 0px;
	padding: 0px;
}

.index-block {
	max-width: 1200px;
	float: none; 
	margin: auto;
	clear: both;
}

.index-block-in {
	max-width: 1100px;
	float:none;
	margin: auto;
	clear: both;
	background: rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.white {
	padding: 30px 0px 40px;
	background-color: #fff;
}

body {
	background-color: #fff !important;
}

.white-block {
	    padding: 40px 30px 0px 0px;
		margin: 10px 0px;
}

.white-block img {
	max-width: 530px;
	box-shadow: 0 10px 20px -10px #000000;
	border-radius: 8px;
}

/* -- index background -- */

.index-bg-first {
    border-color: #eae9e9;
    border-bottom-width: 0px;
    border-top-width: 0px;
    border-bottom-style: solid;
    color: #fff;
    border-top-style: solid;
    font-weight: bold;
    padding-bottom: 0px;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    background-attachment: initial;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url(https://www.royacdn.com/unsafe/smart/Site-9a0074ac-4ce4-4638-a58e-517b9e6aaa41/Page_Images/index_photo.jpg);
}

.bg-text p {
	line-height: 36px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 21px;
}

.bg-text  {
	line-height: 36px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 21px;
}



.index-bg-first h1 {
    line-height: 72px;
    font-size: 3.3vw;
    color: #FFF;
    text-shadow: 0px 1px 1px #000;
}

/* -- index background -- */

.index-bg-two {
    border-color: #eae9e9;
    border-bottom-width: 0px;
    border-top-width: 0px;
    border-bottom-style: solid;
    color: #fff;
    border-top-style: solid;
    font-weight: bold;
    padding-bottom: 0px;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    background-attachment: initial;
    background-position: initial;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url(https://www.royacdn.com/unsafe/smart/Site-9a0074ac-4ce4-4638-a58e-517b9e6aaa41/Page_Images/bg_2bg.jpg);
}

.index-bg-two h1 {
    line-height: 72px;
    font-size: 3.3vw;
    color: #FFF;
    text-shadow: 0px 1px 1px #000;
}

.white-block-slide img {
	max-width: 200px;
	float: none;
	margin: auto;
	clear:both;
}
div#right {
    padding-left: 30px;
}

h1, .h1 {
    font-size: 3.2vw;
    font-family: 'Roboto Condensed', sans-serif;
	font-weight: normal;
    color: #272727;
    text-shadow: 0px -0.9px 0.5px #333;;

}

.top-sep {
	margin-top: 20px;
}

.top-sep p {
    font-size: 19px;
    line-height: 32px;
}

.inner-text {
    font-size: 19px;
    line-height: 32px;
}

.team img {
    max-width: 200px;
    padding: 10px;
    margin: 40px auto 0;
    float: none;
}

.team {
    padding: 0 0 15px 0px;
    border-bottom: 1px solid #c7c7c7;
}

#last {
	border-bottom: 0px !important;
}

.title-image {
    max-width: 100px;
    margin-top: 10px;
}

.side-space {
	margin-bottom: 10px;
}

a.side-buttons {
	width: 100%;
	float: none;
	margin: auto;
	border-radius: 12px;
	padding: 15px;
}

a#side-mail {
    background-image: url(https://www.royacdn.com/unsafe/smart/Site-9a0074ac-4ce4-4638-a58e-517b9e6aaa41/null/message.png);
    background-repeat: no-repeat;
    background-position: 10% 50%;
}

a#side-app {
    background-image: url(https://www.royacdn.com/unsafe/smart/Site-9a0074ac-4ce4-4638-a58e-517b9e6aaa41/null/get_the_app.png);
    background-repeat: no-repeat;
    background-position: 10% 50%;
}

a#req-app {
    background-image: url(https://www.royacdn.com/unsafe/smart/Site-9a0074ac-4ce4-4638-a58e-517b9e6aaa41/null/book_a_class.png);
    background-repeat: no-repeat;
    background-position: 10% 50%;
}

a.book-app {
	margin: 15px 0px;
}

.side-testi {
    background: #FBFBFB;
    border: 1px solid #585757;
    width: 100%;
	padding: 0 20px 0;
}

.side-testi:hover {
    border: 1px solid #FEC200;
}

.old-site-image img {
	max-width: 320px;
	float: none;
	margin: auto;
	clear: both;
}

.old-site-image {
	padding: 20px 10px;
}

.logo img {
    max-width: 150px;
    float: none;
    margin: 5px auto 5px;
}

div.navigation-wrapper .navigation .nav li ul {
    margin: 65px 0px 0px 0px;
}

.testimonial-underline {
    border-bottom: 1px solid #c7c7c7;
    padding: 20px 0;
}

.banner-image-wrapper a {
    color: #fffae8 !important;
}

.home-buttons a:hover {
    color: #9a9a9a !important;
}