/*
 Theme Name:   MMD
 Description:  Theme for MMD Shipping
 Template:     ultima
 Version:      1.0.6
 Text Domain:  mmd
*/

/* Slider title on home page */
/* Hide the usual title box - title will be moved with JS */
.page-id-11 .qodef-title {
  display: none;
}
/* Position the title in the slider */
.page-id-11 h1 {
  position: absolute;
  bottom: 0;
  padding: 0.5em;
  background: #3dbb95;
  color: #fff;
  z-index: 999;
  font-size: 20px;
}
@media only screen and (min-width: 600px) {
  .page-id-11 h1 {
    font-size: 30px
  }
}
@media only screen and (min-width: 768px) {
  .page-id-11 h1 {
    font-size: 40px
  }
}
@media only screen and (min-width: 1024px) {
  .page-id-11 h1 {
    font-size: 50px
  }
}

/*
 * Page title in header
 */
.qodef-title .qodef-title-holder .qodef-container-inner,
.qodef-title .qodef-title-holder .qodef-title-subtitle-holder {
	vertical-align: bottom !important;
}
/* .page-id-11 h1, */
.qodef-title .qodef-title-holder .qodef-title-subtitle-holder h1 {
	padding: 0.5em;
	background: #3dbb95;
	color: #fff;
}

/*
 * Page header with background image
 */
.qodef-title {
  background-position: center !important;
  background-size: cover !important;
}

.single .qodef-title {
	display: none;
}

.qodef-sidebar .widget {
	text-align: left;
}

.qodef-post-info-author,
.qodef-post-info-author-image {
	display: none !important;
}

.qodef-blog-holder article .qodef-post-info.qodef-section-top>div:after {
	content: "" !important;
}

.qodef-blog-list .qodef-item-info-section {
	display: none !important;
}

.qodef-tabs.qodef-vertical-tab .qodef-tabs-nav li.ui-state-active a {
	border-right-color: #3dbb95 !important;
}

.qodef-drop-down .second {
	border-top-color: #3dbb95 !important;
}

.qodef-tabs .qodef-tabs-nav li.ui-state-active a {
	background-color: #3dbb95 !important;
}

.qodef-tabs.qodef-vertical-tab.qodef-tab-boxed .qodef-tabs-nav li a:hover {
    background-color: #656d78 !important;
}
.qodef-main-menu>ul>li.qodef-active-item>span>a, .qodef-icon-shortcode .qodef-icon-element, .qodef-main-menu>ul>li>span.qodef-menu-flip-holder a:hover {
	color: #3dbb95 !important;
}

.qodef-content,
.qodef-drop-down .second .inner ul li a,
.qodef-mobile-header .qodef-mobile-nav a {
	color: #000 !important;
}

h1, h2, h3, h4 {
	text-transform: none;
}

.carousel .carousel-inner {
	position: absolute;
}

.qodef-logo-wrapper a,
.qodef-mobile-logo-wrapper a{
	height: 77px !important;
}

.qodef-top-bar .widget .widgettitle,
.qodef-top-bar .widget .wp-caption,
.qodef-top-bar .widget form:not(#searchform),
.qodef-top-bar .widget p,
.qodef-top-bar .widget a,
.qodef-top-bar .widget a:hover {
	display: inline-block !important;
	color: #fff;
	white-space: nowrap;
}

.qodef-header-vertical .qodef-vertical-menu-area, .qodef-top-bar .qodef-position-left .widget:last-child, .qodef-top-bar .widget.widget_search {
    display: inline-block;
}

.qodef-content {
	margin-top: 0 !important;
}

.attachment-thumbnail {
	margin-bottom: 35px;
}

.cn-button.bootstrap {
    background-color: rgb(61, 187, 149) !important;
    background-image: none !important;
}

.cn-button.bootstrap a:hover {
    background-color: rgb(54, 168, 134) !important;
    background-image: none !important;
}

/*
 *  Slider fixes
 */
.carousel .carousel-inner {
  position: absolute !important;
}
.carousel .carousel-inner .item .qodef-image {
  background-position: center !important;
}
.carousel a.carousel-control {
  padding-top: 0 !important;
}

/*
 *  Scroll to content button
 */
#qodef-scroll-to-content {
    position: absolute;
    width: 45px;
    right: 30px;
    top: 30px;
    margin: 0;
    z-index: 10000;
    overflow: hidden;
  
	opacity: 1;
	visibility: visible;
}

#qodef-scroll-to-content > span {
    width: 43px;
    height: 43px;
    line-height: 43px;
    text-align: center;
    display: block;
    color: #fff;
    font-size: 29px;
    background-color: rgba(36,38,42,.85);
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    box-sizing: border-box;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

#qodef-scroll-to-content span span {
    display: block;
    line-height: inherit;
}

#qodef-scroll-to-content .qodef-icon-stack-flip {
    position: absolute;
    top: 0;
    left: 0;
    width: 43px;
    height: 43px;
    background: 0 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: none !important;
}