/*
0. General Styling
1. Upgrade Now - Tab
2. Upgrade Now - Button
3. Width Changes
4. Misc
*/

/* ----------------------------------------------------------------------------------------------------------
	0. GENERAL STYLING
---------------------------------------------------------------------------------------------------------- */

/* Ensure upgrade tab always shows */
body.wp-customizer #accordion-section-thinkup_section_upgrade {
	display: block !important;
}

/* Move customizer tabs down to allow for height of "upgrade now" button */
body.wp-customizer .wp-full-overlay-sidebar .wp-full-overlay-sidebar-content {
	top: 100px !important;
}
body.wp-customizer .wp-full-overlay-sidebar .wp-full-overlay-header {
	height: 100px !important;
}

/* Remove spacing above Change tab hover color */
#customize-theme-controls .control-section-themes > .accordion-section-title {
	margin-bottom: 0 !important;
	border: none !important;
}

/* ----------------------------------------------------------------------------------------------------------
	1. UPGRADE NOW - TAB
---------------------------------------------------------------------------------------------------------- */

/* Change "Upgrade (10% off)" tab hover color */
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux > h3.accordion-section-title,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux:hover > h3.accordion-section-title,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux h3.accordion-section-title:hover,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux.open h3.accordion-section-title,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux h3.accordion-section-title:focus,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux:hover > h3.accordion-section-title,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux h3.accordion-section-title:hover,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux.open h3.accordion-section-title,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux h3.accordion-section-title:focus {
    color: #fff !important;
    background: #0067CE !important;
    border-color: #0067CE !important;
}
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux > h3.accordion-section-title:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux:hover > h3.accordion-section-title:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux h3.accordion-section-title:hover:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux.open h3.accordion-section-title:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-section.control-section-redux h3.accordion-section-title:focus:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux:hover > h3.accordion-section-title:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux h3.accordion-section-title:hover:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux.open h3.accordion-section-title:after,
#customize-theme-controls #accordion-section-thinkup_section_upgrade.control-panel.control-panel-redux h3.accordion-section-title:focus:after {
    color: #fff !important;
}

/* Remove "Customizing" text from upgrade tab */
#accordion-section-thinkup_section_upgrade .customize-section-title h3 span {
	display: none !important;
}
#accordion-section-thinkup_section_upgrade .customize-section-title h3 {
    line-height: 50px !important;
    height: 50px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Promotional table */
#promotion-table {
	width: 100%;
	display: table;
	margin-bottom: 40px;
	border: 1px solid #EEE;
	padding: 25px 10px;
	-webkit-box-shadow: 1px 1px 0px 2px #E0E0E0;
	-moz-box-shadow: 1px 1px 0px 2px #E0E0E0;
	-ms-box-shadow: 1px 1px 0px 2px #E0E0E0;
	-o-box-shadow: 1px 1px 0px 2px #E0E0E0;
	box-shadow: 1px 1px 0px 2px #E0E0E0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#promotion-header,
#promotion-coupon {
	width: 50%;
	display: table-cell;
	vertical-align: middle;
}
#promotion-header .secondary-title {
	margin-bottom: 0;
}

/* Upgrade button and coupon section */
#thinkup-promotion-field-header {
	margin-top: 10px;
	margin-bottom: 40px;
}
#thinkup-promotion-field-header .main-title {
	font-size: 35px;
	font-weight: bold;
	margin: 0 0 20px;
	line-height: 1;
	text-align: center;
}
#thinkup-promotion-field-header .secondary-title {
	text-align: center;
	font-size: 16px;
}

/* Upgrade Now button */
.promotion-button {
	display: block;
	color: white;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	line-height: 54px;
	width: 240px;
	margin: 0 auto;
	background-color: #0067CE;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #0F5399;
	border-bottom-width: 3px;
	text-decoration: none;
}
.promotion-button:hover,
.promotion-button:focus,
.promotion-button:active {
	color: white;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.promotion-button:active {
	border-width: 3px 1px 1px 1px;
}

/* Coupon styling */
#promotion-coupon a {
	background: #F3F3F3;
	font-size: 50px;
	margin-bottom: 20px;
	line-height: 1;
	color: inherit;
	text-decoration: none;
	width: 350px;
	padding: 20px 10px;
	text-align: center;
	border: 3px dashed #CCC;
	margin: 0 auto 0;
	display: block;
}
#promotion-coupon span {
	font-size: 12px;
	display: block;
	margin-top: 20px
}

/* Align upgrade images */
#thinkup-promotion-field-item {
	float: left;
	width: 49.5%;
	margin-right: 0.5%;
}
#thinkup-promotion-field-item img {
	max-width: 100%;
	border: 1px solid #eee;
}


/* ----------------------------------------------------------------------------------------------------------
	2. UPGRADE NOW - BUTTON
---------------------------------------------------------------------------------------------------------- */

/* Add "Upgrade Now" button section */
#customize-thinkup-upgrade {
    height: 45px;
    position: absolute;
    top: 45px;
    height: 55px;
    left: 0;
    right: 0;
    background: red;
	z-index: 999999;
	text-align: center;
    height: 45px;
    position: absolute;
    top: 45px;
    top: 45px;
    height: 55px;
    left: 0;
    right: 0;
    background: #f3f3f3;
    z-index: 999999;
    border-top: 1px solid #ddd;
    box-sizing: border-box;
}
#customize-thinkup-upgrade p {
    margin: 0;
    line-height: 55px;
    height: 55px;
}
#customize-thinkup-upgrade a {
	display: block;
	height: 45px;
}

/* Upgrade Now button styling */
#customize-thinkup-upgrade .promotion-button {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    margin: 0;
    display: inline-block;
    width: 140px;
}
#customize-thinkup-upgrade .promotion-button:focus {
	opacity: 0.8;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#customize-thinkup-upgrade .promotion-button:active {
	border-width: 1px 1px 3px 1px;
}


/* ----------------------------------------------------------------------------------------------------------
	3. WIDTH CHANGES
---------------------------------------------------------------------------------------------------------- */

/* Change sidebar width - Upgrade Now */
#customize-controls.thinkup-width-950 {
	width: 950px !important;
}


/* ----------------------------------------------------------------------------------------------------------
	4. MISC
---------------------------------------------------------------------------------------------------------- */

.clearboth {
	width: 100%;
	clear: both;
	display: block;
}