/*

Theme Name: Budget Website (ECO)

Theme URI: http:www.thewebco.co.nz

Version: 2.1

Description: One page ECO template.

Author: The Web Company

Author URI: http:www.thewebco.co.nz

Created Date: 07/10/2014

License: The Web Company

All files, unless otherwise stated, are released under the company policy

*/

@media only screen and (min-width: 1100px) {

	/*.separator1 .bg, #intro .bg1 {

		background-attachment: fixed !important;

	}*/

}

@media only screen and (max-width: 1050px) {

	.hoverimage { 

		display: none !important;

	}

}

.filter ul li {

display: inline-block !important;

}

.portfolio_details a {

	text-decoration: none;

}



.portfolio-item iframe, .portfolio-item img {

	width: 620px;

	height: 370px;

}



.buttonbuilder {

	width: 90%!important;

	padding-left: 5%!important;

	padding-right: 5% !important;

}



iframe, embed, img {

	max-width: 100%;

}



img {

	height: auto;

}



.contact-form input[type="text"]:focus, 

.contact-form input[type="password"]:focus, 

.contact-form input[type="email"]:focus, 

.contact-form textarea:focus {

	color: #FFF;

}



nav ul {

	position: relative;

	display: inline-table;

}

nav ul:after {

	content: ""; clear: both; display: block;

}

nav ul li {

	padding: 0;

	position: relative;

}



nav ul li a {

	display: inline-block;

	padding: 2px 26px 10px;

}



nav ul ul {

  background-color: #a09b9b;

  display: none;

  position: absolute;

  top: 100%;

  padding: 10px 0;

  z-index: 1000;

  margin: 0;

  width: auto;

}



nav ul ul li {

  border: none !important;

  position: relative;

  width: auto;

  padding: 0px 10px;

}



nav ul ul li a {

	color: #fff !important;

	padding: 7px 0;

}





nav ul ul li a:hover {

	color: #fff !important;

}



nav ul ul ul {

  position: absolute;

  margin-top: -10px;

  left: 100%;

  top: 0%;

}



nav ul li:hover > ul {

  display: block;

}



/*****************************************************

11: Blog

******************************************************/



#blog p, #blog a {

    color: #fff;

}



#blog a, #blog a:hover {

	text-decoration: none;

}



p.post-title {

    font-size: 30px;

    font-weight: 600;

    text-transform: uppercase;

    margin-top: 20px;

    margin-bottom: 7px;

}



p.post-info {

    font-size: 14px;

    opacity: 0.65;

}



p.post-info img {

    margin-right: 3px;

}



/* begin sidebar */



.sidebar {

    margin-top: 10px;

    border-left: 1px solid #fff;

    padding-left: 20px;

}



.search input[type="text"] {

    border: 1px solid #ccc;

    padding: 6px 4px;

    outline: none;

    font: 13px 'Source Sans Pro', sans-serif;

    color: #fff;

    margin: 0;

    width: 100%;

    display: block;

    margin-bottom: 20px;

    background: transparent;

}



.sidebar p {

    margin: 0;

    line-height: 20px;

    color: #fff;

}



p.sidebar-title {

    text-transform: uppercase;

    margin-bottom: 20px;

    padding-bottom: 6px;

    border-bottom: 1px solid #fff;

}



p.s-small {

    font-size: 13px;

    opacity: 0.7;

}



.sidebar a {

    text-decoration: none;

    color: #fff;

}



.sidebar a:hover {

    text-decoration: underline;

}



.sidebar ul {

    list-style: circle;

    color: #fff;

    margin-left: 20px;

    margin-bottom: 30px;

}



.sidebar ul.popular {

    list-style: none;

    margin-left: 0;

}



.sidebar ul li {

    margin: 0 0 10px 0;

}



/* end sidebar */



/* begin single-post page */



div.single-post {

    border-bottom: 1px dotted #d9d9d9;

    padding-bottom: 20px;

    margin-top: 11px;

    margin-bottom: 30px;

}



.comment {

	margin-top: 20px;

	margin-bottom: 0;

}



.user-name {

	margin-bottom: 1px;

}



.user-date {

	font-size: 12px;

	color: #868686;

	margin-bottom: 5px;

}



.user-text {

	color: #868686;

	border-top: 1px dotted #d9d9d9;

	border-bottom: 1px dotted #d9d9d9;

	padding: 8px 0;

	font-size: 14px;

}



.comment-respond h3 {

	font-size: 24px;

    margin-bottom: 10px;

}



.comment-respond  p.logged-in-as, .comment-respond .comment-notes {

	margin-bottom: 20px;

}



p.form-allowed-tags {

	display: none;

}



.comment-respond input[type="text"], .comment-respond textarea {

    border: 1px solid #ccc;

    padding: 6px 4px;

    outline: none;

    font: 13px 'Source Sans Pro', sans-serif;

    color: #fff;

    margin: 0;

    width: 100%;

    display: block;

    margin-bottom: 20px;

    background: transparent; 

}



.comment-respond p {

    margin-bottom: 0;

    font-size: 14px;

}



/* end single-post page */



.pagination .rightpag {

	float: right;

}



.pagination .leftpag {

	float: left;

}



.user-text {

	line-height: 29px;

}



.left_comment {

	width: 10%;

	margin-right: 2%;

	float: left;

}

.right_comment {

	width: 88%;

	float: left;

}



ol.commentlist ul {

	margin-left: 60px;

}
.page .page-title{
    margin-top: 0 !important;
    border-bottom: 1px solid #ccc;

}
.caravan-left-align,.caravan-right-align{
    margin-left: 0 !important;
    box-shadow: 0 1px 2px #9cafc1;
    transition: box-shadow .5s;
}
.inner-part{
    padding: 20px !important;
}
.caravan-right-align p.post-title{
    margin-top:0 !important;

}
/*.loop-post{background: #e5e5e5;}*/
.loop-post .price{
    font-weight: 700;
    font-size: 14px;
}
.single-post{
    margin-top: 0 !important;
}
.single-post h2.post-title{
    margin:0 0 30px !important;
}
.caravan-right-align .button1:hover{background: #fff;color: #d20000;}
.page-template .white-bg{margin:0 0 30px 0 !important; }
.loop-post .post{
    float: left;display: flex;margin-bottom: 30px;justify-content: space-between;    background: #e5e5e5;
}
.caravan-left-align a{position: relative;display: block;height: 100%;overflow: hidden}
.caravan-left-align a img{
    /*position: absolute;*/
    /*left: 50%;*/
    /*top:50%;*/
    /*transform:translateX(-50%) translateY(-50%);*/
    /*height: 100%;*/
    /*width: auto;*/
    /*max-width: initial !important;*/
    display: block;
}

.left-price{float: left;display: inline;}
.right-button{float: right;display: inline;}
.right-button a{
    z-index: 10;
    cursor: pointer;
    text-transform: uppercase;
    padding: 7px 10px;
    border-radius: 5px;
    margin: 0;
    width: auto;
    float: right;
    text-align: center;
    background: #d20000;
    color: #fff !important;
    border: 1px solid #d20000;
}
.right-button a:hover{
    background: #fff !important;
    color: #d20000 !important;
}
.et_builder_outer_content .et_pb_section{
    float: left;
    width: 100%;
    padding: 0 !important;
}
.et_builder_outer_content{
    float: left;
    display: block;
    width: 100%;
}
div.single-post{
    padding-bottom: 0 !important;
}
.button-area{
    float: left;
    display: block;
    width: 100%;
    padding-top: 20px;
}
.loop-post .price {
    font-weight: 800;
    font-size: 16px;
    color: #d80000;
    padding-top: 15px;}

@media (max-width: 768px) {
    .loop-post .post{
        display: block;
    }
    .caravan-left-align a img{
        position: relative;
        left: inherit;
        top:inherit;
        transform:translateX(0) translateY(0);
        height: auto;
        width: auto;
        max-width: 100% !important;

    }
    .caravan-template .container{
        margin:30px auto;
    }
    .back-button{
        padding-top:20px;
    }
}
.caravan-template  div.single-post {
    border-bottom: 0 !important;
}
.page-template-page-caravan-template h2.page-title,.caravan-template h2.post-title{
    font-size: 45px;
}
.caravan-sale .post{
    width: 31.3%;
    display: inline-block;
    margin-right: 3%;
}
.caravan-sale .post:nth-child(3n){
    margin-right: 0;
}
.caravan-sale .post .caravan-left-align,.caravan-sale .post .caravan-right-align{width: 100%;display: block;}
.caravan-sale p.post-title{
    font-size: 18px;
}
.caravan-right-align .button1{
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .caravan-sale .post{
        width: 47%;
    }
    .caravan-sale .post:nth-child(2n){
        margin-right: 0;
    }
    .caravan-sale .post:nth-child(3n){
        margin-right: 3%;
    }
}
@media (max-width: 479px) {
    .caravan-sale .post{
        width: 100%;
    }
}
.caravan-sale .pagination{
    margin-top:80%;
}
.et_pb_pagebuilder_layout.single-POST_TYPE #page-container .et_pb_row {
    width: 100%;
}
.et_pb_pagebuilder_layout.single-POST_TYPE #page-container .et_pb_with_background .et_pb_row {
    width: 80%;
}
nav ul li{
    float: left;
    line-height: 18px;
}
.sub-menu li a{
    line-height: 20px;
    text-overflow: ellipsis;
}
.sub-menu li a:hover{
    color:#d20000 !important; ;
}
@media (max-width: 1368px) {
    #menu-top-menu li a{
    font-size: 16px;
    font-weight: 600;
}
}