/*
Theme Name: 	Betheme Child
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		Muffin group
Author URI: 	http://muffingroup.com
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
Version: 		1.6
*/

/* Theme customization starts here
-------------------------------------------------------------- */

div.amt-case-studies-block > div > div > img { height: 210px !important; }

@media only screen and (max-width: 767px){
div.amt-case-studies-block > div > div > img { height: 180px !important; }
}


.sections_group { padding-top: 0px; }

#Subheader.sub-header-case-study,#Subheader.sub-header-post{
    padding: 10px 0;
    color:#ffffff;
    font-size:16px;
    font-weight:600;
}

.amt-main-filter-link,.amt-viewing-link{
    width:110px;
    display:block;
    float:left;
}

.amt-viewing-link{
    width:190px;
    float:right;
    text-align:right;
}

@media only screen and (max-width: 767px){
    .amt-main-filter-link,.amt-viewing-link{
        width:100%;
        float:none;
    }
    .amt-viewing-link{
        border-top:solid 1px #ffffff;
        padding-top:8px;
        margin-top:8px;
        text-align:left;
    }
}

.amt-main-filter-link:before,.amt-viewing-link:before,.amt-category-filter-link:before{
    content:'\e876';
    position:relative;
    left:0px;
    width:14px;
    margin-right:18px;
    font-family: "mfn-icons";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: none !important;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
}

.amt-main-filter-link.filter-active:before,.amt-viewing-link.filter-active:before,
.amt-category-filter-link.menu_curr_category{
    content:'\e874' !important;
}


.amt-filter-top{
    border-bottom:solid 1px #ffffff;
    padding-bottom:8px;
}
.amt-filter-bottom a,.amt-filter-bottom a:visited{
    color:#ffffff;
    padding-top:8px;
}
.amt-filter-bottom a:hover, .amt-filter-bottom a.menu_curr_page,.amt-category-filter-link.menu_curr_category{
    color:rgba(255, 255, 255, 0.6);
    text-decoration: none;
}


.amt-filter-bottom a.filter-active{
    color:rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

#amt-filter-menu-wrapper{
    background-color:#f58025;
}


#amt-filter-right-view-menu{
    position:absolute;
    background-color:#f58025;
    right:0px;
    z-index:100;
    width:480px;
   /* min-height:100px;*/
}

#amt-filter-right-view-menu a{
    color:#ffffff;
    font-size:16px;
    font-weight:600;
    text-decoration: none;
}

#amt-filter-right-view-menu a:hover,#amt-filter-right-view-menu a.amt-active-right{
    text-decoration: none;
    color:rgba(57, 40, 13, 1);
}

#amt-filter-right-view-menu ul{
    margin-top:20px;
    margin-bottom:30px;
    margin-left:23px;
    list-style-type: none;
    padding:0px;
    width:390px;
}

#amt-filter-right-view-menu ul li{
    border-bottom:solid 1px #ffffff;
    text-align:right;
    margin-top:14px;
    margin-bottom:14px;
    padding-bottom:4px;
}

/* Case studied page 3 cols grid */
.amt-case-studies-block{
    width:33%;
    float:left;
    margin:0;
    margin-bottom:23px;
    min-height:100px;
   /* border:solid 1px #ff0000;*/
}

.amt-case-studies-block.amt-count-1 > .amt-block-inner{
    padding-right:23px;
}
.amt-case-studies-block.amt-count-2 > .amt-block-inner{
    padding-right:23px;
    padding-left:23px;
}
.amt-case-studies-block.amt-count-0 > .amt-block-inner{
    padding-left:23px;
}

.amt-main-block{
    width:100%;
    background-color: #EEEEEE;
}

.amt-main-block > img{
    width:100%;
    height:auto;
}

.amt-main-block > .amt_img_placeholder{
    width:100%;
    min-height:150px;
    background-color: #f58025;
}

.amt-main-block > h2 {
    margin-top:16px;
    margin-bottom: 16px;
    color: #f58025;
    font-size: 20px;
    padding-left:10px;
    padding-right:10px;
    line-height:135%;
}

.amt-main-block > h2 >a,.amt-main-block > h2 >a:hover,.amt-main-block > h2 >a:visited{
    color: #f58025;
    font-size: 20px;

}

.amt-main-block > p{
    padding-left:12px;
    padding-right:10px;
    line-height: 125%;
    padding-bottom:18px;
    color:rgba(57, 40, 13, 1);
}

.amt-main-block > p > a{
    color: #f58025;
    text-decoration: none;
}

.amt-main-block > a:hover{
    text-decoration: underline;
}

@media only screen and (max-width: 767px){
    .amt-case-studies-block{
        width:100%;
        float:none;
    }
    .amt-case-studies-block.amt-count-1 > .amt-block-inner,
    .amt-case-studies-block.amt-count-2 > .amt-block-inner,
    .amt-case-studies-block.amt-count-0 > .amt-block-inner{
        padding:0;
    }
}

#amt-filter-menu-wrapper{
    color:#ffffff;
    padding-top:20px;

}
#amt-filter-menu-wrapper a, #amt-filter-menu-wrapper span{
    color:#ffffff !important;
    text-decoration: none;
    cursor:pointer;
}
#amt-filter-menu-wrapper a{
    display:inline-block;
    padding-right:25px;
}

#amt-filter-menu-wrapper a.selection-active:after{
    content:'\e814';
    position:relative;
    left:0px;
    width:14px;
    font-family: "mfn-icons";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: none !important;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    color:#000;
}

#amt-filter-menu-wrapper span{
    font-size:20px;
    line-height: 125%;
    display:block;
    width:100%;
    border-bottom: solid 1px #ffffff;
    padding-bottom: 7px;
    font-weight:600;
    margin-bottom:8px;
}

#amt-filter-menu-wrapper a:hover{
    text-decoration: none;
}

#amt-filter-menu-wrapper{
    list-style-type: none;
}

.amt-menu-main-cat-block{
    width:33%;
    float:left;
    margin-bottom:20px;
}

.amt-menu-main-cat-block.cat-block-col-1 > .amt-menu-main-cat-block-inner{
    padding-left:10px;
    padding-right:15px;
}
.amt-menu-main-cat-block.cat-block-col-2 > .amt-menu-main-cat-block-inner{
    padding-left:15px;
    padding-right:15px;
}
.amt-menu-main-cat-block.cat-block-col-0 > .amt-menu-main-cat-block-inner{
    padding-left:15px;
    padding-right:10px;
}

#amt-filter-menu-wrapper  .column.one{
    margin-bottom:10px !important;
}

/* LOGO */
div.amnet-header { padding-top: 30px; padding-bottom: 0px; }
@media (max-width: 1240px) {
  .amnet-header-container { display: none; }
}

#subheader-left-links{
    list-style-type: none;
    padding:0;
    margin:0;
}
#subheader-left-links li{
    float:left;
    padding-right:20px;
    padding-left:20px;
    display:inline-block;
    border-right:solid 1px #ffffff;
    font-weight: 600;
}

#subheader-left-links li:first-child{
    padding-left: 0px;
}
#subheader-left-links li:last-child{
    border-right:none;
}

#title-with-background{
    display:table;
    height:80px;
    padding-right:20%;
    color:#ffffff;
/*    background-color:rgba(57, 40, 13, 1);*/
    background-color:transparent;
    width:100%;
    margin-bottom:0px;
background-size:cover;
}

#title-with-background h1{
    font-size:56px;
    vertical-align:middle;
    display: table-cell;
    padding-right:10%;
    line-height:125%;

}

#title-with-background h1 span { padding: 10px;
    background-color: rgba(245, 128, 37, 0.9892);
    /* border: 1px solid #39280d; */
    color: #FFFFFF; }

#title-with-background .container{
    display:table;width: 100%;padding-left:20px;
    height: 120px;
    border-bottom: solid 0px;
    margin-bottom: 20px;
}

#Subheader.sub-header-page,#Subheader.sub-header-post{
    padding-top:0px;
    padding-bottom:18px;
}

@media only screen and (max-width: 967px){
    #subheader-left-links{
        list-style-type: none;
        padding:0;
        margin:0;
    }
    #subheader-left-links li{
        padding-left:20px;
        display:block;
        border-bottom:solid 1px #ffffff;
        font-weight: 600;
        padding-top:15px;
        padding-bottom:15px;
        float:none;
        border-left:none;
        border-right:none;
    }

    #subheader-left-links li:first-child{
        padding-left: 20px;
    }
    #subheader-left-links li:last-child{
        border-bottom:none;
    }
}

#Subheader.sub-header-post .amt-filter-bottom{
    padding-top:12px;
}

.single-photo-wrapper.image.amt_single_post_page .image_frame{
    max-width:40% !important;
    float:left;
    margin-right: 24px;
    margin-bottom: 14px;
}

.single-photo-wrapper.image.amt_single_post_page{
    text-align:left;
    color:rgba(57, 40, 13, 1) !important;
    border-bottom: solid 1px #ccc;
    padding-bottom: 30px;
}

@media only screen and (max-width: 967px){
    .single-photo-wrapper.image.amt_single_post_page .image_frame{
        max-width:100% !important;
        float:none;
        margin-right: 0px;
        margin-bottom: 24px;
    }
}

.single-page-share-this{
    color:#f58025;
    font-weight:700;
    font-size:22px;
    display:inline-block;
}

.single-photo-wrapper.image.amt_single_post_page ul.social.creative-social{
    margin-top:10px;
}

.single-photo-wrapper.image.amt_single_post_page ul.social.creative-social > li{
    float:left;
    margin-right:10px;
}

.single-photo-wrapper.image.amt_single_post_page ul.social.creative-social > li > a > i{
    font-size:24px;
}

/* NEW FOOTER */

div#amnet-footer { background-color:#39280d !important; color:#fff; padding-top:30px !important; padding-bottom:30px;  }
div#amnet-footer IMG.logo { margin-top:18px; }
span.footer-widget-title { display:block; text-align:right; }

div#amnet-footer ul { margin-top: 5px; padding-left:0px; }
div#amnet-footer li { list-style-type: none !important; text-transform:uppercase; }
#Footer > div.footer_copy > div > div > ul { display:none !important; }

#gform_1 > div.gform_footer.top_label { padding-top:0px; padding-bottom:0px; }
#input_1_1 { max-width: 680px; margin-left: 27px; margin-right: 27px; font-size: 42px; height: 60px; line-height: 60px; border:none; background:none; border-bottom: 1px solid #fff; color:#766d60 !important; }
#gform_submit_button_1, #field_1_1 > label { display:none; }

#field_1_1 > div.gfield_description { text-transform: none; margin-left:40px; color:#93afb2; font-size:16px; }

#popup_contact a { background-color:#fff !important; }
#popup_contact a:hover { background-color:#f58025 !important; }

/* CONTACT PAGE */
.gform_wrapper.two-column_wrapper ul.gform_fields { display: none; }
.gform_wrapper.two-column_wrapper ul.gform_fields.gform_column { display: block; float: left; width: 50%; }
.gform_wrapper.two-column_wrapper ul.gform_column li.gsection:first-child { display: none; }
#field_2_7 { display:none; }
#gform_submit_button_new { float:right; }
#gform_submit_button_2 { display:none; }

form.two-column label { color:#f58025 !important; font-size: 16px; }
span.gfield_required { color:#f58025 !important; }

/* GENERAL */
HR { margin-top: 30px; margin-bottom: 30px; }
#Content { padding-bottom: 60px; padding-top: 30px; }

#Subheader.sub-header-case_study .amt-filter-bottom {
    padding-top:0px;
}

#Subheader.sub-header-case_study {
    padding-top: 0px;
    padding-bottom: 18px;
}

#Subheader.sub-header-case_study .amt-filter-bottom {
    color: #ffffff;
}

.amt-case-study-three-text-row{ margin-top: 20px; 

}
.amt-case-study-three-col{
    float:left;
    width:33.3%;
}

.amt-case-study-three-col-inner{
    padding-left:20px;
    padding-right:20px;
    color:#8C3408;
}

.amt-case-study-three-col:first-child .amt-case-study-three-col-inner{
    padding-left:0px;
}
.amt-case-study-three-col:last-child .amt-case-study-three-col-inner{
    padding-right:0px;
}

.amt-case-study-three-col-inner > h1:first-child {
    color: #f58025 !important
}

@media only screen and (max-width: 967px){
    .amt-case-study-three-col{
        float:none;
        width:100%;
    }
    .amt-case-study-three-col .amt-case-study-three-col-inner{
        padding:0!important;
        margin-top:25px;
    }
    .amt-case-study-three-col:first-child .amt-case-study-three-col-inner{
        margin-top: 0px;
    }

}

.single-photo-wrapper.image.amt_single_case_study {
    text-align: left;
    color: rgba(57, 40, 13, 1) !important;
    border-bottom: solid 1px #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.single-photo-wrapper.image.amt_single_case_study.amt-noborder {
    border-bottom:none !important;
}

.amt-case-study-dlink{
    font-size: 36px;
    font-weight: 900;
    line-height: 125%;
    margin-bottom: 20px;
    margin-top: 20px;
    display: inline-block;
}

.amt-case-study-more-on-text{
    color: #f58025 !important;
    font-weight: bold;
    display: inline-block;
    margin-bottom:10px;
    font-size: 16px;
}

.amt-orange-box{
    background-color: #f58025 !important;
    text-align: center;
    color:#ffffff;
    padding:28px;
    display: block;
    padding-top:38px;
    padding-bottom:38px;
}


.amt-orange-box h1,.amt-orange-box a,.amt-orange-box a:hover,.amt-orange-box a:visited,.amt-orange-box hr{
    color:#ffffff !important;
    text-decoration: none;
}
.amt-orange-box hr{
    margin: 0 auto 15px;
    background-color: #ffffff;
}
.amt-orange-box h1{
    font-size:36px;
}
.amt-orange-box a{
    font-weight: bold;
    font-size:20px;
}

h1.amt-case-study-single-cs-title{
    margin-bottom: 25px;
    line-height: 125%;
}

h1.amt-case-study-single-cs-title > span{
    color:#f58025 !important;
}

#Error_404 {
    overflow: hidden;
    position: relative;
    /*top: 50%;*/
    margin-top: 50px;
    left: 30px;
}

.amt-tax-term-page .rel_case_studies .amt-case-study-three-text-row h1{
    margin-top:15px;
    margin-bottom:15px;
}

.amt-tax-term-page .rel_case_studies  .amt-case-study-three-col{
    margin-right:2%;
    float: left;
    width: 32%;
}
.amt-tax-term-page .rel_case_studies  .amt-case-study-three-col:last-child{
    margin-right: 0;
}
.amt-tax-term-page .rel_case_studies  .amt-case-study-three-col-inner{
    padding-top:20px;
    padding-bottom:20px;
    color:rgba(57, 40, 13, 1);
    background-color: #EEEEEE;
}

@media only screen and (max-width: 967px){
    .amt-tax-term-page .rel_case_studies  .amt-case-study-three-col {
        float: none;
        width: 100%;
        margin-right:0px;
    }
    .amt-tax-term-page .rel_case_studies  .amt-case-study-three-col-inner {
        padding-left:20px!important;
        padding-right:20px!important;
        padding-top:20px!important;
        padding-bottom:20px!important;
    }
}


.amt-tax-term-page .rel_sectors > h1{
    margin-top:15px;
    margin-bottom:15px;
}

.amt-case-study-three-col-inner > h1:first-child a, h1.amt-case-study-single-cs-title > span > a {
    color: #f58025 !important;
}


.amt-case-studies-pagination.amt-case-study-post-type table{
    width:auto;
    background-color: #ffffff;
    float:right;
    margin-right:30px;
}

.amt-case-studies-pagination.amt-case-study-post-type table tr:hover td{
    background-color: #ffffff !important;
    color:rgba(57, 40, 13, 1);
}
.amt-case-studies-pagination.amt-case-study-post-type table tr:hover td a{
    color: #f58025 !important;
}
.amt-case-studies-pagination.amt-case-study-post-type table td{
    text-align:left;
    padding-top:3px;
    padding-bottom:3px;
    padding-right:3px;
    border:none;
    color:rgba(57, 40, 13, 1);
}

/*--------Dave now breaks everything----------*/
.column.one.single-photo-wrapper.image.amt_single_case_study.amt-noborder {
    display: none;
}

img.scale-with-grid.wp-post-image {
    display: none;
}

.column.mcb-column.four-fifth.column_column.column-margin- {
    margin-bottom: 10px;
}


@media only screen and (max-width: 1239px){
#Header_creative #Top_bar .top_bar_right {
    height: 11px;
    top: 0;
}
}

@media only screen and (max-width: 767px){
.amt-menu-main-cat-block {
    width: 100%;
    margin-bottom: 20px;
}

#amt-filter-menu-wrapper span {
    font-size: 16px;
}

a#amt-viewing-link {
    display: none;
}

#title-with-background h1 {
    font-size: 30px !important;
	line-height: 56px;
}

#Subheader.sub-header-case_study .amt-filter-bottom {
    margin-bottom: -12px;
    margin-top: -14px;
}

#mfn-rev-slider {
    display: none;
}

.amt-case-study-dlink {
    font-size: 20px;

}

}