/*Admin Columns Customizations*/
div.hover .hide {display: none;}
div.hover:hover .hide {display: block;}
.hide .trash {color: red;}
.hide {color: #ddd;}

/*TinyMCE Customizations*/

/*Hide All Buttons except Media Button*/
.wp-media-buttons .button {display: none;}
.wp-media-buttons .insert-media {display: block}
#mce_15 {display: none;}

.mce-edit-area iframe {min-height: 300px;}
div.mce-toolbar-grp {display: none;}

table.cmbftg_metabox li {
	font-size: .8em;
	color: #666;
	font-weight: 300;
	line-height: 1.5em;
	margin-bottom: .75em;
}

.img_status img {max-height: 200px;}

/*Custom Metabox styles*/
#postbox-container-1 p.center,
#postbox-container-1 p.center textarea  {text-align: center; margin: 0;}

#postbox-container-1 p.center em {font-weight: 700;}

#postbox-container-2 .postbox .handlediv {display: none;}

#postbox-container-2 .postbox {
border: 0px;
-webkit-box-shadow: 0 0 0;
box-shadow: 0 0 0;
background: transparent;
}

#postbox-container-2 .postbox .inside {
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 0 10px rgba(0,0,0,.2);
box-shadow: 0 0 10px rgba(0,0,0,.2);
background: #fff;
padding: 2.5em 2em 2em;
top: 92px;
}
#postbox-container-2 h3.hndle {
cursor: pointer;
padding: 0;
margin: 0 0 .6em 0;
font-size: 2em;
font-weight: 300;
border-bottom: 0px;
position: absolute;
left: 0;
}

#postbox-container-2 .cmbftg_metabox .field {
border-bottom: 0px;
padding: .25em 0;
}
#ftg_shortcode.postbox {
padding: 15px;
border: 1px solid transparent;
border-radius: 4px;
background-color: #dff0d8;
border-color: #d6e9c6;
color: #3c763d;
}
.ftg-note,
.step5alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
background-color: #d9edf7;
border-color: #bce8f1;
color: #31708f;
overflow: hidden;
}
#ftg_shortcode.postbox { padding: 15px 5px 5px; }
#ftg_shortcode.postbox .cmbftg_metabox .field {padding: 0;}

#ftg_shortcode .handlediv {display:none;}

.ftg-note h3,
#ftg_shortcode h3,
.step5alert h3 {
display: inline;
color: #31708f;
cursor: default !important;
border: 0px;
}

/*Field Customizations*/
#postbox-container-2 #ftg_gallery-title .field-item input[type=text] {
min-height: 50px;
font-size: 2em;
font-weight: 300;
padding: .25em .5em;
color: #999;
}

/**
  *
  * LAYOUT RADIO BUTTON REPLACEMENT
  *
 **/

#postbox-container-2 #ftg_layout input[type='radio'] {
    /* Hide the input, but have it still be clickable */
    opacity: 0;
	float: none;
	width: 0;
	height: 0;
	margin-right: -20px;
}


#postbox-container-2 #ftg_layout input[type='radio'] + label {
    margin: 0 0 20px 0;
    clear: none;
    cursor: pointer;
	width: 150px;
	height: 120px;
	display: inline-block;
	text-indent: -1000px;
	}
#postbox-container-2 #ftg_layout input[type='radio'] + label[for='ftg_layout-cmb-field-0-item-full-horizontal'] {
    background-image: url('../images/FTGlayout-full-horizontal.jpg'); 
}

#postbox-container-2 #ftg_layout input[type='radio'] + label[for='ftg_layout-cmb-field-0-item-full-vertical'] {
    background-image: url('../images/FTGlayout-full-vertical.jpg');
}

#postbox-container-2 #ftg_layout input[type='radio'] + label[for='ftg_layout-cmb-field-0-item-full-vertical-imagetop'] {
    background-image: url('../images/FTGlayout-full-vertical-image-top.jpg');
}

#postbox-container-2 #ftg_layout input[type='radio'] + label[for='ftg_layout-cmb-field-0-item-title-thumb'] {
    background-image: url('../images/FTGlayout-title-thumb.jpg');
}

#postbox-container-2 #ftg_layout input[type='radio'] + label[for='ftg_layout-cmb-field-0-item-thumb-title'] {
    background-image: url('../images/FTGlayout-thumb-title.jpg');
}

#postbox-container-2 #ftg_layout input[type='radio'] + label[for='ftg_layout-cmb-field-0-item-thumb-only'] {
    background-image: url('../images/FTGlayout-thumb-only.jpg');
}

#postbox-container-2 #ftg_layout input[type='radio'] + label[for='ftg_layout-cmb-field-0-item-custom'] {
    background-image: url('../images/FTGlayout-custom.jpg');
}

/*
    Change from unchecked to checked graphic
*/
#postbox-container-2 #ftg_layout input[type='radio']:checked + label[for='ftg_layout-cmb-field-0-item-full-horizontal'] {
    background-image: url('../images/FTGlayout-full-horizontal-ON.jpg');
}

#postbox-container-2 #ftg_layout input[type='radio']:checked + label[for='ftg_layout-cmb-field-0-item-full-vertical']{
    background-image: url('../images/FTGlayout-full-vertical-ON.jpg');
}

#postbox-container-2 #ftg_layout input[type='radio']:checked + label[for='ftg_layout-cmb-field-0-item-full-vertical-imagetop'] {
    background-image: url('../images/FTGlayout-full-vertical-image-top-ON.jpg');
}

#postbox-container-2 #ftg_layout input[type='radio']:checked + label[for='ftg_layout-cmb-field-0-item-title-thumb'] {
    background-image: url('../images/FTGlayout-title-thumb-ON.jpg');
}

#postbox-container-2 #ftg_layout input[type='radio']:checked + label[for='ftg_layout-cmb-field-0-item-thumb-title'] {
    background-image: url('../images/FTGlayout-thumb-title-ON.jpg');
}

#postbox-container-2 #ftg_layout input[type='radio']:checked + label[for='ftg_layout-cmb-field-0-item-thumb-only'] {
    background-image: url('../images/FTGlayout-thumb-only-ON.jpg');
}

#postbox-container-2 #ftg_layout input[type='radio']:checked + label[for='ftg_layout-cmb-field-0-item-custom'] {
    background-image: url('../images/FTGlayout-custom-ON.jpg');
}

/*Thumb Galleries Screen*/

textarea.shortcode {color: #999;}
textarea.shortcode:focus {outline: none;}


/**
 * CMB Wizard Styles
 */
 
/*Fix WP-Footer Positioning*/
#wpfooter {z-index: -1;}
 
/* Clearfix for postbox */
.postbox {*zoom: 1;}

.postbox:before, .postbox:after {
	display: table;
	content: "";
	line-height: 0;
}

.postbox:after {clear: both;}

/* Prev/Next buttons */
.wp-core-ui .button.cmb-wizard-next {
	float: right;
	position: relative;
	top: 50px;
}

.wp-core-ui .button.cmb-wizard-previous {
	float: left;
	position: relative;
	top: 50px;
}

/* Metabox Styles */
.postbox-container {position: relative;}
.cmb-wizard-metabox {
	/* Stacks the metaboxes */
	position: absolute;
	width:100%;
}

/**
 * Custom-Meta-Boxes - v1.0.1 - 2014-05-17
 * https://github.com/humanmade/Custom-Meta-Boxes/
 * Copyright (c) 2014 Human Made Limited; License: GPL
 */
.cmbftg_metabox .field{overflow:hidden;padding:16px 0;border-bottom:1px solid #DFDFDF}.cmb-row:last-child>[class*=cmb-cell-]>.field{border-bottom:0}.postbox>.inside>.cmbftg_metabox{margin:-10px 0}.cmbftg_metabox .cmb-row{overflow:hidden;margin:0 -5px;zoom:1}.cmbftg_metabox .cmb-row:after,.cmbftg_metabox .cmb-row:before{content:"";display:table}.cmbftg_metabox .cmb-row:after{clear:both}.cmbftg_metabox [class*=cmb-cell-]{float:left;padding:0 5px;-moz-box-sizing:border-box;box-sizing:border-box}.cmbftg_metabox .cmb-cell-1{width:8.333333333%}.cmbftg_metabox .cmb-cell-2{width:16.666666667%}.cmbftg_metabox .cmb-cell-3{width:25%}.cmbftg_metabox .cmb-cell-4{width:33.333333333%}.cmbftg_metabox .cmb-cell-5{width:41.666666667%}.cmbftg_metabox .cmb-cell-6{width:50%}.cmbftg_metabox .cmb-cell-7{width:58.333333333%}.cmbftg_metabox .cmb-cell-8{width:66.666666667%}.cmbftg_metabox .cmb-cell-9{width:75%}.cmbftg_metabox .cmb-cell-10{width:83.333333333%}.cmbftg_metabox .cmb-cell-11{width:91.666666667%}.cmbftg_metabox .cmb-cell-12{width:100%}@media all and (max-width:850px){.cmbftg_metabox [class*=cmb-cell-]{width:100%}}.cmbftg_metabox .field-item{position:relative}.cmbftg_metabox_description{color:#AAA;font-style:italic;margin:0 0 16px!important}.cmbftg_metabox input[type=text],.cmbftg_metabox select,.cmbftg_metabox textarea{width:100%;margin:0}.cmbftg_metabox input.cmbftg_text_small{width:100px}.cmbftg_metabox input.cmbftg_text_medium{width:230px;margin-right:15px}.cmbftg_metabox input[type=checkbox],.cmbftg_metabox input[type=radio]{margin:0 5px 0 0;padding:0}.cmbftg_metabox .field-title{margin-bottom:16px;margin-top:0;font-weight:700}.cmbftg_metabox .field-title label{vertical-align:baseline}.cmbftg_metabox .field.repeatable>.field-item{padding-right:30px;margin-bottom:10px}.cmbftg_metabox .repeat-field{display:block!important;clear:both}.CMB_Date_Field.repeatable .field-item,.CMB_Date_Timestamp_Field.repeatable .field-item,.CMB_Datetime_Timestamp_Field.repeatable .field-item,.CMB_Text_Small_Field.repeatable .field-item,.CMB_Time_Field.repeatable .field-item{float:left;clear:both}.cmb-delete-field{display:inline-block;text-decoration:none;font-size:11px;line-height:20px;height:22px;width:22px;margin:0;padding:0;cursor:pointer;border-width:1px;border-style:solid;-webkit-border-radius:3px;-webkit-appearance:none;border-radius:3px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top;position:absolute;top:3px;right:0;text-indent:100%;overflow:hidden;white-space:nowrap}.cmb-delete-field:active,.cmb-delete-field:focus,.cmb-delete-field:hover{background:#fafafa;border-color:#999;color:#222}.cmb-delete-field .cmb-delete-field-icon{content:' ';display:block;position:absolute;height:8px;width:8px;top:50%;left:50%;margin-top:-4px;margin-left:-4px;background-image:url( '../../images/cmb-icon-remove.png');background-repeat:no-repeat;text-indent:8px;overflow:hidden}@media only screen and (-webkit-min-device-pixel-ratio :1.5),only screen and (min-device-pixel-ratio :1.5){.cmb-delete-field .cmb-delete-field-icon{background-image:url( '../../images/cmb-icon-remove@2x.png');background-size:8px 8px}}.cmb-sortable>.field-item{padding-left:15px}.cmb-sortable .cmb-handle{height:100%;width:3px;position:absolute;top:0;left:0;background:0 0;cursor:move;border-left:3px solid #DFDFDF;border-right:3px solid #DFDFDF}.cmb-sortable .ui-sortable-helper{opacity:.75}.cmb-sortable .ui-sortable-helper:before{content:' ';position:absolute;width:100%;height:100%;top:-6px;left:-6px;background-color:#F8F8F8;border:1px solid #DEDEDE;padding:5px;z-index:-1}.cmb-sortable>.ui-sortable-placeholder{border:1px dashed #DDD!important;background:transparent!important;visibility:visible!important;margin-bottom:8px!important}.cmbftg_metabox .CMB_Group_Field>.field-title{font-size:16px;clear:left;color:#222;font-family:'Open Sans',sans-serif;font-weight:400;margin:8px 0 16px}.cmbftg_metabox .CMB_Group_Field.repeatable>.field-item{padding:30px 10px 0;margin-bottom:16px;border:1px solid #DDD;background:#FAFAFA;position:relative}.cmbftg_metabox .CMB_Group_Field.repeatable>.field-item:before{content:' ';display:block;position:absolute;top:0;left:0;right:0;height:33px;border-bottom:1px solid #DDD}.cmbftg_metabox .CMB_Group_Field.repeatable>.field-item>.cmb-delete-field{top:5px;right:5px;width:auto;text-indent:0;padding-left:24px;padding-right:8px;height:22px;line-height:20px;font-size:11px;z-index:1}.cmbftg_metabox .CMB_Group_Field.repeatable>.field-item>.cmb-delete-field .cmb-delete-field-icon{left:12px}.CMB_Group_Field.cmb-sortable>.field-item{position:relative;padding-top:30px}.CMB_Group_Field.cmb-sortable>.field-item>.cmb-handle{top:-1px;left:-1px;right:-1px;height:34px;width:auto;border:0;border-bottom:1px solid #DDD}.CMB_Group_Field.cmb-sortable>.field-item.ui-sortable-helper>.cmb-handle{padding:0 5px}.cmbftg_metabox .CMB_Group_Field.repeatable.cmb-sortable>.field-item:before{display:none!important}.CMB_Group_Field.cmb-sortable>.ui-sortable-placeholder{margin-bottom:16px!important}.CMB_File_Field .field-item,.CMB_Image_Field .field-item{float:left;margin:0 16px 16px 0!important;text-align:center;padding:0!important;z-index:1}.cmb-file-wrap{position:relative;overflow:hidden;width:100%;height:auto;line-height:1;}.cmb-file-wrap-placeholder{content:' ';position:absolute;top:0;left:0;display:block;height:142px;width:142px;border:4px dashed #DDD;z-index:-1}.cmb-file-wrap-placeholder .dimensions{line-height:normal;position:absolute;bottom:10px;right:10px;font-size:18px;font-weight:700;opacity:.2}.cmb-file-holder{position:relative;overflow:hidden;box-shadow:inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);background:#eee;width:100%;height:100%}.cmb-file-holder.type-file img{position:absolute;top:43%;margin-top:-30px;left:50%;margin-left:-23px}.cmb-file-holder.type-img img{width:100%;height:auto;margin-top:0;vertical-align:top}.cmb-file-holder.type-img::after{content:'';display:block;position:absolute;top:0;left:0;right:0;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);overflow:hidden;z-index:1}.cmb-file-name{position:absolute;left:0;right:0;bottom:0;line-height:1.4;overflow:hidden;max-height:100%;word-wrap:break-word;text-align:center;font-weight:700;background:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.cmb-file-name strong{padding:5px 10px;display:block}.CMB_File_Field .cmb-delete-field,.CMB_Image_Field .cmb-delete-field{z-index:10;top:10px;right:10px}.CMB_File_Field .cmb-remove-file,.CMB_Image_Field .cmb-remove-file{position:absolute;z-index:1;top:5px;right:5px}.CMB_File_Field.repeatable .cmb-remove-file,.CMB_Image_Field.repeatable .cmb-remove-file{display:none!important}.cmb-file-wrap .cmb-file-upload{vertical-align:middle}.cmb-loading::before{content:' ';display:block;background:url( '../../images/wpspin.gif' ) no-repeat;width:16px;height:16px;position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}@media only screen and (-webkit-min-device-pixel-ratio :1.5),only screen and (min-device-pixel-ratio :1.5){.cmb-loading::before{background-image:url( '../../images/wpspin-2x.gif');background-size:16px 16px}}.CMB_File_Field.cmb-sortable .cmb-handle,.CMB_Image_Field.cmb-sortable .cmb-handle{border:0;background:0 0;height:100%;width:100%;z-index:1}.CMB_File_Field.cmb-sortable .cmb-file-upload,.CMB_Image_Field.cmb-sortable .cmb-file-upload{position:relative;z-index:5}.CMB_File_Field.cmb-sortable .ui-sortable-helper:before,.CMB_Image_Field.cmb-sortable .ui-sortable-helper:before{top:0;left:0;padding:0;border:0;background:#F9F9F9}.CMB_Title .field-title{margin:8px 0!important}.CMB_Title{border-bottom:0;padding-bottom:0;margin-top:16px}.CMB_Title h2{margin:0!important;padding:0!important}.CMB_Color_Picker .field-item{float:left;clear:both}.CMB_Color_Picker:after,.CMB_Color_Picker:before{content:"";display:table}.CMB_Color_Picker:after{clear:both}.CMB_Color_Picker{zoom:1}div.time-picker{position:absolute;height:191px;width:4em;overflow:auto;background:#fff;border:1px solid #aaa;z-index:99;margin:0}div.time-picker-12hours{width:6em}div.time-picker ul{list-style-type:none;margin:0;padding:0}div.time-picker li{cursor:pointer;height:10px;font:12px/1 Helvetica,Arial,sans-serif;padding:4px 3px}div.time-picker li.selected{background:#0063CE;color:#fff}.cmbftg_metabox input.cmbftg_timepicker{width:100px;margin-right:0}.CMB_Datetime_Timestamp_Field input+input{margin-left:4px}.cmbftg_select{width:100%}.select2-offscreen{display:none}