.form-wrapper .suhlas {margin: 20px 0;}
.form-wrapper .suhlas label {float: left; width: auto; margin: 0 15px 0 0;}
.form-wrapper .suhlas p {float: left; width: calc(100% - 40px);}

.modal-sm .modal-body .form-group label[for=suhlas], .modal-lg .modal-body .form-group label[for=suhlas] {
   width: auto;
   float: left;
   padding: 0px;
   margin: 1px 10px 1px 0;}

/* develo table in offer detail */

@media only screen and (max-width: 992px) {
	section#offer-detail .content-wrapper .main .wrap.offers {
		display: block;
    	overflow-x: scroll;
    }

    section#offer-detail .content-wrapper .main .wrap.offers table {
    	min-width: 800px;
    	overflow-x: scroll;
    }
}


/* agent photo in offer detail */

.agent .photo-wrapper img {
	width: 100% !important;
	max-width: 150px !important;
}

.agents-wrapper .agent .photo-wrapper img {
    width: 100% !important;
    max-width: 300px !important;
}

#carousel .carousel-inner .carousel-item > img {
    max-width: 9000px;
    position: relative;
    left: 0px !important;
    top: 0px !important;
    transform: none !important;
    display: block;
	width: 100%;
}

@media only screen and (max-width: 992px) {
	#carousel .carousel-inner {
		height: auto;
	}
}

@media only screen and (max-width: 768px) {
	#carousel .carousel-inner {
		height: auto;
	}
}

.agents-wrapper .agent .photo-wrapper {
	width: 300px;
    height: auto;
    margin-right: 50px;
    margin-bottom: 0px;
}

.agents-wrapper .agent .photo-wrapper img {
    width: 100% !important;
    max-width: 300px !important;
}

header #menuNavbar nav ul {
	list-style-type: none;
}

header #menuNavbar nav ul li .dropdown-menu {
	border: none;
	background: rgba(0,0,0,.25);
	width: 100%;
	position: relative;
	margin: 15px 0 25px 0;
}

header #menuNavbar nav ul li .dropdown-menu a {
	margin: 0px;
	padding: 10px 10px 7px 10px;
}

header #menuNavbar nav ul li .dropdown-menu a:hover {
	background: transparent !important;
}


#carousel .carousel-inner {
	height: auto !important;
}

#carousel .carousel-inner .container {
	max-width: 100%;
}

#carousel .carousel-inner button.prev {
	z-index: 1;
    left: 20px;
	top: calc(50% - 25px);
	width: 50px;
	height: 50px;
}

#carousel .carousel-inner button.next {
    z-index: 1;
    left: calc(100% - 70px);
	top: calc(50% - 25px);
	width: 50px;
	height: 50px;
}

#carousel .carousel-inner .carousel-item > img {
    max-width: 9000px;
    position: relative;
    left: 0px !important;
    top: 0px !important;
    transform: none !important;
    display: block;
	width: 100%;
}

@media only screen and (max-width: 992px) {
	#carousel .carousel-inner {
		height: auto;
	}
}

@media only screen and (max-width: 768px) {
	#carousel .carousel-inner {
		height: auto;
	}
}
header .menunavbar ul.nav .dropdown-menu a, header .menunavbar ul.nav .dropdown-menu a:hover, header .menunavbar ul.nav .dropdown-menu a:focus {text-align: left; text-align-last: left;}

@media only screen and (min-width: 1201px) {
	#fanbackburp {
		width: 64% !important;
	    height: auto !important;
	    top: 5% !important;
	    left: 8% !important;
	    margin: 0 8% !important;
	}
}
@media only screen and (max-width: 1200px) {
	#fanbackburp {
		width: 84% !important;
	    height: auto !important;
	    top: 5% !important;
	    left: 0 !important;
	    margin: 0 8% !important;
	}

	#fanbackburp img {
		height: auto !important;
		width: 100% !important;
	}
}

@media only screen and (max-width: 768px) {
	#fanbackburp {
		width: 84% !important;
	    height: auto !important;
	    top: 22% !important;
	    left: 0 !important;
	    margin: 0 8% !important;
	}

	#fanbackburp img {
		height: auto !important;
		width: 100% !important;
	}
}
section#content .content-wrapper img {
	max-width: 100%;
	display: inline-block;
	height: auto;
}
@media only screen and (max-width: 768px) {
	.modal-body {
		max-height: calc(100vh - 300px);
		overflow: scroll;
	}
}
.modal-sm .modal-body, .modal-lg .modal-body {
	max-height: calc(100vh - 164px) !important;
	overflow: scroll !important;
}
footer.minimal-center .copyright, footer.minimal-center .bo {
	float: inherit;
}
.modal-body::-webkit-scrollbar { width: 0 !important }
.modal-body { overflow: -moz-scrollbars-none; }
.modal-body { -ms-overflow-style: none; }

@media only screen and (max-width: 768px) {
	body {
		padding-top: 50px;
	}
	header {
		position: fixed;
		width: 100%;
		z-index: 99999;
		top: 0px;
	}
	section#search {
		//z-index: 99999;
		//width: 100%;
		//top: 50px;
		//bottom: 0px;
		//position: fixed;
		//overflow: hidden scroll;
		//height: 100%;
	}
}
.wrap.buttons {
	padding: 12px 0;
	margin-bottom: 40px;
}
.wrap.buttons .btn-link {
	text-transform: uppercase;
	font-weight: 600;
	font-size: 13px;
	padding: 12px 18px;
}
.wrap.buttons .btn-link i.fa {
	margin-right: 15px !important;
	font-size: 15px;
	position: relative;
	top: 1px;
}
.wrap.buttons .btn-link:hover {
	text-decoration: underline;
}

#next a {
	padding: 8px;
	width: 100%;
	margin-top: 10px;
	font-weight: bold;
	background: transparent;
	border: 2px solid #9b2018;
	padding: 6px 12px;
	color: #9b2018;
	font-family: "Playfair Display",serif;
	font-size: 0.9em;
	text-transform: uppercase;
	-webkit-transition: background-color 150ms linear;
	-moz-transition: background-color 150ms linear;
	-o-transition: background-color 150ms linear;
	-ms-transition: background-color 150ms linear;
	transition: background-color 150ms linear;
	font-weight: bold;
	cursor: pointer;
}
#next a:hover {
	background: #9b2018;
	color: #fff;
}
