/* just a wee bit of custom styling for the customizer */

#customize-theme-controls .customize-control + .customize-control { margin-top: 5px; }
.wp-full-overlay .collapse-sidebar.cryout-expand-sidebar { left: initial; right: 0; margin-left: 0; margin-right: 15px; position: absolute; }
.wp-full-overlay .cryout-expand-sidebar  .collapse-sidebar-label { left: initial; right: 100%; margin-left: 0; margin-right: 10px; }
.wp-full-overlay .cryout-expand-sidebar  .collapse-sidebar-arrow::before { transform: rotate(180deg); }

.wp-full-overlay.cryout-maximized .cryout-expand-sidebar  .collapse-sidebar-arrow::before { transform: initial; }

.wp-full-overlay.cryout-maximized { margin-left: 40%; }

.wp-full-overlay.cryout-maximized .wp-full-overlay-sidebar {
	margin-left: 0 !important;
	width: 40% !important; }
/* wp 4.5+ */
.wp-full-overlay .wp-full-overlay-footer { transition: width .2s; }
.wp-full-overlay.cryout-maximized .wp-full-overlay-footer { width: 40% !important; }
.wp-full-overlay-footer .devices .cryout-expand-sidebar { float: left; position: static; }
.wp-full-overlay-footer .devices .cryout-expand-sidebar .collapse-sidebar-label { display: none; }
	
/* 1 */

.customize-control-radioimage input[type="radio"] {
	display: none; 
}

.customize-control-radioimage .ui-button {
    margin:        0;
    border-radius: 0;
    border:        none;
    background:    transparent;
}

.customize-control-radioimage .ui-button-text { padding: 0; }

.customize-control-radioimage img {
    box-sizing: border-box;
    max-width:  100%;
    height:     auto;
    padding:    1px;
    border:     4px solid transparent;
}

.customize-control-radioimage img:hover,
.customize-control-radioimage img:focus {
	border-color: #ddd;
}

.customize-control-radioimage .ui-state-active img,
.customize-control-radioimage input[type="radio"]:checked + label > img {
    border-color: #00a0d2;
}


/* 2 */

#customize-theme-controls li[id*="cryout-"] .ui-slider { max-width: 80%; }

#customize-theme-controls li[id*="cryout-"].control-panel .control-section .accordion-section-title:after { 
	transform: rotate(90deg); }

#customize-theme-controls li[id*="cryout-"].control-panel .control-section .accordion-section-content { 
	position: initial;
	left: 0;
	border-bottom: 1px solid #ddd; }
	
#customize-theme-controls li[id*="cryout-"].control-panel .control-section .accordion-section-content .customize-section-title {
	display: none; 
	margin: 0; }
	
#customize-theme-controls li[id*="cryout-"].control-section.control-section-sidebar .accordion-section-content.ui-sortable {
	overflow: auto; }
	
#customize-theme-controls li[id*="cryout-"] .customize-control-description { margin-top: 5px; color: #888; }

#customize-theme-controls li[id*="cryout-"] .customize-control input[type="range"] { width: 98%; }

#customize-theme-controls li[id*="cryout-"] .customize-control input[type="text"], 
#customize-theme-controls li[id*="cryout-"] .customize-control input[type="password"], 
#customize-theme-controls li[id*="cryout-"] .customize-control input[type="email"], 
#customize-theme-controls li[id*="cryout-"] .customize-control input[type="search"], 
#customize-theme-controls li[id*="cryout-"] .customize-control input[type="url"] { }

#customize-theme-controls li[id*="cryout-"] .customize-control input[type="number"] { max-width: 100px; }
#customize-theme-controls li[id*="cryout-"] .customize-control input[type="tel"] { max-width: 300px; }

#customize-theme-controls li[id*="cryout-"] .customize-control-color .customize-control-title { float: left; max-width: 78%; }
#customize-theme-controls li[id*="cryout-"] .customize-control-color .customize-control-content { float: right; }
#customize-theme-controls li[id*="cryout-"] .customize-control-color .customize-control-description { clear: both; }
#customize-theme-controls li[id*="cryout-"] .customize-control-color .wp-color-result::after { content: ''; }

/* 3 */

#customize-theme-controls li#accordion-panel-cryout-about-theme > h3 {
    box-shadow: 0 0 1px #0085b2 inset; }

#customize-theme-controls [id*="site_icon"] img, 
#customize-theme-controls [id*="_logoupload"] img {
    width: initial;
}

#accordion-section-about .accordion-section-content { 
	display: block; 
}
#accordion-section-about .customize-cryout-about-link a {
	background: #fff; 
	padding: 4px 10px;
	font-weight: bold;
}

/* Theme logo in Customizer >> About menu item */
#accordion-panel-cryout-about-theme > .accordion-section-title::before {
	background: url(../../admin/images/logo-customizer.png) center right no-repeat;
    content: "";
    height: 22px;
    position: absolute;
    right: 40px;
    top: 11px;
    min-width: 35%;
}
	
/* fin */