/*
Theme Name: mycarrentals
Theme URI: http://megantic.com.au
Author: Megantic
Author URI: http://megantic.com.au
Description: Quality Car Hire in Melboure @ My Car Rentals Richmond.
License: MyCarRentals Public License version 1.0
License URI: http://megantic.com.au
Version: 1.0
*/

@import url("css/base.css");
@import url("css/buttons.css");
@import url("css/skeleton.css");
@import url("css/layout.css");
@import url("css/variables.css");
@import url("css/shortcodes.css");
@import url("css/animations.css");
@import url("css/font-awesome.css");
@import url("css/fonts.css");

/* If you want to add your own css code, please do it in css/custom.css */
input.wpcf7-form-control.wpcf7-text.wpcf7-tel.wpcf7-validates-as-required.wpcf7-validates-as-tel,input.wpcf7-form-control.wpcf7-date.wpcf7-validates-as-date {
    background-image: url("http://www.mycarentals.com.au/wp-content/themes/mycarrentals/css/skins/green/images/bg_forms.png");
    background-repeat: repeat-x;
    background-position: left top;
    background: #fcfcfc;
    color: #8C8C8C;
    border-top: 1px solid #D3D3D3;
    border-left: 1px solid #D3D3D3;
    border-bottom: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;
    padding: 8px 10px;
    outline: none;
    margin: 0;
    width: 230px;
    max-width: 100%;
    display: block;
    margin-bottom: 0px;
    font-size: 13px;
}
input[type="text"], input[type="password"], input[type="email"], textarea, select{
    margin-bottom: 0px;
}
.ep_item .item_title{
    color:#fff;
}
.portfolio.type-portfolio {
    padding: 15px;
}
ul.ep_filter.ep_group {
    display: none;
}
ul.ep_filter.ep_group {     display: none; }
.ep_portfolio li {
    overflow: hidden;
}
.contact-form-z{
position : relative; 
z-index:11;
    float: none;
    margin: 0 !important;
}
portfolio-content-list {
    background: #fff;
    position: relative;
    z-index: 11;
    overflow: hidden;
}
.ep_item .ep_portfoliourl{
    height: 225px;
}
.portfolio-content-list p .portfolio-rent-btn.fancybox {
    display: none;
}

a.zoom.fancybox.image {
    display: none;
}
.ep_entry-content {
    margin-bottom: 20px;
}
.cus-fancybox-hidden {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    background: #0000005c;
    padding: 2rem;
    z-index: 1000;
    overflow: auto;
    display: none !important;
    cursor: pointer;
    bottom: 0;
    right: 0;
    display: flex !important;
    opacity: 0;
    visibility: hidden;
    transition: .5s ease  all;
    height: auto;
    align-items: start;
}
.cus-fancybox-hidden.active {
    visibility: visible;
    opacity: 1;
}
.cus-fancybox-close {
    position: absolute;
    right: 0;
    background: #000;
    color: #fff;
    padding: 10px;
    top: 0;
    border-radius: 10px;
    width: 15px;
    height: 15px;
    line-height: 15px;
    text-align: center;
}

@media only screen and (min-width: 767px) {
.ep_portfolio li {
    overflow: hidden;
    width: 100%;
    display: flex;
}
.portfolio_img.wp-post-image {
    height: 225px;
    margin-right: 15px;
}
.ep_item .ep_portfoliourl {
    height: 225px;
    width: 300px;
}
}
realated-post {
    display: block;
    position: relative;
    width: 100%;
    clear: both;
}
img.attachment-full.wp-post-image {
    max-width: 100%;
    height: auto;
}
@media only screen and (max-width: 767px) {
.ep_content_details {
    width: 100%;
    position: relative;
    float: none;
}
.ep_entry-content {
    width: 100%;
    position: relative;
    float: none;
}
.ep_entry-content .ep_featured-image img {
    max-width: 100%;
    height: auto;
}
.ep_entry-content .portfolio-rent-btn.button {
    margin-bottom: 10px !important;
    float: none;
}
}
.realated-post {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 15px;
}
nav.nav-single {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
}

div#contact_form_pop_rent, div#contact_form_pop_rent_own {
    background: #FFF;
    padding: 2rem;
    max-width: 520px;
    margin: 50px auto;
    border-radius: 10px;
    position: relative;
    transition: all .25s ease;
    transform: scale(1.1);
    opacity: 0;
    width: 100%;
}
.cus-fancybox-hidden.active div#contact_form_pop_rent_own,
.cus-fancybox-hidden.active div#contact_form_pop_rent {
    transform: scale(1);
    opacity: 1;
}

div#contact_form_pop_rent h2.gform_title,
div#contact_form_pop_rent_own h2.gform_title{
    font-weight: bold;
    font-size: 30px;
}

.cus-fancybox-close.popup-overlay {
    width: auto;
    height: auto;
    background-color: transparent;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}
.overflow-hidden {
    overflow: hidden;
}