/*
Theme Name: RDP Listing Hub
Theme URI: http://www.tourismnortheast.com.au
Version: 1.0
Description: An Beaver Builder child theme
Author: Dean Cleave-Smith
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

.cm-s-duotone-dark.CodeMirror {background-color:white!important;}

/*RDP Listing Page */
.rdp-fullwidth {width:100%;}
.rdp-icon {margin-right: 10px;}
.rdp-icon-set {text-align: center;}
.rdp-street-address i, .listing-event-dates i, .listing-classifications i {margin-right:10px;}
ul.rdp-classifications {list-style-type: none;padding-left:0;}
.rdp-classifications li {display: inline-flex;padding: 2px 6px;border: 0;background-color: #585858;margin-right: 5px;margin-bottom:5px;border-radius: 0;font-size:0.9em;color:white;}

ul.rdp-attributes {list-style-type: none;padding-left:0;}
.rdp-attributes li {display: inline-flex;padding: 1px 6px;border:0;background-color:#aeaeae;margin-right: 5px;margin-bottom:5px;border-radius: 4px;font-size:0.9em;color:white;}
.buttonicon {float:left;}

@media (max-width:768px) {
.rdp-listing h1, .single-listing h1 {font-size:24px!important;margin-bottom:0!important;margin-top:10px!important;}
.rdp-listing h4 {margin-top:0;}
}

/*Instagram Module */
@media (max-width:1024px) {
.fl-module-bb-rdp-instagram-module .slider-item {width:220px;margin:5px 10px;}
}

body h2.fl-post-grid-title {font-size:22px!important;}
.fl-post-grid-text {padding: 20px 10px!important;}
.Zfl-post-grid-post {
    width:210px!important; 
    margin-bottom:8px!important;
}

/*RDP Style Button, overides BB styles */
.rdp-listing-button {padding:6px 10px;border:2px solid DarkGray;text-align:center;margin:0;background-color:white!important;font-size:1.0em;}
.rdp-listing-button span {font-size:1.0em!important;}

.rdp-button a.fl-button {
    border: 2px solid #f69631 !important;
    border-radius: 0!important;
    background-color: white!important;
}
.rdp-button a.fl-button *{
    color:#f69631 !important;
}
.rdp-button a.fl-button:hover  {
    border: 2px solid #f69631 !important;
    background-color: #f69631 !important;
}
.rdp-button a.fl-button:hover * {
    color:white!important;
}
span.rdp-map-btn {
	padding: 1px 5px;
	font-size: 0.8em;
	border: 1px solid;
	margin-left: 10px;
	background-color: black;
}
.rdp-map-btn a {color:white;}

@media (max-width:768px) {
.rdp-col-mob-top-margin {margin-top:10px;}
.rdp-col-mob-right-margin {margin-right:10px;}
.rdp-col-mob-bottom-margin {margin-bottom:10px;}
.rdp-col-mob-left-margin {margin-left:10px;}
}

.fa-rotate-45 {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.rdp-listing-services .panel-title > a {
  display: block;
  position: relative;
}
.rdp-listing-services .panel-title > a:after {
  content: "\f078"; /* fa-chevron-down */
  font-family: 'FontAwesome';
  position: absolute;
  right: 0;
}
.rdp-listing-services .panel-title > a[aria-expanded="true"]:after {
  content: "\f077"; /* fa-chevron-up */
}

/*TNE Page Template tweaks */
.tne-single-column .fl-row-content-wrap {width:66%;margin-left:auto;margin-right:auto;}
@media (max-width:768px) {
.tne-single-column .fl-row-content-wrap {width:100%;margin-left:auto;margin-right:auto;}
}

/*RHC Listings and Card */

ul.rdp-rhc_attributes {list-style-type: none;padding-left:0;}
.rdp-rhc_attributes li {display: inline-flex;padding: 2px 6px;border: 0;background-color: #585858;margin-right: 5px;margin-bottom:5px;border-radius: 0;font-size:0.9em;color:white;}
li.rhc-black {background-color:black;color:white;}
li.rhc-double-black {background-color:black;color:white;}
li.rhc-blue {background-color:blue;color:white;}
li.rhc-green {background-color:green;color:white;}
li.rhc-white {background-color:white;color:black;border:1px solid gray;}

/* Platform Card styling */

.card {max-width:270px;width:100%;display:inline-block;margin:auto auto;border:0px solid DarkGray;background-color:#666;position:relative;height:345px;min-height:285px;}
.card .card-img {background-color:transparent;}
.card .card-img img {height:auto;margin-left:auto;margin-right:auto;background-color:transparent;}
.card .card-text {padding:10px 6px;background-color:#666666;color:white;position:absolute;width:100%;}
.card .btn {background-color:transparent;border:1px solid white;border-radius:0;color:white;padding:4px 6px;float:right;font-size:0.8em;}
.card .card-title {font-size:16px;width:inherit;}
.card .card-title h4 {font-size:18px;color:white;margin:0;}
.card .card-date {height:18px;padding-top:4px;}
.card .card-collection {height:14px;}
.card ul.rdp-rhc_attributes {margin-top: 8px;margin-bottom: 0;}
.fl-post-grid-post {background-color:transparent;border:none;}
.DCSfl-post-grid  {text-align:center;}
.DCSfl-post-grid .fl-post-grid-text {text-align:left;}
.DCSfl-post-grid .card {text-align:left;margin:0;}
.DCSfl-post-grid .card .card-img {width:270px;}
