﻿
html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial,Helvetica,sans-serif;
    color: #4d4d4d;
}

.wrapper {
    /*margin: 0 auto;*/
    position: relative;
    min-height: 100%;
}

.main-container {
    width: 100%;
    display: table;
}

.fix-wrapper {
   min-width: 1200px;
}

.fix-text-wrapper {
   width: 1200px;
}
 
.content {
    padding-bottom: 200px;
}

.outer {
    position: relative;
    float: right;
    right: 50%;
}

.inner {   
    position: relative;
    float: left;
    left: 50%;
}

.sticky {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
    border-top: 0;
}

/*checkbox*/

.squaredFour {  
  position: relative; 
}

.squaredFour a{
    cursor: pointer;
}

.squaredFour label {
  width: 15px;
  height: 15px;
  cursor: pointer;
  position: absolute;
  top: 5px;
  left: 2px;
  background: #fcfff4;
  background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  border-radius: 4px;
  box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);  
}

.squaredFour label:after {
  content: '';
  width: 9px;
  height: 5px;
  position: absolute;
  top: 2px;
  left: 2px;
  border: 3px solid #333;
  border-top: none;
  border-right: none;
  background: transparent;
  opacity: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.squaredFour input[type=checkbox] {
  visibility: hidden;
}
.squaredFour input[type=checkbox]:checked + label:after {
  opacity: 1;
}

/*breadcrumbs*/

.breadcrumbs ul {
    padding-left: 0;
}

.breadcrumbs li {
    display: inline-block;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs .last-child {
    color: black;
}

.breadcrumbs .search-count {
    color: #f26522;
}

.breadcrumbs h1, .breadcrumbs h2 {
    font-size: 12pt;
    font-weight: normal;
    display: inline-block;
}

.breadcrumbs a:not(.last-child):hover {
    color: #FF6600;
    text-decoration: underline;
}

.breadcrumbs a:not(.last-child) h1:hover {    
    text-decoration: underline;
}

.ui-icon {
    display: none;   
}

.ui-dialog-titlebar-close {
    display: none;
}

/* Модельное окно */

/* свойства модального окна по умолчанию */
.modal {
    position: fixed; /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5); /* цвет фона */
    z-index: 1001;
    opacity: 0; /* по умолчанию модальное окно прозрачно */
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in; /* анимация перехода */
    pointer-events: none; /* элемент невидим для событий мыши */
}

/* при отображении модального окно */
.modal:target {
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
}

/* ширина модального окна и его отступы от экрана */
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
    margin: 200px auto;
}

.modal-dialog-500 {
    max-width: 500px;    
}

.modal-dialog-650 {
    max-width: 650px;
}

/* свойства для блока, содержащего контент модального окна */
.modal-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 2px;
    outline: 0;
}

/* свойства для заголовка модального окна */
.modal-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eceeef;
}

.modal-title {
    margin: 0;    
    font-size: 24px;
    font-weight: bold;
}

/* свойства для кнопки "Закрыть" */
.close {
    float: right;
    font-size: 30px;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    text-decoration: none;
}

/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus, .close:hover {
    color: #f60;
    text-decoration: none;
    cursor: pointer;
}

/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 20px;
    overflow: auto;
}

.modal-body p {
    font-size: 18px;
}

.modal-button-wrapper {
    text-align: right;
}

.modal-button-wrapper a {
    margin-left: 5px;
}

.user-input {
    padding: 10px;
    border: 1px solid #cbcbcb;
    border-radius: 3px 0 0 3px;
    box-sizing: border-box;
    color: black;
    font-family: arial;
    overflow: hidden;
}

.normal-button {
    display: inline-block;
    padding: 7px 20px;    
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    border-radius: 2px;
    cursor: pointer;
    user-select: none;
}

.target-button {    
    color: #fff;
    background-image: linear-gradient(to bottom, #f78510, #fc7520);    
    border: 1px solid #f0751c;
}

.target-button:hover {
    background-image: linear-gradient(to bottom, #fba419, #fd9729);
    border: 1px solid #f29720;
}

.non-target-button {
    color: #6f6e6e;
    background-image: linear-gradient(to bottom, #f1f1f1, #dbdbdb);
    border: 1px solid #bcbcbc;
}

.non-target-button:hover {
    background-image: linear-gradient(to bottom, #f3f3f3, #ebebeb);
    border: 1px solid #bcbcbc;
}

.messagebox-wrapper {    
    width: 550px;
    height: 140px;        
    background: white;
    border: 1px solid #ccc;
    box-shadow: 2px 5px 8px rgba(0, 0, 0, 0.25);
    z-index: 1001;
}

.loader-wrapper {
    text-align: center;
}

.messagebox-waiting-wrapper {
    text-align: center;
    padding-top: 55px; 
}

.messagebox-waiting-message {
    display: inline-block;
    padding-left: 10px;
    vertical-align: top;
}

.ui-window-close {
    width: 9px;
    height: 9px;
    right: 9px;
    top: 9px;
    position: absolute;
    background-image: url(img/icon/close-gray.png);
    display: block;
    cursor: pointer;
}

.ui-window-close:hover {    
    background-image: url(img/icon/close-orange.png);    
}

.ui-button {    
    padding: 5px 10px;        
    background-color: #eee;
    background-image: linear-gradient(to bottom, #fafafa, #e8e8e8);
    background-repeat: repeat-x;
    border: 1px solid #bcbcbc;
    color: #333;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;    
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
}

.ui-button:hover {
    background-color: #fdfdfd;
    background-image: linear-gradient(to bottom, #fafafa, #f2f2f2);
    background-repeat: repeat-x;
}

.ui-mask {
    background-color: #eee;
    display: block;
    height: 100%;
    left: 0;
    opacity: 0.7;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: none;
}

.orrange-button {           
    padding: 8px 25px;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    text-align: center;
    vertical-align: middle; 
    background-color: #ff9917;
    background-image: linear-gradient(to bottom, #ffab02, #ff8a28);
    background-repeat: repeat-x;
    border: 1px solid #e87b0e;        
    color: #fff; 
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none; 
}

.orrange-button:hover {
    background-color: #f8af23;
    background-image: linear-gradient(to bottom, #ffbc35, #f2a210);
    background-repeat: repeat-x;
    color: #fff;
}

.orrange-color-button {
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-weight: bold;    
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    background-color: #ff9917;
    background-image: linear-gradient(to bottom, #ffab02, #ff8a28);
    background-repeat: repeat-x;
    border: 1px solid #e87b0e;
    color: #fff;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
}

.orrange-color-button:hover {
    background-color: #f8af23;
    background-image: linear-gradient(to bottom, #ffbc35, #f2a210);
    background-repeat: repeat-x;
    color: #fff;
}

.small-button {
    padding: 3px 25px;
    font-size: 20px;
}

/* errors */

.field-validation-error {
    color: #ff0000;
    font-size: 10pt;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000 !important;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

.radio {    
    padding-left: 10px;    
}

.radio label {
    display: inline-block;
    height: 30px;
    cursor: pointer;
    position: relative;    
    padding-left: 25px;
    margin-right: 15px;
}

.radio input[type=radio] {
    display: none;
}

.radio label:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 10px;
    background: #fcfff4;
    background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
    background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);    
    box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);  
}

.radio input[type=radio]:checked + label:before {
    content: "\2022";
    color: #4d4d4d;
    font-size: 30px;
    text-align: center;
    line-height: 16px;
}

.message-text-tip {
    color: #999;
    font-size: 10pt;
    margin: 0;
}

.pager .selected {
    background-color: transparent;
    border: 1px solid transparent;
    color: #999;
    font-weight: bold;
    cursor: default;      
    margin: 2px;
    padding: 7px;
}

.pager a:hover:not(.selected) {    
    border: solid 1px #80add6;    
    background: #eff5fe;
}

.pager a {
    text-decoration: none;
    background: #fff none repeat scroll 0 0;
    border: 1px solid #d3d3d4;
    color: #06c;       
    margin: 0 3px 0 0;
    padding: 4px 6px;
    cursor: pointer;
}

.pager img {
    position: relative;
    top: -2px;
}

.scrollup {
    width:40px;
    height:40px;
    opacity:0.3;
    position:fixed;
    bottom:50px;
    right:100px;
    display:none;
    text-indent:-9999px;
    background: url('img/icon/icon_top.png') no-repeat;
    z-index: 999;
}

.scrollup:hover {
    opacity:0.6;
}

/* Информация*/

.fix-text-wrapper p {    
    text-align: justify;
}


.fix-text-wrapper a {    
    color: #4d4d4d;
}

.fix-text-wrapper a:hover {
    text-decoration: none;
    color: #FF6600;    
}

.warning-message {
    color: #999;
    font-size: 10pt;
}

.warning-message a {
    color: #999;
}

/* brand */

.brand-table {
    width: 850px;
}

.brand-table td {
    padding: 10px 10px 10px 0;
    vertical-align: top;
    line-height: 30px;
    text-align: justify;
    border-bottom: 3px solid #eee;
}

.brand-table img {
    width: 400px;
}

.error-code {
    padding-top: 40px;
    color: #f26522;
    font-size: 80px;
    font-weight: bold;
}

.error-message {
    margin: 20px 0;
    font-size: 40px;    
}

.error-info {
    line-height: 30px;
}

.starrequired {
    position: relative;
    top: -4px;
    color: red;
}

.required:after {
    content: ' *';
    color: red;
}

.width-300 {
    width: 300px !important;
}

.width-400 {
    width: 400px !important;
}

.width-600 {
    width: 600px !important;
}

.standard-textbox-400 {
    width: 400px !important;
}

.standard-textbox-600 {
    width: 600px !important;
}

.standard-textbox {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #cbcbcb;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

.standard-textbox-link-wrapper {
    text-decoration: none;
}

.standard-textbox-link-wrapper .standard-textbox {
    cursor: pointer;
}

.standard-button {
    display: block;
    width: 100%;
    margin: 20px 0;
    padding: 15px 0;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

.target-pink-button {
    background: #ff4747;
    color: white !important;
}

.target-pink-button:hover {
    background: #ff5959;
}

.non-target-pink-button {
    border: solid 2px #ff4747;
    color: #ff4747;
}

.non-target-pink-button:hover {
    background: #fff9f9;
}

.non-target-grey-button {
    border: solid 2px #999;
    color: #999;
}

.non-target-grey-button:hover {
    background: #fafafa;
}

.standard-lable-wrapper {
    vertical-align: top;
    padding-top: 10px;
}

.standard-lable {
    display: block;
    margin-top: 20px;
    padding-right: 10px;
}

.standard-checkbox {
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 30px;    
    border: 1px solid #cbcbcb;
    border-radius: 5px;
    box-sizing: border-box;
    cursor: pointer;
}

.blue-link {
    color: #06c;
    text-decoration: none;
    cursor: pointer;
}

.hide-field {
    display: none;
}

.warning {
    padding: 10px;
    background: #fff4f2;
    border: 3px solid #e52e02;
}