/*
 Theme Name:   The7 Child
 Theme URI:    https://themeforest.net/item/the7-responsive-multipurpose-wordpress-theme/5556590
 Description:  The7 Child Theme
 Author:       Pavilion Web
 Author URI:   http://www.pavilionweb.com
 Template:     dt-the7
 Version:      1.0.0
*/

@media screen and (max-width: 970px) {
    .hentry .dzsportfolio.skin-default .items .portitem { width: 50%; }
}

@media screen and (max-width: 500px) {
    .hentry .dzsportfolio.skin-default .items .portitem { width: 100% !important; }
}

.pav_archive-single {
    display: block;
    text-transform: uppercase;
    font-size: 24px;
    margin: 15px 0;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    color: #3a3a3a;
    font-weight: 300;
}

#pav_archive-select {
    display: block;
    width: 100%;
}

.single-related-post img {
	max-width: 100% !important;
    height: auto !important;
}

.single-related-post .post-content {
    display: block;
}

.widget.adrotate_widgets .g-1 {
    max-width: none !important;
}

.widget.adrotate_widgets img {
    width: 100%;
}

.post img.size-full {
     width: 100% !important;
}

.home-adzone-top .wpb_text_column {
    margin-bottom: 15px;
}

/* Fixes for portfolio section */

.hentry .dzsportfolio.skin-default .portitem {
    border-bottom: 0 !important;
    margin-right: 0 !important;
    background: none !important;
    width: 33%;
    padding: 7px !important;
    margin-bottom: 0 !important;
    vertical-align: top !important;
}

.hentry .dzsportfolio .portitem .item-meta {
    display: block !important;
    padding: 0 !important;
    position: absolute !important;
    margin: auto !important;
    top: 7px !important;
    left: 7px !important;
    right: 7px !important;
    bottom: 7px !important;
    overflow: hidden !important;
    transition: 0.3s all ease !important;
    background: rgba(255, 109, 168, 0)
}

.hentry .dzsportfolio .portitem .the-title {
    width: 100% !important;
    top: 100% !important;
    margin-bottom: 0 !important;
    font-size: 17px !important;
    line-height: 1.2em !important;
    /* top: 50%; */
    /* margin-top: 10px; */
    background: white !important;
    transition: 0.3s all ease !important;
    position: absolute !important;
    padding: 10px 5px !important;
    color: #222 !important;
    height: 100%;
    font-family: "Source Sans Pro", Arial, sans-serif;

}

.form-allowed-tags {
    display: none
}

/* Folio Micro-menu */

#folionav {
    transition: 0.3s all ease;
    display: block;
    position: relative;
    text-transform: uppercase;
    background: #fff;
    border: 1px solid #aaa;
    border-left: 0;
    border-right: 0;
    width: calc(100% - 20px);
    padding: 0 !important;
    font-size: 13px;
    z-index: 8;
    top: 0;
    margin: 10px auto 0;
    cursor: pointer;

}

#folionav:hover {
    background: #00c6b5;
    border: 1px solid #00c6b5;
}

#folionav li {
    display: block;
    padding: 6px 3px !important;
    position: relative;
    margin: 0;
    list-style: none;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    color: #aaa;
    transition: 0.3s all ease;
}

#folionav:hover li {
    color: #fff;
}

#folionav li ul {
    padding: 5px !important;
    display: none;
    position: absolute;
    background: #fff;
    margin: 0;
    top: 35px;
    height: auto !important;
    left: 0;
    width: 100%;
    box-shadow: 0 3px 6px -2px rgba(0, 0, 0, 0.6);
}

#folionav li ul li {
    display: inline-block;
    width: auto;
    padding: 0 10px !important;
    background: #f2f2f2;
    margin: 3px !important;
    border-radius: 5px;
}

#folionav li ul a {
    display: block;
    text-align: center;
    padding: 7px 5px !important;
    text-decoration: none !important;
    color: #333;

}

#folionav li ul .current_page_item {
    background: #ff6da8;
}

#folionav li ul .current_page_item a {
    background: none;
    color: #fff !important;
}

h1.folio-title {
    font-weight: 400 !important;
    font-family: 'Ostrich Sans';
    text-rendering: optimizeLegibility;
    font-size: 49px !important;
    margin: 0;
    letter-spacing: 1px;
    line-height: 0.9em;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.dropper span i {
    transition: 0.3s transform ease;
    padding: 4px 0 0 10px;
    /* transform: rotate(-90deg);*/
    font-size: 12px;
}

#folionav:hover .dropper span i {
    /*  transform: rotate(0deg);*/
}

/* Menu width / padding fix */

.sf-menu li {
    padding: 0 !important;
    transition: all 0.2s ease !important;
    -webkit-transition: all 0.2s ease !important;
}

.button {
    background: #00c6b5 !important;
    border: 1px solid #00c6b5 !important;
    box-shadow: none !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    transition: none !important;
    -webkit-transition: none !important;
}

.button:hover {
    background: #ff6da8 !important;
    border: 1px solid #ff6da8 !important;
}

.twelve.columns .sf-menu li:hover {
    background: #333 !important;
}

#folionav .dropper:hover ul {
    display: block;
}

.hentry .dzsportfolio .portitem .item-meta:hover .the-title,
.hentry .dzsportfolio .portitem .item-meta.touchhover .the-title {
    bottom: 0% !important;
    top: 50% !important;
}

.dt-gallery-container.gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.dt-gallery-container.gallery dl.gallery-item {
    flex: 1 0 33%;
    float: none !important;
    width: auto !important;
    margin-left: 10px;
    margin-top: 0px !important;
}

.dt-gallery-container.gallery dl.gallery-item:first-of-type {
    margin-left: 0 !important;
}

div[style="margin-bottom: -1.4em;"] {
  margin-bottom: 0 !Important;
}
