/* Style sheet for user controls */

/* FORMS*/

/* INPUTS */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,800,300,600,700,800);



input[type=text], input[type=password], select, textarea {
 font: 12px/1.5 'Open Sans', sans-serif;
 max-width: 100%;
}
input[type=text], input[type=password], textarea {
 border: 1px solid #bcbcbc;
 -moz-border-radius: 3px;
 -webkit-border-radius: 3px;
 border-radius: 3px;
}
input[type=text], input[type=password]  {
 padding: 3px 5px;
}
input[type=text]:focus,
input[type=password]:focus,
textarea:focus {
  outline: none;
  border-color: #afc9f9;
  -moz-box-shadow: 0 0 2px #afc9f9;
  -webkit-box-shadow: 0 0 2px #afc9f9;
  box-shadow: 0 0 2px #afc9f9;
}
/* prevent focus highlight */
input.no-focus:focus,
textarea.no-focus:focus {
  border-color: #bcbcbc;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
/* read-only */
input[readonly]{
  background: #eee;
}
input[readonly]:focus {
  border-color: #bcbcbc;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
/* control with an error */
input.error, 
textarea.error {
  border-color: #d33c19;
  -moz-box-shadow: 0 0 2px #d33c19;
  -webkit-box-shadow: 0 0 2px #d33c19;
  box-shadow: 0 0 2px #d33c19;
}
textarea {
  max-width: 100%; /* width limiter for browsers that allow area resize */
}

/* full width inputs */
.full-width-input input,
.full-width-input select {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  #width: 95%;
}

/* BUTTONS */
button,
.ui-widget-content button.ui-state-default,
.button {
  font: 12px/1.5 'Open Sans', sans-serif;
  font-weight:700;
  padding: 1px 10px;
  margin: 0;
  border: 1px solid #aaa;
  background: #ebebeb;
  background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ebebeb));
  background: -moz-linear-gradient(top, #f4f4f4, #ebebeb);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#ebebeb');
  text-shadow: 0 1px 1px #fff;
  color:#666666;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  display: inline-block;
  height: 1.5em;
  line-height: 1.5em;
  #width:auto;
  #overflow:visible;
  #margin-right: 3px !important;
  #height: auto;
}
button:hover,
.ui-widget-content button.ui-state-hover,
.button:hover {
  background: #d5d5d5;
  background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#d5d5d5));
  background: -moz-linear-gradient(top, #f4f4f4, #d5d5d5);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#d5d5d5');
}
button:active,
.ui-widget-content button.ui-state-active {
  color: #fff;
  text-shadow: 0 1px 1px #747474; 
  background: #a4a4a4;
  background: -webkit-gradient(linear, left top, left bottom, from(#a4a4a4), to(#c4c4c4));
  background: -moz-linear-gradient(top, #a4a4a4, #c4c4c4);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a4a4a4', endColorstr='#c4c4c4');
  outline: none;
}
button.margined {
  margin:0 0 10px;
}
.button input{
  margin: 0;
  vertical-align: middle;
}
.button { vertical-align: bottom; }
button span {
  cursor: default;
}

.multimedia button { height: 2.1em; }

.multimedia .expand{ height: 2.1em; }

/* expand button */
.expand {}
.expand span{
  background: url(../images/icons.png) no-repeat 100% -295px;
  padding-right: 15px;
}
.expanded{
  -moz-border-radius-bottomleft: 0;
  -moz-border-radius-bottomright: 0;
  -webkit-border-bottom-left-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.expanded,
.expanded:hover,
/* toggle button */
.checked,
.checked:hover {
  color: #fff;
  text-shadow: 0 1px 1px #747474; 
  background: #a4a4a4;
  background: -webkit-gradient(linear, left top, left bottom, from(#a4a4a4), to(#c4c4c4));
  background: -moz-linear-gradient(top, #a4a4a4, #c4c4c4);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a4a4a4', endColorstr='#c4c4c4');
  outline: none;
}
.expanded span{
  background-position: 100% -445px;
}

/* add button */
button.add {
  height: 26px;
  padding-left: 5px;
  padding-right: 5px;
}
button.add span{
  background: url(../images/icons.png) no-repeat 0 -547px;
  display: inline-block;
  line-height: 26px;
  padding-left: 30px;
  #white-space: nowrap; /* IE7 fix */ 
}
/* add button. small version for toolbars */
button.add-small {
  padding-left: 5px;
  padding-right: 5px;
}
button.add-small span{
  background: url(../images/icons.png) no-repeat 0 -1150px;
  padding-left: 20px;
  #white-space: nowrap; /* IE7 fix */ 
}

/* button like link */
button.link-style,
.ui-widget-content button.link-style{
  font-weight: normal;
  border: none;
  background: none;
  color: #666;
  filter: none;
  text-shadow: none;
  cursor: pointer;
  padding-left: 0;
  padding-right: 0;
  white-space:nowrap;
}
button.link-style span,
.ui-widget-content button.link-style span {
  cursor: pointer;
  padding-left: 0;
  padding-right: 0;
  #zoom: 1;
}

/* cancel button */
button.cancel,
.ui-widget-content button.cancel {
  color: #bc0b0b;
}

/* big button */
button.big {
  height: auto;
}

/* main action button */
.main-action,
.ui-widget-content button.main-action{
  font-size: 13px;
  color: #fff;
  text-shadow: 0 2px 0 #444;
  background: #464646;
  background: -webkit-gradient(linear, left top, left bottom, from(#7a7a7a), to(#464646));
  background: -moz-linear-gradient(top, #7a7a7a, #464646);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7a7a7a', endColorstr='#464646');
}
.main-action:hover,
.ui-widget-content button.main-action:hover {
  background: #313131;
  background: -webkit-gradient(linear, left top, left bottom, from(#7a7a7a), to(#313131));
  background: -moz-linear-gradient(top, #7a7a7a, #313131);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7a7a7a', endColorstr='#313131');
}
.main-action:active,
.ui-widget-content button.main-action:active {
  background: #7a7a7a;
  background: -webkit-gradient(linear, left top, left bottom, from(#313131), to(#7a7a7a));
  background: -moz-linear-gradient(top, #313131, #7a7a7a);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#313131', endColorstr='#7a7a7a');
}

button.green,
button.blue,
button.gray,
button.red {
  font: 700 14px 12px/1.5 'Open Sans', sans-serif;
  text-transform: uppercase;
}

/* Green Button */
/* Used for Publish, Finish page editor), Log In */
button.green {
  border-color: #456d1a;
  color: #fefefe;
  background: #65a224;
  background: -webkit-gradient(linear, left top, left bottom, from(#73ac32), to(#57941d));
  background: -moz-linear-gradient(top, #73ac32, #57941d);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#73ac32', endColorstr='#57941d');
  text-shadow: 0 1px 1px #2e4d10;
}
button.green:hover {
  background: #3e7c10;
  background: -webkit-gradient(linear, left top, left bottom, from(#8cbd4b), to(#3e7c10));
  background: -moz-linear-gradient(top, #8cbd4b, #3e7c10);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8cbd4b', endColorstr='#3e7c10');
}
button.green:active {
  background: #65a224;
  text-shadow: none;
}

/* Red Button */
/* Used for Delete, Cancel and Remove */
button.red {
  border-color: #9a3818;
  color: #fefefe;
  background: #d54e21;
  background: -webkit-gradient(linear, left top, left bottom, from(#da5d2f), to(#cd421a));
  background: -moz-linear-gradient(top, #da5d2f, #cd421a);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#da5d2f', endColorstr='#cd421a');
  text-shadow: 0 1px 1px #9d3516;
}
button.red:hover {
  background: #bf2c0f;
  background: -webkit-gradient(linear, left top, left bottom, from(#e27848), to(#bf2c0f));
  background: -moz-linear-gradient(top, #e27848, #bf2c0f);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e27848', endColorstr='#bf2c0f');
}
button.red:active {
  background: #d54e21;
  text-shadow: none;
}

/* Blue Button */
/* Used for Add, Edit, Finish (in modals) and Save */
button.blue {
  border-color: #168bb6;
  color: #fefefe;
  background: #41bbe8;
  background: -webkit-gradient(linear, left top, left bottom, from(#50c3eb), to(#36afe3));
  background: -moz-linear-gradient(top, #50c3eb, #36afe3);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#50c3eb', endColorstr='#36afe3');
  text-shadow: 0 1px 1px #2c88ac;
}
button.blue:hover {
  background: #229bdb;
  background: -webkit-gradient(linear, left top, left bottom, from(#6cd0f0), to(#229bdb));
  background: -moz-linear-gradient(top, #6cd0f0, #229bdb);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6cd0f0', endColorstr='#229bdb');
}
button.blue:active {
  background: #41bbe8;
  text-shadow: none;
}

/* Gray Button */
/* Used for Preview and Take Offline */
button.gray {
  border-color: #4c4c4c;
  color: #fefefe;
  background: #6e6e6e;
  background: -webkit-gradient(linear, left top, left bottom, from(#7c7c7c), to(#5f5f5f));
  background: -moz-linear-gradient(top, #7c7c7c, #5f5f5f);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7c7c7c', endColorstr='#5f5f5f');
  text-shadow: 0 1px 1px #4c4c4c;
}
button.gray:hover {
  background: #444444;
  background: -webkit-gradient(linear, left top, left bottom, from(#959595), to(#444444));
  background: -moz-linear-gradient(top, #959595, #444444);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#959595', endColorstr='#444444');
}
button.gray:active {
  background: #6e6e6e;
  text-shadow: none;
}

/* Disabled button */
button.disabled, button.disabled:hover {
    border-color: #000;
    color: #fefefe;
    background: #666;
    background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#666));
    background: -moz-linear-gradient(top, #ccc, #666);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ccc', endColorstr='#666');
    text-shadow: 0 1px 1px #2e4d10;
}

/* buttons with icons */
button.glyph {
  padding: 1px 0;
}
button.glyph span {
  background: url(../images/icons.png) no-repeat -999px -999px;
  #display:block;
  #width:1px;
  #height:15px;
}
/*new style*/
button.calendar i:focus{outline:0;}
button.calendar i, button.location i{
	border:0px;
	font-size:18px;
}
button.calendar,button.location {
border: none;
background: transparent;
padding:5px;
}
button.calendar span {
  background-position: 100% -601px;
  padding-right: 16px;
  padding-bottom: 1px;
}
button.location span {
  background-position: 100% -650px;
  padding-right: 15px;
}
button.security span {
  background-position: 100% -700px;
  padding-right: 20px;
}
button.locked span {
  background-position: 100% -750px;
}
button.photo span {
  background-position: 0 -1250px;
  padding-right: 16px;
  padding-bottom: 1px;
}
button.link-icon span {
  background-position: 0 -1300px;
  padding-right: 16px;
  padding-bottom: 1px;
}

/* button with checkbox */
button.checkBoxButton input {
  margin: 0;
  vertical-align: middle;
}

/* TEXTAREA */
.simpleEdit {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  min-height: 300px;
  #width: 95%;
  font: 12px/1.4 'Open Sans', sans-serif;
  padding: 5px;
 }

/* FIELDSET */
fieldset.simple {
  border: none;
  padding: 0;
}
 
/* CUSTOM CONTROLS */
/* pr-switch */
.pr-switch-box {
  background: url(../images/bg_switch.png) no-repeat -999px -999px;
  display: inline-block;
  width: 73px;
  height: 21px;
  margin: 0 10px;
}
.pr-switch-on { background-position: 0 0; }
.pr-switch-off { background-position: 0 -21px; }
.pr-switch-box input {
  width: 73px;
  height: 21px;
  padding: 0;
  margin: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  cursor: pointer;
  vertical-align: bottom;
}

/* pr-3check-box a tri-state checkbox */
.pr-3check-box {
  background: url(../images/bg_3checkbox.png) no-repeat -999px -999px;
  display: inline-block;
  width: 10px;
  height: 10px;
  overflow: hidden;
  vertical-align: middle;
}
.pr-3check-state0 { background-position: 0 0; }
.pr-3check-state1 { background-position: 0 -10px; }
.pr-3check-state2 { background-position: 0 -20px; }
.pr-3check {
  filter: alpha(opacity=0);
  opacity: 0;
  width: 10px;
  height: 10px;
  padding: 0;
  margin: 0;
  outline: none;
  float: left; /* for IE */
}

/* prRadioSet */
/* custom styled set of radio controls */
.prRadioSet {
  margin: .2em 0;
  letter-spacing: -4px;
}
.prRadioSet li {
  display: inline-block;
  #display: inline; /* IE7 fix */
  padding: 0 10px;
  border-left: 1px solid #8f8f8f;
  letter-spacing: normal;
  line-height: 1;
}
.prRadioSet li:first-child {
  padding-left: 0;
  border-left: none;
}
.prRadioSet input {
  display: none;
}
.prRadioSet-IE8 input {
  /* fix for IE8- */
  display: inline;
  filter: alpha(opacity=0);
  height: 0;
  width: 0;
  outline: none;
  position: absolute;
}
.prRadioSet label {
 color: #0084b4;
 cursor: pointer;
}
.prRadioSet label:hover {
 text-decoration: underline; 
}
.prRadioSet label.active {
  font-weight: bold;
  color: #444;
  text-decoration: none;
  
}

/* Datetime picker */
.ui-timepicker-div {
  padding: 0 10px 0 5px;
}
.ui-timepicker-div .ui-widget-header{ margin-bottom: 8px; }
.ui-timepicker-div dl{ text-align: left; }
.ui-timepicker-div dl dt{ height: 25px; }
.ui-timepicker-div dl dd{ margin: -25px 0 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-datepicker {
  padding: 5px;
}
.ui-datepicker-buttonpane {
  border: none;
}

/* DIALOG */
.prDialog {
 background: #fff;
 border: 0px solid #fff;
 -moz-box-shadow: 0 0 25px #515151;
 -webkit-box-shadow: 0 0 25px #515151;
 box-shadow: 0 0 25px #515151;
 -moz-border-radius: 5px;
 -webkit-border-radius: 5px;
 border-radius: 5px;

}
.ui-dialog{
	padding:0px;
}
 .prDialog .ui-dialog-title{
	color: #fff;
  text-transform:uppercase;
  font-weight:300;
}
.prDialog .ui-dialog-titlebar {
  color: #fff;
  text-transform:uppercase;
  /*text-shadow: 0 2px 0 #444;*/
  background: #000;
  border: none;
  font-size: 18px;
  padding: 5px 13px;
  margin-bottom: 5px;
  #position: static; /* IE7 fix */
}
.prDialog .ui-dialog-content {
  padding:0px;
  max-height:600px;
  font-size:14px;
  text-align:justify;
}
.prDialog .content_holder{
	padding:10px;
	padding-bottom:20px;
}
.prDialog .ui-dialog-titlebar-close {
  right: -1px;
  /*top: -17px;*/
  width: 30px;
  height: 31px;
  cursor: pointer;
}
/*.prDialog-mac .ui-dialog-titlebar-close {
  left: -17px;
  right: auto;
}*/
.prDialog .ui-dialog-titlebar-close.ui-state-hover {
  border: none;
  background: none;
}
.prDialog .ui-icon-closethick {
  background: url(../images/btn_dialog_close_alt.png) no-repeat 0 0;
  width: 18px;
  height: 18px;
  margin-top:3px;
}
.prDialog .ui-dialog-buttonpane {
  background: #fff;
  padding: 10px 15px;
  border-top: 2px solid #e9e9e9;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
float: left;
}
.prDialog .ui-dialog-buttonset button {
 background:#0188cc;	
  height: 30px;
  border:1px solid #0188cc;
  -moz-border-radius: 5px;
 -webkit-border-radius: 5px;
  margin-left: 10px;
  box-shadow:none;
  text-shadow:none;
  float:left;
}
.prDialog button.cancel {
	background:#cccccc;
	 border-color:#cccccc;
	color:#333;
	padding:1px 10px;
	font-weight:bold;
}

.prDialog .ui-dialog-buttonset button:hover{
	background:#4dc3ff;
	border:1px solid #4dc3ff;
}
.prDialog button.cancel:hover{
	background:#e9e9e9;
	border:1px solid #e9e9e9;
}

.prDialog .scroll-pane {
  overflow: auto;
}

.filter #f_album_id{
	width:120px;
}

/* Fixes for CK editor for Webkit browsers */
div.photo-item td.cke_contents iframe {
  width: 191px !important;
}

/* date range */
.daterange {
	letter-spacing: normal;
}

.content-builder{
    margin-bottom: -1px;
    top:50px !important;
}

.content-builder .ui-dialog-titlebar{
    display: none;
}

.content-builder .content_holder{
    padding:40px;
}

#divCb, #divTool,.rte-side, .md-show,#divToolImgSettings, #divToolImg{
    z-index:999999 !important;
}

.content-builder .row-tool{

}

#divFrameLink,#divRteLink{
    z-index: 999999 !important;
}

.cbuilder-img{
    width:fit-content;
}

.f_download-ops {
  width:150px !important;
  padding-left: 3px;
}

.file_download-ops {
  width:150px !important;
  padding-left: 3px;
}

.groups-download-settings{
  padding-bottom: 10px;
}

/* controls_v401.css edits */

.prDialog .ui-dialog-content {
  text-align: left;
}

#choose_groups .grid {
  table-layout: fixed;
  margin-bottom: 30px;
}

#choose_groups label {
  display: block;
  margin-bottom: 15px;
}

#choose_groups .blogPost-checkbox {
  width: 15px;
}

#choose_groups .grid td {
  vertical-align: top;
}