.green_b {
	cursor:pointer;
	background:url("//static.photoholding.com/images/buttons/green_left.png") top left no-repeat;
	height:28px;
	display:inline-block;
	display:-moz-inline-stack;/*Firefox 2*/
	_overflow:hidden;/*IE6, IE7*/
	*zoom:1;/*включаем hasLayout для IE6, IE7*/
	*display:inline;/*при hasLayout true display:inline в IE6, IE7 ведёт себя как display:inline-block*/}
.green_b div{
	background:url("//static.photoholding.com/images/buttons/green_right.png") top right no-repeat;
	height:28px;
	display:inline-block;
	display:-moz-inline-stack;/*Firefox 2*/
	_overflow:hidden;/*IE6, IE7*/
	*zoom:1;/*включаем hasLayout для IE6, IE7*/
	*display:inline;/*при hasLayout true display:inline в IE6, IE7 ведёт себя как display:inline-block*/}
.green_b div div{
	background:url("//static.photoholding.com/images/buttons/green_left.png") 0px -28px repeat-x;
	margin:0px 38px 0px 8px;
	padding:0px 5px 0px 5px;
	line-height:28px;
	text-align:center;
	color:white;
	text-shadow:0 0 7px #555;
	font-family:'Trebuchet MS';
	font-size:14px;
	display:inline-block;
	display:-moz-inline-stack;/*Firefox 2*/
	_overflow:hidden;/*IE6, IE7*/
	*zoom:1;/*включаем hasLayout для IE6, IE7*/
	*display:inline;/*при hasLayout true display:inline в IE6, IE7 ведёт себя как display:inline-block*/}

hr{
    border-bottom: 1px solid #9A9A9A;
}

.hide{
    display: none;
}
.block{
    display: block;
}
.inline_block{
    display: inline-block;
}

.valign_top{
    vertical-align: top;
}
.text_center{
    text-align: center;
}



figure.album-preview{
    height: 100%;
    width: 100%;
}
.lh40px { 
    line-height: 40px;
}
.t_center{
    text-align: center;
}
.w_49p{
    width: 49%;
}
.w_90p{
    width: 90%;
}

/** Стили информационных сообщений */
#my-usersite-wrapper .warning,
.error{
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #da4f49;
  background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
  background-repeat:repeat-x;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  padding: 3px 5px;
  border-radius: 4px;
}
/* Фикс недоработки, связанной с навешиванием error на inputs */
.dialog_body input.error,
.pt_dialog_body input.error,
.error option
{
  color: black;
  text-shadow: none;
  background-color: white;
  background-image: none;
  border-radius: 0;
}

/* Кастомизация успешных сообщений  */
/* А также кастомизация сообщений об успешных операциях с макетами class = ok */
.success, 
#my-makets-header-wrapper .ok,
#my-usersite-wrapper .ok,
#fill_template .ok
{
  color: #ffffff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #5bb75b;
  background-image: linear-gradient(to bottom, #62c462, #51a351);
  background-repeat:repeat-x;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  padding: 3px 5px;
  border-radius: 4px;
}

#my-makets-header-wrapper .ok,
#fill_template .ok
{
    margin-top: 10px !important;
    text-align: center !important;
}

#fill_template .ok {
    width: 50% !important;
    margin: 0 auto !important;
}

.info{
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #49afcd;
  background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);
  background-repeat: repeat-x;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  padding: 3px 5px;
  border-radius: 4px;
}

.warning{
  color: #D65D0E;
  padding: 3px 5px;
  font-weight: bold;
}

/** Стили авторизации */
#registration_button{
    margin-bottom: 5px;
}

/** Закладки 2ого уровня */

.tabs_i2 {
  padding: 0 2rem;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  margin-right: -1px;
  height: 3rem;
  border: 1px solid #ecf0f1;
  color: #1a1f1e;
  text-align: center;
  line-height: 3rem;
  cursor: pointer;
  max-width: 350px;
}
.tabs_i2:first-child {
  border-radius: 1rem 0 0 1rem;
}
.tabs_i2:last-child {
  border-radius: 0 1rem 1rem 0;
}
.tabs_i2:hover {
  color: #1a1f1e;
}
.tabs_i2.__current {
  border-color: #1a1f1e;
  background-color: #1a1f1e;
  color: #fff;
}
.tabs_i2 select {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  opacity: 0;
  cursor: pointer;
}

.tabs_i2:first-child {
  border-radius: 1rem 0 0 1rem;
}

.user_login{
  display: inline-block;
}

.ico-rotate_clockwise::before{
  content: "\e921";
}
.ico-rotate_counterclockwise{
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
    display:inline-block;
}
.ico-rotate_counterclockwise::before{
    content: "\e921";
}
.preview-loading {
    background: url("/orderfiles/assets/images/loading.gif") 50% 50% no-repeat;
    min-height: 100px;
}

/** Замена глючных коальских чекбоксов */
input[type=checkbox].checkbox {
    position:absolute;
    z-index:-1000;
    left:-1000px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height:1px;
    width:1px;
    margin:-1px;
    padding:0;
    border:0;
}
label.checkbox_label {
    border: 1px solid #D7D7D7;
    padding-left:20px;
    height:20px; 
    display:inline-block;
    line-height:20px;
    background-repeat:no-repeat;
    background-position: 0 0;
    font-size:20px;
    vertical-align:middle;
    cursor:pointer;
    background-image:url('/orderimages/bg/checkbox.png');
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
label.checkbox_label.checked{
    background-position: 0 -20px;
}
/** Стили для диалогов */
#page .ui-dialog{
    z-index: 10001;
    position: fixed;
}
#page .ui-widget-overlay{
    z-index: 10000;
    position: fixed;
}
.ui-dialog-titlebar{
    padding: 3px;
}
.ui-dialog-titlebar-close{
    float: right;
}
.ui-dialog-titlebar-close .ui-button-text{
    display: none;
}
.ui-dialog-content{
    padding: 5px;
}
.ui-dialog-buttonset .ui-button{
    padding: 3px;
}
/** Альбомы */

.album-photo .album-photo_caption,
.album-preview .album-preview_caption{
    border-radius: 5px;
    padding: 5px 5px 5px 10px;
    background-color: rgba(0, 0, 0, 0.7);
}

.album-photo .album-photo_caption{
    text-align: left;
}

.album-preview_caption .album-preview_caption_category{
    color: #fff;
}
.album-preview_caption .album-preview_caption_name{
    display: inline-block;
    text-align: left;
    padding-right: 100px;
    vertical-align: bottom;
    line-height: 40px;
    height: 40px;
    overflow: hidden;
}
.external_album_preview .album-preview_caption_name{
    padding-right: 60px;
}

.album-preview_caption .makets_album-preview_caption_name{
    display: inline-block;
    text-align: left;
    padding-right: 50px;
    vertical-align: middle;
    line-height: 20px;
    max-height: 40px;
    overflow: hidden;
}

.album-photo_caption .photo-preview_caption_name{
    display: inline-block;
    text-align: left;
    width: 180px;
    vertical-align: middle;
    line-height: 20px;
    max-height: 40px;
    overflow: hidden;
    color: white;
}

.album-photo_action{
    display: inline-block;
    float: right;
}

.makets_album-preview_caption_name{
    color: #fff;
}

.album-photo_caption{
    border-radius: 5px;
    padding: 5px 5px 5px 10px;
    background-color: rgba(0, 0, 0, 0.7);
}

.album-photo_action .__btn,
.album-preview_action .dropdown{
    display: inline-block;
    margin-left: 5px;
}
/** Превью фото/макета */
.album-photo .album-preview_caption_name,
.album-photo .maket_peview_caption_name{
    float: left;
    display: none;
    text-align: left;
    width: 130px;
    vertical-align: bottom;
    line-height: 40px;
    height: 40px;
    overflow: hidden;
    color: white;
}

.album-maket .album-preview_caption_name,
.album-maket .maket_peview_caption_name{
    float: left;
    text-align: left;
    width: 175px;
    vertical-align: bottom;
    line-height: 20px;
    max-height: 40px;
    overflow: hidden;
    color: white;
}

.ico-slideshow.start::before {
    content: "\0161";
}
.ico-slideshow.stop::before {
    content: "\0153";
}

textarea.__textarea{
    border: 1px solid #ecf0f1;
    padding: 5px;
    background-color: white;
}

.terracotta_color {
    color: #D65D0E;
}
.dark_geen_color{
    color: #0C8F43;
}

.line_loader{
    margin-top: 100px;
    margin-bottom: 200px;
    text-align: center;
    font-size: 30px;
    font-weight: 100;
    color: lightgray;
    height: 100px;
    line-height: 80px;
    background: url('//static.photoholding.com/images/i/line_loading.gif') bottom center no-repeat;
}
.questions .header2{
    margin-bottom: 24px;
    font-weight: 200;
    font-size: 30px;
    color: #4d5a6d;
}
.questions .header3{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #4d5a6d;
}
.questions .b-accordion__element:before{
  padding-right: 8px;
  content: "—";
  display: inline-block;
  zoom: 1;
  color: #0dd562;
}
.questions .b-accordion__element{
  margin-bottom: 14px;
  font-size: 16px;
}
.questions .accordion__element{
  font-size: 16px;
}
.questions .accordion__element__description{
    margin: auto;
  margin-top: 16px;
  font-size: 14px;
  margin-left: 46px;
}
.questions .accordion__element__description p{
  padding: 5px 0;
}
.help_themes_list .item_link{
  margin-bottom: 5px;
}

.datepicker td, .datepicker th {
    vertical-align: middle;
}

.connect-form #connect-login {
    display: inline-block;
    width: auto;
    margin-right: 10px;
    height: 4rem;
    position: relative;
    top: 2px;
}

.connect-form .form-group-connect {
    margin-bottom: 0;
}

