

/* begin botones */
.bp_buttonclose {
	/*
	float: right;
	text-align: right;
	top: 5px;
	*/
	position: absolute;
	z-index:2;
}

.panel-button, .panel-bigbutton {
    background-color: #464646;
	background-color: #75D3FB;
	padding: 7px 15px;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
	border-radius: 5px;
    border: 1px solid #464646;
	border: 1px solid #70C6EA;
	font-family: "Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif;
	font-size: 12px;
	color: rgba(255,255,255,0.94);
	font-weight: bold;
	cursor: pointer;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;

    /*
    transition: all 500ms ease;
    padding: 4px 20.6px;
    font-family: "Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    font-size: 16px;
    font-weight: normal;
    background-color: #00A1CB

    */
}

.panel-button:hover {
    outline: 0;

}
.panel-button:hover, .bp_buttonclose:hover {
	text-decoration: none;
    /* background-color: #DAECFF; */ /* TODO revisar anterior #eef1f1; */
    /* color: #3F7FBE; */
    /* #62A7E6; */
	/* border: 1px solid #CEE1EF; */


    background-color: #464646;
    background-color: #75D3FB;
    text-decoration: none;
    opacity: 0.8;
    color: white !important;
    cursor: pointer;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}


.button-icon {
    width: 20px;
    height: 20px;
    opacity:0.8;
    filter:alpha(opacity=80);
}


.panel-button-disabled, .panel-button-disabled:hover, .panel-button-disabled:focus {
	background-color: #E6E6E6;
	border: 1px solid #B5B5B5;
	color: #7F7F7F;
	cursor: default;
}



.panel-bigbutton {
	vertical-align:middle;
	background-color: #ffaa44;
	/*
	background-image: linear-gradient(top, #FFBB6D 20%, #FFAA49 70%);	
	background-image: -o-linear-gradient(top, #FFBB6D 20%, #FFAA49 70% );
	background-image: -moz-linear-gradient(top, #FFBB6D 20%, #FFAA49 70%);
	background-image: -webkit-linear-gradient(top, #FFBB6D 20%, #FFAA49 70%);
	background-image: -ms-linear-gradient(top, #FFBB6D 20%, #FFAA49 70%);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0.20, #FFBB6D),color-stop(0.70, #FFAA49));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#FFBB6D, endColorStr=#FFAA49);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFBB6D, endColorstr=#FFAA49)";
	background-image: -o-linear-gradient(#FFBB6D, #FFAA49);
    */

	display: inline-block;
	white-space: nowrap;
	color: white;
	border: 1px solid #ff9009;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.panel-bigbutton:hover, .panel-bigbutton:focus, .panel-bigbutton:active, .panel-bigbutton:visited {
	text-decoration: none;
	background-color: #FFB158;
    /*
	background-image: linear-gradient(top, #FFBB6D 20%, #FFAE58 70%);
	background-image: -o-linear-gradient(top, #FFBB6D 20%, #FFAE58 70% );
	background-image: -moz-linear-gradient(top, #FFBB6D 20%, #FFAE58 70%);
	background-image: -webkit-linear-gradient(top, #FFBB6D 20%, #FFAE58 70%);
	background-image: -ms-linear-gradient(top, #FFBB6D 20%, #FFAE58 70%);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0.20, #FFBB6D),color-stop(0.70, #FFAE58));
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFBB6D, endColorstr=#FFAE58)";
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#FFBB6D, endColorStr=#FFAE58);
	background-image: -o-linear-gradient(#FFBB6D, #FFAE58);
	*/
	color: white;
    opacity: 0.8;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.button-secondary {

    background-color: #EEE;
    border: 1px solid #EEE;
    color: #666;
}
.button-secondary:hover, .button-secondary:active, .button-secondary:focus, .button-secondary:visited {

    background-color: #fbfbfb;;
    border: 1px solid #EEE;
    color: #666 !important;
}


.tool-icon {
	width: 24px;
	height: 24px;
	opacity:0.8;
	filter: alpha(opacity=80);
	padding: 0px;
}


.panel-button img, .panel-tool img {
	vertical-align: middle;
	width: 24px;
	height: 24px; /* para evitar deformaciones durante carga */
}

.button-icon:hover, .tool-icon:hover, .panel-tool:hover img{

	/*
	background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F9F9F9),to(#E3E3E3));
	*/
	opacity:0.6;
	filter:alpha(opacity=60);
}

.panel-tool.panel-tool-current img, .panel-tool.panel-tool-current:hover img {

	/*
	background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F9F9F9),to(#E3E3E3));
	*/
	opacity:0.4;
	filter:alpha(opacity=40);
}

.panel-tool {
	font: normal 12px arial,sans-serif;
	border-left-width: 1px;
	background-color: #CCC;
	background-image: linear-gradient(top, #EFEFEF 40%, #CFCFCF 70%);
	background-image: -o-linear-gradient(top, #EFEFEF 40%, #CFCFCF 70%);
	background-image: -moz-linear-gradient(top, #EFEFEF 40%, #CFCFCF 70%);
	background-image: -webkit-linear-gradient(top, #EFEFEF 40%, #CFCFCF 70%);
	background-image: -ms-linear-gradient(top, #EFEFEF 40%, #CFCFCF 70%); 

	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0.4, #EFEFEF),color-stop(0.7, #CFCFCF));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorStr='#efefef', endColorStr='#cfcfcf'); /* IE6 & IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#efefef', endColorstr='#cfcfcf')"; /* ie8 */
	background-image: -o-linear-gradient(#EFEFEF, #CFCFCF);
	margin-left: 0!important;
	border-color: #c0c0c0 !important;
	padding: 3px;
	padding-bottom: 1px;
	padding-left: 4px;
	padding-right: 4px;
	margin: 0 8px 0 0;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	cursor: pointer;
	outline: none;
	/* font: 11px arial,sans-serif; */
	color: #444;
	border: 1px solid #BBB;
	display: inline-block;
	
	text-shadow: 0 2px 3px #ccc;
	-moz-border-radius: 3px;
	border-radius: 3px;
	zoom:1; /* need to specify a height or zoom:1 to apply hasLayout to the element for this to work in ie */
}

.panel-tool:hover, .panel-tool:visited, .panel-tool:focus, .panel-tool:active,  .panel-tool.panel-tool-current {
	text-decoration: none;
	/* old version
	background: -webkit-gradient(linear,0% 40%,0% 70%,from(#efefef),to(#D5D5D5)); */
	background-color: #eee;
    outline: 0;
	background-image: linear-gradient(top, #EFEFEF 40%, #D5D5D5 70%);
	background-image: -o-linear-gradient(top, #EFEFEF 40%, #D5D5D5 70%);
	background-image: -moz-linear-gradient(top, #EFEFEF 40%, #D5D5D5 70%);
	background-image: -webkit-linear-gradient(top, #EFEFEF 40%, #D5D5D5 70%);
	background-image: -ms-linear-gradient(top, #EFEFEF 40%, #D5D5D5 70%);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0.4, #EFEFEF),color-stop(0.7, #D5D5D5));
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFEFEF, endColorstr=#D5D5D5)";
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#EFEFEF', endColorStr='#D5D5D5');
	background-image: -o-linear-gradient(#EFEFEF, #D5D5D5);

	color: #777 !important;
	/* #62A7E6; */
	/* border: 1px solid #CEE1EF; */
}
.panel-tool.panel-tool-current:hover, .panel-tool.panel-tool-current {
  	color: #a0a0a0;
}

/* un poco deprecated o quiza no */
.icon {
	height: 16px;
	width: 16px;
	-moz-border-radius: 2px;
	border-radius: 2px;

	background-image: url('https://app.bigpress.es/10_5/icons/icon_background.gif');
	border: solid 1px #ccc;
	margin: 3px;
}
.icon2 {
    height: 16px;
    width: 16px;
}
.td_icon {
	width: 15px;
	text-align: center;
}

/* fin botones */



.fake-checkbox {
	vertical-align: middle;
	border: 1px solid #ccc;
	border-radius: 3px;
}

.fake-checkbox-selected {
background-color: #ccc;

}


/*
  
 radio segmented-buttons
*/

.segmented-button {
  padding: 12px;
}
.segmented-button input[type="radio"] {
  width: 0px;
  height: 0px;
  display: none;
}
.segmented-button label {
  display: -moz-inline-box;
  -moz-box-orient: vertical;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -o-border-radius: 4px;
  -ms-border-radius: 4px;
  -khtml-border-radius: 4px;
  border-radius: 4px;
  text-shadow: white;
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #e4e4e4));
  background: -webkit-linear-gradient(#ffffff, #e4e4e4);
  background: -moz-linear-gradient(#ffffff, #e4e4e4);
  background: -o-linear-gradient(#ffffff, #e4e4e4);
  background: -ms-linear-gradient(#ffffff, #e4e4e4);
  background: linear-gradient(#ffffff, #e4e4e4);
  border: 1px solid #c0c0c0;
  color: #666666;
  padding: 5px 24px;
  padding-bottom: 3px;
  font-size: 12px;
  cursor: pointer;
  font-family: Helvetica;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  -o-border-radius: 0px;
  -ms-border-radius: 0px;
  -khtml-border-radius: 0px;
  border-radius: 0px;
  margin-right: -5px;
}
.segmented-button label {
  *display: inline;
}
.segmented-button label:hover {
  -moz-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
  -o-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
  color: #333333;
}
.segmented-button label:active, .segmented-button label.active {
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4e4e4), color-stop(100%, #ffffff));
  background: -webkit-linear-gradient(#e4e4e4, #ffffff);
  background: -moz-linear-gradient(#e4e4e4, #ffffff);
  background: -o-linear-gradient(#e4e4e4, #ffffff);
  background: -ms-linear-gradient(#e4e4e4, #ffffff);
  background: linear-gradient(#e4e4e4, #ffffff);
}
.segmented-button label:disabled, .segmented-button label.disabled {
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #efefef));
  background: -webkit-linear-gradient(#ffffff, #efefef);
  background: -moz-linear-gradient(#ffffff, #efefef);
  background: -o-linear-gradient(#ffffff, #efefef);
  background: -ms-linear-gradient(#ffffff, #efefef);
  background: linear-gradient(#ffffff, #efefef);
  cursor: default;
  color: #b2b2b2;
  border-color: #cccccc;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
}
.segmented-button label.first {
  -moz-border-radius-topleft: 4px;
  -webkit-border-top-left-radius: 4px;
  -o-border-top-left-radius: 4px;
  -ms-border-top-left-radius: 4px;
  -khtml-border-top-left-radius: 4px;
  border-top-left-radius: 4px;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -o-border-bottom-left-radius: 4px;
  -ms-border-bottom-left-radius: 4px;
  -khtml-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.segmented-button label.last {
  -moz-border-radius-topright: 4px;
  -webkit-border-top-right-radius: 4px;
  -o-border-top-right-radius: 4px;
  -ms-border-top-right-radius: 4px;
  -khtml-border-top-right-radius: 4px;
  border-top-right-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -o-border-bottom-right-radius: 4px;
  -ms-border-bottom-right-radius: 4px;
  -khtml-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.segmented-button input:checked + label, .segmented-button label.selected {
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e4e4e4), color-stop(100%, #ffffff));
  background: -webkit-linear-gradient(#e4e4e4, #ffffff);
  background: -moz-linear-gradient(#e4e4e4, #ffffff);
  background: -o-linear-gradient(#e4e4e4, #ffffff);
  background: -ms-linear-gradient(#e4e4e4, #ffffff);
  background: linear-gradient(#e4e4e4, #ffffff);
}
.segmented-button input:disabled + label {
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #efefef));
  background: -webkit-linear-gradient(#ffffff, #efefef);
  background: -moz-linear-gradient(#ffffff, #efefef);
  background: -o-linear-gradient(#ffffff, #efefef);
  background: -ms-linear-gradient(#ffffff, #efefef);
  background: linear-gradient(#ffffff, #efefef);
  cursor: default;
  color: #b2b2b2;
  border-color: #cccccc;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
}


/*
 * 
 *  would try this plugin: SimpleImageCheck http://www.jkdesign.org/imagecheck/

Code to customize the checkbox looks simple:

$('#checkbox').simpleImageCheck({
  image: 'unchecked.png',
  imageChecked: 'check.png'
  afterCheck: function(isChecked) {
    if (isChecked) {
      // do something
    }
  }
});


*/


/*
 para los checboxes
 http://stackoverflow.com/questions/7642277/css-styled-a-checkbox-to-look-like-a-button-is-there-a-hover
 http://tympanus.net/Tutorials/CSS3ButtonSwitches/index3.html
 */




#ck-button {
    margin: 0px;
    background-color:#FFA8A8;
    border-radius:4px;
    border:1px solid #D0D0D0;
    overflow:auto;
   /* float:left; */
   display: inline-block;
   vertical-align: middle;
}

#ck-button label {
   /* float:left; */
    /* width: 2.5em; */
}

#ck-button label span {
    text-align:center;
    padding: 2px 4px;
    display:block;
   cursor: pointer;
}

#ck-button label span img {
/*	vertical-align: middle; */
	vertical-align: -40%;
}

#ck-button label input {
    /*
    position:absolute;
    top:-20px;
    */
    display: none;
}

#ck-button input:checked + span {
    background-color:#CFFFA7;
    color:#fff;
}​


.somethingfails {

 }

/*
Begin checkbox
http://www.cssscript.com/google-material-design-style-checkbox-transition-effect-with-css3/
*/

.checkbox:before {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    content: "";
    position: absolute;
    left: 0;
    z-index: 1;
    width: 1rem;
    height: 1rem;
    border: 2px solid #f2f2f2;
}
.checkbox {
    position: relative;
    cursor: pointer;
    margin-bottom: 0;
    margin-top: 0;
    margin-right: 6px;
    margin-left: 0;
}


.checkbox:checked:before {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    height: .5rem;
    border-color: #666; /* #009688; */
    border-top-style: none;
    border-right-style: none;
}

.checkbox:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1.3rem;
    height: 1.3rem;
    background: #fff;
    cursor: pointer;
}

/*
End checkbox
*/

/*
begin togle
http://www.cssscript.com/ios-7-style-switches-with-pure-css-css3/
*/


.ios-toggle,
.ios-toggle:active {
    position: absolute;
    top: -5000px;
    height: 0;
    width: 0;
    opacity: 0;
    border: none;
    outline: none;
}

.checkbox-label {
    display: block;
    position: relative;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 16px;
    width: 100%;
    height: 36px;
    /*border-radius*/
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    border-radius: 18px;
    background: #f8f8f8;
    cursor: pointer;
}

.checkbox-label:before {
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    line-height: 34px;
    text-indent: 40px;
    height: 36px;
    width: 36px;
    /*border-radius*/
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    top: 0px;
    left: 0px;
    right: auto;
    background: white;
    /*box-shadow*/
    -webkit-box-shadow: 0 3px 3px rgba(0,0,0,.2), 0 0 0 2px #dddddd;
    -moz-box-shadow: 0 3px 3px rgba(0,0,0,.2), 0 0 0 2px #dddddd;
    box-shadow: 0 3px 3px rgba(0,0,0,.2), 0 0 0 2px #dddddd;
}

.checkbox-label:after {
    content: attr(data-off);
    display: block;
    position: absolute;
    z-index: 0;
    top: 0;
    left: -300px;
    padding: 10px;
    height: 100%;
    width: 300px;
    text-align: right;
    color: #bfbfbf;
    white-space: nowrap;
}

.ios-toggle:checked + .checkbox-label {
    /*box-shadow*/
    -webkit-box-shadow: inset 0 0 0 20px rgba(19,191,17,1), 0 0 0 2px rgba(19,191,17,1);
    -moz-box-shadow: inset 0 0 0 20px rgba(19,191,17,1), 0 0 0 2px rgba(19,191,17,1);
    box-shadow: inset 0 0 0 20px rgba(19,191,17,1), 0 0 0 2px rgba(19,191,17,1);
}

.ios-toggle:checked + .checkbox-label:before {
    left: calc(100% - 36px);
    /*box-shadow*/
    -webkit-box-shadow: 0 0 0 2px transparent, 0 3px 3px rgba(0,0,0,.3);
    -moz-box-shadow: 0 0 0 2px transparent, 0 3px 3px rgba(0,0,0,.3);
    box-shadow: 0 0 0 2px transparent, 0 3px 3px rgba(0,0,0,.3);
}

.ios-toggle:checked + .checkbox-label:after {
    content: attr(data-on);
    left: 60px;
    width: 36px;
}
/*
end togle
*/
