

/*  ---------------------------------------

    BASE          

---------------------------------------- */

/* Helper classes
---------------------------------------- */


.clearfix:after,
.grid:after {
	content: "";
  display: block;
  clear: both;
}

.contentcenter {
  margin: 0 auto;
  position: relative;
}

.clear	{ clear: both; }
.left 	{ float: left; }
.right	{ float: right; }

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.left { margin: 0 20px 20px 0; }
img.right { margin: 0 0 20px 20px; }
img.center { margin-bottom: 20px; }

.hide { display: none !important; }
.show { display: block !important; }

/*
  The visuallyhidden class can be added to any element that you want to hide visually, while still have its content accessible to screen readers.
  Credit to Jonathan Snook (http://snook.ca/archives/html_and_css/hiding-content-for-accessibility) and Chris Coyier (https://css-tricks.com/places-its-tempting-to-use-display-none-but-dont).
  
*/

.visuallyhidden { 
  position: absolute; 
  overflow: hidden; 
  clip: rect(0 0 0 0); 
  height: 1px; width: 1px; 
  margin: -1px; padding: 0; border: 0; 
}


/* Components
---------------------------------------- */

.nav,
.nav ul,
.nav .expanded,
.breadcrumb,
.pagination,
.comment-list,
.comment-list .children { list-style: none; margin: 0; padding: 0; }

/* Navigation */

.nav { z-index: 100; }
.nav > li { float: left; margin: 0; position: relative; }
.nav > li a { display: block; }

/* Dropdown */

.dropdown {
  background: #fff;
  position: absolute;
  left: -5000em;
  z-index: 101;
}
.nav li .dropdown { min-width: 100%; }
.dropdown li { white-space: nowrap; }
li.hover > .dropdown { left: auto; }

/* Off-canvas menu */

body > div { overflow-x: hidden; } /* Prevents horizontal scrolling on mobile devices */

#btn-offcanvas {
  display: none;
}

/* Breadcrumbs */

.breadcrumb > li { float: left; }
.breadcrumb > li:after {
  content: '/';
  color: #ccc;
  margin: 0 0.5em;
}
.breadcrumb > li:last-child:after { content: ''; margin: 0; }
.breadcrumb > li.active { color: #999; }

/* Pagination */

.pagination > li { display: inline-block; margin: 0 0.25em; }
.pagination > li.pager-ellipsis { color: #999; }

/* Progress bar */

.progress {
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  background: #eee;
  border-radius: 2px;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
}
.progress .progress-bar {
  -moz-transition: width 0.6s ease-in-out;
  -webkit-transition: width 0.6s ease-in-out;
  -o-transition: width 0.6s ease-in-out;
  background: #007dbe;
  color: #fff;
  font-size: 0.8125em;
  text-align: center;
  transition: width 0.6s ease-in-out;
}
.progress .progress-bar .percent { display: block; }

/* Comments */

.comment-list .userpicture { float: left; margin: 0 20px 0 0; }

/* Search form */

.searchform fieldset {
  background: #fff;
  border: 1px solid #ddd;
  height: 34px;
  padding: 0;
  position: relative;
}
.searchform input[type="search"] {
  background: transparent;
  border: 0;
  float: left;
  width: 75%;
}
.searchform input[type="submit"] {
  border-radius: 0 2px 2px 0;
  float: left;
  position: relative;
  right: -1px;
  top: -1px;
  width: 25%;
  
  /* -- Use the text-indent property to hide submit value in case you want to display a background image - i.e. a magnifying glass icon - instead of text.
    text-indent: -9999em; 
  */

  
}


/* UI
---------------------------------------- */

.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl,
.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr,
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl,
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br { -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }

.ui-helper-clearfix:after {
  visibility: hidden;
	display: block;
	font-size: 0;
	content: "";
	clear: both;
	height: 0;
}

.ui-widget {
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  font-family: inherit;
  font-size: inherit;
}
.ui-widget .ui-widget-header {
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  background: #eee;
  border: none;
  border-radius: 2px;
  color: #333;
  font-weight: 700;
}
.ui-widget-content {
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  -moz-transition: border 0.2s ease-in-out, background-color 0.3s ease-in-out;
	-o-transition: border 0.2s ease-in-out, background-color 0.3s ease-in-out;
	-webkit-transition: border 0.2s ease-in-out, background-color 0.3s ease-in-out;
  background: #f5f5f5;
  border: 1px solid #eee;
	transition: border 0.2s ease-in-out, background-color 0.3s ease-in-out;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight { background: #eee; }

.ui-state-highlight.ui-state-hover,
.ui-widget-content .ui-state-highlight.ui-state-hover,
.ui-widget-header .ui-state-highlight.ui-state-hover { background: #e6e6e6; }

.ui-state-hover,
.ui-state-focus,
.ui-widget-header .ui-state-hover,
.ui-widget-header .ui-state-focus { background: inherit; color: inherit; }

.ui-widget-content .ui-state-hover,
.ui-widget-content .ui-state-focus { border-color: #ddd; }

.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled { opacity: 0.2; }

#classifieds-form .ui-state-disabled { opacity: 1; }

/* Datepicker */

.ui-datepicker { padding: 5px; }
.ui-datepicker .ui-datepicker-header { padding: 5px; position: relative; }
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next { cursor: pointer; opacity: 0.4; top: 5px; }
.ui-datepicker .ui-datepicker-prev-hover { left: 2px; opacity: 1; }
.ui-datepicker .ui-datepicker-next-hover { opacity: 1; right: 2px; }

.ui-datepicker table { font-size: 0.9375em; margin: 0; }

/* Tabs */

.ui-tabs { border: none; padding: 0; }

.ui-tabs .ui-tabs-nav {
  background: transparent;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ui-tabs .ui-tabs-nav li {
  background: #eee;
  border: 1px solid #ddd;
  border-bottom: none;
  border-right: none;
  float: left;
  font-weight: 600;
  margin: 0;
  padding: 0;
}
.ui-tabs .ui-tabs-nav li:first-child {
  -moz-border-radius: 2px 0 0 0;
  -webkit-border-radius: 2px 0 0 0;
  border-radius: 2px 0 0 0;
}
.ui-tabs .ui-tabs-nav li:last-child {
  -moz-border-radius: 0 2px 0 0;
  -webkit-border-radius: 0 2px 0 0;
  border-right: 1px solid #ddd;
  border-radius: 0 2px 0 0;
}
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
  color: #999;
  padding: 9px 15px;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
  background: #fff;
  border-bottom: none;
  padding-bottom: 1px;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active a { color: #333; }

.ui-tabs .ui-tabs-panel {
  -moz-border-radius: 0 0 2px 2px;
  -webkit-border-radius: 0 0 2px 2px;
  border: 1px solid #ddd;
  border-radius: 0 0 2px 2px;
  padding: 15px;
}
/* Magnific popup */

.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  margin: 20px auto;
}


/*  -----------------------------------------------------------
  
   Print styles.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   Credit to Paul Irish and HTML5 Boilerplate (www.html5boilerplate.com)
   
------------------------------------------------------------ */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        max-width: 100% !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}



